adminforth 1.1.75 → 1.1.76

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 (247) hide show
  1. package/dist/modules/utils.js +1 -1
  2. package/dist/plugins/S3UploadPlugin/package.json +1 -0
  3. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/.package-lock.json +61 -0
  4. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/LICENSE +21 -0
  5. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/README.md +15 -0
  6. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/package.json +217 -0
  7. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/LICENSE +21 -0
  8. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/README.md +15 -0
  9. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/package.json +21 -0
  10. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/LICENSE +201 -0
  11. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/README.md +68 -0
  12. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/index.js +51 -0
  13. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/interfaces.js +2 -0
  14. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/package.json +58 -0
  15. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/.travis.yml +6 -0
  16. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/LICENSE +22 -0
  17. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/Readme.md +135 -0
  18. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP-verify.js +33 -0
  19. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP.js +15 -0
  20. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/index.js +221 -0
  21. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/package.json +22 -0
  22. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/mocha.opts +1 -0
  23. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/notp.js +217 -0
  24. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/LICENSE.txt +19 -0
  25. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/Makefile +24 -0
  26. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/README.md +15 -0
  27. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/index.js +23 -0
  28. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/index.js +26 -0
  29. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/thirty-two.js +128 -0
  30. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/package.json +15 -0
  31. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/spec/thirty-two_spec.js +63 -0
  32. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/CopyrightNotice.txt +15 -0
  33. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/LICENSE.txt +12 -0
  34. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/README.md +164 -0
  35. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/SECURITY.md +41 -0
  36. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/index.js +68 -0
  37. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/package.json +3 -0
  38. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/package.json +47 -0
  39. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.html +1 -0
  40. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.js +374 -0
  41. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.mjs +373 -0
  42. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.html +1 -0
  43. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.js +424 -0
  44. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/README.md +6 -0
  45. package/dist/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/package.json +55 -0
  46. package/dist/plugins/TwoFactorsAuthPlugin/package-lock.json +69 -0
  47. package/dist/plugins/TwoFactorsAuthPlugin/package.json +15 -0
  48. package/dist/spa/spa/.eslintrc.cjs +14 -0
  49. package/dist/spa/spa/.vscode/extensions.json +6 -0
  50. package/dist/spa/spa/README.md +39 -0
  51. package/dist/spa/spa/env.d.ts +1 -0
  52. package/dist/spa/spa/index.html +23 -0
  53. package/dist/spa/spa/package-lock.json +4470 -0
  54. package/dist/spa/spa/package.json +48 -0
  55. package/dist/spa/spa/postcss.config.js +6 -0
  56. package/dist/spa/spa/public/assets/favicon.png +0 -0
  57. package/dist/spa/spa/src/App.vue +316 -0
  58. package/dist/spa/spa/src/assets/base.css +0 -0
  59. package/dist/spa/spa/src/assets/logo.svg +19 -0
  60. package/dist/spa/spa/src/components/AcceptModal.vue +45 -0
  61. package/dist/spa/spa/src/components/Breadcrumbs.vue +40 -0
  62. package/dist/spa/spa/src/components/BreadcrumbsWithButtons.vue +26 -0
  63. package/dist/spa/spa/src/components/CustomDatePicker.vue +174 -0
  64. package/dist/spa/spa/src/components/CustomDateRangePicker.vue +218 -0
  65. package/dist/spa/spa/src/components/CustomRangePicker.vue +148 -0
  66. package/dist/spa/spa/src/components/Dropdown.vue +168 -0
  67. package/dist/spa/spa/src/components/Filters.vue +211 -0
  68. package/dist/spa/spa/src/components/HelloWorld.vue +17 -0
  69. package/dist/spa/spa/src/components/MenuLink.vue +24 -0
  70. package/dist/spa/spa/src/components/ResourceForm.vue +265 -0
  71. package/dist/spa/spa/src/components/ResourceListTable.vue +404 -0
  72. package/dist/spa/spa/src/components/SingleSkeletLoader.vue +13 -0
  73. package/dist/spa/spa/src/components/SkeleteLoader.vue +23 -0
  74. package/dist/spa/spa/src/components/Toast.vue +66 -0
  75. package/dist/spa/spa/src/components/ValueRenderer.vue +59 -0
  76. package/dist/spa/spa/src/components/icons/IconCalendar.vue +5 -0
  77. package/dist/spa/spa/src/components/icons/IconCommunity.vue +7 -0
  78. package/dist/spa/spa/src/components/icons/IconDocumentation.vue +7 -0
  79. package/dist/spa/spa/src/components/icons/IconEcosystem.vue +7 -0
  80. package/dist/spa/spa/src/components/icons/IconSupport.vue +7 -0
  81. package/dist/spa/spa/src/components/icons/IconTime.vue +5 -0
  82. package/dist/spa/spa/src/components/icons/IconTooling.vue +19 -0
  83. package/dist/spa/spa/src/composables/useFrontendApi.ts +26 -0
  84. package/dist/spa/spa/src/composables/useStores.ts +126 -0
  85. package/dist/spa/spa/src/index.scss +26 -0
  86. package/dist/spa/spa/src/main.ts +18 -0
  87. package/dist/spa/spa/src/router/index.ts +63 -0
  88. package/dist/spa/spa/src/spa_types/core.ts +51 -0
  89. package/dist/spa/spa/src/stores/core.ts +144 -0
  90. package/dist/spa/spa/src/stores/filters.ts +22 -0
  91. package/dist/spa/spa/src/stores/modal.ts +48 -0
  92. package/dist/spa/spa/src/stores/toast.ts +15 -0
  93. package/dist/spa/spa/src/stores/user.ts +54 -0
  94. package/dist/spa/spa/src/utils.ts +101 -0
  95. package/dist/spa/spa/src/views/CreateView.vue +155 -0
  96. package/dist/spa/spa/src/views/EditView.vue +157 -0
  97. package/dist/spa/spa/src/views/ListView.vue +266 -0
  98. package/dist/spa/spa/src/views/LoginView.vue +139 -0
  99. package/dist/spa/spa/src/views/ResourceParent.vue +17 -0
  100. package/dist/spa/spa/src/views/ShowView.vue +180 -0
  101. package/dist/spa/spa/tailwind.config.js +17 -0
  102. package/dist/spa/spa/tsconfig.app.json +14 -0
  103. package/dist/spa/spa/tsconfig.json +11 -0
  104. package/dist/spa/spa/tsconfig.node.json +19 -0
  105. package/dist/spa/spa/vite.config.ts +49 -0
  106. package/modules/utils.ts +1 -1
  107. package/package.json +1 -2
  108. package/plugins/S3UploadPlugin/package.json +1 -0
  109. package/plugins/S3UploadPlugin/types.ts +1 -1
  110. package/plugins/TwoFactorsAuthPlugin/node_modules/.package-lock.json +61 -0
  111. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/LICENSE +21 -0
  112. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/README.md +15 -0
  113. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/assert/strict.d.ts +8 -0
  114. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/assert.d.ts +1040 -0
  115. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/async_hooks.d.ts +541 -0
  116. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/buffer.d.ts +2363 -0
  117. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/child_process.d.ts +1544 -0
  118. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/cluster.d.ts +578 -0
  119. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/console.d.ts +452 -0
  120. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/constants.d.ts +19 -0
  121. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/crypto.d.ts +4523 -0
  122. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dgram.d.ts +596 -0
  123. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
  124. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dns/promises.d.ts +476 -0
  125. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dns.d.ts +864 -0
  126. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dom-events.d.ts +124 -0
  127. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/domain.d.ts +170 -0
  128. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/events.d.ts +931 -0
  129. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/fs/promises.d.ts +1245 -0
  130. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/fs.d.ts +4317 -0
  131. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/globals.d.ts +412 -0
  132. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/globals.global.d.ts +1 -0
  133. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/http.d.ts +1908 -0
  134. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/http2.d.ts +2418 -0
  135. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/https.d.ts +550 -0
  136. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/index.d.ts +89 -0
  137. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/inspector.d.ts +2746 -0
  138. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/module.d.ts +315 -0
  139. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/net.d.ts +999 -0
  140. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/os.d.ts +495 -0
  141. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/package.json +217 -0
  142. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/path.d.ts +191 -0
  143. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/perf_hooks.d.ts +905 -0
  144. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/process.d.ts +1754 -0
  145. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/punycode.d.ts +117 -0
  146. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/querystring.d.ts +153 -0
  147. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/readline/promises.d.ts +150 -0
  148. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/readline.d.ts +540 -0
  149. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/repl.d.ts +430 -0
  150. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/sea.d.ts +153 -0
  151. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream/consumers.d.ts +12 -0
  152. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream/promises.d.ts +83 -0
  153. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream/web.d.ts +367 -0
  154. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream.d.ts +1707 -0
  155. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/string_decoder.d.ts +67 -0
  156. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/test.d.ts +1718 -0
  157. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/timers/promises.d.ts +97 -0
  158. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/timers.d.ts +240 -0
  159. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/tls.d.ts +1217 -0
  160. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/trace_events.d.ts +197 -0
  161. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/tty.d.ts +208 -0
  162. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/url.d.ts +952 -0
  163. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/util.d.ts +2292 -0
  164. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/v8.d.ts +808 -0
  165. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/vm.d.ts +924 -0
  166. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/wasi.d.ts +181 -0
  167. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/worker_threads.d.ts +694 -0
  168. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/zlib.d.ts +530 -0
  169. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/LICENSE +21 -0
  170. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/README.md +15 -0
  171. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/index.d.ts +127 -0
  172. package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/package.json +21 -0
  173. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/LICENSE +201 -0
  174. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/README.md +68 -0
  175. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/index.d.ts +11 -0
  176. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/index.js +51 -0
  177. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/interfaces.d.ts +4 -0
  178. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/interfaces.js +2 -0
  179. package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/package.json +58 -0
  180. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/.travis.yml +6 -0
  181. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/LICENSE +22 -0
  182. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/Readme.md +135 -0
  183. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP-verify.js +33 -0
  184. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP.js +15 -0
  185. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/index.js +221 -0
  186. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/package.json +22 -0
  187. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/mocha.opts +1 -0
  188. package/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/notp.js +217 -0
  189. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/LICENSE.txt +19 -0
  190. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/Makefile +24 -0
  191. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/README.md +15 -0
  192. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/index.js +23 -0
  193. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/index.js +26 -0
  194. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/thirty-two.js +128 -0
  195. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/package.json +15 -0
  196. package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/spec/thirty-two_spec.js +63 -0
  197. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/CopyrightNotice.txt +15 -0
  198. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/LICENSE.txt +12 -0
  199. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/README.md +164 -0
  200. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/SECURITY.md +41 -0
  201. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/index.d.ts +37 -0
  202. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/index.js +68 -0
  203. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/package.json +3 -0
  204. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/package.json +47 -0
  205. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.d.ts +453 -0
  206. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.html +1 -0
  207. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.js +374 -0
  208. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.mjs +373 -0
  209. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.html +1 -0
  210. package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.js +424 -0
  211. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/README.md +6 -0
  212. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/agent.d.ts +31 -0
  213. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/api.d.ts +43 -0
  214. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/balanced-pool.d.ts +18 -0
  215. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/cache.d.ts +36 -0
  216. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/client.d.ts +97 -0
  217. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/connector.d.ts +34 -0
  218. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/content-type.d.ts +21 -0
  219. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/cookies.d.ts +28 -0
  220. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  221. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/dispatcher.d.ts +241 -0
  222. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/errors.d.ts +128 -0
  223. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/fetch.d.ts +209 -0
  224. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/file.d.ts +39 -0
  225. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/filereader.d.ts +54 -0
  226. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/formdata.d.ts +108 -0
  227. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  228. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/global-origin.d.ts +7 -0
  229. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/handlers.d.ts +9 -0
  230. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/header.d.ts +4 -0
  231. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/index.d.ts +63 -0
  232. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/interceptors.d.ts +5 -0
  233. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-agent.d.ts +50 -0
  234. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-client.d.ts +25 -0
  235. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-errors.d.ts +12 -0
  236. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  237. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-pool.d.ts +25 -0
  238. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/package.json +55 -0
  239. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/patch.d.ts +71 -0
  240. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/pool-stats.d.ts +19 -0
  241. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/pool.d.ts +28 -0
  242. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/proxy-agent.d.ts +30 -0
  243. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/readable.d.ts +61 -0
  244. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/webidl.d.ts +220 -0
  245. package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/websocket.d.ts +131 -0
  246. package/plugins/TwoFactorsAuthPlugin/package-lock.json +69 -0
  247. package/plugins/TwoFactorsAuthPlugin/package.json +15 -0
@@ -0,0 +1,139 @@
1
+ <template>
2
+ <div class="relative flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-800"
3
+ :style="coreStore.config?.loginBackgroundImage ? {
4
+ 'background-image': 'url(' + loadFile(coreStore.config?.loginBackgroundImage) + ')',
5
+ 'background-size': 'cover',
6
+ 'background-position': 'center',
7
+ 'background-blend-mode': 'darken'
8
+ }: {}"
9
+ >
10
+
11
+ <!-- Main modal -->
12
+ <div id="authentication-modal" tabindex="-1" class=" overflow-y-auto overflow-x-hidden z-50 min-w-[400px] justify-center items-center md:inset-0 h-[calc(100%-1rem)] max-h-full">
13
+ <div class="relative p-4 w-full max-w-md max-h-full">
14
+ <!-- Modal content -->
15
+ <div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black" >
16
+ <!-- Modal header -->
17
+ <div class="flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600">
18
+ <h3 class="text-xl font-semibold text-gray-900 dark:text-white">
19
+ Sign in to {{ coreStore.config?.brandName }}
20
+ </h3>
21
+
22
+ </div>
23
+ <!-- Modal body -->
24
+ <div class="p-4 md:p-5">
25
+ <form class="space-y-4" @submit.prevent>
26
+ <div>
27
+ <label for="username" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your {{ coreStore.config?.usernameFieldName?.toLowerCase() }}</label>
28
+ <input type="username" name="username" id="username" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" placeholder="name@company.com" required />
29
+ </div>
30
+ <div class="relative">
31
+ <label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your password</label>
32
+ <input :type="!showPw ? 'password': 'text'" name="password" id="password" placeholder="••••••••" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" required />
33
+ <button type="button" @click="showPw = !showPw" class="absolute top-12 right-3 -translate-y-1/2 text-gray-400 dark:text-gray-300">
34
+ <IconEyeSolid class="w-5 h-5" v-if="!showPw" />
35
+ <IconEyeSlashSolid class="w-5 h-5" v-else />
36
+ </button>
37
+ </div>
38
+ <!-- <div class="flex justify-between">
39
+ <div class="flex items-start"> -->
40
+ <!-- <div class="flex items-center h-5">
41
+ <input id="remember" type="checkbox" value="" class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-600 dark:border-gray-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800" required />
42
+ </div>
43
+ <label for="remember" class="ms-2 text-sm font-medium text-gray-900 dark:text-gray-300">Remember me</label> -->
44
+ <!-- </div> -->
45
+ <!-- <a href="#" class="text-sm text-blue-700 hover:underline dark:text-blue-500">Lost Password?</a> -->
46
+ <!-- </div> -->
47
+
48
+ <div v-if="error" class="flex items-center p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400" role="alert">
49
+ <svg class="flex-shrink-0 inline w-4 h-4 me-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
50
+ <path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
51
+ </svg>
52
+ <span class="sr-only">Info</span>
53
+ <div>
54
+ {{ error }}
55
+ </div>
56
+ </div>
57
+
58
+ <button
59
+ @click="login"
60
+ type="submit" class="flex items-center justify-center gap-1 w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
61
+ <svg v-if="inProgress"
62
+ aria-hidden="true" class="w-4 h-4 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/><path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/></svg>
63
+
64
+ Login to your account
65
+
66
+ </button>
67
+ </form>
68
+
69
+
70
+
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
75
+
76
+ </div>
77
+ </template>
78
+
79
+
80
+ <script setup>
81
+
82
+ import { onMounted, ref, watchEffect } from 'vue';
83
+ import { useCoreStore } from '@/stores/core';
84
+ import { useUserStore } from '@/stores/user';
85
+ import { IconEyeSolid, IconEyeSlashSolid } from '@iconify-prerendered/vue-flowbite';
86
+ import { callAdminForthApi, loadFile } from '@/utils';
87
+ import { useRouter } from 'vue-router';
88
+ import { initFlowbite } from 'flowbite'
89
+
90
+
91
+ const router = useRouter();
92
+ const inProgress = ref(false);
93
+
94
+ const coreStore = useCoreStore();
95
+ const user = useUserStore();
96
+
97
+
98
+ const showPw = ref(false);
99
+
100
+ const error = ref(null);
101
+
102
+ onMounted(() => {
103
+ coreStore.getPublicConfig()
104
+ });
105
+
106
+
107
+
108
+ async function login() {
109
+ inProgress.value = true;
110
+ const resp = await callAdminForthApi({
111
+ path: '/login',
112
+ method: 'POST',
113
+ body: {
114
+ username: document.getElementById('username').value,
115
+ password: document.getElementById('password').value,
116
+ }
117
+ });
118
+ inProgress.value = false;
119
+ if (resp.error) {
120
+ error.value = resp.error;
121
+ } else if (resp.redirectTo) {
122
+ router.push(resp.redirectTo);
123
+ }
124
+ else {
125
+ error.value = null;
126
+ user.authorize()
127
+ router.push('/');
128
+ await router.isReady();
129
+ await coreStore.fetchMenuAndResource();
130
+ setTimeout(() => {
131
+ initFlowbite();
132
+ });
133
+
134
+ }
135
+
136
+ }
137
+
138
+
139
+ </script>
@@ -0,0 +1,17 @@
1
+ <template>
2
+ <div :key="`${$route?.params.resourceId}---${$route?.params.primaryKey}`" class="p-4">
3
+ <RouterView/>
4
+ </div>
5
+ </template>
6
+
7
+ <style>
8
+ </style>
9
+
10
+ <script setup>
11
+
12
+
13
+ import { useCoreStore } from '@/stores/core';
14
+
15
+ const coreStore = useCoreStore()
16
+
17
+ </script>
@@ -0,0 +1,180 @@
1
+ <template>
2
+ <div class="relative">
3
+ <component
4
+ v-for="c in coreStore?.resourceOptions?.pageInjections?.show?.beforeBreadcrumbs || []"
5
+ :is="getCustomComponent(c)"
6
+ :meta="c.meta"
7
+ :record="coreStore.record"
8
+ :resource="coreStore.resource"
9
+ :adminUser="coreStore.adminUser"
10
+ />
11
+ <BreadcrumbsWithButtons>
12
+ <RouterLink v-if="coreStore?.resourceOptions?.allowedActions?.edit" :to="{ name: 'resource-edit', params: { resourceId: $route.params.resourceId, primaryKey: $route.params.primaryKey } }"
13
+ class="flex items-center py-1 px-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-default border border-gray-300 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700"
14
+ >
15
+ <IconPenSolid class="w-4 h-4" />
16
+ Edit
17
+ </RouterLink>
18
+
19
+ <button v-if="coreStore?.resourceOptions?.allowedActions?.delete" @click="deleteRecord"
20
+ class="flex items-center py-1 px-3 text-sm font-medium rounded-default text-red-600 focus:outline-none bg-white border border-gray-300 hover:bg-gray-100 hover:text-red-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-red-500 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700"
21
+ >
22
+ <IconTrashBinSolid class="w-4 h-4" />
23
+ Delete
24
+ </button>
25
+ </BreadcrumbsWithButtons>
26
+
27
+ <component
28
+ v-for="c in coreStore?.resourceOptions?.pageInjections?.show?.afterBreadcrumbs || []"
29
+ :is="getCustomComponent(c)"
30
+ :meta="c.meta"
31
+ :record="coreStore.record"
32
+ :resource="coreStore.resource"
33
+ :adminUser="coreStore.adminUser"
34
+ />
35
+
36
+ <div v-if="loading" role="status" class="max-w-sm animate-pulse">
37
+ <div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4"></div>
38
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px] mb-2.5"></div>
39
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div>
40
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[330px] mb-2.5"></div>
41
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[300px] mb-2.5"></div>
42
+ <div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px]"></div>
43
+ <span class="sr-only">Loading...</span>
44
+ </div>
45
+ <div
46
+ v-else
47
+ class="relative overflow-x-auto shadow-resourseFormShadow "
48
+ >
49
+ <table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 rounded-default">
50
+ <thead class="text-xs text-gray-700 uppercase bg-lightormHeading dark:bg-gray-700 dark:text-gray-400">
51
+ <tr>
52
+ <th scope="col" class="px-6 py-3">
53
+ Field
54
+ </th>
55
+ <th scope="col" class="px-6 py-3 w-4/6">
56
+ Value
57
+ </th>
58
+ </tr>
59
+ </thead>
60
+ <tbody>
61
+ <tr v-for="column in coreStore.resource?.columns.filter(c => c.showIn.includes('show'))" :key="column.name"
62
+ class="bg-lightForm bg-darkForm odd:dark:bg-gray-900 even:dark:bg-gray-800 border-b dark:border-gray-700"
63
+ >
64
+ <component
65
+ v-if="column.components?.showRow"
66
+ :is="getCustomComponent(column.components.showRow)"
67
+ :meta="column.components.showRow.meta"
68
+ :column="column"
69
+ :resource="coreStore.resource"
70
+ :record="coreStore.record"
71
+ />
72
+ <template v-else>
73
+ <td class="px-6 py-4 whitespace-nowrap "> <!--align-top-->
74
+ {{ column.label }}
75
+ </td>
76
+ <td class="px-6 py-4 whitespace-nowrap whitespace-pre-wrap">
77
+ <component
78
+ v-if="column?.components?.show"
79
+ :is="getCustomComponent(column?.components?.show)"
80
+ :resource="coreStore.resource"
81
+ :meta="column.components.show.meta"
82
+ :column="column"
83
+ :record="coreStore.record"
84
+ />
85
+ <ValueRenderer v-else
86
+ :column="column"
87
+ :record="coreStore.record"
88
+ />
89
+ </td>
90
+ </template>
91
+ </tr>
92
+ </tbody>
93
+ </table>
94
+
95
+ <component
96
+ v-for="c in coreStore?.resourceOptions?.pageInjections?.show?.bottom || []"
97
+ :is="getCustomComponent(c)"
98
+ :meta="c.meta"
99
+ :column="column"
100
+ :record="coreStore.record"
101
+ :resource="coreStore.resource"
102
+ :adminUser="coreStore.adminUser"
103
+ />
104
+ </div>
105
+
106
+
107
+ </div>
108
+ </template>
109
+
110
+
111
+ <script setup>
112
+
113
+ import BreadcrumbsWithButtons from '@/components/BreadcrumbsWithButtons.vue';
114
+
115
+ import ValueRenderer from '@/components/ValueRenderer.vue';
116
+ import { useCoreStore } from '@/stores/core';
117
+ import { useModalStore } from '@/stores/modal';
118
+ import { getCustomComponent, checkAcessByAllowedActions } from '@/utils';
119
+ import { IconPenSolid, IconTrashBinSolid } from '@iconify-prerendered/vue-flowbite';
120
+ import { onMounted, ref } from 'vue';
121
+ import { useRoute,useRouter } from 'vue-router';
122
+ import {callAdminForthApi} from '@/utils';
123
+ import {showSuccesTost} from '@/composables/useFrontendApi';
124
+
125
+
126
+ const item = ref(null);
127
+ const route = useRoute();
128
+ const router = useRouter();
129
+ const loading = ref(true);
130
+
131
+ console.log(route.params,'showWiev');
132
+
133
+
134
+ const coreStore = useCoreStore();
135
+ const modalStore = useModalStore();
136
+
137
+ onMounted(async () => {
138
+ loading.value = true;
139
+ await coreStore.fetchResourceFull({
140
+ resourceId: route.params.resourceId
141
+ });
142
+ await coreStore.fetchRecord({
143
+ resourceId: route.params.resourceId,
144
+ primaryKey: route.params.primaryKey,
145
+ });
146
+ checkAcessByAllowedActions(coreStore.resourceOptions.allowedActions,'show');
147
+ loading.value = false;
148
+ });
149
+
150
+ async function deleteRecord(row) {
151
+ const data = await window.adminforth.confirm({
152
+ message: 'Are you sure you want to delete this item?',
153
+ yes: 'Delete',
154
+ no: 'Cancel',
155
+ });
156
+ if (data) {
157
+ try {
158
+ const res = await callAdminForthApi({
159
+ path: '/delete_record',
160
+ method: 'POST',
161
+ body: {
162
+ resourceId: route.params.resourceId,
163
+ primaryKey: route.params.primaryKey,
164
+ }});
165
+ if (!res.error){
166
+ router.push({ name: 'resource-list', params: { resourceId: route.params.resourceId } });
167
+ showSuccesTost('Record deleted successfully')
168
+ } else {
169
+ console.error(res.error)
170
+ }
171
+
172
+ } catch (e) {
173
+ console.error(e);
174
+ };
175
+ }
176
+
177
+
178
+ }
179
+
180
+ </script>
@@ -0,0 +1,17 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ export default {
3
+ content: ["./src/**/*.{vue, js, ts, tsx}","./src/*.{vue, js, ts, tsx}", "./index.html", "./node_modules/flowbite/**/*.js"],
4
+ theme: {
5
+ extend: {
6
+ /* IMPORTANT:ADMINFORTH TAILWIND STYLES */
7
+ }
8
+ },
9
+
10
+ darkMode: 'class',
11
+ plugins: [
12
+ require('flowbite/plugin')({
13
+ charts: true,
14
+ }),
15
+ ],
16
+ }
17
+
@@ -0,0 +1,14 @@
1
+ {
2
+ "extends": "@vue/tsconfig/tsconfig.dom.json",
3
+ "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
4
+ "exclude": ["src/**/__tests__/*"],
5
+ "compilerOptions": {
6
+ "composite": true,
7
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
8
+
9
+ "baseUrl": ".",
10
+ "paths": {
11
+ "@/*": ["./src/*"]
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "files": [],
3
+ "references": [
4
+ {
5
+ "path": "./tsconfig.node.json"
6
+ },
7
+ {
8
+ "path": "./tsconfig.app.json"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "extends": "@tsconfig/node20/tsconfig.json",
3
+ "include": [
4
+ "vite.config.*",
5
+ "vitest.config.*",
6
+ "cypress.config.*",
7
+ "nightwatch.conf.*",
8
+ "playwright.config.*"
9
+ ],
10
+ "compilerOptions": {
11
+ "composite": true,
12
+ "noEmit": true,
13
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
14
+
15
+ "module": "ESNext",
16
+ "moduleResolution": "Bundler",
17
+ "types": ["node"]
18
+ }
19
+ }
@@ -0,0 +1,49 @@
1
+ import { fileURLToPath, URL } from 'node:url'
2
+
3
+ import { defineConfig } from 'vite'
4
+ import vue from '@vitejs/plugin-vue'
5
+
6
+
7
+ const customLogger = {
8
+ info(msg: string) {
9
+ // Filter out the lines containing '➜ Local:' or '➜ Network:'
10
+ if (!msg.includes('➜')) {
11
+ console.log(msg);
12
+ }
13
+ },
14
+ warnOnce(msg: string) {
15
+ console.warn('warn once', msg);
16
+ if (!this.hasWarned) {
17
+ this.hasWarned = true;
18
+ }
19
+ },
20
+ warn(msg: string) {
21
+ console.warn(msg);
22
+ },
23
+ error(msg: string) {
24
+ console.error(msg);
25
+ },
26
+ clear() {
27
+ console.clear();
28
+ },
29
+ hasWarned: false,
30
+ };
31
+
32
+ // https://vitejs.dev/config/
33
+ export default defineConfig({
34
+ base: process.env.VITE_ADMINFORTH_PUBLIC_PATH || '/',
35
+ server: {
36
+ port: 5173,
37
+ strictPort: true, // better predictability
38
+ },
39
+ customLogger,
40
+ plugins: [
41
+ vue(),
42
+ ],
43
+ resolve: {
44
+ alias: {
45
+ '@': fileURLToPath(new URL('./src', import.meta.url)),
46
+ '@@': fileURLToPath(new URL('./src/custom', import.meta.url)),
47
+ }
48
+ }
49
+ })
package/modules/utils.ts CHANGED
@@ -2,7 +2,7 @@ import path from 'path';
2
2
  import { fileURLToPath } from 'url';
3
3
  import fs from 'fs';
4
4
  // @ts-ignore-next-line
5
- import csscolors from 'css-color-names';
5
+ import csscolors from 'css-color-names.json' assert {type:'json'};
6
6
 
7
7
 
8
8
  export function guessLabelFromName(name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.1.75",
3
+ "version": "1.1.76",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,7 +24,6 @@
24
24
  "fs-extra": "^11.2.0",
25
25
  "jsonwebtoken": "^9.0.2",
26
26
  "mongodb": "6.6",
27
- "node-2fa": "^2.0.3",
28
27
  "node-fetch": "^3.3.2",
29
28
  "pg": "^8.11.5",
30
29
  "request": "^2.88.2",
@@ -3,6 +3,7 @@
3
3
  "version": "1.0.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
+
6
7
  "scripts": {
7
8
  "test": "echo \"Error: no test specified\" && exit 1"
8
9
  },
@@ -20,7 +20,7 @@ export type PluginOptions = {
20
20
  * This plugin creates a virtual column on edit and create views
21
21
  * where the user can upload a file. This is the label of that column
22
22
  *
23
- * Defaulted to 'Upload <Name of the column defined in {@link pathColumnName}>'
23
+ * Defaulted to 'Upload \<Name of the column defined in {@link pathColumnName}\>'
24
24
  */
25
25
  uploadColumnLabel: string,
26
26
 
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "twofactorsauthplugin",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "node_modules/@types/node": {
8
+ "version": "20.14.9",
9
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz",
10
+ "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==",
11
+ "dependencies": {
12
+ "undici-types": "~5.26.4"
13
+ }
14
+ },
15
+ "node_modules/@types/notp": {
16
+ "version": "2.0.5",
17
+ "resolved": "https://registry.npmjs.org/@types/notp/-/notp-2.0.5.tgz",
18
+ "integrity": "sha512-ZsZS0PYUa6ZE4K3yOGerBvaxCp4ePf6ZmkFbPeilcqz2Ui/lmXox7KlRt7XZkXzqUgXhFLkc09ixyVmFLCU3gQ==",
19
+ "dependencies": {
20
+ "@types/node": "*"
21
+ }
22
+ },
23
+ "node_modules/node-2fa": {
24
+ "version": "2.0.3",
25
+ "resolved": "https://registry.npmjs.org/node-2fa/-/node-2fa-2.0.3.tgz",
26
+ "integrity": "sha512-PQldrOhjuoZyoydMvMSctllPN1ZPZ1/NwkEcgYwY9faVqE/OymxR+3awPpbWZxm6acLKqvmNqQmdqTsqYyflFw==",
27
+ "dependencies": {
28
+ "@types/notp": "^2.0.0",
29
+ "notp": "^2.0.3",
30
+ "thirty-two": "1.0.2",
31
+ "tslib": "^2.1.0"
32
+ }
33
+ },
34
+ "node_modules/notp": {
35
+ "version": "2.0.3",
36
+ "resolved": "https://registry.npmjs.org/notp/-/notp-2.0.3.tgz",
37
+ "integrity": "sha512-oBig/2uqkjQ5AkBuw4QJYwkEWa/q+zHxI5/I5z6IeP2NT0alpJFsP/trrfCC+9xOAgQSZXssNi962kp5KBmypQ==",
38
+ "engines": {
39
+ "node": "> v0.6.0"
40
+ }
41
+ },
42
+ "node_modules/thirty-two": {
43
+ "version": "1.0.2",
44
+ "resolved": "https://registry.npmjs.org/thirty-two/-/thirty-two-1.0.2.tgz",
45
+ "integrity": "sha512-OEI0IWCe+Dw46019YLl6V10Us5bi574EvlJEOcAkB29IzQ/mYD1A6RyNHLjZPiHCmuodxvgF6U+vZO1L15lxVA==",
46
+ "engines": {
47
+ "node": ">=0.2.6"
48
+ }
49
+ },
50
+ "node_modules/tslib": {
51
+ "version": "2.6.3",
52
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz",
53
+ "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ=="
54
+ },
55
+ "node_modules/undici-types": {
56
+ "version": "5.26.5",
57
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
58
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,15 @@
1
+ # Installation
2
+ > `npm install --save @types/node`
3
+
4
+ # Summary
5
+ This package contains type definitions for node (https://nodejs.org/).
6
+
7
+ # Details
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
+
10
+ ### Additional Details
11
+ * Last updated: Tue, 25 Jun 2024 22:07:01 GMT
12
+ * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
+
14
+ # Credits
15
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
@@ -0,0 +1,8 @@
1
+ declare module "assert/strict" {
2
+ import { strict } from "node:assert";
3
+ export = strict;
4
+ }
5
+ declare module "node:assert/strict" {
6
+ import { strict } from "node:assert";
7
+ export = strict;
8
+ }