@sidekick-coder/zenith-kit 0.4.16 → 0.4.18

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 (371) hide show
  1. package/bin/zenith.js +9 -2
  2. package/dist/client/{DashboardWidgetActionSetting-CAWFyAkq.mjs → DashboardWidgetActionSetting-DnnG38nh.mjs} +2 -2
  3. package/dist/client/{Icon.vue_vue_type_script_setup_true_lang-mpkMPRLI.mjs → Icon.vue_vue_type_script_setup_true_lang-DfWVMtuA.mjs} +1 -1
  4. package/dist/client/{WidgetTextRender-GFtACbUf.mjs → WidgetTextRender-2CtDthSX.mjs} +2 -2
  5. package/dist/client/{index-BJAQ9u3g.mjs → index-BD6p1buR.mjs} +64 -59
  6. package/dist/client/index.es.js +1 -1
  7. package/dist/client/src/client/utils/defineColumns.d.ts +2 -1
  8. package/dist/client/src/shared/entities/PluginEntity.d.ts +4 -0
  9. package/dist/components/index.es.js +7811 -7802
  10. package/dist/components/src/client/utils/defineColumns.d.ts +2 -1
  11. package/dist/components/src/shared/entities/PluginEntity.d.ts +4 -0
  12. package/dist/server/AclEntity-BRbLYFBD.d.mts +9 -0
  13. package/dist/server/{AclEntity-D1Xc5mz7.mjs → AclEntity-Cxi9Cmib.mjs} +1 -1
  14. package/dist/server/AclEntity-DVV3jD4B.d.mts +20 -0
  15. package/dist/server/{AuthMiddleware-BG4LOM8l.d.mts → AuthMiddleware-Cke6R6-5.d.mts} +3 -3
  16. package/dist/server/{AuthService-Cc-9vmcF.d.mts → AuthService-BX0pQdVV.d.mts} +3 -3
  17. package/dist/server/{AuthSilenceMiddleware-DjuTsPUk.d.mts → AuthSilenceMiddleware-BbJyRAat.d.mts} +3 -3
  18. package/dist/server/{AuthorizationMiddleware-CdqP4E0e.d.mts → AuthorizationMiddleware-BOTl4V5Z.d.mts} +4 -4
  19. package/dist/server/{BaseRelation-exvk0rap.d.mts → BaseRelation-Boh6TPcc.d.mts} +1 -1
  20. package/dist/server/{BelongsToFileRelation-C2guKtUl.d.mts → BelongsToFileRelation-DeGaJq5C.d.mts} +3 -3
  21. package/dist/server/{BelongsToRelation-ZdiJDWbX.d.mts → BelongsToRelation-f5fH9ymW.d.mts} +2 -2
  22. package/dist/server/{BelongsToUserRelation-DZ0P0GMV.d.mts → BelongsToUserRelation-Dt5PzR0X.d.mts} +2 -2
  23. package/dist/server/{CliTesterService-CbAd-_U1.d.mts → CliTesterService-sWL_X2d2.d.mts} +1 -1
  24. package/dist/server/{CliWrapperService-ZsC1eMjB.d.mts → CliWrapperService-AcPF8ipS.d.mts} +1 -1
  25. package/dist/server/{ConfigFSService-B7qEaGNz.d.mts → ConfigFSService-Cif2zYbz.d.mts} +1 -1
  26. package/dist/server/{ConfigManagerService-pYYQVI-F.d.mts → ConfigManagerService-BJ2JUjmQ.d.mts} +2 -2
  27. package/dist/server/{ConfigRepository-D22semiw.d.mts → ConfigRepository-C9mBsfUC.d.mts} +1 -1
  28. package/dist/server/{ConfigS3Service-C8lDs-Sh.d.mts → ConfigS3Service-BahmrxNi.d.mts} +2 -2
  29. package/dist/server/{DatabaseGateway-BRFlO0RJ.d.mts → DatabaseGateway-BwhXbaEI.d.mts} +1 -1
  30. package/dist/server/{DatabaseRepositoryInferMixin-DdVIWbGA.d.mts → DatabaseRepositoryInferMixin-DBs60yDd.d.mts} +1 -1
  31. package/dist/server/{DownloadService-D3W4CjrP.d.mts → DownloadService-CtRilvhp.d.mts} +1 -1
  32. package/dist/server/{DriveBaseGateway-CTiaRLDA.d.mts → DriveBaseGateway-d01HWKW5.d.mts} +1 -1
  33. package/dist/server/DriveConfigEntity-CBCbw6aY.d.mts +71 -0
  34. package/dist/server/DriveConfigEntity-lD7KUqHX.d.mts +24 -0
  35. package/dist/server/{DriveFSGateway-BBlvxIPJ.d.mts → DriveFSGateway-BvL2CeZ0.d.mts} +2 -2
  36. package/dist/server/{DriveS3Gateway-D7riz6RF.d.mts → DriveS3Gateway-DP2UiMl8.d.mts} +2 -2
  37. package/dist/server/{DriveService-D2CUvaJE.d.mts → DriveService-Bc1GjTHW.d.mts} +2 -2
  38. package/dist/server/{EmmitterService-BzlHBv6B.d.mts → EmmitterService-Cn9UmxJ2.d.mts} +2 -2
  39. package/dist/server/{EncryptService-xbNoUGT9.d.mts → EncryptService-DHfqoq56.d.mts} +2 -2
  40. package/dist/server/{EnvService-DuQ7K6FN.d.mts → EnvService-BX8yjNFJ.d.mts} +1 -1
  41. package/dist/server/{EventContract-MIynyYrK.d.mts → EventContract-D_UiZcvl.d.mts} +4 -4
  42. package/dist/server/{ExceptionService-C88hn4Ar.d.mts → ExceptionService-Cojhn2oc.d.mts} +2 -2
  43. package/dist/server/FileEntity-BvZlIkq1.d.mts +33 -0
  44. package/dist/server/FileEntity-DEBvvNqi.d.mts +172 -0
  45. package/dist/server/{FileEntity-DZoFEF3z.mjs → FileEntity-R51XBU7b.mjs} +1 -1
  46. package/dist/server/{FileMetaEntity-IRgP68d1.mjs → FileMetaEntity-DA1xAqPT.mjs} +1 -1
  47. package/dist/server/FileRepository-kvCb5APt.d.mts +19 -0
  48. package/dist/server/GitBranchEntity-CMTGhwKn.d.mts +11 -0
  49. package/dist/server/{GitBranchEntity-CoLBI3Vw.mjs → GitBranchEntity-D3my-F_O.mjs} +1 -1
  50. package/dist/server/GitBranchRepository--RSMvihQ.d.mts +22 -0
  51. package/dist/server/{GitCommitEntity-DU69Kj06.mjs → GitCommitEntity-dHUVkwlm.mjs} +1 -1
  52. package/dist/server/{GitCommitRepository-Cy9EafEu.d.mts → GitCommitRepository-D7acdIv9.d.mts} +2 -2
  53. package/dist/server/{GitGateway-NWvd6wpG.d.mts → GitGateway-C8xr9dVg.d.mts} +3 -2
  54. package/dist/server/{HasManyRelation-d7tYeD9t.d.mts → HasManyRelation-Bg5u9wuD.d.mts} +1 -1
  55. package/dist/server/{HasMetasRelation-CRhqKMwM.d.mts → HasMetasRelation-DlaFdesX.d.mts} +1 -1
  56. package/dist/server/{HasherService-BvtYemFA.d.mts → HasherService-B4oPHhsR.d.mts} +1 -1
  57. package/dist/server/HooksMixin-C1ifYhhJ.d.mts +8 -0
  58. package/dist/server/{HttpContextContract-BiG2I2mT.d.mts → HttpContextContract-Ks7paC_X.d.mts} +2 -2
  59. package/dist/server/{HttpService-DnYKVek_.d.mts → HttpService-Cs92cVpu.d.mts} +5 -5
  60. package/dist/server/{KyselyContract-C8oRvArN.d.mts → KyselyContract-Dzki0QNo.d.mts} +1 -1
  61. package/dist/server/{LifecycleHook-CpKhpmW1.d.mts → LifecycleHook-BUFfIG-S.d.mts} +1 -1
  62. package/dist/server/LifecycleService-C3yvYUOy.d.mts +45 -0
  63. package/dist/server/LifecycleService-DaSN4o9l.d.mts +9 -0
  64. package/dist/server/{MetadataMixin-CtI9cepx.d.mts → MetadataMixin-BBkN4yO-.d.mts} +1 -1
  65. package/dist/server/{MetadataQueryService--Hd8eNlt.d.mts → MetadataQueryService-DuwOBdpY.d.mts} +1 -1
  66. package/dist/server/{MetadataService-zGP-aruL.d.mts → MetadataService-CgMNljDn.d.mts} +1 -1
  67. package/dist/server/{ModelConfigMixin-Cfy1funR.d.mts → ModelConfigMixin-nZQhFkFx.d.mts} +1 -1
  68. package/dist/server/ModuleEntity-BHqexR-v.d.mts +54 -0
  69. package/dist/server/ModuleEntity-Bg4vejFz.d.mts +17 -0
  70. package/dist/server/{ModuleEntity-zLWtaLvE.mjs → ModuleEntity-O5P3jdhw.mjs} +1 -1
  71. package/dist/server/PaginationEntity-DFPA0nQU.d.mts +13 -0
  72. package/dist/server/PaginationEntity-ls4L-byM.mjs +2 -0
  73. package/dist/server/PermissionAssignmentRepository-DS6GtvvG.d.mts +17 -0
  74. package/dist/server/PermissionRepository-BZ4ya2mp.d.mts +20 -0
  75. package/dist/server/PluginDownloadService-Bhila9wc.d.mts +21 -0
  76. package/dist/server/PluginEntity-JeVJs2Bd.mjs +2 -0
  77. package/dist/server/PluginEntity-mzOU39AR.d.mts +46 -0
  78. package/dist/server/{PluginIpcClient-CFdGAToW.d.mts → PluginIpcClient-CNodSMR_.d.mts} +1 -1
  79. package/dist/server/{PluginIpcHost-DRIPJiZM.d.mts → PluginIpcHost-3hu7aw9O.d.mts} +1 -1
  80. package/dist/server/PluginRepository-0shcuNuG.d.mts +21 -0
  81. package/dist/server/{PluginRouter-DAm0Ya_q.d.mts → PluginRouter-CMEv9pwo.d.mts} +2 -2
  82. package/dist/server/PluginService-7aP6MIsR.d.mts +26 -0
  83. package/dist/server/PluginUpdaterService-CSwTg7Jr.d.mts +27 -0
  84. package/dist/server/{RelationsMixin-sglFqlms.d.mts → RelationsMixin-fW1in2tP.d.mts} +1 -1
  85. package/dist/server/{RouteEntity-C_vnO708.d.mts → RouteEntity-BO4h5eKz.d.mts} +2 -2
  86. package/dist/server/{RouterContract-Bju-hLsm.d.mts → RouterContract-WmaEC8pc.d.mts} +2 -2
  87. package/dist/server/{RouterFileBaseRoutingService-CVTYRedl.d.mts → RouterFileBaseRoutingService-C-_F-hTz.d.mts} +2 -2
  88. package/dist/server/{RouterRegisterService-CkG5KnGj.d.mts → RouterRegisterService-DYoXQUXL.d.mts} +2 -2
  89. package/dist/server/{RouterResourceConfigService-DdumyzyX.d.mts → RouterResourceConfigService-BZ08hBNf.d.mts} +4 -4
  90. package/dist/server/{RouterResourceService-CkFRq8fl.d.mts → RouterResourceService-B0b31mCq.d.mts} +5 -4
  91. package/dist/server/RouterService-Cq8FydZ0.d.mts +69 -0
  92. package/dist/server/{RoutineEntity-CRC4rgmo.d.mts → RoutineEntity-q8uxH2U-.d.mts} +1 -1
  93. package/dist/server/{SchedulerService-C7rx5SK4.d.mts → SchedulerService-C1WFQsN0.d.mts} +2 -2
  94. package/dist/server/{SeederEntity-x32642MQ.d.mts → SeederEntity-WfB6qOO-.d.mts} +1 -1
  95. package/dist/server/{SeederService-BFdd1cAb.d.mts → SeederService-ZD3N_BOi.d.mts} +2 -2
  96. package/dist/server/{ShellService-DI15Al_O.d.mts → ShellService-C6WB-3iP.d.mts} +1 -1
  97. package/dist/server/{TokenRepository-Mr8yAWM6.d.mts → TokenRepository-BbeDdglt.d.mts} +3 -3
  98. package/dist/server/TranslatorService-mDImAMoC.d.mts +26 -0
  99. package/dist/server/{TranslatorService-C8H8JeQc.mjs → TranslatorService-x3NJPylO.mjs} +1 -1
  100. package/dist/server/{addIdColumn-D0O4tZD_.d.mts → addIdColumn-DaqDuQrz.d.mts} +1 -1
  101. package/dist/server/{addSoftDeleteColumn-Bjz8ufPk.d.mts → addSoftDeleteColumn-EQJso6k7.d.mts} +1 -1
  102. package/dist/server/{addTimestampColumns-CQLa4VmQ.d.mts → addTimestampColumns-BymQqvIj.d.mts} +1 -1
  103. package/dist/server/{auth-sE4ooGXz.d.mts → auth-6_osAO40.d.mts} +2 -2
  104. package/dist/server/{basePath-uAW0Wf7d.d.mts → basePath-CXkhJlK3.d.mts} +1 -1
  105. package/dist/server/{belongsToLoader-B4HDS8Pe.d.mts → belongsToLoader-D9UOu6dS.d.mts} +2 -2
  106. package/dist/server/{common-J0aOi3jF.d.mts → common-EaxJLPzG.d.mts} +2 -2
  107. package/dist/server/{config-DWlk8Ag4.d.mts → config-B5dlfdD2.d.mts} +1 -1
  108. package/dist/server/{config-DXuzzZRI.d.mts → config-C6HuodUc.d.mts} +1 -1
  109. package/dist/server/{container-Dc7YvYnk.d.mts → container-Bd0yy_Y3.d.mts} +1 -1
  110. package/dist/server/contracts/EventContract.d.mts +1 -1
  111. package/dist/server/contracts/HttpContextContract.d.mts +1 -1
  112. package/dist/server/contracts/KyselyContract.d.mts +1 -1
  113. package/dist/server/contracts/RouterContract.d.mts +1 -1
  114. package/dist/server/{count-BWMTsLtD.d.mts → count-DKgx5EUV.d.mts} +2 -2
  115. package/dist/server/{create-B4njkvTi.d.mts → create-XUNWoic9.d.mts} +2 -2
  116. package/dist/server/{createLoaderFactory-DPUT78ov.d.mts → createLoaderFactory-DR-9xV-6.d.mts} +2 -2
  117. package/dist/server/{cuid-KsFKSmjL.d.mts → cuid-CB5PV_wc.d.mts} +1 -1
  118. package/dist/server/{database-BqrZSsec.d.mts → database-BE0VfY_9.d.mts} +2 -2
  119. package/dist/server/{defineHandler-C_CcoLtY.d.mts → defineHandler-MSRSZVju.d.mts} +2 -2
  120. package/dist/server/{defineLoader-63rL91KJ.d.mts → defineLoader-Br7viCqJ.d.mts} +1 -1
  121. package/dist/server/{destroy-DgYHooQ1.d.mts → destroy-CcGbuFRX.d.mts} +2 -2
  122. package/dist/server/{download-YvIvbq5G.d.mts → download-BtylTfqf.d.mts} +2 -2
  123. package/dist/server/{drive-B7wmLr1R.d.mts → drive-WJv7Otna.d.mts} +2 -2
  124. package/dist/server/{emmitter-BCi_ROhg.d.mts → emmitter-DSuhlrkJ.d.mts} +1 -1
  125. package/dist/server/{encrypt-pOe4R1qi.d.mts → encrypt-BEUpiq9u.d.mts} +2 -2
  126. package/dist/server/entities/AclEntity.d.mts +1 -1
  127. package/dist/server/entities/AclEntity.mjs +1 -1
  128. package/dist/server/entities/DriveConfigEntity.d.mts +1 -1
  129. package/dist/server/entities/FileEntity.d.mts +1 -1
  130. package/dist/server/entities/FileEntity.mjs +1 -1
  131. package/dist/server/entities/FileMetaEntity.d.mts +1 -1
  132. package/dist/server/entities/FileMetaEntity.mjs +1 -1
  133. package/dist/server/entities/ModuleEntity.d.mts +1 -1
  134. package/dist/server/entities/ModuleEntity.mjs +1 -1
  135. package/dist/server/entities/PluginEntity.d.mts +1 -1
  136. package/dist/server/entities/PluginEntity.mjs +2 -2
  137. package/dist/server/entities/RouteEntity.d.mts +1 -1
  138. package/dist/server/entities/RoutineEntity.d.mts +1 -1
  139. package/dist/server/entities/SeederEntity.d.mts +1 -1
  140. package/dist/server/{env-D_lNPTFP.d.mts → env-CuZAKUxF.d.mts} +2 -2
  141. package/dist/server/{exists-Dta2lhjx.d.mts → exists-BIFLhJW_.d.mts} +2 -2
  142. package/dist/server/facades/auth.d.mts +1 -1
  143. package/dist/server/facades/config.d.mts +1 -1
  144. package/dist/server/facades/container.d.mts +1 -1
  145. package/dist/server/facades/database.d.mts +1 -1
  146. package/dist/server/facades/download.d.mts +1 -1
  147. package/dist/server/facades/drive.d.mts +1 -1
  148. package/dist/server/facades/emmitter.d.mts +1 -1
  149. package/dist/server/facades/encrypt.d.mts +1 -1
  150. package/dist/server/facades/env.d.mts +1 -1
  151. package/dist/server/facades/filesRepository.d.mts +1 -1
  152. package/dist/server/facades/hasher.d.mts +1 -1
  153. package/dist/server/facades/http.d.mts +1 -1
  154. package/dist/server/facades/lifecycle.d.mts +1 -1
  155. package/dist/server/facades/logger.d.mts +1 -1
  156. package/dist/server/facades/migrator.d.mts +1 -1
  157. package/dist/server/facades/permissionAssignmentRepository.d.mts +1 -1
  158. package/dist/server/facades/permissionRepository.d.mts +1 -1
  159. package/dist/server/facades/permissionRepository.mjs +2 -2
  160. package/dist/server/facades/pluginService.d.mts +2 -0
  161. package/dist/server/facades/pluginService.mjs +2 -0
  162. package/dist/server/facades/router.d.mts +1 -1
  163. package/dist/server/facades/scheduler.d.mts +1 -1
  164. package/dist/server/facades/shell.d.mts +1 -1
  165. package/dist/server/facades/tokenRepository.d.mts +1 -1
  166. package/dist/server/facades/translator.d.mts +1 -1
  167. package/dist/server/facades/translator.mjs +1 -1
  168. package/dist/server/facades/userRepository.d.mts +1 -1
  169. package/dist/server/{fileLoader-D6wkNp6q.d.mts → fileLoader-B9Z0Myb0.d.mts} +2 -2
  170. package/dist/server/{fileUrlLoader-Dtoaj5d0.d.mts → fileUrlLoader-BtdEYvxW.d.mts} +2 -2
  171. package/dist/server/{filesRepository-pZZWlI9I.d.mts → filesRepository-3kdHrqkH.d.mts} +2 -2
  172. package/dist/server/{findOne-48pn7Lft.d.mts → findOne-CH37tepV.d.mts} +2 -2
  173. package/dist/server/{firstOrCreate-B3m-lKps.d.mts → firstOrCreate-BjSej_GE.d.mts} +2 -2
  174. package/dist/server/gateways/DatabaseGateway.d.mts +1 -1
  175. package/dist/server/gateways/DriveBaseGateway.d.mts +1 -1
  176. package/dist/server/gateways/DriveFSGateway.d.mts +1 -1
  177. package/dist/server/gateways/DriveS3Gateway.d.mts +1 -1
  178. package/dist/server/gateways/GitGateway.d.mts +1 -1
  179. package/dist/server/gateways/GitGateway.mjs +3 -2
  180. package/dist/server/{generateIndexFile-C5QppkFm.d.mts → generateIndexFile-C-YJY2ov.d.mts} +1 -1
  181. package/dist/server/{hasManyThroughLoader-xEolQCBD.d.mts → hasManyThroughLoader-BbwC3Fp8.d.mts} +2 -2
  182. package/dist/server/{hasManyThroughRelation-q4K5JfU6.d.mts → hasManyThroughRelation-BHeTgR0M.d.mts} +2 -2
  183. package/dist/server/{hasher-CJlzQIri.d.mts → hasher-D6WOhZ90.d.mts} +2 -2
  184. package/dist/server/{http-DCsQgtYo.d.mts → http-CqPItOF8.d.mts} +2 -2
  185. package/dist/server/{importAll-MXe1URG0.d.mts → importAll-BNI7rCAD.d.mts} +1 -1
  186. package/dist/server/{importOne-P3rrXqix.d.mts → importOne-C-0-z1Tp.d.mts} +1 -1
  187. package/dist/server/index-DCOusDjU.d.mts +26 -0
  188. package/dist/server/index.d.mts +125 -120
  189. package/dist/server/index.mjs +1 -1
  190. package/dist/server/{lifecycle-CzgIrz26.d.mts → lifecycle-CQUI7lTz.d.mts} +2 -2
  191. package/dist/server/{list-BzdSvKlZ.d.mts → list-DKc1lPaG.d.mts} +2 -2
  192. package/dist/server/{loadMetas-b_6CQ91K.d.mts → loadMetas-CRkNEEwR.d.mts} +2 -2
  193. package/dist/server/loaders/belongsToLoader.d.mts +1 -1
  194. package/dist/server/loaders/fileLoader.d.mts +1 -1
  195. package/dist/server/loaders/fileUrlLoader.d.mts +1 -1
  196. package/dist/server/loaders/hasManyThroughLoader.d.mts +1 -1
  197. package/dist/server/loaders/loadMetas.d.mts +1 -1
  198. package/dist/server/loaders/permissionLoader.d.mts +1 -1
  199. package/dist/server/loaders/userLoader.d.mts +1 -1
  200. package/dist/server/{logger-BaBXF0k_.d.mts → logger-B5Ygz1tr.d.mts} +1 -1
  201. package/dist/server/middlewares/AuthMiddleware.d.mts +1 -1
  202. package/dist/server/middlewares/AuthSilenceMiddleware.d.mts +1 -1
  203. package/dist/server/middlewares/AuthorizationMiddleware.d.mts +1 -1
  204. package/dist/server/middlewares/AuthorizationMiddleware.mjs +1 -1
  205. package/dist/server/{migrator-CZ0EE7pU.d.mts → migrator-DTuW9PR0.d.mts} +1 -1
  206. package/dist/server/mixins/DatabaseRepositoryInferMixin.d.mts +1 -1
  207. package/dist/server/mixins/MetadataMixin.d.mts +1 -1
  208. package/dist/server/mixins/ModelConfigMixin.d.mts +1 -1
  209. package/dist/server/mixins/ModelMixin.d.mts +11 -10
  210. package/dist/server/mixins/ModelMixin.mjs +2 -2
  211. package/dist/server/mixins/RelationsMixin.d.mts +1 -1
  212. package/dist/server/{normalizers-CK0XPnh9.mjs → normalizers-64hc09gc.mjs} +1 -1
  213. package/dist/server/{paginate-CZkI0_Ph.d.mts → paginate-DAc1XIvj.d.mts} +4 -14
  214. package/dist/server/{permissionAssignmentRepository-mDe4bB0q.d.mts → permissionAssignmentRepository-CLk0ccfx.d.mts} +2 -2
  215. package/dist/server/permissionAssignmentSchema-CWAOVhNi.d.mts +15 -0
  216. package/dist/server/{permissionLoader-CDYV9_O7.d.mts → permissionLoader-ngW2E6PQ.d.mts} +2 -2
  217. package/dist/server/{permissionRepository-DsCTjpeG.d.mts → permissionRepository-CU7_wy9v.d.mts} +2 -2
  218. package/dist/server/permissionSchema-DhR_TL77.d.mts +18 -0
  219. package/dist/server/pluginService-CdHFHc5R.d.mts +7 -0
  220. package/dist/server/queries/common.d.mts +1 -1
  221. package/dist/server/queries/count.d.mts +1 -1
  222. package/dist/server/queries/create.d.mts +1 -1
  223. package/dist/server/queries/create.mjs +1 -1
  224. package/dist/server/queries/destroy.d.mts +1 -1
  225. package/dist/server/queries/exists.d.mts +1 -1
  226. package/dist/server/queries/findOne.d.mts +1 -1
  227. package/dist/server/queries/firstOrCreate.d.mts +1 -1
  228. package/dist/server/queries/index.d.mts +13 -13
  229. package/dist/server/queries/index.mjs +1 -1
  230. package/dist/server/queries/list.d.mts +1 -1
  231. package/dist/server/queries/paginate.d.mts +1 -1
  232. package/dist/server/queries/paginate.mjs +2 -1
  233. package/dist/server/queries/softDelete.d.mts +1 -1
  234. package/dist/server/queries/timestamp.d.mts +1 -1
  235. package/dist/server/queries/update.d.mts +1 -1
  236. package/dist/server/queries/update.mjs +1 -1
  237. package/dist/server/queries/updateOrCreate.d.mts +1 -1
  238. package/dist/server/readAndParse-41OKn5Jn.d.mts +8 -0
  239. package/dist/server/relations/BaseRelation.d.mts +1 -1
  240. package/dist/server/relations/BelongsToFileRelation.d.mts +1 -1
  241. package/dist/server/relations/BelongsToRelation.d.mts +1 -1
  242. package/dist/server/relations/BelongsToUserRelation.d.mts +1 -1
  243. package/dist/server/relations/HasManyRelation.d.mts +1 -1
  244. package/dist/server/relations/HasMetasRelation.d.mts +1 -1
  245. package/dist/server/relations/hasManyThroughRelation.d.mts +1 -1
  246. package/dist/server/repositories/ConfigRepository.d.mts +1 -1
  247. package/dist/server/repositories/FileRepository.d.mts +1 -1
  248. package/dist/server/repositories/GitBranchRepository.d.mts +1 -1
  249. package/dist/server/repositories/GitBranchRepository.mjs +1 -1
  250. package/dist/server/repositories/GitCommitRepository.d.mts +1 -1
  251. package/dist/server/repositories/GitCommitRepository.mjs +1 -1
  252. package/dist/server/repositories/PermissionAssignmentRepository.d.mts +1 -1
  253. package/dist/server/repositories/PermissionRepository.d.mts +1 -1
  254. package/dist/server/repositories/PermissionRepository.mjs +2 -1
  255. package/dist/server/repositories/PermissionRepository.test-d.mjs +2 -2
  256. package/dist/server/repositories/PluginRepository.d.mts +2 -0
  257. package/dist/server/repositories/PluginRepository.mjs +2 -0
  258. package/dist/server/repositories/TokenRepository.d.mts +1 -1
  259. package/dist/server/repositories/TokenRepository.mjs +2 -2
  260. package/dist/server/{router-C-M6Nbem.d.mts → router-WLMl1vMl.d.mts} +3 -3
  261. package/dist/server/{scheduler-0zgSuHi8.d.mts → scheduler-D_X37Ea8.d.mts} +2 -2
  262. package/dist/server/services/AuthService.d.mts +1 -1
  263. package/dist/server/services/CliTesterService.d.mts +1 -1
  264. package/dist/server/services/CliWrapperService.d.mts +1 -1
  265. package/dist/server/services/ConfigFSService.d.mts +1 -1
  266. package/dist/server/services/ConfigManagerService.d.mts +1 -1
  267. package/dist/server/services/ConfigS3Service.d.mts +1 -1
  268. package/dist/server/services/DownloadService.d.mts +1 -1
  269. package/dist/server/services/DriveService.d.mts +1 -1
  270. package/dist/server/services/EmmitterService.d.mts +1 -1
  271. package/dist/server/services/EncryptService.d.mts +1 -1
  272. package/dist/server/services/EnvService.d.mts +1 -1
  273. package/dist/server/services/ExceptionService.d.mts +1 -1
  274. package/dist/server/services/HasherService.d.mts +1 -1
  275. package/dist/server/services/HttpService.d.mts +1 -1
  276. package/dist/server/services/LifecycleService.d.mts +1 -1
  277. package/dist/server/services/MetadataQueryService.d.mts +1 -1
  278. package/dist/server/services/MetadataService.d.mts +1 -1
  279. package/dist/server/services/PluginDownloadService.d.mts +2 -0
  280. package/dist/server/services/PluginDownloadService.mjs +2 -0
  281. package/dist/server/services/PluginIpcClient.d.mts +1 -1
  282. package/dist/server/services/PluginIpcHost.d.mts +1 -1
  283. package/dist/server/services/PluginRouter.d.mts +1 -1
  284. package/dist/server/services/PluginService.d.mts +2 -0
  285. package/dist/server/services/PluginService.mjs +2 -0
  286. package/dist/server/services/PluginUpdaterService.d.mts +2 -0
  287. package/dist/server/services/PluginUpdaterService.mjs +3 -0
  288. package/dist/server/services/RouterFileBaseRoutingService.d.mts +1 -1
  289. package/dist/server/services/RouterRegisterService.d.mts +1 -1
  290. package/dist/server/services/RouterResourceConfigService.d.mts +1 -1
  291. package/dist/server/services/RouterResourceService.d.mts +1 -1
  292. package/dist/server/services/RouterService.d.mts +1 -1
  293. package/dist/server/services/SchedulerService.d.mts +1 -1
  294. package/dist/server/services/SeederService.d.mts +1 -1
  295. package/dist/server/services/ShellService.d.mts +1 -1
  296. package/dist/server/shared-BfW9N_Uo.mjs +2 -0
  297. package/dist/server/{shell-tnctUynp.d.mts → shell-DU99RfcT.d.mts} +2 -2
  298. package/dist/server/{softDelete-CDpNnT-v.d.mts → softDelete-Cs4nTfvI.d.mts} +2 -2
  299. package/dist/server/{timestamp-CONRelwb.d.mts → timestamp-Ck0N3vf_.d.mts} +1 -1
  300. package/dist/server/{tokenRepository-DNgHmFVJ.d.mts → tokenRepository-CsrCqs4Z.d.mts} +2 -2
  301. package/dist/server/{tokenSchema-CUjPXQhU.d.mts → tokenSchema-YmFjztpz.d.mts} +1 -1
  302. package/dist/server/translator-DyhEJfW4.d.mts +10 -0
  303. package/dist/server/{translator-Crnxc_IO.mjs → translator-_aT8Dvvh.mjs} +2 -2
  304. package/dist/server/{update-BZyYrX6R.d.mts → update-DHsKvx4O.d.mts} +2 -2
  305. package/dist/server/{updateOrCreate-CQziRAKL.d.mts → updateOrCreate-C-u25qy_.d.mts} +2 -2
  306. package/dist/server/{userLoader-BFFWqEUF.d.mts → userLoader-D-W1Xn4w.d.mts} +2 -2
  307. package/dist/server/{userRepository-B9n60RfV.d.mts → userRepository-CL280vkG.d.mts} +1 -1
  308. package/dist/server/utils/addSoftDeleteColumn.d.mts +1 -1
  309. package/dist/server/utils/addTimestampColumns.d.mts +1 -1
  310. package/dist/server/utils/basePath.d.mts +1 -1
  311. package/dist/server/utils/config.d.mts +1 -1
  312. package/dist/server/utils/createLoaderFactory.d.mts +1 -1
  313. package/dist/server/utils/cuid.d.mts +1 -1
  314. package/dist/server/utils/defineHandler.d.mts +1 -1
  315. package/dist/server/utils/defineLoader.d.mts +1 -1
  316. package/dist/server/utils/generateIndexFile.d.mts +1 -1
  317. package/dist/server/utils/importAll.d.mts +1 -1
  318. package/dist/server/utils/importOne.d.mts +1 -1
  319. package/dist/server/utils/readAndParse.d.mts +2 -0
  320. package/dist/server/utils/readAndParse.mjs +2 -0
  321. package/dist/shared/ValidatorService-BbgdTYlF.d.mts +1 -1
  322. package/dist/shared/compose-e5D0sqye.d.mts +1 -1
  323. package/dist/shared/entities/FileEntity.d.mts +1 -1
  324. package/dist/shared/entities/FileMetaEntity.d.mts +1 -1
  325. package/dist/shared/entities/PluginEntity.d.mts +5 -1
  326. package/dist/shared/entities/PluginEntity.mjs +2 -2
  327. package/dist/shared/entities/RoleEntity.d.mts +1 -1
  328. package/dist/shared/schemas/dashboardMetaSchema.d.mts +25 -25
  329. package/dist/shared/schemas/dashboardSchema.d.mts +7 -7
  330. package/dist/shared/schemas/userSchema.d.mts +7 -7
  331. package/dist/shared/services/EmmitterService.d.mts +1 -1
  332. package/dist/shared/services/UploadService.d.mts +1 -1
  333. package/dist/shared/typing-CBF7x7JF.d.mts +1 -1
  334. package/dist/shared/utils/createId.d.mts +1 -1
  335. package/dist/shared/utils/matchPaths.d.mts +1 -1
  336. package/dist/shared/utils/tryCatch.d.mts +1 -1
  337. package/package.json +1 -1
  338. package/src/client/components/ZDataTable.vue +4 -3
  339. package/src/client/utils/defineColumns.ts +3 -1
  340. package/src/server/entities/PluginEntity.ts +42 -36
  341. package/src/server/facades/pluginService.ts +6 -0
  342. package/src/server/gateways/GitGateway.ts +21 -1
  343. package/src/server/index.ts +12 -3
  344. package/src/server/repositories/PluginRepository.ts +126 -0
  345. package/src/server/repositories/TokenRepository.ts +5 -3
  346. package/src/server/services/PluginDownloadService.ts +135 -0
  347. package/src/server/services/PluginService.ts +60 -0
  348. package/src/server/services/PluginUpdaterService.ts +104 -0
  349. package/src/server/utils/readAndParse.ts +33 -0
  350. package/src/shared/entities/PluginEntity.ts +8 -0
  351. package/dist/server/AclEntity-BV_Gy8V3.d.mts +0 -25
  352. package/dist/server/DriveConfigEntity-CLrBr62T.d.mts +0 -92
  353. package/dist/server/FileEntity-Digyfg-C.d.mts +0 -193
  354. package/dist/server/FileRepository-LcUXKAiu.d.mts +0 -48
  355. package/dist/server/GitBranchRepository-0lnyAU7-.d.mts +0 -30
  356. package/dist/server/LifecycleService-D7txJnZ6.d.mts +0 -50
  357. package/dist/server/ModuleEntity-D6wGxNwd.d.mts +0 -67
  358. package/dist/server/PermissionAssignmentRepository-DFUKIv23.d.mts +0 -28
  359. package/dist/server/PermissionRepository-BhyHZK-A.d.mts +0 -35
  360. package/dist/server/PermissionRepository-CDv8g8T-.mjs +0 -2
  361. package/dist/server/PluginEntity-B8lM--vr.mjs +0 -2
  362. package/dist/server/PluginEntity-BNxu5LOk.d.mts +0 -17
  363. package/dist/server/PluginEntryEntity-DlPLorqO.d.mts +0 -39
  364. package/dist/server/RouterService-tj5tmqMt.d.mts +0 -74
  365. package/dist/server/entities/PluginEntryEntity.d.mts +0 -2
  366. package/dist/server/entities/PluginEntryEntity.mjs +0 -2
  367. package/dist/server/paginate-gGwOR2jo.mjs +0 -2
  368. package/dist/server/translator-Quly_M9k.d.mts +0 -32
  369. package/src/server/entities/PluginEntryEntity.ts +0 -40
  370. /package/dist/server/{index-CliqZ9rj.d.mts → index--p6oQT9I.d.mts} +0 -0
  371. /package/dist/server/{utils-DhBoMMLd.mjs → utils-CxZfVnje.mjs} +0 -0
package/bin/zenith.js CHANGED
@@ -15,7 +15,7 @@ EnvService.dotEnvConfig({
15
15
  })
16
16
 
17
17
 
18
- let ZENITH_VERSION = 'v0.3.2'
18
+ let ZENITH_VERSION = 'v0.5.0'
19
19
  let ZENITH_BASE_PATH = process.env.ZENITH_BASE_PATH
20
20
  let ZENITH_KIT_DEBUG = process.env.ZENITH_KIT_DEBUG
21
21
 
@@ -53,9 +53,16 @@ const wrapper = CliWrapperService
53
53
  .create()
54
54
  .setBasePath(ZENITH_BASE_PATH)
55
55
 
56
+ const plugins = [cwd]
57
+
58
+ if (process.env.ZENITH_PLUGINS_DIR) {
59
+ const extraPlugins = process.env.ZENITH_PLUGINS_DIR.split(':')
60
+ plugins.push(...extraPlugins)
61
+ }
62
+
56
63
  wrapper
57
64
  .addEnv('ZENITH_BASE_PATH', ZENITH_BASE_PATH)
58
65
  .addEnv('ZENITH_DATA_PATH', path.join(cwd, 'data'))
59
- .addEnv('ZENITH_PLUGINS_DIR', cwd)
66
+ .addEnv('ZENITH_PLUGINS_DIR', plugins.join(':'))
60
67
  .addEnv('ZENITH_COMMAND_DIR', path.resolve(import.meta.dirname, '../dist/server/commands'))
61
68
  .run()
@@ -1,7 +1,7 @@
1
1
  import * as xr from "vue";
2
2
  import { inject as Na, provide as ar, Fragment as ye, reactive as Do, computed as B, ref as O, watch as ee, nextTick as ne, getCurrentInstance as na, toHandlerKey as ai, camelize as Ao, unref as l, watchEffect as Ae, toValue as Et, onUpdated as ni, triggerRef as ri, toRef as oi, onUnmounted as Ke, onMounted as le, defineComponent as z, toRefs as Se, h as pt, Comment as li, mergeProps as E, cloneVNode as ii, renderSlot as x, openBlock as v, createBlock as k, withCtx as p, normalizeStyle as tt, createVNode as C, withDirectives as Qt, vShow as Ua, withModifiers as be, createCommentVNode as V, Teleport as Eo, normalizeProps as he, guardReactiveProps as qe, markRaw as si, createElementBlock as N, renderList as Ie, withKeys as Le, watchSyncEffect as ui, withMemo as nr, watchPostEffect as Po, shallowRef as Fn, getCurrentScope as di, onScopeDispose as ci, shallowReadonly as Lt, mergeDefaults as Io, isRef as ka, resolveDynamicComponent as tn, createTextVNode as L, toDisplayString as I, createElementVNode as U, onBeforeUnmount as fi, normalizeClass as de, vModelText as Mo, useModel as se, mergeModels as xe, resolveComponent as pi, createSlots as mi } from "vue";
3
- import { _ as we } from "./Icon.vue_vue_type_script_setup_true_lang-mpkMPRLI.mjs";
4
- import { t as vi, c as Fo, i as nt, a as Sr, u as Tn, b as Ft, r as To, d as yi, e as ze, o as hi, f as gi, g as bi, h as Ta, j as Z, k as ki, l as _i, m as Ro, n as Vo, p as wi, q as dt, s as Kt, v as zi, w as Ci, x as rr, y as $i, $ as xi, z as qr, A as Si, B as qi, C as Bi } from "./index-BJAQ9u3g.mjs";
3
+ import { _ as we } from "./Icon.vue_vue_type_script_setup_true_lang-DfWVMtuA.mjs";
4
+ import { t as vi, c as Fo, i as nt, a as Sr, u as Tn, b as Ft, r as To, d as yi, e as ze, o as hi, f as gi, g as bi, h as Ta, j as Z, k as ki, l as _i, m as Ro, n as Vo, p as wi, q as dt, s as Kt, v as zi, w as Ci, x as rr, y as $i, $ as xi, z as qr, A as Si, B as qi, C as Bi } from "./index-BD6p1buR.mjs";
5
5
  import { FieldContextKey as Oi, useFieldError as Di, useIsFieldTouched as Ai, useIsFieldDirty as Ei, useIsFieldValid as Pi, ErrorMessage as Ii, Field as Mi, useField as Fi } from "vee-validate";
6
6
  function Br(e) {
7
7
  return typeof e == "string" ? `'${e}'` : new Ti().serialize(e);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, computed as c, openBlock as r, createElementBlock as a } from "vue";
2
- import { D as i } from "./index-BJAQ9u3g.mjs";
2
+ import { D as i } from "./index-BD6p1buR.mjs";
3
3
  const s = ["icon"], _ = /* @__PURE__ */ t({
4
4
  __name: "Icon",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as k, ref as s, computed as v, onMounted as p, openBlock as n, createElementBlock as l, Fragment as x, createVNode as _, createElementVNode as a, toDisplayString as r, createCommentVNode as g, normalizeStyle as h } from "vue";
2
- import { A as y, w, x as b } from "./index-BJAQ9u3g.mjs";
3
- import { _ as A } from "./Icon.vue_vue_type_script_setup_true_lang-mpkMPRLI.mjs";
2
+ import { A as y, w, x as b } from "./index-BD6p1buR.mjs";
3
+ import { _ as A } from "./Icon.vue_vue_type_script_setup_true_lang-DfWVMtuA.mjs";
4
4
  const S = {
5
5
  key: 0,
6
6
  class: "zkit:flex zkit:items-center zkit:justify-center zkit:h-full zkit:@container"
@@ -79,7 +79,7 @@ function Ur() {
79
79
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
80
80
  if (de(N, "numericSeparator") && typeof N.numericSeparator != "boolean")
81
81
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
82
- var it = N.numericSeparator;
82
+ var st = N.numericSeparator;
83
83
  if (typeof x > "u")
84
84
  return "undefined";
85
85
  if (x === null)
@@ -92,11 +92,11 @@ function Ur() {
92
92
  if (x === 0)
93
93
  return 1 / 0 / x > 0 ? "0" : "-0";
94
94
  var ge = String(x);
95
- return it ? E(x, ge) : ge;
95
+ return st ? E(x, ge) : ge;
96
96
  }
97
97
  if (typeof x == "bigint") {
98
98
  var Ve = String(x) + "n";
99
- return it ? E(x, Ve) : Ve;
99
+ return st ? E(x, Ve) : Ve;
100
100
  }
101
101
  var gn = typeof N.depth > "u" ? 5 : N.depth;
102
102
  if (typeof Z > "u" && (Z = 0), Z >= gn && gn > 0 && typeof x == "object")
@@ -396,8 +396,8 @@ function Ur() {
396
396
  var N = typeof j == "function" ? j(v) : [], He;
397
397
  if (W) {
398
398
  He = {};
399
- for (var it = 0; it < N.length; it++)
400
- He["$" + N[it]] = N[it];
399
+ for (var st = 0; st < N.length; st++)
400
+ He["$" + N[st]] = N[st];
401
401
  }
402
402
  for (var ge in v)
403
403
  de(v, ge) && (U && String(Number(ge)) === ge && ge < v.length || W && He["$" + ge] instanceof Symbol || (S.call(/[^\w$]/, ge) ? Z.push(x(ge, v) + ": " + x(v[ge], v)) : Z.push(ge + ": " + x(v[ge], v))));
@@ -1992,7 +1992,7 @@ function om(t) {
1992
1992
  return !!ta && ta in t;
1993
1993
  }
1994
1994
  var am = Function.prototype, um = am.toString;
1995
- function ct(t) {
1995
+ function ft(t) {
1996
1996
  if (t != null) {
1997
1997
  try {
1998
1998
  return um.call(t);
@@ -2012,18 +2012,18 @@ function mm(t) {
2012
2012
  if (!Le(t) || om(t))
2013
2013
  return !1;
2014
2014
  var e = Mu(t) ? ym : cm;
2015
- return e.test(ct(t));
2015
+ return e.test(ft(t));
2016
2016
  }
2017
2017
  function gm(t, e) {
2018
2018
  return t?.[e];
2019
2019
  }
2020
- function ft(t, e) {
2020
+ function pt(t, e) {
2021
2021
  var r = gm(t, e);
2022
2022
  return mm(r) ? r : void 0;
2023
2023
  }
2024
2024
  var $r = (function() {
2025
2025
  try {
2026
- var t = ft(Object, "defineProperty");
2026
+ var t = pt(Object, "defineProperty");
2027
2027
  return t({}, "", {}), t;
2028
2028
  } catch {
2029
2029
  }
@@ -2059,7 +2059,7 @@ function vs(t, e) {
2059
2059
  var r = typeof t;
2060
2060
  return r == "number" || r == "symbol" || r == "boolean" || t == null || St(t) ? !0 : km.test(t) || !xm.test(t) || e != null && t in Object(e);
2061
2061
  }
2062
- var Kt = ft(Object, "create");
2062
+ var Kt = pt(Object, "create");
2063
2063
  function _m() {
2064
2064
  this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
2065
2065
  }
@@ -2086,18 +2086,18 @@ function Im(t, e) {
2086
2086
  var r = this.__data__;
2087
2087
  return this.size += this.has(t) ? 0 : 1, r[t] = Kt && e === void 0 ? Rm : e, this;
2088
2088
  }
2089
- function ut(t) {
2089
+ function lt(t) {
2090
2090
  var e = -1, r = t == null ? 0 : t.length;
2091
2091
  for (this.clear(); ++e < r; ) {
2092
2092
  var n = t[e];
2093
2093
  this.set(n[0], n[1]);
2094
2094
  }
2095
2095
  }
2096
- ut.prototype.clear = _m;
2097
- ut.prototype.delete = Om;
2098
- ut.prototype.get = $m;
2099
- ut.prototype.has = Tm;
2100
- ut.prototype.set = Im;
2096
+ lt.prototype.clear = _m;
2097
+ lt.prototype.delete = Om;
2098
+ lt.prototype.get = $m;
2099
+ lt.prototype.has = Tm;
2100
+ lt.prototype.set = Im;
2101
2101
  function Dm() {
2102
2102
  this.__data__ = [], this.size = 0;
2103
2103
  }
@@ -2138,12 +2138,12 @@ ze.prototype.delete = Fm;
2138
2138
  ze.prototype.get = Nm;
2139
2139
  ze.prototype.has = qm;
2140
2140
  ze.prototype.set = Wm;
2141
- var Qt = ft(je, "Map");
2141
+ var Qt = pt(je, "Map");
2142
2142
  function Lm() {
2143
2143
  this.size = 0, this.__data__ = {
2144
- hash: new ut(),
2144
+ hash: new lt(),
2145
2145
  map: new (Qt || ze)(),
2146
- string: new ut()
2146
+ string: new lt()
2147
2147
  };
2148
2148
  }
2149
2149
  function zm(t) {
@@ -2234,7 +2234,7 @@ function Yr(t, e) {
2234
2234
  var r = typeof t;
2235
2235
  return e = e ?? Zm, !!e && (r == "number" || r != "symbol" && eg.test(t)) && t > -1 && t % 1 == 0 && t < e;
2236
2236
  }
2237
- function lt(t) {
2237
+ function ct(t) {
2238
2238
  if (typeof t == "string" || St(t))
2239
2239
  return t;
2240
2240
  var e = t + "";
@@ -2245,7 +2245,7 @@ function tg(t, e, r, n) {
2245
2245
  return t;
2246
2246
  e = Xr(e, t);
2247
2247
  for (var i = -1, s = e.length, o = s - 1, a = t; a != null && ++i < s; ) {
2248
- var u = lt(e[i]), l = r;
2248
+ var u = ct(e[i]), l = r;
2249
2249
  if (u === "__proto__" || u === "constructor" || u === "prototype")
2250
2250
  return t;
2251
2251
  if (i != o) {
@@ -2273,7 +2273,7 @@ function Ti(t, e = "", r = {}) {
2273
2273
  function Qr(t, e) {
2274
2274
  e = Xr(e, t);
2275
2275
  for (var r = 0, n = e.length; t != null && r < n; )
2276
- t = t[lt(e[r++])];
2276
+ t = t[ct(e[r++])];
2277
2277
  return r && r == n ? t : void 0;
2278
2278
  }
2279
2279
  function ws(t, e, r) {
@@ -2299,7 +2299,7 @@ function xs(t) {
2299
2299
  function ju(t, e, r) {
2300
2300
  e = Xr(e, t);
2301
2301
  for (var n = -1, i = e.length, s = !1; ++n < i; ) {
2302
- var o = lt(e[n]);
2302
+ var o = ct(e[n]);
2303
2303
  if (!(s = t != null && r(t, o)))
2304
2304
  break;
2305
2305
  t = t[o];
@@ -2330,12 +2330,12 @@ function yg(t, e) {
2330
2330
  if (!n)
2331
2331
  return !0;
2332
2332
  for (; ++r < n; ) {
2333
- var i = lt(e[r]);
2333
+ var i = ct(e[r]);
2334
2334
  if (i === "__proto__" && !hg.call(t, "__proto__") || (i === "constructor" || i === "prototype") && r < n - 1)
2335
2335
  return !1;
2336
2336
  }
2337
2337
  var s = pg(t, e);
2338
- return s == null || delete s[lt(cg(e))];
2338
+ return s == null || delete s[ct(cg(e))];
2339
2339
  }
2340
2340
  function mg(t, e) {
2341
2341
  return t == null ? !0 : yg(t, e);
@@ -2887,7 +2887,7 @@ function ib() {
2887
2887
  function ks(t = "") {
2888
2888
  return t + ib();
2889
2889
  }
2890
- class pt {
2890
+ class nt {
2891
2891
  static __container_entry_key = "LoggerService";
2892
2892
  info(e, r) {
2893
2893
  }
@@ -2898,7 +2898,7 @@ class pt {
2898
2898
  error(e, r) {
2899
2899
  }
2900
2900
  child(e) {
2901
- return new pt();
2901
+ return new nt();
2902
2902
  }
2903
2903
  }
2904
2904
  class lr {
@@ -2907,7 +2907,7 @@ class lr {
2907
2907
  debug;
2908
2908
  logger;
2909
2909
  constructor(e) {
2910
- this.debug = e?.debug || !1, this.logger = e?.logger || new pt(), this.debug && this.logger.debug("emmitter loaded with debug mode enabled");
2910
+ this.debug = e?.debug || !1, this.logger = e?.logger || new nt(), this.debug && this.logger.debug("emmitter loaded with debug mode enabled");
2911
2911
  }
2912
2912
  static create(e) {
2913
2913
  return new lr(e);
@@ -3043,7 +3043,7 @@ class Ku {
3043
3043
  async onShutdown() {
3044
3044
  }
3045
3045
  }
3046
- var Ii = ft(je, "WeakMap");
3046
+ var Ii = pt(je, "WeakMap");
3047
3047
  function ob(t, e) {
3048
3048
  for (var r = -1, n = e.length, i = t.length; ++r < n; )
3049
3049
  t[i + r] = e[r];
@@ -3336,9 +3336,9 @@ function ow(t, e, r) {
3336
3336
  function ka(t) {
3337
3337
  return ow(t, ur, sw);
3338
3338
  }
3339
- var Di = ft(je, "DataView"), Ci = ft(je, "Promise"), ji = ft(je, "Set"), _a = "[object Map]", aw = "[object Object]", Oa = "[object Promise]", Ea = "[object Set]", Aa = "[object WeakMap]", Sa = "[object DataView]", uw = ct(Di), lw = ct(Qt), cw = ct(Ci), fw = ct(ji), pw = ct(Ii), Ke = rt;
3339
+ var Di = pt(je, "DataView"), Ci = pt(je, "Promise"), ji = pt(je, "Set"), _a = "[object Map]", aw = "[object Object]", Oa = "[object Promise]", Ea = "[object Set]", Aa = "[object WeakMap]", Sa = "[object DataView]", uw = ft(Di), lw = ft(Qt), cw = ft(Ci), fw = ft(ji), pw = ft(Ii), Ke = rt;
3340
3340
  (Di && Ke(new Di(new ArrayBuffer(1))) != Sa || Qt && Ke(new Qt()) != _a || Ci && Ke(Ci.resolve()) != Oa || ji && Ke(new ji()) != Ea || Ii && Ke(new Ii()) != Aa) && (Ke = function(t) {
3341
- var e = rt(t), r = e == aw ? t.constructor : void 0, n = r ? ct(r) : "";
3341
+ var e = rt(t), r = e == aw ? t.constructor : void 0, n = r ? ft(r) : "";
3342
3342
  if (n)
3343
3343
  switch (n) {
3344
3344
  case uw:
@@ -3568,7 +3568,7 @@ function Xw(t, e) {
3568
3568
  }
3569
3569
  var Yw = 1, Kw = 2;
3570
3570
  function Qw(t, e) {
3571
- return vs(t) && pl(e) ? dl(lt(t), e) : function(r) {
3571
+ return vs(t) && pl(e) ? dl(ct(t), e) : function(r) {
3572
3572
  var n = ws(r, t);
3573
3573
  return n === void 0 && n === e ? Xw(r, t) : _s(e, n, Yw | Kw);
3574
3574
  };
@@ -3584,7 +3584,7 @@ function e0(t) {
3584
3584
  };
3585
3585
  }
3586
3586
  function t0(t) {
3587
- return vs(t) ? Zw(lt(t)) : e0(t);
3587
+ return vs(t) ? Zw(ct(t)) : e0(t);
3588
3588
  }
3589
3589
  function r0(t) {
3590
3590
  return typeof t == "function" ? t : t == null ? Zr : typeof t == "object" ? Oe(t) ? Qw(t[0], t[1]) : Vw(t) : t0(t);
@@ -3679,7 +3679,7 @@ let y0 = class {
3679
3679
  logger;
3680
3680
  debug = !1;
3681
3681
  constructor(e = {}) {
3682
- this.debug = e.debug ?? this.debug, this.hooks = e.hooks ?? /* @__PURE__ */ new Map(), this.logger = e.logger ?? new pt(), e.onError && (this.onError = e.onError);
3682
+ this.debug = e.debug ?? this.debug, this.hooks = e.hooks ?? /* @__PURE__ */ new Map(), this.logger = e.logger ?? new nt(), e.onError && (this.onError = e.onError);
3683
3683
  }
3684
3684
  setOnError(e) {
3685
3685
  this.onError = e;
@@ -4280,7 +4280,7 @@ class hx {
4280
4280
  logger;
4281
4281
  constructor(e = {}) {
4282
4282
  const n = (e.permissions || []).map((i) => dx.from(i));
4283
- this.permissions = n, this.debug = e.debug || !1, this.logger = e.logger || new pt().child({ label: "acl" }), this.ability = px((i) => {
4283
+ this.permissions = n, this.debug = e.debug || !1, this.logger = e.logger || new nt().child({ label: "acl" }), this.ability = px((i) => {
4284
4284
  n.forEach((s) => {
4285
4285
  i(s.action, s.subject, s.parsedConditions);
4286
4286
  });
@@ -5240,16 +5240,16 @@ function oc(t) {
5240
5240
  function r1(t) {
5241
5241
  Yt?.delete(t);
5242
5242
  }
5243
- let at;
5243
+ let ut;
5244
5244
  function n1(t, e, r) {
5245
- at || (at = /* @__PURE__ */ new Map()), at.get(t) || at.set(t, /* @__PURE__ */ new Map()), at.get(t).set(r, e);
5245
+ ut || (ut = /* @__PURE__ */ new Map()), ut.get(t) || ut.set(t, /* @__PURE__ */ new Map()), ut.get(t).set(r, e);
5246
5246
  }
5247
5247
  // @__NO_SIDE_EFFECTS__
5248
5248
  function ac(t, e) {
5249
- return at?.get(t)?.get(e);
5249
+ return ut?.get(t)?.get(e);
5250
5250
  }
5251
5251
  function i1(t, e) {
5252
- at?.get(t)?.delete(e);
5252
+ ut?.get(t)?.delete(e);
5253
5253
  }
5254
5254
  // @__NO_SIDE_EFFECTS__
5255
5255
  function ie(t) {
@@ -11753,10 +11753,10 @@ const Je = {
11753
11753
  // so this token always has the same output as `XX`
11754
11754
  case "XXXX":
11755
11755
  case "XX":
11756
- return ot(n);
11756
+ return at(n);
11757
11757
  // Hours and minutes with `:` delimiter
11758
11758
  default:
11759
- return ot(n, ":");
11759
+ return at(n, ":");
11760
11760
  }
11761
11761
  },
11762
11762
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -11771,10 +11771,10 @@ const Je = {
11771
11771
  // so this token always has the same output as `xx`
11772
11772
  case "xxxx":
11773
11773
  case "xx":
11774
- return ot(n);
11774
+ return at(n);
11775
11775
  // Hours and minutes with `:` delimiter
11776
11776
  default:
11777
- return ot(n, ":");
11777
+ return at(n, ":");
11778
11778
  }
11779
11779
  },
11780
11780
  // Timezone (GMT)
@@ -11787,7 +11787,7 @@ const Je = {
11787
11787
  case "OOO":
11788
11788
  return "GMT" + Va(n, ":");
11789
11789
  default:
11790
- return "GMT" + ot(n, ":");
11790
+ return "GMT" + at(n, ":");
11791
11791
  }
11792
11792
  },
11793
11793
  // Timezone (specific non-location)
@@ -11800,7 +11800,7 @@ const Je = {
11800
11800
  case "zzz":
11801
11801
  return "GMT" + Va(n, ":");
11802
11802
  default:
11803
- return "GMT" + ot(n, ":");
11803
+ return "GMT" + at(n, ":");
11804
11804
  }
11805
11805
  },
11806
11806
  // Seconds timestamp
@@ -11818,9 +11818,9 @@ function Va(t, e = "") {
11818
11818
  return s === 0 ? r + String(i) : r + String(i) + e + V(s, 2);
11819
11819
  }
11820
11820
  function Ja(t, e) {
11821
- return t % 60 === 0 ? (t > 0 ? "-" : "+") + V(Math.abs(t) / 60, 2) : ot(t, e);
11821
+ return t % 60 === 0 ? (t > 0 ? "-" : "+") + V(Math.abs(t) / 60, 2) : at(t, e);
11822
11822
  }
11823
- function ot(t, e = "") {
11823
+ function at(t, e = "") {
11824
11824
  const r = t > 0 ? "-" : "+", n = Math.abs(t), i = V(Math.trunc(n / 60), 2), s = V(n % 60, 2);
11825
11825
  return r + i + e + s;
11826
11826
  }
@@ -12542,7 +12542,7 @@ class A_ {
12542
12542
  return Array.from(this.definitions.values());
12543
12543
  }
12544
12544
  }
12545
- const S_ = ne.proxy(A_), yE = ne.proxy(m0), mE = ne.proxy(pt), gE = ne.proxy(mx);
12545
+ const S_ = ne.proxy(A_), yE = ne.proxy(m0), mE = ne.proxy(nt), gE = ne.proxy(mx);
12546
12546
  class $_ {
12547
12547
  static __container_entry_key = "TranslatorService";
12548
12548
  entries;
@@ -12552,7 +12552,7 @@ class $_ {
12552
12552
  logger;
12553
12553
  cache;
12554
12554
  constructor(e = {}) {
12555
- this.entries = e.entries || /* @__PURE__ */ new Map(), this.locale = e.locale || "en", this.debug = e.debug || !1, this.cache = e.cache || /* @__PURE__ */ new Map(), this.logger = e.logger || new pt(), this.localeLoaders = /* @__PURE__ */ new Map(), this.debug && this.logger.debug("initialized in debug mode", { locale: this.locale });
12555
+ this.entries = e.entries || /* @__PURE__ */ new Map(), this.locale = e.locale || "en", this.debug = e.debug || !1, this.cache = e.cache || /* @__PURE__ */ new Map(), this.logger = e.logger || new nt(), this.localeLoaders = /* @__PURE__ */ new Map(), this.debug && this.logger.debug("initialized in debug mode", { locale: this.locale });
12556
12556
  }
12557
12557
  get locales() {
12558
12558
  return Array.from(this.localeLoaders.keys());
@@ -12662,7 +12662,7 @@ class Hs {
12662
12662
  id: "settings",
12663
12663
  props: e,
12664
12664
  component: () => mu(
12665
- () => import("./DashboardWidgetActionSetting-CAWFyAkq.mjs")
12665
+ () => import("./DashboardWidgetActionSetting-DnnG38nh.mjs")
12666
12666
  )
12667
12667
  });
12668
12668
  }
@@ -12861,9 +12861,14 @@ let R_ = class extends De(Ce) {
12861
12861
  id;
12862
12862
  name;
12863
12863
  version;
12864
+ developmentMode;
12864
12865
  enabled;
12865
12866
  aliases;
12866
12867
  branches;
12868
+ logger = new nt();
12869
+ setLogger(e) {
12870
+ return this.logger = e, this;
12871
+ }
12867
12872
  };
12868
12873
  class SE extends De(Ce, ir, sr) {
12869
12874
  id;
@@ -12999,7 +13004,7 @@ class RE extends Hs {
12999
13004
  });
13000
13005
  }
13001
13006
  component() {
13002
- return mu(() => import("./WidgetTextRender-GFtACbUf.mjs"));
13007
+ return mu(() => import("./WidgetTextRender-2CtDthSX.mjs"));
13003
13008
  }
13004
13009
  values() {
13005
13010
  return {};
@@ -13398,7 +13403,7 @@ const F_ = (t, e) => {
13398
13403
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
13399
13404
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
13400
13405
  aO.test(t) && !uO.test(t)
13401
- ), Js = () => !1, pO = (t) => lO.test(t), dO = (t) => cO.test(t), hO = (t) => !T(t) && !R(t), yO = (t) => nt(t, Wh, Js), T = (t) => Ch.test(t), st = (t) => nt(t, Lh, fO), ou = (t) => nt(t, _O, q), mO = (t) => nt(t, Gh, Fh), gO = (t) => nt(t, zh, Js), au = (t) => nt(t, Nh, Js), vO = (t) => nt(t, qh, dO), Er = (t) => nt(t, Bh, pO), R = (t) => jh.test(t), Gt = (t) => yt(t, Lh), bO = (t) => yt(t, zh), uu = (t) => yt(t, Nh), wO = (t) => yt(t, Wh), xO = (t) => yt(t, qh), Ar = (t) => yt(t, Bh, !0), kO = (t) => yt(t, Gh, !0), nt = (t, e, r) => {
13406
+ ), Js = () => !1, pO = (t) => lO.test(t), dO = (t) => cO.test(t), hO = (t) => !T(t) && !R(t), yO = (t) => it(t, Wh, Js), T = (t) => Ch.test(t), ot = (t) => it(t, Lh, fO), ou = (t) => it(t, _O, q), mO = (t) => it(t, Gh, Fh), gO = (t) => it(t, zh, Js), au = (t) => it(t, Nh, Js), vO = (t) => it(t, qh, dO), Er = (t) => it(t, Bh, pO), R = (t) => jh.test(t), Gt = (t) => yt(t, Lh), bO = (t) => yt(t, zh), uu = (t) => yt(t, Nh), wO = (t) => yt(t, Wh), xO = (t) => yt(t, qh), Ar = (t) => yt(t, Bh, !0), kO = (t) => yt(t, Gh, !0), it = (t, e, r) => {
13402
13407
  const n = Ch.exec(t);
13403
13408
  return n ? n[1] ? e(n[1]) : r(n[2]) : !1;
13404
13409
  }, yt = (t, e, r = !1) => {
@@ -13431,7 +13436,7 @@ const F_ = (t, e) => {
13431
13436
  repeat: ["", "x", "y", "space", "round"]
13432
13437
  }], Ae = () => ["auto", "cover", "contain", wO, yO, {
13433
13438
  size: [R, T]
13434
- }], xe = () => [Pi, Gt, st], ee = () => [
13439
+ }], xe = () => [Pi, Gt, ot], ee = () => [
13435
13440
  // Deprecated since Tailwind CSS v4.0.0
13436
13441
  "",
13437
13442
  "none",
@@ -13439,7 +13444,7 @@ const F_ = (t, e) => {
13439
13444
  l,
13440
13445
  R,
13441
13446
  T
13442
- ], X = () => ["", q, Gt, st], me = () => ["solid", "dashed", "dotted", "double"], Se = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], L = () => [q, Pi, uu, au], z = () => [
13447
+ ], X = () => ["", q, Gt, ot], me = () => ["solid", "dashed", "dotted", "double"], Se = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], L = () => [q, Pi, uu, au], z = () => [
13443
13448
  // Deprecated since Tailwind CSS v4.0.0
13444
13449
  "",
13445
13450
  "none",
@@ -14235,7 +14240,7 @@ const F_ = (t, e) => {
14235
14240
  * @see https://tailwindcss.com/docs/font-size
14236
14241
  */
14237
14242
  "font-size": [{
14238
- text: ["base", r, Gt, st]
14243
+ text: ["base", r, Gt, ot]
14239
14244
  }],
14240
14245
  /**
14241
14246
  * Font Smoothing
@@ -14390,7 +14395,7 @@ const F_ = (t, e) => {
14390
14395
  * @see https://tailwindcss.com/docs/text-decoration-thickness
14391
14396
  */
14392
14397
  "text-decoration-thickness": [{
14393
- decoration: [q, "from-font", "auto", R, st]
14398
+ decoration: [q, "from-font", "auto", R, ot]
14394
14399
  }],
14395
14400
  /**
14396
14401
  * Text Decoration Color
@@ -14905,7 +14910,7 @@ const F_ = (t, e) => {
14905
14910
  * @see https://tailwindcss.com/docs/outline-width
14906
14911
  */
14907
14912
  "outline-w": [{
14908
- outline: ["", q, Gt, st]
14913
+ outline: ["", q, Gt, ot]
14909
14914
  }],
14910
14915
  /**
14911
14916
  * Outline Color
@@ -14980,7 +14985,7 @@ const F_ = (t, e) => {
14980
14985
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
14981
14986
  */
14982
14987
  "ring-offset-w": [{
14983
- "ring-offset": [q, st]
14988
+ "ring-offset": [q, ot]
14984
14989
  }],
14985
14990
  /**
14986
14991
  * Ring Offset Color
@@ -15958,7 +15963,7 @@ const F_ = (t, e) => {
15958
15963
  * @see https://tailwindcss.com/docs/stroke-width
15959
15964
  */
15960
15965
  "stroke-w": [{
15961
- stroke: [q, Gt, st, ou]
15966
+ stroke: [q, Gt, ot, ou]
15962
15967
  }],
15963
15968
  /**
15964
15969
  * Stroke
@@ -1,4 +1,4 @@
1
- import { E as e, F as t, G as o, $ as r, H as i, I as u, J as d, K as c, L as h, M as n, N as g, O as l, P as b, Q as T, R as D, S as R, T as S, U as m, V as f, W as y, X as G, Y as v, Z as p, _ as F, a0 as x, y as H, a1 as W, a2 as B, a3 as C, a4 as M, a5 as k, a6 as A, a7 as L, a8 as $, a9 as O, aa as E, ab as I, ac as w, ad as P, ae as _, af as K, ag as N, ah as Q, ai as V, aj as J, s as U, ak as X, al as Y, am as Z, an as j, ao as q, ap as z, aq as aa, ar as sa, as as ea, v as ta, at as oa, au as ra, av as ia, aw as ua, ax as da, ay as ca, az as ha, aA as na, aB as ga, aC as la, aD as ba, aE as Ta, aF as Da, aG as Ra, aH as Sa, aI as ma, aJ as fa, aK as ya, n as Ga, p as va, aL as pa, aM as Fa, aN as xa, A as Ha, aO as Wa, B as Ba, aP as Ca, aQ as Ma, aR as ka, aS as Aa, aT as La, aU as $a, aV as Oa, aW as Ea, aX as Ia, aY as wa, aZ as Pa, a_ as _a, a$ as Ka, b0 as Na, b1 as Qa } from "./index-BJAQ9u3g.mjs";
1
+ import { E as e, F as t, G as o, $ as r, H as i, I as u, J as d, K as c, L as h, M as n, N as g, O as l, P as b, Q as T, R as D, S as R, T as S, U as m, V as f, W as y, X as G, Y as v, Z as p, _ as F, a0 as x, y as H, a1 as W, a2 as B, a3 as C, a4 as M, a5 as k, a6 as A, a7 as L, a8 as $, a9 as O, aa as E, ab as I, ac as w, ad as P, ae as _, af as K, ag as N, ah as Q, ai as V, aj as J, s as U, ak as X, al as Y, am as Z, an as j, ao as q, ap as z, aq as aa, ar as sa, as as ea, v as ta, at as oa, au as ra, av as ia, aw as ua, ax as da, ay as ca, az as ha, aA as na, aB as ga, aC as la, aD as ba, aE as Ta, aF as Da, aG as Ra, aH as Sa, aI as ma, aJ as fa, aK as ya, n as Ga, p as va, aL as pa, aM as Fa, aN as xa, A as Ha, aO as Wa, B as Ba, aP as Ca, aQ as Ma, aR as ka, aS as Aa, aT as La, aU as $a, aV as Oa, aW as Ea, aX as Ia, aY as wa, aZ as Pa, a_ as _a, a$ as Ka, b0 as Na, b1 as Qa } from "./index-BD6p1buR.mjs";
2
2
  import { useField as Ja } from "vee-validate";
3
3
  export {
4
4
  e as $d,
@@ -1,8 +1,9 @@
1
+ import { ClassValue } from 'vue';
1
2
  export interface DataTableColumn<T extends Record<string, any> = Record<string, any>> {
2
3
  id?: string;
3
4
  label?: string;
4
5
  field?: keyof T | ((row: T) => any) | (string & {});
5
6
  sortable?: boolean;
6
- width?: string | number;
7
+ class?: ClassValue;
7
8
  }
8
9
  export declare function defineColumns<T extends Record<string, any>>(columns: DataTableColumn<T>[]): DataTableColumn<T>[];
@@ -1,3 +1,4 @@
1
+ import { default as LoggerService } from '../services/LoggerService.ts';
1
2
  import { Constructor } from '../utils/compose.ts';
2
3
  interface PluginEntityBransh {
3
4
  branch: string;
@@ -14,8 +15,11 @@ export default class PluginEntity extends PluginEntity_base {
14
15
  id: string;
15
16
  name: string;
16
17
  version: string;
18
+ developmentMode: boolean;
17
19
  enabled: boolean;
18
20
  aliases: string[];
19
21
  branches: PluginEntityBransh[];
22
+ logger: LoggerService;
23
+ setLogger(logger: LoggerService): this;
20
24
  }
21
25
  export {};