namirasoft-site-react 1.4.4 → 1.4.6
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/components/NSDialog.js.map +1 -1
- package/dist/components/NSDialog.module.css +30 -0
- package/dist/components/NSPageSelectionModal.module.css +6 -1
- package/package.json +3 -3
- package/src/components/NSDialog.module.css +30 -0
- package/src/components/NSDialog.tsx +2 -1
- package/src/components/NSPageSelectionModal.module.css +6 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,MAAM,UAAU,QAAQ,CAAC,KAAoB;;IAE5C,OAAO,CACN,mBACC,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"NSDialog.js","sourceRoot":"","sources":["../../src/components/NSDialog.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAS3C,MAAM,UAAU,QAAQ,CAAC,KAAoB;;IAE5C,OAAO,CACN,mBACC,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC,mBAAmB,aAG/F,cAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,GACrE,EACN,eACC,SAAS,EAAE,GAAG,MAAM,CAAC,iBAAiB,IAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EACtE,KAAK,oBACD,KAAK,CAAC,KAAK,cAGf,cACC,GAAG,EAAC,4DAA4D,EAChE,GAAG,EAAC,EAAE,EACN,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,KAAK,EACJ;4BACA,QAAQ,EAAE,UAAU;4BACpB,GAAG,EAAE,CAAC;4BACN,KAAK,EAAE,CAAC;4BACR,SAAS,EAAE,qBAAqB;4BAChC,MAAM,EAAE,SAAS;yBACjB,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,GAAI,EACnC,cAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,YACvC,KAAK,CAAC,QAAQ,GACV,IACD,IACI,CACX,CAAC;AACH,CAAC"}
|
|
@@ -13,6 +13,36 @@
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.ns_dialog_center_container {
|
|
17
|
+
background-color: #00000080;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
position: fixed;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
z-index: 99;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ns_dialog_background {
|
|
32
|
+
background-color: #00000080;
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
position: fixed;
|
|
36
|
+
top: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
z-index: 99;
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
16
46
|
.ns_dialog_content {
|
|
17
47
|
border: 8px solid rgb(233, 232, 232);
|
|
18
48
|
border-radius: 24px;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
left: 50%;
|
|
13
13
|
transform: translate(-50%, -50%);
|
|
14
14
|
z-index: 3;
|
|
15
|
+
width: 100%;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.ns_header_print {
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
.ns_parent_checkboxs {
|
|
43
44
|
display: flex;
|
|
44
45
|
flex-wrap: wrap;
|
|
45
|
-
justify-content:
|
|
46
|
+
justify-content: center;
|
|
46
47
|
gap: 8px;
|
|
47
48
|
}
|
|
48
49
|
|
|
@@ -64,6 +65,10 @@
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
@media only screen and (min-width: 768px) {
|
|
68
|
+
.ns_parent_checkboxs {
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
.ns_print_container {
|
|
68
73
|
max-width: 590px;
|
|
69
74
|
}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
11
|
+
"version": "1.4.6",
|
|
12
12
|
"author": "Amir Abolhasani, Alireza Esmaeeli",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"link-react": "^3.0.0",
|
|
34
34
|
"namirasoft-api-link": "^1.4.4",
|
|
35
35
|
"namirasoft-api-product": "^1.4.4",
|
|
36
|
-
"namirasoft-core": "^1.4.
|
|
36
|
+
"namirasoft-core": "^1.4.8",
|
|
37
37
|
"path-browserify": "^1.0.1",
|
|
38
38
|
"react": "^18.3.1",
|
|
39
39
|
"react-app-rewired": "^2.2.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react-chartjs-2": "^5.2.0",
|
|
42
42
|
"react-dom": "^18.3.1",
|
|
43
43
|
"react-phone-input-2": "^2.15.1",
|
|
44
|
-
"react-phone-number-input": "^3.4.
|
|
44
|
+
"react-phone-number-input": "^3.4.6",
|
|
45
45
|
"react-router-dom": "^6.26.2",
|
|
46
46
|
"react-scripts": "5.0.1",
|
|
47
47
|
"styled-components": "^6.1.13",
|
|
@@ -13,6 +13,36 @@
|
|
|
13
13
|
align-items: center;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.ns_dialog_center_container {
|
|
17
|
+
background-color: #00000080;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
position: fixed;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
z-index: 99;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ns_dialog_background {
|
|
32
|
+
background-color: #00000080;
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
position: fixed;
|
|
36
|
+
top: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
z-index: 99;
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
16
46
|
.ns_dialog_content {
|
|
17
47
|
border: 8px solid rgb(233, 232, 232);
|
|
18
48
|
border-radius: 24px;
|
|
@@ -15,7 +15,8 @@ export function NSDialog(props: NSDialogProps)
|
|
|
15
15
|
<section
|
|
16
16
|
id={props.id}
|
|
17
17
|
className={props.center_dialog ? Styles.ns_dialog_center_container : Styles.ns_dialog_container}
|
|
18
|
-
|
|
18
|
+
>
|
|
19
|
+
|
|
19
20
|
<div className={Styles.ns_dialog_background} onClick={() => props.onClose()}>
|
|
20
21
|
</div>
|
|
21
22
|
<div
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
left: 50%;
|
|
13
13
|
transform: translate(-50%, -50%);
|
|
14
14
|
z-index: 3;
|
|
15
|
+
width: 100%;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.ns_header_print {
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
.ns_parent_checkboxs {
|
|
43
44
|
display: flex;
|
|
44
45
|
flex-wrap: wrap;
|
|
45
|
-
justify-content:
|
|
46
|
+
justify-content: center;
|
|
46
47
|
gap: 8px;
|
|
47
48
|
}
|
|
48
49
|
|
|
@@ -64,6 +65,10 @@
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
@media only screen and (min-width: 768px) {
|
|
68
|
+
.ns_parent_checkboxs {
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
.ns_print_container {
|
|
68
73
|
max-width: 590px;
|
|
69
74
|
}
|