namirasoft-site-react 1.5.22 → 1.5.23

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 (485) hide show
  1. package/.dockerignore +86 -86
  2. package/.env.template +10 -10
  3. package/Dockerfile +18 -18
  4. package/SKILL.md +307 -307
  5. package/config-overrides.js +72 -72
  6. package/dist/App.css +33 -33
  7. package/dist/App.d.ts +1 -1
  8. package/dist/NSBoxBuilder.d.ts +25 -25
  9. package/dist/components/NSBanner.d.ts +1 -1
  10. package/dist/components/NSBanner.module.css +47 -47
  11. package/dist/components/NSBarAction.d.ts +1 -1
  12. package/dist/components/NSBarAction.module.css +91 -91
  13. package/dist/components/NSBarAlert.d.ts +1 -1
  14. package/dist/components/NSBarAlert.module.css +79 -79
  15. package/dist/components/NSBarNotification.d.ts +1 -1
  16. package/dist/components/NSBarNotification.module.css +34 -34
  17. package/dist/components/NSBarTitle.d.ts +1 -1
  18. package/dist/components/NSBarTitle.module.css +9 -9
  19. package/dist/components/NSBox.module.css +87 -87
  20. package/dist/components/NSBoxBaseCombo.d.ts +1 -1
  21. package/dist/components/NSBoxBaseCombo.module.css +24 -24
  22. package/dist/components/NSBoxBaseLayout.d.ts +1 -1
  23. package/dist/components/NSBoxBaseLayoutRecursive.d.ts +1 -1
  24. package/dist/components/NSBoxBoolean.d.ts +1 -1
  25. package/dist/components/NSBoxBoolean.module.css +73 -73
  26. package/dist/components/NSBoxBooleans.d.ts +1 -1
  27. package/dist/components/NSBoxColor.d.ts +1 -1
  28. package/dist/components/NSBoxCombo.d.ts +1 -1
  29. package/dist/components/NSBoxDate.d.ts +1 -1
  30. package/dist/components/NSBoxDate.module.css +4 -4
  31. package/dist/components/NSBoxDateRange.d.ts +1 -1
  32. package/dist/components/NSBoxDateRangeBase.d.ts +1 -1
  33. package/dist/components/NSBoxDateRangeBase.module.css +73 -73
  34. package/dist/components/NSBoxDateTime.d.ts +1 -1
  35. package/dist/components/NSBoxDateTime.module.css +4 -4
  36. package/dist/components/NSBoxDateTimeRange.d.ts +1 -1
  37. package/dist/components/NSBoxDouble.d.ts +1 -1
  38. package/dist/components/NSBoxDuration.d.ts +1 -1
  39. package/dist/components/NSBoxDuration.module.css +4 -4
  40. package/dist/components/NSBoxDynamic.d.ts +1 -1
  41. package/dist/components/NSBoxDynamics.d.ts +1 -1
  42. package/dist/components/NSBoxEmail.d.ts +1 -1
  43. package/dist/components/NSBoxEntity.d.ts +1 -1
  44. package/dist/components/NSBoxEnum.d.ts +1 -1
  45. package/dist/components/NSBoxFile.d.ts +1 -1
  46. package/dist/components/NSBoxFile.module.css +10 -10
  47. package/dist/components/NSBoxFilePath.d.ts +1 -1
  48. package/dist/components/NSBoxFont.d.ts +1 -1
  49. package/dist/components/NSBoxIPV4.d.ts +1 -1
  50. package/dist/components/NSBoxIPV4Range.d.ts +1 -1
  51. package/dist/components/NSBoxIPV6.d.ts +1 -1
  52. package/dist/components/NSBoxIPV6Range.d.ts +1 -1
  53. package/dist/components/NSBoxInteger.d.ts +1 -1
  54. package/dist/components/NSBoxInteger.module.css +16 -16
  55. package/dist/components/NSBoxMoney.d.ts +1 -1
  56. package/dist/components/NSBoxOptions.d.ts +1 -1
  57. package/dist/components/NSBoxOptions.module.css +53 -53
  58. package/dist/components/NSBoxPhone.d.ts +1 -1
  59. package/dist/components/NSBoxPhone.module.css +35 -35
  60. package/dist/components/NSBoxRadio.d.ts +1 -1
  61. package/dist/components/NSBoxRadio.module.css +33 -33
  62. package/dist/components/NSBoxSchemaBase.d.ts +1 -1
  63. package/dist/components/NSBoxSchemaBase.module.css +17 -17
  64. package/dist/components/NSBoxSchemaVariable.d.ts +1 -1
  65. package/dist/components/NSBoxSchemaVariable.module.css +16 -16
  66. package/dist/components/NSBoxSearch.d.ts +1 -1
  67. package/dist/components/NSBoxSensitive.d.ts +1 -1
  68. package/dist/components/NSBoxString.d.ts +1 -1
  69. package/dist/components/NSBoxTextArea.d.ts +1 -1
  70. package/dist/components/NSBoxTextArea.module.css +12 -12
  71. package/dist/components/NSBoxTime.d.ts +1 -1
  72. package/dist/components/NSBoxTime.module.css +4 -4
  73. package/dist/components/NSBoxTimeRange.d.ts +1 -1
  74. package/dist/components/NSBoxTimeZone.d.ts +1 -1
  75. package/dist/components/NSBoxURL.d.ts +1 -1
  76. package/dist/components/NSBoxVersion.d.ts +1 -1
  77. package/dist/components/NSButton.module.css +57 -57
  78. package/dist/components/NSButtonBlue.d.ts +1 -1
  79. package/dist/components/NSButtonBlue.module.css +4 -4
  80. package/dist/components/NSButtonGreen.d.ts +1 -1
  81. package/dist/components/NSButtonGreen.module.css +4 -4
  82. package/dist/components/NSButtonRed.d.ts +1 -1
  83. package/dist/components/NSButtonRed.module.css +4 -4
  84. package/dist/components/NSCard.d.ts +1 -1
  85. package/dist/components/NSCard.module.css +113 -113
  86. package/dist/components/NSCardScreenshot.d.ts +1 -1
  87. package/dist/components/NSCardScreenshot.module.css +41 -41
  88. package/dist/components/NSChartBar.d.ts +1 -1
  89. package/dist/components/NSChartDoughnut.d.ts +1 -1
  90. package/dist/components/NSChartLine.d.ts +1 -1
  91. package/dist/components/NSChartPie.d.ts +1 -1
  92. package/dist/components/NSChartRange.d.ts +1 -1
  93. package/dist/components/NSColumn.d.ts +1 -1
  94. package/dist/components/NSColumn.module.css +16 -16
  95. package/dist/components/NSCopy.d.ts +1 -1
  96. package/dist/components/NSCopyBox.d.ts +1 -1
  97. package/dist/components/NSCopyBox.module.css +39 -39
  98. package/dist/components/NSDialog.d.ts +1 -1
  99. package/dist/components/NSDialog.module.css +105 -105
  100. package/dist/components/NSDialogBox.d.ts +1 -1
  101. package/dist/components/NSDialogBoxDate.d.ts +1 -1
  102. package/dist/components/NSDialogBoxDateTime.d.ts +1 -1
  103. package/dist/components/NSDialogBoxPhone.d.ts +1 -1
  104. package/dist/components/NSDialogBoxString.d.ts +1 -1
  105. package/dist/components/NSDialogDelete.d.ts +1 -1
  106. package/dist/components/NSDialogInfo.d.ts +1 -1
  107. package/dist/components/NSDialogPageSelection.d.ts +2 -2
  108. package/dist/components/NSDialogPageSelection.module.css +103 -103
  109. package/dist/components/NSDownTimer.d.ts +1 -1
  110. package/dist/components/NSDownTimer.module.css +55 -55
  111. package/dist/components/NSDownload.d.ts +1 -1
  112. package/dist/components/NSDownload.module.css +46 -46
  113. package/dist/components/NSElectronicCard.d.ts +1 -1
  114. package/dist/components/NSElectronicCard.module.css +60 -60
  115. package/dist/components/NSEntityCardBackground.d.ts +1 -1
  116. package/dist/components/NSEntityCardBackground.module.css +27 -27
  117. package/dist/components/NSFilterBox.d.ts +2 -2
  118. package/dist/components/NSFilterBox.module.css +27 -27
  119. package/dist/components/NSFilterBoxItems.d.ts +1 -1
  120. package/dist/components/NSFilterBoxItems.module.css +15 -15
  121. package/dist/components/NSFilterItem.d.ts +1 -1
  122. package/dist/components/NSFilterItem.module.css +24 -24
  123. package/dist/components/NSFooter.d.ts +1 -1
  124. package/dist/components/NSFooter.module.css +140 -140
  125. package/dist/components/NSGauge.d.ts +1 -1
  126. package/dist/components/NSGauge.module.css +67 -67
  127. package/dist/components/NSGaugeDate.d.ts +1 -1
  128. package/dist/components/NSGaugeDate.module.css +57 -57
  129. package/dist/components/NSGaugeNumber.d.ts +1 -1
  130. package/dist/components/NSGaugeNumber.module.css +66 -66
  131. package/dist/components/NSHeader.d.ts +1 -1
  132. package/dist/components/NSHeader.module.css +316 -316
  133. package/dist/components/NSHeaderScreenshot.d.ts +1 -1
  134. package/dist/components/NSHeaderScreenshot.module.css +35 -35
  135. package/dist/components/NSID.d.ts +1 -1
  136. package/dist/components/NSInfo.d.ts +1 -1
  137. package/dist/components/NSLabel.d.ts +1 -1
  138. package/dist/components/NSLabel.module.css +25 -25
  139. package/dist/components/NSLabelErrorNotifier.d.ts +1 -1
  140. package/dist/components/NSLabelErrorNotifier.module.css +2 -2
  141. package/dist/components/NSLabelSensitive.d.ts +1 -1
  142. package/dist/components/NSLabelSensitive.module.css +9 -9
  143. package/dist/components/NSLayout.d.ts +1 -1
  144. package/dist/components/NSLayout.module.css +22 -22
  145. package/dist/components/NSLine.d.ts +1 -1
  146. package/dist/components/NSLine.module.css +15 -15
  147. package/dist/components/NSLineText.d.ts +1 -1
  148. package/dist/components/NSLineText.module.css +38 -38
  149. package/dist/components/NSLink.d.ts +1 -1
  150. package/dist/components/NSLink.module.css +36 -36
  151. package/dist/components/NSLinkBlue.d.ts +1 -1
  152. package/dist/components/NSLinkGreen.d.ts +1 -1
  153. package/dist/components/NSLinkRed.d.ts +1 -1
  154. package/dist/components/NSListGrouped.d.ts +1 -1
  155. package/dist/components/NSListGrouped.module.css +69 -69
  156. package/dist/components/NSListMenu.d.ts +9 -0
  157. package/dist/components/NSListMenu.js +135 -0
  158. package/dist/components/NSListMenu.js.map +1 -0
  159. package/dist/components/NSListProduct.d.ts +1 -1
  160. package/dist/components/NSLoading.d.ts +1 -1
  161. package/dist/components/NSLoading.module.css +10 -10
  162. package/dist/components/NSMegaMenu.d.ts +1 -1
  163. package/dist/components/NSMegaMenu.module.css +133 -133
  164. package/dist/components/NSMenuAction.d.ts +1 -1
  165. package/dist/components/NSMenuAction.module.css +88 -88
  166. package/dist/components/NSMenuButton.d.ts +1 -1
  167. package/dist/components/NSMenuButton.module.css +44 -44
  168. package/dist/components/NSNoData.d.ts +1 -1
  169. package/dist/components/NSNoData.module.css +11 -11
  170. package/dist/components/NSPagination.d.ts +1 -1
  171. package/dist/components/NSPagination.module.css +87 -87
  172. package/dist/components/NSPanel.d.ts +1 -1
  173. package/dist/components/NSPanel.module.css +28 -28
  174. package/dist/components/NSPanelAccordion.d.ts +1 -1
  175. package/dist/components/NSPanelAccordion.module.css +4 -4
  176. package/dist/components/NSProductSearch.d.ts +1 -1
  177. package/dist/components/NSProductSearch.module.css +73 -73
  178. package/dist/components/NSProgressBar.d.ts +1 -1
  179. package/dist/components/NSProgressBar.module.css +38 -38
  180. package/dist/components/NSRange.d.ts +1 -1
  181. package/dist/components/NSRange.module.css +66 -66
  182. package/dist/components/NSReorderDialog.d.ts +1 -1
  183. package/dist/components/NSReorderDialog.module.css +49 -49
  184. package/dist/components/NSRepeater.d.ts +1 -1
  185. package/dist/components/NSRepeaterNSBoxSchemaVariable.d.ts +1 -1
  186. package/dist/components/NSRepeaterNSTag.d.ts +1 -1
  187. package/dist/components/NSRow.d.ts +1 -1
  188. package/dist/components/NSRow.module.css +17 -17
  189. package/dist/components/NSSection.d.ts +1 -1
  190. package/dist/components/NSSection.module.css +4 -4
  191. package/dist/components/NSSectionCards.d.ts +1 -1
  192. package/dist/components/NSSectionCards.module.css +38 -38
  193. package/dist/components/NSSectionTiles.d.ts +1 -1
  194. package/dist/components/NSSectionTiles.module.css +10 -10
  195. package/dist/components/NSSectionTitle.d.ts +1 -1
  196. package/dist/components/NSSortDialog.d.ts +1 -1
  197. package/dist/components/NSSpace.d.ts +1 -1
  198. package/dist/components/NSSplitter.d.ts +1 -1
  199. package/dist/components/NSSplitter.module.css +59 -59
  200. package/dist/components/NSTabPage.d.ts +1 -1
  201. package/dist/components/NSTabPage.module.css +59 -59
  202. package/dist/components/NSTable.d.ts +2 -1
  203. package/dist/components/NSTable.js +26 -26
  204. package/dist/components/NSTable.js.map +1 -1
  205. package/dist/components/NSTable.module.css +368 -368
  206. package/dist/components/NSTableChart.d.ts +1 -1
  207. package/dist/components/NSTableChart.module.css +119 -119
  208. package/dist/components/NSTag.d.ts +1 -1
  209. package/dist/components/NSTile.d.ts +1 -1
  210. package/dist/components/NSTile.module.css +76 -76
  211. package/dist/components/NSTimelineMonthly.d.ts +1 -1
  212. package/dist/components/NSTimelineMonthly.module.css +71 -71
  213. package/dist/components/NSTitle.d.ts +1 -1
  214. package/dist/components/NSTitle.module.css +15 -15
  215. package/dist/pages/NSImplementing.d.ts +1 -1
  216. package/dist/pages/NSImplementing.module.css +35 -35
  217. package/dist/pages/NSNotFoundPage.d.ts +1 -1
  218. package/dist/pages/NSNotFoundPage.module.css +18 -18
  219. package/dist/pages/NSUpdating.d.ts +1 -1
  220. package/dist/pages/NSUpdating.module.css +35 -35
  221. package/package.json +86 -86
  222. package/public/index.html +38 -38
  223. package/src/App.css +33 -33
  224. package/src/App.tsx +176 -176
  225. package/src/BrowserDetector.ts +109 -109
  226. package/src/Color.tsx +10 -10
  227. package/src/CopyToClipboard.ts +6 -6
  228. package/src/EncryptionOperation.ts +98 -98
  229. package/src/KeyOperation.ts +109 -109
  230. package/src/LinkOperation.ts +101 -101
  231. package/src/NSBoxBuilder.tsx +922 -922
  232. package/src/ProductCacheService.ts +36 -36
  233. package/src/Validator.ts +199 -199
  234. package/src/components/INSBox.tsx +7 -7
  235. package/src/components/NSBanner.module.css +47 -47
  236. package/src/components/NSBanner.tsx +80 -80
  237. package/src/components/NSBarAction.module.css +91 -91
  238. package/src/components/NSBarAction.tsx +95 -95
  239. package/src/components/NSBarAlert.module.css +79 -79
  240. package/src/components/NSBarAlert.tsx +35 -35
  241. package/src/components/NSBarNotification.module.css +34 -34
  242. package/src/components/NSBarNotification.tsx +89 -89
  243. package/src/components/NSBarTitle.module.css +9 -9
  244. package/src/components/NSBarTitle.tsx +23 -23
  245. package/src/components/NSBox.module.css +87 -87
  246. package/src/components/NSBox.tsx +19 -19
  247. package/src/components/NSBoxBaseCombo.module.css +24 -24
  248. package/src/components/NSBoxBaseCombo.tsx +487 -487
  249. package/src/components/NSBoxBaseLayout.tsx +163 -163
  250. package/src/components/NSBoxBaseLayoutRecursive.tsx +59 -59
  251. package/src/components/NSBoxBoolean.module.css +73 -73
  252. package/src/components/NSBoxBoolean.tsx +152 -152
  253. package/src/components/NSBoxBooleans.tsx +181 -181
  254. package/src/components/NSBoxColor.tsx +107 -107
  255. package/src/components/NSBoxCombo.tsx +95 -95
  256. package/src/components/NSBoxDate.module.css +4 -4
  257. package/src/components/NSBoxDate.tsx +144 -144
  258. package/src/components/NSBoxDateRange.tsx +88 -88
  259. package/src/components/NSBoxDateRangeBase.module.css +73 -73
  260. package/src/components/NSBoxDateRangeBase.tsx +236 -236
  261. package/src/components/NSBoxDateTime.module.css +4 -4
  262. package/src/components/NSBoxDateTime.tsx +136 -136
  263. package/src/components/NSBoxDateTimeRange.tsx +66 -66
  264. package/src/components/NSBoxDouble.tsx +110 -110
  265. package/src/components/NSBoxDuration.module.css +4 -4
  266. package/src/components/NSBoxDuration.tsx +107 -107
  267. package/src/components/NSBoxDynamic.tsx +73 -73
  268. package/src/components/NSBoxDynamics.tsx +68 -68
  269. package/src/components/NSBoxEmail.tsx +117 -117
  270. package/src/components/NSBoxEntity.tsx +180 -180
  271. package/src/components/NSBoxEnum.tsx +113 -113
  272. package/src/components/NSBoxFile.module.css +10 -10
  273. package/src/components/NSBoxFile.tsx +106 -106
  274. package/src/components/NSBoxFilePath.tsx +106 -106
  275. package/src/components/NSBoxFont.tsx +107 -107
  276. package/src/components/NSBoxIPV4.tsx +107 -107
  277. package/src/components/NSBoxIPV4Range.tsx +107 -107
  278. package/src/components/NSBoxIPV6.tsx +104 -104
  279. package/src/components/NSBoxIPV6Range.tsx +107 -107
  280. package/src/components/NSBoxInteger.module.css +16 -16
  281. package/src/components/NSBoxInteger.tsx +126 -126
  282. package/src/components/NSBoxMoney.tsx +115 -115
  283. package/src/components/NSBoxOptions.module.css +53 -53
  284. package/src/components/NSBoxOptions.tsx +182 -182
  285. package/src/components/NSBoxPhone.module.css +35 -35
  286. package/src/components/NSBoxPhone.tsx +120 -120
  287. package/src/components/NSBoxRadio.module.css +33 -33
  288. package/src/components/NSBoxRadio.tsx +104 -104
  289. package/src/components/NSBoxSchemaBase.module.css +17 -17
  290. package/src/components/NSBoxSchemaBase.tsx +561 -561
  291. package/src/components/NSBoxSchemaVariable.module.css +16 -16
  292. package/src/components/NSBoxSchemaVariable.tsx +262 -262
  293. package/src/components/NSBoxSearch.tsx +112 -112
  294. package/src/components/NSBoxSensitive.tsx +133 -133
  295. package/src/components/NSBoxString.tsx +106 -106
  296. package/src/components/NSBoxTextArea.module.css +12 -12
  297. package/src/components/NSBoxTextArea.tsx +136 -136
  298. package/src/components/NSBoxTime.module.css +4 -4
  299. package/src/components/NSBoxTime.tsx +106 -106
  300. package/src/components/NSBoxTimeRange.tsx +220 -220
  301. package/src/components/NSBoxTimeZone.tsx +122 -122
  302. package/src/components/NSBoxURL.tsx +117 -117
  303. package/src/components/NSBoxVersion.tsx +107 -107
  304. package/src/components/NSButton.module.css +57 -57
  305. package/src/components/NSButton.tsx +74 -74
  306. package/src/components/NSButtonBlue.module.css +4 -4
  307. package/src/components/NSButtonBlue.tsx +29 -29
  308. package/src/components/NSButtonGreen.module.css +4 -4
  309. package/src/components/NSButtonGreen.tsx +29 -29
  310. package/src/components/NSButtonRed.module.css +4 -4
  311. package/src/components/NSButtonRed.tsx +29 -29
  312. package/src/components/NSCard.module.css +113 -113
  313. package/src/components/NSCard.tsx +67 -67
  314. package/src/components/NSCardScreenshot.module.css +41 -41
  315. package/src/components/NSCardScreenshot.tsx +31 -31
  316. package/src/components/NSChartBar.tsx +134 -134
  317. package/src/components/NSChartDoughnut.tsx +114 -114
  318. package/src/components/NSChartLine.tsx +110 -110
  319. package/src/components/NSChartPie.tsx +105 -105
  320. package/src/components/NSChartRange.tsx +14 -14
  321. package/src/components/NSColumn.module.css +16 -16
  322. package/src/components/NSColumn.tsx +24 -24
  323. package/src/components/NSCopy.tsx +95 -95
  324. package/src/components/NSCopyBox.module.css +39 -39
  325. package/src/components/NSCopyBox.tsx +53 -53
  326. package/src/components/NSDialog.module.css +105 -105
  327. package/src/components/NSDialog.tsx +72 -72
  328. package/src/components/NSDialogBox.tsx +38 -38
  329. package/src/components/NSDialogBoxDate.tsx +28 -28
  330. package/src/components/NSDialogBoxDateTime.tsx +28 -28
  331. package/src/components/NSDialogBoxPhone.tsx +28 -28
  332. package/src/components/NSDialogBoxString.tsx +28 -28
  333. package/src/components/NSDialogDelete.tsx +36 -36
  334. package/src/components/NSDialogInfo.tsx +49 -49
  335. package/src/components/NSDialogPageSelection.module.css +103 -103
  336. package/src/components/NSDialogPageSelection.tsx +233 -233
  337. package/src/components/NSDownTimer.module.css +55 -55
  338. package/src/components/NSDownTimer.tsx +91 -91
  339. package/src/components/NSDownload.module.css +46 -46
  340. package/src/components/NSDownload.tsx +69 -69
  341. package/src/components/NSElectronicCard.module.css +60 -60
  342. package/src/components/NSElectronicCard.tsx +46 -46
  343. package/src/components/NSEntityCardBackground.module.css +27 -27
  344. package/src/components/NSEntityCardBackground.tsx +36 -36
  345. package/src/components/NSFilterBox.module.css +27 -27
  346. package/src/components/NSFilterBox.tsx +477 -477
  347. package/src/components/NSFilterBoxItems.module.css +15 -15
  348. package/src/components/NSFilterBoxItems.tsx +52 -52
  349. package/src/components/NSFilterItem.module.css +24 -24
  350. package/src/components/NSFilterItem.tsx +27 -27
  351. package/src/components/NSFooter.module.css +140 -140
  352. package/src/components/NSFooter.tsx +321 -321
  353. package/src/components/NSGauge.module.css +67 -67
  354. package/src/components/NSGauge.tsx +52 -52
  355. package/src/components/NSGaugeDate.module.css +57 -57
  356. package/src/components/NSGaugeDate.tsx +125 -125
  357. package/src/components/NSGaugeNumber.module.css +66 -66
  358. package/src/components/NSGaugeNumber.tsx +93 -93
  359. package/src/components/NSHeader.module.css +316 -316
  360. package/src/components/NSHeader.tsx +337 -337
  361. package/src/components/NSHeaderScreenshot.module.css +35 -35
  362. package/src/components/NSHeaderScreenshot.tsx +39 -39
  363. package/src/components/NSID.tsx +190 -190
  364. package/src/components/NSInfo.tsx +50 -50
  365. package/src/components/NSLabel.module.css +25 -25
  366. package/src/components/NSLabel.tsx +47 -47
  367. package/src/components/NSLabelErrorNotifier.module.css +2 -2
  368. package/src/components/NSLabelErrorNotifier.tsx +35 -35
  369. package/src/components/NSLabelSensitive.module.css +9 -9
  370. package/src/components/NSLabelSensitive.tsx +101 -101
  371. package/src/components/NSLayout.module.css +22 -22
  372. package/src/components/NSLayout.tsx +143 -143
  373. package/src/components/NSLine.module.css +15 -15
  374. package/src/components/NSLine.tsx +13 -13
  375. package/src/components/NSLineText.module.css +38 -38
  376. package/src/components/NSLineText.tsx +17 -17
  377. package/src/components/NSLink.module.css +36 -36
  378. package/src/components/NSLink.tsx +26 -26
  379. package/src/components/NSLinkBlue.tsx +22 -22
  380. package/src/components/NSLinkGreen.tsx +13 -13
  381. package/src/components/NSLinkRed.tsx +13 -13
  382. package/src/components/NSListGrouped.module.css +69 -69
  383. package/src/components/NSListGrouped.tsx +106 -106
  384. package/src/components/NSListProduct.tsx +78 -78
  385. package/src/components/NSLoading.module.css +10 -10
  386. package/src/components/NSLoading.tsx +43 -43
  387. package/src/components/NSMegaMenu.module.css +133 -133
  388. package/src/components/NSMegaMenu.tsx +188 -188
  389. package/src/components/NSMenuAction.module.css +88 -88
  390. package/src/components/NSMenuAction.tsx +106 -106
  391. package/src/components/NSMenuButton.module.css +44 -44
  392. package/src/components/NSMenuButton.tsx +198 -198
  393. package/src/components/NSNoData.module.css +11 -11
  394. package/src/components/NSNoData.tsx +24 -24
  395. package/src/components/NSPagination.module.css +87 -87
  396. package/src/components/NSPagination.tsx +183 -183
  397. package/src/components/NSPanel.module.css +28 -28
  398. package/src/components/NSPanel.tsx +26 -26
  399. package/src/components/NSPanelAccordion.module.css +4 -4
  400. package/src/components/NSPanelAccordion.tsx +51 -51
  401. package/src/components/NSProductSearch.module.css +73 -73
  402. package/src/components/NSProductSearch.tsx +193 -193
  403. package/src/components/NSProgressBar.module.css +38 -38
  404. package/src/components/NSProgressBar.tsx +29 -29
  405. package/src/components/NSRange.module.css +66 -66
  406. package/src/components/NSRange.tsx +83 -83
  407. package/src/components/NSReorderDialog.module.css +49 -49
  408. package/src/components/NSReorderDialog.tsx +184 -184
  409. package/src/components/NSRepeater.tsx +327 -327
  410. package/src/components/NSRepeaterNSBoxSchemaVariable.tsx +96 -96
  411. package/src/components/NSRepeaterNSTag.tsx +86 -86
  412. package/src/components/NSRow.module.css +17 -17
  413. package/src/components/NSRow.tsx +24 -24
  414. package/src/components/NSSection.module.css +4 -4
  415. package/src/components/NSSection.tsx +26 -26
  416. package/src/components/NSSectionCards.module.css +38 -38
  417. package/src/components/NSSectionCards.tsx +51 -51
  418. package/src/components/NSSectionTiles.module.css +10 -10
  419. package/src/components/NSSectionTiles.tsx +25 -25
  420. package/src/components/NSSectionTitle.tsx +19 -19
  421. package/src/components/NSSortDialog.tsx +124 -124
  422. package/src/components/NSSpace.tsx +28 -28
  423. package/src/components/NSSplitter.module.css +59 -59
  424. package/src/components/NSSplitter.tsx +211 -211
  425. package/src/components/NSTabPage.module.css +59 -59
  426. package/src/components/NSTabPage.tsx +122 -122
  427. package/src/components/NSTable.module.css +368 -368
  428. package/src/components/NSTable.tsx +1445 -1443
  429. package/src/components/NSTableChart.module.css +119 -119
  430. package/src/components/NSTableChart.tsx +732 -732
  431. package/src/components/NSTag.tsx +74 -74
  432. package/src/components/NSTile.module.css +76 -76
  433. package/src/components/NSTile.tsx +27 -27
  434. package/src/components/NSTimelineMonthly.module.css +71 -71
  435. package/src/components/NSTimelineMonthly.tsx +44 -44
  436. package/src/components/NSTitle.module.css +15 -15
  437. package/src/components/NSTitle.tsx +19 -19
  438. package/src/css.d.ts +13 -13
  439. package/src/formatter/BackColorFormatter.tsx +23 -23
  440. package/src/formatter/BaseColumnFormatter.ts +86 -86
  441. package/src/formatter/BaseURLImageFormatter.tsx +37 -37
  442. package/src/formatter/BooleanFormatter.ts +26 -26
  443. package/src/formatter/BytesFormatter.tsx +19 -19
  444. package/src/formatter/DateFormatter.ts +26 -26
  445. package/src/formatter/DateTimeFormatter.ts +26 -26
  446. package/src/formatter/DurationFormatter.ts +17 -17
  447. package/src/formatter/EmailFormatter.tsx +25 -25
  448. package/src/formatter/EnumFormatter.ts +17 -17
  449. package/src/formatter/FloatFormatter.ts +27 -27
  450. package/src/formatter/ForeColorFormatter.tsx +24 -24
  451. package/src/formatter/IDFormatter.tsx +58 -58
  452. package/src/formatter/IPFormatter.ts +39 -39
  453. package/src/formatter/IntegerFormatter.ts +27 -27
  454. package/src/formatter/JsonFormatter.tsx +75 -75
  455. package/src/formatter/MoneyFormatter.ts +39 -39
  456. package/src/formatter/PercentFormatter.tsx +43 -43
  457. package/src/formatter/PhoneFormatter.tsx +25 -25
  458. package/src/formatter/SensitiveFormatter.tsx +40 -40
  459. package/src/formatter/StringFormatter.tsx +49 -49
  460. package/src/formatter/TimeFormatter.ts +25 -25
  461. package/src/formatter/URLFormatter.tsx +28 -28
  462. package/src/formatter/UnknowFormatter.ts +22 -22
  463. package/src/index.tsx +7 -7
  464. package/src/main.ts +263 -263
  465. package/src/pages/NSImplementing.module.css +35 -35
  466. package/src/pages/NSImplementing.tsx +32 -32
  467. package/src/pages/NSNotFoundPage.module.css +18 -18
  468. package/src/pages/NSNotFoundPage.tsx +14 -14
  469. package/src/pages/NSUpdating.module.css +35 -35
  470. package/src/pages/NSUpdating.tsx +32 -32
  471. package/src/props/IBackgroundProps.ts +5 -5
  472. package/src/props/IBaseComponentProps.ts +8 -8
  473. package/src/props/IHeaderIconProps.ts +10 -10
  474. package/src/props/IHeaderLeftProps.ts +6 -6
  475. package/src/props/IHeaderRightProps.ts +8 -8
  476. package/src/props/IImageProps.ts +4 -4
  477. package/src/props/ILinkProps.ts +4 -4
  478. package/src/props/IValidationNumberProps.ts +4 -4
  479. package/src/props/IValidationPrecisionProps.ts +3 -3
  480. package/src/props/IValidationProps.ts +9 -9
  481. package/src/props/IValidationRegexProps.ts +4 -4
  482. package/src/props/IValidationStringProps.ts +4 -4
  483. package/src/routing/NSNotifier.ts +114 -114
  484. package/src/routing/NSRouterMaker.tsx +28 -28
  485. package/tsconfig.json +43 -43
@@ -0,0 +1,135 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { NamirasoftAPILinkServer } from "namirasoft-api-link";
3
+ import { EnvService } from "namirasoft-core";
4
+ import { useEffect, useState } from "react";
5
+ import { NSCard } from "./NSCard";
6
+ import { NSSection } from "./NSSection";
7
+ import { NSTitle } from "./NSTitle";
8
+ export function NSListMenu(props) {
9
+ var _a, _b;
10
+ const [state, setState] = useState({ filters: (_a = props.filters) !== null && _a !== void 0 ? _a : [] });
11
+ useEffect(() => {
12
+ var _a;
13
+ if (props.filters)
14
+ return;
15
+ let REACT_APP_BASE_URL_API_LINK = new EnvService("REACT_APP_BASE_URL_API_LINK", true).getString();
16
+ let server = new NamirasoftAPILinkServer(REACT_APP_BASE_URL_API_LINK, (_a = props.onError) !== null && _a !== void 0 ? _a : (() => { }));
17
+ server.filter.ListFilterLinks(props.scope, props.name, null, null, null, []).then((filters) => {
18
+ setState({ filters: filters.rows });
19
+ }).catch(() => { });
20
+ }, []);
21
+ const byId = new Map(((_b = state.filters) !== null && _b !== void 0 ? _b : []).map(f => [f.id, f]));
22
+ const pathOf = (url) => {
23
+ if (!url)
24
+ return "";
25
+ try {
26
+ return new URL(url).pathname.replace(/\/+$/, "").toLowerCase();
27
+ }
28
+ catch (_a) {
29
+ return url.replace(/[?#].*$/, "").replace(/\/+$/, "").toLowerCase();
30
+ }
31
+ };
32
+ const baseOf = (path) => path.replace(/\/[^/]*$/, "");
33
+ const parentOf = (f) => f.parent_id != null ? byId.get(f.parent_id) : undefined;
34
+ const nameOf = (f) => { var _a, _b, _c; return (_c = (_a = f.name) !== null && _a !== void 0 ? _a : (_b = f.link) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : ""; };
35
+ const isListChild = (f) => { var _a; return f.name === "List" && pathOf((_a = f.link) === null || _a === void 0 ? void 0 : _a.url).endsWith("/list") && parentOf(f) != null; };
36
+ const isSupport = (f) => {
37
+ var _a, _b, _c;
38
+ let text = [f.name, (_a = f.link) === null || _a === void 0 ? void 0 : _a.name, (_b = parentOf(f)) === null || _b === void 0 ? void 0 : _b.name].filter(Boolean).join(" ").toLowerCase();
39
+ return text.includes("support") || pathOf((_c = f.link) === null || _c === void 0 ? void 0 : _c.url).includes("support");
40
+ };
41
+ const displayOf = (f) => isListChild(f) ? parentOf(f) : f;
42
+ const chainOf = (f) => {
43
+ let chain = [];
44
+ let current = f;
45
+ while (current != null && chain.length < 100) {
46
+ chain.unshift(current);
47
+ current = parentOf(current);
48
+ }
49
+ return chain;
50
+ };
51
+ const rootOf = (f) => chainOf(displayOf(f))[0];
52
+ const subtitleOf = (f) => {
53
+ let chain = chainOf(displayOf(f));
54
+ let rest = chain.slice(1);
55
+ return rest.length > 0 ? rest.map(nameOf).join(" / ") : nameOf(chain[0]);
56
+ };
57
+ const fullTitleOf = (f) => chainOf(displayOf(f)).map(nameOf).join(" / ");
58
+ const descriptionOf = (f) => { var _a, _b; return (_b = (_a = f.link) === null || _a === void 0 ? void 0 : _a.description) !== null && _b !== void 0 ? _b : ""; };
59
+ const orderPathOf = (f) => chainOf(displayOf(f)).map(n => n.order);
60
+ const compareOrderPath = (a, b) => {
61
+ let pa = orderPathOf(a);
62
+ let pb = orderPathOf(b);
63
+ let len = Math.min(pa.length, pb.length);
64
+ for (let i = 0; i < len; i++)
65
+ if (pa[i] !== pb[i])
66
+ return pa[i] - pb[i];
67
+ return pa.length - pb.length;
68
+ };
69
+ const getMenuItems = () => {
70
+ var _a, _b, _c, _d, _e;
71
+ let loggedin = (_b = (_a = props.isLoggedIn) === null || _a === void 0 ? void 0 : _a.call(props)) !== null && _b !== void 0 ? _b : false;
72
+ let ans = (_d = (_c = state.filters) === null || _c === void 0 ? void 0 : _c.filter(f => {
73
+ if (f.link) {
74
+ if (loggedin)
75
+ return f.link.private;
76
+ return f.link.public;
77
+ }
78
+ return true;
79
+ })) !== null && _d !== void 0 ? _d : [];
80
+ ans = ans.filter(f => { var _a; return (_a = f.link) === null || _a === void 0 ? void 0 : _a.url; });
81
+ ans = ans.filter(f => !isSupport(f));
82
+ let listedBases = new Set();
83
+ for (let f of ans) {
84
+ let path = pathOf((_e = f.link) === null || _e === void 0 ? void 0 : _e.url);
85
+ if (path.endsWith("/list"))
86
+ listedBases.add(baseOf(path));
87
+ }
88
+ ans = ans.filter(f => {
89
+ var _a;
90
+ let path = pathOf((_a = f.link) === null || _a === void 0 ? void 0 : _a.url);
91
+ if (path.endsWith("/new") && listedBases.has(baseOf(path)))
92
+ return false;
93
+ return true;
94
+ });
95
+ ans.sort(compareOrderPath);
96
+ return ans;
97
+ };
98
+ let items = getMenuItems();
99
+ let groups = [];
100
+ for (let f of items) {
101
+ let root = rootOf(f);
102
+ let last = groups[groups.length - 1];
103
+ if (last && last.root.id === root.id)
104
+ last.items.push(f);
105
+ else
106
+ groups.push({ root, items: [f] });
107
+ }
108
+ let blocks = [];
109
+ let singles = [];
110
+ for (let group of groups) {
111
+ if (group.items.length <= 1) {
112
+ singles.push(...group.items);
113
+ continue;
114
+ }
115
+ if (singles.length > 0) {
116
+ blocks.push({ type: "singles", items: singles });
117
+ singles = [];
118
+ }
119
+ blocks.push({ type: "group", root: group.root, items: group.items });
120
+ }
121
+ if (singles.length > 0)
122
+ blocks.push({ type: "singles", items: singles });
123
+ return (_jsx("div", { style: { display: "flex", flexDirection: "column", width: "100%", gap: "32px" }, children: blocks.map((block, index) => block.type === "group"
124
+ ?
125
+ _jsxs("div", { style: { width: "100%" }, children: [_jsx(NSTitle, { title: nameOf(block.root), style: { marginBottom: 16, fontSize: 32 } }), _jsx(NSSection, { style: { gap: "16px" }, children: block.items.map((filter) => {
126
+ var _a, _b;
127
+ return _jsx(NSCard, { link: { href: (_b = (_a = filter.link) === null || _a === void 0 ? void 0 : _a.url) !== null && _b !== void 0 ? _b : "" }, title: subtitleOf(filter), description: descriptionOf(filter) }, filter.id);
128
+ }) })] }, `group-${block.root.id}`)
129
+ :
130
+ _jsx("div", { style: { width: "100%" }, children: _jsx(NSSection, { style: { gap: "16px" }, children: block.items.map((filter) => {
131
+ var _a, _b;
132
+ return _jsx(NSCard, { link: { href: (_b = (_a = filter.link) === null || _a === void 0 ? void 0 : _a.url) !== null && _b !== void 0 ? _b : "" }, title: fullTitleOf(filter), description: descriptionOf(filter) }, filter.id);
133
+ }) }) }, `singles-${index}`)) }));
134
+ }
135
+ //# sourceMappingURL=NSList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7B,MAAM,CAAC,EAAE,CAIhB,CAAA;6BAAA,CACL,GAEG,KAbN,SAAS,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,CAc5B;YACN,CAAC;gBACD,cAA8B,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAClD,KAAC,SAAS,IAAC,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,YAEzB,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAyB,EAAE,EAAE;;4BAC1C,OAAA,KAAC,MAAM,IAEH,IAAI,EAAE,EAAE,IAAI,EAAE,MAAA,MAAA,MAAM,CAAC,IAAI,0CAAE,GAAG,mCAAI,EAAE,EAAE,EACtC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAC1B,WAAW,EAAE,aAAa,CAAC,MAAM,CAAC,IAH7B,MAAM,CAAC,EAAE,CAIhB,CAAA;yBAAA,CACL,GAEG,IAZN,WAAW,KAAK,EAAE,CAatB,CACb,GAEH,CACT,CAAC;AACN,CAAC"}
@@ -12,4 +12,4 @@ export interface NSListProductProps {
12
12
  getChildrenAfter?: () => NSListProductCardProps[];
13
13
  search?: string;
14
14
  }
15
- export declare function NSListProduct(props: NSListProductProps): import("react").JSX.Element;
15
+ export declare function NSListProduct(props: NSListProductProps): import("react/jsx-runtime").JSX.Element;
@@ -7,4 +7,4 @@ export interface NSLoadingProps extends IBaseComponentProps {
7
7
  hideTitle?: boolean;
8
8
  hideDescription?: boolean;
9
9
  }
10
- export declare function NSLoading(props: NSLoadingProps): import("react").JSX.Element;
10
+ export declare function NSLoading(props: NSLoadingProps): import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,11 @@
1
- .ns_loading_parent {
2
- width: 100%;
3
- display: flex;
4
- flex-direction: column;
5
- justify-content: center;
6
- align-items: center;
7
- margin: 0 auto;
8
- padding: 48px 0;
9
- color: rgba(20, 27, 92, 1);
10
- gap: 16px;
1
+ .ns_loading_parent {
2
+ width: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
7
+ margin: 0 auto;
8
+ padding: 48px 0;
9
+ color: rgba(20, 27, 92, 1);
10
+ gap: 16px;
11
11
  }
@@ -17,5 +17,5 @@ export default class NSMegaMenu extends Component<NSMegaMenuProps, NSMegaMenuSta
17
17
  private buildMegaMenuNode;
18
18
  private renderMenuItem;
19
19
  private getLinkHref;
20
- render(): import("react").JSX.Element;
20
+ render(): import("react/jsx-runtime").JSX.Element;
21
21
  }
@@ -1,134 +1,134 @@
1
- .ns_mega_menu {
2
- width: 40rem;
3
- margin: 0;
4
- padding: 1rem;
5
- display: none;
6
- flex-direction: column;
7
- gap: 1rem;
8
- }
9
-
10
- .ns_mega_menu_breadcrumb {
11
- margin: 0;
12
- padding: 0 0 0 0.5rem;
13
- display: flex;
14
- flex-wrap: wrap;
15
- justify-content: flex-start !important;
16
- gap: 0.5rem;
17
- }
18
-
19
- .ns_mega_menu_breadcrumb_item {
20
- display: flex;
21
- align-items: center;
22
- gap: 0.5rem;
23
- margin-right: 0 !important;
24
- font-size: 0.875rem;
25
- line-height: 1rem;
26
- color: #141b5c;
27
- }
28
-
29
- .ns_mega_menu_breadcrumb_item>span[role=button]:hover {
30
- text-decoration: underline;
31
- }
32
-
33
- .ns_mega_menu_breadcrumb_item:last-child>span[role=button] {
34
- font-weight: 500;
35
- }
36
-
37
- .ns_mega_menu_list_wrapper {
38
- display: flex;
39
- }
40
-
41
- .ns_mega_menu_list_divider {
42
- width: 1px;
43
- background-color: #e1e1e1;
44
- margin: 0 1rem;
45
- }
46
-
47
- .ns_mega_menu_list {
48
- width: 100%;
49
- margin: 0;
50
- padding: 0;
51
- display: flex;
52
- flex-direction: column;
53
- justify-content: flex-start !important;
54
- gap: 0.5rem;
55
- }
56
-
57
- .ns_mega_menu_item {
58
- width: 100%;
59
- margin-right: 0 !important;
60
- border: 1px solid #fff;
61
- border-radius: 0.75rem;
62
- padding: 0.5rem;
63
- display: flex;
64
- align-items: flex-start;
65
- gap: 0.75rem;
66
- }
67
-
68
- .ns_mega_menu_item.selectable {
69
- cursor: pointer;
70
- }
71
-
72
- .ns_mega_menu_item.selectable:hover {
73
- background-color: #f0f0f0;
74
- }
75
-
76
- .ns_mega_menu_item.selected {
77
- border-color: #e1e1e1;
78
- background-color: #efefef;
79
- }
80
-
81
- .ns_mega_menu_link {
82
- display: contents;
83
- }
84
-
85
- .ns_mega_menu_icon {
86
- border-radius: 0.5rem;
87
- padding: 0.25rem;
88
- box-shadow: 0 0 0.25rem rgba(67, 71, 85, 0.27), 0 0.25rem 1rem rgba(90, 125, 188, 0.05);
89
- font-size: 0.75rem;
90
- }
91
-
92
- .ns_mega_menu_content {
93
- width: 100%;
94
- min-height: 100%;
95
- padding: 0.125rem 0;
96
- display: flex;
97
- flex-direction: column;
98
- align-items: flex-start;
99
- justify-content: center;
100
- gap: 0.25rem;
101
- }
102
-
103
- .ns_mega_menu_title {
104
- margin-bottom: 0;
105
- font-size: 0.875rem;
106
- font-weight: 500;
107
- line-height: 1rem;
108
- color: #141b5c;
109
- }
110
-
111
- .ns_mega_menu_link:hover .ns_mega_menu_title {
112
- text-decoration: underline;
113
- }
114
-
115
- .ns_mega_menu_desc {
116
- font-size: 0.875rem;
117
- line-height: 1rem;
118
- color: #141b5caa;
119
- }
120
-
121
- .ns_mega_menu_arrow {
122
- display: inline-flex;
123
- align-self: center;
124
- }
125
-
126
- @media only screen and (min-width: 1023px) {
127
- .ns_mega_menu {
128
- display: flex;
129
- }
130
-
131
- .ns_mega_menu+div {
132
- display: none;
133
- }
1
+ .ns_mega_menu {
2
+ width: 40rem;
3
+ margin: 0;
4
+ padding: 1rem;
5
+ display: none;
6
+ flex-direction: column;
7
+ gap: 1rem;
8
+ }
9
+
10
+ .ns_mega_menu_breadcrumb {
11
+ margin: 0;
12
+ padding: 0 0 0 0.5rem;
13
+ display: flex;
14
+ flex-wrap: wrap;
15
+ justify-content: flex-start !important;
16
+ gap: 0.5rem;
17
+ }
18
+
19
+ .ns_mega_menu_breadcrumb_item {
20
+ display: flex;
21
+ align-items: center;
22
+ gap: 0.5rem;
23
+ margin-right: 0 !important;
24
+ font-size: 0.875rem;
25
+ line-height: 1rem;
26
+ color: #141b5c;
27
+ }
28
+
29
+ .ns_mega_menu_breadcrumb_item>span[role=button]:hover {
30
+ text-decoration: underline;
31
+ }
32
+
33
+ .ns_mega_menu_breadcrumb_item:last-child>span[role=button] {
34
+ font-weight: 500;
35
+ }
36
+
37
+ .ns_mega_menu_list_wrapper {
38
+ display: flex;
39
+ }
40
+
41
+ .ns_mega_menu_list_divider {
42
+ width: 1px;
43
+ background-color: #e1e1e1;
44
+ margin: 0 1rem;
45
+ }
46
+
47
+ .ns_mega_menu_list {
48
+ width: 100%;
49
+ margin: 0;
50
+ padding: 0;
51
+ display: flex;
52
+ flex-direction: column;
53
+ justify-content: flex-start !important;
54
+ gap: 0.5rem;
55
+ }
56
+
57
+ .ns_mega_menu_item {
58
+ width: 100%;
59
+ margin-right: 0 !important;
60
+ border: 1px solid #fff;
61
+ border-radius: 0.75rem;
62
+ padding: 0.5rem;
63
+ display: flex;
64
+ align-items: flex-start;
65
+ gap: 0.75rem;
66
+ }
67
+
68
+ .ns_mega_menu_item.selectable {
69
+ cursor: pointer;
70
+ }
71
+
72
+ .ns_mega_menu_item.selectable:hover {
73
+ background-color: #f0f0f0;
74
+ }
75
+
76
+ .ns_mega_menu_item.selected {
77
+ border-color: #e1e1e1;
78
+ background-color: #efefef;
79
+ }
80
+
81
+ .ns_mega_menu_link {
82
+ display: contents;
83
+ }
84
+
85
+ .ns_mega_menu_icon {
86
+ border-radius: 0.5rem;
87
+ padding: 0.25rem;
88
+ box-shadow: 0 0 0.25rem rgba(67, 71, 85, 0.27), 0 0.25rem 1rem rgba(90, 125, 188, 0.05);
89
+ font-size: 0.75rem;
90
+ }
91
+
92
+ .ns_mega_menu_content {
93
+ width: 100%;
94
+ min-height: 100%;
95
+ padding: 0.125rem 0;
96
+ display: flex;
97
+ flex-direction: column;
98
+ align-items: flex-start;
99
+ justify-content: center;
100
+ gap: 0.25rem;
101
+ }
102
+
103
+ .ns_mega_menu_title {
104
+ margin-bottom: 0;
105
+ font-size: 0.875rem;
106
+ font-weight: 500;
107
+ line-height: 1rem;
108
+ color: #141b5c;
109
+ }
110
+
111
+ .ns_mega_menu_link:hover .ns_mega_menu_title {
112
+ text-decoration: underline;
113
+ }
114
+
115
+ .ns_mega_menu_desc {
116
+ font-size: 0.875rem;
117
+ line-height: 1rem;
118
+ color: #141b5caa;
119
+ }
120
+
121
+ .ns_mega_menu_arrow {
122
+ display: inline-flex;
123
+ align-self: center;
124
+ }
125
+
126
+ @media only screen and (min-width: 1023px) {
127
+ .ns_mega_menu {
128
+ display: flex;
129
+ }
130
+
131
+ .ns_mega_menu+div {
132
+ display: none;
133
+ }
134
134
  }
@@ -12,4 +12,4 @@ export interface NSMenuActionState {
12
12
  export declare function NSMenuAction(props: {
13
13
  name: string;
14
14
  items: NSMenuActionProps[];
15
- }): import("react").JSX.Element;
15
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,89 +1,89 @@
1
- .ns_menu_action {
2
- display: flex;
3
- flex-direction: column;
4
- color: #000;
5
- position: relative;
6
- width: 100%;
7
- }
8
-
9
- .ns_menu_action_button {
10
- width: 100%;
11
- max-width: 100%;
12
- }
13
-
14
- .ns_menu_action>button {
15
- border-radius: 8px;
16
- padding: 10px 12px;
17
- font-size: 16px;
18
- font-weight: 400;
19
- border: 1px solid #000;
20
- max-width: 100%;
21
- height: max-content !important;
22
- background: #fff;
23
- cursor: pointer;
24
- text-align: start;
25
- color: #141B5C;
26
- cursor: pointer;
27
- }
28
-
29
- .ns_menu_action_icon {
30
- position: absolute;
31
- right: 5px;
32
- top: 12px;
33
- z-index: 1;
34
- }
35
-
36
- .ns_menu_action_item_holder {
37
- list-style-type: none;
38
- padding: 16px 0;
39
- margin: 0;
40
- background: #fff;
41
- border-radius: 8px;
42
- position: absolute;
43
- top: 48px;
44
- left: 0;
45
- width: 100%;
46
- box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
47
- -webkit-box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
48
- -moz-box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
49
- z-index: 2;
50
- }
51
-
52
- .ns_menu_action_item {
53
- height: 40px;
54
- display: flex;
55
- align-items: center;
56
- font-size: 16px;
57
- color: #141B5C;
58
- padding: 0 16px;
59
- cursor: pointer;
60
- position: relative;
61
- z-index: 11;
62
- }
63
-
64
- .ns_menu_action_item:hover {
65
- background-color: #141B5C66;
66
- }
67
-
68
- .ns_menu_action_item_deactive {
69
- color: #D1D1D1;
70
- cursor: not-allowed;
71
- }
72
-
73
- .ns_menu_action_show {
74
- display: block;
75
- }
76
-
77
- .ns_menu_action_hide {
78
- display: none;
79
- }
80
-
81
- @media only screen and (min-width: 480px) {
82
- .ns_menu_action {
83
- width: 180px;
84
- }
85
-
86
- .ns_menu_action_button {
87
- width: 180px;
88
- }
1
+ .ns_menu_action {
2
+ display: flex;
3
+ flex-direction: column;
4
+ color: #000;
5
+ position: relative;
6
+ width: 100%;
7
+ }
8
+
9
+ .ns_menu_action_button {
10
+ width: 100%;
11
+ max-width: 100%;
12
+ }
13
+
14
+ .ns_menu_action>button {
15
+ border-radius: 8px;
16
+ padding: 10px 12px;
17
+ font-size: 16px;
18
+ font-weight: 400;
19
+ border: 1px solid #000;
20
+ max-width: 100%;
21
+ height: max-content !important;
22
+ background: #fff;
23
+ cursor: pointer;
24
+ text-align: start;
25
+ color: #141B5C;
26
+ cursor: pointer;
27
+ }
28
+
29
+ .ns_menu_action_icon {
30
+ position: absolute;
31
+ right: 5px;
32
+ top: 12px;
33
+ z-index: 1;
34
+ }
35
+
36
+ .ns_menu_action_item_holder {
37
+ list-style-type: none;
38
+ padding: 16px 0;
39
+ margin: 0;
40
+ background: #fff;
41
+ border-radius: 8px;
42
+ position: absolute;
43
+ top: 48px;
44
+ left: 0;
45
+ width: 100%;
46
+ box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
47
+ -webkit-box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
48
+ -moz-box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
49
+ z-index: 2;
50
+ }
51
+
52
+ .ns_menu_action_item {
53
+ height: 40px;
54
+ display: flex;
55
+ align-items: center;
56
+ font-size: 16px;
57
+ color: #141B5C;
58
+ padding: 0 16px;
59
+ cursor: pointer;
60
+ position: relative;
61
+ z-index: 11;
62
+ }
63
+
64
+ .ns_menu_action_item:hover {
65
+ background-color: #141B5C66;
66
+ }
67
+
68
+ .ns_menu_action_item_deactive {
69
+ color: #D1D1D1;
70
+ cursor: not-allowed;
71
+ }
72
+
73
+ .ns_menu_action_show {
74
+ display: block;
75
+ }
76
+
77
+ .ns_menu_action_hide {
78
+ display: none;
79
+ }
80
+
81
+ @media only screen and (min-width: 480px) {
82
+ .ns_menu_action {
83
+ width: 180px;
84
+ }
85
+
86
+ .ns_menu_action_button {
87
+ width: 180px;
88
+ }
89
89
  }
@@ -36,4 +36,4 @@ export interface NSMenuButtonState {
36
36
  export declare function safeMenuMenuItem(props: {
37
37
  menu?: NSMenuButtonMenuProps;
38
38
  }, pusher: (items: NSMenuButtonMenuItemProps[]) => void): NSMenuButtonMenuProps;
39
- export declare function NSMenuButton(props: NSMenuButtonProps): import("react").JSX.Element;
39
+ export declare function NSMenuButton(props: NSMenuButtonProps): import("react/jsx-runtime").JSX.Element;