namirasoft-site-react 1.3.61 → 1.3.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.js +2 -2
- package/dist/App.js.map +1 -1
- package/dist/Validator.d.ts +7 -2
- package/dist/Validator.js +57 -15
- package/dist/Validator.js.map +1 -1
- package/dist/components/NSButtonBlue.js +5 -4
- package/dist/components/NSButtonBlue.js.map +1 -1
- package/dist/components/NSButtonGreen.js +5 -4
- package/dist/components/NSButtonGreen.js.map +1 -1
- package/dist/components/NSButtonRed.js +5 -4
- package/dist/components/NSButtonRed.js.map +1 -1
- package/dist/components/NSInput.module.css +29 -0
- package/dist/components/NSInputDate.d.ts +3 -1
- package/dist/components/NSInputDate.js +14 -4
- package/dist/components/NSInputDate.js.map +1 -1
- package/dist/components/NSInputDate.module.css +4 -1
- package/dist/components/NSInputDuration.d.ts +6 -1
- package/dist/components/NSInputDuration.js +15 -6
- package/dist/components/NSInputDuration.js.map +1 -1
- package/dist/components/NSInputEmail.d.ts +1 -1
- package/dist/components/NSInputEmail.js +5 -3
- package/dist/components/NSInputEmail.js.map +1 -1
- package/dist/components/NSInputFloat.d.ts +4 -4
- package/dist/components/NSInputFloat.js +8 -9
- package/dist/components/NSInputFloat.js.map +1 -1
- package/dist/components/NSInputIP.d.ts +5 -1
- package/dist/components/NSInputIP.js +17 -7
- package/dist/components/NSInputIP.js.map +1 -1
- package/dist/components/NSInputInteger.d.ts +9 -5
- package/dist/components/NSInputInteger.js +16 -8
- package/dist/components/NSInputInteger.js.map +1 -1
- package/dist/components/NSInputPassword.d.ts +5 -1
- package/dist/components/NSInputPassword.js +15 -6
- package/dist/components/NSInputPassword.js.map +1 -1
- package/dist/components/NSInputPhone.d.ts +8 -3
- package/dist/components/NSInputPhone.js +18 -12
- package/dist/components/NSInputPhone.js.map +1 -1
- package/dist/components/NSInputPrice.d.ts +7 -2
- package/dist/components/NSInputPrice.js +15 -7
- package/dist/components/NSInputPrice.js.map +1 -1
- package/dist/components/NSInputSearch.d.ts +6 -1
- package/dist/components/NSInputSearch.js +15 -6
- package/dist/components/NSInputSearch.js.map +1 -1
- package/dist/components/NSInputString.d.ts +5 -1
- package/dist/components/NSInputString.js +15 -6
- package/dist/components/NSInputString.js.map +1 -1
- package/dist/components/NSInputText.d.ts +5 -1
- package/dist/components/NSInputText.js +15 -6
- package/dist/components/NSInputText.js.map +1 -1
- package/dist/components/NSInputTime.d.ts +5 -1
- package/dist/components/NSInputTime.js +16 -6
- package/dist/components/NSInputTime.js.map +1 -1
- package/dist/components/NSSectionBars.d.ts +1 -0
- package/dist/components/NSSectionBars.js.map +1 -1
- package/dist/components/NSSectionCards.d.ts +1 -2
- package/dist/components/NSSectionCards.js +1 -1
- package/dist/components/NSSectionCards.js.map +1 -1
- package/dist/components/NSSectionTitle.d.ts +1 -2
- package/dist/components/NSSectionTitle.js +1 -1
- package/dist/components/NSSectionTitle.js.map +1 -1
- package/dist/components/NSSelectBox.d.ts +6 -3
- package/dist/components/NSSelectBox.js +21 -6
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSTable.js +1 -1
- package/dist/components/NSTable.js.map +1 -1
- package/dist/props/ValidationNumberProps.d.ts +1 -2
- package/dist/props/ValidationProps.d.ts +1 -0
- package/dist/props/ValidationStringProps.d.ts +1 -2
- package/package.json +3 -3
- package/src/App.tsx +13 -3
- package/src/Validator.ts +67 -18
- package/src/components/NSButtonBlue.tsx +6 -4
- package/src/components/NSButtonGreen.tsx +5 -4
- package/src/components/NSButtonRed.tsx +5 -4
- package/src/components/NSInput.module.css +29 -0
- package/src/components/NSInputDate.module.css +4 -1
- package/src/components/NSInputDate.tsx +29 -12
- package/src/components/NSInputDuration.tsx +44 -23
- package/src/components/NSInputEmail.tsx +10 -5
- package/src/components/NSInputFloat.tsx +33 -32
- package/src/components/NSInputIP.tsx +44 -24
- package/src/components/NSInputInteger.tsx +48 -31
- package/src/components/NSInputPassword.tsx +42 -23
- package/src/components/NSInputPhone.tsx +45 -29
- package/src/components/NSInputPrice.tsx +45 -23
- package/src/components/NSInputSearch.tsx +43 -21
- package/src/components/NSInputString.tsx +42 -23
- package/src/components/NSInputText.tsx +42 -23
- package/src/components/NSInputTime.tsx +44 -23
- package/src/components/NSSectionBars.tsx +1 -0
- package/src/components/NSSectionCards.tsx +3 -3
- package/src/components/NSSectionTitle.tsx +3 -3
- package/src/components/NSSelectBox.tsx +48 -23
- package/src/components/NSTable.tsx +1 -1
- package/src/props/ValidationNumberProps.ts +1 -3
- package/src/props/ValidationProps.ts +1 -0
- package/src/props/ValidationStringProps.ts +1 -3
- package/dist/components/NSInputDuration.module.css +0 -26
- package/dist/components/NSInputEmail.module.css +0 -38
- package/dist/components/NSInputFloat.module.css +0 -26
- package/dist/components/NSInputIP.module.css +0 -26
- package/dist/components/NSInputInteger.module.css +0 -26
- package/dist/components/NSInputPassword.module.css +0 -27
- package/dist/components/NSInputPhone.module.css +0 -33
- package/dist/components/NSInputPrice.module.css +0 -27
- package/dist/components/NSInputSearch.module.css +0 -27
- package/dist/components/NSInputString.module.css +0 -27
- package/dist/components/NSInputText.module.css +0 -28
- package/dist/components/NSInputTime.module.css +0 -27
- package/src/components/NSInputDuration.module.css +0 -26
- package/src/components/NSInputEmail.module.css +0 -38
- package/src/components/NSInputFloat.module.css +0 -26
- package/src/components/NSInputIP.module.css +0 -26
- package/src/components/NSInputInteger.module.css +0 -26
- package/src/components/NSInputPassword.module.css +0 -27
- package/src/components/NSInputPhone.module.css +0 -33
- package/src/components/NSInputPrice.module.css +0 -27
- package/src/components/NSInputSearch.module.css +0 -27
- package/src/components/NSInputString.module.css +0 -27
- package/src/components/NSInputText.module.css +0 -28
- package/src/components/NSInputTime.module.css +0 -27
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import React from "react";
|
|
4
|
-
import Styles from "./
|
|
4
|
+
import Styles from "./NSInput.module.css";
|
|
5
5
|
import IconInputTime from '../assets/images/icon-input-time.svg';
|
|
6
6
|
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
7
|
+
import { ValidationProps } from "../props/ValidationProps";
|
|
8
|
+
import { ValidationStringProps } from "../props/ValidationStringProps";
|
|
9
|
+
import { Validator } from "../Validator";
|
|
10
|
+
import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
|
|
7
11
|
|
|
8
|
-
export interface NSInputTimeProps extends BaseComponentProps
|
|
12
|
+
export interface NSInputTimeProps extends BaseComponentProps, ValidationProps, ValidationStringProps
|
|
9
13
|
{
|
|
10
14
|
title: string;
|
|
11
15
|
defaultValue?: string;
|
|
@@ -16,6 +20,7 @@ export interface NSInputTimeProps extends BaseComponentProps
|
|
|
16
20
|
export interface NSInputTimeState
|
|
17
21
|
{
|
|
18
22
|
value: string;
|
|
23
|
+
error?: string;
|
|
19
24
|
}
|
|
20
25
|
|
|
21
26
|
export class NSInputTime extends React.Component<NSInputTimeProps, NSInputTimeState>
|
|
@@ -23,15 +28,27 @@ export class NSInputTime extends React.Component<NSInputTimeProps, NSInputTimeSt
|
|
|
23
28
|
constructor(props: NSInputTimeProps)
|
|
24
29
|
{
|
|
25
30
|
super(props);
|
|
26
|
-
this.state = {
|
|
27
|
-
value: props.defaultValue ?? "",
|
|
28
|
-
};
|
|
31
|
+
this.state = { value: props.defaultValue ?? "" };
|
|
29
32
|
this.getValue = this.getValue.bind(this);
|
|
30
33
|
this.setValue = this.setValue.bind(this);
|
|
31
34
|
this.onChanged = this.onChanged.bind(this);
|
|
32
35
|
}
|
|
36
|
+
getError(): string | null
|
|
37
|
+
{
|
|
38
|
+
return (
|
|
39
|
+
Validator.getError(this.props.title, this.state.value, this.props) &&
|
|
40
|
+
Validator.getErrorString(this.props.title, this.state.value, this.props) &&
|
|
41
|
+
Validator.getErrorTime(this.props.title, this.state.value)
|
|
42
|
+
);
|
|
43
|
+
}
|
|
33
44
|
getValue(): string
|
|
34
45
|
{
|
|
46
|
+
let error = this.getError();
|
|
47
|
+
if (error)
|
|
48
|
+
{
|
|
49
|
+
this.setState({ error });
|
|
50
|
+
throw new Error(error);
|
|
51
|
+
}
|
|
35
52
|
return this.state.value;
|
|
36
53
|
}
|
|
37
54
|
setValue(value: string): void
|
|
@@ -47,24 +64,28 @@ export class NSInputTime extends React.Component<NSInputTimeProps, NSInputTimeSt
|
|
|
47
64
|
override render()
|
|
48
65
|
{
|
|
49
66
|
return (
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
<>
|
|
68
|
+
<div className={`${Styles.ns_input_parent} p-2 ${this.props.classList?.join(" ")}`} style={this.props.style}>
|
|
69
|
+
<span className={Styles.ns_input_title}> {this.props.required && <span style={{ color: "red" }} >*</span>} {this.props.title} </span>
|
|
70
|
+
<img
|
|
71
|
+
className={Styles.ns_input_icon}
|
|
72
|
+
src={IconInputTime}
|
|
73
|
+
alt="Time Icon"
|
|
74
|
+
width={24}
|
|
75
|
+
height={24}
|
|
76
|
+
/>
|
|
77
|
+
<input
|
|
78
|
+
id={this.props.id}
|
|
79
|
+
value={this.state.value}
|
|
80
|
+
onChange={this.onChanged}
|
|
81
|
+
type="time"
|
|
82
|
+
className={Styles.ns_input}
|
|
83
|
+
placeholder={this.props.placeholder}
|
|
84
|
+
step="2"
|
|
85
|
+
/>
|
|
86
|
+
</div>
|
|
87
|
+
<NSInputErrorNotifier error={this.state.error} />
|
|
88
|
+
</>
|
|
68
89
|
);
|
|
69
90
|
}
|
|
70
91
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Styles from './NSSectionCards.module.css';
|
|
2
|
-
import { NSTitle
|
|
2
|
+
import { NSTitle } from './NSTitle';
|
|
3
3
|
import { NSCard, NSCardProps } from './NSCard';
|
|
4
4
|
import { NSSection } from './NSSection';
|
|
5
5
|
import { NSLinkBlue } from './NSLinkBlue';
|
|
@@ -9,7 +9,7 @@ import { LinkProps } from '../props/LinkProps';
|
|
|
9
9
|
|
|
10
10
|
export interface NSSectionCardsProps extends BaseComponentProps
|
|
11
11
|
{
|
|
12
|
-
title?:
|
|
12
|
+
title?: string;
|
|
13
13
|
description?: {
|
|
14
14
|
text: string,
|
|
15
15
|
color?: string
|
|
@@ -27,7 +27,7 @@ export function NSSectionCards(props: NSSectionCardsProps)
|
|
|
27
27
|
{
|
|
28
28
|
props.title &&
|
|
29
29
|
<div className={Styles.ns_section_cards_title_container}>
|
|
30
|
-
<NSTitle {
|
|
30
|
+
<NSTitle title={props.title} />
|
|
31
31
|
{
|
|
32
32
|
props.description &&
|
|
33
33
|
<p style={{ color: props.description?.color }} className={Styles.ns_description}> {props.description.text} </p>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NSSection } from './NSSection';
|
|
3
|
-
import { NSTitle
|
|
3
|
+
import { NSTitle } from './NSTitle';
|
|
4
4
|
import { NSSpace, NSSpaceSizeType } from './NSSpace';
|
|
5
5
|
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
6
6
|
|
|
7
7
|
export interface NSSectionTitleProps extends BaseComponentProps
|
|
8
8
|
{
|
|
9
|
-
title:
|
|
9
|
+
title: string;
|
|
10
10
|
children: ReactNode
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ export function NSSectionTitle(props: NSSectionTitleProps)
|
|
|
15
15
|
return (
|
|
16
16
|
<NSSection {...props} >
|
|
17
17
|
<NSSpace size={NSSpaceSizeType.NORMAL} />
|
|
18
|
-
<NSTitle {
|
|
18
|
+
<NSTitle title={props.title} />
|
|
19
19
|
{props.children}
|
|
20
20
|
</NSSection>
|
|
21
21
|
);
|
|
@@ -6,8 +6,11 @@ import { Select, Space } from 'antd';
|
|
|
6
6
|
import type { SelectProps } from 'antd';
|
|
7
7
|
import IconSelectBox from '../assets/images/icon-select-box.svg';
|
|
8
8
|
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
9
|
+
import { ValidationProps } from "../props/ValidationProps";
|
|
10
|
+
import { Validator } from "../Validator";
|
|
11
|
+
import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
|
|
9
12
|
|
|
10
|
-
export interface NSSelectBoxProps extends BaseComponentProps
|
|
13
|
+
export interface NSSelectBoxProps extends BaseComponentProps, ValidationProps
|
|
11
14
|
{
|
|
12
15
|
title: string;
|
|
13
16
|
options: SelectProps['options'];
|
|
@@ -17,6 +20,7 @@ export interface NSSelectBoxState
|
|
|
17
20
|
{
|
|
18
21
|
value: string | null;
|
|
19
22
|
values: string[];
|
|
23
|
+
error?: string;
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
export class NSSelectBox extends React.Component<NSSelectBoxProps, NSSelectBoxState>
|
|
@@ -31,43 +35,64 @@ export class NSSelectBox extends React.Component<NSSelectBoxProps, NSSelectBoxSt
|
|
|
31
35
|
this.getValues = this.getValues.bind(this);
|
|
32
36
|
this.setValues = this.setValues.bind(this);
|
|
33
37
|
}
|
|
34
|
-
|
|
38
|
+
getError(): string | null
|
|
35
39
|
{
|
|
36
|
-
|
|
40
|
+
return (
|
|
41
|
+
Validator.getError(this.props.title, this.state.value, this.props)
|
|
42
|
+
);
|
|
37
43
|
}
|
|
38
44
|
getValue(): string | null
|
|
39
45
|
{
|
|
46
|
+
let error = this.getError();
|
|
47
|
+
if (error)
|
|
48
|
+
{
|
|
49
|
+
this.setState({ error });
|
|
50
|
+
throw new Error(error);
|
|
51
|
+
}
|
|
40
52
|
return this.state.value;
|
|
41
53
|
}
|
|
42
|
-
|
|
54
|
+
setValue(value: string | null): void
|
|
43
55
|
{
|
|
44
|
-
this.setState({
|
|
56
|
+
this.setState({ value });
|
|
45
57
|
}
|
|
46
58
|
getValues(): string[]
|
|
47
59
|
{
|
|
60
|
+
let error = this.getError();
|
|
61
|
+
if (error)
|
|
62
|
+
{
|
|
63
|
+
this.setState({ error });
|
|
64
|
+
throw new Error(error);
|
|
65
|
+
}
|
|
48
66
|
return this.state.values;
|
|
49
67
|
}
|
|
68
|
+
setValues(values: string[]): void
|
|
69
|
+
{
|
|
70
|
+
this.setState({ values });
|
|
71
|
+
}
|
|
50
72
|
override render()
|
|
51
73
|
{
|
|
52
74
|
return (
|
|
53
|
-
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
<>
|
|
76
|
+
<div className={`${Styles.ns_input_parent} p-2`}>
|
|
77
|
+
<span className={Styles.ns_input_title}> {this.props.required && <span style={{ color: "red" }} >*</span>} {this.props.title} </span>
|
|
78
|
+
<Select
|
|
79
|
+
mode="multiple"
|
|
80
|
+
style={{ width: '100%' }}
|
|
81
|
+
className={Styles.ns_input_select}
|
|
82
|
+
placeholder="Combo Box"
|
|
83
|
+
onChange={this.setValues}
|
|
84
|
+
optionLabelProp="label"
|
|
85
|
+
options={this.props.options}
|
|
86
|
+
optionRender={(option) => (
|
|
87
|
+
<Space className={Styles.ns_input_select_option}>
|
|
88
|
+
{option.data.desc}
|
|
89
|
+
</Space>
|
|
90
|
+
)}
|
|
91
|
+
suffixIcon={<img src={IconSelectBox} alt="SelectBox Icon" />}
|
|
92
|
+
/>
|
|
93
|
+
</div>
|
|
94
|
+
<NSInputErrorNotifier error={this.state.error} />
|
|
95
|
+
</>
|
|
71
96
|
);
|
|
72
97
|
}
|
|
73
98
|
}
|
|
@@ -59,7 +59,7 @@ export class NSTable<RowType> extends Component<NSTableProps<RowType>, NSTableSt
|
|
|
59
59
|
className={`container ${Styles.ns_project_list_container} ${this.props.classList?.join(" ")}`}
|
|
60
60
|
style={this.props.style}>
|
|
61
61
|
<section className={Styles.ns_search_input}>
|
|
62
|
-
<NSInputSearch />
|
|
62
|
+
<NSInputSearch title='' required={false} />
|
|
63
63
|
</section>
|
|
64
64
|
<NSSpace size={NSSpaceSizeType.SMALL} />
|
|
65
65
|
<table className={Styles.ns_table} >
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ns_input_title {
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ns_input_icon {
|
|
16
|
-
position: absolute;
|
|
17
|
-
right: 20px;
|
|
18
|
-
top: 51%;
|
|
19
|
-
font-size: 16px;
|
|
20
|
-
font-weight: 400;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ns_input_title {
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ns_input_error {
|
|
29
|
-
color: #FF3F3F !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ns_input_error:focus {
|
|
33
|
-
color: #FF3F3F !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ns_input_red {
|
|
37
|
-
border: 2px solid #FF3F3F;
|
|
38
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ns_input_title {
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ns_input_title {
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ns_input_title {
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ns_input_title {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
height: 48px !important;
|
|
12
|
-
font-size: 16px !important;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
width: 310px !important;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input span {
|
|
18
|
-
color: #000 !important;
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.ns_input_icon {
|
|
23
|
-
position: absolute;
|
|
24
|
-
right: 20px;
|
|
25
|
-
top: 51%;
|
|
26
|
-
z-index: 1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ns_input_title {
|
|
30
|
-
color: #fff;
|
|
31
|
-
font-size: 16px;
|
|
32
|
-
font-weight: 400;
|
|
33
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 33%;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ns_input_title {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.ns_input_form {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
max-width: 100%;
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
border: 1px solid rgba(47, 0, 236, 0.6);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ns_input_icon {
|
|
19
|
-
position: absolute;
|
|
20
|
-
right: 20px;
|
|
21
|
-
top: 34%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ns_input_title {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ns_input_title {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
padding: 8px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ns_input {
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
padding: 10px 12px;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
font-weight: 400;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ns_input_icon {
|
|
19
|
-
position: absolute;
|
|
20
|
-
right: 20px;
|
|
21
|
-
top: 51%;
|
|
22
|
-
z-index: 1;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ns_input_title {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
font-weight: 400;
|
|
28
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ns_input_title {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 326px;
|
|
5
|
-
color: #fff;
|
|
6
|
-
position: relative;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_input {
|
|
11
|
-
border-radius: 8px;
|
|
12
|
-
padding: 10px 12px;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_input_icon {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 20px;
|
|
20
|
-
top: 51%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ns_input_title {
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
}
|