ListFormSeeder düzenlemesi ve Login
Eğer ilgili form numarası yoksa kayıt ekleniyor
This commit is contained in:
parent
6b348ff3ac
commit
eb23174f7a
6 changed files with 1825 additions and 1760 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -5773,7 +5773,7 @@
|
||||||
"Code": "AbpTenantManagement.Tenants",
|
"Code": "AbpTenantManagement.Tenants",
|
||||||
"DisplayName": "AbpTenantManagement.Tenants",
|
"DisplayName": "AbpTenantManagement.Tenants",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
"Url": "/list/List-0001",
|
"Url": "/list/list-tenant",
|
||||||
"Icon": "FcDepartment",
|
"Icon": "FcDepartment",
|
||||||
"RequiredPermissionName": "AbpTenantManagement.Tenants",
|
"RequiredPermissionName": "AbpTenantManagement.Tenants",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5783,7 +5783,7 @@
|
||||||
"Code": "App.Branches",
|
"Code": "App.Branches",
|
||||||
"DisplayName": "App.Branches",
|
"DisplayName": "App.Branches",
|
||||||
"Order": 2,
|
"Order": 2,
|
||||||
"Url": "/list/List-0022",
|
"Url": "/list/list-branch",
|
||||||
"Icon": "FcShop",
|
"Icon": "FcShop",
|
||||||
"RequiredPermissionName": "App.Branches",
|
"RequiredPermissionName": "App.Branches",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5803,7 +5803,7 @@
|
||||||
"Code": "App.Settings.SettingDefinitions",
|
"Code": "App.Settings.SettingDefinitions",
|
||||||
"DisplayName": "App.Settings.SettingDefinitions",
|
"DisplayName": "App.Settings.SettingDefinitions",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
"Url": "/list/List-0009",
|
"Url": "/list/list-settingdefinition",
|
||||||
"Icon": "FcSupport",
|
"Icon": "FcSupport",
|
||||||
"RequiredPermissionName": "App.Settings.SettingDefinitions",
|
"RequiredPermissionName": "App.Settings.SettingDefinitions",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5813,7 +5813,7 @@
|
||||||
"Code": "App.Settings.GlobalSearch",
|
"Code": "App.Settings.GlobalSearch",
|
||||||
"DisplayName": "App.Settings.GlobalSearch",
|
"DisplayName": "App.Settings.GlobalSearch",
|
||||||
"Order": 2,
|
"Order": 2,
|
||||||
"Url": "/list/List-0018",
|
"Url": "/list/list-globalsearch",
|
||||||
"Icon": "FcSearch",
|
"Icon": "FcSearch",
|
||||||
"RequiredPermissionName": "App.Settings.GlobalSearch",
|
"RequiredPermissionName": "App.Settings.GlobalSearch",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5833,7 +5833,7 @@
|
||||||
"Code": "App.Languages.Language",
|
"Code": "App.Languages.Language",
|
||||||
"DisplayName": "App.Languages.Language",
|
"DisplayName": "App.Languages.Language",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
"Url": "/list/List-0005",
|
"Url": "/list/list-language",
|
||||||
"Icon": "FcGraduationCap",
|
"Icon": "FcGraduationCap",
|
||||||
"RequiredPermissionName": "App.Languages.Language",
|
"RequiredPermissionName": "App.Languages.Language",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5843,7 +5843,7 @@
|
||||||
"Code": "App.Languages.LanguageText",
|
"Code": "App.Languages.LanguageText",
|
||||||
"DisplayName": "App.Languages.LanguageText",
|
"DisplayName": "App.Languages.LanguageText",
|
||||||
"Order": 2,
|
"Order": 2,
|
||||||
"Url": "/list/List-0006",
|
"Url": "/list/list-languagetext",
|
||||||
"Icon": "FcMindMap",
|
"Icon": "FcMindMap",
|
||||||
"RequiredPermissionName": "App.Languages.LanguageText",
|
"RequiredPermissionName": "App.Languages.LanguageText",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5853,7 +5853,7 @@
|
||||||
"Code": "App.Menus",
|
"Code": "App.Menus",
|
||||||
"DisplayName": "App.Menus",
|
"DisplayName": "App.Menus",
|
||||||
"Order": 5,
|
"Order": 5,
|
||||||
"Url": "/list/List-0007",
|
"Url": "/list/list-menu",
|
||||||
"Icon": "FcMenu",
|
"Icon": "FcMenu",
|
||||||
"RequiredPermissionName": "App.Menus",
|
"RequiredPermissionName": "App.Menus",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5893,7 +5893,7 @@
|
||||||
"Code": "Abp.Identity.PermissionGroups",
|
"Code": "Abp.Identity.PermissionGroups",
|
||||||
"DisplayName": "Abp.Identity.PermissionGroups",
|
"DisplayName": "Abp.Identity.PermissionGroups",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
"Url": "/list/List-0017",
|
"Url": "/list/list-permissiongroup",
|
||||||
"Icon": "FcEngineering",
|
"Icon": "FcEngineering",
|
||||||
"RequiredPermissionName": "Abp.Identity.PermissionGroups",
|
"RequiredPermissionName": "Abp.Identity.PermissionGroups",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5903,7 +5903,7 @@
|
||||||
"Code": "Abp.Identity.Permissions",
|
"Code": "Abp.Identity.Permissions",
|
||||||
"DisplayName": "Abp.Identity.Permissions",
|
"DisplayName": "Abp.Identity.Permissions",
|
||||||
"Order": 2,
|
"Order": 2,
|
||||||
"Url": "/list/List-0002",
|
"Url": "/list/list-permission",
|
||||||
"Icon": "FcSupport",
|
"Icon": "FcSupport",
|
||||||
"RequiredPermissionName": "Abp.Identity.Permissions",
|
"RequiredPermissionName": "Abp.Identity.Permissions",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5913,7 +5913,7 @@
|
||||||
"Code": "AbpIdentity.Roles",
|
"Code": "AbpIdentity.Roles",
|
||||||
"DisplayName": "AbpIdentity.Roles",
|
"DisplayName": "AbpIdentity.Roles",
|
||||||
"Order": 3,
|
"Order": 3,
|
||||||
"Url": "/list/List-0003",
|
"Url": "/list/list-role",
|
||||||
"Icon": "FcFlowChart",
|
"Icon": "FcFlowChart",
|
||||||
"RequiredPermissionName": "AbpIdentity.Roles",
|
"RequiredPermissionName": "AbpIdentity.Roles",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5923,7 +5923,7 @@
|
||||||
"Code": "AbpIdentity.Users",
|
"Code": "AbpIdentity.Users",
|
||||||
"DisplayName": "AbpIdentity.Users",
|
"DisplayName": "AbpIdentity.Users",
|
||||||
"Order": 4,
|
"Order": 4,
|
||||||
"Url": "/list/List-0004",
|
"Url": "/list/list-user",
|
||||||
"Icon": "FcBusinessman",
|
"Icon": "FcBusinessman",
|
||||||
"RequiredPermissionName": "AbpIdentity.Users",
|
"RequiredPermissionName": "AbpIdentity.Users",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5943,7 +5943,7 @@
|
||||||
"Code": "AbpIdentity.Users.ClaimType",
|
"Code": "AbpIdentity.Users.ClaimType",
|
||||||
"DisplayName": "AbpIdentity.Users.ClaimType",
|
"DisplayName": "AbpIdentity.Users.ClaimType",
|
||||||
"Order": 6,
|
"Order": 6,
|
||||||
"Url": "/list/List-0022",
|
"Url": "/list/list-claimtype",
|
||||||
"Icon": "FcOrganization",
|
"Icon": "FcOrganization",
|
||||||
"RequiredPermissionName": "AbpIdentity.Users.ClaimType",
|
"RequiredPermissionName": "AbpIdentity.Users.ClaimType",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5953,7 +5953,7 @@
|
||||||
"Code": "App.IpRestrictions",
|
"Code": "App.IpRestrictions",
|
||||||
"DisplayName": "App.IpRestrictions",
|
"DisplayName": "App.IpRestrictions",
|
||||||
"Order": 7,
|
"Order": 7,
|
||||||
"Url": "/list/List-0015",
|
"Url": "/list/list-iprestriction",
|
||||||
"Icon": "FcNfcSign",
|
"Icon": "FcNfcSign",
|
||||||
"RequiredPermissionName": "App.IpRestrictions",
|
"RequiredPermissionName": "App.IpRestrictions",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5963,7 +5963,7 @@
|
||||||
"Code": "AbpIdentity.Users.SecurityLog",
|
"Code": "AbpIdentity.Users.SecurityLog",
|
||||||
"DisplayName": "AbpIdentity.Users.SecurityLog",
|
"DisplayName": "AbpIdentity.Users.SecurityLog",
|
||||||
"Order": 8,
|
"Order": 8,
|
||||||
"Url": "/list/List-0019",
|
"Url": "/list/list-securitylog",
|
||||||
"Icon": "FcPrivacy",
|
"Icon": "FcPrivacy",
|
||||||
"RequiredPermissionName": "AbpIdentity.Users.SecurityLog",
|
"RequiredPermissionName": "AbpIdentity.Users.SecurityLog",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -5983,7 +5983,7 @@
|
||||||
"Code": "App.Listforms.DataSource",
|
"Code": "App.Listforms.DataSource",
|
||||||
"DisplayName": "App.Listforms.DataSource",
|
"DisplayName": "App.Listforms.DataSource",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
"Url": "/list/List-0011",
|
"Url": "/list/list-datasource",
|
||||||
"Icon": "FcAcceptDatabase",
|
"Icon": "FcAcceptDatabase",
|
||||||
"RequiredPermissionName": "App.Listforms.DataSource",
|
"RequiredPermissionName": "App.Listforms.DataSource",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6003,7 +6003,7 @@
|
||||||
"Code": "App.Listforms.Listform",
|
"Code": "App.Listforms.Listform",
|
||||||
"DisplayName": "App.Listforms.Listform",
|
"DisplayName": "App.Listforms.Listform",
|
||||||
"Order": 3,
|
"Order": 3,
|
||||||
"Url": "/list/List-0008",
|
"Url": "/list/list-listform",
|
||||||
"Icon": "FcDataSheet",
|
"Icon": "FcDataSheet",
|
||||||
"RequiredPermissionName": "App.Listforms.Listform",
|
"RequiredPermissionName": "App.Listforms.Listform",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6013,7 +6013,7 @@
|
||||||
"Code": "App.Listforms.Chart",
|
"Code": "App.Listforms.Chart",
|
||||||
"DisplayName": "App.Listforms.Chart",
|
"DisplayName": "App.Listforms.Chart",
|
||||||
"Order": 4,
|
"Order": 4,
|
||||||
"Url": "/list/List-0010",
|
"Url": "/list/list-chart",
|
||||||
"Icon": "FcTodoList",
|
"Icon": "FcTodoList",
|
||||||
"RequiredPermissionName": "App.Listforms.Chart",
|
"RequiredPermissionName": "App.Listforms.Chart",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6033,7 +6033,7 @@
|
||||||
"Code": "App.Notifications.NotificationRules",
|
"Code": "App.Notifications.NotificationRules",
|
||||||
"DisplayName": "App.Notifications.NotificationRules",
|
"DisplayName": "App.Notifications.NotificationRules",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
"Url": "/list/List-0013",
|
"Url": "/list/list-notificationrule",
|
||||||
"Icon": "FcLibrary",
|
"Icon": "FcLibrary",
|
||||||
"RequiredPermissionName": "App.Notifications.NotificationRules",
|
"RequiredPermissionName": "App.Notifications.NotificationRules",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6043,7 +6043,7 @@
|
||||||
"Code": "App.Notifications.Notification",
|
"Code": "App.Notifications.Notification",
|
||||||
"DisplayName": "App.Notifications.Notification",
|
"DisplayName": "App.Notifications.Notification",
|
||||||
"Order": 2,
|
"Order": 2,
|
||||||
"Url": "/list/List-0014",
|
"Url": "/list/list-notification",
|
||||||
"Icon": "FcBrokenLink",
|
"Icon": "FcBrokenLink",
|
||||||
"RequiredPermissionName": "App.Notifications.Notification",
|
"RequiredPermissionName": "App.Notifications.Notification",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6053,7 +6053,7 @@
|
||||||
"Code": "App.BackgroundWorkers",
|
"Code": "App.BackgroundWorkers",
|
||||||
"DisplayName": "App.BackgroundWorkers",
|
"DisplayName": "App.BackgroundWorkers",
|
||||||
"Order": 8,
|
"Order": 8,
|
||||||
"Url": "/list/List-0012",
|
"Url": "/list/list-backgroundworker",
|
||||||
"Icon": "FcWorkflow",
|
"Icon": "FcWorkflow",
|
||||||
"RequiredPermissionName": "App.BackgroundWorkers",
|
"RequiredPermissionName": "App.BackgroundWorkers",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6063,7 +6063,7 @@
|
||||||
"Code": "App.PublicApis",
|
"Code": "App.PublicApis",
|
||||||
"DisplayName": "App.PublicApis",
|
"DisplayName": "App.PublicApis",
|
||||||
"Order": 9,
|
"Order": 9,
|
||||||
"Url": "/list/List-0016",
|
"Url": "/list/list-publicapi",
|
||||||
"Icon": "FcMindMap",
|
"Icon": "FcMindMap",
|
||||||
"RequiredPermissionName": "App.PublicApis",
|
"RequiredPermissionName": "App.PublicApis",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
@ -6073,7 +6073,7 @@
|
||||||
"Code": "App.AuditLogs",
|
"Code": "App.AuditLogs",
|
||||||
"DisplayName": "App.AuditLogs",
|
"DisplayName": "App.AuditLogs",
|
||||||
"Order": 3,
|
"Order": 3,
|
||||||
"Url": "/list/List-0020",
|
"Url": "/list/list-auditlog",
|
||||||
"Icon": "FcMultipleInputs",
|
"Icon": "FcMultipleInputs",
|
||||||
"RequiredPermissionName": "App.AuditLogs",
|
"RequiredPermissionName": "App.AuditLogs",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ public static class PlatformConsts
|
||||||
public const string Email = "Email";
|
public const string Email = "Email";
|
||||||
public const string Website = "Website";
|
public const string Website = "Website";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class AbpIdentity
|
public static class AbpIdentity
|
||||||
{
|
{
|
||||||
public const string GroupName = $"{Prefix.Abp}.Identity";
|
public const string GroupName = $"{Prefix.Abp}.Identity";
|
||||||
|
|
@ -307,36 +307,36 @@ public static class PlatformConsts
|
||||||
|
|
||||||
public static class ListFormCodes
|
public static class ListFormCodes
|
||||||
{
|
{
|
||||||
public const string Tenants = "List-0001";
|
public static class Lists
|
||||||
public const string Permission = "List-0002";
|
{
|
||||||
public const string Roles = "List-0003";
|
public const string Tenant = "list-tenant";
|
||||||
public const string Users = "List-0004";
|
public const string Permission = "list-permission";
|
||||||
public const string Language = "List-0005";
|
public const string Role = "list-role";
|
||||||
public const string LanguageText = "List-0006";
|
public const string User = "list-user";
|
||||||
public const string Menu = "List-0007";
|
public const string Language = "list-language";
|
||||||
public const string Listform = "List-0008";
|
public const string LanguageText = "list-languagetext";
|
||||||
public const string SettingDefinition = "List-0009";
|
public const string Menu = "list-menu";
|
||||||
public const string Chart = "List-0010";
|
public const string Listform = "list-listform";
|
||||||
public const string DataSource = "List-0011";
|
public const string SettingDefinition = "list-settingdefinition";
|
||||||
public const string BackgroundWorker = "List-0012";
|
public const string Chart = "list-chart";
|
||||||
public const string NotificationRule = "List-0013";
|
public const string DataSource = "list-datasource";
|
||||||
public const string Notification = "List-0014";
|
public const string BackgroundWorker = "list-backgroundworker";
|
||||||
public const string IpRestriction = "List-0015";
|
public const string NotificationRule = "list-notificationrule";
|
||||||
public const string PublicApi = "List-0016";
|
public const string Notification = "list-notification";
|
||||||
public const string PermissionGroup = "List-0017";
|
public const string IpRestriction = "list-iprestriction";
|
||||||
public const string GlobalSearch = "List-0018";
|
public const string PublicApi = "list-publicapi";
|
||||||
public const string SecurityLog = "List-0019";
|
public const string PermissionGroup = "list-permissiongroup";
|
||||||
public const string AuditLog = "List-0020";
|
public const string GlobalSearch = "list-globalsearch";
|
||||||
public const string Branch = "List-0021";
|
public const string SecurityLog = "list-securitylog";
|
||||||
public const string ClaimTypes = "List-0022";
|
public const string AuditLog = "list-auditlog";
|
||||||
public const string ListformField = "List-1000";
|
public const string Branch = "list-branch";
|
||||||
public const string Order = "List-Order";
|
public const string ClaimType = "list-claimtype";
|
||||||
public const string Complaint = "List-Complaint";
|
public const string ListformField = "list-listformfield";
|
||||||
public const string Shipment = "List-Shipment";
|
}
|
||||||
|
|
||||||
public static class Forms
|
public static class Forms
|
||||||
{
|
{
|
||||||
public const string FormLanguage = "Form-Language";
|
public const string FormLanguage = "form-language";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ const Simple = ({ children, content, ...rest }: SimpleProps) => {
|
||||||
{...innerProps}
|
{...innerProps}
|
||||||
>
|
>
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<Avatar shape="circle" size={20} src={data.imgPath} />
|
<Avatar shape="circle" size={24} src={data.imgPath} title={data.label} />
|
||||||
</div>
|
</div>
|
||||||
{isSelected && <HiCheck className="text-emerald-500 text-xl" />}
|
{isSelected && <HiCheck className="text-emerald-500 text-xl" />}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -77,8 +77,9 @@ const Simple = ({ children, content, ...rest }: SimpleProps) => {
|
||||||
<Avatar
|
<Avatar
|
||||||
className="ltr:mr-2 rtl:ml-2"
|
className="ltr:mr-2 rtl:ml-2"
|
||||||
shape="circle"
|
shape="circle"
|
||||||
size={18}
|
size={24}
|
||||||
src={`/img/countries/${data.cultureName}.png`}
|
src={`/img/countries/${data.cultureName}.png`}
|
||||||
|
title={data.label}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</components.SingleValue>
|
</components.SingleValue>
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ export interface AvatarProps extends CommonProps {
|
||||||
shape?: Exclude<TypeAttributes.Shape, 'none'> | 'square'
|
shape?: Exclude<TypeAttributes.Shape, 'none'> | 'square'
|
||||||
src?: string
|
src?: string
|
||||||
srcSet?: string
|
srcSet?: string
|
||||||
|
title?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const Avatar = forwardRef<HTMLSpanElement, AvatarProps>((props, ref) => {
|
const Avatar = forwardRef<HTMLSpanElement, AvatarProps>((props, ref) => {
|
||||||
|
|
@ -23,6 +24,7 @@ const Avatar = forwardRef<HTMLSpanElement, AvatarProps>((props, ref) => {
|
||||||
size = 'md',
|
size = 'md',
|
||||||
src,
|
src,
|
||||||
srcSet,
|
srcSet,
|
||||||
|
title,
|
||||||
...rest
|
...rest
|
||||||
} = props
|
} = props
|
||||||
|
|
||||||
|
|
@ -78,6 +80,7 @@ const Avatar = forwardRef<HTMLSpanElement, AvatarProps>((props, ref) => {
|
||||||
className={`avatar-img avatar-${shape}`}
|
className={`avatar-img avatar-${shape}`}
|
||||||
src={src}
|
src={src}
|
||||||
srcSet={srcSet}
|
srcSet={srcSet}
|
||||||
|
title={title}
|
||||||
alt={alt}
|
alt={alt}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
onError={({ currentTarget }) => {
|
onError={({ currentTarget }) => {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ import { FailedSignInResponse } from '@/@types/auth'
|
||||||
import ActionLink from '@/components/shared/ActionLink'
|
import ActionLink from '@/components/shared/ActionLink'
|
||||||
import Captcha from '@/components/shared/Captcha'
|
import Captcha from '@/components/shared/Captcha'
|
||||||
import PasswordInput from '@/components/shared/PasswordInput'
|
import PasswordInput from '@/components/shared/PasswordInput'
|
||||||
import { Avatar, Select } from '@/components/ui'
|
|
||||||
import Alert from '@/components/ui/Alert'
|
import Alert from '@/components/ui/Alert'
|
||||||
import Button from '@/components/ui/Button'
|
import Button from '@/components/ui/Button'
|
||||||
import Checkbox from '@/components/ui/Checkbox'
|
import Checkbox from '@/components/ui/Checkbox'
|
||||||
|
|
@ -17,16 +16,9 @@ import useTimeOutMessage from '@/utils/hooks/useTimeOutMessage'
|
||||||
import { TurnstileInstance } from '@marsidev/react-turnstile'
|
import { TurnstileInstance } from '@marsidev/react-turnstile'
|
||||||
import { Field, Form, Formik } from 'formik'
|
import { Field, Form, Formik } from 'formik'
|
||||||
import { motion } from 'framer-motion'
|
import { motion } from 'framer-motion'
|
||||||
import { useEffect, useMemo, useRef, useState } from 'react'
|
import { useEffect, useRef, useState } from 'react'
|
||||||
import { useNavigate } from 'react-router-dom'
|
import { useNavigate } from 'react-router-dom'
|
||||||
import * as Yup from 'yup'
|
import * as Yup from 'yup'
|
||||||
import { components } from 'react-select'
|
|
||||||
import { HiArrowLeft, HiCheck } from 'react-icons/hi'
|
|
||||||
import { SelectBoxOption } from '@/shared/types'
|
|
||||||
import i18n from 'i18next'
|
|
||||||
import appConfig from '@/configs/app.config'
|
|
||||||
import { dateLocales } from '@/locales'
|
|
||||||
import dayjs from 'dayjs'
|
|
||||||
|
|
||||||
type SignInFormSchema = {
|
type SignInFormSchema = {
|
||||||
userName: string
|
userName: string
|
||||||
|
|
@ -209,8 +201,6 @@ const Login = () => {
|
||||||
}
|
}
|
||||||
}, [isMultiTenant])
|
}, [isMultiTenant])
|
||||||
|
|
||||||
console.log(currentCulture)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, x: 100 }}
|
initial={{ opacity: 0, x: 100 }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue