Что-то похожее на страницу

This commit is contained in:
Аришина) 2024-08-23 18:08:55 +04:00
parent 49fc899684
commit 811ce2a60f
392 changed files with 18858 additions and 159 deletions

304
data.json Normal file
View File

@ -0,0 +1,304 @@
{
"songs": [
{
"id": "1",
"song_name": "Smells Like Poop",
"band_id": "1",
"band_name": "Nevroz",
"albumid": "1",
"album_name": "Album 1",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "1", "name": "Playlist 1"},
{"id": "2", "name": "Playlist 2"}
]
},
{
"id": "2",
"song_name": "Song 3",
"band_id": "1",
"band_name": "Nevroz",
"albumid": "1",
"album_name": "Album 1",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "2", "name": "Playlist 2"}
]
},
{
"id": "3",
"song_name": "Ругань из-за Стёпы",
"band_id": "2",
"band_name": "noizemchik",
"albumid": "2",
"album_name": "Ругань из-за Стёпы",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh"
,
"playlists": [
{"id": "1", "name": "Playlist 1"},
{"id": "3", "name": "Playlist 3"}
]
},
{
"id": "4",
"song_name": "Crazy Frog",
"band_id": "3",
"band_name": "DSPD",
"albumid": "3",
"album_name": "Album 3",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "2", "name": "Playlist 2"},
{"id": "3", "name": "Playlist 3"}
]
},
{
"id": "5",
"song_name": "Кем я стал",
"band_id": "3",
"band_name": "DSPD",
"albumid": "3",
"album_name": "Album 3",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "3", "name": "Playlist 3"}
]
},
{
"id": "1",
"song_name": "Smells Like Poop",
"band_id": "1",
"band_name": "Nevroz",
"albumid": "1",
"album_name": "Album 1",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "1", "name": "Playlist 1"},
{"id": "2", "name": "Playlist 2"}
]
},
{
"id": "2",
"song_name": "Song 3",
"band_id": "1",
"band_name": "Nevroz",
"albumid": "1",
"album_name": "Album 1",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "2", "name": "Playlist 2"}
]
},
{
"id": "3",
"song_name": "Ругань из-за Стёпы",
"band_id": "2",
"band_name": "noizemchik",
"albumid": "2",
"album_name": "Ругань из-за Стёпы",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh"
,
"playlists": [
{"id": "1", "name": "Playlist 1"},
{"id": "3", "name": "Playlist 3"}
]
},
{
"id": "4",
"song_name": "Crazy Frog",
"band_id": "3",
"band_name": "DSPD",
"albumid": "3",
"album_name": "Album 3",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "2", "name": "Playlist 2"},
{"id": "3", "name": "Playlist 3"}
]
},
{
"id": "5",
"song_name": "Кем я стал",
"band_id": "3",
"band_name": "DSPD",
"albumid": "3",
"album_name": "Album 3",
"source": "source_path",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"playlists": [
{"id": "3", "name": "Playlist 3"}
]
}
],
"albums": [
{
"id": "1",
"name": "Album 1",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=false",
"year": 1999,
"genres": [
"Post-Punk",
"Indie"
]
},
{
"id": "2",
"name": "Album 2",
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=false",
"year": 2020,
"genres": [
"Post-Punk",
"Indie"
]
},
{
"id": "3",
"name": "Album 3",
"year": 2021,
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"genres": [
"Post-Punk",
"Punk"
]
}
],
"bands": [
{
"id": "1",
"name": "Nevroz",
"city": "Москва",
"country": "Россия",
"years": "2018-2020",
"genres": [
"Post-Punk",
"Indie"
],
"description": "Nevroz — это коллектив, созданный в 2018 году в Москве. Группа специализируется на написании песен на русском языке и исполнении в жанре Post-Punk и Indie. В состав коллектива входят вокалистка, басист, гитарист и ударник. Несколько песен группы стали популярными в интернете, а также коллектив неоднократно выступал на различных мероприятиях в Москве.",
"photo": "photo_path"
},
{
"id": "3",
"name": "noizemchik",
"city": "Калининград",
"country": "Россия",
"years": "2020-",
"genres": [
"Rock",
"Punk"
],
"description": "noizemchik — это коллектив, созданный в 2020 году в Калининграде. Группа специализируется на написании песен на русском языке и исполнении в жанре Rock и Панк. В состав коллектива входят вокалист, гитарист, басист и барабанщик. Несколько песен группы стали популярными в интернете, а также коллектив неоднократно выступал на различных мероприятиях в Калининграде и других городах.",
"photo": "photo_path"
},
{
"id": "5",
"name": "DSPD",
"city": "Москва",
"country": "Россия",
"years": "2019-",
"genres": [
"Rock",
"Punk"
],
"description": "DSPD — это коллектив, созданный в 2019 году в Москве. Группа специализируется на написании песен на русском языке и исполнении в жанре Rock и Панк. В состав коллектива входят вокалист, гитарист, басист и барабанщик. Несколько песень группы стали популярными в интернете, а также коллектив неоднократно выступал на различных мероприятиях в Москве и других городах.",
"photo": "photo_path"
}
],
"genres": [
{"id": "1", "name": "Post-Punk"},
{"id": "2", "name": "Rock"},
{"id": "3", "name": "Punk"},
{"id": "4", "name": "Indie"}
],
"playlists": [
{
"id": "1",
"name": "Playlist 1",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный"
},
{
"id": "2",
"name": "Playlist 2",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 2"
},
{
"id": "3",
"name": "Playlist 3",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 3"
},
{
"id": "1",
"name": "Playlist 1",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный"
},
{
"id": "2",
"name": "Playlist 2",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 2"
},
{
"id": "3",
"name": "Playlist 3",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 3"
},
{
"id": "1",
"name": "Playlist 1",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный"
},
{
"id": "2",
"name": "Playlist 2",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 2"
},
{
"id": "3",
"name": "Playlist 3",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 3"
},
{
"id": "4",
"name": "Playlist 4",
"songs": [],
"cover": "https://avatars.yandex.net/get-music-content/10129881/f3cf1afc.a.30561322-1/m1000x1000?webp=falseh",
"description": "Плейлист прикольный 4"
}
]
}

2
node_modules/.cache/.eslintcache generated vendored

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?object} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n const _encode = options && options.encode || encode;\n const serializeFn = options && options.serialize;\n let serializedParams;\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, options).toString(_encode);\n }\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n return url;\n}","map":{"version":3,"names":["utils","AxiosURLSearchParams","encode","val","encodeURIComponent","replace","buildURL","url","params","options","_encode","serializeFn","serialize","serializedParams","isURLSearchParams","toString","hashmarkIndex","indexOf","slice"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/helpers/buildURL.js"],"sourcesContent":["'use strict';\n\nimport utils from '../utils.js';\nimport AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';\n\n/**\n * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their\n * URI encoded counterparts\n *\n * @param {string} val The value to be encoded.\n *\n * @returns {string} The encoded value.\n */\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @param {?object} options\n *\n * @returns {string} The formatted url\n */\nexport default function buildURL(url, params, options) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n \n const _encode = options && options.encode || encode;\n\n const serializeFn = options && options.serialize;\n\n let serializedParams;\n\n if (serializeFn) {\n serializedParams = serializeFn(params, options);\n } else {\n serializedParams = utils.isURLSearchParams(params) ?\n params.toString() :\n new AxiosURLSearchParams(params, options).toString(_encode);\n }\n\n if (serializedParams) {\n const hashmarkIndex = url.indexOf(\"#\");\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n}\n"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,KAAK,MAAM,aAAa;AAC/B,OAAOC,oBAAoB,MAAM,oCAAoC;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,MAAMA,CAACC,GAAG,EAAE;EACnB,OAAOC,kBAAkB,CAACD,GAAG,CAAC,CAC5BE,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CACrBA,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CACpBA,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CACrBA,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CACpBA,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CACrBA,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC;AACzB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,QAAQA,CAACC,GAAG,EAAEC,MAAM,EAAEC,OAAO,EAAE;EACrD;EACA,IAAI,CAACD,MAAM,EAAE;IACX,OAAOD,GAAG;EACZ;EAEA,MAAMG,OAAO,GAAGD,OAAO,IAAIA,OAAO,CAACP,MAAM,IAAIA,MAAM;EAEnD,MAAMS,WAAW,GAAGF,OAAO,IAAIA,OAAO,CAACG,SAAS;EAEhD,IAAIC,gBAAgB;EAEpB,IAAIF,WAAW,EAAE;IACfE,gBAAgB,GAAGF,WAAW,CAACH,MAAM,EAAEC,OAAO,CAAC;EACjD,CAAC,MAAM;IACLI,gBAAgB,GAAGb,KAAK,CAACc,iBAAiB,CAACN,MAAM,CAAC,GAChDA,MAAM,CAACO,QAAQ,CAAC,CAAC,GACjB,IAAId,oBAAoB,CAACO,MAAM,EAAEC,OAAO,CAAC,CAACM,QAAQ,CAACL,OAAO,CAAC;EAC/D;EAEA,IAAIG,gBAAgB,EAAE;IACpB,MAAMG,aAAa,GAAGT,GAAG,CAACU,OAAO,CAAC,GAAG,CAAC;IAEtC,IAAID,aAAa,KAAK,CAAC,CAAC,EAAE;MACxBT,GAAG,GAAGA,GAAG,CAACW,KAAK,CAAC,CAAC,EAAEF,aAAa,CAAC;IACnC;IACAT,GAAG,IAAI,CAACA,GAAG,CAACU,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,GAAG,GAAG,IAAIJ,gBAAgB;EACjE;EAEA,OAAON,GAAG;AACZ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'play',\n key: 'play',\n width: 50,\n render: (text, song) => /*#__PURE__*/_jsxDEV(\"img\", {\n className: \"w-full h-auto rounded\",\n src: song.cover,\n alt: song.song_name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }, this)\n }, {\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center p-4 border-b bg-gray-200\",\n children: /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-1/2\",\n dataSource: songs.map(s => ({\n ...s,\n play: ''\n })),\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","width","render","text","song","className","src","cover","alt","song_name","fileName","_jsxFileName","lineNumber","columnNumber","children","dataSource","map","s","play","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table, Button, Empty } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n {\r\n title: '',\r\n dataIndex: 'play',\r\n key: 'play',\r\n width: 50,\r\n\r\n render: (text: string, song: ISong) => (\r\n <img \r\n className=\"w-full h-auto rounded\" \r\n src={song.cover} \r\n alt={song.song_name} \r\n />\r\n ),\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <div className=\"flex items-center p-4 border-b bg-gray-200\">\r\n <Table\r\n className=\"w-1/2\"\r\n dataSource={songs.map((s: ISong) => ({...s, play: ''}))}\r\n columns={columns}\r\n />\r\n </div>\r\n ); \r\n};\r\n\r\n\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAuB,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG5C,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CACd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE,EAAE;IAETC,MAAM,EAAEA,CAACC,IAAY,EAAEC,IAAW,kBAChCV,OAAA;MACIW,SAAS,EAAC,uBAAuB;MACjCC,GAAG,EAAEF,IAAI,CAACG,KAAM;MAChBC,GAAG,EAAEJ,IAAI,CAACK;IAAU;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACrB;EAEP,CAAC,EACD;IACEf,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA;IAAKW,SAAS,EAAC,4CAA4C;IAAAS,QAAA,eACzDpB,OAAA,CAACF,KAAK;MACJa,SAAS,EAAC,OAAO;MACjBU,UAAU,EAAEnB,KAAK,CAACoB,GAAG,CAAEC,CAAQ,KAAM;QAAC,GAAGA,CAAC;QAAEC,IAAI,EAAE;MAAE,CAAC,CAAC,CAAE;MACxDrB,OAAO,EAAEA;IAAQ;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAClB;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACC,CAAC;AAEV;AAACM,EAAA,GA5CexB,UAAU;AA4CzB;AAAC,IAAAwB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Playlist.tsx\";\nimport React from 'react';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction Playlist({\n playlist\n}) {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"container rounded bg-slate-300 \",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: playlist.cover,\n alt: playlist.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: playlist.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }, this);\n}\n_c = Playlist;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"Playlist\");","map":{"version":3,"names":["React","jsxDEV","_jsxDEV","Playlist","playlist","className","children","src","cover","alt","name","fileName","_jsxFileName","lineNumber","columnNumber","_c","App","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Playlist.tsx"],"sourcesContent":["import React from 'react';\r\nimport { IPlaylist } from '../models/IModels';\r\n\r\nfunction Playlist({playlist}: {playlist: IPlaylist}) {\r\n return (\r\n <div className=\"container rounded bg-slate-300 \">\r\n <img src={playlist.cover} alt={playlist.name} />\r\n <p className=\"text-lg\">{playlist.name}</p>\r\n </div>\r\n );\r\n}\r\n\r\nexport default App;\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG1B,SAASC,QAAQA,CAAC;EAACC;AAA+B,CAAC,EAAE;EACnD,oBACEF,OAAA;IAAKG,SAAS,EAAC,iCAAiC;IAAAC,QAAA,gBAC9CJ,OAAA;MAAKK,GAAG,EAAEH,QAAQ,CAACI,KAAM;MAACC,GAAG,EAAEL,QAAQ,CAACM;IAAK;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChDZ,OAAA;MAAGG,SAAS,EAAC,SAAS;MAAAC,QAAA,EAAEF,QAAQ,CAACM;IAAI;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAI,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACvC,CAAC;AAEV;AAACC,EAAA,GAPQZ,QAAQ;AASjB,eAAea,GAAG;AAAC,IAAAD,EAAA;AAAAE,YAAA,CAAAF,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\PlaylistsBlock.tsx\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function PlaylistsBlock({\n playlists\n}) {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex overflow-x-scroll rounded bg-slate-300\",\n children: playlists.map(p => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/3 mr-4\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: p.cover,\n alt: p.name,\n className: \"w-1/3 h-auto rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 21\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: p.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 21\n }, this)]\n }, p.id, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 17\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 9\n }, this);\n}\n_c = PlaylistsBlock;\nvar _c;\n$RefreshReg$(_c, \"PlaylistsBlock\");","map":{"version":3,"names":["PlaylistsBlock","playlists","_jsxDEV","className","children","map","p","src","cover","alt","name","fileName","_jsxFileName","lineNumber","columnNumber","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/PlaylistsBlock.tsx"],"sourcesContent":["import { IPlaylist } from \"../models/IModels\";\r\n\r\nexport function PlaylistsBlock({playlists}: {playlists: IPlaylist[]}) {\r\n\r\n return (\r\n <div className=\"flex overflow-x-scroll rounded bg-slate-300\">\r\n {playlists.map((p: IPlaylist) => (\r\n <div key={p.id} className=\"w-1/3 mr-4\">\r\n <img src={p.cover} alt={p.name} className=\"w-1/3 h-auto rounded\" />\r\n <p className=\"text-lg\">{p.name}</p>\r\n </div>\r\n ))}\r\n </div>\r\n \r\n )\r\n}"],"mappings":";;AAEA,OAAO,SAASA,cAAcA,CAAC;EAACC;AAAmC,CAAC,EAAE;EAElE,oBACIC,OAAA;IAAKC,SAAS,EAAC,6CAA6C;IAAAC,QAAA,EACvDH,SAAS,CAACI,GAAG,CAAEC,CAAY,iBACxBJ,OAAA;MAAgBC,SAAS,EAAC,YAAY;MAAAC,QAAA,gBAClCF,OAAA;QAAKK,GAAG,EAAED,CAAC,CAACE,KAAM;QAACC,GAAG,EAAEH,CAAC,CAACI,IAAK;QAACP,SAAS,EAAC;MAAsB;QAAAQ,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eACnEZ,OAAA;QAAGC,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAEE,CAAC,CAACI;MAAI;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAI,CAAC;IAAA,GAF7BR,CAAC,CAACS,EAAE;MAAAJ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAGT,CACR;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACD,CAAC;AAGd;AAACE,EAAA,GAbehB,cAAc;AAAA,IAAAgB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"min-w-3\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"min-w-3\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,SAAS;IACnBC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\",\n _s = $RefreshSig$();\nimport React, { useEffect } from 'react';\nimport './App.css';\nimport { Track } from './components/Track';\nimport { Header } from './components/Header';\nimport { Footer } from './components/Footer';\nimport { CurrentTrack } from './components/CurrentTrack';\nimport { SongsBlock } from './components/SongsBlock';\nimport axios from 'axios';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction App() {\n _s();\n const [songs, setSongs] = React.useState([]);\n async function fetchSongs() {\n const response = await axios.get('http://localhost:3000/songs');\n setSongs(response.data);\n }\n useEffect(() => {\n fetchSongs();\n }, []);\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(SongsBlock, {\n children: songs.map(song => /*#__PURE__*/_jsxDEV(Track, {\n song: song\n }, song.id, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 27\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_s(App, \"VOyZriN/Fhf+BilZMpMEIr3tV0w=\");\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","useEffect","Track","Header","Footer","CurrentTrack","SongsBlock","axios","jsxDEV","_jsxDEV","App","_s","songs","setSongs","useState","fetchSongs","response","get","data","children","fileName","_jsxFileName","lineNumber","columnNumber","map","song","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport {Track} from './components/Track';\nimport {Header} from './components/Header';\nimport Playlist from './components/Playlist';\nimport {Footer} from './components/Footer';\nimport {CurrentTrack} from './components/CurrentTrack';\nimport {SongsBlock} from './components/SongsBlock';\nimport { ISong } from './models/ISong';\nimport axios from 'axios';\n\n\nfunction App() {\n const [songs, setSongs] = React.useState<ISong[]>([]);\n async function fetchSongs() {\n const response = await axios.get<ISong[]>('http://localhost:3000/songs');\n setSongs(response.data);\n }\n\n useEffect(\n () => {\n fetchSongs();\n },\n []\n )\n \n return (\n \n <div> \n <Header />\n <SongsBlock>\n { songs.map(song => <Track key={song.id} song={song} />) }\n </SongsBlock>\n \n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AAExC,OAAO,WAAW;AAElB,SAAQC,KAAK,QAAO,oBAAoB;AACxC,SAAQC,MAAM,QAAO,qBAAqB;AAE1C,SAAQC,MAAM,QAAO,qBAAqB;AAC1C,SAAQC,YAAY,QAAO,2BAA2B;AACtD,SAAQC,UAAU,QAAO,yBAAyB;AAElD,OAAOC,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG1B,SAASC,GAAGA,CAAA,EAAG;EAAAC,EAAA;EACb,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGb,KAAK,CAACc,QAAQ,CAAU,EAAE,CAAC;EACrD,eAAeC,UAAUA,CAAA,EAAG;IAC1B,MAAMC,QAAQ,GAAG,MAAMT,KAAK,CAACU,GAAG,CAAU,6BAA6B,CAAC;IACxEJ,QAAQ,CAACG,QAAQ,CAACE,IAAI,CAAC;EACzB;EAEAjB,SAAS,CACP,MAAM;IACJc,UAAU,CAAC,CAAC;EACd,CAAC,EACD,EACF,CAAC;EAED,oBAEEN,OAAA;IAAAU,QAAA,gBACEV,OAAA,CAACN,MAAM;MAAAiB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACVd,OAAA,CAACH,UAAU;MAAAa,QAAA,EACTP,KAAK,CAACY,GAAG,CAACC,IAAI,iBAAIhB,OAAA,CAACP,KAAK;QAAeuB,IAAI,EAAEA;MAAK,GAApBA,IAAI,CAACC,EAAE;QAAAN,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAe,CAAC;IAAC;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAC5C,CAAC,eAEbd,OAAA,CAACJ,YAAY;MAAAe,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBd,OAAA,CAACL,MAAM;MAAAgB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACZ,EAAA,CA1BQD,GAAG;AAAAiB,EAAA,GAAHjB,GAAG;AA4BZ,eAAeA,GAAG;AAAC,IAAAiB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\PlaylistsBlock.tsx\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function PlaylistsBlock({\n playlists\n}) {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex overflow-x-clip rounded bg-slate-300\",\n style: {\n scrollSnapType: 'x mandatory'\n },\n children: playlists.map(p => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/3 mr-4\",\n style: {\n scrollSnapAlign: 'start'\n },\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: p.cover,\n alt: p.name,\n style: {\n width: 200,\n height: 'auto'\n },\n className: \"rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 21\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: p.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 21\n }, this)]\n }, p.id, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 17\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 9\n }, this);\n}\n_c = PlaylistsBlock;\nvar _c;\n$RefreshReg$(_c, \"PlaylistsBlock\");","map":{"version":3,"names":["PlaylistsBlock","playlists","_jsxDEV","className","style","scrollSnapType","children","map","p","scrollSnapAlign","src","cover","alt","name","width","height","fileName","_jsxFileName","lineNumber","columnNumber","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/PlaylistsBlock.tsx"],"sourcesContent":["import { IPlaylist } from \"../models/IModels\";\r\n\r\nexport function PlaylistsBlock({playlists}: {playlists: IPlaylist[]}) {\r\n\r\n return (\r\n <div className=\"flex overflow-x-clip rounded bg-slate-300\" style={{scrollSnapType: 'x mandatory'}}>\r\n {playlists.map((p: IPlaylist) => (\r\n <div key={p.id} className=\"w-1/3 mr-4\" style={{scrollSnapAlign: 'start'}}>\r\n <img src={p.cover} alt={p.name} style={{width: 200, height: 'auto'}} className=\"rounded\" />\r\n <p className=\"text-lg\">{p.name}</p>\r\n </div>\r\n ))}\r\n </div>\r\n \r\n )\r\n}\r\n"],"mappings":";;AAEA,OAAO,SAASA,cAAcA,CAAC;EAACC;AAAmC,CAAC,EAAE;EAElE,oBACIC,OAAA;IAAKC,SAAS,EAAC,2CAA2C;IAACC,KAAK,EAAE;MAACC,cAAc,EAAE;IAAa,CAAE;IAAAC,QAAA,EAC7FL,SAAS,CAACM,GAAG,CAAEC,CAAY,iBACxBN,OAAA;MAAgBC,SAAS,EAAC,YAAY;MAACC,KAAK,EAAE;QAACK,eAAe,EAAE;MAAO,CAAE;MAAAH,QAAA,gBACrEJ,OAAA;QAAKQ,GAAG,EAAEF,CAAC,CAACG,KAAM;QAACC,GAAG,EAAEJ,CAAC,CAACK,IAAK;QAACT,KAAK,EAAE;UAACU,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAM,CAAE;QAACZ,SAAS,EAAC;MAAS;QAAAa,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eAC3FjB,OAAA;QAAGC,SAAS,EAAC,SAAS;QAAAG,QAAA,EAAEE,CAAC,CAACK;MAAI;QAAAG,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAI,CAAC;IAAA,GAF7BX,CAAC,CAACY,EAAE;MAAAJ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAGT,CACR;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACD,CAAC;AAGd;AAACE,EAAA,GAberB,cAAc;AAAA,IAAAqB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"import utils from './../utils.js';\nimport platform from '../platform/index.js';\nexport default platform.hasStandardBrowserEnv ?\n// Standard browser envs support document.cookie\n{\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n utils.isString(path) && cookie.push('path=' + path);\n utils.isString(domain) && cookie.push('domain=' + domain);\n secure === true && cookie.push('secure');\n document.cookie = cookie.join('; ');\n },\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return match ? decodeURIComponent(match[3]) : null;\n },\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n} :\n// Non-standard browser env (web workers, react-native) lack needed support.\n{\n write() {},\n read() {\n return null;\n },\n remove() {}\n};","map":{"version":3,"names":["utils","platform","hasStandardBrowserEnv","write","name","value","expires","path","domain","secure","cookie","encodeURIComponent","isNumber","push","Date","toGMTString","isString","document","join","read","match","RegExp","decodeURIComponent","remove","now"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/helpers/cookies.js"],"sourcesContent":["import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n // Standard browser envs support document.cookie\n {\n write(name, value, expires, path, domain, secure) {\n const cookie = [name + '=' + encodeURIComponent(value)];\n\n utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());\n\n utils.isString(path) && cookie.push('path=' + path);\n\n utils.isString(domain) && cookie.push('domain=' + domain);\n\n secure === true && cookie.push('secure');\n\n document.cookie = cookie.join('; ');\n },\n\n read(name) {\n const match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n }\n\n :\n\n // Non-standard browser env (web workers, react-native) lack needed support.\n {\n write() {},\n read() {\n return null;\n },\n remove() {}\n };\n\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,eAAe;AACjC,OAAOC,QAAQ,MAAM,sBAAsB;AAE3C,eAAeA,QAAQ,CAACC,qBAAqB;AAE3C;AACA;EACEC,KAAKA,CAACC,IAAI,EAAEC,KAAK,EAAEC,OAAO,EAAEC,IAAI,EAAEC,MAAM,EAAEC,MAAM,EAAE;IAChD,MAAMC,MAAM,GAAG,CAACN,IAAI,GAAG,GAAG,GAAGO,kBAAkB,CAACN,KAAK,CAAC,CAAC;IAEvDL,KAAK,CAACY,QAAQ,CAACN,OAAO,CAAC,IAAII,MAAM,CAACG,IAAI,CAAC,UAAU,GAAG,IAAIC,IAAI,CAACR,OAAO,CAAC,CAACS,WAAW,CAAC,CAAC,CAAC;IAEpFf,KAAK,CAACgB,QAAQ,CAACT,IAAI,CAAC,IAAIG,MAAM,CAACG,IAAI,CAAC,OAAO,GAAGN,IAAI,CAAC;IAEnDP,KAAK,CAACgB,QAAQ,CAACR,MAAM,CAAC,IAAIE,MAAM,CAACG,IAAI,CAAC,SAAS,GAAGL,MAAM,CAAC;IAEzDC,MAAM,KAAK,IAAI,IAAIC,MAAM,CAACG,IAAI,CAAC,QAAQ,CAAC;IAExCI,QAAQ,CAACP,MAAM,GAAGA,MAAM,CAACQ,IAAI,CAAC,IAAI,CAAC;EACrC,CAAC;EAEDC,IAAIA,CAACf,IAAI,EAAE;IACT,MAAMgB,KAAK,GAAGH,QAAQ,CAACP,MAAM,CAACU,KAAK,CAAC,IAAIC,MAAM,CAAC,YAAY,GAAGjB,IAAI,GAAG,WAAW,CAAC,CAAC;IAClF,OAAQgB,KAAK,GAAGE,kBAAkB,CAACF,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;EACrD,CAAC;EAEDG,MAAMA,CAACnB,IAAI,EAAE;IACX,IAAI,CAACD,KAAK,CAACC,IAAI,EAAE,EAAE,EAAEU,IAAI,CAACU,GAAG,CAAC,CAAC,GAAG,QAAQ,CAAC;EAC7C;AACF,CAAC;AAID;AACA;EACErB,KAAKA,CAAA,EAAG,CAAC,CAAC;EACVgB,IAAIA,CAAA,EAAG;IACL,OAAO,IAAI;EACb,CAAC;EACDI,MAAMA,CAAA,EAAG,CAAC;AACZ,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object<string, any>} params - The parameters to be converted to a FormData object.\n * @param {Object<string, any>} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n params && toFormData(params, this, options);\n}\nconst prototype = AxiosURLSearchParams.prototype;\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function (value) {\n return encoder.call(this, value, encode);\n } : encode;\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\nexport default AxiosURLSearchParams;","map":{"version":3,"names":["toFormData","encode","str","charMap","encodeURIComponent","replace","replacer","match","AxiosURLSearchParams","params","options","_pairs","prototype","append","name","value","push","toString","encoder","_encode","call","map","each","pair","join"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/helpers/AxiosURLSearchParams.js"],"sourcesContent":["'use strict';\n\nimport toFormData from './toFormData.js';\n\n/**\n * It encodes a string by replacing all characters that are not in the unreserved set with\n * their percent-encoded equivalents\n *\n * @param {string} str - The string to encode.\n *\n * @returns {string} The encoded string.\n */\nfunction encode(str) {\n const charMap = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+',\n '%00': '\\x00'\n };\n return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {\n return charMap[match];\n });\n}\n\n/**\n * It takes a params object and converts it to a FormData object\n *\n * @param {Object<string, any>} params - The parameters to be converted to a FormData object.\n * @param {Object<string, any>} options - The options object passed to the Axios constructor.\n *\n * @returns {void}\n */\nfunction AxiosURLSearchParams(params, options) {\n this._pairs = [];\n\n params && toFormData(params, this, options);\n}\n\nconst prototype = AxiosURLSearchParams.prototype;\n\nprototype.append = function append(name, value) {\n this._pairs.push([name, value]);\n};\n\nprototype.toString = function toString(encoder) {\n const _encode = encoder ? function(value) {\n return encoder.call(this, value, encode);\n } : encode;\n\n return this._pairs.map(function each(pair) {\n return _encode(pair[0]) + '=' + _encode(pair[1]);\n }, '').join('&');\n};\n\nexport default AxiosURLSearchParams;\n"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,UAAU,MAAM,iBAAiB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,MAAMA,CAACC,GAAG,EAAE;EACnB,MAAMC,OAAO,GAAG;IACd,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,GAAG;IACV,KAAK,EAAE;EACT,CAAC;EACD,OAAOC,kBAAkB,CAACF,GAAG,CAAC,CAACG,OAAO,CAAC,kBAAkB,EAAE,SAASC,QAAQA,CAACC,KAAK,EAAE;IAClF,OAAOJ,OAAO,CAACI,KAAK,CAAC;EACvB,CAAC,CAAC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,oBAAoBA,CAACC,MAAM,EAAEC,OAAO,EAAE;EAC7C,IAAI,CAACC,MAAM,GAAG,EAAE;EAEhBF,MAAM,IAAIT,UAAU,CAACS,MAAM,EAAE,IAAI,EAAEC,OAAO,CAAC;AAC7C;AAEA,MAAME,SAAS,GAAGJ,oBAAoB,CAACI,SAAS;AAEhDA,SAAS,CAACC,MAAM,GAAG,SAASA,MAAMA,CAACC,IAAI,EAAEC,KAAK,EAAE;EAC9C,IAAI,CAACJ,MAAM,CAACK,IAAI,CAAC,CAACF,IAAI,EAAEC,KAAK,CAAC,CAAC;AACjC,CAAC;AAEDH,SAAS,CAACK,QAAQ,GAAG,SAASA,QAAQA,CAACC,OAAO,EAAE;EAC9C,MAAMC,OAAO,GAAGD,OAAO,GAAG,UAASH,KAAK,EAAE;IACxC,OAAOG,OAAO,CAACE,IAAI,CAAC,IAAI,EAAEL,KAAK,EAAEd,MAAM,CAAC;EAC1C,CAAC,GAAGA,MAAM;EAEV,OAAO,IAAI,CAACU,MAAM,CAACU,GAAG,CAAC,SAASC,IAAIA,CAACC,IAAI,EAAE;IACzC,OAAOJ,OAAO,CAACI,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAGJ,OAAO,CAACI,IAAI,CAAC,CAAC,CAAC,CAAC;EAClD,CAAC,EAAE,EAAE,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;AAClB,CAAC;AAED,eAAehB,oBAAoB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,EAAE;IACZC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Footer.tsx\";\nimport React from 'react';\nimport { Button } from 'antd';\nimport { CurrentTrack } from './CurrentTrack';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Footer({\n song\n}) {\n return /*#__PURE__*/_jsxDEV(\"footer\", {\n id: \"footer\",\n className: \"bg-gray-600\",\n children: [/*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"container mx-auto flex justify-between\",\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: \" 2022 Music Service\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"flex\",\n children: [/*#__PURE__*/_jsxDEV(\"li\", {\n className: \"mr-4\",\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/about\",\n children: \"About\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/contact\",\n children: \"Contact\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n}\n_c = Footer;\nvar _c;\n$RefreshReg$(_c, \"Footer\");","map":{"version":3,"names":["React","Button","CurrentTrack","jsxDEV","_jsxDEV","Footer","song","id","className","children","fileName","_jsxFileName","lineNumber","columnNumber","type","href","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Footer.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Button } from 'antd';\r\nimport { CurrentTrack } from './CurrentTrack';\r\nimport { ISong } from '../models/IModels';\r\n\r\nexport function Footer({song}: ISong) {\r\n return (\r\n <footer id=\"footer\" className=\"bg-gray-600\">\r\n <CurrentTrack />\r\n <div className=\"container mx-auto flex justify-between\">\r\n\r\n \r\n\r\n <p className=\"text-lg\"> 2022 Music Service</p>\r\n <ul className=\"flex\">\r\n <li className=\"mr-4\">\r\n <Button type=\"link\" href=\"/about\">About</Button>\r\n </li>\r\n <li>\r\n <Button type=\"link\" href=\"/contact\">Contact</Button>\r\n </li>\r\n </ul>\r\n </div>\r\n </footer>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,MAAM;AAC7B,SAASC,YAAY,QAAQ,gBAAgB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG9C,OAAO,SAASC,MAAMA,CAAC;EAACC;AAAW,CAAC,EAAE;EACpC,oBACEF,OAAA;IAAQG,EAAE,EAAC,QAAQ;IAACC,SAAS,EAAC,aAAa;IAAAC,QAAA,gBACzCL,OAAA,CAACF,YAAY;MAAAQ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBT,OAAA;MAAKI,SAAS,EAAC,wCAAwC;MAAAC,QAAA,gBAIrDL,OAAA;QAAGI,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAC;MAAmB;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAG,CAAC,eAC9CT,OAAA;QAAII,SAAS,EAAC,MAAM;QAAAC,QAAA,gBAClBL,OAAA;UAAII,SAAS,EAAC,MAAM;UAAAC,QAAA,eAClBL,OAAA,CAACH,MAAM;YAACa,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,QAAQ;YAAAN,QAAA,EAAC;UAAK;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAC9C,CAAC,eACLT,OAAA;UAAAK,QAAA,eACEL,OAAA,CAACH,MAAM;YAACa,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,UAAU;YAAAN,QAAA,EAAC;UAAO;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAClD,CAAC;MAAA;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OACH,CAAC;IAAA;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACF,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACA,CAAC;AAEb;AAACG,EAAA,GApBeX,MAAM;AAAA,IAAAW,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\";\nimport React from 'react';\nimport './App.css';\nimport Header from './components/Header';\nimport Footer from './components/Footer';\nimport CurrentTrack from './components/CurrentTrack';\nimport SongsBlock from './components/SongsBlock';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst fetchSongs = async () => {\n const response = await fetch('http://localhost:3000//data/songs.json');\n const data = await response.json();\n console.log(data);\n};\nfunction App() {\n fetchSongs();\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(SongsBlock, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","Header","Footer","CurrentTrack","SongsBlock","jsxDEV","_jsxDEV","fetchSongs","response","fetch","data","json","console","log","App","children","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport Track from './components/Track';\nimport Header from './components/Header';\nimport Playlist from './components/Playlist';\nimport Footer from './components/Footer';\nimport CurrentTrack from './components/CurrentTrack';\nimport SongsBlock from './components/SongsBlock';\n\nconst fetchSongs = async () => {\n const response = await fetch('http://localhost:3000//data/songs.json');\n const data = await response.json();\n console.log(data);\n};\n\nfunction App() {\n fetchSongs();\n return (\n \n <div> \n <Header />\n <SongsBlock />\n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,WAAW;AAGlB,OAAOC,MAAM,MAAM,qBAAqB;AAExC,OAAOC,MAAM,MAAM,qBAAqB;AACxC,OAAOC,YAAY,MAAM,2BAA2B;AACpD,OAAOC,UAAU,MAAM,yBAAyB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEjD,MAAMC,UAAU,GAAG,MAAAA,CAAA,KAAY;EAC7B,MAAMC,QAAQ,GAAG,MAAMC,KAAK,CAAC,wCAAwC,CAAC;EACtE,MAAMC,IAAI,GAAG,MAAMF,QAAQ,CAACG,IAAI,CAAC,CAAC;EAClCC,OAAO,CAACC,GAAG,CAACH,IAAI,CAAC;AACnB,CAAC;AAED,SAASI,GAAGA,CAAA,EAAG;EACbP,UAAU,CAAC,CAAC;EACZ,oBAEED,OAAA;IAAAS,QAAA,gBACET,OAAA,CAACL,MAAM;MAAAe,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACVb,OAAA,CAACF,UAAU;MAAAY,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACdb,OAAA,CAACH,YAAY;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBb,OAAA,CAACJ,MAAM;MAAAc,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACC,EAAA,GAXQN,GAAG;AAaZ,eAAeA,GAAG;AAAC,IAAAM,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-50%\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"w-50%\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,OAAO;IACjBC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\";\nimport React from 'react';\nimport './App.css';\nimport { Header } from './components/Header';\nimport { Footer } from './components/Footer';\nimport { CurrentTrack } from './components/CurrentTrack';\nimport { SongsBlock } from './components/SongsBlock';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst fetchSongs = async () => {\n const response = await fetch('./data/songs');\n const data = await response.json();\n console.log(data);\n};\nfunction App() {\n fetchSongs();\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(SongsBlock, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","Header","Footer","CurrentTrack","SongsBlock","jsxDEV","_jsxDEV","fetchSongs","response","fetch","data","json","console","log","App","children","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport {Track} from './components/Track';\nimport {Header} from './components/Header';\nimport Playlist from './components/Playlist';\nimport {Footer} from './components/Footer';\nimport {CurrentTrack} from './components/CurrentTrack';\nimport {SongsBlock} from './components/SongsBlock';\n\nconst fetchSongs = async () => {\n const response = await fetch('./data/songs');\n const data = await response.json();\n console.log(data);\n};\n\nfunction App() {\n fetchSongs();\n return (\n \n <div> \n <Header />\n <SongsBlock />\n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,WAAW;AAGlB,SAAQC,MAAM,QAAO,qBAAqB;AAE1C,SAAQC,MAAM,QAAO,qBAAqB;AAC1C,SAAQC,YAAY,QAAO,2BAA2B;AACtD,SAAQC,UAAU,QAAO,yBAAyB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEnD,MAAMC,UAAU,GAAG,MAAAA,CAAA,KAAY;EAC7B,MAAMC,QAAQ,GAAG,MAAMC,KAAK,CAAC,cAAc,CAAC;EAC5C,MAAMC,IAAI,GAAG,MAAMF,QAAQ,CAACG,IAAI,CAAC,CAAC;EAClCC,OAAO,CAACC,GAAG,CAACH,IAAI,CAAC;AACnB,CAAC;AAED,SAASI,GAAGA,CAAA,EAAG;EACbP,UAAU,CAAC,CAAC;EACZ,oBAEED,OAAA;IAAAS,QAAA,gBACET,OAAA,CAACL,MAAM;MAAAe,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACVb,OAAA,CAACF,UAAU;MAAAY,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACdb,OAAA,CAACH,YAAY;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBb,OAAA,CAACJ,MAAM;MAAAc,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACC,EAAA,GAXQN,GAAG;AAaZ,eAAeA,GAAG;AAAC,IAAAM,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","jsxDEV","_jsxDEV","SongsBlock","className","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/ISong';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\n\r\nexport function SongsBlock() {\r\n\r\n return (\r\n <div className=\"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\">\r\n \r\n </div>\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAAqB,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAMzC,OAAO,SAASC,UAAUA,CAAA,EAAG;EAE3B,oBACED,OAAA;IAAKE,SAAS,EAAC;EAAgE;IAAAC,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAE1E,CAAC;AAEV;AAACC,EAAA,GAPeN,UAAU;AAOzB;AAAC,IAAAM,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table, Button } from 'antd';\nimport { PlayCircleOutlined } from '@ant-design/icons';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'play',\n key: 'play',\n width: 50,\n render: (text, record) => /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n onClick: () => console.log(record),\n children: /*#__PURE__*/_jsxDEV(PlayCircleOutlined, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 65\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this)\n }, {\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-screen flex-row\",\n dataSource: songs.map(s => ({\n ...s,\n play: ''\n })),\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","Button","PlayCircleOutlined","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","width","render","text","record","type","onClick","console","log","children","fileName","_jsxFileName","lineNumber","columnNumber","className","dataSource","map","s","play","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table, Button } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n {\r\n title: '',\r\n dataIndex: 'play',\r\n key: 'play',\r\n width: 50,\r\n render: (text: string, record: ISong) => (\r\n <Button type=\"link\" onClick={() => console.log(record)}><PlayCircleOutlined /></Button>\r\n ),\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"w-screen flex-row\"\r\n dataSource={songs.map((s: ISong) => ({...s, play: ''}))}\r\n columns={columns}\r\n />\r\n ); \r\n};\r\n\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,EAAEC,MAAM,QAAQ,MAAM;AACpC,SAASC,kBAAkB,QAAQ,mBAAmB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEvD,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CACd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE,EAAE;IACTC,MAAM,EAAEA,CAACC,IAAY,EAAEC,MAAa,kBAClCV,OAAA,CAACH,MAAM;MAACc,IAAI,EAAC,MAAM;MAACC,OAAO,EAAEA,CAAA,KAAMC,OAAO,CAACC,GAAG,CAACJ,MAAM,CAAE;MAAAK,QAAA,eAACf,OAAA,CAACF,kBAAkB;QAAAkB,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE;IAAC;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAQ;EAE1F,CAAC,EACD;IACEf,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACJ,KAAK;IACJwB,SAAS,EAAC,mBAAmB;IAC7BC,UAAU,EAAEnB,KAAK,CAACoB,GAAG,CAAEC,CAAQ,KAAM;MAAC,GAAGA,CAAC;MAAEC,IAAI,EAAE;IAAE,CAAC,CAAC,CAAE;IACxDrB,OAAO,EAAEA;EAAQ;IAAAa,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACM,EAAA,GArCexB,UAAU;AAqCzB;AAAC,IAAAwB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\",\n _s = $RefreshSig$();\nimport React, { useEffect } from 'react';\nimport './App.css';\nimport { Track } from './components/Track';\nimport { Header } from './components/Header';\nimport { Footer } from './components/Footer';\nimport { CurrentTrack } from './components/CurrentTrack';\nimport axios from 'axios';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction App() {\n _s();\n const [songs, setSongs] = React.useState([]);\n const [albums, setAlbums] = React.useState([]);\n async function fetchSongs() {\n const response = await axios.get('http://localhost:3000/songs');\n setSongs(response.data);\n }\n useEffect(() => {\n fetchSongs();\n }, []);\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 7\n }, this), songs.map(song => /*#__PURE__*/_jsxDEV(Track, {\n song: song\n }, song.id, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 27\n }, this)), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 5\n }, this);\n}\n_s(App, \"Vv2Q2Tzhe8XWStpnCnMV5RwU2wo=\");\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","useEffect","Track","Header","Footer","CurrentTrack","axios","jsxDEV","_jsxDEV","App","_s","songs","setSongs","useState","albums","setAlbums","fetchSongs","response","get","data","children","fileName","_jsxFileName","lineNumber","columnNumber","map","song","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport {Track} from './components/Track';\nimport {Header} from './components/Header';\nimport Playlist from './components/Playlist';\nimport {Footer} from './components/Footer';\nimport {CurrentTrack} from './components/CurrentTrack';\nimport {SongsBlock} from './components/SongsBlock';\nimport { ISong } from './models/ISong';\nimport axios from 'axios';\n\n\nfunction App() {\n const [songs, setSongs] = React.useState<ISong[]>([]);\n const [albums, setAlbums] = React.useState<ISong[]>([]);\n async function fetchSongs() {\n const response = await axios.get<ISong[]>('http://localhost:3000/songs');\n setSongs(response.data);\n }\n\n useEffect(\n () => {\n fetchSongs();\n },\n []\n )\n\n\n \n return (\n \n <div> \n <Header />\n \n { songs.map(song => <Track song={song} key={song.id} />) }\n \n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AAExC,OAAO,WAAW;AAElB,SAAQC,KAAK,QAAO,oBAAoB;AACxC,SAAQC,MAAM,QAAO,qBAAqB;AAE1C,SAAQC,MAAM,QAAO,qBAAqB;AAC1C,SAAQC,YAAY,QAAO,2BAA2B;AAGtD,OAAOC,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG1B,SAASC,GAAGA,CAAA,EAAG;EAAAC,EAAA;EACb,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGZ,KAAK,CAACa,QAAQ,CAAU,EAAE,CAAC;EACrD,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGf,KAAK,CAACa,QAAQ,CAAU,EAAE,CAAC;EACvD,eAAeG,UAAUA,CAAA,EAAG;IAC1B,MAAMC,QAAQ,GAAG,MAAMX,KAAK,CAACY,GAAG,CAAU,6BAA6B,CAAC;IACxEN,QAAQ,CAACK,QAAQ,CAACE,IAAI,CAAC;EACzB;EAEAlB,SAAS,CACP,MAAM;IACJe,UAAU,CAAC,CAAC;EACd,CAAC,EACD,EACF,CAAC;EAID,oBAEER,OAAA;IAAAY,QAAA,gBACEZ,OAAA,CAACL,MAAM;MAAAkB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,EAERb,KAAK,CAACc,GAAG,CAACC,IAAI,iBAAIlB,OAAA,CAACN,KAAK;MAACwB,IAAI,EAAEA;IAAK,GAAMA,IAAI,CAACC,EAAE;MAAAN,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAG,CAAC,CAAC,eAExDhB,OAAA,CAACH,YAAY;MAAAgB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBhB,OAAA,CAACJ,MAAM;MAAAiB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACd,EAAA,CA5BQD,GAAG;AAAAmB,EAAA,GAAHnB,GAAG;AA8BZ,eAAeA,GAAG;AAAC,IAAAmB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }, {\n title: 'Band',\n dataIndex: 'name',\n key: 'name'\n }, {\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Band',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,gEAAgE;IAC1EC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Header.tsx\";\nimport React from 'react';\nimport { Button } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Header() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center justify-between p-4 border-b bg-gray-600\",\n children: [/*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-3xl font-bold\",\n children: \"Music Service\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/login\",\n children: \"Login\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }, this);\n}\n_c = Header;\nvar _c;\n$RefreshReg$(_c, \"Header\");","map":{"version":3,"names":["React","Button","jsxDEV","_jsxDEV","Header","className","children","fileName","_jsxFileName","lineNumber","columnNumber","type","href","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Header.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Button } from 'antd';\r\n\r\nexport function Header() {\r\n return (\r\n <div className=\"flex items-center justify-between p-4 border-b bg-gray-600\">\r\n <h1 className=\"text-3xl font-bold\">Music Service</h1>\r\n <Button type=\"link\" href=\"/login\">Login</Button>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE9B,OAAO,SAASC,MAAMA,CAAA,EAAG;EACvB,oBACED,OAAA;IAAKE,SAAS,EAAC,4DAA4D;IAAAC,QAAA,gBACzEH,OAAA;MAAIE,SAAS,EAAC,oBAAoB;MAAAC,QAAA,EAAC;IAAa;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAI,CAAC,eACrDP,OAAA,CAACF,MAAM;MAACU,IAAI,EAAC,MAAM;MAACC,IAAI,EAAC,QAAQ;MAAAN,QAAA,EAAC;IAAK;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAQ,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAC7C,CAAC;AAEV;AAACG,EAAA,GAPeT,MAAM;AAAA,IAAAS,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\PlaylistsBlock.tsx\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function PlaylistsBlock({\n playlists\n}) {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex overflow-x-visible rounded bg-slate-300\",\n style: {\n scrollSnapType: 'x mandatory'\n },\n children: playlists.map(p => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/3 mr-4\",\n style: {\n scrollSnapAlign: 'start'\n },\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: p.cover,\n alt: p.name,\n style: {\n width: 200,\n height: 'auto'\n },\n className: \"rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 21\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: p.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 21\n }, this)]\n }, p.id, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 17\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 9\n }, this);\n}\n_c = PlaylistsBlock;\nvar _c;\n$RefreshReg$(_c, \"PlaylistsBlock\");","map":{"version":3,"names":["PlaylistsBlock","playlists","_jsxDEV","className","style","scrollSnapType","children","map","p","scrollSnapAlign","src","cover","alt","name","width","height","fileName","_jsxFileName","lineNumber","columnNumber","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/PlaylistsBlock.tsx"],"sourcesContent":["import { IPlaylist } from \"../models/IModels\";\r\n\r\nexport function PlaylistsBlock({playlists}: {playlists: IPlaylist[]}) {\r\n\r\n return (\r\n <div className=\"flex overflow-x-visible rounded bg-slate-300\" style={{scrollSnapType: 'x mandatory'}}>\r\n {playlists.map((p: IPlaylist) => (\r\n <div key={p.id} className=\"w-1/3 mr-4\" style={{scrollSnapAlign: 'start'}}>\r\n <img src={p.cover} alt={p.name} style={{width: 200, height: 'auto'}} className=\"rounded\" />\r\n <p className=\"text-lg\">{p.name}</p>\r\n </div>\r\n ))}\r\n </div>\r\n \r\n )\r\n}\r\n"],"mappings":";;AAEA,OAAO,SAASA,cAAcA,CAAC;EAACC;AAAmC,CAAC,EAAE;EAElE,oBACIC,OAAA;IAAKC,SAAS,EAAC,8CAA8C;IAACC,KAAK,EAAE;MAACC,cAAc,EAAE;IAAa,CAAE;IAAAC,QAAA,EAChGL,SAAS,CAACM,GAAG,CAAEC,CAAY,iBACxBN,OAAA;MAAgBC,SAAS,EAAC,YAAY;MAACC,KAAK,EAAE;QAACK,eAAe,EAAE;MAAO,CAAE;MAAAH,QAAA,gBACrEJ,OAAA;QAAKQ,GAAG,EAAEF,CAAC,CAACG,KAAM;QAACC,GAAG,EAAEJ,CAAC,CAACK,IAAK;QAACT,KAAK,EAAE;UAACU,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAM,CAAE;QAACZ,SAAS,EAAC;MAAS;QAAAa,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eAC3FjB,OAAA;QAAGC,SAAS,EAAC,SAAS;QAAAG,QAAA,EAAEE,CAAC,CAACK;MAAI;QAAAG,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAI,CAAC;IAAA,GAF7BX,CAAC,CAACY,EAAE;MAAAJ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAGT,CACR;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACD,CAAC;AAGd;AAACE,EAAA,GAberB,cAAc;AAAA,IAAAqB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"const songs = {\n \"result\": [{\n \"id\": \"1\",\n \"song_name\": \"Smells Like Poop\",\n \"band_name\": \"Nevroz\",\n \"cover\": \"cover_path\"\n }, {\n \"id\": \"2\",\n \"song_name\": \"Song 3\",\n \"band_name\": \"Blurryface\",\n \"cover\": \"cover_path\"\n }]\n};\nexport default songs;","map":{"version":3,"names":["songs"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/data/songs.ts"],"sourcesContent":["const songs = {\r\n \"result\": [\r\n {\r\n \"id\": \"1\",\r\n \"song_name\": \"Smells Like Poop\",\r\n \"band_name\": \"Nevroz\",\r\n \"cover\": \"cover_path\"\r\n },\r\n {\r\n \"id\": \"2\",\r\n \"song_name\": \"Song 3\",\r\n \"band_name\": \"Blurryface\",\r\n \"cover\": \"cover_path\"\r\n }\r\n ]\r\n}\r\n\r\nexport default songs;"],"mappings":"AAAA,MAAMA,KAAK,GAAG;EACV,QAAQ,EAAE,CACN;IACI,IAAI,EAAE,GAAG;IACT,WAAW,EAAE,kBAAkB;IAC/B,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE;EACb,CAAC,EACD;IACI,IAAI,EAAE,GAAG;IACT,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE;EACb,CAAC;AAET,CAAC;AAED,eAAeA,KAAK","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Header.tsx\";\nimport React from 'react';\nimport { Button } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Header() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center justify-between p-4 border-b border-gray-300\",\n children: [/*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-3xl font-bold\",\n children: \"Music Service\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/login\",\n children: \"Login\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }, this);\n}\n_c = Header;\nvar _c;\n$RefreshReg$(_c, \"Header\");","map":{"version":3,"names":["React","Button","jsxDEV","_jsxDEV","Header","className","children","fileName","_jsxFileName","lineNumber","columnNumber","type","href","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Header.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Button } from 'antd';\r\n\r\nexport function Header() {\r\n return (\r\n <div className=\"flex items-center justify-between p-4 border-b border-gray-300\">\r\n <h1 className=\"text-3xl font-bold\">Music Service</h1>\r\n <Button type=\"link\" href=\"/login\">Login</Button>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE9B,OAAO,SAASC,MAAMA,CAAA,EAAG;EACvB,oBACED,OAAA;IAAKE,SAAS,EAAC,gEAAgE;IAAAC,QAAA,gBAC7EH,OAAA;MAAIE,SAAS,EAAC,oBAAoB;MAAAC,QAAA,EAAC;IAAa;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAI,CAAC,eACrDP,OAAA,CAACF,MAAM;MAACU,IAAI,EAAC,MAAM;MAACC,IAAI,EAAC,QAAQ;MAAAN,QAAA,EAAC;IAAK;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAQ,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAC7C,CAAC;AAEV;AAACG,EAAA,GAPeT,MAAM;AAAA,IAAAS,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Footer.tsx\";\nimport React from 'react';\nimport { Button } from 'antd';\nimport { CurrentTrack } from './CurrentTrack';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Footer({\n song\n}) {\n return /*#__PURE__*/_jsxDEV(\"footer\", {\n id: \"footer\",\n className: \"bg-gray-600\",\n children: [/*#__PURE__*/_jsxDEV(CurrentTrack, {\n song: song\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"container mx-auto flex justify-between\",\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: \" 2022 Music Service\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"flex\",\n children: [/*#__PURE__*/_jsxDEV(\"li\", {\n className: \"mr-4\",\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/about\",\n children: \"About\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/contact\",\n children: \"Contact\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 5\n }, this);\n}\n_c = Footer;\nvar _c;\n$RefreshReg$(_c, \"Footer\");","map":{"version":3,"names":["React","Button","CurrentTrack","jsxDEV","_jsxDEV","Footer","song","id","className","children","fileName","_jsxFileName","lineNumber","columnNumber","type","href","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Footer.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Button } from 'antd';\r\nimport { CurrentTrack } from './CurrentTrack';\r\nimport { ISong, SongProps } from '../models/IModels';\r\n\r\nexport function Footer({song}: SongProps) {\r\n return (\r\n <footer id=\"footer\" className=\"bg-gray-600\">\r\n <CurrentTrack song={song} />\r\n <div className=\"container mx-auto flex justify-between\">\r\n\r\n \r\n\r\n <p className=\"text-lg\"> 2022 Music Service</p>\r\n <ul className=\"flex\">\r\n <li className=\"mr-4\">\r\n <Button type=\"link\" href=\"/about\">About</Button>\r\n </li>\r\n <li>\r\n <Button type=\"link\" href=\"/contact\">Contact</Button>\r\n </li>\r\n </ul>\r\n </div>\r\n </footer>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,MAAM;AAC7B,SAASC,YAAY,QAAQ,gBAAgB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG9C,OAAO,SAASC,MAAMA,CAAC;EAACC;AAAe,CAAC,EAAE;EACxC,oBACEF,OAAA;IAAQG,EAAE,EAAC,QAAQ;IAACC,SAAS,EAAC,aAAa;IAAAC,QAAA,gBACzCL,OAAA,CAACF,YAAY;MAACI,IAAI,EAAEA;IAAK;MAAAI,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAC5BT,OAAA;MAAKI,SAAS,EAAC,wCAAwC;MAAAC,QAAA,gBAIrDL,OAAA;QAAGI,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAC;MAAmB;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAG,CAAC,eAC9CT,OAAA;QAAII,SAAS,EAAC,MAAM;QAAAC,QAAA,gBAClBL,OAAA;UAAII,SAAS,EAAC,MAAM;UAAAC,QAAA,eAClBL,OAAA,CAACH,MAAM;YAACa,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,QAAQ;YAAAN,QAAA,EAAC;UAAK;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAC9C,CAAC,eACLT,OAAA;UAAAK,QAAA,eACEL,OAAA,CAACH,MAAM;YAACa,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,UAAU;YAAAN,QAAA,EAAC;UAAO;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAClD,CAAC;MAAA;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OACH,CAAC;IAAA;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACF,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACA,CAAC;AAEb;AAACG,EAAA,GApBeX,MAAM;AAAA,IAAAW,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Footer.tsx\";\nimport React from 'react';\nimport { Button } from 'antd';\nimport { CurrentTrack } from './CurrentTrack';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Footer() {\n return /*#__PURE__*/_jsxDEV(\"footer\", {\n id: \"footer\",\n className: \"bg-gray-600\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"container mx-auto flex justify-between\",\n children: [/*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: \" 2022 Music Service\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"flex\",\n children: [/*#__PURE__*/_jsxDEV(\"li\", {\n className: \"mr-4\",\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/about\",\n children: \"About\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/contact\",\n children: \"Contact\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 5\n }, this);\n}\n_c = Footer;\nvar _c;\n$RefreshReg$(_c, \"Footer\");","map":{"version":3,"names":["React","Button","CurrentTrack","jsxDEV","_jsxDEV","Footer","id","className","children","fileName","_jsxFileName","lineNumber","columnNumber","type","href","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Footer.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Button } from 'antd';\r\nimport { CurrentTrack } from './CurrentTrack';\r\n\r\nexport function Footer() {\r\n return (\r\n <footer id=\"footer\" className=\"bg-gray-600\">\r\n <div className=\"container mx-auto flex justify-between\">\r\n\r\n <CurrentTrack />\r\n\r\n <p className=\"text-lg\"> 2022 Music Service</p>\r\n <ul className=\"flex\">\r\n <li className=\"mr-4\">\r\n <Button type=\"link\" href=\"/about\">About</Button>\r\n </li>\r\n <li>\r\n <Button type=\"link\" href=\"/contact\">Contact</Button>\r\n </li>\r\n </ul>\r\n </div>\r\n </footer>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,MAAM;AAC7B,SAASC,YAAY,QAAQ,gBAAgB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE9C,OAAO,SAASC,MAAMA,CAAA,EAAG;EACvB,oBACED,OAAA;IAAQE,EAAE,EAAC,QAAQ;IAACC,SAAS,EAAC,aAAa;IAAAC,QAAA,eACzCJ,OAAA;MAAKG,SAAS,EAAC,wCAAwC;MAAAC,QAAA,gBAErDJ,OAAA,CAACF,YAAY;QAAAO,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eAEhBR,OAAA;QAAGG,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAC;MAAmB;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAG,CAAC,eAC9CR,OAAA;QAAIG,SAAS,EAAC,MAAM;QAAAC,QAAA,gBAClBJ,OAAA;UAAIG,SAAS,EAAC,MAAM;UAAAC,QAAA,eAClBJ,OAAA,CAACH,MAAM;YAACY,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,QAAQ;YAAAN,QAAA,EAAC;UAAK;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAC9C,CAAC,eACLR,OAAA;UAAAI,QAAA,eACEJ,OAAA,CAACH,MAAM;YAACY,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,UAAU;YAAAN,QAAA,EAAC;UAAO;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAClD,CAAC;MAAA;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OACH,CAAC;IAAA;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACF;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACA,CAAC;AAEb;AAACG,EAAA,GAnBeV,MAAM;AAAA,IAAAU,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\PlaylistsBlock.tsx\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function PlaylistsBlock({\n playlists\n}) {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex overflow-x-scroll rounded bg-slate-300\",\n children: playlists.map(p => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/3 mr-4\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: p.cover,\n alt: p.name,\n className: \"w-1/2 h-auto rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 21\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: p.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 21\n }, this)]\n }, p.id, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 17\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 9\n }, this);\n}\n_c = PlaylistsBlock;\nvar _c;\n$RefreshReg$(_c, \"PlaylistsBlock\");","map":{"version":3,"names":["PlaylistsBlock","playlists","_jsxDEV","className","children","map","p","src","cover","alt","name","fileName","_jsxFileName","lineNumber","columnNumber","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/PlaylistsBlock.tsx"],"sourcesContent":["import { IPlaylist } from \"../models/IModels\";\r\n\r\nexport function PlaylistsBlock({playlists}: {playlists: IPlaylist[]}) {\r\n\r\n return (\r\n <div className=\"flex overflow-x-scroll rounded bg-slate-300\">\r\n {playlists.map((p: IPlaylist) => (\r\n <div key={p.id} className=\"w-1/3 mr-4\">\r\n <img src={p.cover} alt={p.name} className=\"w-1/2 h-auto rounded\" />\r\n <p className=\"text-lg\">{p.name}</p>\r\n </div>\r\n ))}\r\n </div>\r\n \r\n )\r\n}"],"mappings":";;AAEA,OAAO,SAASA,cAAcA,CAAC;EAACC;AAAmC,CAAC,EAAE;EAElE,oBACIC,OAAA;IAAKC,SAAS,EAAC,6CAA6C;IAAAC,QAAA,EACvDH,SAAS,CAACI,GAAG,CAAEC,CAAY,iBACxBJ,OAAA;MAAgBC,SAAS,EAAC,YAAY;MAAAC,QAAA,gBAClCF,OAAA;QAAKK,GAAG,EAAED,CAAC,CAACE,KAAM;QAACC,GAAG,EAAEH,CAAC,CAACI,IAAK;QAACP,SAAS,EAAC;MAAsB;QAAAQ,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eACnEZ,OAAA;QAAGC,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAEE,CAAC,CAACI;MAAI;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAI,CAAC;IAAA,GAF7BR,CAAC,CAACS,EAAE;MAAAJ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAGT,CACR;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACD,CAAC;AAGd;AAACE,EAAA,GAbehB,cAAc;AAAA,IAAAgB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};","map":{"version":3,"names":["silentJSONParsing","forcedJSONParsing","clarifyTimeoutError"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/defaults/transitional.js"],"sourcesContent":["'use strict';\n\nexport default {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n"],"mappings":"AAAA,YAAY;;AAEZ,eAAe;EACbA,iBAAiB,EAAE,IAAI;EACvBC,iBAAiB,EAAE,IAAI;EACvBC,mBAAmB,EAAE;AACvB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\PlaylistsBlock.tsx\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function PlaylistsBlock({\n playlists\n}) {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex overflow-x-scroll rounded bg-slate-300\",\n children: playlists.map(p => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-1/3 mr-4\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: p.cover,\n alt: p.name,\n style: {\n width: 200,\n height: 'auto'\n },\n className: \"rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 21\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: p.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 21\n }, this)]\n }, p.id, true, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 17\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 9\n }, this);\n}\n_c = PlaylistsBlock;\nvar _c;\n$RefreshReg$(_c, \"PlaylistsBlock\");","map":{"version":3,"names":["PlaylistsBlock","playlists","_jsxDEV","className","children","map","p","src","cover","alt","name","style","width","height","fileName","_jsxFileName","lineNumber","columnNumber","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/PlaylistsBlock.tsx"],"sourcesContent":["import { IPlaylist } from \"../models/IModels\";\r\n\r\nexport function PlaylistsBlock({playlists}: {playlists: IPlaylist[]}) {\r\n\r\n return (\r\n <div className=\"flex overflow-x-scroll rounded bg-slate-300\">\r\n {playlists.map((p: IPlaylist) => (\r\n <div key={p.id} className=\"w-1/3 mr-4\">\r\n <img src={p.cover} alt={p.name} style={{width: 200, height: 'auto'}} className=\"rounded\" />\r\n <p className=\"text-lg\">{p.name}</p>\r\n </div>\r\n ))}\r\n </div>\r\n \r\n )\r\n}"],"mappings":";;AAEA,OAAO,SAASA,cAAcA,CAAC;EAACC;AAAmC,CAAC,EAAE;EAElE,oBACIC,OAAA;IAAKC,SAAS,EAAC,6CAA6C;IAAAC,QAAA,EACvDH,SAAS,CAACI,GAAG,CAAEC,CAAY,iBACxBJ,OAAA;MAAgBC,SAAS,EAAC,YAAY;MAAAC,QAAA,gBAClCF,OAAA;QAAKK,GAAG,EAAED,CAAC,CAACE,KAAM;QAACC,GAAG,EAAEH,CAAC,CAACI,IAAK;QAACC,KAAK,EAAE;UAACC,KAAK,EAAE,GAAG;UAAEC,MAAM,EAAE;QAAM,CAAE;QAACV,SAAS,EAAC;MAAS;QAAAW,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eAC3Ff,OAAA;QAAGC,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAEE,CAAC,CAACI;MAAI;QAAAI,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAI,CAAC;IAAA,GAF7BX,CAAC,CAACY,EAAE;MAAAJ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAGT,CACR;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACD,CAAC;AAGd;AAACE,EAAA,GAbenB,cAAc;AAAA,IAAAmB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Track.tsx\";\nimport { Col, Row, Button } from 'antd';\nimport { PlayCircleOutlined } from '@ant-design/icons';\nimport React from 'react';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Track() {\n return /*#__PURE__*/_jsxDEV(\"span\", {\n className: \"flex items-center justify-between p-4 border-b border-gray-300 \",\n children: /*#__PURE__*/_jsxDEV(Row, {\n children: [/*#__PURE__*/_jsxDEV(Col, {\n span: 8,\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n children: /*#__PURE__*/_jsxDEV(PlayCircleOutlined, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 31\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Col, {\n span: 8,\n className: \"flex items-center justify-between\",\n children: /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-md\",\n children: \"Track\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Col, {\n span: 8,\n className: \"flex items-center justify-between\",\n children: /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-md\",\n children: \"Group\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }, this);\n}\n_c = Track;\nvar _c;\n$RefreshReg$(_c, \"Track\");","map":{"version":3,"names":["Col","Row","Button","PlayCircleOutlined","React","jsxDEV","_jsxDEV","Track","className","children","span","type","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Track.tsx"],"sourcesContent":["import { Grid, Col, Row, Button } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\nimport React from 'react';\r\nexport function Track() {\r\n return (\r\n <span className=\"flex items-center justify-between p-4 border-b border-gray-300 \">\r\n <Row>\r\n <Col span={8}>\r\n <Button type=\"link\"><PlayCircleOutlined /></Button>\r\n </Col>\r\n <Col span={8} className=\"flex items-center justify-between\">\r\n <p className=\"text-md\">Track</p>\r\n </Col>\r\n <Col span={8} className=\"flex items-center justify-between\">\r\n <p className=\"text-md\">Group</p>\r\n </Col>\r\n </Row>\r\n </span>\r\n )\r\n}\r\n"],"mappings":";AAAA,SAAeA,GAAG,EAAEC,GAAG,EAAEC,MAAM,QAAQ,MAAM;AAC7C,SAASC,kBAAkB,QAAQ,mBAAmB;AACtD,OAAOC,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAC1B,OAAO,SAASC,KAAKA,CAAA,EAAG;EACtB,oBACED,OAAA;IAAME,SAAS,EAAC,iEAAiE;IAAAC,QAAA,eAC/EH,OAAA,CAACL,GAAG;MAAAQ,QAAA,gBACFH,OAAA,CAACN,GAAG;QAACU,IAAI,EAAE,CAAE;QAAAD,QAAA,eACXH,OAAA,CAACJ,MAAM;UAACS,IAAI,EAAC,MAAM;UAAAF,QAAA,eAACH,OAAA,CAACH,kBAAkB;YAAAS,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAE;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAQ;MAAC;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAChD,CAAC,eACNT,OAAA,CAACN,GAAG;QAACU,IAAI,EAAE,CAAE;QAACF,SAAS,EAAC,mCAAmC;QAAAC,QAAA,eACzDH,OAAA;UAAGE,SAAS,EAAC,SAAS;UAAAC,QAAA,EAAC;QAAK;UAAAG,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAG;MAAC;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAC7B,CAAC,eACNT,OAAA,CAACN,GAAG;QAACU,IAAI,EAAE,CAAE;QAACF,SAAS,EAAC,mCAAmC;QAAAC,QAAA,eACzDH,OAAA;UAAGE,SAAS,EAAC,SAAS;UAAAC,QAAA,EAAC;QAAK;UAAAG,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAG;MAAC;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAC7B,CAAC;IAAA;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACH;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACF,CAAC;AAEX;AAACC,EAAA,GAhBeT,KAAK;AAAA,IAAAS,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Playlist.tsx\";\nimport React from 'react';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction App() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"text-3xl font-bold underline\",\n children: \"Hello world!\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","jsxDEV","_jsxDEV","App","className","children","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Playlist.tsx"],"sourcesContent":["import React from 'react';\r\n\r\nfunction App() {\r\n return (\r\n <div className=\"text-3xl font-bold underline\">\r\n Hello world!\r\n </div>\r\n );\r\n}\r\n\r\nexport default App;\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE1B,SAASC,GAAGA,CAAA,EAAG;EACb,oBACED,OAAA;IAAKE,SAAS,EAAC,8BAA8B;IAAAC,QAAA,EAAC;EAE9C;IAAAC,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAAK,CAAC;AAEV;AAACC,EAAA,GANQP,GAAG;AAQZ,eAAeA,GAAG;AAAC,IAAAO,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table, Button } from 'antd';\nimport { PlayCircleOutlined } from '@ant-design/icons';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'play',\n key: 'play',\n width: 50,\n render: (text, record) => /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n onClick: () => console.log(record),\n children: /*#__PURE__*/_jsxDEV(PlayCircleOutlined, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 65\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this)\n }, {\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-1/2 flex-row\",\n dataSource: songs.map(s => ({\n ...s,\n play: ''\n })),\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","Button","PlayCircleOutlined","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","width","render","text","record","type","onClick","console","log","children","fileName","_jsxFileName","lineNumber","columnNumber","className","dataSource","map","s","play","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table, Button } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n {\r\n title: '',\r\n dataIndex: 'play',\r\n key: 'play',\r\n width: 50,\r\n render: (text: string, record: ISong) => (\r\n <Button type=\"link\" onClick={() => console.log(record)}><PlayCircleOutlined /></Button>\r\n ),\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"w-1/2 flex-row\"\r\n dataSource={songs.map((s: ISong) => ({...s, play: ''}))}\r\n columns={columns}\r\n />\r\n ); \r\n};\r\n\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,EAAEC,MAAM,QAAQ,MAAM;AACpC,SAASC,kBAAkB,QAAQ,mBAAmB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEvD,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CACd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE,EAAE;IACTC,MAAM,EAAEA,CAACC,IAAY,EAAEC,MAAa,kBAClCV,OAAA,CAACH,MAAM;MAACc,IAAI,EAAC,MAAM;MAACC,OAAO,EAAEA,CAAA,KAAMC,OAAO,CAACC,GAAG,CAACJ,MAAM,CAAE;MAAAK,QAAA,eAACf,OAAA,CAACF,kBAAkB;QAAAkB,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE;IAAC;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAQ;EAE1F,CAAC,EACD;IACEf,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACJ,KAAK;IACJwB,SAAS,EAAC,gBAAgB;IAC1BC,UAAU,EAAEnB,KAAK,CAACoB,GAAG,CAAEC,CAAQ,KAAM;MAAC,GAAGA,CAAC;MAAEC,IAAI,EAAE;IAAE,CAAC,CAAC,CAAE;IACxDrB,OAAO,EAAEA;EAAQ;IAAAa,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACM,EAAA,GArCexB,UAAU;AAqCzB;AAAC,IAAAwB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: 'Name',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: 'Band',\n dataIndex: 'band_name',\n key: 'name'\n }, {\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: 'Name',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: 'Band',\r\n dataIndex: 'band_name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,gEAAgE;IAC1EC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'play',\n key: 'play',\n width: 50,\n render: (text, song) => /*#__PURE__*/_jsxDEV(\"img\", {\n className: \"w-full h-auto rounded\",\n src: song.cover,\n alt: song.song_name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 9\n }, this)\n }, {\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex justify-center items-center bg-slate-300\",\n children: /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-1/2\",\n dataSource: songs.map(s => ({\n ...s,\n play: ''\n })),\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 46,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 45,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","width","render","text","song","className","src","cover","alt","song_name","fileName","_jsxFileName","lineNumber","columnNumber","children","dataSource","map","s","play","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table, Button, Empty } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n {\r\n title: '',\r\n dataIndex: 'play',\r\n key: 'play',\r\n width: 50,\r\n\r\n render: (text: string, song: ISong) => (\r\n <img \r\n className=\"w-full h-auto rounded\" \r\n src={song.cover} \r\n alt={song.song_name} \r\n />\r\n ),\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <div className=\"flex justify-center items-center bg-slate-300\">\r\n <Table\r\n className=\"w-1/2\"\r\n dataSource={songs.map((s: ISong) => ({...s, play: ''}))}\r\n columns={columns}\r\n />\r\n </div>\r\n ); \r\n};\r\n\r\n\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAuB,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG5C,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CACd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE,EAAE;IAETC,MAAM,EAAEA,CAACC,IAAY,EAAEC,IAAW,kBAChCV,OAAA;MACIW,SAAS,EAAC,uBAAuB;MACjCC,GAAG,EAAEF,IAAI,CAACG,KAAM;MAChBC,GAAG,EAAEJ,IAAI,CAACK;IAAU;MAAAC,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACrB;EAEP,CAAC,EACD;IACEf,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA;IAAKW,SAAS,EAAC,+CAA+C;IAAAS,QAAA,eAC5DpB,OAAA,CAACF,KAAK;MACJa,SAAS,EAAC,OAAO;MACjBU,UAAU,EAAEnB,KAAK,CAACoB,GAAG,CAAEC,CAAQ,KAAM;QAAC,GAAGA,CAAC;QAAEC,IAAI,EAAE;MAAE,CAAC,CAAC,CAAE;MACxDrB,OAAO,EAAEA;IAAQ;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAClB;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACC,CAAC;AAEV;AAACM,EAAA,GA5CexB,UAAU;AA4CzB;AAAC,IAAAwB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\",\n _s = $RefreshSig$();\nimport React, { useEffect } from 'react';\nimport './App.css';\nimport axios from 'axios';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction App() {\n _s();\n const [songs, setSongs] = React.useState([]);\n const [albums, setAlbums] = React.useState([]);\n const [genres, setGenres] = React.useState([]);\n const [bands, setBands] = React.useState([]);\n async function fetchData() {\n const responseSongs = await axios.get('http://localhost:3000/songs');\n const responseAlbums = await axios.get('http://localhost:3000/albums');\n const responseGenres = await axios.get('http://localhost:3000/genres');\n const responseBands = await axios.get('http://localhost:3000/bands');\n setSongs(responseSongs.data);\n setAlbums(responseAlbums.data);\n setGenres(responseGenres.data);\n setBands(responseBands.data);\n }\n useEffect(() => {\n fetchData();\n }, []);\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"App\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 43,\n columnNumber: 5\n }, this);\n}\n_s(App, \"Q+jcUexlDoJCMBPsOZZ9DQ64TfI=\");\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","useEffect","axios","jsxDEV","_jsxDEV","App","_s","songs","setSongs","useState","albums","setAlbums","genres","setGenres","bands","setBands","fetchData","responseSongs","get","responseAlbums","responseGenres","responseBands","data","className","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport {Track} from './components/Track';\nimport {Header} from './components/Header';\nimport Playlist from './components/Playlist';\nimport {Footer} from './components/Footer';\nimport {CurrentTrack} from './components/CurrentTrack';\nimport {SongsBlock} from './components/SongsBlock';\nimport { ISong, IAlbum, IGenre, IBand } from './models/IModels';\nimport axios from 'axios';\n\n\nfunction App() {\n const [songs, setSongs] = React.useState<ISong[]>([]);\n const [albums, setAlbums] = React.useState<IAlbum[]>([]);\n const [genres, setGenres] = React.useState<IGenre[]>([]);\n const [bands, setBands] = React.useState<IBand[]>([]);\n\n async function fetchData() {\n const responseSongs = await axios.get<ISong[]>('http://localhost:3000/songs');\n\n const responseAlbums = await axios.get<IAlbum[]>('http://localhost:3000/albums');\n const responseGenres = await axios.get<IGenre[]>('http://localhost:3000/genres');\n const responseBands = await axios.get<IBand[]>('http://localhost:3000/bands');\n\n setSongs(responseSongs.data);\n setAlbums(responseAlbums.data);\n setGenres(responseGenres.data);\n setBands(responseBands.data);\n }\n\n useEffect(\n () => {\n fetchData();\n },\n []\n )\n \n return (\n \n <div className=\"App\"> \n {/* <Header />\n \n <SongsBlock songs={songs}/>\n\n <Footer song={songs[0]}/> */}\n\n \n </div>\n )\n}\n\nexport default App;"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AAExC,OAAO,WAAW;AASlB,OAAOC,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG1B,SAASC,GAAGA,CAAA,EAAG;EAAAC,EAAA;EACb,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGR,KAAK,CAACS,QAAQ,CAAU,EAAE,CAAC;EACrD,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGX,KAAK,CAACS,QAAQ,CAAW,EAAE,CAAC;EACxD,MAAM,CAACG,MAAM,EAAEC,SAAS,CAAC,GAAGb,KAAK,CAACS,QAAQ,CAAW,EAAE,CAAC;EACxD,MAAM,CAACK,KAAK,EAAEC,QAAQ,CAAC,GAAGf,KAAK,CAACS,QAAQ,CAAU,EAAE,CAAC;EAErD,eAAeO,SAASA,CAAA,EAAG;IACzB,MAAMC,aAAa,GAAG,MAAMf,KAAK,CAACgB,GAAG,CAAU,6BAA6B,CAAC;IAE7E,MAAMC,cAAc,GAAG,MAAMjB,KAAK,CAACgB,GAAG,CAAW,8BAA8B,CAAC;IAChF,MAAME,cAAc,GAAG,MAAMlB,KAAK,CAACgB,GAAG,CAAW,8BAA8B,CAAC;IAChF,MAAMG,aAAa,GAAG,MAAMnB,KAAK,CAACgB,GAAG,CAAU,6BAA6B,CAAC;IAE7EV,QAAQ,CAACS,aAAa,CAACK,IAAI,CAAC;IAC5BX,SAAS,CAACQ,cAAc,CAACG,IAAI,CAAC;IAC9BT,SAAS,CAACO,cAAc,CAACE,IAAI,CAAC;IAC9BP,QAAQ,CAACM,aAAa,CAACC,IAAI,CAAC;EAC9B;EAEArB,SAAS,CACP,MAAM;IACJe,SAAS,CAAC,CAAC;EACb,CAAC,EACD,EACF,CAAC;EAED,oBAEEZ,OAAA;IAAKmB,SAAS,EAAC;EAAK;IAAAC,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAQf,CAAC;AAEV;AAACrB,EAAA,CAtCQD,GAAG;AAAAuB,EAAA,GAAHvB,GAAG;AAwCZ,eAAeA,GAAG;AAAC,IAAAuB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"import platform from './node/index.js';\nimport * as utils from './common/utils.js';\nexport default {\n ...utils,\n ...platform\n};","map":{"version":3,"names":["platform","utils"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/platform/index.js"],"sourcesContent":["import platform from './node/index.js';\nimport * as utils from './common/utils.js';\n\nexport default {\n ...utils,\n ...platform\n}\n"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,iBAAiB;AACtC,OAAO,KAAKC,KAAK,MAAM,mBAAmB;AAE1C,eAAe;EACb,GAAGA,KAAK;EACR,GAAGD;AACL,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\nexport default CanceledError;","map":{"version":3,"names":["AxiosError","utils","CanceledError","message","config","request","call","ERR_CANCELED","name","inherits","__CANCEL__"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/cancel/CanceledError.js"],"sourcesContent":["'use strict';\n\nimport AxiosError from '../core/AxiosError.js';\nimport utils from '../utils.js';\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @param {string=} message The message.\n * @param {Object=} config The config.\n * @param {Object=} request The request.\n *\n * @returns {CanceledError} The created error.\n */\nfunction CanceledError(message, config, request) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nexport default CanceledError;\n"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,UAAU,MAAM,uBAAuB;AAC9C,OAAOC,KAAK,MAAM,aAAa;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,aAAaA,CAACC,OAAO,EAAEC,MAAM,EAAEC,OAAO,EAAE;EAC/C;EACAL,UAAU,CAACM,IAAI,CAAC,IAAI,EAAEH,OAAO,IAAI,IAAI,GAAG,UAAU,GAAGA,OAAO,EAAEH,UAAU,CAACO,YAAY,EAAEH,MAAM,EAAEC,OAAO,CAAC;EACvG,IAAI,CAACG,IAAI,GAAG,eAAe;AAC7B;AAEAP,KAAK,CAACQ,QAAQ,CAACP,aAAa,EAAEF,UAAU,EAAE;EACxCU,UAAU,EAAE;AACd,CAAC,CAAC;AAEF,eAAeR,aAAa","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table, Button } from 'antd';\nimport { PlayCircleOutlined } from '@ant-design/icons';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'play',\n key: 'play',\n width: 50,\n render: (text, record) => /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n onClick: () => console.log(record),\n children: /*#__PURE__*/_jsxDEV(PlayCircleOutlined, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 65\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this)\n }, {\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center justify-between p-4 border-b bg-gray-600\",\n children: /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-1/2 flex-row\",\n dataSource: songs.map(s => ({\n ...s,\n play: ''\n })),\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 5\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","Button","PlayCircleOutlined","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","width","render","text","record","type","onClick","console","log","children","fileName","_jsxFileName","lineNumber","columnNumber","className","dataSource","map","s","play","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table, Button } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n {\r\n title: '',\r\n dataIndex: 'play',\r\n key: 'play',\r\n width: 50,\r\n render: (text: string, record: ISong) => (\r\n <Button type=\"link\" onClick={() => console.log(record)}><PlayCircleOutlined /></Button>\r\n ),\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <div className=\"flex items-center justify-between p-4 border-b bg-gray-600\">\r\n <Table\r\n className=\"w-1/2 flex-row\"\r\n dataSource={songs.map((s: ISong) => ({...s, play: ''}))}\r\n columns={columns}\r\n />\r\n </div>\r\n ); \r\n};\r\n\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,EAAEC,MAAM,QAAQ,MAAM;AACpC,SAASC,kBAAkB,QAAQ,mBAAmB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEvD,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CACd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE,EAAE;IACTC,MAAM,EAAEA,CAACC,IAAY,EAAEC,MAAa,kBAClCV,OAAA,CAACH,MAAM;MAACc,IAAI,EAAC,MAAM;MAACC,OAAO,EAAEA,CAAA,KAAMC,OAAO,CAACC,GAAG,CAACJ,MAAM,CAAE;MAAAK,QAAA,eAACf,OAAA,CAACF,kBAAkB;QAAAkB,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE;IAAC;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAQ;EAE1F,CAAC,EACD;IACEf,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA;IAAKoB,SAAS,EAAC,4DAA4D;IAAAL,QAAA,eAC3Ef,OAAA,CAACJ,KAAK;MACJwB,SAAS,EAAC,iBAAiB;MAC3BC,UAAU,EAAEnB,KAAK,CAACoB,GAAG,CAAEC,CAAQ,KAAM;QAAC,GAAGA,CAAC;QAAEC,IAAI,EAAE;MAAE,CAAC,CAAC,CAAE;MACxDrB,OAAO,EAAEA;IAAQ;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAClB;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACG,CAAC;AAEV;AAACM,EAAA,GAvCexB,UAAU;AAuCzB;AAAC,IAAAwB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table, Button } from 'antd';\nimport { PlayCircleOutlined } from '@ant-design/icons';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'play',\n key: 'play',\n render: (text, record) => /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n onClick: () => console.log(record),\n children: /*#__PURE__*/_jsxDEV(PlayCircleOutlined, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 65\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this)\n }, {\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-screen flex-row\",\n dataSource: songs.map(s => ({\n ...s,\n play: ''\n })),\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","Button","PlayCircleOutlined","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","render","text","record","type","onClick","console","log","children","fileName","_jsxFileName","lineNumber","columnNumber","className","dataSource","map","s","play","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table, Button } from 'antd';\r\nimport { PlayCircleOutlined } from '@ant-design/icons';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n {\r\n title: '',\r\n dataIndex: 'play',\r\n key: 'play',\r\n render: (text: string, record: ISong) => (\r\n <Button type=\"link\" onClick={() => console.log(record)}><PlayCircleOutlined /></Button>\r\n ),\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"w-screen flex-row\"\r\n dataSource={songs.map((s: ISong) => ({...s, play: ''}))}\r\n columns={columns}\r\n />\r\n ); \r\n};\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,EAAEC,MAAM,QAAQ,MAAM;AACpC,SAASC,kBAAkB,QAAQ,mBAAmB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEvD,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CACd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE,MAAM;IACXC,MAAM,EAAEA,CAACC,IAAY,EAAEC,MAAa,kBAClCT,OAAA,CAACH,MAAM;MAACa,IAAI,EAAC,MAAM;MAACC,OAAO,EAAEA,CAAA,KAAMC,OAAO,CAACC,GAAG,CAACJ,MAAM,CAAE;MAAAK,QAAA,eAACd,OAAA,CAACF,kBAAkB;QAAAiB,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE;IAAC;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAQ;EAE1F,CAAC,EACD;IACEd,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACJ,KAAK;IACJuB,SAAS,EAAC,mBAAmB;IAC7BC,UAAU,EAAElB,KAAK,CAACmB,GAAG,CAAEC,CAAQ,KAAM;MAAC,GAAGA,CAAC;MAAEC,IAAI,EAAE;IAAE,CAAC,CAAC,CAAE;IACxDpB,OAAO,EAAEA;EAAQ;IAAAY,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACM,EAAA,GApCevB,UAAU;AAoCzB;AAAC,IAAAuB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;","map":{"version":3,"names":["AxiosURLSearchParams","URLSearchParams"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"],"sourcesContent":["'use strict';\n\nimport AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';\nexport default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;\n"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,oBAAoB,MAAM,0CAA0C;AAC3E,eAAe,OAAOC,eAAe,KAAK,WAAW,GAAGA,eAAe,GAAGD,oBAAoB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\",\n _s = $RefreshSig$();\nimport React, { useEffect } from 'react';\nimport './App.css';\nimport { Track } from './components/Track';\nimport { Header } from './components/Header';\nimport { Footer } from './components/Footer';\nimport { CurrentTrack } from './components/CurrentTrack';\nimport axios from 'axios';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nfunction App() {\n _s();\n const [songs, setSongs] = React.useState([]);\n const [albums, setAlbums] = React.useState([]);\n async function fetchSongs() {\n const response = await axios.get('http://localhost:3000/songs');\n setSongs(response.data);\n }\n useEffect(() => {\n fetchSongs();\n }, []);\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 7\n }, this), songs.map(song => /*#__PURE__*/_jsxDEV(Track, {\n song: song\n }, song.id, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 27\n }, this)), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 5\n }, this);\n}\n_s(App, \"Vv2Q2Tzhe8XWStpnCnMV5RwU2wo=\");\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","useEffect","Track","Header","Footer","CurrentTrack","axios","jsxDEV","_jsxDEV","App","_s","songs","setSongs","useState","albums","setAlbums","fetchSongs","response","get","data","children","fileName","_jsxFileName","lineNumber","columnNumber","map","song","id","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport {Track} from './components/Track';\nimport {Header} from './components/Header';\nimport Playlist from './components/Playlist';\nimport {Footer} from './components/Footer';\nimport {CurrentTrack} from './components/CurrentTrack';\nimport {SongsBlock} from './components/SongsBlock';\nimport { ISong } from './models/ISong';\nimport axios from 'axios';\n\n\nfunction App() {\n const [songs, setSongs] = React.useState<ISong[]>([]);\n const [albums, setAlbums] = React.useState<IAlbum[]>([]);\n async function fetchSongs() {\n const response = await axios.get<ISong[]>('http://localhost:3000/songs');\n setSongs(response.data);\n }\n\n useEffect(\n () => {\n fetchSongs();\n },\n []\n )\n\n\n \n return (\n \n <div> \n <Header />\n \n { songs.map(song => <Track song={song} key={song.id} />) }\n \n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AAExC,OAAO,WAAW;AAElB,SAAQC,KAAK,QAAO,oBAAoB;AACxC,SAAQC,MAAM,QAAO,qBAAqB;AAE1C,SAAQC,MAAM,QAAO,qBAAqB;AAC1C,SAAQC,YAAY,QAAO,2BAA2B;AAGtD,OAAOC,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG1B,SAASC,GAAGA,CAAA,EAAG;EAAAC,EAAA;EACb,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGZ,KAAK,CAACa,QAAQ,CAAU,EAAE,CAAC;EACrD,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGf,KAAK,CAACa,QAAQ,CAAW,EAAE,CAAC;EACxD,eAAeG,UAAUA,CAAA,EAAG;IAC1B,MAAMC,QAAQ,GAAG,MAAMX,KAAK,CAACY,GAAG,CAAU,6BAA6B,CAAC;IACxEN,QAAQ,CAACK,QAAQ,CAACE,IAAI,CAAC;EACzB;EAEAlB,SAAS,CACP,MAAM;IACJe,UAAU,CAAC,CAAC;EACd,CAAC,EACD,EACF,CAAC;EAID,oBAEER,OAAA;IAAAY,QAAA,gBACEZ,OAAA,CAACL,MAAM;MAAAkB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,EAERb,KAAK,CAACc,GAAG,CAACC,IAAI,iBAAIlB,OAAA,CAACN,KAAK;MAACwB,IAAI,EAAEA;IAAK,GAAMA,IAAI,CAACC,EAAE;MAAAN,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAG,CAAC,CAAC,eAExDhB,OAAA,CAACH,YAAY;MAAAgB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBhB,OAAA,CAACJ,MAAM;MAAAiB,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACd,EAAA,CA5BQD,GAAG;AAAAmB,EAAA,GAAHnB,GAAG;AA8BZ,eAAeA,GAAG;AAAC,IAAAmB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\";\nimport React from 'react';\nimport './App.css';\nimport Header from './components/Header';\nimport Footer from './components/Footer';\nimport CurrentTrack from './components/CurrentTrack';\nimport SongsBlock from './components/SongsBlock';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst fetchSongs = async () => {\n const response = await fetch('/data/songs.json');\n const data = await response.json();\n console.log(data);\n};\nfunction App() {\n fetchSongs();\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(SongsBlock, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","Header","Footer","CurrentTrack","SongsBlock","jsxDEV","_jsxDEV","fetchSongs","response","fetch","data","json","console","log","App","children","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport Track from './components/Track';\nimport Header from './components/Header';\nimport Playlist from './components/Playlist';\nimport Footer from './components/Footer';\nimport CurrentTrack from './components/CurrentTrack';\nimport SongsBlock from './components/SongsBlock';\n\nimport songs from 'data/songs.ts'\n\nconst fetchSongs = async () => {\n const response = await fetch('/data/songs.json');\n const data = await response.json();\n console.log(data);\n};\n\nfunction App() {\n fetchSongs();\n return (\n \n <div> \n <Header />\n <SongsBlock />\n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,WAAW;AAGlB,OAAOC,MAAM,MAAM,qBAAqB;AAExC,OAAOC,MAAM,MAAM,qBAAqB;AACxC,OAAOC,YAAY,MAAM,2BAA2B;AACpD,OAAOC,UAAU,MAAM,yBAAyB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAIjD,MAAMC,UAAU,GAAG,MAAAA,CAAA,KAAY;EAC7B,MAAMC,QAAQ,GAAG,MAAMC,KAAK,CAAC,kBAAkB,CAAC;EAChD,MAAMC,IAAI,GAAG,MAAMF,QAAQ,CAACG,IAAI,CAAC,CAAC;EAClCC,OAAO,CAACC,GAAG,CAACH,IAAI,CAAC;AACnB,CAAC;AAED,SAASI,GAAGA,CAAA,EAAG;EACbP,UAAU,CAAC,CAAC;EACZ,oBAEED,OAAA;IAAAS,QAAA,gBACET,OAAA,CAACL,MAAM;MAAAe,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACVb,OAAA,CAACF,UAAU;MAAAY,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACdb,OAAA,CAACH,YAAY;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBb,OAAA,CAACJ,MAAM;MAAAc,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACC,EAAA,GAXQN,GAAG;AAaZ,eAAeA,GAAG;AAAC,IAAAM,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,gEAAgE;IAC1EC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"'use strict';\n\nimport utils from './../utils.js';\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\nexport default InterceptorManager;","map":{"version":3,"names":["utils","InterceptorManager","constructor","handlers","use","fulfilled","rejected","options","push","synchronous","runWhen","length","eject","id","clear","forEach","fn","forEachHandler","h"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/core/InterceptorManager.js"],"sourcesContent":["'use strict';\n\nimport utils from './../utils.js';\n\nclass InterceptorManager {\n constructor() {\n this.handlers = [];\n }\n\n /**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled,\n rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n }\n\n /**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n *\n * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise\n */\n eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n }\n\n /**\n * Clear all interceptors from the stack\n *\n * @returns {void}\n */\n clear() {\n if (this.handlers) {\n this.handlers = [];\n }\n }\n\n /**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n *\n * @returns {void}\n */\n forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n }\n}\n\nexport default InterceptorManager;\n"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,KAAK,MAAM,eAAe;AAEjC,MAAMC,kBAAkB,CAAC;EACvBC,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACC,QAAQ,GAAG,EAAE;EACpB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;EACEC,GAAGA,CAACC,SAAS,EAAEC,QAAQ,EAAEC,OAAO,EAAE;IAChC,IAAI,CAACJ,QAAQ,CAACK,IAAI,CAAC;MACjBH,SAAS;MACTC,QAAQ;MACRG,WAAW,EAAEF,OAAO,GAAGA,OAAO,CAACE,WAAW,GAAG,KAAK;MAClDC,OAAO,EAAEH,OAAO,GAAGA,OAAO,CAACG,OAAO,GAAG;IACvC,CAAC,CAAC;IACF,OAAO,IAAI,CAACP,QAAQ,CAACQ,MAAM,GAAG,CAAC;EACjC;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,KAAKA,CAACC,EAAE,EAAE;IACR,IAAI,IAAI,CAACV,QAAQ,CAACU,EAAE,CAAC,EAAE;MACrB,IAAI,CAACV,QAAQ,CAACU,EAAE,CAAC,GAAG,IAAI;IAC1B;EACF;;EAEA;AACF;AACA;AACA;AACA;EACEC,KAAKA,CAAA,EAAG;IACN,IAAI,IAAI,CAACX,QAAQ,EAAE;MACjB,IAAI,CAACA,QAAQ,GAAG,EAAE;IACpB;EACF;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACEY,OAAOA,CAACC,EAAE,EAAE;IACVhB,KAAK,CAACe,OAAO,CAAC,IAAI,CAACZ,QAAQ,EAAE,SAASc,cAAcA,CAACC,CAAC,EAAE;MACtD,IAAIA,CAAC,KAAK,IAAI,EAAE;QACdF,EAAE,CAACE,CAAC,CAAC;MACP;IACF,CAAC,CAAC;EACJ;AACF;AAEA,eAAejB,kBAAkB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\",\n _s = $RefreshSig$();\nimport React, { useEffect, useState } from 'react';\nimport axios from 'axios';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nasync function fetchData() {\n const response = await axios.get('http://localhost:3000/songs');\n return response.data;\n}\nexport function SongsBlock() {\n _s();\n const [dataSource, setDataSource] = useState([]);\n const [loading, setLoading] = useState(true);\n useEffect(() => {\n const fetchDataAsync = async () => {\n const data = await fetchData();\n setDataSource(data);\n setLoading(false);\n };\n fetchDataAsync();\n }, []);\n const columns = [{\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }, {\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }, {\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\",\n dataSource: dataSource,\n columns: columns,\n loading: loading\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 47,\n columnNumber: 5\n }, this);\n}\n_s(SongsBlock, \"pJ8q9eTz0b3MaWE2HpYJjmsAZ0o=\");\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","useEffect","useState","axios","Table","jsxDEV","_jsxDEV","fetchData","response","get","data","SongsBlock","_s","dataSource","setDataSource","loading","setLoading","fetchDataAsync","columns","title","dataIndex","key","className","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nasync function fetchData() {\r\n const response = await axios.get<ISong[]>('http://localhost:3000/songs');\r\n return response.data;\r\n}\r\nexport function SongsBlock() {\r\n\r\n const [dataSource, setDataSource] = useState<ISong[]>([]);\r\n const [loading, setLoading] = useState(true);\r\n\r\n useEffect(() => {\r\n const fetchDataAsync = async () => {\r\n const data = await fetchData();\r\n setDataSource(data);\r\n setLoading(false);\r\n };\r\n fetchDataAsync();\r\n }, []);\r\n\r\n const columns = [\r\n \r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\"\r\n dataSource={dataSource}\r\n columns={columns}\r\n loading={loading}\r\n />\r\n ); \r\n};"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAIlD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,eAAeC,SAASA,CAAA,EAAG;EACzB,MAAMC,QAAQ,GAAG,MAAML,KAAK,CAACM,GAAG,CAAU,6BAA6B,CAAC;EACxE,OAAOD,QAAQ,CAACE,IAAI;AACtB;AACA,OAAO,SAASC,UAAUA,CAAA,EAAG;EAAAC,EAAA;EAE3B,MAAM,CAACC,UAAU,EAAEC,aAAa,CAAC,GAAGZ,QAAQ,CAAU,EAAE,CAAC;EACzD,MAAM,CAACa,OAAO,EAAEC,UAAU,CAAC,GAAGd,QAAQ,CAAC,IAAI,CAAC;EAE5CD,SAAS,CAAC,MAAM;IACd,MAAMgB,cAAc,GAAG,MAAAA,CAAA,KAAY;MACjC,MAAMP,IAAI,GAAG,MAAMH,SAAS,CAAC,CAAC;MAC9BO,aAAa,CAACJ,IAAI,CAAC;MACnBM,UAAU,CAAC,KAAK,CAAC;IACnB,CAAC;IACDC,cAAc,CAAC,CAAC;EAClB,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEf,OAAA,CAACF,KAAK;IACJkB,SAAS,EAAC,gEAAgE;IAC1ET,UAAU,EAAEA,UAAW;IACvBK,OAAO,EAAEA,OAAQ;IACjBH,OAAO,EAAEA;EAAQ;IAAAQ,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACd,EAAA,CA1CeD,UAAU;AAAAgB,EAAA,GAAVhB,UAAU;AA0CzB;AAAC,IAAAgB,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"// eslint-disable-next-line strict\nexport default null;","map":{"version":3,"names":[],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/axios/lib/helpers/null.js"],"sourcesContent":["// eslint-disable-next-line strict\nexport default null;\n"],"mappings":"AAAA;AACA,eAAe,IAAI","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\App.tsx\";\nimport React from 'react';\nimport './App.css';\nimport { Header } from './components/Header';\nimport { Footer } from './components/Footer';\nimport { CurrentTrack } from './components/CurrentTrack';\nimport { SongsBlock } from './components/SongsBlock';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst fetchSongs = async () => {\n const response = await fetch('./data/songs');\n const data = await response.json();\n console.log(data);\n};\nfunction App() {\n fetchSongs();\n return /*#__PURE__*/_jsxDEV(\"div\", {\n children: [/*#__PURE__*/_jsxDEV(Header, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(SongsBlock, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(CurrentTrack, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(Footer, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["React","Header","Footer","CurrentTrack","SongsBlock","jsxDEV","_jsxDEV","fetchSongs","response","fetch","data","json","console","log","App","children","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/App.tsx"],"sourcesContent":["import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport { Button } from 'antd';\nimport {Track} from './components/Track';\nimport {Header} from './components/Header';\nimport Playlist from './components/Playlist';\nimport {Footer} from './components/Footer';\nimport {CurrentTrack} from './components/CurrentTrack';\nimport {SongsBlock} from './components/SongsBlock';\n\nimport songs from '../songs';\n\nconst fetchSongs = async () => {\n const response = await fetch('./data/songs');\n const data = await response.json();\n console.log(data);\n};\n\nfunction App() {\n fetchSongs();\n return (\n \n <div> \n <Header />\n <SongsBlock />\n <CurrentTrack />\n <Footer />\n </div>\n )\n}\n\nexport default App;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,WAAW;AAGlB,SAAQC,MAAM,QAAO,qBAAqB;AAE1C,SAAQC,MAAM,QAAO,qBAAqB;AAC1C,SAAQC,YAAY,QAAO,2BAA2B;AACtD,SAAQC,UAAU,QAAO,yBAAyB;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAInD,MAAMC,UAAU,GAAG,MAAAA,CAAA,KAAY;EAC7B,MAAMC,QAAQ,GAAG,MAAMC,KAAK,CAAC,cAAc,CAAC;EAC5C,MAAMC,IAAI,GAAG,MAAMF,QAAQ,CAACG,IAAI,CAAC,CAAC;EAClCC,OAAO,CAACC,GAAG,CAACH,IAAI,CAAC;AACnB,CAAC;AAED,SAASI,GAAGA,CAAA,EAAG;EACbP,UAAU,CAAC,CAAC;EACZ,oBAEED,OAAA;IAAAS,QAAA,gBACET,OAAA,CAACL,MAAM;MAAAe,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACVb,OAAA,CAACF,UAAU;MAAAY,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eACdb,OAAA,CAACH,YAAY;MAAAa,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,eAChBb,OAAA,CAACJ,MAAM;MAAAc,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC;EAAA;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACP,CAAC;AAEV;AAACC,EAAA,GAXQN,GAAG;AAaZ,eAAeA,GAAG;AAAC,IAAAM,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\Footer.tsx\";\nimport React from 'react';\nimport { Button } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function Footer() {\n return /*#__PURE__*/_jsxDEV(\"footer\", {\n id: \"footer\",\n className: \"bg-gray-600\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"container mx-auto flex justify-between\",\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-lg\",\n children: \" 2022 Music Service\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"flex\",\n children: [/*#__PURE__*/_jsxDEV(\"li\", {\n className: \"mr-4\",\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/about\",\n children: \"About\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"link\",\n href: \"/contact\",\n children: \"Contact\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }, this);\n}\n_c = Footer;\nvar _c;\n$RefreshReg$(_c, \"Footer\");","map":{"version":3,"names":["React","Button","jsxDEV","_jsxDEV","Footer","id","className","children","fileName","_jsxFileName","lineNumber","columnNumber","type","href","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/Footer.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Button } from 'antd';\r\n\r\nexport function Footer() {\r\n return (\r\n <footer id=\"footer\" className=\"bg-gray-600\">\r\n <div className=\"container mx-auto flex justify-between\">\r\n <p className=\"text-lg\"> 2022 Music Service</p>\r\n <ul className=\"flex\">\r\n <li className=\"mr-4\">\r\n <Button type=\"link\" href=\"/about\">About</Button>\r\n </li>\r\n <li>\r\n <Button type=\"link\" href=\"/contact\">Contact</Button>\r\n </li>\r\n </ul>\r\n </div>\r\n </footer>\r\n );\r\n}\r\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE9B,OAAO,SAASC,MAAMA,CAAA,EAAG;EACvB,oBACED,OAAA;IAAQE,EAAE,EAAC,QAAQ;IAACC,SAAS,EAAC,aAAa;IAAAC,QAAA,eACzCJ,OAAA;MAAKG,SAAS,EAAC,wCAAwC;MAAAC,QAAA,gBACrDJ,OAAA;QAAGG,SAAS,EAAC,SAAS;QAAAC,QAAA,EAAC;MAAmB;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAG,CAAC,eAC9CR,OAAA;QAAIG,SAAS,EAAC,MAAM;QAAAC,QAAA,gBAClBJ,OAAA;UAAIG,SAAS,EAAC,MAAM;UAAAC,QAAA,eAClBJ,OAAA,CAACF,MAAM;YAACW,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,QAAQ;YAAAN,QAAA,EAAC;UAAK;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAC9C,CAAC,eACLR,OAAA;UAAAI,QAAA,eACEJ,OAAA,CAACF,MAAM;YAACW,IAAI,EAAC,MAAM;YAACC,IAAI,EAAC,UAAU;YAAAN,QAAA,EAAC;UAAO;YAAAC,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAQ;QAAC;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAClD,CAAC;MAAA;QAAAH,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OACH,CAAC;IAAA;MAAAH,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACF;EAAC;IAAAH,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACA,CAAC;AAEb;AAACG,EAAA,GAhBeV,MAAM;AAAA,IAAAU,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Track } from './Track';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst RenderSongs = () => {\n const songs = 10;\n let content = [];\n for (let i = 0; i < songs; i++) {\n content.push( /*#__PURE__*/_jsxDEV(Track, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 18\n }, this));\n }\n return content;\n};\n_c = RenderSongs;\nexport function SongsBlock() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center justify-between p-4 border-b border-gray-300\",\n children: RenderSongs()\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 5\n }, this);\n}\n_c2 = SongsBlock;\n;\nvar _c, _c2;\n$RefreshReg$(_c, \"RenderSongs\");\n$RefreshReg$(_c2, \"SongsBlock\");","map":{"version":3,"names":["React","Track","jsxDEV","_jsxDEV","RenderSongs","songs","content","i","push","fileName","_jsxFileName","lineNumber","columnNumber","_c","SongsBlock","className","children","_c2","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport { Track } from './Track';\r\n\r\nconst RenderSongs = () => {\r\n const songs = 10;\r\n let content = [];\r\n for (let i = 0; i < songs; i ++){\r\n content.push(<Track />)\r\n }\r\n\r\n return content;\r\n};\r\n\r\nexport function SongsBlock() {\r\n return (\r\n <div className=\"flex items-center justify-between p-4 border-b border-gray-300\">\r\n {RenderSongs()}\r\n </div>\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,KAAK,QAAQ,SAAS;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEhC,MAAMC,WAAW,GAAGA,CAAA,KAAM;EACxB,MAAMC,KAAK,GAAG,EAAE;EAChB,IAAIC,OAAO,GAAG,EAAE;EAChB,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,KAAK,EAAEE,CAAC,EAAG,EAAC;IAC9BD,OAAO,CAACE,IAAI,eAACL,OAAA,CAACF,KAAK;MAAAQ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,CAAC;EACzB;EAEA,OAAON,OAAO;AAChB,CAAC;AAACO,EAAA,GARIT,WAAW;AAUjB,OAAO,SAASU,UAAUA,CAAA,EAAG;EAC3B,oBACEX,OAAA;IAAKY,SAAS,EAAC,gEAAgE;IAAAC,QAAA,EAC1EZ,WAAW,CAAC;EAAC;IAAAK,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OACb,CAAC;AAEV;AAACK,GAAA,GANeH,UAAU;AAMzB;AAAC,IAAAD,EAAA,EAAAI,GAAA;AAAAC,YAAA,CAAAL,EAAA;AAAAK,YAAA,CAAAD,GAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport axios from 'axios';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nasync function fetchData() {\n const response = await axios.get('http://localhost:3000/songs');\n return response.data;\n}\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }, {\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }, {\n title: 'Name',\n dataIndex: 'name',\n key: 'name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","axios","Table","jsxDEV","_jsxDEV","fetchData","response","get","data","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nasync function fetchData() {\r\n const response = await axios.get<ISong[]>('http://localhost:3000/songs');\r\n return response.data;\r\n}\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n {\r\n title: 'Name',\r\n dataIndex: 'name',\r\n key: 'name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"flex mx-auto justify-between p-4 pt-5 border-b border-gray-300\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAIlD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,eAAeC,SAASA,CAAA,EAAG;EACzB,MAAMC,QAAQ,GAAG,MAAML,KAAK,CAACM,GAAG,CAAU,6BAA6B,CAAC;EACxE,OAAOD,QAAQ,CAACE,IAAI;AACtB;AACA,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,MAAM;IACjBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEV,OAAA,CAACF,KAAK;IACJa,SAAS,EAAC,gEAAgE;IAC1EC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -0,0 +1 @@
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport { Table } from 'antd';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function SongsBlock({\n songs\n}) {\n const columns = [{\n title: '',\n dataIndex: 'song_name',\n key: 'song_name'\n }, {\n title: '',\n dataIndex: 'band_name',\n key: 'band_name'\n }, {\n title: '',\n dataIndex: 'album_name',\n key: 'album_name'\n }];\n return /*#__PURE__*/_jsxDEV(Table, {\n className: \"w-50\",\n dataSource: songs,\n columns: columns\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 5\n }, this);\n}\n_c = SongsBlock;\n;\nvar _c;\n$RefreshReg$(_c, \"SongsBlock\");","map":{"version":3,"names":["React","Table","jsxDEV","_jsxDEV","SongsBlock","songs","columns","title","dataIndex","key","className","dataSource","fileName","_jsxFileName","lineNumber","columnNumber","_c","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { render } from '@testing-library/react';\r\nimport {ISong} from '../models/IModels';\r\nimport { Track } from './Track';\r\nimport axios from 'axios';\r\nimport { Table } from 'antd';\r\n\r\nexport function SongsBlock({songs}: {songs: ISong[]}) {\r\n\r\n const columns = [\r\n \r\n {\r\n title: '',\r\n dataIndex: 'song_name',\r\n key: 'song_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'band_name',\r\n key: 'band_name',\r\n },\r\n {\r\n title: '',\r\n dataIndex: 'album_name',\r\n key: 'album_name',\r\n },\r\n\r\n ]\r\n\r\n return (\r\n <Table\r\n className=\"w-50\"\r\n dataSource={songs}\r\n columns={columns}\r\n />\r\n ); \r\n};"],"mappings":";AAAA,OAAOA,KAAK,MAA+B,OAAO;AAKlD,SAASC,KAAK,QAAQ,MAAM;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE7B,OAAO,SAASC,UAAUA,CAAC;EAACC;AAAuB,CAAC,EAAE;EAEpD,MAAMC,OAAO,GAAG,CAEd;IACEC,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,WAAW;IACtBC,GAAG,EAAE;EACP,CAAC,EACD;IACEF,KAAK,EAAE,EAAE;IACTC,SAAS,EAAE,YAAY;IACvBC,GAAG,EAAE;EACP,CAAC,CAEF;EAED,oBACEN,OAAA,CAACF,KAAK;IACJS,SAAS,EAAC,MAAM;IAChBC,UAAU,EAAEN,KAAM;IAClBC,OAAO,EAAEA;EAAQ;IAAAM,QAAA,EAAAC,YAAA;IAAAC,UAAA;IAAAC,YAAA;EAAA,OAClB,CAAC;AAEN;AAACC,EAAA,GA7BeZ,UAAU;AA6BzB;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}

Some files were not shown because too many files have changed in this diff Show More