namirasoft-site-react 1.3.25 → 1.3.27

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 CHANGED
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import './App.css';
3
3
  import 'bootstrap/dist/css/bootstrap.min.css';
4
- import { NSButtonBlue, NSButtonBlueVector, NSInputCopy, NSLayoutTitle, NSPagination } from './main';
4
+ import { NSLayoutTitle } from './main';
5
5
  export function App() {
6
- return (_jsx("div", { className: "App", children: _jsxs(NSLayoutTitle, { scope: 'Namirasoft Account Console', logo: '', title: "Namirasoft", description: '', children: [_jsx(NSPagination, { page: 1, size: 25 }), _jsx(NSButtonBlue, { title: 'Apply', onClick: () => "" }), _jsx(NSButtonBlueVector, { title: 'New', onClick: () => "", vector: '/assets/images/add-vector.png' }), _jsx(NSInputCopy, { title: "Your Token" })] }) }));
6
+ return (_jsx("div", { className: "App", children: _jsx(NSLayoutTitle, { scope: 'Namirasoft Account Console', logo: '', title: "Namirasoft", description: '', children: _jsx("div", {}) }) }));
7
7
  }
8
8
  //# sourceMappingURL=App.js.map
package/dist/App.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEpG,MAAM,UAAU,GAAG;IAEf,OAAO,CACH,cAAK,SAAS,EAAC,KAAK,YAChB,MAAC,aAAa,IAAC,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,EAAE,EAAC,KAAK,EAAC,YAAY,EAAC,WAAW,EAAC,EAAE,aACvF,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,GAAI,EACnC,KAAC,YAAY,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,GAAI,EACjD,KAAC,kBAAkB,IAAC,KAAK,EAAC,KAAK,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAC,+BAA+B,GAAG,EAC5F,KAAC,WAAW,IAAC,KAAK,EAAC,YAAY,GAAG,IACtB,GACd,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,UAAU,GAAG;IAEf,OAAO,CACH,cAAK,SAAS,EAAC,KAAK,YAChB,KAAC,aAAa,IAAC,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,EAAE,EAAC,KAAK,EAAC,YAAY,EAAC,WAAW,EAAC,EAAE,YACvF,eAEM,GACM,GACd,CACT,CAAC;AACN,CAAC"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx } from "react/jsx-runtime";
2
3
  import { Component } from 'react';
3
4
  import Styles from './NSLoading.module.css';
@@ -1 +1 @@
1
- {"version":3,"file":"NSLoading.js","sourceRoot":"","sources":["../../src/components/NSLoading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,OAAO,SAAU,SAAQ,SAAyB;IAE9C,MAAM;QAEd,OAAO,CACN,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,YACtF,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,YACvC,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,GAAQ,GACnC,GACK,CACZ,CAAC;IACH,CAAC;CACD"}
1
+ {"version":3,"file":"NSLoading.js","sourceRoot":"","sources":["../../src/components/NSLoading.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,OAAO,SAAU,SAAQ,SAAyB;IAE9C,MAAM;QAEd,OAAO,CACN,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,YACtF,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,YACvC,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,GAAQ,GACnC,GACK,CACZ,CAAC;IACH,CAAC;CACD"}
@@ -11,7 +11,7 @@ export class NSSectionCards extends Component {
11
11
  var _a, _b, _c, _d, _e, _f;
12
12
  return (_jsx(_Fragment, { children: _jsx(NSSection, { background: this.props.background, padding_bottom: this.props.padding_bottom, children: _jsxs("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`, children: [this.props.title &&
13
13
  _jsxs("div", { className: Styles.ns_section_cards_title_container, children: [_jsx(NSTitle, { color: (_a = this.props.title) === null || _a === void 0 ? void 0 : _a.color, title: (_b = this.props.title) === null || _b === void 0 ? void 0 : _b.text }), this.props.description &&
14
- _jsxs("p", { style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.description, children: [" ", this.props.description.text, " "] })] }), _jsx("div", { className: ` ${Styles.ns_card_container}`, children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card), card.id)) }), this.props.button &&
14
+ _jsxs("p", { style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.ns_description, children: [" ", this.props.description.text, " "] })] }), _jsx("div", { className: ` ${Styles.ns_card_container}`, children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card), card.id)) }), this.props.button &&
15
15
  _jsx("div", { className: `mt-12 w-full- text-center ${Styles.ns_section_cards_link_container}`, children: _jsx(NSLinkBlue, { href: (_e = this.props.button) === null || _e === void 0 ? void 0 : _e.href, title: (_f = this.props.button) === null || _f === void 0 ? void 0 : _f.title }) })] }) }) }));
16
16
  }
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NSSectionCards.js","sourceRoot":"","sources":["../../src/components/NSSectionCards.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAsB1C,MAAM,OAAO,cAAe,SAAQ,SAA8B;IAExD,MAAM;;QAEd,OAAO,CACN,4BACC,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,YACtF,eAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,aAGjF,IAAI,CAAC,KAAK,CAAC,KAAK;4BAChB,eAAK,SAAS,EAAE,MAAM,CAAC,gCAAgC,aACtD,KAAC,OAAO,IAAC,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KA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CAAC;CACD"}
@@ -28,7 +28,8 @@
28
28
  text-align: center;
29
29
  }
30
30
 
31
- .description {
31
+ .ns_description {
32
+ text-align: center;
32
33
  font-style: normal;
33
34
  font-weight: inherit;
34
35
  font-size: 16px;
@@ -15,7 +15,7 @@ export class NSTable extends Component {
15
15
  }
16
16
  render() {
17
17
  let column_keys = Object.keys(this.state.columns);
18
- return (_jsxs("div", { className: Styles.project_list_container, children: [_jsxs("table", { className: Styles.table, children: [_jsx("thead", { className: Styles.thead, children: _jsx("tr", { children: column_keys.map(column_key => _jsx("th", { scope: "col", children: this.state.columns[column_key] }, column_key)) }) }), _jsx("tbody", { className: Styles.tbody, children: this.state.rows.map((row, rowIndex) => _jsx("tr", { children: column_keys.map((column, columnIndex) => (_jsx("td", Object.assign({}, this.props.getColumnAttributes(column, columnIndex), { children: this.props.getCell(row, column, rowIndex, columnIndex) })))) }, this.props.getRowKey(row, rowIndex))) })] }), _jsxs("div", { className: Styles.button_group_desktop, children: [_jsxs("button", { onClick: () => window.print(), className: Styles.export_button, children: [_jsx("img", { src: "/assets/images/export-vector.png", alt: "Export Table Data", width: 13, height: 16 }), "Export"] }), _jsxs("button", { onClick: () => window.location.reload(), className: Styles.refresh_button, children: [_jsx("img", { src: "/assets/images/refresh-vector.png", alt: "Refresh Table Contnet", width: 15, height: 16 }), "Refresh"] })] })] }));
18
+ return (_jsxs("div", { className: Styles.ns_project_list_container, children: [_jsxs("table", { className: Styles.ns_table, children: [_jsx("thead", { className: Styles.ns_thead, children: _jsx("tr", { children: column_keys.map(column_key => _jsx("th", { scope: "col", children: this.state.columns[column_key] }, column_key)) }) }), _jsx("tbody", { className: Styles.ns_tbody, children: this.state.rows.map((row, rowIndex) => _jsx("tr", { children: column_keys.map((column, columnIndex) => (_jsx("td", Object.assign({}, this.props.getColumnAttributes(column, columnIndex), { children: this.props.getCell(row, column, rowIndex, columnIndex) })))) }, this.props.getRowKey(row, rowIndex))) })] }), _jsxs("div", { className: Styles.ns_button_group_desktop, children: [_jsxs("button", { onClick: () => window.print(), className: Styles.ns_export_button, children: [_jsx("img", { src: "/assets/images/export-vector.png", alt: "Export Table Data", width: 13, height: 16 }), "Export"] }), _jsxs("button", { onClick: () => window.location.reload(), className: Styles.ns_refresh_button, children: [_jsx("img", { src: "/assets/images/refresh-vector.png", alt: "Refresh Table Contnet", width: 15, height: 16 }), "Refresh"] })] })] }));
19
19
  }
20
20
  }
21
21
  //# sourceMappingURL=NSTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSTable.js","sourceRoot":"","sources":["../../src/components/NSTable.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBlC,MAAM,OAAO,OAAiB,SAAQ,SAAuD;IAEzF,YAAY,KAA4B;QAEpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;IAC9D,CAAC;IACD,UAAU,CAAC,OAAkC;QAEzC,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,CAAC,IAAe;QAEnB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5B,CAAC;IACQ,MAAM;QAEX,IAAI,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAClD,OAAO,CACH,eAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,aACzC,iBAAO,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,gBAAO,SAAS,EAAE,MAAM,CAAC,KAAK,YAC1B,uBACK,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,aAAqB,KAAK,EAA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tD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,CAAC,IACtD,CACR,CAAC,IAND,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAQvC,CAAC,GAET,IACL,EACR,eAAK,SAAS,EAAE,MAAM,CAAC,uBAAuB,aAC1C,kBAAQ,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,gBAAgB,aAAE,cAAK,GAAG,EAAC,kCAAkC,EAAC,GAAG,EAAC,mBAAmB,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,cAAe,EACvL,kBAAQ,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,iBAAiB,aAAE,cAAK,GAAG,EAAC,mCAAmC,EAAC,GAAG,EAAC,uBAAuB,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,eAAgB,IACtM,IACH,CACV,CAAA;IACL,CAAC;CACJ"}
@@ -1,4 +1,4 @@
1
- .thead th {
1
+ .ns_thead th {
2
2
  background-color: rgba(20, 27, 92, 1);
3
3
  font-size: 16px;
4
4
  font-weight: 300;
@@ -7,7 +7,7 @@
7
7
  font-size: 16px;
8
8
  }
9
9
 
10
- .tbody td {
10
+ .ns_tbody td {
11
11
  background-color: rgb(173, 178, 206);
12
12
  color: rgba(20, 27, 92, 1);
13
13
  padding: 8px 16px;
@@ -17,17 +17,17 @@
17
17
 
18
18
  }
19
19
 
20
- table {
20
+ .ns_table {
21
21
  width: 100%;
22
22
  }
23
23
 
24
- .project_list_container {
24
+ .ns_project_list_container {
25
25
  text-align: left;
26
26
  border-top-left-radius: 8px;
27
27
  border-top-right-radius: 8px;
28
28
  }
29
29
 
30
- .button_group_desktop {
30
+ .ns_button_group_desktop {
31
31
  display: flex;
32
32
  flex-direction: row;
33
33
  justify-content: end;
@@ -35,7 +35,7 @@ table {
35
35
  padding: 24px 0;
36
36
  }
37
37
 
38
- .button_group_desktop button {
38
+ .ns_button_group_desktop button {
39
39
  display: flex;
40
40
  align-items: center;
41
41
  justify-content: center;
@@ -49,22 +49,22 @@ table {
49
49
  background-color: transparent;
50
50
  }
51
51
 
52
- .export_button {
52
+ .ns_export_button {
53
53
  border: 1px solid rgba(255, 148, 50, 1);
54
54
  }
55
55
 
56
- .refresh_button {
56
+ .ns_refresh_button {
57
57
  border: 1px solid rgba(3, 119, 255, 1);
58
58
  }
59
59
 
60
60
  @media only screen and (max-width:600px) {
61
- .project_list_container {
61
+ .ns_project_list_container {
62
62
  overflow: auto;
63
63
  }
64
64
  }
65
65
 
66
66
  /* table-satus */
67
- .inqueue_status {
67
+ .ns_inqueue_status {
68
68
  color: white;
69
69
  background-color: rgba(255, 148, 50, 1);
70
70
  font-size: 12px;
@@ -76,7 +76,7 @@ table {
76
76
  padding-top: 2px;
77
77
  }
78
78
 
79
- .reserving_status {
79
+ .ns_reserving_status {
80
80
  color: white;
81
81
  background-color: rgba(255, 79, 79, 1);
82
82
  font-size: 12px;
@@ -88,7 +88,7 @@ table {
88
88
  padding-top: 2px;
89
89
  }
90
90
 
91
- .done-status {
91
+ .ns_done-status {
92
92
  color: white;
93
93
  background-color: rgba(6, 209, 130, 1);
94
94
  font-size: 12px;
@@ -100,7 +100,7 @@ table {
100
100
  padding-top: 2px;
101
101
  }
102
102
 
103
- .inprogress_status {
103
+ .ns_inprogress_status {
104
104
  color: white;
105
105
  background-color: rgba(230, 208, 19, 1);
106
106
  font-size: 12px;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
3
  import { Component } from 'react';
3
4
  import Styles from './NSNotFoundPage.module.css';
@@ -1 +1 @@
1
- {"version":3,"file":"NSNotFoundPage.js","sourceRoot":"","sources":["../../src/pages/NSNotFoundPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,cAAe,SAAQ,SAAS;IAE5B,MAAM;QAEd,OAAO,CACN,8BACC,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,GAAQ,EAChD,KAAC,UAAU,IAAC,IAAI,EAAC,GAAG,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK,EAAC,cAAc,GAAE,UACxD,CACH,CAAC;IACH,CAAC;CACD;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"NSNotFoundPage.js","sourceRoot":"","sources":["../../src/pages/NSNotFoundPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,cAAe,SAAQ,SAAS;IAE5B,MAAM;QAEd,OAAO,CACN,8BACC,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,GAAQ,EAChD,KAAC,UAAU,IAAC,IAAI,EAAC,GAAG,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK,EAAC,cAAc,GAAE,UACxD,CACH,CAAC;IACH,CAAC;CACD;AAED,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.25",
11
+ "version": "1.3.27",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
package/src/App.tsx CHANGED
@@ -1,16 +1,15 @@
1
1
  import './App.css';
2
2
  import 'bootstrap/dist/css/bootstrap.min.css';
3
- import { NSButtonBlue, NSButtonBlueVector, NSInputCopy, NSLayoutTitle, NSPagination } from './main';
3
+ import { NSLayoutTitle } from './main';
4
4
 
5
5
  export function App()
6
6
  {
7
7
  return (
8
8
  <div className="App">
9
9
  <NSLayoutTitle scope='Namirasoft Account Console' logo='' title="Namirasoft" description=''>
10
- <NSPagination page={1} size={25} />
11
- <NSButtonBlue title='Apply' onClick={() => ""} />
12
- <NSButtonBlueVector title='New' onClick={() => ""} vector='/assets/images/add-vector.png' />
13
- <NSInputCopy title="Your Token" />
10
+ <div>
11
+
12
+ </div>
14
13
  </NSLayoutTitle>
15
14
  </div>
16
15
  );
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  import { Component } from 'react';
2
4
  import Styles from './NSLoading.module.css';
3
5
  import { NSSection } from './NSSection';
@@ -28,7 +28,8 @@
28
28
  text-align: center;
29
29
  }
30
30
 
31
- .description {
31
+ .ns_description {
32
+ text-align: center;
32
33
  font-style: normal;
33
34
  font-weight: inherit;
34
35
  font-size: 16px;
@@ -43,7 +43,7 @@ export class NSSectionCards extends Component<NSSectionCardsProps>
43
43
 
44
44
  {
45
45
  this.props.description &&
46
- <p style={{ color: this.props.description?.color }} className={Styles.description}> {this.props.description.text} </p>
46
+ <p style={{ color: this.props.description?.color }} className={Styles.ns_description}> {this.props.description.text} </p>
47
47
  }
48
48
 
49
49
  </div>
@@ -1,4 +1,4 @@
1
- .thead th {
1
+ .ns_thead th {
2
2
  background-color: rgba(20, 27, 92, 1);
3
3
  font-size: 16px;
4
4
  font-weight: 300;
@@ -7,7 +7,7 @@
7
7
  font-size: 16px;
8
8
  }
9
9
 
10
- .tbody td {
10
+ .ns_tbody td {
11
11
  background-color: rgb(173, 178, 206);
12
12
  color: rgba(20, 27, 92, 1);
13
13
  padding: 8px 16px;
@@ -17,17 +17,17 @@
17
17
 
18
18
  }
19
19
 
20
- table {
20
+ .ns_table {
21
21
  width: 100%;
22
22
  }
23
23
 
24
- .project_list_container {
24
+ .ns_project_list_container {
25
25
  text-align: left;
26
26
  border-top-left-radius: 8px;
27
27
  border-top-right-radius: 8px;
28
28
  }
29
29
 
30
- .button_group_desktop {
30
+ .ns_button_group_desktop {
31
31
  display: flex;
32
32
  flex-direction: row;
33
33
  justify-content: end;
@@ -35,7 +35,7 @@ table {
35
35
  padding: 24px 0;
36
36
  }
37
37
 
38
- .button_group_desktop button {
38
+ .ns_button_group_desktop button {
39
39
  display: flex;
40
40
  align-items: center;
41
41
  justify-content: center;
@@ -49,22 +49,22 @@ table {
49
49
  background-color: transparent;
50
50
  }
51
51
 
52
- .export_button {
52
+ .ns_export_button {
53
53
  border: 1px solid rgba(255, 148, 50, 1);
54
54
  }
55
55
 
56
- .refresh_button {
56
+ .ns_refresh_button {
57
57
  border: 1px solid rgba(3, 119, 255, 1);
58
58
  }
59
59
 
60
60
  @media only screen and (max-width:600px) {
61
- .project_list_container {
61
+ .ns_project_list_container {
62
62
  overflow: auto;
63
63
  }
64
64
  }
65
65
 
66
66
  /* table-satus */
67
- .inqueue_status {
67
+ .ns_inqueue_status {
68
68
  color: white;
69
69
  background-color: rgba(255, 148, 50, 1);
70
70
  font-size: 12px;
@@ -76,7 +76,7 @@ table {
76
76
  padding-top: 2px;
77
77
  }
78
78
 
79
- .reserving_status {
79
+ .ns_reserving_status {
80
80
  color: white;
81
81
  background-color: rgba(255, 79, 79, 1);
82
82
  font-size: 12px;
@@ -88,7 +88,7 @@ table {
88
88
  padding-top: 2px;
89
89
  }
90
90
 
91
- .done-status {
91
+ .ns_done-status {
92
92
  color: white;
93
93
  background-color: rgba(6, 209, 130, 1);
94
94
  font-size: 12px;
@@ -100,7 +100,7 @@ table {
100
100
  padding-top: 2px;
101
101
  }
102
102
 
103
- .inprogress_status {
103
+ .ns_inprogress_status {
104
104
  color: white;
105
105
  background-color: rgba(230, 208, 19, 1);
106
106
  font-size: 12px;
@@ -37,14 +37,14 @@ export class NSTable<RowType> extends Component<NSTableProps<RowType>, NSTableSt
37
37
  {
38
38
  let column_keys = Object.keys(this.state.columns);
39
39
  return (
40
- <div className={Styles.project_list_container}>
41
- <table className={Styles.table}>
42
- <thead className={Styles.thead}>
40
+ <div className={Styles.ns_project_list_container}>
41
+ <table className={Styles.ns_table}>
42
+ <thead className={Styles.ns_thead}>
43
43
  <tr>
44
44
  {column_keys.map(column_key => <th key={column_key} scope="col">{this.state.columns[column_key]}</th>)}
45
45
  </tr>
46
46
  </thead>
47
- <tbody className={Styles.tbody}>
47
+ <tbody className={Styles.ns_tbody}>
48
48
  {
49
49
  this.state.rows.map((row, rowIndex) =>
50
50
  <tr key={this.props.getRowKey(row, rowIndex)}>
@@ -59,9 +59,9 @@ export class NSTable<RowType> extends Component<NSTableProps<RowType>, NSTableSt
59
59
  }
60
60
  </tbody >
61
61
  </table>
62
- <div className={Styles.button_group_desktop}>
63
- <button onClick={() => window.print()} className={Styles.export_button}><img src="/assets/images/export-vector.png" alt="Export Table Data" width={13} height={16} />Export</button>
64
- <button onClick={() => window.location.reload()} className={Styles.refresh_button}><img src="/assets/images/refresh-vector.png" alt="Refresh Table Contnet" width={15} height={16} />Refresh</button>
62
+ <div className={Styles.ns_button_group_desktop}>
63
+ <button onClick={() => window.print()} className={Styles.ns_export_button}><img src="/assets/images/export-vector.png" alt="Export Table Data" width={13} height={16} />Export</button>
64
+ <button onClick={() => window.location.reload()} className={Styles.ns_refresh_button}><img src="/assets/images/refresh-vector.png" alt="Refresh Table Contnet" width={15} height={16} />Refresh</button>
65
65
  </div>
66
66
  </div >
67
67
  )
@@ -1,3 +1,5 @@
1
+ "use client";
2
+
1
3
  import { Component } from 'react';
2
4
  import Styles from './NSNotFoundPage.module.css'
3
5
  import { NSLinkBlue } from '../main';