taon 18.0.18 → 18.0.20

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 (315) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/esm2022/lib/base-classes/base-abstract-entity.mjs +1 -1
  3. package/browser/esm2022/lib/base-classes/base-crud-controller.mjs +1 -1
  4. package/browser/esm2022/lib/base-classes/base-injector.mjs +8 -1
  5. package/browser/esm2022/lib/base-classes/base.mjs +3 -3
  6. package/browser/esm2022/lib/create-context.mjs +10 -7
  7. package/browser/esm2022/lib/decorators/http/http-decorators.mjs +3 -1
  8. package/browser/esm2022/lib/decorators/http/http-methods-decorators.mjs +1 -1
  9. package/browser/esm2022/lib/endpoint-context.mjs +49 -11
  10. package/browser/esm2022/lib/entity-process.mjs +1 -10
  11. package/browser/esm2022/lib/get-response-value.mjs +1 -15
  12. package/browser/esm2022/lib/index.mjs +2 -1
  13. package/browser/esm2022/lib/models.mjs +1 -1
  14. package/browser/esm2022/lib/ui/directives/index.mjs +6 -0
  15. package/browser/esm2022/lib/ui/directives/safe.pipe.mjs +43 -0
  16. package/browser/esm2022/lib/ui/directives/taon-inject-html.directive.mjs +24 -0
  17. package/browser/esm2022/lib/ui/directives/taon-long-press.directive.mjs +120 -0
  18. package/browser/esm2022/lib/ui/index.mjs +12 -0
  19. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.mjs +5 -0
  20. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.mjs +115 -0
  21. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.mjs +50 -0
  22. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.mjs +5 -0
  23. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.mjs +61 -0
  24. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.mjs +21 -0
  25. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/index.mjs +6 -0
  26. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +14 -3
  27. package/browser/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.mjs +54 -0
  28. package/browser/esm2022/lib/ui/taon-full-material.module.mjs +179 -0
  29. package/browser/esm2022/lib/ui/taon-github-fork-me-corner/index.mjs +5 -0
  30. package/browser/esm2022/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.mjs +18 -0
  31. package/browser/esm2022/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.mjs +21 -0
  32. package/browser/esm2022/lib/ui/taon-notifications/index.mjs +7 -0
  33. package/browser/esm2022/lib/ui/taon-notifications/taon-notifications.component.mjs +25 -0
  34. package/browser/esm2022/lib/ui/taon-notifications/taon-notifications.models.mjs +5 -0
  35. package/browser/esm2022/lib/ui/taon-notifications/taon-notifications.module.mjs +21 -0
  36. package/browser/esm2022/lib/ui/taon-notifications/taon-notifications.service.mjs +48 -0
  37. package/browser/esm2022/lib/ui/taon-progress-bar/index.mjs +5 -0
  38. package/browser/esm2022/lib/ui/taon-progress-bar/taon-progress-bar.component.mjs +98 -0
  39. package/browser/esm2022/lib/ui/taon-progress-bar/taon-progress-bar.module.mjs +22 -0
  40. package/browser/esm2022/lib/ui/taon-session-passcode/index.mjs +4 -0
  41. package/browser/esm2022/lib/ui/taon-session-passcode/taon-session-passcode.component.mjs +120 -0
  42. package/browser/esm2022/lib/ui/taon-table/index.mjs +5 -0
  43. package/browser/esm2022/lib/ui/taon-table/taon-table.component.mjs +161 -0
  44. package/browser/esm2022/lib/ui/taon-table/taon-table.module.mjs +57 -0
  45. package/browser/fesm2022/taon.mjs +1463 -94
  46. package/browser/fesm2022/taon.mjs.map +1 -1
  47. package/browser/lib/base-classes/base-abstract-entity.d.ts +2 -1
  48. package/browser/lib/base-classes/base-context.d.ts +4 -1
  49. package/browser/lib/base-classes/base-crud-controller.d.ts +1 -1
  50. package/browser/lib/base-classes/base-injector.d.ts +5 -0
  51. package/browser/lib/base-classes/base.d.ts +7 -3
  52. package/browser/lib/create-context.d.ts +7 -4
  53. package/browser/lib/decorators/http/http-decorators.d.ts +2 -0
  54. package/browser/lib/decorators/http/http-methods-decorators.d.ts +9 -0
  55. package/browser/lib/endpoint-context.d.ts +3 -2
  56. package/browser/lib/index.d.ts +13 -3
  57. package/browser/lib/models.d.ts +2 -4
  58. package/browser/lib/ui/directives/index.d.ts +4 -0
  59. package/browser/lib/ui/directives/safe.pipe.d.ts +11 -0
  60. package/browser/lib/ui/directives/taon-inject-html.directive.d.ts +10 -0
  61. package/browser/lib/ui/directives/taon-long-press.directive.d.ts +26 -0
  62. package/browser/lib/ui/index.d.ts +10 -0
  63. package/browser/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.d.ts +3 -0
  64. package/browser/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +33 -0
  65. package/browser/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.d.ts +16 -0
  66. package/browser/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.d.ts +3 -0
  67. package/browser/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +17 -0
  68. package/browser/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.d.ts +10 -0
  69. package/browser/lib/ui/taon-admin-mode-configuration/index.d.ts +4 -0
  70. package/browser/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.d.ts +17 -0
  71. package/browser/lib/ui/taon-full-material.module.d.ts +47 -0
  72. package/browser/lib/ui/taon-github-fork-me-corner/index.d.ts +3 -0
  73. package/browser/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +7 -0
  74. package/browser/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +9 -0
  75. package/browser/lib/ui/taon-notifications/index.d.ts +5 -0
  76. package/browser/lib/ui/taon-notifications/taon-notifications.component.d.ts +13 -0
  77. package/browser/lib/ui/taon-notifications/taon-notifications.models.d.ts +7 -0
  78. package/browser/lib/ui/taon-notifications/taon-notifications.module.d.ts +8 -0
  79. package/browser/lib/ui/taon-notifications/taon-notifications.service.d.ts +15 -0
  80. package/browser/lib/ui/taon-progress-bar/index.d.ts +3 -0
  81. package/browser/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +19 -0
  82. package/browser/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +10 -0
  83. package/browser/lib/ui/taon-session-passcode/index.d.ts +2 -0
  84. package/browser/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +39 -0
  85. package/browser/lib/ui/taon-table/index.d.ts +3 -0
  86. package/browser/lib/ui/taon-table/taon-table.component.d.ts +37 -0
  87. package/browser/lib/ui/taon-table/taon-table.module.d.ts +17 -0
  88. package/client/esm2022/lib/base-classes/base-abstract-entity.mjs +1 -1
  89. package/client/esm2022/lib/base-classes/base-crud-controller.mjs +1 -1
  90. package/client/esm2022/lib/base-classes/base-injector.mjs +8 -1
  91. package/client/esm2022/lib/base-classes/base.mjs +3 -3
  92. package/client/esm2022/lib/create-context.mjs +10 -7
  93. package/client/esm2022/lib/decorators/http/http-decorators.mjs +3 -1
  94. package/client/esm2022/lib/decorators/http/http-methods-decorators.mjs +1 -1
  95. package/client/esm2022/lib/endpoint-context.mjs +49 -11
  96. package/client/esm2022/lib/entity-process.mjs +1 -10
  97. package/client/esm2022/lib/get-response-value.mjs +1 -15
  98. package/client/esm2022/lib/index.mjs +2 -1
  99. package/client/esm2022/lib/models.mjs +1 -1
  100. package/client/esm2022/lib/ui/directives/index.mjs +6 -0
  101. package/client/esm2022/lib/ui/directives/safe.pipe.mjs +43 -0
  102. package/client/esm2022/lib/ui/directives/taon-inject-html.directive.mjs +24 -0
  103. package/client/esm2022/lib/ui/directives/taon-long-press.directive.mjs +120 -0
  104. package/client/esm2022/lib/ui/index.mjs +12 -0
  105. package/client/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.mjs +5 -0
  106. package/client/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.mjs +115 -0
  107. package/client/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.mjs +50 -0
  108. package/client/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.mjs +5 -0
  109. package/client/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.mjs +61 -0
  110. package/client/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.mjs +21 -0
  111. package/client/esm2022/lib/ui/taon-admin-mode-configuration/index.mjs +6 -0
  112. package/client/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +14 -3
  113. package/client/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.mjs +54 -0
  114. package/client/esm2022/lib/ui/taon-full-material.module.mjs +179 -0
  115. package/client/esm2022/lib/ui/taon-github-fork-me-corner/index.mjs +5 -0
  116. package/client/esm2022/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.mjs +18 -0
  117. package/client/esm2022/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.mjs +21 -0
  118. package/client/esm2022/lib/ui/taon-notifications/index.mjs +7 -0
  119. package/client/esm2022/lib/ui/taon-notifications/taon-notifications.component.mjs +25 -0
  120. package/client/esm2022/lib/ui/taon-notifications/taon-notifications.models.mjs +5 -0
  121. package/client/esm2022/lib/ui/taon-notifications/taon-notifications.module.mjs +21 -0
  122. package/client/esm2022/lib/ui/taon-notifications/taon-notifications.service.mjs +48 -0
  123. package/client/esm2022/lib/ui/taon-progress-bar/index.mjs +5 -0
  124. package/client/esm2022/lib/ui/taon-progress-bar/taon-progress-bar.component.mjs +98 -0
  125. package/client/esm2022/lib/ui/taon-progress-bar/taon-progress-bar.module.mjs +22 -0
  126. package/client/esm2022/lib/ui/taon-session-passcode/index.mjs +4 -0
  127. package/client/esm2022/lib/ui/taon-session-passcode/taon-session-passcode.component.mjs +120 -0
  128. package/client/esm2022/lib/ui/taon-table/index.mjs +5 -0
  129. package/client/esm2022/lib/ui/taon-table/taon-table.component.mjs +161 -0
  130. package/client/esm2022/lib/ui/taon-table/taon-table.module.mjs +57 -0
  131. package/client/fesm2022/taon.mjs +1463 -94
  132. package/client/fesm2022/taon.mjs.map +1 -1
  133. package/client/lib/base-classes/base-abstract-entity.d.ts +2 -1
  134. package/client/lib/base-classes/base-context.d.ts +4 -1
  135. package/client/lib/base-classes/base-crud-controller.d.ts +1 -1
  136. package/client/lib/base-classes/base-injector.d.ts +5 -0
  137. package/client/lib/base-classes/base.d.ts +7 -3
  138. package/client/lib/create-context.d.ts +7 -4
  139. package/client/lib/decorators/http/http-decorators.d.ts +2 -0
  140. package/client/lib/decorators/http/http-methods-decorators.d.ts +9 -0
  141. package/client/lib/endpoint-context.d.ts +3 -2
  142. package/client/lib/index.d.ts +13 -3
  143. package/client/lib/models.d.ts +2 -4
  144. package/client/lib/ui/directives/index.d.ts +4 -0
  145. package/client/lib/ui/directives/safe.pipe.d.ts +11 -0
  146. package/client/lib/ui/directives/taon-inject-html.directive.d.ts +10 -0
  147. package/client/lib/ui/directives/taon-long-press.directive.d.ts +26 -0
  148. package/client/lib/ui/index.d.ts +10 -0
  149. package/client/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.d.ts +3 -0
  150. package/client/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +33 -0
  151. package/client/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.d.ts +16 -0
  152. package/client/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.d.ts +3 -0
  153. package/client/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +17 -0
  154. package/client/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.d.ts +10 -0
  155. package/client/lib/ui/taon-admin-mode-configuration/index.d.ts +4 -0
  156. package/client/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.d.ts +17 -0
  157. package/client/lib/ui/taon-full-material.module.d.ts +47 -0
  158. package/client/lib/ui/taon-github-fork-me-corner/index.d.ts +3 -0
  159. package/client/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +7 -0
  160. package/client/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +9 -0
  161. package/client/lib/ui/taon-notifications/index.d.ts +5 -0
  162. package/client/lib/ui/taon-notifications/taon-notifications.component.d.ts +13 -0
  163. package/client/lib/ui/taon-notifications/taon-notifications.models.d.ts +7 -0
  164. package/client/lib/ui/taon-notifications/taon-notifications.module.d.ts +8 -0
  165. package/client/lib/ui/taon-notifications/taon-notifications.service.d.ts +15 -0
  166. package/client/lib/ui/taon-progress-bar/index.d.ts +3 -0
  167. package/client/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +19 -0
  168. package/client/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +10 -0
  169. package/client/lib/ui/taon-session-passcode/index.d.ts +2 -0
  170. package/client/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +39 -0
  171. package/client/lib/ui/taon-table/index.d.ts +3 -0
  172. package/client/lib/ui/taon-table/taon-table.component.d.ts +37 -0
  173. package/client/lib/ui/taon-table/taon-table.module.d.ts +17 -0
  174. package/lib/base-classes/base-abstract-entity.d.ts +1 -0
  175. package/lib/base-classes/base-context.d.ts +4 -1
  176. package/lib/base-classes/base-crud-controller.d.ts +1 -1
  177. package/lib/base-classes/base-injector.d.ts +5 -0
  178. package/lib/base-classes/base-injector.js +11 -0
  179. package/lib/base-classes/base-injector.js.map +1 -1
  180. package/lib/base-classes/base.d.ts +7 -3
  181. package/lib/base-classes/base.js +2 -2
  182. package/lib/base-classes/base.js.map +1 -1
  183. package/lib/create-context.d.ts +7 -4
  184. package/lib/create-context.js +19 -6
  185. package/lib/create-context.js.map +1 -1
  186. package/lib/decorators/http/http-decorators.d.ts +3 -1
  187. package/lib/decorators/http/http-decorators.js +2 -0
  188. package/lib/decorators/http/http-decorators.js.map +1 -1
  189. package/lib/decorators/http/http-methods-decorators.d.ts +9 -0
  190. package/lib/decorators/http/http-methods-decorators.js.map +1 -1
  191. package/lib/endpoint-context.d.ts +3 -2
  192. package/lib/endpoint-context.js +165 -126
  193. package/lib/endpoint-context.js.map +1 -1
  194. package/lib/entity-process.js +0 -9
  195. package/lib/entity-process.js.map +1 -1
  196. package/lib/get-response-value.js +14 -37
  197. package/lib/get-response-value.js.map +1 -1
  198. package/lib/index.d.ts +13 -3
  199. package/lib/models.d.ts +2 -5
  200. package/lib/models.js.map +1 -1
  201. package/lib/ui/directives/index.d.ts +3 -4
  202. package/lib/ui/directives/index.js +2 -2
  203. package/lib/ui/index.d.ts +9 -0
  204. package/lib/ui/index.js +5 -0
  205. package/lib/ui/index.js.map +1 -0
  206. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js +2 -2
  207. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +3 -5
  208. package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js +2 -2
  209. package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/taon-db-admin.component.d.ts +2 -3
  210. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js +2 -2
  211. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +1 -2
  212. package/lib/ui/taon-admin-mode-configuration/index.d.ts +0 -1
  213. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  214. package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
  215. package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
  216. package/lib/ui/taon-notifications/taon-notifications.models.js +2 -2
  217. package/lib/ui/taon-progress-bar/index.js +2 -2
  218. package/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +1 -0
  219. package/lib/ui/taon-session-passcode/index.js +2 -2
  220. package/lib/ui/taon-table/index.d.ts +2 -0
  221. package/lib/ui/taon-table/index.js +5 -0
  222. package/lib/ui/taon-table/index.js.map +1 -0
  223. package/lib/ui/taon-table/taon-table.component.d.ts +33 -0
  224. package/lib/ui/taon-table/taon-table.module.d.ts +2 -0
  225. package/package.json +7 -7
  226. package/tmp-environment.json +37 -31
  227. package/websql/esm2022/lib/base-classes/base-abstract-entity.mjs +1 -1
  228. package/websql/esm2022/lib/base-classes/base-crud-controller.mjs +1 -1
  229. package/websql/esm2022/lib/base-classes/base-injector.mjs +8 -1
  230. package/websql/esm2022/lib/base-classes/base.mjs +3 -3
  231. package/websql/esm2022/lib/create-context.mjs +10 -7
  232. package/websql/esm2022/lib/decorators/http/http-decorators.mjs +3 -1
  233. package/websql/esm2022/lib/decorators/http/http-methods-decorators.mjs +1 -1
  234. package/websql/esm2022/lib/endpoint-context.mjs +49 -11
  235. package/websql/esm2022/lib/entity-process.mjs +1 -10
  236. package/websql/esm2022/lib/get-response-value.mjs +4 -24
  237. package/websql/esm2022/lib/index.mjs +2 -1
  238. package/websql/esm2022/lib/models.mjs +1 -1
  239. package/websql/esm2022/lib/ui/directives/index.mjs +6 -0
  240. package/websql/esm2022/lib/ui/directives/safe.pipe.mjs +43 -0
  241. package/websql/esm2022/lib/ui/directives/taon-inject-html.directive.mjs +24 -0
  242. package/websql/esm2022/lib/ui/directives/taon-long-press.directive.mjs +120 -0
  243. package/websql/esm2022/lib/ui/index.mjs +12 -0
  244. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.mjs +5 -0
  245. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.mjs +115 -0
  246. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.mjs +50 -0
  247. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.mjs +5 -0
  248. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.mjs +61 -0
  249. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.mjs +21 -0
  250. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/index.mjs +6 -0
  251. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.component.mjs +14 -3
  252. package/websql/esm2022/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.mjs +54 -0
  253. package/websql/esm2022/lib/ui/taon-full-material.module.mjs +179 -0
  254. package/websql/esm2022/lib/ui/taon-github-fork-me-corner/index.mjs +5 -0
  255. package/websql/esm2022/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.mjs +18 -0
  256. package/websql/esm2022/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.mjs +21 -0
  257. package/websql/esm2022/lib/ui/taon-notifications/index.mjs +7 -0
  258. package/websql/esm2022/lib/ui/taon-notifications/taon-notifications.component.mjs +25 -0
  259. package/websql/esm2022/lib/ui/taon-notifications/taon-notifications.models.mjs +5 -0
  260. package/websql/esm2022/lib/ui/taon-notifications/taon-notifications.module.mjs +21 -0
  261. package/websql/esm2022/lib/ui/taon-notifications/taon-notifications.service.mjs +48 -0
  262. package/websql/esm2022/lib/ui/taon-progress-bar/index.mjs +5 -0
  263. package/websql/esm2022/lib/ui/taon-progress-bar/taon-progress-bar.component.mjs +50 -0
  264. package/websql/esm2022/lib/ui/taon-progress-bar/taon-progress-bar.module.mjs +22 -0
  265. package/websql/esm2022/lib/ui/taon-session-passcode/index.mjs +4 -0
  266. package/websql/esm2022/lib/ui/taon-session-passcode/taon-session-passcode.component.mjs +120 -0
  267. package/websql/esm2022/lib/ui/taon-table/index.mjs +5 -0
  268. package/websql/esm2022/lib/ui/taon-table/taon-table.component.mjs +161 -0
  269. package/websql/esm2022/lib/ui/taon-table/taon-table.module.mjs +57 -0
  270. package/websql/fesm2022/taon.mjs +1435 -120
  271. package/websql/fesm2022/taon.mjs.map +1 -1
  272. package/websql/lib/base-classes/base-abstract-entity.d.ts +2 -1
  273. package/websql/lib/base-classes/base-context.d.ts +4 -1
  274. package/websql/lib/base-classes/base-crud-controller.d.ts +1 -1
  275. package/websql/lib/base-classes/base-injector.d.ts +5 -0
  276. package/websql/lib/base-classes/base.d.ts +7 -3
  277. package/websql/lib/create-context.d.ts +7 -4
  278. package/websql/lib/decorators/http/http-decorators.d.ts +2 -0
  279. package/websql/lib/decorators/http/http-methods-decorators.d.ts +9 -0
  280. package/websql/lib/endpoint-context.d.ts +3 -2
  281. package/websql/lib/index.d.ts +13 -3
  282. package/websql/lib/models.d.ts +2 -5
  283. package/websql/lib/ui/directives/index.d.ts +4 -0
  284. package/websql/lib/ui/directives/safe.pipe.d.ts +11 -0
  285. package/websql/lib/ui/directives/taon-inject-html.directive.d.ts +10 -0
  286. package/websql/lib/ui/directives/taon-long-press.directive.d.ts +26 -0
  287. package/websql/lib/ui/index.d.ts +10 -0
  288. package/websql/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.d.ts +3 -0
  289. package/websql/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +33 -0
  290. package/websql/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.d.ts +16 -0
  291. package/websql/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.d.ts +3 -0
  292. package/websql/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +17 -0
  293. package/websql/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.d.ts +10 -0
  294. package/websql/lib/ui/taon-admin-mode-configuration/index.d.ts +4 -0
  295. package/websql/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.d.ts +17 -0
  296. package/websql/lib/ui/taon-full-material.module.d.ts +47 -0
  297. package/websql/lib/ui/taon-github-fork-me-corner/index.d.ts +3 -0
  298. package/websql/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +7 -0
  299. package/websql/lib/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +9 -0
  300. package/websql/lib/ui/taon-notifications/index.d.ts +5 -0
  301. package/websql/lib/ui/taon-notifications/taon-notifications.component.d.ts +13 -0
  302. package/websql/lib/ui/taon-notifications/taon-notifications.models.d.ts +7 -0
  303. package/websql/lib/ui/taon-notifications/taon-notifications.module.d.ts +8 -0
  304. package/websql/lib/ui/taon-notifications/taon-notifications.service.d.ts +15 -0
  305. package/websql/lib/ui/taon-progress-bar/index.d.ts +3 -0
  306. package/websql/lib/ui/taon-progress-bar/taon-progress-bar.component.d.ts +19 -0
  307. package/websql/lib/ui/taon-progress-bar/taon-progress-bar.module.d.ts +10 -0
  308. package/websql/lib/ui/taon-session-passcode/index.d.ts +2 -0
  309. package/websql/lib/ui/taon-session-passcode/taon-session-passcode.component.d.ts +39 -0
  310. package/websql/lib/ui/taon-table/index.d.ts +3 -0
  311. package/websql/lib/ui/taon-table/taon-table.component.d.ts +37 -0
  312. package/websql/lib/ui/taon-table/taon-table.module.d.ts +17 -0
  313. /package/lib/ui/directives/{firedev-inject-html.directive.d.ts → taon-inject-html.directive.d.ts} +0 -0
  314. /package/lib/ui/directives/{firedev-long-press.directive.d.ts → taon-long-press.directive.d.ts} +0 -0
  315. /package/lib/ui/{toan-full-material.module.d.ts → taon-full-material.module.d.ts} +0 -0
@@ -46,6 +46,13 @@ var EndpointContext = /** @class */ (function () {
46
46
  var _this = this;
47
47
  this.originalConfig = originalConfig;
48
48
  this.configFn = configFn;
49
+ // public static findForTraget(classFnOrObject: any): EndpointContext {
50
+ // const obj = ClassHelpers.getClassFnFromObject(classFnOrObject) || {};
51
+ // return (
52
+ // classFnOrObject[Symbols.ctxInClassOrClassObj] ||
53
+ // obj[Symbols.ctxInClassOrClassObj]
54
+ // );
55
+ // }
49
56
  //#endregion
50
57
  //#region fields
51
58
  //#region fields / flags
@@ -84,6 +91,7 @@ var EndpointContext = /** @class */ (function () {
84
91
  this.allTypesfromContexts = tslib_1.__spreadArray(tslib_1.__spreadArray([], tslib_1.__read(this.injectableTypesfromContexts), false), [
85
92
  models_1.Models.ClassType.ENTITY,
86
93
  ], false);
94
+ // public __contextForControllerInstanceAccess?: EndpointContext;
87
95
  //#region fields / express app
88
96
  this.expressApp = {};
89
97
  //#endregion
@@ -220,11 +228,6 @@ var EndpointContext = /** @class */ (function () {
220
228
  /* */
221
229
  /* */
222
230
  };
223
- EndpointContext.findForTraget = function (classFnOrObject) {
224
- var obj = class_helpers_1.ClassHelpers.getClassFnFromObject(classFnOrObject) || {};
225
- return (classFnOrObject[symbols_1.Symbols.ctxInClassOrClassObj] ||
226
- obj[symbols_1.Symbols.ctxInClassOrClassObj]);
227
- };
228
231
  Object.defineProperty(EndpointContext.prototype, "realtimeClient", {
229
232
  get: function () {
230
233
  return this.realtime.client;
@@ -289,43 +292,38 @@ var EndpointContext = /** @class */ (function () {
289
292
  //#region methods & getters / init
290
293
  EndpointContext.prototype.init = function (options) {
291
294
  return tslib_1.__awaiter(this, void 0, void 0, function () {
292
- var initFromRecrusiveContextResovle, oneHour, _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, classTypeName, _o, _p, classTypeName, e_2_1;
293
- var e_3, _q, e_2, _r;
295
+ var _a, initFromRecrusiveContextResovle, overrideHost, overrideRemoteHost, oneHour, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, classTypeName, _p, _q, classTypeName, e_2_1;
296
+ var e_3, _r, e_2, _s;
294
297
  var _this = this;
295
- var _s, _t;
296
- return tslib_1.__generator(this, function (_u) {
297
- switch (_u.label) {
298
+ var _t, _u;
299
+ return tslib_1.__generator(this, function (_v) {
300
+ switch (_v.label) {
298
301
  case 0:
299
- initFromRecrusiveContextResovle = (options || {}).initFromRecrusiveContextResovle;
302
+ _a = options || {}, initFromRecrusiveContextResovle = _a.initFromRecrusiveContextResovle, overrideHost = _a.overrideHost, overrideRemoteHost = _a.overrideRemoteHost;
300
303
  this.inited = true;
301
304
  this.config = this.configFn(env_1.ENV);
302
- // console.log(
303
- // `[${
304
- // this.contextName
305
- // }] init context... from resolve: ${!!initFromRecrusiveContextResovle}`,
306
- // );
307
- //#region debug config
308
- // console.log(
309
- // `[taon][${this.config.contextName}] - resolve config from fn`,
310
- // {
311
- // config: this.config,
312
- // },
313
- // );
314
- // for (const ctrlName of Object.keys(config.controllers || {})) {
315
- // console.log(`${ctrlName} = ${!!config.controllers[ctrlName]}`);
316
- // }
317
- // for (const entityName of Object.keys(config.entities || {})) {
318
- // console.log(`${entityName} = ${!!config.entities[entityName]}`);
319
- // }
320
- // for (const providersName of Object.keys(config.providers || {})) {
321
- // console.log(`${providersName} = ${!!config.providers[providersName]}`);
322
- // }
323
- // for (const repositoryName of Object.keys(config.repositories || {})) {
324
- // console.log(
325
- // `${repositoryName} = ${!!config.repositories[repositoryName]}`,
326
- // );
327
- // }
328
- //#endregion
305
+ if (overrideHost && overrideRemoteHost) {
306
+ tnp_core_2.Helpers.throw("[taon-config] You can't have overrideHost and overrideRemoteHost at the same time");
307
+ }
308
+ this.config.host = !tnp_core_2._.isUndefined(overrideHost)
309
+ ? overrideHost
310
+ : this.config.host;
311
+ this.config.remoteHost = !tnp_core_2._.isUndefined(overrideRemoteHost)
312
+ ? overrideRemoteHost
313
+ : this.config.remoteHost;
314
+ this.config.host = this.host === null ? void 0 : this.host;
315
+ this.config.remoteHost =
316
+ this.remoteHost === null ? void 0 : this.remoteHost;
317
+ if (this.config.host &&
318
+ !this.config.host.startsWith('http://') &&
319
+ !this.config.host.startsWith('https://')) {
320
+ tnp_core_2.Helpers.throw("[taon-config] Your 'host' must start with http:// or https://");
321
+ }
322
+ if (this.config.remoteHost &&
323
+ !this.config.remoteHost.startsWith('http://') &&
324
+ !this.config.remoteHost.startsWith('https://')) {
325
+ tnp_core_2.Helpers.throw("[taon-config] Your 'remoteHost' must start with http:// or https://");
326
+ }
329
327
  //#region resolve mode
330
328
  if (this.config.host) {
331
329
  this.mode = 'backend-frontend(tcp+udp)';
@@ -334,7 +332,7 @@ var EndpointContext = /** @class */ (function () {
334
332
  }
335
333
  if (this.config.remoteHost) {
336
334
  if (this.config.host) {
337
- tnp_core_2.Helpers.error("[taon] You can't have remoteHost and host at the same time", false, true);
335
+ tnp_core_2.Helpers.throw("[taon] You can't have remoteHost and host at the same time");
338
336
  }
339
337
  this.mode = 'remote-backend(tcp+udp)';
340
338
  }
@@ -358,7 +356,7 @@ var EndpointContext = /** @class */ (function () {
358
356
  this.databaseConfig = this.getAutoGeneratedConfig();
359
357
  }
360
358
  else if (tnp_core_2._.isObject(this.config.database)) {
361
- this.databaseConfig = tnp_core_2._.cloneDeep(this.config.database);
359
+ this.databaseConfig = tnp_core_2._.merge(this.getAutoGeneratedConfig(), tnp_core_2._.cloneDeep(this.config.database));
362
360
  }
363
361
  //#endregion
364
362
  //#region resolve session
@@ -379,31 +377,31 @@ var EndpointContext = /** @class */ (function () {
379
377
  this.config.repositories = this.config.repositories || {};
380
378
  this.config.providers = this.config.providers || {};
381
379
  this.config.subscribers = this.config.subscribers || {};
382
- _a = this.config;
383
- _b = [{}];
380
+ _b = this.config;
381
+ _c = [{}];
384
382
  return [4 /*yield*/, this.getRecrusiveClassesfromContextsObj(models_1.Models.ClassType.ENTITY)];
385
383
  case 1:
386
- _a.entities = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _b.concat([(_u.sent())])), this.config.entities]);
387
- _c = this.config;
388
- _d = [{}];
384
+ _b.entities = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _c.concat([(_v.sent())])), this.config.entities]);
385
+ _d = this.config;
386
+ _e = [{}];
389
387
  return [4 /*yield*/, this.getRecrusiveClassesfromContextsObj(models_1.Models.ClassType.CONTROLLER)];
390
388
  case 2:
391
- _c.controllers = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _d.concat([(_u.sent())])), this.config.controllers]);
392
- _e = this.config;
393
- _f = [{}];
389
+ _d.controllers = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _e.concat([(_v.sent())])), this.config.controllers]);
390
+ _f = this.config;
391
+ _g = [{}];
394
392
  return [4 /*yield*/, this.getRecrusiveClassesfromContextsObj(models_1.Models.ClassType.PROVIDER)];
395
393
  case 3:
396
- _e.providers = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _f.concat([(_u.sent())])), this.config.providers]);
397
- _g = this.config;
398
- _h = [{}];
394
+ _f.providers = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _g.concat([(_v.sent())])), this.config.providers]);
395
+ _h = this.config;
396
+ _j = [{}];
399
397
  return [4 /*yield*/, this.getRecrusiveClassesfromContextsObj(models_1.Models.ClassType.SUBSCRIBER)];
400
398
  case 4:
401
- _g.subscribers = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _h.concat([(_u.sent())])), this.config.subscribers]);
402
- _j = this.config;
403
- _k = [{}];
399
+ _h.subscribers = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _j.concat([(_v.sent())])), this.config.subscribers]);
400
+ _k = this.config;
401
+ _l = [{}];
404
402
  return [4 /*yield*/, this.getRecrusiveClassesfromContextsObj(models_1.Models.ClassType.REPOSITORY)];
405
403
  case 5:
406
- _j.repositories = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _k.concat([(_u.sent())])), this.config.repositories]);
404
+ _k.repositories = tslib_1.__assign.apply(void 0, [tslib_1.__assign.apply(void 0, _l.concat([(_v.sent())])), this.config.repositories]);
407
405
  // console.log(this.config);
408
406
  // debugger;
409
407
  //#endregion
@@ -435,8 +433,8 @@ var EndpointContext = /** @class */ (function () {
435
433
  try {
436
434
  //#endregion
437
435
  //#region prepare instances
438
- for (_l = tslib_1.__values(this.injectableTypesfromContexts), _m = _l.next(); !_m.done; _m = _l.next()) {
439
- classTypeName = _m.value;
436
+ for (_m = tslib_1.__values(this.injectableTypesfromContexts), _o = _m.next(); !_o.done; _o = _m.next()) {
437
+ classTypeName = _o.value;
440
438
  this.classInstancesByNameObj[classTypeName] = {};
441
439
  this.objWithClassesInstancesArr[classTypeName] = [];
442
440
  }
@@ -444,33 +442,33 @@ var EndpointContext = /** @class */ (function () {
444
442
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
445
443
  finally {
446
444
  try {
447
- if (_m && !_m.done && (_q = _l.return)) _q.call(_l);
445
+ if (_o && !_o.done && (_r = _m.return)) _r.call(_m);
448
446
  }
449
447
  finally { if (e_3) throw e_3.error; }
450
448
  }
451
- _u.label = 6;
449
+ _v.label = 6;
452
450
  case 6:
453
- _u.trys.push([6, 11, 12, 13]);
454
- _o = tslib_1.__values(this.injectableTypesfromContexts), _p = _o.next();
455
- _u.label = 7;
451
+ _v.trys.push([6, 11, 12, 13]);
452
+ _p = tslib_1.__values(this.injectableTypesfromContexts), _q = _p.next();
453
+ _v.label = 7;
456
454
  case 7:
457
- if (!!_p.done) return [3 /*break*/, 10];
458
- classTypeName = _p.value;
455
+ if (!!_q.done) return [3 /*break*/, 10];
456
+ classTypeName = _q.value;
459
457
  return [4 /*yield*/, this.createInstances(this.config[models_1.Models.ClassTypeKey[classTypeName]], classTypeName)];
460
458
  case 8:
461
- _u.sent();
462
- _u.label = 9;
459
+ _v.sent();
460
+ _v.label = 9;
463
461
  case 9:
464
- _p = _o.next();
462
+ _q = _p.next();
465
463
  return [3 /*break*/, 7];
466
464
  case 10: return [3 /*break*/, 13];
467
465
  case 11:
468
- e_2_1 = _u.sent();
466
+ e_2_1 = _v.sent();
469
467
  e_2 = { error: e_2_1 };
470
468
  return [3 /*break*/, 13];
471
469
  case 12:
472
470
  try {
473
- if (_p && !_p.done && (_r = _o.return)) _r.call(_o);
471
+ if (_q && !_q.done && (_s = _p.return)) _s.call(_p);
474
472
  }
475
473
  finally { if (e_2) throw e_2.error; }
476
474
  return [7 /*endfinally*/];
@@ -480,11 +478,11 @@ var EndpointContext = /** @class */ (function () {
480
478
  if (this.mode === 'backend-frontend(tcp+udp)' && !this.config.abstract) {
481
479
  //#region @backend
482
480
  this.expressApp = express();
483
- this.initMidleware();
481
+ this.initMiddlewares();
484
482
  this.serverTcpUdp = this.isHttpServer
485
483
  ? new tnp_core_1.https.Server({
486
- key: (_s = this.config.https) === null || _s === void 0 ? void 0 : _s.key,
487
- cert: (_t = this.config.https) === null || _t === void 0 ? void 0 : _t.cert,
484
+ key: (_t = this.config.https) === null || _t === void 0 ? void 0 : _t.key,
485
+ cert: (_u = this.config.https) === null || _u === void 0 ? void 0 : _u.cert,
488
486
  }, this.expressApp)
489
487
  : new tnp_core_1.http.Server(this.expressApp);
490
488
  this.publicAssets.forEach(function (asset) {
@@ -628,6 +626,9 @@ var EndpointContext = /** @class */ (function () {
628
626
  EndpointContext.prototype.startServer = function () {
629
627
  var _this = this;
630
628
  //#region @backendFunc
629
+ if (this.remoteHost) {
630
+ return;
631
+ }
631
632
  if (this.mode === 'backend-frontend(tcp+udp)') {
632
633
  // this.displayRoutes(this.expressApp);
633
634
  this.serverTcpUdp.listen(Number(this.uri.port), function () {
@@ -685,7 +686,7 @@ var EndpointContext = /** @class */ (function () {
685
686
  configurable: true
686
687
  });
687
688
  //#endregion
688
- //#region methods & getters / get recrusive classes from contexts
689
+ //#region methods & getters / get recursive classes from contexts
689
690
  EndpointContext.prototype.getRecrusiveClassesfromContextsObj = function (classType) {
690
691
  return tslib_1.__awaiter(this, void 0, void 0, function () {
691
692
  var arr;
@@ -760,7 +761,7 @@ var EndpointContext = /** @class */ (function () {
760
761
  return this.classInstancesByNameObj[classType];
761
762
  };
762
763
  //#endregion
763
- //#region methods & getters / get class instaces arr
764
+ //#region methods & getters / get class instances arr
764
765
  EndpointContext.prototype.getClassesInstancesArrBy = function (classType) {
765
766
  return this.objWithClassesInstancesArr[classType];
766
767
  };
@@ -812,14 +813,29 @@ var EndpointContext = /** @class */ (function () {
812
813
  * alias for inject
813
814
  */
814
815
  EndpointContext.prototype.getInstanceBy = function (ctor) {
816
+ // if (!!this.__contextForControllerInstanceAccess) {
817
+ // const className = ClassHelpers.getName(ctor);
818
+ // const allControllers = this.getClassFunByArr(Models.ClassType.CONTROLLER);
819
+ // // TODO QUICK_FIX cache controllers
820
+ // for (const ctrl of allControllers) {
821
+ // if (ClassHelpers.getName(ctrl) === className) {
822
+ // // console.log('injecting from contextForControllerInstanceAcesss', className);
823
+ // return this.__contextForControllerInstanceAccess.inject(ctor, {
824
+ // localInstance: false,
825
+ // });
826
+ // }
827
+ // }
828
+ // }
815
829
  return this.inject(ctor, { localInstance: false });
816
830
  };
817
831
  //#endregion
832
+ //#region methods & getters / check if context initialized
818
833
  EndpointContext.prototype.checkIfContextInitialized = function () {
819
834
  if (tnp_core_2._.isUndefined(this.config)) {
820
- throw new Error("Please check if your context has been initilized.\n\n // ...\n await Context.initialize();\n // ...\n\n\n ");
835
+ throw new Error("Please check if your context has been initialized.\n\n // ...\n await Context.initialize();\n // ...\n\n\n ");
821
836
  }
822
837
  };
838
+ //#endregion
823
839
  //#region methods & getters / get class function by class type name
824
840
  EndpointContext.prototype.getClassFunBy = function (classType) {
825
841
  this.checkIfContextInitialized();
@@ -914,6 +930,9 @@ var EndpointContext = /** @class */ (function () {
914
930
  return tslib_1.__generator(this, function (_b) {
915
931
  switch (_b.label) {
916
932
  case 0:
933
+ if (this.remoteHost) {
934
+ return [2 /*return*/];
935
+ }
917
936
  controllers = this.getClassesInstancesArrBy(models_1.Models.ClassType.CONTROLLER);
918
937
  _b.label = 1;
919
938
  case 1:
@@ -957,117 +976,122 @@ var EndpointContext = /** @class */ (function () {
957
976
  return tslib_1.__generator(this, function (_o) {
958
977
  switch (_o.label) {
959
978
  case 0:
960
- _o.trys.push([0, 11, 12, 13]);
979
+ if (this.remoteHost) {
980
+ return [2 /*return*/];
981
+ }
982
+ _o.label = 1;
983
+ case 1:
984
+ _o.trys.push([1, 12, 13, 14]);
961
985
  _a = tslib_1.__values([
962
986
  models_1.Models.ClassType.PROVIDER,
963
987
  models_1.Models.ClassType.REPOSITORY,
964
988
  models_1.Models.ClassType.CONTROLLER,
965
989
  models_1.Models.ClassType.ENTITY,
966
990
  ]), _b = _a.next();
967
- _o.label = 1;
968
- case 1:
969
- if (!!_b.done) return [3 /*break*/, 10];
970
- classTypeName = _b.value;
971
991
  _o.label = 2;
972
992
  case 2:
973
- _o.trys.push([2, 7, 8, 9]);
974
- _c = (e_8 = void 0, tslib_1.__values(this.getClassFunByArr(classTypeName))), _d = _c.next();
993
+ if (!!_b.done) return [3 /*break*/, 11];
994
+ classTypeName = _b.value;
975
995
  _o.label = 3;
976
996
  case 3:
977
- if (!!_d.done) return [3 /*break*/, 6];
997
+ _o.trys.push([3, 8, 9, 10]);
998
+ _c = (e_8 = void 0, tslib_1.__values(this.getClassFunByArr(classTypeName))), _d = _c.next();
999
+ _o.label = 4;
1000
+ case 4:
1001
+ if (!!_d.done) return [3 /*break*/, 7];
978
1002
  classFun = _d.value;
979
- if (!tnp_core_2._.isFunction(classFun._)) return [3 /*break*/, 5];
1003
+ if (!tnp_core_2._.isFunction(classFun._)) return [3 /*break*/, 6];
980
1004
  return [4 /*yield*/, tnp_core_2.Helpers.runSyncOrAsync({
981
1005
  functionFn: classFun._,
982
1006
  context: classFun,
983
1007
  })];
984
- case 4:
985
- _o.sent();
986
- _o.label = 5;
987
1008
  case 5:
1009
+ _o.sent();
1010
+ _o.label = 6;
1011
+ case 6:
988
1012
  _d = _c.next();
989
- return [3 /*break*/, 3];
990
- case 6: return [3 /*break*/, 9];
991
- case 7:
1013
+ return [3 /*break*/, 4];
1014
+ case 7: return [3 /*break*/, 10];
1015
+ case 8:
992
1016
  e_8_1 = _o.sent();
993
1017
  e_8 = { error: e_8_1 };
994
- return [3 /*break*/, 9];
995
- case 8:
1018
+ return [3 /*break*/, 10];
1019
+ case 9:
996
1020
  try {
997
1021
  if (_d && !_d.done && (_k = _c.return)) _k.call(_c);
998
1022
  }
999
1023
  finally { if (e_8) throw e_8.error; }
1000
1024
  return [7 /*endfinally*/];
1001
- case 9:
1025
+ case 10:
1002
1026
  _b = _a.next();
1003
- return [3 /*break*/, 1];
1004
- case 10: return [3 /*break*/, 13];
1005
- case 11:
1027
+ return [3 /*break*/, 2];
1028
+ case 11: return [3 /*break*/, 14];
1029
+ case 12:
1006
1030
  e_9_1 = _o.sent();
1007
1031
  e_9 = { error: e_9_1 };
1008
- return [3 /*break*/, 13];
1009
- case 12:
1032
+ return [3 /*break*/, 14];
1033
+ case 13:
1010
1034
  try {
1011
1035
  if (_b && !_b.done && (_j = _a.return)) _j.call(_a);
1012
1036
  }
1013
1037
  finally { if (e_9) throw e_9.error; }
1014
1038
  return [7 /*endfinally*/];
1015
- case 13:
1016
- _o.trys.push([13, 24, 25, 26]);
1039
+ case 14:
1040
+ _o.trys.push([14, 25, 26, 27]);
1017
1041
  _e = tslib_1.__values([
1018
1042
  models_1.Models.ClassType.PROVIDER,
1019
1043
  models_1.Models.ClassType.REPOSITORY,
1020
1044
  models_1.Models.ClassType.CONTROLLER,
1021
1045
  ]), _f = _e.next();
1022
- _o.label = 14;
1023
- case 14:
1024
- if (!!_f.done) return [3 /*break*/, 23];
1025
- classTypeName = _f.value;
1026
1046
  _o.label = 15;
1027
1047
  case 15:
1028
- _o.trys.push([15, 20, 21, 22]);
1029
- _g = (e_10 = void 0, tslib_1.__values(this.getClassesInstancesArrBy(classTypeName))), _h = _g.next();
1048
+ if (!!_f.done) return [3 /*break*/, 24];
1049
+ classTypeName = _f.value;
1030
1050
  _o.label = 16;
1031
1051
  case 16:
1032
- if (!!_h.done) return [3 /*break*/, 19];
1052
+ _o.trys.push([16, 21, 22, 23]);
1053
+ _g = (e_10 = void 0, tslib_1.__values(this.getClassesInstancesArrBy(classTypeName))), _h = _g.next();
1054
+ _o.label = 17;
1055
+ case 17:
1056
+ if (!!_h.done) return [3 /*break*/, 20];
1033
1057
  ctrl = _h.value;
1034
- if (!tnp_core_2._.isFunction(ctrl._)) return [3 /*break*/, 18];
1058
+ if (!tnp_core_2._.isFunction(ctrl._)) return [3 /*break*/, 19];
1035
1059
  return [4 /*yield*/, tnp_core_2.Helpers.runSyncOrAsync({
1036
1060
  functionFn: ctrl._,
1037
1061
  context: ctrl,
1038
1062
  })];
1039
- case 17:
1040
- _o.sent();
1041
- _o.label = 18;
1042
1063
  case 18:
1064
+ _o.sent();
1065
+ _o.label = 19;
1066
+ case 19:
1043
1067
  _h = _g.next();
1044
- return [3 /*break*/, 16];
1045
- case 19: return [3 /*break*/, 22];
1046
- case 20:
1068
+ return [3 /*break*/, 17];
1069
+ case 20: return [3 /*break*/, 23];
1070
+ case 21:
1047
1071
  e_10_1 = _o.sent();
1048
1072
  e_10 = { error: e_10_1 };
1049
- return [3 /*break*/, 22];
1050
- case 21:
1073
+ return [3 /*break*/, 23];
1074
+ case 22:
1051
1075
  try {
1052
1076
  if (_h && !_h.done && (_m = _g.return)) _m.call(_g);
1053
1077
  }
1054
1078
  finally { if (e_10) throw e_10.error; }
1055
1079
  return [7 /*endfinally*/];
1056
- case 22:
1080
+ case 23:
1057
1081
  _f = _e.next();
1058
- return [3 /*break*/, 14];
1059
- case 23: return [3 /*break*/, 26];
1060
- case 24:
1082
+ return [3 /*break*/, 15];
1083
+ case 24: return [3 /*break*/, 27];
1084
+ case 25:
1061
1085
  e_11_1 = _o.sent();
1062
1086
  e_11 = { error: e_11_1 };
1063
- return [3 /*break*/, 26];
1064
- case 25:
1087
+ return [3 /*break*/, 27];
1088
+ case 26:
1065
1089
  try {
1066
1090
  if (_f && !_f.done && (_l = _e.return)) _l.call(_e);
1067
1091
  }
1068
1092
  finally { if (e_11) throw e_11.error; }
1069
1093
  return [7 /*endfinally*/];
1070
- case 26: return [2 /*return*/];
1094
+ case 27: return [2 /*return*/];
1071
1095
  }
1072
1096
  });
1073
1097
  });
@@ -1167,6 +1191,10 @@ var EndpointContext = /** @class */ (function () {
1167
1191
  var subscriberClasses, subscriberClasses_1, subscriberClasses_1_1, subscriberClassFn, options;
1168
1192
  var e_12, _a;
1169
1193
  return tslib_1.__generator(this, function (_b) {
1194
+ //#region @websqlFunc
1195
+ if (this.remoteHost) {
1196
+ return [2 /*return*/];
1197
+ }
1170
1198
  subscriberClasses = this.getClassFunByArr(models_1.Models.ClassType.SUBSCRIBER);
1171
1199
  try {
1172
1200
  for (subscriberClasses_1 = tslib_1.__values(subscriberClasses), subscriberClasses_1_1 = subscriberClasses_1.next(); !subscriberClasses_1_1.done; subscriberClasses_1_1 = subscriberClasses_1.next()) {
@@ -1195,6 +1223,10 @@ var EndpointContext = /** @class */ (function () {
1195
1223
  var entities, entities_1, entities_1_1, entity, options, createTable, nameForEntity;
1196
1224
  var e_13, _a;
1197
1225
  return tslib_1.__generator(this, function (_b) {
1226
+ //#region @websql
1227
+ if (this.remoteHost) {
1228
+ return [2 /*return*/];
1229
+ }
1198
1230
  entities = this.getClassFunByArr(models_1.Models.ClassType.ENTITY);
1199
1231
  try {
1200
1232
  for (entities_1 = tslib_1.__values(entities), entities_1_1 = entities_1.next(); !entities_1_1.done; entities_1_1 = entities_1.next()) {
@@ -1236,6 +1268,10 @@ var EndpointContext = /** @class */ (function () {
1236
1268
  return tslib_1.__generator(this, function (_e) {
1237
1269
  switch (_e.label) {
1238
1270
  case 0:
1271
+ //#region @websqlFunc
1272
+ if (this.remoteHost) {
1273
+ return [2 /*return*/];
1274
+ }
1239
1275
  entities = (((_a = this.config.override) === null || _a === void 0 ? void 0 : _a.entities)
1240
1276
  ? this.config.override.entities
1241
1277
  : this.getClassFunByArr(models_1.Models.ClassType.ENTITY)).map(function (entityFn) {
@@ -1412,6 +1448,9 @@ var EndpointContext = /** @class */ (function () {
1412
1448
  //#region methods & getters / write active routes
1413
1449
  EndpointContext.prototype.writeActiveRoutes = function () {
1414
1450
  var _this = this;
1451
+ if (this.remoteHost) {
1452
+ return;
1453
+ }
1415
1454
  var contexts = [this];
1416
1455
  //#region @websql
1417
1456
  var troutes = this.activeRoutes.map(function (_a) {
@@ -1450,8 +1489,8 @@ var EndpointContext = /** @class */ (function () {
1450
1489
  configurable: true
1451
1490
  });
1452
1491
  //#endregion
1453
- //#region methods & getters / init midleware
1454
- EndpointContext.prototype.initMidleware = function () {
1492
+ //#region methods & getters / init middlewares
1493
+ EndpointContext.prototype.initMiddlewares = function () {
1455
1494
  var _this = this;
1456
1495
  //#region @backend
1457
1496
  var app = this.expressApp;
@@ -2006,7 +2045,7 @@ var EndpointContext = /** @class */ (function () {
2006
2045
  /* */
2007
2046
  /* */
2008
2047
  //#endregion
2009
- //#region handl normal request
2048
+ //#region handle normal request
2010
2049
  target.prototype[methodConfig.methodName] = function () {
2011
2050
  // console.log('[init method browser] FRONTEND expressPath', expressPath)
2012
2051
  // const productionMode = FrameworkContext.isProductionMode;