build
This commit is contained in:
parent
46b116f55c
commit
7c70dbe035
|
|
@ -8,7 +8,6 @@ pnpm-debug.log*
|
||||||
lerna-debug.log*
|
lerna-debug.log*
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
dist
|
|
||||||
dist-ssr
|
dist-ssr
|
||||||
*.local
|
*.local
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>TurkmenTv Sms ulgamy</title>
|
||||||
|
<script type="module" crossorigin src="/assets/index-ClGgs6PF.js"></script>
|
||||||
|
<link rel="stylesheet" crossorigin href="/assets/index-CPacmMnN.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="root"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M9.5 3C11.2239 3 12.8772 3.68482 14.0962 4.90381C15.3152 6.12279 16 7.77609 16 9.5C16 11.11 15.41 12.59 14.44 13.73L14.71 14H15.5L20.5 19L19 20.5L14 15.5V14.71L13.73 14.44C12.5505 15.4468 11.0507 15.9999 9.5 16C7.77609 16 6.12279 15.3152 4.90381 14.0962C3.68482 12.8772 3 11.2239 3 9.5C3 7.77609 3.68482 6.12279 4.90381 4.90381C6.12279 3.68482 7.77609 3 9.5 3ZM9.5 5C7 5 5 7 5 9.5C5 12 7 14 9.5 14C12 14 14 12 14 9.5C14 7 12 5 9.5 5Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 562 B |
|
|
@ -0,0 +1,31 @@
|
||||||
|
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<linearGradient x1="8.042%" y1="0%" x2="65.682%" y2="23.865%" id="a">
|
||||||
|
<stop stop-color="#fff" stop-opacity="0" offset="0%"/>
|
||||||
|
<stop stop-color="#fff" stop-opacity=".631" offset="63.146%"/>
|
||||||
|
<stop stop-color="#fff" offset="100%"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<g fill="none" fill-rule="evenodd">
|
||||||
|
<g transform="translate(1 1)">
|
||||||
|
<path d="M36 18c0-9.94-8.06-18-18-18" id="Oval-2" stroke="url(#a)" stroke-width="2">
|
||||||
|
<animateTransform
|
||||||
|
attributeName="transform"
|
||||||
|
type="rotate"
|
||||||
|
from="0 18 18"
|
||||||
|
to="360 18 18"
|
||||||
|
dur="0.9s"
|
||||||
|
repeatCount="indefinite" />
|
||||||
|
</path>
|
||||||
|
<circle fill="#fff" cx="36" cy="18" r="1">
|
||||||
|
<animateTransform
|
||||||
|
attributeName="transform"
|
||||||
|
type="rotate"
|
||||||
|
from="0 18 18"
|
||||||
|
to="360 18 18"
|
||||||
|
dur="0.9s"
|
||||||
|
repeatCount="indefinite" />
|
||||||
|
</circle>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
|
|
@ -9,8 +9,7 @@ export const FitlerNumber = () => {
|
||||||
if (!smsContext) {
|
if (!smsContext) {
|
||||||
throw new Error('smsContext must be used within an AuthProvider');
|
throw new Error('smsContext must be used within an AuthProvider');
|
||||||
}
|
}
|
||||||
const { activeNumber, setActiveNumber, smsData, tableIsLoading, setSmsData, setIsError } =
|
const { activeNumber, setActiveNumber, smsData, setSmsData, setIsError } = smsContext;
|
||||||
smsContext;
|
|
||||||
|
|
||||||
const getAdmins = () => {
|
const getAdmins = () => {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import React, { useContext, useEffect } from 'react';
|
import { useContext, useEffect } from 'react';
|
||||||
|
|
||||||
import { Queries } from '@/api/queries';
|
import { Queries } from '@/api/queries';
|
||||||
import { SmsContext } from '@/context/SmsContext';
|
import { SmsContext } from '@/context/SmsContext';
|
||||||
|
|
@ -25,7 +25,6 @@ const SmsTable = () => {
|
||||||
searchFecth,
|
searchFecth,
|
||||||
activeSort,
|
activeSort,
|
||||||
dateValue,
|
dateValue,
|
||||||
timeDate,
|
|
||||||
} = smsContext;
|
} = smsContext;
|
||||||
|
|
||||||
const getMessages = () => {
|
const getMessages = () => {
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
import Loader from '@/components/Loader';
|
import Loader from '@/components/Loader';
|
||||||
import { SmsContext } from '@/context/SmsContext';
|
import { SmsContext } from '@/context/SmsContext';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React, { useContext } from 'react';
|
import { useContext } from 'react';
|
||||||
|
|
||||||
const SmsPagination = () => {
|
const SmsPagination = () => {
|
||||||
const smsContext = useContext(SmsContext);
|
const smsContext = useContext(SmsContext);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import React, { useContext, useEffect } from 'react';
|
import { useContext, useEffect } from 'react';
|
||||||
import SmsTableHead from './SmsTableHead';
|
import SmsTableHead from './SmsTableHead';
|
||||||
import SmsTableBody from './SmsTableBody';
|
import SmsTableBody from './SmsTableBody';
|
||||||
import { SmsContext } from '@/context/SmsContext';
|
import { SmsContext } from '@/context/SmsContext';
|
||||||
|
|
@ -24,7 +24,6 @@ const SmsTable = () => {
|
||||||
searchFecth,
|
searchFecth,
|
||||||
activeSort,
|
activeSort,
|
||||||
dateValue,
|
dateValue,
|
||||||
timeDate,
|
|
||||||
} = smsContext;
|
} = smsContext;
|
||||||
|
|
||||||
const getMessages = () => {
|
const getMessages = () => {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import React, { useContext, useEffect, useState } from 'react';
|
import { useContext } from 'react';
|
||||||
import SmsTableRow from './SmsTableRow';
|
import SmsTableRow from './SmsTableRow';
|
||||||
|
|
||||||
import { SmsContext } from '@/context/SmsContext';
|
import { SmsContext } from '@/context/SmsContext';
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,8 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
|
||||||
...classNames,
|
...classNames,
|
||||||
}}
|
}}
|
||||||
components={{
|
components={{
|
||||||
IconLeft: ({ ...props }) => <ChevronLeft className="h-4 w-4" />,
|
IconLeft: () => <ChevronLeft className="h-4 w-4" />,
|
||||||
IconRight: ({ ...props }) => <ChevronRight className="h-4 w-4" />,
|
IconRight: () => <ChevronRight className="h-4 w-4" />,
|
||||||
}}
|
}}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,4 @@
|
||||||
'use client';
|
import { createContext, useEffect, useState, ReactNode, FC, SetStateAction, Dispatch } from 'react';
|
||||||
import {
|
|
||||||
createContext,
|
|
||||||
useContext,
|
|
||||||
useEffect,
|
|
||||||
useState,
|
|
||||||
ReactNode,
|
|
||||||
FC,
|
|
||||||
SetStateAction,
|
|
||||||
Dispatch,
|
|
||||||
} from 'react';
|
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ const SignUpPage = () => {
|
||||||
const [login, setLogin] = useState('');
|
const [login, setLogin] = useState('');
|
||||||
const [password, setPassword] = useState('');
|
const [password, setPassword] = useState('');
|
||||||
const authContext = useContext(AuthContext);
|
const authContext = useContext(AuthContext);
|
||||||
const [isLoading, setIsLoading] = useState(true);
|
// const [isLoading, setIsLoading] = useState(true);
|
||||||
|
|
||||||
if (!authContext) {
|
if (!authContext) {
|
||||||
throw new Error('AuthContext must be used within an AuthProvider');
|
throw new Error('AuthContext must be used within an AuthProvider');
|
||||||
|
|
@ -39,7 +39,7 @@ const SignUpPage = () => {
|
||||||
<input
|
<input
|
||||||
id="login"
|
id="login"
|
||||||
type="text"
|
type="text"
|
||||||
className="px-[16px] py-[12px] rounded-[12px] outline-none text-lightOnSurfaceVariant text-textSmall leading-textSmall"
|
className="px-[16px] py-[12px] bg-lightPrimaryContainer rounded-[12px] outline-none text-lightOnSurfaceVariant text-textSmall leading-textSmall"
|
||||||
value={login}
|
value={login}
|
||||||
onChange={(e) => setLogin(e.target.value)}
|
onChange={(e) => setLogin(e.target.value)}
|
||||||
placeholder="Login giriziň"
|
placeholder="Login giriziň"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/api/queries.ts","./src/components/dashboard.tsx","./src/components/filtertable.tsx","./src/components/fitlernumber.tsx","./src/components/loader.tsx","./src/components/protectedroute.tsx","./src/components/smstable.tsx","./src/components/smstable/smspagination.tsx","./src/components/smstable/smstable.tsx","./src/components/smstable/smstablebody.tsx","./src/components/smstable/smstablehead.tsx","./src/components/smstable/smstablerow.tsx","./src/components/ui/button.tsx","./src/components/ui/calendar.tsx","./src/context/authcontext.tsx","./src/context/smscontext.tsx","./src/lib/baseurl.ts","./src/lib/routes.ts","./src/lib/utils.ts","./src/models/messagesbytvadmis.model.ts","./src/models/my.tv.admins.model.ts","./src/pages/dashboardpage.tsx","./src/pages/signuppage.tsx"],"version":"5.6.3"}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"root":["./vite.config.ts"],"version":"5.6.3"}
|
||||||
Loading…
Reference in New Issue