namirasoft-site-react 1.3.66 → 1.3.68

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/Validator.d.ts +6 -6
  2. package/dist/Validator.js.map +1 -1
  3. package/dist/components/NSButton.d.ts +5 -5
  4. package/dist/components/NSButton.js.map +1 -1
  5. package/dist/components/NSButtonBlue.d.ts +2 -2
  6. package/dist/components/NSButtonBlue.js.map +1 -1
  7. package/dist/components/NSButtonGreen.d.ts +2 -2
  8. package/dist/components/NSButtonGreen.js.map +1 -1
  9. package/dist/components/NSButtonRed.d.ts +2 -2
  10. package/dist/components/NSButtonRed.js.map +1 -1
  11. package/dist/components/NSCard.d.ts +7 -7
  12. package/dist/components/NSCard.js.map +1 -1
  13. package/dist/components/NSCopyToClipboard.d.ts +3 -3
  14. package/dist/components/NSCopyToClipboard.js.map +1 -1
  15. package/dist/components/NSEntityBar.d.ts +5 -5
  16. package/dist/components/NSEntityBar.js.map +1 -1
  17. package/dist/components/NSEntityCardBackground.d.ts +5 -5
  18. package/dist/components/NSEntityCardBackground.js.map +1 -1
  19. package/dist/components/NSFooter.d.ts +4 -4
  20. package/dist/components/NSFooter.js.map +1 -1
  21. package/dist/components/NSHeader.d.ts +5 -5
  22. package/dist/components/NSHeader.js.map +1 -1
  23. package/dist/components/NSInputDate.d.ts +5 -5
  24. package/dist/components/NSInputDate.js.map +1 -1
  25. package/dist/components/NSInputDuration.d.ts +7 -7
  26. package/dist/components/NSInputDuration.js.map +1 -1
  27. package/dist/components/NSInputEmail.d.ts +6 -6
  28. package/dist/components/NSInputEmail.js.map +1 -1
  29. package/dist/components/NSInputErrorNotifier.d.ts +3 -3
  30. package/dist/components/NSInputErrorNotifier.js.map +1 -1
  31. package/dist/components/NSInputFloat.d.ts +6 -6
  32. package/dist/components/NSInputFloat.js.map +1 -1
  33. package/dist/components/NSInputIP.d.ts +6 -6
  34. package/dist/components/NSInputIP.js.map +1 -1
  35. package/dist/components/NSInputInteger.d.ts +6 -6
  36. package/dist/components/NSInputInteger.js.map +1 -1
  37. package/dist/components/NSInputPassword.d.ts +6 -6
  38. package/dist/components/NSInputPassword.js.map +1 -1
  39. package/dist/components/NSInputPhone.d.ts +6 -6
  40. package/dist/components/NSInputPhone.js.map +1 -1
  41. package/dist/components/NSInputPrice.d.ts +6 -6
  42. package/dist/components/NSInputPrice.js.map +1 -1
  43. package/dist/components/NSInputSearch.d.ts +6 -6
  44. package/dist/components/NSInputSearch.js.map +1 -1
  45. package/dist/components/NSInputString.d.ts +6 -6
  46. package/dist/components/NSInputString.js.map +1 -1
  47. package/dist/components/NSInputText.d.ts +6 -6
  48. package/dist/components/NSInputText.js.map +1 -1
  49. package/dist/components/NSInputTime.d.ts +6 -6
  50. package/dist/components/NSInputTime.js.map +1 -1
  51. package/dist/components/NSLayout.d.ts +5 -5
  52. package/dist/components/NSLayout.js.map +1 -1
  53. package/dist/components/NSLayoutHeroBanner.d.ts +4 -4
  54. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  55. package/dist/components/NSLayoutTitle.d.ts +4 -4
  56. package/dist/components/NSLayoutTitle.js.map +1 -1
  57. package/dist/components/NSLink.d.ts +4 -4
  58. package/dist/components/NSLink.js.map +1 -1
  59. package/dist/components/NSLinkBlue.d.ts +2 -2
  60. package/dist/components/NSLinkBlue.js.map +1 -1
  61. package/dist/components/NSLinkGreen.d.ts +2 -2
  62. package/dist/components/NSLinkGreen.js.map +1 -1
  63. package/dist/components/NSLinkRed.d.ts +2 -2
  64. package/dist/components/NSLinkRed.js.map +1 -1
  65. package/dist/components/NSLoading.d.ts +3 -3
  66. package/dist/components/NSLoading.js.map +1 -1
  67. package/dist/components/NSNotification.d.ts +3 -3
  68. package/dist/components/NSNotification.js.map +1 -1
  69. package/dist/components/NSPagination.d.ts +3 -3
  70. package/dist/components/NSPagination.js.map +1 -1
  71. package/dist/components/NSPanel.d.ts +3 -3
  72. package/dist/components/NSPanel.js.map +1 -1
  73. package/dist/components/NSSection.d.ts +3 -3
  74. package/dist/components/NSSection.js.map +1 -1
  75. package/dist/components/NSSectionBars.d.ts +5 -5
  76. package/dist/components/NSSectionBars.js.map +1 -1
  77. package/dist/components/NSSectionCards.d.ts +7 -7
  78. package/dist/components/NSSectionCards.js.map +1 -1
  79. package/dist/components/NSSectionTitle.d.ts +3 -3
  80. package/dist/components/NSSectionTitle.js.map +1 -1
  81. package/dist/components/NSSelectBox.d.ts +5 -5
  82. package/dist/components/NSSelectBox.js.map +1 -1
  83. package/dist/components/NSSpace.d.ts +3 -3
  84. package/dist/components/NSSpace.js.map +1 -1
  85. package/dist/components/NSTable.d.ts +4 -4
  86. package/dist/components/NSTable.js.map +1 -1
  87. package/dist/components/NSTitle.d.ts +3 -3
  88. package/dist/components/NSTitle.js.map +1 -1
  89. package/dist/main.d.ts +12 -0
  90. package/dist/main.js +12 -0
  91. package/dist/main.js.map +1 -1
  92. package/dist/pages/NSLoginPage.d.ts +2 -2
  93. package/dist/pages/NSLoginPage.js.map +1 -1
  94. package/dist/props/{BaseComponentProps.d.ts → IBaseComponentProps.d.ts} +1 -1
  95. package/dist/props/IBaseComponentProps.js +2 -0
  96. package/dist/props/IBaseComponentProps.js.map +1 -0
  97. package/dist/props/{ImageProps.d.ts → IImageProps.d.ts} +1 -1
  98. package/dist/props/IImageProps.js +2 -0
  99. package/dist/props/IImageProps.js.map +1 -0
  100. package/dist/props/{LinkProps.d.ts → ILinkProps.d.ts} +1 -1
  101. package/dist/props/ILinkProps.js +2 -0
  102. package/dist/props/ILinkProps.js.map +1 -0
  103. package/dist/props/IValidationNumberProps.d.ts +4 -0
  104. package/dist/props/IValidationNumberProps.js +2 -0
  105. package/dist/props/IValidationNumberProps.js.map +1 -0
  106. package/dist/props/IValidationProps.d.ts +6 -0
  107. package/dist/props/IValidationProps.js +2 -0
  108. package/dist/props/IValidationProps.js.map +1 -0
  109. package/dist/props/IValidationRegexProps.d.ts +4 -0
  110. package/dist/props/IValidationRegexProps.js +2 -0
  111. package/dist/props/IValidationRegexProps.js.map +1 -0
  112. package/dist/props/{ValidationStringProps.d.ts → IValidationStringProps.d.ts} +1 -1
  113. package/dist/props/IValidationStringProps.js +2 -0
  114. package/dist/props/IValidationStringProps.js.map +1 -0
  115. package/dist/routing/INSRouterMaker.d.ts +5 -0
  116. package/dist/routing/INSRouterMaker.js +2 -0
  117. package/dist/routing/INSRouterMaker.js.map +1 -0
  118. package/dist/routing/INSRouterProps.d.ts +4 -0
  119. package/dist/routing/INSRouterProps.js +2 -0
  120. package/dist/routing/INSRouterProps.js.map +1 -0
  121. package/dist/routing/INSRouterState.d.ts +4 -0
  122. package/dist/routing/INSRouterState.js +2 -0
  123. package/dist/routing/INSRouterState.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 +16 -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/Validator.ts +6 -6
  132. package/src/components/NSButton.tsx +5 -5
  133. package/src/components/NSButtonBlue.tsx +2 -2
  134. package/src/components/NSButtonGreen.tsx +2 -2
  135. package/src/components/NSButtonRed.tsx +2 -2
  136. package/src/components/NSCard.tsx +7 -7
  137. package/src/components/NSCopyToClipboard.tsx +3 -3
  138. package/src/components/NSEntityBar.tsx +5 -5
  139. package/src/components/NSEntityCardBackground.tsx +5 -5
  140. package/src/components/NSFooter.tsx +4 -4
  141. package/src/components/NSHeader.tsx +6 -6
  142. package/src/components/NSInputDate.tsx +5 -5
  143. package/src/components/NSInputDuration.tsx +7 -7
  144. package/src/components/NSInputEmail.tsx +6 -6
  145. package/src/components/NSInputErrorNotifier.tsx +3 -3
  146. package/src/components/NSInputFloat.tsx +6 -6
  147. package/src/components/NSInputIP.tsx +6 -6
  148. package/src/components/NSInputInteger.tsx +6 -6
  149. package/src/components/NSInputPassword.tsx +6 -6
  150. package/src/components/NSInputPhone.tsx +6 -6
  151. package/src/components/NSInputPrice.tsx +6 -6
  152. package/src/components/NSInputSearch.tsx +6 -6
  153. package/src/components/NSInputString.tsx +6 -6
  154. package/src/components/NSInputText.tsx +6 -6
  155. package/src/components/NSInputTime.tsx +6 -6
  156. package/src/components/NSLayout.tsx +5 -5
  157. package/src/components/NSLayoutHeroBanner.tsx +4 -4
  158. package/src/components/NSLayoutTitle.tsx +4 -4
  159. package/src/components/NSLink.tsx +4 -4
  160. package/src/components/NSLinkBlue.tsx +2 -2
  161. package/src/components/NSLinkGreen.tsx +2 -2
  162. package/src/components/NSLinkRed.tsx +2 -2
  163. package/src/components/NSLoading.tsx +3 -3
  164. package/src/components/NSNotification.tsx +3 -3
  165. package/src/components/NSPagination.tsx +3 -3
  166. package/src/components/NSPanel.tsx +3 -3
  167. package/src/components/NSSection.tsx +3 -3
  168. package/src/components/NSSectionBars.tsx +5 -5
  169. package/src/components/NSSectionCards.tsx +7 -7
  170. package/src/components/NSSectionTitle.tsx +3 -3
  171. package/src/components/NSSelectBox.tsx +5 -5
  172. package/src/components/NSSpace.tsx +3 -3
  173. package/src/components/NSTable.tsx +4 -4
  174. package/src/components/NSTitle.tsx +3 -3
  175. package/src/main.ts +13 -1
  176. package/src/pages/NSLoginPage.tsx +2 -2
  177. package/src/props/{BaseComponentProps.ts → IBaseComponentProps.ts} +1 -1
  178. package/src/props/{ImageProps.ts → IImageProps.ts} +1 -1
  179. package/src/props/{LinkProps.ts → ILinkProps.ts} +1 -1
  180. package/src/props/IValidationNumberProps.ts +5 -0
  181. package/src/props/IValidationProps.ts +8 -0
  182. package/src/props/IValidationRegexProps.ts +5 -0
  183. package/src/props/{ValidationStringProps.ts → IValidationStringProps.ts} +1 -1
  184. package/src/routing/INSRouterMaker.ts +7 -0
  185. package/src/routing/INSRouterProps.ts +6 -0
  186. package/src/routing/INSRouterState.ts +6 -0
  187. package/src/routing/NSRouterMaker.tsx +34 -0
  188. package/src/routing/Notifier.ts +80 -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,5 +1,5 @@
1
- import { BaseComponentProps } from "../props/BaseComponentProps";
2
- export interface NSSpaceProps extends BaseComponentProps {
1
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
2
+ export interface INSSpaceProps extends IBaseComponentProps {
3
3
  size: NSSpaceSizeType;
4
4
  }
5
5
  export declare enum NSSpaceSizeType {
@@ -14,4 +14,4 @@ export declare enum NSSpaceSizeType {
14
14
  XXLARGE = "96px",
15
15
  XXXLARGE = "128px"
16
16
  }
17
- export declare function NSSpace(props: NSSpaceProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function NSSpace(props: INSSpaceProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NSSpace.js","sourceRoot":"","sources":["../../src/components/NSSpace.tsx"],"names":[],"mappings":";AAOA,MAAM,CAAN,IAAY,eAYX;AAZD,WAAY,eA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E,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,MAAM,CAClK,CAAC;AACN,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Component } from 'react';
2
- import { BaseComponentProps } from "../props/BaseComponentProps";
3
- export interface NSTableProps<RowType> extends BaseComponentProps {
2
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
3
+ export interface INSTableProps<RowType> extends IBaseComponentProps {
4
4
  columns: {
5
5
  [key: string]: string;
6
6
  };
@@ -18,8 +18,8 @@ export interface NSTableState<RowType> {
18
18
  rows: RowType[];
19
19
  modalState: boolean;
20
20
  }
21
- export declare class NSTable<RowType> extends Component<NSTableProps<RowType>, NSTableState<RowType>> {
22
- constructor(props: NSTableProps<RowType>);
21
+ export declare class NSTable<RowType> extends Component<INSTableProps<RowType>, NSTableState<RowType>> {
22
+ constructor(props: INSTableProps<RowType>);
23
23
  setColumns(columns: {
24
24
  [key: string]: string;
25
25
  }): void;
@@ -1 +1 @@
1
- {"version":3,"file":"NSTable.js","sourceRoot":"","sources":["../../src/components/NSTable.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmBlC,MAAM,OAAO,OAAiB,SAAQ,SAAuD;IAEzF,YAAY,KAA4B;QAEpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,OAAO,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itleProps extends BaseComponentProps {
1
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
2
+ export interface INSTitleProps extends IBaseComponentProps {
3
3
  title: string;
4
4
  }
5
- export declare function NSTitle(props: NSTitleProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function NSTitle(props: INSTitleProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NSTitle.js","sourceRoot":"","sources":["../../src/components/NSTitle.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAQ1C,MAAM,UAAU,OAAO,CAAC,KAAmB;;IAE1C,OAAO,CACN,aACC,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,GAAG,MAAM,CAAC,QAAQ,IAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EAC7D,KAAK,EAAE,KAAK,CAAC,KAAK,YAEjB,KAAK,CAAC,KAAK,GACR,CACL,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"NSTitle.js","sourceRoot":"","sources":["../../src/components/NSTitle.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAQ1C,MAAM,UAAU,OAAO,CAAC,KAAoB;;IAE3C,OAAO,CACN,aACC,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,GAAG,MAAM,CAAC,QAAQ,IAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EAC7D,KAAK,EAAE,KAAK,CAAC,KAAK,YAEjB,KAAK,CAAC,KAAK,GACR,CACL,CAAC;AACH,CAAC"}
package/dist/main.d.ts CHANGED
@@ -41,3 +41,15 @@ export * from "./components/NSTable";
41
41
  export * from "./components/NSTitle";
42
42
  export * from "./pages/NSLoginPage";
43
43
  export * from "./pages/NSNotFoundPage";
44
+ export * from "./props/IBaseComponentProps";
45
+ export * from "./props/IImageProps";
46
+ export * from "./props/ILinkProps";
47
+ export * from "./props/IValidationNumberProps";
48
+ export * from "./props/IValidationProps";
49
+ export * from "./props/IValidationRegexProps";
50
+ export * from "./props/IValidationStringProps";
51
+ export * from "./routing/INSRouterMaker";
52
+ export * from "./routing/INSRouterProps";
53
+ export * from "./routing/INSRouterState";
54
+ export * from "./routing/Notifier";
55
+ export * from "./routing/NSRouterMaker";
package/dist/main.js CHANGED
@@ -41,4 +41,16 @@ export * from "./components/NSTable";
41
41
  export * from "./components/NSTitle";
42
42
  export * from "./pages/NSLoginPage";
43
43
  export * from "./pages/NSNotFoundPage";
44
+ export * from "./props/IBaseComponentProps";
45
+ export * from "./props/IImageProps";
46
+ export * from "./props/ILinkProps";
47
+ export * from "./props/IValidationNumberProps";
48
+ export * from "./props/IValidationProps";
49
+ export * from "./props/IValidationRegexProps";
50
+ export * from "./props/IValidationStringProps";
51
+ export * from "./routing/INSRouterMaker";
52
+ export * from "./routing/INSRouterProps";
53
+ export * from "./routing/INSRouterState";
54
+ export * from "./routing/Notifier";
55
+ export * from "./routing/NSRouterMaker";
44
56
  //# sourceMappingURL=main.js.map
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cA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8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
@@ -1,8 +1,8 @@
1
- export interface NSLoginPageProps {
1
+ export interface INSLoginPageProps {
2
2
  title: string;
3
3
  logo: string;
4
4
  background: string;
5
5
  href?: string;
6
6
  onClick?: () => void;
7
7
  }
8
- export declare function NSLoginPage(props: NSLoginPageProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function NSLoginPage(props: INSLoginPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,0BAA0B,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAWjE,MAAM,UAAU,WAAW,CAAC,KAAuB;;IAE/C,IAAI,MAAM,GAAG,mBAAK,CAAC;IACnB,IAAI,KAAK,CAAC,IAAI;QACV,MAAM,GAAG,KAAC,UAAU,IAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAE,MAAA,KAAK,CAAC,IAAI,mCAAI,EAAE,GAAI,CAAC;SAC7D,IAAI,KAAK,CAAC,OAAO;QAClB,MAAM,GAAG,KAAC,aAAa,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,CAAC;IACrE,OAAO,CACH,cAAK,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,YACrF,eAAK,SAAS,EAAE,GAAG,MAAM,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,aACzE,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,OAAO,EAAE,YAC/B,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,KAAK,OAAO,GAAQ,GAC/E,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,wBAAK,aA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AAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,KAAK,OAAO,GAAQ,GAC/E,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,wBAAK,aAAI,SAAS,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,YAAG,KAAK,CAAC,KAAK,GAAM,GAAM,EAClE,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,SAAS,EAAE,YAChC,MAAM,GACL,IACJ,GACH,CACV,CAAC;AACN,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export interface BaseComponentProps {
2
+ export interface IBaseComponentProps {
3
3
  id?: string;
4
4
  classList?: string[];
5
5
  style?: React.CSSProperties;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IBaseComponentProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBaseComponentProps.js","sourceRoot":"","sources":["../../src/props/IBaseComponentProps.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export interface ImageProps {
1
+ export interface IImageProps {
2
2
  src: string;
3
3
  alt?: string;
4
4
  }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IImageProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IImageProps.js","sourceRoot":"","sources":["../../src/props/IImageProps.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export interface LinkProps {
1
+ export interface ILinkProps {
2
2
  title?: string;
3
3
  href: string;
4
4
  target?: string;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ILinkProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ILinkProps.js","sourceRoot":"","sources":["../../src/props/ILinkProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IValidationNumberProps {
2
+ min?: number;
3
+ max?: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IValidationNumberProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IValidationNumberProps.js","sourceRoot":"","sources":["../../src/props/IValidationNumberProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { IValidationRegexProps } from "./IValidationRegexProps";
2
+ export interface IValidationProps {
3
+ required: boolean;
4
+ regex?: IValidationRegexProps;
5
+ validator?: (name: string, value: string | number | null | undefined) => string | null;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IValidationProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IValidationProps.js","sourceRoot":"","sources":["../../src/props/IValidationProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IValidationRegexProps {
2
+ name: string;
3
+ regex: RegExp;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IValidationRegexProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IValidationRegexProps.js","sourceRoot":"","sources":["../../src/props/IValidationRegexProps.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export interface ValidationStringProps {
1
+ export interface IValidationStringProps {
2
2
  min_length?: number;
3
3
  max_length?: number;
4
4
  }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IValidationStringProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IValidationStringProps.js","sourceRoot":"","sources":["../../src/props/IValidationStringProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { INSRouterProps } from "./INSRouterProps";
3
+ export interface INSRouterMaker {
4
+ onRender(props: INSRouterProps): React.JSX.Element;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=INSRouterMaker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"INSRouterMaker.js","sourceRoot":"","sources":["../../src/routing/INSRouterMaker.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { Notifier } from "../routing/Notifier";
2
+ export interface INSRouterProps {
3
+ notifier: Notifier;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=INSRouterProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"INSRouterProps.js","sourceRoot":"","sources":["../../src/routing/INSRouterProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { INSNotificationProps } from "../components/NSNotification";
2
+ export interface INSRouterState {
3
+ notifications?: INSNotificationProps[];
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=INSRouterState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"INSRouterState.js","sourceRoot":"","sources":["../../src/routing/INSRouterState.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { INSRouterMaker } from './INSRouterMaker';
3
+ import { INSRouterState } from './INSRouterState';
4
+ export declare class NSRouterMaker {
5
+ private state;
6
+ private setState;
7
+ private component;
8
+ constructor(state: INSRouterState | undefined, setState: React.Dispatch<React.SetStateAction<INSRouterState | undefined>>, component: INSRouterMaker);
9
+ private init;
10
+ onRender(): React.JSX.Element;
11
+ }
@@ -0,0 +1,23 @@
1
+ import { Notifier } from './Notifier';
2
+ export class NSRouterMaker {
3
+ constructor(state, setState, component) {
4
+ this.state = state;
5
+ this.setState = setState;
6
+ this.component = component;
7
+ this.init = this.init.bind(this);
8
+ this.onRender = this.onRender.bind(this);
9
+ }
10
+ init() {
11
+ let notifier = new Notifier(this.state, this.setState);
12
+ let props = {
13
+ notifier
14
+ };
15
+ return { props };
16
+ }
17
+ onRender() {
18
+ let { props } = this.init();
19
+ return this.component.onRender(props);
20
+ }
21
+ }
22
+ ;
23
+ //# sourceMappingURL=NSRouterMaker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NSRouterMaker.js","sourceRoot":"","sources":["../../src/routing/NSRouterMaker.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,OAAO,aAAa;IAKtB,YAAY,KAAiC,EAAE,QAA0E,EAAE,SAAyB;QAEhJ,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACO,IAAI;QAER,IAAI,QAAQ,GAAa,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEjE,IAAI,KAAK,GAAmB;YACxB,QAAQ;SACX,CAAC;QAEF,OAAO,EAAE,KAAK,EAAE,CAAC;IACrB,CAAC;IACD,QAAQ;QAEJ,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;CACJ;AAAA,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { INSNotificationProps } from "../components/NSNotification";
3
+ import { INSRouterState } from "./INSRouterState";
4
+ export declare class Notifier {
5
+ private static Counter;
6
+ private state;
7
+ private setState;
8
+ constructor(state: INSRouterState | undefined, setState: React.Dispatch<React.SetStateAction<INSRouterState | undefined>>);
9
+ private notify;
10
+ onInformation(text: string): void;
11
+ onSuccess(text: string): void;
12
+ onWarning(text: string): void;
13
+ onError(error: Error | string): void;
14
+ delNotification(id: string): void;
15
+ getNotifications(): INSNotificationProps[];
16
+ }
@@ -0,0 +1,68 @@
1
+ import axios from "axios";
2
+ import { NSNotificationColor, NotificationType } from "../components/NSNotification";
3
+ export class Notifier {
4
+ constructor(state, setState) {
5
+ this.state = state;
6
+ this.setState = setState;
7
+ this.notify = this.notify.bind(this);
8
+ this.onInformation = this.onInformation.bind(this);
9
+ this.onSuccess = this.onSuccess.bind(this);
10
+ this.onWarning = this.onWarning.bind(this);
11
+ this.onError = this.onError.bind(this);
12
+ this.delNotification = this.delNotification.bind(this);
13
+ this.getNotifications = this.getNotifications.bind(this);
14
+ }
15
+ notify(message) {
16
+ var _a;
17
+ let notifications = [];
18
+ if ((_a = this.state) === null || _a === void 0 ? void 0 : _a.notifications)
19
+ notifications.push(...this.state.notifications);
20
+ notifications.push(message);
21
+ this.setState({ notifications });
22
+ setTimeout(() => {
23
+ message.onClose();
24
+ }, 5000);
25
+ window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });
26
+ }
27
+ onInformation(text) {
28
+ let id = Notifier.Counter++ + "";
29
+ this.notify({ id, text, type: NotificationType.Information, color: NSNotificationColor.GRAY, onClose: () => this.delNotification(id) });
30
+ }
31
+ onSuccess(text) {
32
+ let id = Notifier.Counter++ + "";
33
+ this.notify({ id, text, type: NotificationType.Success, color: NSNotificationColor.GREEN, onClose: () => this.delNotification(id) });
34
+ }
35
+ onWarning(text) {
36
+ let id = Notifier.Counter++ + "";
37
+ this.notify({ id, text, type: NotificationType.Warning, color: NSNotificationColor.YELLOW, onClose: () => this.delNotification(id) });
38
+ }
39
+ onError(error) {
40
+ var _a;
41
+ let id = Notifier.Counter++ + "";
42
+ let text = "";
43
+ if (error instanceof Error) {
44
+ text = error.message;
45
+ if (axios.isAxiosError(error))
46
+ if ((_a = error.response) === null || _a === void 0 ? void 0 : _a.data)
47
+ text = error.response.data;
48
+ }
49
+ else
50
+ text = error;
51
+ this.notify({ id, text, type: NotificationType.Error, color: NSNotificationColor.RED, onClose: () => this.delNotification(id) });
52
+ }
53
+ delNotification(id) {
54
+ if (!this.state)
55
+ return;
56
+ let notifications = [];
57
+ if (this.state.notifications)
58
+ notifications.push(...this.state.notifications);
59
+ notifications = notifications.filter(x => x.id !== id);
60
+ this.setState({ notifications });
61
+ }
62
+ getNotifications() {
63
+ var _a, _b;
64
+ return (_b = (_a = this.state) === null || _a === void 0 ? void 0 : _a.notifications) !== null && _b !== void 0 ? _b : [];
65
+ }
66
+ }
67
+ Notifier.Counter = 1;
68
+ //# sourceMappingURL=Notifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notifier.js","sourceRoot":"","sources":["../../src/routing/Notifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAwB,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAG3G,MAAM,OAAO,QAAQ;IAKjB,YAAY,KAAiC,EAAE,QAA0E;QAErH,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,gBAAgB,GA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a,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC,CAAC;IACrC,CAAC;IACD,gBAAgB;;QAEZ,OAAO,MAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,aAAa,mCAAI,EAAE,CAAC;IAC3C,CAAC;;AAxEc,gBAAO,GAAW,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.66",
11
+ "version": "1.3.68",
12
12
  "author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
package/src/Validator.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { PhoneOperation, RegexTemplate } from "namirasoft-core";
2
- import { ValidationNumberProps } from "./props/ValidationNumberProps";
3
- import { ValidationProps } from "./props/ValidationProps";
4
- import { ValidationStringProps } from "./props/ValidationStringProps";
2
+ import { IValidationNumberProps } from "./props/IValidationNumberProps";
3
+ import { IValidationProps } from "./props/IValidationProps";
4
+ import { IValidationStringProps } from "./props/IValidationStringProps";
5
5
 
6
6
  export class Validator
7
7
  {
8
- static getError(name: string, value: string | number | null | undefined, validator: ValidationProps): string | null
8
+ static getError(name: string, value: string | number | null | undefined, validator: IValidationProps): string | null
9
9
  {
10
10
  if (validator.required)
11
11
  if (!value)
@@ -23,7 +23,7 @@ export class Validator
23
23
  }
24
24
  return null;
25
25
  }
26
- static getErrorString(name: string, value: string | null | undefined, validator: ValidationStringProps): string | null
26
+ static getErrorString(name: string, value: string | null | undefined, validator: IValidationStringProps): string | null
27
27
  {
28
28
  if (value != null)
29
29
  {
@@ -36,7 +36,7 @@ export class Validator
36
36
  }
37
37
  return null;
38
38
  }
39
- static getErrorNumber(name: string, value: number | null | undefined, validator: ValidationNumberProps): string | null
39
+ static getErrorNumber(name: string, value: number | null | undefined, validator: IValidationNumberProps): string | null
40
40
  {
41
41
  if (value != null)
42
42
  {
@@ -1,15 +1,15 @@
1
- import { BaseComponentProps } from "../props/BaseComponentProps";
2
- import { ImageProps } from "../props/ImageProps";
1
+ import { IBaseComponentProps } from "../props/IBaseComponentProps";
2
+ import { IImageProps } from "../props/IImageProps";
3
3
  import Styles from "./NSButton.module.css";
4
4
 
5
- export interface NSButtonProps extends BaseComponentProps
5
+ export interface INSButtonProps extends IBaseComponentProps
6
6
  {
7
7
  title: string;
8
- icon?: ImageProps;
8
+ icon?: IImageProps;
9
9
  onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
10
10
  }
11
11
 
12
- export default function NSButton(props: NSButtonProps)
12
+ export default function NSButton(props: INSButtonProps)
13
13
  {
14
14
  return (
15
15
  <button id={props.id}
@@ -1,8 +1,8 @@
1
1
  import NSButton from "./NSButton";
2
2
  import Style from "./NSButtonBlue.module.css";
3
- import { NSButtonProps } from "./NSButton";
3
+ import { INSButtonProps } from "./NSButton";
4
4
 
5
- export function NSButtonBlue(props: NSButtonProps)
5
+ export function NSButtonBlue(props: INSButtonProps)
6
6
  {
7
7
  let classList = []
8
8
  if (props.classList)
@@ -1,8 +1,8 @@
1
1
  import NSButton from "./NSButton";
2
2
  import Style from "./NSButtonGreen.module.css";
3
- import { NSButtonProps } from "./NSButton";
3
+ import { INSButtonProps } from "./NSButton";
4
4
 
5
- export function NSButtonGreen(props: NSButtonProps)
5
+ export function NSButtonGreen(props: INSButtonProps)
6
6
  {
7
7
  let classList = []
8
8
  if (props.classList)
@@ -1,8 +1,8 @@
1
1
  import NSButton from "./NSButton";
2
2
  import Style from "./NSButtonGreen.module.css";
3
- import { NSButtonProps } from "./NSButton";
3
+ import { INSButtonProps } from "./NSButton";
4
4
 
5
- export function NSButtonRed(props: NSButtonProps)
5
+ export function NSButtonRed(props: INSButtonProps)
6
6
  {
7
7
  let classList = []
8
8
  if (props.classList)
@@ -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}