namirasoft-site-react 1.5.8 → 1.5.9
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/main.d.ts +14 -13
- package/dist/main.js +14 -13
- package/dist/main.js.map +1 -1
- package/dist/routing/NSRoutes.d.ts +11 -0
- package/dist/routing/NSRoutes.js +14 -0
- package/dist/routing/NSRoutes.js.map +1 -0
- package/package.json +1 -1
- package/src/main.ts +15 -14
- package/src/routing/NSRoutes.tsx +31 -0
package/dist/main.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export * from "./components/NSBarTitle";
|
|
|
5
5
|
export * from "./components/NSBanner";
|
|
6
6
|
export * from "./components/INSBox";
|
|
7
7
|
export * from "./components/NSBox";
|
|
8
|
-
export * from "./components/NSBoxBaseLayout";
|
|
9
8
|
export * from "./components/NSBoxBaseCombo";
|
|
9
|
+
export * from "./components/NSBoxBaseLayout";
|
|
10
10
|
export * from "./components/NSBoxBoolean";
|
|
11
11
|
export * from "./components/NSBoxBooleans";
|
|
12
12
|
export * from "./components/NSBoxCombo";
|
|
@@ -23,17 +23,17 @@ export * from "./components/NSBoxEmail";
|
|
|
23
23
|
export * from "./components/NSBoxEntity";
|
|
24
24
|
export * from "./components/NSBoxEnum";
|
|
25
25
|
export * from "./components/NSBoxFile";
|
|
26
|
+
export * from "./components/NSBoxInteger";
|
|
26
27
|
export * from "./components/NSBoxIPV4";
|
|
27
28
|
export * from "./components/NSBoxIPV6";
|
|
28
|
-
export * from "./components/NSBoxInteger";
|
|
29
29
|
export * from "./components/NSBoxMoney";
|
|
30
|
-
export * from "./components/
|
|
30
|
+
export * from "./components/NSBoxOptions";
|
|
31
31
|
export * from "./components/NSBoxPhone";
|
|
32
32
|
export * from "./components/NSBoxRadio";
|
|
33
|
-
export * from "./components/NSBoxOptions";
|
|
34
33
|
export * from "./components/NSBoxSchemaBase";
|
|
35
34
|
export * from "./components/NSBoxSchemaVariable";
|
|
36
35
|
export * from "./components/NSBoxSearch";
|
|
36
|
+
export * from "./components/NSBoxSensitive";
|
|
37
37
|
export * from "./components/NSBoxString";
|
|
38
38
|
export * from "./components/NSBoxTextArea";
|
|
39
39
|
export * from "./components/NSBoxTime";
|
|
@@ -48,13 +48,13 @@ export * from "./components/NSButtonRed";
|
|
|
48
48
|
export * from "./components/NSCard";
|
|
49
49
|
export * from "./components/NSCardScreenshot";
|
|
50
50
|
export * from "./components/NSChartBar";
|
|
51
|
-
export * from "./components/NSChartLine";
|
|
52
51
|
export * from "./components/NSChartDoughnut";
|
|
52
|
+
export * from "./components/NSChartLine";
|
|
53
53
|
export * from "./components/NSChartPie";
|
|
54
54
|
export * from "./components/NSChartRange";
|
|
55
55
|
export * from "./components/NSTableChart";
|
|
56
|
-
export * from "./components/NSCopyBox";
|
|
57
56
|
export * from "./components/NSCopy";
|
|
57
|
+
export * from "./components/NSCopyBox";
|
|
58
58
|
export * from "./components/NSColumn";
|
|
59
59
|
export * from "./components/NSDialog";
|
|
60
60
|
export * from "./components/NSDialogDelete";
|
|
@@ -101,8 +101,8 @@ export * from "./components/NSRepeaterNSBoxSchemaVariable";
|
|
|
101
101
|
export * from "./components/NSRepeaterNSTag";
|
|
102
102
|
export * from "./components/NSRow";
|
|
103
103
|
export * from "./components/NSSection";
|
|
104
|
-
export * from "./components/NSSectionTiles";
|
|
105
104
|
export * from "./components/NSSectionCards";
|
|
105
|
+
export * from "./components/NSSectionTiles";
|
|
106
106
|
export * from "./components/NSSectionTitle";
|
|
107
107
|
export * from "./components/NSSpace";
|
|
108
108
|
export * from "./components/NSTable";
|
|
@@ -110,8 +110,8 @@ export * from "./components/NSTabPage";
|
|
|
110
110
|
export * from "./components/NSTag";
|
|
111
111
|
export * from "./components/NSTitle";
|
|
112
112
|
export * from "./components/NSGauge";
|
|
113
|
-
export * from "./components/NSGaugeNumber";
|
|
114
113
|
export * from "./components/NSGaugeDate";
|
|
114
|
+
export * from "./components/NSGaugeNumber";
|
|
115
115
|
export * from "./components/NSSplitter";
|
|
116
116
|
export * from "./formatter/BackColorFormatter";
|
|
117
117
|
export * from "./formatter/BaseColumnFormatter";
|
|
@@ -130,9 +130,9 @@ export * from "./formatter/IntegerFormatter";
|
|
|
130
130
|
export * from "./formatter/IPFormatter";
|
|
131
131
|
export * from "./formatter/JsonFormatter";
|
|
132
132
|
export * from "./formatter/MoneyFormatter";
|
|
133
|
-
export * from "./formatter/SensitiveFormatter";
|
|
134
133
|
export * from "./formatter/PercentFormatter";
|
|
135
134
|
export * from "./formatter/PhoneFormatter";
|
|
135
|
+
export * from "./formatter/SensitiveFormatter";
|
|
136
136
|
export * from "./formatter/StringFormatter";
|
|
137
137
|
export * from "./formatter/TimeFormatter";
|
|
138
138
|
export * from "./formatter/UnknowFormatter";
|
|
@@ -143,8 +143,8 @@ export * from "./pages/NSUpdating";
|
|
|
143
143
|
export * from "./props/IBackgroundProps";
|
|
144
144
|
export * from "./props/IBaseComponentProps";
|
|
145
145
|
export * from "./props/IHeaderIconProps";
|
|
146
|
-
export * from "./props/IHeaderRightProps";
|
|
147
146
|
export * from "./props/IHeaderLeftProps";
|
|
147
|
+
export * from "./props/IHeaderRightProps";
|
|
148
148
|
export * from "./props/IImageProps";
|
|
149
149
|
export * from "./props/ILinkProps";
|
|
150
150
|
export * from "./props/IValidationNumberProps";
|
|
@@ -156,11 +156,12 @@ export * from "./routing/NSNotifier";
|
|
|
156
156
|
export * from "./routing/NSRouterMaker";
|
|
157
157
|
export * from "./routing/NSRouterMakerComponent";
|
|
158
158
|
export * from "./routing/NSRouterMakerProps";
|
|
159
|
-
export * from "./
|
|
160
|
-
export * from "./NSBoxBuilder";
|
|
161
|
-
export * from "./ProductCacheService";
|
|
159
|
+
export * from "./routing/NSRoutes";
|
|
162
160
|
export * from "./BrowserDetector";
|
|
163
161
|
export * from "./CopyToClipboard";
|
|
164
162
|
export * from "./EncryptionOperation";
|
|
165
163
|
export * from "./KeyOperation";
|
|
166
164
|
export * from "./LinkOperation";
|
|
165
|
+
export * from "./NSBoxBuilder";
|
|
166
|
+
export * from "./ProductCacheService";
|
|
167
|
+
export * from "./Validator";
|
package/dist/main.js
CHANGED
|
@@ -7,8 +7,8 @@ export * from "./components/NSBarTitle";
|
|
|
7
7
|
export * from "./components/NSBanner";
|
|
8
8
|
export * from "./components/INSBox";
|
|
9
9
|
export * from "./components/NSBox";
|
|
10
|
-
export * from "./components/NSBoxBaseLayout";
|
|
11
10
|
export * from "./components/NSBoxBaseCombo";
|
|
11
|
+
export * from "./components/NSBoxBaseLayout";
|
|
12
12
|
export * from "./components/NSBoxBoolean";
|
|
13
13
|
export * from "./components/NSBoxBooleans";
|
|
14
14
|
export * from "./components/NSBoxCombo";
|
|
@@ -25,17 +25,17 @@ export * from "./components/NSBoxEmail";
|
|
|
25
25
|
export * from "./components/NSBoxEntity";
|
|
26
26
|
export * from "./components/NSBoxEnum";
|
|
27
27
|
export * from "./components/NSBoxFile";
|
|
28
|
+
export * from "./components/NSBoxInteger";
|
|
28
29
|
export * from "./components/NSBoxIPV4";
|
|
29
30
|
export * from "./components/NSBoxIPV6";
|
|
30
|
-
export * from "./components/NSBoxInteger";
|
|
31
31
|
export * from "./components/NSBoxMoney";
|
|
32
|
-
export * from "./components/
|
|
32
|
+
export * from "./components/NSBoxOptions";
|
|
33
33
|
export * from "./components/NSBoxPhone";
|
|
34
34
|
export * from "./components/NSBoxRadio";
|
|
35
|
-
export * from "./components/NSBoxOptions";
|
|
36
35
|
export * from "./components/NSBoxSchemaBase";
|
|
37
36
|
export * from "./components/NSBoxSchemaVariable";
|
|
38
37
|
export * from "./components/NSBoxSearch";
|
|
38
|
+
export * from "./components/NSBoxSensitive";
|
|
39
39
|
export * from "./components/NSBoxString";
|
|
40
40
|
export * from "./components/NSBoxTextArea";
|
|
41
41
|
export * from "./components/NSBoxTime";
|
|
@@ -50,13 +50,13 @@ export * from "./components/NSButtonRed";
|
|
|
50
50
|
export * from "./components/NSCard";
|
|
51
51
|
export * from "./components/NSCardScreenshot";
|
|
52
52
|
export * from "./components/NSChartBar";
|
|
53
|
-
export * from "./components/NSChartLine";
|
|
54
53
|
export * from "./components/NSChartDoughnut";
|
|
54
|
+
export * from "./components/NSChartLine";
|
|
55
55
|
export * from "./components/NSChartPie";
|
|
56
56
|
export * from "./components/NSChartRange";
|
|
57
57
|
export * from "./components/NSTableChart";
|
|
58
|
-
export * from "./components/NSCopyBox";
|
|
59
58
|
export * from "./components/NSCopy";
|
|
59
|
+
export * from "./components/NSCopyBox";
|
|
60
60
|
export * from "./components/NSColumn";
|
|
61
61
|
export * from "./components/NSDialog";
|
|
62
62
|
export * from "./components/NSDialogDelete";
|
|
@@ -103,8 +103,8 @@ export * from "./components/NSRepeaterNSBoxSchemaVariable";
|
|
|
103
103
|
export * from "./components/NSRepeaterNSTag";
|
|
104
104
|
export * from "./components/NSRow";
|
|
105
105
|
export * from "./components/NSSection";
|
|
106
|
-
export * from "./components/NSSectionTiles";
|
|
107
106
|
export * from "./components/NSSectionCards";
|
|
107
|
+
export * from "./components/NSSectionTiles";
|
|
108
108
|
export * from "./components/NSSectionTitle";
|
|
109
109
|
export * from "./components/NSSpace";
|
|
110
110
|
export * from "./components/NSTable";
|
|
@@ -112,8 +112,8 @@ export * from "./components/NSTabPage";
|
|
|
112
112
|
export * from "./components/NSTag";
|
|
113
113
|
export * from "./components/NSTitle";
|
|
114
114
|
export * from "./components/NSGauge";
|
|
115
|
-
export * from "./components/NSGaugeNumber";
|
|
116
115
|
export * from "./components/NSGaugeDate";
|
|
116
|
+
export * from "./components/NSGaugeNumber";
|
|
117
117
|
export * from "./components/NSSplitter";
|
|
118
118
|
export * from "./formatter/BackColorFormatter";
|
|
119
119
|
export * from "./formatter/BaseColumnFormatter";
|
|
@@ -132,9 +132,9 @@ export * from "./formatter/IntegerFormatter";
|
|
|
132
132
|
export * from "./formatter/IPFormatter";
|
|
133
133
|
export * from "./formatter/JsonFormatter";
|
|
134
134
|
export * from "./formatter/MoneyFormatter";
|
|
135
|
-
export * from "./formatter/SensitiveFormatter";
|
|
136
135
|
export * from "./formatter/PercentFormatter";
|
|
137
136
|
export * from "./formatter/PhoneFormatter";
|
|
137
|
+
export * from "./formatter/SensitiveFormatter";
|
|
138
138
|
export * from "./formatter/StringFormatter";
|
|
139
139
|
export * from "./formatter/TimeFormatter";
|
|
140
140
|
export * from "./formatter/UnknowFormatter";
|
|
@@ -145,8 +145,8 @@ export * from "./pages/NSUpdating";
|
|
|
145
145
|
export * from "./props/IBackgroundProps";
|
|
146
146
|
export * from "./props/IBaseComponentProps";
|
|
147
147
|
export * from "./props/IHeaderIconProps";
|
|
148
|
-
export * from "./props/IHeaderRightProps";
|
|
149
148
|
export * from "./props/IHeaderLeftProps";
|
|
149
|
+
export * from "./props/IHeaderRightProps";
|
|
150
150
|
export * from "./props/IImageProps";
|
|
151
151
|
export * from "./props/ILinkProps";
|
|
152
152
|
export * from "./props/IValidationNumberProps";
|
|
@@ -158,14 +158,15 @@ export * from "./routing/NSNotifier";
|
|
|
158
158
|
export * from "./routing/NSRouterMaker";
|
|
159
159
|
export * from "./routing/NSRouterMakerComponent";
|
|
160
160
|
export * from "./routing/NSRouterMakerProps";
|
|
161
|
-
export * from "./
|
|
162
|
-
export * from "./NSBoxBuilder";
|
|
163
|
-
export * from "./ProductCacheService";
|
|
161
|
+
export * from "./routing/NSRoutes";
|
|
164
162
|
export * from "./BrowserDetector";
|
|
165
163
|
export * from "./CopyToClipboard";
|
|
166
164
|
export * from "./EncryptionOperation";
|
|
167
165
|
export * from "./KeyOperation";
|
|
168
166
|
export * from "./LinkOperation";
|
|
167
|
+
export * from "./NSBoxBuilder";
|
|
168
|
+
export * from "./ProductCacheService";
|
|
169
|
+
export * from "./Validator";
|
|
169
170
|
function main() {
|
|
170
171
|
NSBaseMetaDatabase.getServerBaseURL = function (name) {
|
|
171
172
|
name = name.replace("Namirasoft", "").trim();
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","source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tC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAE5B,SAAS,IAAI;IAET,kBAAkB,CAAC,gBAAgB,GAAG,UAAU,IAAY;QAExD,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAC7C,IAAI,GAAG,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;QACnF,OAAO,sBAAsB,IAAI,EAAE,CAAC;IACxC,CAAC,CAAA;AACL,CAAC;AAED,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
|
+
export interface NSRoutesProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
interface NSRoutesState {
|
|
6
|
+
}
|
|
7
|
+
export declare class NSRoutes extends Component<NSRoutesProps, NSRoutesState> {
|
|
8
|
+
constructor(props: NSRoutesProps);
|
|
9
|
+
render(): import("react").JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { Route, Routes } from 'react-router-dom';
|
|
4
|
+
import { NSNotFoundPage } from '../pages/NSNotFoundPage';
|
|
5
|
+
export class NSRoutes extends Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
this.state = {};
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (_jsxs(Routes, { children: [this.props.children, _jsx(Route, { path: "*", element: _jsx(NSNotFoundPage, {}) })] }));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=NSRoutes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSRoutes.js","sourceRoot":"","sources":["../../src/routing/NSRoutes.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAWzD,MAAM,OAAO,QAAS,SAAQ,SAAuC;IAEjE,YAAY,KAAoB;QAE5B,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;IACpB,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,MAAC,MAAM,eACF,IAAI,CAAC,KAAK,CAAC,QAAQ,EACpB,KAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,KAAC,cAAc,KAAG,GAAI,IAC1C,CACZ,CAAC;IACN,CAAC;CACJ"}
|
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -13,8 +13,8 @@ export * from "./components/NSBanner";
|
|
|
13
13
|
// Box
|
|
14
14
|
export * from "./components/INSBox";
|
|
15
15
|
export * from "./components/NSBox";
|
|
16
|
-
export * from "./components/NSBoxBaseLayout";
|
|
17
16
|
export * from "./components/NSBoxBaseCombo";
|
|
17
|
+
export * from "./components/NSBoxBaseLayout";
|
|
18
18
|
export * from "./components/NSBoxBoolean";
|
|
19
19
|
export * from "./components/NSBoxBooleans";
|
|
20
20
|
export * from "./components/NSBoxCombo";
|
|
@@ -31,17 +31,17 @@ export * from "./components/NSBoxEmail";
|
|
|
31
31
|
export * from "./components/NSBoxEntity";
|
|
32
32
|
export * from "./components/NSBoxEnum";
|
|
33
33
|
export * from "./components/NSBoxFile";
|
|
34
|
+
export * from "./components/NSBoxInteger";
|
|
34
35
|
export * from "./components/NSBoxIPV4";
|
|
35
36
|
export * from "./components/NSBoxIPV6";
|
|
36
|
-
export * from "./components/NSBoxInteger";
|
|
37
37
|
export * from "./components/NSBoxMoney";
|
|
38
|
-
export * from "./components/
|
|
38
|
+
export * from "./components/NSBoxOptions";
|
|
39
39
|
export * from "./components/NSBoxPhone";
|
|
40
40
|
export * from "./components/NSBoxRadio";
|
|
41
|
-
export * from "./components/NSBoxOptions";
|
|
42
41
|
export * from "./components/NSBoxSchemaBase";
|
|
43
42
|
export * from "./components/NSBoxSchemaVariable";
|
|
44
43
|
export * from "./components/NSBoxSearch";
|
|
44
|
+
export * from "./components/NSBoxSensitive";
|
|
45
45
|
export * from "./components/NSBoxString";
|
|
46
46
|
export * from "./components/NSBoxTextArea";
|
|
47
47
|
export * from "./components/NSBoxTime";
|
|
@@ -58,19 +58,19 @@ export * from "./components/NSButtonRed";
|
|
|
58
58
|
|
|
59
59
|
// Card
|
|
60
60
|
export * from "./components/NSCard";
|
|
61
|
-
export * from "./components/NSCardScreenshot"
|
|
61
|
+
export * from "./components/NSCardScreenshot";
|
|
62
62
|
|
|
63
63
|
// Chart
|
|
64
64
|
export * from "./components/NSChartBar";
|
|
65
|
-
export * from "./components/NSChartLine";
|
|
66
65
|
export * from "./components/NSChartDoughnut";
|
|
66
|
+
export * from "./components/NSChartLine";
|
|
67
67
|
export * from "./components/NSChartPie";
|
|
68
68
|
export * from "./components/NSChartRange";
|
|
69
69
|
export * from "./components/NSTableChart";
|
|
70
70
|
|
|
71
71
|
// Copy
|
|
72
|
-
export * from "./components/NSCopyBox";
|
|
73
72
|
export * from "./components/NSCopy";
|
|
73
|
+
export * from "./components/NSCopyBox";
|
|
74
74
|
|
|
75
75
|
// Column
|
|
76
76
|
export * from "./components/NSColumn";
|
|
@@ -165,8 +165,8 @@ export * from "./components/NSRow";
|
|
|
165
165
|
|
|
166
166
|
// Section
|
|
167
167
|
export * from "./components/NSSection";
|
|
168
|
-
export * from "./components/NSSectionTiles";
|
|
169
168
|
export * from "./components/NSSectionCards";
|
|
169
|
+
export * from "./components/NSSectionTiles";
|
|
170
170
|
export * from "./components/NSSectionTitle";
|
|
171
171
|
|
|
172
172
|
// Space
|
|
@@ -186,8 +186,8 @@ export * from "./components/NSTitle";
|
|
|
186
186
|
|
|
187
187
|
// Gauge
|
|
188
188
|
export * from "./components/NSGauge";
|
|
189
|
-
export * from "./components/NSGaugeNumber";
|
|
190
189
|
export * from "./components/NSGaugeDate";
|
|
190
|
+
export * from "./components/NSGaugeNumber";
|
|
191
191
|
|
|
192
192
|
// Splitter
|
|
193
193
|
export * from "./components/NSSplitter";
|
|
@@ -210,9 +210,9 @@ export * from "./formatter/IntegerFormatter";
|
|
|
210
210
|
export * from "./formatter/IPFormatter";
|
|
211
211
|
export * from "./formatter/JsonFormatter";
|
|
212
212
|
export * from "./formatter/MoneyFormatter";
|
|
213
|
-
export * from "./formatter/SensitiveFormatter";
|
|
214
213
|
export * from "./formatter/PercentFormatter";
|
|
215
214
|
export * from "./formatter/PhoneFormatter";
|
|
215
|
+
export * from "./formatter/SensitiveFormatter";
|
|
216
216
|
export * from "./formatter/StringFormatter";
|
|
217
217
|
export * from "./formatter/TimeFormatter";
|
|
218
218
|
export * from "./formatter/UnknowFormatter";
|
|
@@ -227,8 +227,8 @@ export * from "./pages/NSUpdating";
|
|
|
227
227
|
export * from "./props/IBackgroundProps";
|
|
228
228
|
export * from "./props/IBaseComponentProps";
|
|
229
229
|
export * from "./props/IHeaderIconProps";
|
|
230
|
-
export * from "./props/IHeaderRightProps";
|
|
231
230
|
export * from "./props/IHeaderLeftProps";
|
|
231
|
+
export * from "./props/IHeaderRightProps";
|
|
232
232
|
export * from "./props/IImageProps";
|
|
233
233
|
export * from "./props/ILinkProps";
|
|
234
234
|
export * from "./props/IValidationNumberProps";
|
|
@@ -242,15 +242,16 @@ export * from "./routing/NSNotifier";
|
|
|
242
242
|
export * from "./routing/NSRouterMaker";
|
|
243
243
|
export * from "./routing/NSRouterMakerComponent";
|
|
244
244
|
export * from "./routing/NSRouterMakerProps";
|
|
245
|
+
export * from "./routing/NSRoutes";
|
|
245
246
|
|
|
246
|
-
export * from "./Validator";
|
|
247
|
-
export * from "./NSBoxBuilder";
|
|
248
|
-
export * from "./ProductCacheService";
|
|
249
247
|
export * from "./BrowserDetector";
|
|
250
248
|
export * from "./CopyToClipboard";
|
|
251
249
|
export * from "./EncryptionOperation";
|
|
252
250
|
export * from "./KeyOperation";
|
|
253
251
|
export * from "./LinkOperation";
|
|
252
|
+
export * from "./NSBoxBuilder";
|
|
253
|
+
export * from "./ProductCacheService";
|
|
254
|
+
export * from "./Validator";
|
|
254
255
|
|
|
255
256
|
function main()
|
|
256
257
|
{
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
|
+
import { Route, Routes } from 'react-router-dom';
|
|
3
|
+
import { NSNotFoundPage } from '../pages/NSNotFoundPage';
|
|
4
|
+
|
|
5
|
+
export interface NSRoutesProps
|
|
6
|
+
{
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface NSRoutesState
|
|
11
|
+
{
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class NSRoutes extends Component<NSRoutesProps, NSRoutesState>
|
|
15
|
+
{
|
|
16
|
+
constructor(props: NSRoutesProps)
|
|
17
|
+
{
|
|
18
|
+
super(props);
|
|
19
|
+
|
|
20
|
+
this.state = {};
|
|
21
|
+
}
|
|
22
|
+
override render()
|
|
23
|
+
{
|
|
24
|
+
return (
|
|
25
|
+
<Routes>
|
|
26
|
+
{this.props.children}
|
|
27
|
+
<Route path="*" element={<NSNotFoundPage />} />
|
|
28
|
+
</Routes>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
}
|