namirasoft-site-react 1.3.65 → 1.3.67

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 (208) hide show
  1. package/dist/App.js +2 -2
  2. package/dist/App.js.map +1 -1
  3. package/dist/Validator.d.ts +6 -6
  4. package/dist/Validator.js.map +1 -1
  5. package/dist/components/NSButton.d.ts +5 -5
  6. package/dist/components/NSButton.js.map +1 -1
  7. package/dist/components/NSButtonBlue.d.ts +2 -2
  8. package/dist/components/NSButtonBlue.js.map +1 -1
  9. package/dist/components/NSButtonGreen.d.ts +2 -2
  10. package/dist/components/NSButtonGreen.js.map +1 -1
  11. package/dist/components/NSButtonRed.d.ts +2 -2
  12. package/dist/components/NSButtonRed.js.map +1 -1
  13. package/dist/components/NSCard.d.ts +7 -7
  14. package/dist/components/NSCard.js.map +1 -1
  15. package/dist/components/NSCopyToClipboard.d.ts +3 -3
  16. package/dist/components/NSCopyToClipboard.js.map +1 -1
  17. package/dist/components/NSEntityBar.d.ts +5 -5
  18. package/dist/components/NSEntityBar.js.map +1 -1
  19. package/dist/components/NSEntityCardBackground.d.ts +5 -5
  20. package/dist/components/NSEntityCardBackground.js.map +1 -1
  21. package/dist/components/NSFooter.d.ts +4 -4
  22. package/dist/components/NSFooter.js.map +1 -1
  23. package/dist/components/NSHeader.d.ts +5 -5
  24. package/dist/components/NSHeader.js.map +1 -1
  25. package/dist/components/NSInputDate.d.ts +5 -5
  26. package/dist/components/NSInputDate.js.map +1 -1
  27. package/dist/components/NSInputDuration.d.ts +7 -7
  28. package/dist/components/NSInputDuration.js.map +1 -1
  29. package/dist/components/NSInputEmail.d.ts +6 -6
  30. package/dist/components/NSInputEmail.js.map +1 -1
  31. package/dist/components/NSInputErrorNotifier.d.ts +3 -3
  32. package/dist/components/NSInputErrorNotifier.js.map +1 -1
  33. package/dist/components/NSInputFloat.d.ts +6 -6
  34. package/dist/components/NSInputFloat.js.map +1 -1
  35. package/dist/components/NSInputIP.d.ts +6 -6
  36. package/dist/components/NSInputIP.js.map +1 -1
  37. package/dist/components/NSInputInteger.d.ts +6 -6
  38. package/dist/components/NSInputInteger.js.map +1 -1
  39. package/dist/components/NSInputPassword.d.ts +6 -6
  40. package/dist/components/NSInputPassword.js.map +1 -1
  41. package/dist/components/NSInputPhone.d.ts +6 -6
  42. package/dist/components/NSInputPhone.js.map +1 -1
  43. package/dist/components/NSInputPrice.d.ts +6 -6
  44. package/dist/components/NSInputPrice.js.map +1 -1
  45. package/dist/components/NSInputSearch.d.ts +6 -6
  46. package/dist/components/NSInputSearch.js.map +1 -1
  47. package/dist/components/NSInputString.d.ts +6 -6
  48. package/dist/components/NSInputString.js.map +1 -1
  49. package/dist/components/NSInputText.d.ts +6 -6
  50. package/dist/components/NSInputText.js.map +1 -1
  51. package/dist/components/NSInputTime.d.ts +6 -6
  52. package/dist/components/NSInputTime.js.map +1 -1
  53. package/dist/components/NSLayout.d.ts +5 -5
  54. package/dist/components/NSLayout.js.map +1 -1
  55. package/dist/components/NSLayoutHeroBanner.d.ts +4 -4
  56. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  57. package/dist/components/NSLayoutTitle.d.ts +4 -4
  58. package/dist/components/NSLayoutTitle.js.map +1 -1
  59. package/dist/components/NSLink.d.ts +4 -4
  60. package/dist/components/NSLink.js.map +1 -1
  61. package/dist/components/NSLinkBlue.d.ts +2 -2
  62. package/dist/components/NSLinkBlue.js.map +1 -1
  63. package/dist/components/NSLinkGreen.d.ts +2 -2
  64. package/dist/components/NSLinkGreen.js.map +1 -1
  65. package/dist/components/NSLinkRed.d.ts +2 -2
  66. package/dist/components/NSLinkRed.js.map +1 -1
  67. package/dist/components/NSLoading.d.ts +3 -3
  68. package/dist/components/NSLoading.js.map +1 -1
  69. package/dist/components/NSNotification.d.ts +3 -3
  70. package/dist/components/NSNotification.js +1 -1
  71. package/dist/components/NSNotification.js.map +1 -1
  72. package/dist/components/NSPagination.d.ts +3 -3
  73. package/dist/components/NSPagination.js.map +1 -1
  74. package/dist/components/NSPanel.d.ts +3 -3
  75. package/dist/components/NSPanel.js.map +1 -1
  76. package/dist/components/NSSection.d.ts +3 -3
  77. package/dist/components/NSSection.js.map +1 -1
  78. package/dist/components/NSSectionBars.d.ts +5 -5
  79. package/dist/components/NSSectionBars.js.map +1 -1
  80. package/dist/components/NSSectionCards.d.ts +7 -7
  81. package/dist/components/NSSectionCards.js.map +1 -1
  82. package/dist/components/NSSectionTitle.d.ts +3 -3
  83. package/dist/components/NSSectionTitle.js.map +1 -1
  84. package/dist/components/NSSelectBox.d.ts +5 -5
  85. package/dist/components/NSSelectBox.js.map +1 -1
  86. package/dist/components/NSSpace.d.ts +3 -3
  87. package/dist/components/NSSpace.js.map +1 -1
  88. package/dist/components/NSTable.d.ts +4 -4
  89. package/dist/components/NSTable.js.map +1 -1
  90. package/dist/components/NSTitle.d.ts +3 -3
  91. package/dist/components/NSTitle.js.map +1 -1
  92. package/dist/main.d.ts +11 -0
  93. package/dist/main.js +11 -0
  94. package/dist/main.js.map +1 -1
  95. package/dist/pages/NSLoginPage.d.ts +2 -2
  96. package/dist/pages/NSLoginPage.js.map +1 -1
  97. package/dist/props/{BaseComponentProps.d.ts → IBaseComponentProps.d.ts} +1 -1
  98. package/dist/props/IBaseComponentProps.js +2 -0
  99. package/dist/props/IBaseComponentProps.js.map +1 -0
  100. package/dist/props/{ImageProps.d.ts → IImageProps.d.ts} +1 -1
  101. package/dist/props/IImageProps.js +2 -0
  102. package/dist/props/IImageProps.js.map +1 -0
  103. package/dist/props/{LinkProps.d.ts → ILinkProps.d.ts} +1 -1
  104. package/dist/props/ILinkProps.js +2 -0
  105. package/dist/props/ILinkProps.js.map +1 -0
  106. package/dist/props/INamirasoftProps.d.ts +4 -0
  107. package/dist/props/INamirasoftProps.js +2 -0
  108. package/dist/props/INamirasoftProps.js.map +1 -0
  109. package/dist/props/IValidationNumberProps.d.ts +4 -0
  110. package/dist/props/IValidationNumberProps.js +2 -0
  111. package/dist/props/IValidationNumberProps.js.map +1 -0
  112. package/dist/props/IValidationProps.d.ts +6 -0
  113. package/dist/props/IValidationProps.js +2 -0
  114. package/dist/props/IValidationProps.js.map +1 -0
  115. package/dist/props/IValidationRegexProps.d.ts +4 -0
  116. package/dist/props/IValidationRegexProps.js +2 -0
  117. package/dist/props/IValidationRegexProps.js.map +1 -0
  118. package/dist/props/{ValidationStringProps.d.ts → IValidationStringProps.d.ts} +1 -1
  119. package/dist/props/IValidationStringProps.js +2 -0
  120. package/dist/props/IValidationStringProps.js.map +1 -0
  121. package/dist/routing/INSRouterMaker.d.ts +5 -0
  122. package/dist/routing/INSRouterMaker.js +2 -0
  123. package/dist/routing/INSRouterMaker.js.map +1 -0
  124. package/dist/routing/NSRouterMaker.d.ts +11 -0
  125. package/dist/routing/NSRouterMaker.js +23 -0
  126. package/dist/routing/NSRouterMaker.js.map +1 -0
  127. package/dist/routing/Notifier.d.ts +18 -0
  128. package/dist/routing/Notifier.js +68 -0
  129. package/dist/routing/Notifier.js.map +1 -0
  130. package/package.json +1 -1
  131. package/src/App.tsx +9 -4
  132. package/src/Validator.ts +6 -6
  133. package/src/components/NSButton.tsx +5 -5
  134. package/src/components/NSButtonBlue.tsx +2 -2
  135. package/src/components/NSButtonGreen.tsx +2 -2
  136. package/src/components/NSButtonRed.tsx +2 -2
  137. package/src/components/NSCard.tsx +7 -7
  138. package/src/components/NSCopyToClipboard.tsx +3 -3
  139. package/src/components/NSEntityBar.tsx +5 -5
  140. package/src/components/NSEntityCardBackground.tsx +5 -5
  141. package/src/components/NSFooter.tsx +4 -4
  142. package/src/components/NSHeader.tsx +6 -6
  143. package/src/components/NSInputDate.tsx +5 -5
  144. package/src/components/NSInputDuration.tsx +7 -7
  145. package/src/components/NSInputEmail.tsx +6 -6
  146. package/src/components/NSInputErrorNotifier.tsx +3 -3
  147. package/src/components/NSInputFloat.tsx +6 -6
  148. package/src/components/NSInputIP.tsx +6 -6
  149. package/src/components/NSInputInteger.tsx +6 -6
  150. package/src/components/NSInputPassword.tsx +6 -6
  151. package/src/components/NSInputPhone.tsx +6 -6
  152. package/src/components/NSInputPrice.tsx +6 -6
  153. package/src/components/NSInputSearch.tsx +6 -6
  154. package/src/components/NSInputString.tsx +6 -6
  155. package/src/components/NSInputText.tsx +6 -6
  156. package/src/components/NSInputTime.tsx +6 -6
  157. package/src/components/NSLayout.tsx +5 -5
  158. package/src/components/NSLayoutHeroBanner.tsx +4 -4
  159. package/src/components/NSLayoutTitle.tsx +4 -4
  160. package/src/components/NSLink.tsx +4 -4
  161. package/src/components/NSLinkBlue.tsx +2 -2
  162. package/src/components/NSLinkGreen.tsx +2 -2
  163. package/src/components/NSLinkRed.tsx +2 -2
  164. package/src/components/NSLoading.tsx +3 -3
  165. package/src/components/NSNotification.tsx +4 -4
  166. package/src/components/NSPagination.tsx +3 -3
  167. package/src/components/NSPanel.tsx +3 -3
  168. package/src/components/NSSection.tsx +3 -3
  169. package/src/components/NSSectionBars.tsx +5 -5
  170. package/src/components/NSSectionCards.tsx +7 -7
  171. package/src/components/NSSectionTitle.tsx +3 -3
  172. package/src/components/NSSelectBox.tsx +5 -5
  173. package/src/components/NSSpace.tsx +3 -3
  174. package/src/components/NSTable.tsx +4 -4
  175. package/src/components/NSTitle.tsx +3 -3
  176. package/src/main.ts +12 -1
  177. package/src/pages/NSLoginPage.tsx +2 -2
  178. package/src/props/{BaseComponentProps.ts → IBaseComponentProps.ts} +1 -1
  179. package/src/props/{ImageProps.ts → IImageProps.ts} +1 -1
  180. package/src/props/{LinkProps.ts → ILinkProps.ts} +1 -1
  181. package/src/props/INamirasoftProps.ts +6 -0
  182. package/src/props/IValidationNumberProps.ts +5 -0
  183. package/src/props/IValidationProps.ts +8 -0
  184. package/src/props/IValidationRegexProps.ts +5 -0
  185. package/src/props/{ValidationStringProps.ts → IValidationStringProps.ts} +1 -1
  186. package/src/routing/INSRouterMaker.ts +7 -0
  187. package/src/routing/NSRouterMaker.tsx +33 -0
  188. package/src/routing/Notifier.ts +84 -0
  189. package/dist/props/BaseComponentProps.js +0 -2
  190. package/dist/props/BaseComponentProps.js.map +0 -1
  191. package/dist/props/ImageProps.js +0 -2
  192. package/dist/props/ImageProps.js.map +0 -1
  193. package/dist/props/LinkProps.js +0 -2
  194. package/dist/props/LinkProps.js.map +0 -1
  195. package/dist/props/ValidationNumberProps.d.ts +0 -4
  196. package/dist/props/ValidationNumberProps.js +0 -2
  197. package/dist/props/ValidationNumberProps.js.map +0 -1
  198. package/dist/props/ValidationProps.d.ts +0 -6
  199. package/dist/props/ValidationProps.js +0 -2
  200. package/dist/props/ValidationProps.js.map +0 -1
  201. package/dist/props/ValidationRegexProps.d.ts +0 -4
  202. package/dist/props/ValidationRegexProps.js +0 -2
  203. package/dist/props/ValidationRegexProps.js.map +0 -1
  204. package/dist/props/ValidationStringProps.js +0 -2
  205. package/dist/props/ValidationStringProps.js.map +0 -1
  206. package/src/props/ValidationNumberProps.ts +0 -5
  207. package/src/props/ValidationProps.ts +0 -8
  208. package/src/props/ValidationRegexProps.ts +0 -5
@@ -1,10 +1,10 @@
1
1
  import Styles from './NSCard.module.css'
2
2
  import { NSLinkBlue } from './NSLinkBlue';
3
- import { LinkProps } from '../props/LinkProps';
4
- import { BaseComponentProps } from "../props/BaseComponentProps";
5
- import { ImageProps } from '../props/ImageProps';
3
+ import { ILinkProps } from '../props/ILinkProps';
4
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
5
+ import { IImageProps } from '../props/IImageProps';
6
6
 
7
- export interface NSCardProps extends BaseComponentProps
7
+ export interface INSCardProps extends IBaseComponentProps
8
8
  {
9
9
  title?: string;
10
10
  headline?: {
@@ -12,11 +12,11 @@ export interface NSCardProps extends BaseComponentProps
12
12
  text: string;
13
13
  }
14
14
  description?: string;
15
- image: ImageProps;
16
- link?: LinkProps;
15
+ image: IImageProps;
16
+ link?: ILinkProps;
17
17
  }
18
18
 
19
- export function NSCard(props: NSCardProps)
19
+ export function NSCard(props: INSCardProps)
20
20
  {
21
21
  return (
22
22
  <article id={props.id}
@@ -1,14 +1,14 @@
1
1
  import Styles from "./NSCopyToClipboard.module.css";
2
2
  import IconInputString from '../assets/images/icon-input-copy.svg';
3
- import { BaseComponentProps } from "../props/BaseComponentProps";
3
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
4
4
 
5
- export interface NSCopyToClipboardProps extends BaseComponentProps
5
+ export interface INSCopyToClipboardProps extends IBaseComponentProps
6
6
  {
7
7
  title: string;
8
8
  value: string;
9
9
  }
10
10
 
11
- export function NSCopyToClipboard(props: NSCopyToClipboardProps)
11
+ export function NSCopyToClipboard(props: INSCopyToClipboardProps)
12
12
  {
13
13
  function copyToClipboard(): void
14
14
  {
@@ -1,15 +1,15 @@
1
1
  import Styles from './NSEntityBar.module.css'
2
- import { BaseComponentProps } from "../props/BaseComponentProps";
3
- import { ImageProps } from '../props/ImageProps';
2
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
3
+ import { IImageProps } from '../props/IImageProps';
4
4
 
5
- export interface NSEntityBarProps extends BaseComponentProps
5
+ export interface INSEntityBarProps extends IBaseComponentProps
6
6
  {
7
7
  title: string;
8
8
  description: string;
9
- image: ImageProps;
9
+ image: IImageProps;
10
10
  }
11
11
 
12
- export function NSEntityBar(props: NSEntityBarProps)
12
+ export function NSEntityBar(props: INSEntityBarProps)
13
13
  {
14
14
  return (
15
15
  <article id={props.id}
@@ -1,15 +1,15 @@
1
1
  import Styles from './NSEntityCardBackground.module.css'
2
2
  import { NSLinkBlue } from './NSLinkBlue';
3
- import { LinkProps } from '../props/LinkProps';
4
- import { BaseComponentProps } from "../props/BaseComponentProps";
3
+ import { ILinkProps } from '../props/ILinkProps';
4
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
5
5
 
6
- export interface NSEntityCardBackgroundProps extends BaseComponentProps
6
+ export interface INSEntityCardBackgroundProps extends IBaseComponentProps
7
7
  {
8
8
  title: string;
9
- link?: LinkProps
9
+ link?: ILinkProps
10
10
  }
11
11
 
12
- export function NSEntityCardBackground(props: NSEntityCardBackgroundProps)
12
+ export function NSEntityCardBackground(props: INSEntityCardBackgroundProps)
13
13
  {
14
14
  return (
15
15
  <>
@@ -3,9 +3,9 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSFooter.module.css";
5
5
  import { NamirasoftAPILinkServer, FilterLinkRow } from 'namirasoft-api-link';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
7
 
8
- export interface NSFooterProps extends BaseComponentProps
8
+ export interface INSFooterProps extends IBaseComponentProps
9
9
  {
10
10
  scope: string;
11
11
  name: string;
@@ -18,9 +18,9 @@ export interface NSFooterState
18
18
  selected: FilterLinkRow | null;
19
19
  }
20
20
 
21
- export class NSFooter extends React.Component<NSFooterProps, NSFooterState>
21
+ export class NSFooter extends React.Component<INSFooterProps, NSFooterState>
22
22
  {
23
- constructor(props: NSFooterProps)
23
+ constructor(props: INSFooterProps)
24
24
  {
25
25
  super(props);
26
26
  this.state = {
@@ -4,15 +4,15 @@ import React from "react";
4
4
  import Styles from "./NSHeader.module.css";
5
5
  import NavDropdown from 'react-bootstrap/NavDropdown';
6
6
  import { NamirasoftAPILinkServer, FilterLinkRow } from 'namirasoft-api-link';
7
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
8
8
 
9
- export interface NSHeaderProps extends BaseComponentProps
9
+ export interface INSHeaderProps extends IBaseComponentProps
10
10
  {
11
11
  scope: string;
12
12
  name: string;
13
13
  logo: string;
14
14
  account?: boolean;
15
- nav?: BaseComponentProps
15
+ nav?: IBaseComponentProps
16
16
  }
17
17
 
18
18
  export interface NSHeaderState
@@ -22,9 +22,9 @@ export interface NSHeaderState
22
22
  showNavbar: boolean;
23
23
  }
24
24
 
25
- export class NSHeader extends React.Component<NSHeaderProps, NSHeaderState>
25
+ export class NSHeader extends React.Component<INSHeaderProps, NSHeaderState>
26
26
  {
27
- constructor(props: NSHeaderProps)
27
+ constructor(props: INSHeaderProps)
28
28
  {
29
29
  super(props);
30
30
  this.state = {
@@ -61,7 +61,7 @@ export class NSHeader extends React.Component<NSHeaderProps, NSHeaderState>
61
61
  }
62
62
  override render()
63
63
  {
64
- let nav: BaseComponentProps | undefined = this.props.nav;
64
+ let nav: IBaseComponentProps | undefined = this.props.nav;
65
65
  if (!nav)
66
66
  nav = { style: {} };
67
67
  if (!nav.style)
@@ -3,12 +3,12 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInputDate.module.css";
5
5
  import IconInputDate from '../assets/images/icon-input-date.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
7
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
8
- import { ValidationProps } from "../props/ValidationProps";
8
+ import { IValidationProps } from "../props/IValidationProps";
9
9
  import { Validator } from "../Validator";
10
10
 
11
- export interface NSInputDateProps extends BaseComponentProps, ValidationProps
11
+ export interface INSInputDateProps extends IBaseComponentProps, IValidationProps
12
12
  {
13
13
  title: string;
14
14
  defaultValue?: string;
@@ -22,9 +22,9 @@ export interface NSInputDateState
22
22
  error?: string;
23
23
  }
24
24
 
25
- export class NSInputDate extends React.Component<NSInputDateProps, NSInputDateState>
25
+ export class NSInputDate extends React.Component<INSInputDateProps, NSInputDateState>
26
26
  {
27
- constructor(props: NSInputDateProps)
27
+ constructor(props: INSInputDateProps)
28
28
  {
29
29
  super(props);
30
30
  this.state = { value: props.defaultValue ?? "" };
@@ -3,14 +3,14 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputDuration from '../assets/images/icon-input-duration.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationNumberProps } from "../props/ValidationNumberProps";
9
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationNumberProps } from "../props/IValidationNumberProps";
9
+ import { IValidationStringProps } from "../props/IValidationStringProps";
10
10
  import { Validator } from "../Validator";
11
11
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
12
12
 
13
- export interface NSInputDurationProps extends BaseComponentProps, ValidationProps, ValidationStringProps, ValidationNumberProps
13
+ export interface INSInputDurationProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, IValidationNumberProps
14
14
  {
15
15
  title: string;
16
16
  defaultValue?: string;
@@ -24,9 +24,9 @@ export interface NSInputDurationState
24
24
  error?: string;
25
25
  }
26
26
 
27
- export class NSInputDuration extends React.Component<NSInputDurationProps, NSInputDurationState>
27
+ export class NSInputDuration extends React.Component<INSInputDurationProps, NSInputDurationState>
28
28
  {
29
- constructor(props: NSInputDurationProps)
29
+ constructor(props: INSInputDurationProps)
30
30
  {
31
31
  super(props);
32
32
  this.state = { value: props.defaultValue ?? "" };
@@ -4,12 +4,12 @@ import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputEmail from '../assets/images/icon-input-email.svg';
6
6
  import { Validator } from "../Validator";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
9
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputEmailProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputEmailProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputEmailState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputEmail extends React.Component<NSInputEmailProps, NSInputEmailState>
26
+ export class NSInputEmail extends React.Component<INSInputEmailProps, NSInputEmailState>
27
27
  {
28
- constructor(props: NSInputEmailProps)
28
+ constructor(props: INSInputEmailProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -1,13 +1,13 @@
1
1
  import Styles from "./NSInputErrorNotifier.module.css";
2
2
  import Danger from '../assets/images/danger.svg';
3
- import { BaseComponentProps } from "../props/BaseComponentProps";
3
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
4
4
 
5
- export interface NSInputErrorNotifierProps extends BaseComponentProps
5
+ export interface INSInputErrorNotifierProps extends IBaseComponentProps
6
6
  {
7
7
  error?: string;
8
8
  }
9
9
 
10
- export function NSInputErrorNotifier(props: NSInputErrorNotifierProps)
10
+ export function NSInputErrorNotifier(props: INSInputErrorNotifierProps)
11
11
  {
12
12
  return <>
13
13
  {
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputFloat from '../assets/images/icon-input-float.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationNumberProps } from "../props/ValidationNumberProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationNumberProps } from "../props/IValidationNumberProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputFloatProps extends BaseComponentProps, ValidationProps, ValidationNumberProps
12
+ export interface INSInputFloatProps extends IBaseComponentProps, IValidationProps, IValidationNumberProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: number;
@@ -23,9 +23,9 @@ export interface NSInputFloatState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputFloat extends React.Component<NSInputFloatProps, NSInputFloatState>
26
+ export class NSInputFloat extends React.Component<INSInputFloatProps, NSInputFloatState>
27
27
  {
28
- constructor(props: NSInputFloatProps)
28
+ constructor(props: INSInputFloatProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputIP from '../assets/images/icon-input-ip.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputIPProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputIPProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputIPState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputIP extends React.Component<NSInputIPProps, NSInputIPState>
26
+ export class NSInputIP extends React.Component<INSInputIPProps, NSInputIPState>
27
27
  {
28
- constructor(props: NSInputIPProps)
28
+ constructor(props: INSInputIPProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputInteger from '../assets/images/icon-input-integer.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationNumberProps } from "../props/ValidationNumberProps";
8
- import { ValidationProps } from "../props/ValidationProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationNumberProps } from "../props/IValidationNumberProps";
8
+ import { IValidationProps } from "../props/IValidationProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputIntegerProps extends BaseComponentProps, ValidationProps, ValidationNumberProps
12
+ export interface INSInputIntegerProps extends IBaseComponentProps, IValidationProps, IValidationNumberProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: number;
@@ -23,9 +23,9 @@ export interface NSInputIntegerState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputInteger extends React.Component<NSInputIntegerProps, NSInputIntegerState>
26
+ export class NSInputInteger extends React.Component<INSInputIntegerProps, NSInputIntegerState>
27
27
  {
28
- constructor(props: NSInputIntegerProps)
28
+ constructor(props: INSInputIntegerProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputString from '../assets/images/icon-input-string.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputPasswordProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputPasswordProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputPasswordState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputPassword extends React.Component<NSInputPasswordProps, NSInputPasswordState>
26
+ export class NSInputPassword extends React.Component<INSInputPasswordProps, NSInputPasswordState>
27
27
  {
28
- constructor(props: NSInputPasswordProps)
28
+ constructor(props: INSInputPasswordProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -5,13 +5,13 @@ import Styles from "./NSInput.module.css";
5
5
  import IconInputPhone from '../assets/images/icon-input-phone.svg';
6
6
  import PhoneInput from 'react-phone-input-2'
7
7
  import 'react-phone-input-2/lib/style.css'
8
- import { BaseComponentProps } from "../props/BaseComponentProps";
9
- import { ValidationProps } from "../props/ValidationProps";
10
- import { ValidationStringProps } from "../props/ValidationStringProps";
8
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
9
+ import { IValidationProps } from "../props/IValidationProps";
10
+ import { IValidationStringProps } from "../props/IValidationStringProps";
11
11
  import { Validator } from "../Validator";
12
12
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
13
13
 
14
- export interface NSInputPhoneProps extends BaseComponentProps, ValidationProps, ValidationStringProps
14
+ export interface INSInputPhoneProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
15
15
  {
16
16
  title: string;
17
17
  defaultValue?: string;
@@ -25,9 +25,9 @@ export interface NSInputPhoneState
25
25
  error?: string;
26
26
  }
27
27
 
28
- export class NSInputPhone extends React.Component<NSInputPhoneProps, NSInputPhoneState>
28
+ export class NSInputPhone extends React.Component<INSInputPhoneProps, NSInputPhoneState>
29
29
  {
30
- constructor(props: NSInputPhoneProps)
30
+ constructor(props: INSInputPhoneProps)
31
31
  {
32
32
  super(props);
33
33
  this.state = { value: props.defaultValue ?? "" };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputPrice from '../assets/images/icon-input-price.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationNumberProps } from "../props/ValidationNumberProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationNumberProps } from "../props/IValidationNumberProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputPriceProps extends BaseComponentProps, ValidationProps, ValidationNumberProps
12
+ export interface INSInputPriceProps extends IBaseComponentProps, IValidationProps, IValidationNumberProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: number;
@@ -23,9 +23,9 @@ export interface NSInputPriceState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputPrice extends React.Component<NSInputPriceProps, NSInputPriceState>
26
+ export class NSInputPrice extends React.Component<INSInputPriceProps, NSInputPriceState>
27
27
  {
28
- constructor(props: NSInputPriceProps)
28
+ constructor(props: INSInputPriceProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputSearch from '../assets/images/icon-input-search.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputSearchProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputSearchProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputSearchState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputSearch extends React.Component<NSInputSearchProps, NSInputSearchState>
26
+ export class NSInputSearch extends React.Component<INSInputSearchProps, NSInputSearchState>
27
27
  {
28
- constructor(props: NSInputSearchProps)
28
+ constructor(props: INSInputSearchProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputString from '../assets/images/icon-input-string.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputStringProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputStringProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputStringState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputString extends React.Component<NSInputStringProps, NSInputStringState>
26
+ export class NSInputString extends React.Component<INSInputStringProps, NSInputStringState>
27
27
  {
28
- constructor(props: NSInputStringProps)
28
+ constructor(props: INSInputStringProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputText from '../assets/images/icon-input-text.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputTextProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputTextProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputTextState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputText extends React.Component<NSInputTextProps, NSInputTextState>
26
+ export class NSInputText extends React.Component<INSInputTextProps, NSInputTextState>
27
27
  {
28
- constructor(props: NSInputTextProps)
28
+ constructor(props: INSInputTextProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -3,13 +3,13 @@
3
3
  import React from "react";
4
4
  import Styles from "./NSInput.module.css";
5
5
  import IconInputTime from '../assets/images/icon-input-time.svg';
6
- import { BaseComponentProps } from "../props/BaseComponentProps";
7
- import { ValidationProps } from "../props/ValidationProps";
8
- import { ValidationStringProps } from "../props/ValidationStringProps";
6
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
7
+ import { IValidationProps } from "../props/IValidationProps";
8
+ import { IValidationStringProps } from "../props/IValidationStringProps";
9
9
  import { Validator } from "../Validator";
10
10
  import { NSInputErrorNotifier } from "./NSInputErrorNotifier";
11
11
 
12
- export interface NSInputTimeProps extends BaseComponentProps, ValidationProps, ValidationStringProps
12
+ export interface INSInputTimeProps extends IBaseComponentProps, IValidationProps, IValidationStringProps
13
13
  {
14
14
  title: string;
15
15
  defaultValue?: string;
@@ -23,9 +23,9 @@ export interface NSInputTimeState
23
23
  error?: string;
24
24
  }
25
25
 
26
- export class NSInputTime extends React.Component<NSInputTimeProps, NSInputTimeState>
26
+ export class NSInputTime extends React.Component<INSInputTimeProps, NSInputTimeState>
27
27
  {
28
- constructor(props: NSInputTimeProps)
28
+ constructor(props: INSInputTimeProps)
29
29
  {
30
30
  super(props);
31
31
  this.state = { value: props.defaultValue ?? "" };
@@ -2,19 +2,19 @@ import Styles from './NSLayout.module.css';
2
2
  import { ReactNode } from 'react';
3
3
  import { NSHeader } from './NSHeader';
4
4
  import { NSFooter } from './NSFooter';
5
- import { BaseComponentProps } from '../props/BaseComponentProps';
6
- import { NSNotification, NSNotificationProps } from './NSNotification';
5
+ import { IBaseComponentProps } from '../props/IBaseComponentProps';
6
+ import { NSNotification, INSNotificationProps } from './NSNotification';
7
7
 
8
- export interface NSLayoutProps extends BaseComponentProps
8
+ export interface INSLayoutProps extends IBaseComponentProps
9
9
  {
10
10
  scope: string;
11
11
  logo: string;
12
12
  background?: string;
13
- notifications: NSNotificationProps[];
13
+ notifications: INSNotificationProps[];
14
14
  children: ReactNode;
15
15
  }
16
16
 
17
- export function NSLayout(props: NSLayoutProps)
17
+ export function NSLayout(props: INSLayoutProps)
18
18
  {
19
19
  return (
20
20
  <div id={props.id}
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
 
3
3
  import { ReactNode } from 'react';
4
- import { NSLayout, NSLayoutProps } from './NSLayout';
4
+ import { NSLayout, INSLayoutProps } from './NSLayout';
5
5
  import Styles from './NSLayoutHeroBanner.module.css'
6
6
  import { Link } from 'react-router-dom';
7
- import { BaseComponentProps } from '../props/BaseComponentProps';
7
+ import { IBaseComponentProps } from '../props/IBaseComponentProps';
8
8
 
9
- export interface NSLayoutHeroBannerProps extends NSLayoutProps, BaseComponentProps
9
+ export interface INSLayoutHeroBannerProps extends INSLayoutProps, IBaseComponentProps
10
10
  {
11
11
  title: string;
12
12
  description?: string;
@@ -15,7 +15,7 @@ export interface NSLayoutHeroBannerProps extends NSLayoutProps, BaseComponentPro
15
15
  children: ReactNode;
16
16
  }
17
17
 
18
- export function NSLayoutHeroBanner(props: NSLayoutHeroBannerProps)
18
+ export function NSLayoutHeroBanner(props: INSLayoutHeroBannerProps)
19
19
  {
20
20
  return (
21
21
  <NSLayout {...props} >