namirasoft-site-react 1.2.39 → 1.2.40

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.
Files changed (178) hide show
  1. package/.gitlab-ci.yml +14 -14
  2. package/config-overrides.js +65 -65
  3. package/dist/App.css +0 -0
  4. package/dist/App.js +1 -1
  5. package/dist/App.js.map +1 -1
  6. package/dist/assets/images/arrow.svg +3 -3
  7. package/dist/assets/images/background.svg +9 -0
  8. package/dist/assets/images/danger.svg +3 -3
  9. package/dist/assets/images/exit.svg +3 -3
  10. package/dist/assets/images/icon-input-date.svg +9 -9
  11. package/dist/assets/images/icon-input-duration.svg +9 -9
  12. package/dist/assets/images/icon-input-email.svg +9 -9
  13. package/dist/assets/images/icon-input-float.svg +9 -9
  14. package/dist/assets/images/icon-input-id.svg +9 -9
  15. package/dist/assets/images/icon-input-integer.svg +9 -9
  16. package/dist/assets/images/icon-input-phone.svg +9 -9
  17. package/dist/assets/images/icon-input-price.svg +9 -9
  18. package/dist/assets/images/icon-input-search.svg +4 -4
  19. package/dist/assets/images/icon-input-string.svg +9 -9
  20. package/dist/assets/images/icon-input-text.svg +9 -9
  21. package/dist/assets/images/icon-input-time.svg +9 -9
  22. package/dist/assets/images/left-vector.png +0 -0
  23. package/dist/assets/images/left_vector.png +0 -0
  24. package/dist/assets/images/logo.svg +9 -9
  25. package/dist/assets/images/menu.svg +3 -3
  26. package/dist/assets/images/namira.svg +9 -9
  27. package/dist/assets/images/rectangle.svg +3 -3
  28. package/dist/assets/images/right-vector.png +0 -0
  29. package/dist/assets/images/right_vector.png +0 -0
  30. package/dist/components/NSButtonGreen.js +1 -1
  31. package/dist/components/NSButtonGreen.js.map +1 -1
  32. package/dist/components/NSButtonRed.js +1 -1
  33. package/dist/components/NSButtonRed.js.map +1 -1
  34. package/dist/components/NSCard.js +2 -2
  35. package/dist/components/NSCard.js.map +1 -1
  36. package/dist/components/NSFooter.js +4 -4
  37. package/dist/components/NSFooter.js.map +1 -1
  38. package/dist/components/NSHeader.d.ts +1 -1
  39. package/dist/components/NSHeader.js +48 -43
  40. package/dist/components/NSHeader.js.map +1 -1
  41. package/dist/components/NSInputDate.js +1 -1
  42. package/dist/components/NSInputDate.js.map +1 -1
  43. package/dist/components/NSInputDuration.js +1 -1
  44. package/dist/components/NSInputDuration.js.map +1 -1
  45. package/dist/components/NSInputEmail.js +1 -1
  46. package/dist/components/NSInputEmail.js.map +1 -1
  47. package/dist/components/NSInputEmail.module.css +37 -37
  48. package/dist/components/NSInputFloat.js +1 -1
  49. package/dist/components/NSInputFloat.js.map +1 -1
  50. package/dist/components/NSInputFloat.module.css +25 -25
  51. package/dist/components/NSInputIP.js +1 -1
  52. package/dist/components/NSInputIP.js.map +1 -1
  53. package/dist/components/NSInputIP.module.css +25 -25
  54. package/dist/components/NSInputInteger.js +1 -1
  55. package/dist/components/NSInputInteger.js.map +1 -1
  56. package/dist/components/NSInputInteger.module.css +25 -25
  57. package/dist/components/NSInputPhone.js +1 -1
  58. package/dist/components/NSInputPhone.js.map +1 -1
  59. package/dist/components/NSInputPhone.module.css +32 -32
  60. package/dist/components/NSInputPrice.js +1 -1
  61. package/dist/components/NSInputPrice.js.map +1 -1
  62. package/dist/components/NSInputPrice.module.css +26 -26
  63. package/dist/components/NSInputSearch.js +1 -1
  64. package/dist/components/NSInputSearch.js.map +1 -1
  65. package/dist/components/NSInputSearch.module.css +25 -25
  66. package/dist/components/NSInputString.js +1 -1
  67. package/dist/components/NSInputString.js.map +1 -1
  68. package/dist/components/NSInputString.module.css +26 -26
  69. package/dist/components/NSInputText.js +1 -1
  70. package/dist/components/NSInputText.js.map +1 -1
  71. package/dist/components/NSInputText.module.css +27 -27
  72. package/dist/components/NSInputTime.js +1 -1
  73. package/dist/components/NSInputTime.js.map +1 -1
  74. package/dist/components/NSInputTime.module.css +26 -26
  75. package/dist/components/NSLayout.js +1 -1
  76. package/dist/components/NSLayout.js.map +1 -1
  77. package/dist/components/NSLayout.module.css +16 -16
  78. package/dist/components/NSLayoutHeroBanner.js +1 -1
  79. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  80. package/dist/components/NSLayoutHeroBanner.module.css +43 -43
  81. package/dist/components/NSLayoutTitle.js +1 -1
  82. package/dist/components/NSLayoutTitle.js.map +1 -1
  83. package/dist/components/NSLinkGreen.js +1 -1
  84. package/dist/components/NSLinkGreen.js.map +1 -1
  85. package/dist/components/NSLinkGreen.module.css +15 -15
  86. package/dist/components/NSLinkRed.js +1 -1
  87. package/dist/components/NSLinkRed.js.map +1 -1
  88. package/dist/components/NSLinkRed.module.css +15 -15
  89. package/dist/components/NSPagination.js +7 -7
  90. package/dist/components/NSPagination.js.map +1 -1
  91. package/dist/components/NSPagination.module.css +24 -24
  92. package/dist/components/NSParentCard.d.ts +0 -0
  93. package/dist/components/NSParentCard.js +2 -0
  94. package/dist/components/NSParentCard.js.map +1 -0
  95. package/dist/components/NSParentCard.module.css +34 -34
  96. package/dist/components/NSSelectBox.js +1 -1
  97. package/dist/components/NSSelectBox.js.map +1 -1
  98. package/dist/components/NSSelectBox.module.css +28 -28
  99. package/dist/components/NSTable.js +1 -1
  100. package/dist/components/NSTable.js.map +1 -1
  101. package/dist/components/NSTable.modules.css +76 -76
  102. package/dist/index.css +6 -0
  103. package/dist/main.js.map +1 -1
  104. package/dist/pages/NSLoginPage.js +1 -1
  105. package/dist/pages/NSLoginPage.js.map +1 -1
  106. package/package.json +52 -52
  107. package/public/index.html +42 -42
  108. package/public/manifest.json +25 -25
  109. package/public/robots.txt +3 -3
  110. package/src/App.tsx +70 -70
  111. package/src/assets/images/arrow.svg +3 -3
  112. package/src/assets/images/danger.svg +3 -3
  113. package/src/assets/images/exit.svg +3 -3
  114. package/src/assets/images/icon-input-date.svg +9 -9
  115. package/src/assets/images/icon-input-duration.svg +9 -9
  116. package/src/assets/images/icon-input-email.svg +9 -9
  117. package/src/assets/images/icon-input-float.svg +9 -9
  118. package/src/assets/images/icon-input-id.svg +9 -9
  119. package/src/assets/images/icon-input-integer.svg +9 -9
  120. package/src/assets/images/icon-input-phone.svg +9 -9
  121. package/src/assets/images/icon-input-price.svg +9 -9
  122. package/src/assets/images/icon-input-search.svg +4 -4
  123. package/src/assets/images/icon-input-string.svg +9 -9
  124. package/src/assets/images/icon-input-text.svg +9 -9
  125. package/src/assets/images/icon-input-time.svg +9 -9
  126. package/src/assets/images/logo.svg +9 -9
  127. package/src/assets/images/menu.svg +3 -3
  128. package/src/assets/images/namira.svg +9 -9
  129. package/src/assets/images/rectangle.svg +3 -3
  130. package/src/components/NSButtonGreen.tsx +33 -33
  131. package/src/components/NSButtonRed.tsx +33 -33
  132. package/src/components/NSCard.tsx +54 -54
  133. package/src/components/NSFooter.tsx +123 -123
  134. package/src/components/NSHeader.tsx +122 -130
  135. package/src/components/NSInputDate.tsx +57 -57
  136. package/src/components/NSInputDuration.tsx +65 -65
  137. package/src/components/NSInputEmail.module.css +37 -37
  138. package/src/components/NSInputEmail.tsx +92 -92
  139. package/src/components/NSInputFloat.module.css +25 -25
  140. package/src/components/NSInputFloat.tsx +61 -61
  141. package/src/components/NSInputIP.module.css +25 -25
  142. package/src/components/NSInputIP.tsx +65 -65
  143. package/src/components/NSInputInteger.module.css +25 -25
  144. package/src/components/NSInputInteger.tsx +65 -65
  145. package/src/components/NSInputPhone.module.css +32 -32
  146. package/src/components/NSInputPhone.tsx +65 -65
  147. package/src/components/NSInputPrice.module.css +26 -26
  148. package/src/components/NSInputPrice.tsx +68 -68
  149. package/src/components/NSInputSearch.module.css +25 -25
  150. package/src/components/NSInputSearch.tsx +78 -78
  151. package/src/components/NSInputString.module.css +26 -26
  152. package/src/components/NSInputString.tsx +66 -66
  153. package/src/components/NSInputText.module.css +27 -27
  154. package/src/components/NSInputText.tsx +69 -69
  155. package/src/components/NSInputTime.module.css +26 -26
  156. package/src/components/NSInputTime.tsx +65 -65
  157. package/src/components/NSLayout.module.css +16 -16
  158. package/src/components/NSLayout.tsx +31 -29
  159. package/src/components/NSLayoutHeroBanner.module.css +43 -43
  160. package/src/components/NSLayoutHeroBanner.tsx +85 -85
  161. package/src/components/NSLayoutTitle.tsx +25 -25
  162. package/src/components/NSLinkGreen.module.css +15 -15
  163. package/src/components/NSLinkGreen.tsx +43 -43
  164. package/src/components/NSLinkRed.module.css +15 -15
  165. package/src/components/NSLinkRed.tsx +43 -43
  166. package/src/components/NSPagination.module.css +24 -24
  167. package/src/components/NSPagination.tsx +54 -54
  168. package/src/components/NSParentCard.module.css +34 -34
  169. package/src/components/NSParentCard.tsx.temp +58 -58
  170. package/src/components/NSSelectBox.module.css +28 -28
  171. package/src/components/NSSelectBox.tsx +62 -62
  172. package/src/components/NSTable.modules.css +76 -76
  173. package/src/components/NSTable.tsx +64 -64
  174. package/src/index.tsx +7 -7
  175. package/src/main.ts +25 -26
  176. package/src/pages/NSLoginPage.tsx +39 -39
  177. package/src/react-app-env.d.ts +1 -1
  178. package/tsconfig.json +37 -37
@@ -12,7 +12,7 @@ export class NSLoginPage extends Component {
12
12
  button = _jsx(NSLinkGreen, { title: "Login", href: (_a = this.props.href) !== null && _a !== void 0 ? _a : "" });
13
13
  else if (this.props.onClick)
14
14
  button = _jsx(NSButtonGreen, { title: "Login", onClick: this.props.onClick });
15
- return (_jsx("div", Object.assign({ style: { backgroundImage: this.props.background } }, { children: _jsxs("div", Object.assign({ className: "d-flex flex-column align-items-center justify-content-center", style: { marginTop: "100px" } }, { children: [_jsx("div", Object.assign({ className: "m-auto" }, { children: _jsx("img", { width: 256, height: 256, src: this.props.logo, alt: "logo" }) })), _jsx("div", { children: _jsx("h1", Object.assign({ className: "text-light text-center mb-3" }, { children: this.props.title })) }), _jsx("div", Object.assign({ className: "m-auto" }, { children: button }))] })) })));
15
+ return (_jsx("div", { style: { backgroundImage: this.props.background }, children: _jsxs("div", { className: "d-flex flex-column align-items-center justify-content-center", style: { marginTop: "100px" }, children: [_jsx("div", { className: "m-auto", children: _jsx("img", { width: 256, height: 256, src: this.props.logo, alt: "logo" }) }), _jsx("div", { children: _jsx("h1", { className: "text-light text-center mb-3", children: this.props.title }) }), _jsx("div", { className: "m-auto", children: button })] }) }));
16
16
  }
17
17
  }
18
18
  //# sourceMappingURL=NSLoginPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAWtC,MAAM,OAAO,WAAY,SAAQ,SAAiB;IAErC,MAAM;;QAEX,IAAI,MAAM,GAAG,mBAAK,CAAC;QACnB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI;YACf,MAAM,GAAG,KAAC,WAAW,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,mCAAI,EAAE,GAAI,CAAC;aACnE,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO;YACvB,MAAM,GAAG,KAAC,aAAa,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAI,CAAC;QAC1E,OAAO,CACH,4BAAK,KAAK,EAAE,EAAE,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,gBAClD,6BAAK,SAAS,EAAC,8DAA8D,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,iBACvG,4BAAK,SAAS,EAAC,QAAQ,gBACnB,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,EAAC,MAAM,GAAO,IACnE,EACN,wBAAK,2BAAI,SAAS,EAAC,6BAA6B,gBAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAM,GAAM,EAC9E,4BAAK,SAAS,EAAC,QAAQ,gBAClB,MAAM,IACL,KACJ,IACJ,CACT,CAAC;IACN,CAAC;CACJ"}
1
+ {"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAWtC,MAAM,OAAO,WAAY,SAAQ,SAAiB;IAErC,MAAM;;QAEX,IAAI,MAAM,GAAG,mBAAK,CAAC;QACnB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI;YACf,MAAM,GAAG,KAAC,WAAW,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,mCAAI,EAAE,GAAI,CAAC;aACnE,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO;YACvB,MAAM,GAAG,KAAC,aAAa,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,GAAI,CAAC;QAC1E,OAAO,CACH,cAAK,KAAK,EAAE,EAAE,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,YAClD,eAAK,SAAS,EAAC,8DAA8D,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,aACvG,cAAK,SAAS,EAAC,QAAQ,YACnB,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,EAAC,MAAM,GAAO,GACnE,EACN,wBAAK,aAAI,SAAS,EAAC,6BAA6B,YAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAM,GAAM,EAC9E,cAAK,SAAS,EAAC,QAAQ,YAClB,MAAM,GACL,IACJ,GACJ,CACT,CAAC;IACN,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "namirasoft-site-react",
3
- "version": "1.2.39",
4
- "main": "./dist/main.js",
5
- "types": "./dist/main.d.ts",
6
- "dependencies": {
7
- "@types/node": "^20.11.17",
8
- "@types/react": "^18.2.55",
9
- "@types/react-dom": "^18.2.19",
10
- "antd": "^5.14.0",
11
- "bootstrap": "^5.3.2",
12
- "link-react": "^3.0.0",
13
- "namirasoft-api-link": "^1.2.3",
14
- "namirasoft-core": "^1.2.5",
15
- "path-browserify": "^1.0.1",
16
- "react": "^18.2.0",
17
- "react-app-rewired": "^2.2.1",
18
- "react-bootstrap": "^2.10.1",
19
- "react-dom": "^18.2.0",
20
- "react-phone-input-2": "^2.15.1",
21
- "react-phone-number-input": "^3.3.9",
22
- "react-router-dom": "^6.22.0",
23
- "react-scripts": "5.0.1"
24
- },
25
- "scripts": {
26
- "start": "react-app-rewired start",
27
- "build": "npm run copy && tsc",
28
- "test": "react-app-rewired test",
29
- "eject": "react-app-rewired eject",
30
- "copy": "copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.svg src/**/*.png src/**/*.jpg dist/"
31
- },
32
- "eslintConfig": {
33
- "extends": [
34
- "react-app",
35
- "react-app/jest"
36
- ]
37
- },
38
- "browserslist": {
39
- "production": [
40
- ">0.2%",
41
- "not dead",
42
- "not op_mini all"
43
- ],
44
- "development": [
45
- "last 1 chrome version",
46
- "last 1 firefox version",
47
- "last 1 safari version"
48
- ]
49
- },
50
- "devDependencies": {
51
- "copyfiles": "^2.4.1"
52
- }
1
+ {
2
+ "name": "namirasoft-site-react",
3
+ "version": "1.2.40",
4
+ "main": "./dist/main.js",
5
+ "types": "./dist/main.d.ts",
6
+ "dependencies": {
7
+ "@types/node": "^20.11.17",
8
+ "@types/react": "^18.2.55",
9
+ "@types/react-dom": "^18.2.19",
10
+ "antd": "^5.14.0",
11
+ "bootstrap": "^5.3.2",
12
+ "link-react": "^3.0.0",
13
+ "namirasoft-api-link": "^1.2.3",
14
+ "namirasoft-core": "^1.2.5",
15
+ "path-browserify": "^1.0.1",
16
+ "react": "^18.2.0",
17
+ "react-app-rewired": "^2.2.1",
18
+ "react-bootstrap": "^2.10.1",
19
+ "react-dom": "^18.2.0",
20
+ "react-phone-input-2": "^2.15.1",
21
+ "react-phone-number-input": "^3.3.9",
22
+ "react-router-dom": "^6.22.0",
23
+ "react-scripts": "5.0.1"
24
+ },
25
+ "scripts": {
26
+ "start": "react-app-rewired start",
27
+ "build": "npm run copy && tsc",
28
+ "test": "react-app-rewired test",
29
+ "eject": "react-app-rewired eject",
30
+ "copy": "copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.svg src/**/*.png src/**/*.jpg dist/"
31
+ },
32
+ "eslintConfig": {
33
+ "extends": [
34
+ "react-app",
35
+ "react-app/jest"
36
+ ]
37
+ },
38
+ "browserslist": {
39
+ "production": [
40
+ ">0.2%",
41
+ "not dead",
42
+ "not op_mini all"
43
+ ],
44
+ "development": [
45
+ "last 1 chrome version",
46
+ "last 1 firefox version",
47
+ "last 1 safari version"
48
+ ]
49
+ },
50
+ "devDependencies": {
51
+ "copyfiles": "^2.4.1"
52
+ }
53
53
  }
package/public/index.html CHANGED
@@ -1,43 +1,43 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="utf-8" />
6
- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
- <meta name="theme-color" content="#000000" />
9
- <meta name="description" content="Web site created using create-react-app" />
10
- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11
- <!--
12
- manifest.json provides metadata used when your web app is installed on a
13
- user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14
- -->
15
- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16
- <!--
17
- Notice the use of %PUBLIC_URL% in the tags above.
18
- It will be replaced with the URL of the `public` folder during the build.
19
- Only files inside the `public` folder can be referenced from the HTML.
20
-
21
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22
- work correctly both with client-side routing and a non-root public URL.
23
- Learn how to configure a non-root public URL by running `npm run build`.
24
- -->
25
- <title>React App</title>
26
- </head>
27
-
28
- <body>
29
- <noscript>You need to enable JavaScript to run this app.</noscript>
30
- <div id="root"></div>
31
-
32
- <!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
33
- integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
34
- crossorigin="anonymous"></script>
35
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"
36
- integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
37
- crossorigin="anonymous"></script>
38
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"
39
- integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
40
- crossorigin="anonymous"></script> -->
41
- </body>
42
-
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <meta name="theme-color" content="#000000" />
9
+ <meta name="description" content="Web site created using create-react-app" />
10
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11
+ <!--
12
+ manifest.json provides metadata used when your web app is installed on a
13
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14
+ -->
15
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16
+ <!--
17
+ Notice the use of %PUBLIC_URL% in the tags above.
18
+ It will be replaced with the URL of the `public` folder during the build.
19
+ Only files inside the `public` folder can be referenced from the HTML.
20
+
21
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22
+ work correctly both with client-side routing and a non-root public URL.
23
+ Learn how to configure a non-root public URL by running `npm run build`.
24
+ -->
25
+ <title>React App</title>
26
+ </head>
27
+
28
+ <body>
29
+ <noscript>You need to enable JavaScript to run this app.</noscript>
30
+ <div id="root"></div>
31
+
32
+ <!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
33
+ integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
34
+ crossorigin="anonymous"></script>
35
+ <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"
36
+ integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
37
+ crossorigin="anonymous"></script>
38
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"
39
+ integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
40
+ crossorigin="anonymous"></script> -->
41
+ </body>
42
+
43
43
  </html>
@@ -1,25 +1,25 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
1
+ {
2
+ "short_name": "React App",
3
+ "name": "Create React App Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#000000",
24
+ "background_color": "#ffffff"
25
+ }
package/public/robots.txt CHANGED
@@ -1,3 +1,3 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow:
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
package/src/App.tsx CHANGED
@@ -1,71 +1,71 @@
1
- import './App.css';
2
- import 'bootstrap/dist/css/bootstrap.min.css';
3
- // import { NSInputText } from './components/NSInputText';
4
- // import { NSInputInteger } from './components/NSInputInteger';
5
- // import { NSInputFloat } from './components/NSInputFloat';
6
- // import { NSInputPrice } from './components/NSInputPrice';
7
- // import { NSInputDate } from './components/NSInputDate';
8
- // import { NSInputTime } from './components/NSInputTime';
9
- // import { NSInputDuration } from './components/NSInputDuration';
10
- // import { NSInputString } from './components/NSInputString';
11
- // import { NSInputIP } from './components/NSInputIP';
12
- // import { NSInputEmail } from './components/NSInputEmail';
13
- // import { NSInputSearch } from './components/NSInputSearch';
14
- // import { NSInputPhone } from './components/NSInputPhone';
15
- // import { NSButtonGreen } from './components/NSButtonGreen';
16
- import { NSButtonRed } from './components/NSButtonRed';
17
- // import { NSSelectBox } from './components/NSSelectBox';
18
- // import { type SelectProps } from 'antd';
19
- import { NSLayout, NSPagination } from './main';
20
-
21
- export function App()
22
- {
23
- // const options: SelectProps['options'] = [
24
- // {
25
- // label: 'Test1',
26
- // value: 'test1',
27
- // desc: 'Test1',
28
- // },
29
- // {
30
- // label: 'Test2',
31
- // value: 'test2',
32
- // desc: 'Test2',
33
- // },
34
- // {
35
- // label: 'Test3',
36
- // value: 'test3',
37
- // desc: 'Test3',
38
- // },
39
- // {
40
- // label: 'Test4',
41
- // value: 'test4',
42
- // desc: 'Test4',
43
- // },
44
- // ];
45
-
46
- return (
47
- <div className="App">
48
- <NSLayout scope='Namirasoft SOP console' logo=''>
49
- <div className='my-4 container'>
50
- {/* <NSInputText title='Text' />
51
- <NSInputInteger title='Integer' />
52
- <NSInputFloat title='Floating Point' />
53
- <NSInputPrice title='Price' />
54
- <NSInputDate title='Date' />
55
- <NSInputTime title='Time' />
56
- <NSInputDuration title='Duration' />
57
- <NSInputString title='String' />
58
- <NSInputIP title='IP' />
59
- <NSInputEmail title='Email' />
60
- <NSInputSearch title='Search' />
61
- <NSInputPhone title='Phone' />
62
- <NSSelectBox title="t" options={options} />
63
- <NSButtonGreen title='Save' onClick={() => { }} /> */}
64
- <NSButtonRed title='Delete' onClick={() => { }} />
65
- <NSPagination page={1} size={25} />
66
- </div>
67
- asdasd
68
- </NSLayout>
69
- </div>
70
- );
1
+ import './App.css';
2
+ import 'bootstrap/dist/css/bootstrap.min.css';
3
+ // import { NSInputText } from './components/NSInputText';
4
+ // import { NSInputInteger } from './components/NSInputInteger';
5
+ // import { NSInputFloat } from './components/NSInputFloat';
6
+ // import { NSInputPrice } from './components/NSInputPrice';
7
+ // import { NSInputDate } from './components/NSInputDate';
8
+ // import { NSInputTime } from './components/NSInputTime';
9
+ // import { NSInputDuration } from './components/NSInputDuration';
10
+ // import { NSInputString } from './components/NSInputString';
11
+ // import { NSInputIP } from './components/NSInputIP';
12
+ // import { NSInputEmail } from './components/NSInputEmail';
13
+ // import { NSInputSearch } from './components/NSInputSearch';
14
+ // import { NSInputPhone } from './components/NSInputPhone';
15
+ // import { NSButtonGreen } from './components/NSButtonGreen';
16
+ import { NSButtonRed } from './components/NSButtonRed';
17
+ // import { NSSelectBox } from './components/NSSelectBox';
18
+ // import { type SelectProps } from 'antd';
19
+ import { NSLayout, NSPagination } from './main';
20
+
21
+ export function App()
22
+ {
23
+ // const options: SelectProps['options'] = [
24
+ // {
25
+ // label: 'Test1',
26
+ // value: 'test1',
27
+ // desc: 'Test1',
28
+ // },
29
+ // {
30
+ // label: 'Test2',
31
+ // value: 'test2',
32
+ // desc: 'Test2',
33
+ // },
34
+ // {
35
+ // label: 'Test3',
36
+ // value: 'test3',
37
+ // desc: 'Test3',
38
+ // },
39
+ // {
40
+ // label: 'Test4',
41
+ // value: 'test4',
42
+ // desc: 'Test4',
43
+ // },
44
+ // ];
45
+
46
+ return (
47
+ <div className="App">
48
+ <NSLayout scope='Namirasoft SOP console' logo=''>
49
+ <div className='my-4 container'>
50
+ {/* <NSInputText title='Text' />
51
+ <NSInputInteger title='Integer' />
52
+ <NSInputFloat title='Floating Point' />
53
+ <NSInputPrice title='Price' />
54
+ <NSInputDate title='Date' />
55
+ <NSInputTime title='Time' />
56
+ <NSInputDuration title='Duration' />
57
+ <NSInputString title='String' />
58
+ <NSInputIP title='IP' />
59
+ <NSInputEmail title='Email' />
60
+ <NSInputSearch title='Search' />
61
+ <NSInputPhone title='Phone' />
62
+ <NSSelectBox title="t" options={options} />
63
+ <NSButtonGreen title='Save' onClick={() => { }} /> */}
64
+ <NSButtonRed title='Delete' onClick={() => { }} />
65
+ <NSPagination page={1} size={25} />
66
+ </div>
67
+ asdasd
68
+ </NSLayout>
69
+ </div>
70
+ );
71
71
  }
@@ -1,3 +1,3 @@
1
- <svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10 16L0.473722 0.249998L19.5263 0.25L10 16Z" fill="#848484"/>
3
- </svg>
1
+ <svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10 16L0.473722 0.249998L19.5263 0.25L10 16Z" fill="#848484"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M6.5 0C10.0899 0 13 2.9107 13 6.5C13 10.0893 10.0899 13 6.5 13C2.91005 13 0 10.0893 0 6.5C0 2.9107 2.91005 0 6.5 0ZM6.33272 3.35661C6.24576 3.35386 6.15914 3.36861 6.07799 3.39999C5.99684 3.43137 5.92283 3.47873 5.86034 3.53927C5.79786 3.59981 5.74817 3.67229 5.71424 3.75241C5.68031 3.83252 5.66283 3.91864 5.66283 4.00564C5.66283 4.09264 5.68031 4.17876 5.71424 4.25887C5.74817 4.33899 5.79786 4.41147 5.86034 4.472C5.92283 4.53254 5.99684 4.57991 6.07799 4.61129C6.15914 4.64267 6.24576 4.65742 6.33272 4.65466C6.5013 4.64933 6.66119 4.57861 6.77855 4.45748C6.89591 4.33634 6.96153 4.1743 6.96153 4.00564C6.96153 3.83698 6.89591 3.67493 6.77855 3.5538C6.66119 3.43267 6.5013 3.36195 6.33272 3.35661ZM6.33142 5.04839C6.17212 5.04843 6.01837 5.10697 5.89938 5.21289C5.7804 5.31882 5.70445 5.46476 5.68597 5.62299L5.68142 5.69839L5.68272 8.94904L5.68727 9.02509C5.70606 9.18307 5.78214 9.32867 5.9011 9.43432C6.02006 9.53996 6.17363 9.59831 6.33272 9.59831C6.49182 9.59831 6.64539 9.53996 6.76435 9.43432C6.8833 9.32867 6.95938 9.18307 6.97817 9.02509L6.98272 8.94904L6.98142 5.69839L6.97687 5.62234C6.95825 5.46422 6.88224 5.31844 6.76326 5.21265C6.64429 5.10686 6.49063 5.04841 6.33142 5.04839Z" fill="#FF3F3F"/>
3
- </svg>
1
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.5 0C10.0899 0 13 2.9107 13 6.5C13 10.0893 10.0899 13 6.5 13C2.91005 13 0 10.0893 0 6.5C0 2.9107 2.91005 0 6.5 0ZM6.33272 3.35661C6.24576 3.35386 6.15914 3.36861 6.07799 3.39999C5.99684 3.43137 5.92283 3.47873 5.86034 3.53927C5.79786 3.59981 5.74817 3.67229 5.71424 3.75241C5.68031 3.83252 5.66283 3.91864 5.66283 4.00564C5.66283 4.09264 5.68031 4.17876 5.71424 4.25887C5.74817 4.33899 5.79786 4.41147 5.86034 4.472C5.92283 4.53254 5.99684 4.57991 6.07799 4.61129C6.15914 4.64267 6.24576 4.65742 6.33272 4.65466C6.5013 4.64933 6.66119 4.57861 6.77855 4.45748C6.89591 4.33634 6.96153 4.1743 6.96153 4.00564C6.96153 3.83698 6.89591 3.67493 6.77855 3.5538C6.66119 3.43267 6.5013 3.36195 6.33272 3.35661ZM6.33142 5.04839C6.17212 5.04843 6.01837 5.10697 5.89938 5.21289C5.7804 5.31882 5.70445 5.46476 5.68597 5.62299L5.68142 5.69839L5.68272 8.94904L5.68727 9.02509C5.70606 9.18307 5.78214 9.32867 5.9011 9.43432C6.02006 9.53996 6.17363 9.59831 6.33272 9.59831C6.49182 9.59831 6.64539 9.53996 6.76435 9.43432C6.8833 9.32867 6.95938 9.18307 6.97817 9.02509L6.98272 8.94904L6.98142 5.69839L6.97687 5.62234C6.95825 5.46422 6.88224 5.31844 6.76326 5.21265C6.64429 5.10686 6.49063 5.04841 6.33142 5.04839Z" fill="#FF3F3F"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.22173C0 0.999778 0.999778 0 2.22173 0H11.1086V2.22173H2.22173V17.7738H11.1086V19.9956H2.22173C0.999778 19.9956 0 18.9958 0 17.7738V2.22173ZM15.7476 8.88691L12.9305 6.06976L14.5012 4.499L20 9.99778L14.5012 15.4966L12.9305 13.9258L15.7476 11.1086H8.43146V8.88691H15.7476Z" fill="white"/>
3
- </svg>
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 2.22173C0 0.999778 0.999778 0 2.22173 0H11.1086V2.22173H2.22173V17.7738H11.1086V19.9956H2.22173C0.999778 19.9956 0 18.9958 0 17.7738V2.22173ZM15.7476 8.88691L12.9305 6.06976L14.5012 4.499L20 9.99778L14.5012 15.4966L12.9305 13.9258L15.7476 11.1086H8.43146V8.88691H15.7476Z" fill="white"/>
3
+ </svg>