This commit is contained in:
Вячеслав Иванов 2023-11-02 02:38:40 +04:00
parent ad418f41e6
commit 82846fc0bb
9778 changed files with 1191953 additions and 52 deletions

151
lab2/Administrator.html Normal file
View File

@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="ru" class="h-100">
<head>
<meta charset="UTF-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./style.css">
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-expand-md">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="Images/logo.png" alt="logo" width="128">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-start" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link" href="index.html">Каталог</a>
<a class="nav-link" href="stock.html">Акции</a>
<a class="nav-link" href="contacts.html">Контакты</a>
</div>
</div>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="btn custom-btn" href="personalAccountLogin.html">Войти</a>
<a class="btn btn-warning" href="basket.html">Корзина</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<section class="h-100">
<div class="mask d-flex align-items-center h-100 gradient-custom-3">
<div class="container h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-12 col-md-9 col-lg-7 col-xl-6">
<h1 class="text-warning text-center font-weight-bold">Панель администратора</h1>
<div class="card" style="border-radius: 15px; border-color:gold;">
<div class="card-body p-5">
<h2 class="text-uppercase text-center mb-5">Добавление товара</h2>
<form>
<div class="form-outline mb-4">
<input type="file" name="image" class="form-control" accept="image/*"
onchange="updatePreview(this, 'image-preview')">
<label class="form-label">Фото товара</label>
</div>
<div class="form-outline mb-4">
<input type="text" id="form3Example1cg" class="form-control form-control-lg" />
<label class="form-label" for="form3Example1cg">Название товара</label>
</div>
<div class="form-outline mb-4">
<input type="text" id="form3Example2cg" class="form-control form-control-lg" />
<label class="form-label" for="form3Example2cg">Описание товара</label>
</div>
<div class="form-outline mb-4">
<input id="form3Example2cg" min="0" name="quantity" value="2" type="number"
class="form-control form-control-lg" />
<label class="form-label" for="form3Example3cg">Количество товара</label>
</div>
<div class="form-outline mb-4">
<input type="number" id="form3Example4cg" class="form-control form-control-lg" />
<label class="form-label" for="form3Example4cg">Цена товара</label>
</div>
<div class="d-flex justify-content-center">
<button class="btn btn-success btn-block btn-warning text-body mb-0">Добавить</button>
</div>
</form>
</div>
</div>
</div>
<div class="col-12">
<h1 class="text-warning text-center font-weight-bold" style="padding-top: 50px;">Таблица данных</h1>
<div class="table-responsive mt-4">
<table class="table table-bordered">
<thead>
<tr>
<th>Фото</th>
<th>Название</th>
<th>Описание</th>
<th>Количество</th>
<th>Цена</th>
<th></th>
</tr>
</thead>
<tbody id="product-table">
<tr>
<td><img src="Images/pizza.png" width="50" alt="Товар 1"></td>
<td>Товар 1</td>
<td>Описание товара 1</td>
<td class="d-flex justify-content-center align-items-center">
<input id="form1" min="0" name="quantity" value="2" type="number" class="form-control form-control-sm" style="width: 50px;" />
</td>
<td>100 рублей</td>
<td class="d-flex justify-content-center align-items-center">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</td>
</tr>
<tr>
<td><img src="Images/pizza.png" width="50" alt="Товар 2"></td>
<td>Товар 2</td>
<td>Описание товара 2</td>
<td class="d-flex justify-content-center align-items-center">
<input id="form1" min="0" name="quantity" value="2" type="number" class="form-control form-control-sm" style="width: 50px;" />
</td>
<td>150 рублей</td>
<td class="d-flex justify-content-center align-items-center">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</td>
</tr>
<tr>
<td><img src="Images/pizza.png" width="50" alt="Товар 3"></td>
<td>Товар 3</td>
<td>Описание товара 3</td>
<td class="d-flex justify-content-center align-items-center">
<input id="form1" min="0" name="quantity" value="2" type="number" class="form-control form-control-sm" style="width: 50px;" />
</td>
<td>80 рублей</td>
<td class="d-flex justify-content-center align-items-center">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Все права защищены © 2023-2024
</footer>
</body>
</html>

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 669 KiB

After

Width:  |  Height:  |  Size: 669 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"
@ -46,7 +46,7 @@
<div class="card-body p-4"> <div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center"> <div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2"> <div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt"> <img src="Images/pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div> </div>
<div class="col-md-3 col-lg-3 col-xl-3"> <div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p> <p class="lead fw-normal mb-2">Название пиццы</p>
@ -80,7 +80,7 @@
<div class="card-body p-4"> <div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center"> <div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2"> <div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt"> <img src="Images/pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div> </div>
<div class="col-md-3 col-lg-3 col-xl-3"> <div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p> <p class="lead fw-normal mb-2">Название пиццы</p>
@ -114,7 +114,7 @@
<div class="card-body p-4"> <div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center"> <div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2"> <div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt"> <img src="Images/pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div> </div>
<div class="col-md-3 col-lg-3 col-xl-3"> <div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p> <p class="lead fw-normal mb-2">Название пиццы</p>
@ -148,7 +148,7 @@
<div class="card-body p-4"> <div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center"> <div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2"> <div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt"> <img src="Images/pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div> </div>
<div class="col-md-3 col-lg-3 col-xl-3"> <div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p> <p class="lead fw-normal mb-2">Название пиццы</p>

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"
@ -44,7 +44,7 @@
<div class="row"> <div class="row">
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -57,7 +57,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -70,7 +70,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -83,7 +83,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -96,7 +96,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -109,7 +109,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -122,7 +122,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -135,7 +135,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -148,7 +148,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -161,7 +161,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -174,7 +174,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -187,7 +187,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -200,7 +200,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -213,7 +213,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -226,7 +226,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -239,7 +239,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -252,7 +252,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -265,7 +265,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -278,7 +278,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>
@ -291,7 +291,7 @@
</div> </div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4"> <div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card"> <div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image"> <img src="Images/pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Название</h5> <h5 class="card-title">Название</h5>
<p class="card-text">Описание</p> <p class="card-text">Описание</p>

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"
@ -78,7 +78,7 @@
</div> </div>
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<button class="btn btn-outline-danger" type="button">Выйти</button> <a class="btn btn-outline-danger" type="button" href="index.html">Выйти</a>
</div> </div>
</form> </form>

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"
@ -73,7 +73,7 @@
<p class="text-center text-muted mb-0">У вас нет аккаунта? <a href="personalAccountRegister.html" <p class="text-center text-muted mb-0">У вас нет аккаунта? <a href="personalAccountRegister.html"
class="fw-bold text-body"><u>Регистрация</u></a></p> class="fw-bold text-body"><u>Регистрация</u></a></p>
<p class="text-center"><a class="fw-bold text-body" href="Administrator.html">Администратор</a></p>
</form> </form>
</div> </div>

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"

View File

@ -13,7 +13,7 @@
<nav class="navbar navbar-expand-md"> <nav class="navbar navbar-expand-md">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="/"> <a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128"> <img src="Images/logo.png" alt="logo" width="128">
</a> </a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" data-bs-target="#navbarNav"
@ -44,7 +44,7 @@
<div class="row"> <div class="row">
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -57,7 +57,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -70,7 +70,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -83,7 +83,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -96,7 +96,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -109,7 +109,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -122,7 +122,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -135,7 +135,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -148,7 +148,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -161,7 +161,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -174,7 +174,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -187,7 +187,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -200,7 +200,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -213,7 +213,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.
@ -226,7 +226,7 @@
</div> </div>
<div class="col-lg-4 col-md-6 col-sm-12 mb-4"> <div class="col-lg-4 col-md-6 col-sm-12 mb-4">
<div class="card"> <div class="card">
<img src="stock.png" class="card-img-top" alt="Product Image"> <img src="Images/stock.png" class="card-img-top" alt="Product Image">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">Дарим кибер-призы</h5> <h5 class="card-title">Дарим кибер-призы</h5>
<p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня. <p class="card-text">Вот так ачивка! Закажите Кибер-комбо и получите доступ к играм от MY.GAMES, а еще кокосовый батончик и шоколадное печенье «Cyber» от Bite. А также станьте автоматическим участником розыгрыша игровых ключей и больших пицц 29 июня.

View File

@ -19,13 +19,13 @@ header nav a:hover {
@media (max-width: 576px) { @media (max-width: 576px) {
.navbar-brand img { .navbar-brand img {
margin-left: 50px; margin-left: 25px;
} }
} }
@media (min-width: 577px) and (max-width: 992px) { @media (min-width: 577px) and (max-width: 992px) {
.navbar-brand img { .navbar-brand img {
margin-left: 80px margin-left: 25px
} }
} }

196
lab3/basket.html Normal file
View File

@ -0,0 +1,196 @@
<html lang="ru" class="h-100">
<head>
<meta charset="UTF-8">
<title>Корзина</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./style.css">
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-expand-md">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-start" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link" href="index.html">Каталог</a>
<a class="nav-link" href="stock.html">Акции</a>
<a class="nav-link" href="contacts.html">Контакты</a>
</div>
</div>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="btn custom-btn" href="personalAccountLogin.html">Войти</a>
<a class="btn btn-warning" href="basket.html">Корзина</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container">
<div class="d-flex justify-content-center align-items-center">
<h1 class="text-warning font-weight-bold">Корзина</h1>
</div>
<div class="row">
<div class="col-10">
<div class="card rounded-3 mb-4">
<div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div>
<div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p>
<p><span class="text-muted">Описание</span></p>
</div>
<div class="col-md-3 col-lg-3 col-xl-2 d-flex">
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepDown()">
<i class="fas fa-minus"></i>
</button>
<input id="form1" min="0" name="quantity" value="2" type="number"
class="form-control form-control-sm" />
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepUp()">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="col-md-3 col-lg-2 col-xl-2 offset-lg-1">
<h5 class="mb-0">Цена ₽</h5>
</div>
<div class="col-md-1 col-lg-1 col-xl-1 text-end">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</div>
</div>
</div>
</div>
<div class="card rounded-3 mb-4">
<div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div>
<div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p>
<p><span class="text-muted">Описание</span></p>
</div>
<div class="col-md-3 col-lg-3 col-xl-2 d-flex">
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepDown()">
<i class="fas fa-minus"></i>
</button>
<input id="form1" min="0" name="quantity" value="2" type="number"
class="form-control form-control-sm" />
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepUp()">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="col-md-3 col-lg-2 col-xl-2 offset-lg-1">
<h5 class="mb-0">Цена ₽</h5>
</div>
<div class="col-md-1 col-lg-1 col-xl-1 text-end">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</div>
</div>
</div>
</div>
<div class="card rounded-3 mb-4">
<div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div>
<div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p>
<p><span class="text-muted">Описание</span></p>
</div>
<div class="col-md-3 col-lg-3 col-xl-2 d-flex">
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepDown()">
<i class="fas fa-minus"></i>
</button>
<input id="form1" min="0" name="quantity" value="2" type="number"
class="form-control form-control-sm" />
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepUp()">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="col-md-3 col-lg-2 col-xl-2 offset-lg-1">
<h5 class="mb-0">Цена ₽</h5>
</div>
<div class="col-md-1 col-lg-1 col-xl-1 text-end">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</div>
</div>
</div>
</div>
<div class="card rounded-3 mb-4">
<div class="card-body p-4">
<div class="row d-flex justify-content-between align-items-center">
<div class="col-md-2 col-lg-2 col-xl-2">
<img src="pizza.png" class="img-fluid rounded-3" alt="Cotton T-shirt">
</div>
<div class="col-md-3 col-lg-3 col-xl-3">
<p class="lead fw-normal mb-2">Название пиццы</p>
<p><span class="text-muted">Описание</span></p>
</div>
<div class="col-md-3 col-lg-3 col-xl-2 d-flex">
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepDown()">
<i class="fas fa-minus"></i>
</button>
<input id="form1" min="0" name="quantity" value="2" type="number"
class="form-control form-control-sm" />
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepUp()">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="col-md-3 col-lg-2 col-xl-2 offset-lg-1">
<h5 class="mb-0">Цена ₽</h5>
</div>
<div class="col-md-1 col-lg-1 col-xl-1 text-end">
<a href="#!" class="text-danger"><i class="fas fa-trash fa-lg"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="d-flex justify-content-start align-items-center">
<div class="text-dark font-weight-bold" style="font-size: 24px;">
Сумма заказа:
</div>
<div class="text-end" style="color: #F7D22D; font-size: 24px;">
Сумма ₽
</div>
</div>
<a class="btn btn-warning" style="margin-left: 25px; margin-bottom: 10px;" href="makingAnOrder.html">К оплате</a>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Все права защищены © 2023-2024
</footer>
</body>
</html>

59
lab3/contacts.html Normal file
View File

@ -0,0 +1,59 @@
<html lang="ru" class="h-100">
<head>
<meta charset="UTF-8">
<title>Контакты</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./style.css">
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-expand-md">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-start" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link" href="index.html">Каталог</a>
<a class="nav-link" href="stock.html">Акции</a>
<a class="nav-link active" href="contacts.html">Контакты</a>
</div>
</div>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="btn custom-btn" href="personalAccountLogin.html">Войти</a>
<a class="btn btn-warning" href="basket.html">Корзина</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<div class="d-flex justify-content-center align-items-center">
<h1 class="text-warning font-weight-bold">Контакты</h1>
</div>
<div class="container">
<div class="row">
<div class="div d-flex justify-content-center">
<iframe src="https://yandex.ru/map-widget/v1/?um=constructor%3A0643c92cbdf3809080e5dfb2804b473ea00af31cfabe6fee08676c59d8675f01&amp;source=constructor" class="img-fluid" style="width: 1280; height: 720px;"></iframe>
</div>
<a href="tel:71112223344" class="text-warning font-weight-bold" style="font-size: 35px; margin-left: 10px; margin-top: 10px;">7 111 222 33 44</a>
<h2 class="font-weight-bold" style="font-size: 35px; margin-left: 10px; margin-top: 10px;">ул. Северный венец 32</h2>
<p style="font-size: 25px; margin-left: 10px; margin-top: 10px;">Доставка и самовывоз 10:00 — 23:00</p>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Все права защищены © 2023-2024
</footer>
</body>
</html>

19
lab3/data.json Normal file
View File

@ -0,0 +1,19 @@
{
"posts": [
{
"id": 1,
"title": "json-server",
"author": "typicode"
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}

312
lab3/index.html Normal file
View File

@ -0,0 +1,312 @@
<html lang="ru" class="h-100">
<head>
<meta charset="UTF-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./style.css">
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-expand-md">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-start" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link active" href="index.html">Каталог</a>
<a class="nav-link" href="stock.html">Акции</a>
<a class="nav-link" href="contacts.html">Контакты</a>
</div>
</div>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="btn custom-btn" href="personalAccountLogin.html">Войти</a>
<a class="btn btn-warning" href="basket.html">Корзина</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<div class="d-flex justify-content-center align-items-center">
<h1 class="text-warning font-weight-bold">Каталог</h1>
</div>
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-12 mb-4">
<div class="card">
<img src="pizza.png" class="card-img-top" alt="Product Image">
<div class="card-body">
<h5 class="card-title">Название</h5>
<p class="card-text">Описание</p>
</div>
<div class="card-footer">
<div class="text-warning font-weight-bold">Цена ₽</div>
<button class="btn btn-warning">В корзину</button>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Все права защищены © 2023-2024
</footer>
</body>
</html>

BIN
lab3/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

194
lab3/makingAnOrder.html Normal file
View File

@ -0,0 +1,194 @@
<html lang="ru" class="h-100">
<head>
<meta charset="UTF-8">
<title>Оформление заказа</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="./style.css">
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-expand-md">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="./logo.png" alt="logo" width="128">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-start" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link" href="index.html">Каталог</a>
<a class="nav-link" href="stock.html">Акции</a>
<a class="nav-link" href="contacts.html">Контакты</a>
</div>
</div>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="btn custom-btn" href="personalAccount.html">Профиль</a>
<a class="btn btn-warning" href="basket.html">Корзина</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<section class="h-100">
<div class="mask d-flex align-items-center h-100 gradient-custom-3">
<div class="container h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-12 col-md-9 col-lg-7 col-xl-6">
<div class="card" style="border-radius: 15px; border-color:gold;">
<div class="card-body p-5">
<h2 class="text-uppercase text-center mb-5">Оформление заказа</h2>
<form>
<div class="form-outline mb-4">
<input type="text" id="form3Example1cg" class="form-control form-control-lg" />
<label class="form-label" for="form3Example1cg">Ваше имя</label>
</div>
<div class="form-outline mb-4">
<input type="tel" id="form3Example5cg" class="form-control form-control-lg" />
<label class="form-label" for="form3Example5cg">Номер телефона</label>
</div>
<label class="form-check-label" for="creditCard">Вариант получения</label>
<div class="form-check mb-4">
<input class="form-check-input" type="radio" name="deliveryMethod" id="selfPickup" value="selfPickup">
<label class="form-check-label" for="selfPickup">Самовывоз</label>
</div>
<div class="form-check mb-4">
<input class="form-check-input" type="radio" name="deliveryMethod" id="delivery" value="delivery">
<label class="form-check-label" for="delivery">Доставка</label>
</div>
<div class="form-outline mb-4" id="deliveryAddress" style="display: none;">
<input type="text" id="form3ExampleAddress" class="form-control form-control-lg" />
<label class="form-label" for="form3ExampleAddress">Ваш адрес доставки</label>
<div id="deliveryTimeOptions">
<select class="form-select" id="timeSlotSelect" name="timeSlot">
<option value="10:00-10:30">10:00-10:30</option>
<option value="10:30-11:00">10:30-11:00</option>
<option value="11:00-11:30">11:00-11:30</option>
<option value="11:30-12:00">11:30-12:00</option>
<option value="12:00-12:30">12:00-12:30</option>
<option value="12:30-13:00">12:30-13:00</option>
<option value="13:00-13:30">13:00-13:30</option>
<option value="13:30-14:00">13:30-14:00</option>
<option value="14:00-14:30">14:00-14:30</option>
<option value="14:30-15:00">14:30-15:00</option>
<option value="15:00-15:30">15:00-15:30</option>
<option value="15:30-16:00">15:30-16:00</option>
<option value="16:00-16:30">16:00-16:30</option>
<option value="16:30-17:00">16:30-17:00</option>
<option value="17:00-17:30">17:00-17:30</option>
<option value="17:30-18:00">17:30-18:00</option>
<option value="18:00-18:30">18:00-18:30</option>
<option value="18:30-19:00">18:30-19:00</option>
<option value="19:00-19:30">19:00-19:30</option>
<option value="19:30-20:00">19:30-20:00</option>
<option value="20:00-20:30">20:00-20:30</option>
<option value="20:30-21:00">20:30-21:00</option>
<option value="21:00-21:30">21:00-21:30</option>
<option value="21:30-22:00">21:30-22:00</option>
<option value="22:00-22:30">22:00-22:30</option>
<option value="22:30-23:00">22:30-23:00</option>
</select>
<label for="timeSlotSelect">Выберите время доставки:</label>
</div>
</div>
<label class="form-check-label" for="creditCard">Вариант оплаты</label>
<div class="form-check mb-4">
<input class="form-check-input" type="radio" name="paymentMethod" id="cash" value="cash">
<label class="form-check-label" for="cash">Наличные</label>
</div>
<div class="form-check mb-4">
<input class="form-check-input" type="radio" name="paymentMethod" id="creditCard" value="creditCard">
<label class="form-check-label" for="creditCard">Оплата картой</label>
</div>
<div class="form-outline mb-4" id="creditCardDetails" style="display: none;">
<div class="row mb-4">
<div class="col">
<div class="form-outline">
<input type="text" id="formNameOnCard" class="form-control" />
<label class="form-label" for="formNameOnCard">Имя держателя карты</label>
</div>
</div>
<div class="col">
<div class="form-outline">
<input type="text" id="formCardNumber" class="form-control" />
<label class="form-label" for="formCardNumber">Номер карты</label>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-3">
<div class="form-outline">
<input type="text" id="formExpiration" class="form-control" />
<label class="form-label" for="formExpiration">Срок действия</label>
</div>
</div>
<div class="col-3">
<div class="form-outline">
<input type="text" id="formCVV" class="form-control" />
<label class="form-label" for="formCVV">CVV</label>
</div>
</div>
</div>
</div>
<div class="d-flex justify-content-center">
<button class="btn btn-warning" type="button" id="saveButton">Оформить</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function() {
$('input[type=radio][name=deliveryMethod]').change(function() {
if (this.value === 'delivery') {
$('#deliveryAddress').show();
$('#deliveryTimeOptions').show();
} else {
$('#deliveryAddress').hide();
$('#deliveryTimeOptions').hide();
}
});
$('input[type=radio][name=paymentMethod]').change(function() {
if (this.value === 'creditCard') {
$('#creditCardDetails').show();
} else {
$('#creditCardDetails').hide();
}
});
});
</script>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Все права защищены © 2023-2024
</footer>
</body>
</html>

12
lab3/node_modules/.bin/acorn generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
else
exec node "$basedir/../acorn/bin/acorn" "$@"
fi

17
lab3/node_modules/.bin/acorn.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %*

28
lab3/node_modules/.bin/acorn.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
} else {
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../acorn/bin/acorn" $args
} else {
& "node$exe" "$basedir/../acorn/bin/acorn" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/esbuild generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../esbuild/bin/esbuild" "$@"
else
exec node "$basedir/../esbuild/bin/esbuild" "$@"
fi

17
lab3/node_modules/.bin/esbuild.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esbuild\bin\esbuild" %*

28
lab3/node_modules/.bin/esbuild.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args
} else {
& "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../esbuild/bin/esbuild" $args
} else {
& "node$exe" "$basedir/../esbuild/bin/esbuild" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/eslint generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
else
exec node "$basedir/../eslint/bin/eslint.js" "$@"
fi

17
lab3/node_modules/.bin/eslint.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\eslint\bin\eslint.js" %*

28
lab3/node_modules/.bin/eslint.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../eslint/bin/eslint.js" $args
} else {
& "$basedir/node$exe" "$basedir/../eslint/bin/eslint.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../eslint/bin/eslint.js" $args
} else {
& "node$exe" "$basedir/../eslint/bin/eslint.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/he generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../he/bin/he" "$@"
else
exec node "$basedir/../he/bin/he" "$@"
fi

17
lab3/node_modules/.bin/he.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\he\bin\he" %*

28
lab3/node_modules/.bin/he.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../he/bin/he" $args
} else {
& "$basedir/node$exe" "$basedir/../he/bin/he" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../he/bin/he" $args
} else {
& "node$exe" "$basedir/../he/bin/he" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/http-server generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../http-server/bin/http-server" "$@"
else
exec node "$basedir/../http-server/bin/http-server" "$@"
fi

17
lab3/node_modules/.bin/http-server.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\http-server\bin\http-server" %*

28
lab3/node_modules/.bin/http-server.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../http-server/bin/http-server" $args
} else {
& "$basedir/node$exe" "$basedir/../http-server/bin/http-server" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../http-server/bin/http-server" $args
} else {
& "node$exe" "$basedir/../http-server/bin/http-server" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/js-yaml generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
else
exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
fi

17
lab3/node_modules/.bin/js-yaml.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %*

28
lab3/node_modules/.bin/js-yaml.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
} else {
& "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
} else {
& "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/json-server generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../json-server/lib/cli/bin.js" "$@"
else
exec node "$basedir/../json-server/lib/cli/bin.js" "$@"
fi

17
lab3/node_modules/.bin/json-server.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json-server\lib\cli\bin.js" %*

28
lab3/node_modules/.bin/json-server.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
} else {
& "$basedir/node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
} else {
& "node$exe" "$basedir/../json-server/lib/cli/bin.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/json5 generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
else
exec node "$basedir/../json5/lib/cli.js" "$@"
fi

17
lab3/node_modules/.bin/json5.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %*

28
lab3/node_modules/.bin/json5.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../json5/lib/cli.js" $args
} else {
& "node$exe" "$basedir/../json5/lib/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/mime generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
else
exec node "$basedir/../mime/cli.js" "$@"
fi

17
lab3/node_modules/.bin/mime.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*

28
lab3/node_modules/.bin/mime.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../mime/cli.js" $args
} else {
& "node$exe" "$basedir/../mime/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/mkdirp generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
else
exec node "$basedir/../mkdirp/bin/cmd.js" "$@"
fi

17
lab3/node_modules/.bin/mkdirp.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %*

28
lab3/node_modules/.bin/mkdirp.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
} else {
& "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
} else {
& "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/nanoid generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
else
exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
fi

17
lab3/node_modules/.bin/nanoid.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %*

28
lab3/node_modules/.bin/nanoid.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
} else {
& "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
} else {
& "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/node-which generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
else
exec node "$basedir/../which/bin/node-which" "$@"
fi

17
lab3/node_modules/.bin/node-which.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %*

28
lab3/node_modules/.bin/node-which.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
} else {
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../which/bin/node-which" $args
} else {
& "node$exe" "$basedir/../which/bin/node-which" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/npm-run-all generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../npm-run-all/bin/npm-run-all/index.js" "$@"
else
exec node "$basedir/../npm-run-all/bin/npm-run-all/index.js" "$@"
fi

17
lab3/node_modules/.bin/npm-run-all.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all\bin\npm-run-all\index.js" %*

28
lab3/node_modules/.bin/npm-run-all.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../npm-run-all/bin/npm-run-all/index.js" $args
} else {
& "$basedir/node$exe" "$basedir/../npm-run-all/bin/npm-run-all/index.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../npm-run-all/bin/npm-run-all/index.js" $args
} else {
& "node$exe" "$basedir/../npm-run-all/bin/npm-run-all/index.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/opener generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../opener/bin/opener-bin.js" "$@"
else
exec node "$basedir/../opener/bin/opener-bin.js" "$@"
fi

17
lab3/node_modules/.bin/opener.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\opener\bin\opener-bin.js" %*

28
lab3/node_modules/.bin/opener.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../opener/bin/opener-bin.js" $args
} else {
& "$basedir/node$exe" "$basedir/../opener/bin/opener-bin.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../opener/bin/opener-bin.js" $args
} else {
& "node$exe" "$basedir/../opener/bin/opener-bin.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/pidtree generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../pidtree/bin/pidtree.js" "$@"
else
exec node "$basedir/../pidtree/bin/pidtree.js" "$@"
fi

17
lab3/node_modules/.bin/pidtree.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\pidtree\bin\pidtree.js" %*

28
lab3/node_modules/.bin/pidtree.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../pidtree/bin/pidtree.js" $args
} else {
& "$basedir/node$exe" "$basedir/../pidtree/bin/pidtree.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../pidtree/bin/pidtree.js" $args
} else {
& "node$exe" "$basedir/../pidtree/bin/pidtree.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/resolve generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../resolve/bin/resolve" "$@"
else
exec node "$basedir/../resolve/bin/resolve" "$@"
fi

17
lab3/node_modules/.bin/resolve.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\resolve\bin\resolve" %*

28
lab3/node_modules/.bin/resolve.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../resolve/bin/resolve" $args
} else {
& "$basedir/node$exe" "$basedir/../resolve/bin/resolve" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../resolve/bin/resolve" $args
} else {
& "node$exe" "$basedir/../resolve/bin/resolve" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/rimraf generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../rimraf/bin.js" "$@"
else
exec node "$basedir/../rimraf/bin.js" "$@"
fi

17
lab3/node_modules/.bin/rimraf.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rimraf\bin.js" %*

28
lab3/node_modules/.bin/rimraf.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args
} else {
& "$basedir/node$exe" "$basedir/../rimraf/bin.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../rimraf/bin.js" $args
} else {
& "node$exe" "$basedir/../rimraf/bin.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/rollup generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../rollup/dist/bin/rollup" "$@"
else
exec node "$basedir/../rollup/dist/bin/rollup" "$@"
fi

17
lab3/node_modules/.bin/rollup.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rollup\dist\bin\rollup" %*

28
lab3/node_modules/.bin/rollup.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args
} else {
& "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../rollup/dist/bin/rollup" $args
} else {
& "node$exe" "$basedir/../rollup/dist/bin/rollup" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/run-p generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../npm-run-all/bin/run-p/index.js" "$@"
else
exec node "$basedir/../npm-run-all/bin/run-p/index.js" "$@"
fi

17
lab3/node_modules/.bin/run-p.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all\bin\run-p\index.js" %*

28
lab3/node_modules/.bin/run-p.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../npm-run-all/bin/run-p/index.js" $args
} else {
& "$basedir/node$exe" "$basedir/../npm-run-all/bin/run-p/index.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../npm-run-all/bin/run-p/index.js" $args
} else {
& "node$exe" "$basedir/../npm-run-all/bin/run-p/index.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/run-s generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../npm-run-all/bin/run-s/index.js" "$@"
else
exec node "$basedir/../npm-run-all/bin/run-s/index.js" "$@"
fi

17
lab3/node_modules/.bin/run-s.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\npm-run-all\bin\run-s\index.js" %*

28
lab3/node_modules/.bin/run-s.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../npm-run-all/bin/run-s/index.js" $args
} else {
& "$basedir/node$exe" "$basedir/../npm-run-all/bin/run-s/index.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../npm-run-all/bin/run-s/index.js" $args
} else {
& "node$exe" "$basedir/../npm-run-all/bin/run-s/index.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/semver generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
else
exec node "$basedir/../semver/bin/semver.js" "$@"
fi

17
lab3/node_modules/.bin/semver.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*

28
lab3/node_modules/.bin/semver.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

12
lab3/node_modules/.bin/vite generated vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
else
exec node "$basedir/../vite/bin/vite.js" "$@"
fi

17
lab3/node_modules/.bin/vite.cmd generated vendored Normal file
View File

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\vite\bin\vite.js" %*

28
lab3/node_modules/.bin/vite.ps1 generated vendored Normal file
View File

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
} else {
& "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../vite/bin/vite.js" $args
} else {
& "node$exe" "$basedir/../vite/bin/vite.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

4333
lab3/node_modules/.package-lock.json generated vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
{
"type": "module"
}

View File

@ -0,0 +1,81 @@
import {
afterMain,
afterRead,
afterWrite,
applyStyles_default,
arrow_default,
auto,
basePlacements,
beforeMain,
beforeRead,
beforeWrite,
bottom,
clippingParents,
computeStyles_default,
createPopper,
createPopper2,
createPopper3,
detectOverflow,
end,
eventListeners_default,
flip_default,
hide_default,
left,
main,
modifierPhases,
offset_default,
placements,
popper,
popperGenerator,
popperOffsets_default,
preventOverflow_default,
read,
reference,
right,
start,
top,
variationPlacements,
viewport,
write
} from "./chunk-IOJ6CEWC.js";
export {
afterMain,
afterRead,
afterWrite,
applyStyles_default as applyStyles,
arrow_default as arrow,
auto,
basePlacements,
beforeMain,
beforeRead,
beforeWrite,
bottom,
clippingParents,
computeStyles_default as computeStyles,
createPopper3 as createPopper,
createPopper as createPopperBase,
createPopper2 as createPopperLite,
detectOverflow,
end,
eventListeners_default as eventListeners,
flip_default as flip,
hide_default as hide,
left,
main,
modifierPhases,
offset_default as offset,
placements,
popper,
popperGenerator,
popperOffsets_default as popperOffsets,
preventOverflow_default as preventOverflow,
read,
reference,
right,
start,
top,
variationPlacements,
viewport,
write
};
//# sourceMappingURL=@popperjs_core.js.map

View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

3676
lab3/node_modules/.vite/deps_temp_54e596ca/bootstrap.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
{
"type": "module"
}

21
lab3/node_modules/@aashutoshrathi/word-wrap/LICENSE generated vendored Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014-2016, Jon Schlinkert
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

182
lab3/node_modules/@aashutoshrathi/word-wrap/README.md generated vendored Normal file
View File

@ -0,0 +1,182 @@
# word-wrap [![NPM version](https://img.shields.io/npm/v/word-wrap.svg?style=flat)](https://www.npmjs.com/package/word-wrap) [![NPM monthly downloads](https://img.shields.io/npm/dm/word-wrap.svg?style=flat)](https://npmjs.org/package/word-wrap) [![NPM total downloads](https://img.shields.io/npm/dt/word-wrap.svg?style=flat)](https://npmjs.org/package/word-wrap) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/word-wrap.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/word-wrap)
> Wrap words to a specified length.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
$ npm install --save word-wrap
```
## Usage
```js
var wrap = require('word-wrap');
wrap('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.');
```
Results in:
```
Lorem ipsum dolor sit amet, consectetur adipiscing
elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.
```
## Options
![image](https://cloud.githubusercontent.com/assets/383994/6543728/7a381c08-c4f6-11e4-8b7d-b6ba197569c9.png)
### options.width
Type: `Number`
Default: `50`
The width of the text before wrapping to a new line.
**Example:**
```js
wrap(str, {width: 60});
```
### options.indent
Type: `String`
Default: `` (none)
The string to use at the beginning of each line.
**Example:**
```js
wrap(str, {indent: ' '});
```
### options.newline
Type: `String`
Default: `\n`
The string to use at the end of each line.
**Example:**
```js
wrap(str, {newline: '\n\n'});
```
### options.escape
Type: `function`
Default: `function(str){return str;}`
An escape function to run on each line after splitting them.
**Example:**
```js
var xmlescape = require('xml-escape');
wrap(str, {
escape: function(string){
return xmlescape(string);
}
});
```
### options.trim
Type: `Boolean`
Default: `false`
Trim trailing whitespace from the returned string. This option is included since `.trim()` would also strip the leading indentation from the first line.
**Example:**
```js
wrap(str, {trim: true});
```
### options.cut
Type: `Boolean`
Default: `false`
Break a word between any two letters when the word is longer than the specified width.
**Example:**
```js
wrap(str, {cut: true});
```
## About
### Related projects
* [common-words](https://www.npmjs.com/package/common-words): Updated list (JSON) of the 100 most common words in the English language. Useful for… [more](https://github.com/jonschlinkert/common-words) | [homepage](https://github.com/jonschlinkert/common-words "Updated list (JSON) of the 100 most common words in the English language. Useful for excluding these words from arrays.")
* [shuffle-words](https://www.npmjs.com/package/shuffle-words): Shuffle the words in a string and optionally the letters in each word using the… [more](https://github.com/jonschlinkert/shuffle-words) | [homepage](https://github.com/jonschlinkert/shuffle-words "Shuffle the words in a string and optionally the letters in each word using the Fisher-Yates algorithm. Useful for creating test fixtures, benchmarking samples, etc.")
* [unique-words](https://www.npmjs.com/package/unique-words): Return the unique words in a string or array. | [homepage](https://github.com/jonschlinkert/unique-words "Return the unique words in a string or array.")
* [wordcount](https://www.npmjs.com/package/wordcount): Count the words in a string. Support for english, CJK and Cyrillic. | [homepage](https://github.com/jonschlinkert/wordcount "Count the words in a string. Support for english, CJK and Cyrillic.")
### Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
### Contributors
| **Commits** | **Contributor** |
| --- | --- |
| 43 | [jonschlinkert](https://github.com/jonschlinkert) |
| 2 | [lordvlad](https://github.com/lordvlad) |
| 2 | [hildjj](https://github.com/hildjj) |
| 1 | [danilosampaio](https://github.com/danilosampaio) |
| 1 | [2fd](https://github.com/2fd) |
| 1 | [toddself](https://github.com/toddself) |
| 1 | [wolfgang42](https://github.com/wolfgang42) |
| 1 | [zachhale](https://github.com/zachhale) |
### Building docs
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
To generate the readme, run the following command:
```sh
$ npm install -g verbose/verb#dev verb-generate-readme && verb
```
### Running tests
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
```sh
$ npm install && npm test
```
### Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
### License
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT License](LICENSE).
***
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 02, 2017._

50
lab3/node_modules/@aashutoshrathi/word-wrap/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,50 @@
/**
* Wrap words to a specified length.
*/
export = wrap;
declare function wrap(str: string, options?: wrap.IOptions): string;
declare namespace wrap {
export interface IOptions {
/**
* The width of the text before wrapping to a new line.
* @default ´50´
*/
width?: number;
/**
* The string to use at the beginning of each line.
* @default ´´ (none)
*/
indent?: string;
/**
* The string to use at the end of each line.
* @default ´\n´
*/
newline?: string;
/**
* An escape function to run on each line after splitting them.
* @default (str: string) => string;
*/
escape?: (str: string) => string;
/**
* Trim trailing whitespace from the returned string.
* This option is included since .trim() would also strip
* the leading indentation from the first line.
* @default true
*/
trim?: boolean;
/**
* Break a word between any two letters when the word is longer
* than the specified width.
* @default false
*/
cut?: boolean;
}
}

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