@dereekb/dbx-core 12.6.21 → 13.0.0

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 (451) hide show
  1. package/fesm2022/dereekb-dbx-core.mjs +920 -1176
  2. package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
  3. package/package.json +16 -18
  4. package/types/dereekb-dbx-core.d.ts +3633 -0
  5. package/esm2022/dereekb-dbx-core.mjs +0 -5
  6. package/esm2022/index.mjs +0 -2
  7. package/esm2022/lib/action/action.handler.mjs +0 -22
  8. package/esm2022/lib/action/action.holder.mjs +0 -76
  9. package/esm2022/lib/action/action.machine.mjs +0 -72
  10. package/esm2022/lib/action/action.mjs +0 -95
  11. package/esm2022/lib/action/action.module.mjs +0 -85
  12. package/esm2022/lib/action/action.reference.mjs +0 -7
  13. package/esm2022/lib/action/action.store.mjs +0 -286
  14. package/esm2022/lib/action/action.store.source.mjs +0 -162
  15. package/esm2022/lib/action/action.store.source.provide.mjs +0 -41
  16. package/esm2022/lib/action/directive/auto/action.automodify.directive.mjs +0 -36
  17. package/esm2022/lib/action/directive/auto/action.autotrigger.directive.mjs +0 -113
  18. package/esm2022/lib/action/directive/auto/index.mjs +0 -3
  19. package/esm2022/lib/action/directive/context/action.directive.mjs +0 -30
  20. package/esm2022/lib/action/directive/context/action.source.directive.mjs +0 -25
  21. package/esm2022/lib/action/directive/context/index.mjs +0 -3
  22. package/esm2022/lib/action/directive/debug/action.logger.directive.mjs +0 -25
  23. package/esm2022/lib/action/directive/debug/index.mjs +0 -2
  24. package/esm2022/lib/action/directive/index.mjs +0 -6
  25. package/esm2022/lib/action/directive/map/action.map.directive.mjs +0 -36
  26. package/esm2022/lib/action/directive/map/action.map.key.directive.mjs +0 -27
  27. package/esm2022/lib/action/directive/map/action.map.mjs +0 -59
  28. package/esm2022/lib/action/directive/map/action.map.source.directive.mjs +0 -44
  29. package/esm2022/lib/action/directive/map/action.map.utility.mjs +0 -37
  30. package/esm2022/lib/action/directive/map/action.map.working.disable.directive.mjs +0 -35
  31. package/esm2022/lib/action/directive/map/index.mjs +0 -7
  32. package/esm2022/lib/action/directive/state/action.disabled.directive.mjs +0 -34
  33. package/esm2022/lib/action/directive/state/action.disableonsuccess.directive.mjs +0 -35
  34. package/esm2022/lib/action/directive/state/action.enforce.modified.directive.mjs +0 -37
  35. package/esm2022/lib/action/directive/state/action.error.handler.directive.mjs +0 -32
  36. package/esm2022/lib/action/directive/state/action.handler.directive.mjs +0 -59
  37. package/esm2022/lib/action/directive/state/action.handler.instance.mjs +0 -61
  38. package/esm2022/lib/action/directive/state/action.idle.directive.mjs +0 -34
  39. package/esm2022/lib/action/directive/state/action.presuccess.directive.mjs +0 -34
  40. package/esm2022/lib/action/directive/state/action.success.directive.mjs +0 -34
  41. package/esm2022/lib/action/directive/state/action.success.handler.directive.mjs +0 -32
  42. package/esm2022/lib/action/directive/state/action.triggered.directive.mjs +0 -34
  43. package/esm2022/lib/action/directive/state/action.value.directive.mjs +0 -51
  44. package/esm2022/lib/action/directive/state/action.value.stream.directive.mjs +0 -60
  45. package/esm2022/lib/action/directive/state/action.value.trigger.directive.mjs +0 -76
  46. package/esm2022/lib/action/directive/state/action.value.trigger.instance.mjs +0 -59
  47. package/esm2022/lib/action/directive/state/action.working.directive.mjs +0 -41
  48. package/esm2022/lib/action/directive/state/index.mjs +0 -17
  49. package/esm2022/lib/action/index.mjs +0 -11
  50. package/esm2022/lib/auth/auth.module.mjs +0 -25
  51. package/esm2022/lib/auth/auth.providers.mjs +0 -16
  52. package/esm2022/lib/auth/auth.role.any.directive.mjs +0 -24
  53. package/esm2022/lib/auth/auth.role.has.directive.mjs +0 -24
  54. package/esm2022/lib/auth/auth.role.not.directive.mjs +0 -24
  55. package/esm2022/lib/auth/auth.state.providers.mjs +0 -14
  56. package/esm2022/lib/auth/auth.state.service.mjs +0 -20
  57. package/esm2022/lib/auth/auth.user.mjs +0 -11
  58. package/esm2022/lib/auth/index.mjs +0 -12
  59. package/esm2022/lib/auth/router/auth.router.mjs +0 -6
  60. package/esm2022/lib/auth/router/auth.router.providers.mjs +0 -19
  61. package/esm2022/lib/auth/router/auth.router.service.mjs +0 -73
  62. package/esm2022/lib/auth/router/index.mjs +0 -6
  63. package/esm2022/lib/auth/router/provider/uirouter/auth.hook.mjs +0 -23
  64. package/esm2022/lib/auth/router/provider/uirouter/hook.mjs +0 -71
  65. package/esm2022/lib/auth/router/provider/uirouter/index.mjs +0 -6
  66. package/esm2022/lib/auth/router/provider/uirouter/redirect.mjs +0 -29
  67. package/esm2022/lib/auth/router/provider/uirouter/role.hook.mjs +0 -58
  68. package/esm2022/lib/auth/router/provider/uirouter/state.hook.mjs +0 -53
  69. package/esm2022/lib/auth/router/state/auth.router.state.providers.mjs +0 -23
  70. package/esm2022/lib/auth/router/state/effect/auth.router.state.effect.mjs +0 -37
  71. package/esm2022/lib/auth/router/state/effect/index.mjs +0 -2
  72. package/esm2022/lib/auth/router/state/index.mjs +0 -3
  73. package/esm2022/lib/auth/service/auth.service.mjs +0 -6
  74. package/esm2022/lib/auth/service/auth.service.rxjs.mjs +0 -30
  75. package/esm2022/lib/auth/service/index.mjs +0 -3
  76. package/esm2022/lib/auth/state/action/auth.action.mjs +0 -14
  77. package/esm2022/lib/auth/state/action/index.mjs +0 -12
  78. package/esm2022/lib/auth/state/action/user.action.mjs +0 -18
  79. package/esm2022/lib/auth/state/effect/auth.effect.mjs +0 -33
  80. package/esm2022/lib/auth/state/index.mjs +0 -13
  81. package/esm2022/lib/auth/state/reducer/index.mjs +0 -23
  82. package/esm2022/lib/auth/state/reducer/user.reducer.mjs +0 -12
  83. package/esm2022/lib/auth/state/state.mjs +0 -2
  84. package/esm2022/lib/button/action/action.button.directive.mjs +0 -35
  85. package/esm2022/lib/button/action/action.button.trigger.directive.mjs +0 -30
  86. package/esm2022/lib/button/action/index.mjs +0 -3
  87. package/esm2022/lib/button/button.directive.mjs +0 -120
  88. package/esm2022/lib/button/button.loading.directive.mjs +0 -36
  89. package/esm2022/lib/button/button.mjs +0 -21
  90. package/esm2022/lib/button/button.module.mjs +0 -28
  91. package/esm2022/lib/button/index.mjs +0 -7
  92. package/esm2022/lib/button/router/button.segue.directive.mjs +0 -30
  93. package/esm2022/lib/button/router/index.mjs +0 -2
  94. package/esm2022/lib/context/context.directive.mjs +0 -26
  95. package/esm2022/lib/context/context.mjs +0 -25
  96. package/esm2022/lib/context/context.module.mjs +0 -19
  97. package/esm2022/lib/context/context.providers.mjs +0 -12
  98. package/esm2022/lib/context/context.service.mjs +0 -26
  99. package/esm2022/lib/context/index.mjs +0 -7
  100. package/esm2022/lib/context/state/action/data.action.mjs +0 -10
  101. package/esm2022/lib/context/state/action/index.mjs +0 -7
  102. package/esm2022/lib/context/state/effect/index.mjs +0 -33
  103. package/esm2022/lib/context/state/index.mjs +0 -13
  104. package/esm2022/lib/context/state/reducer/data.reducer.mjs +0 -16
  105. package/esm2022/lib/context/state/reducer/index.mjs +0 -25
  106. package/esm2022/lib/context/state/state.mjs +0 -2
  107. package/esm2022/lib/environment/environment.mjs +0 -6
  108. package/esm2022/lib/environment/environment.providers.mjs +0 -19
  109. package/esm2022/lib/environment/environment.service.mjs +0 -30
  110. package/esm2022/lib/environment/index.mjs +0 -4
  111. package/esm2022/lib/filter/filter.abstract.connector.directive.mjs +0 -23
  112. package/esm2022/lib/filter/filter.abstract.source.directive.mjs +0 -69
  113. package/esm2022/lib/filter/filter.connect.source.directive.mjs +0 -23
  114. package/esm2022/lib/filter/filter.connector.directive.mjs +0 -20
  115. package/esm2022/lib/filter/filter.content.mjs +0 -29
  116. package/esm2022/lib/filter/filter.map.connector.directive.mjs +0 -33
  117. package/esm2022/lib/filter/filter.map.directive.mjs +0 -24
  118. package/esm2022/lib/filter/filter.map.instance.directive.mjs +0 -25
  119. package/esm2022/lib/filter/filter.map.source.directive.mjs +0 -38
  120. package/esm2022/lib/filter/filter.module.mjs +0 -22
  121. package/esm2022/lib/filter/filter.preset.mjs +0 -8
  122. package/esm2022/lib/filter/filter.source.directive.mjs +0 -19
  123. package/esm2022/lib/filter/index.mjs +0 -13
  124. package/esm2022/lib/index.mjs +0 -15
  125. package/esm2022/lib/injection/index.mjs +0 -14
  126. package/esm2022/lib/injection/injection.array.component.mjs +0 -31
  127. package/esm2022/lib/injection/injection.array.mjs +0 -2
  128. package/esm2022/lib/injection/injection.component.mjs +0 -32
  129. package/esm2022/lib/injection/injection.component.module.mjs +0 -26
  130. package/esm2022/lib/injection/injection.context.directive.mjs +0 -130
  131. package/esm2022/lib/injection/injection.context.forward.directive.mjs +0 -25
  132. package/esm2022/lib/injection/injection.context.mjs +0 -20
  133. package/esm2022/lib/injection/injection.directive.mjs +0 -30
  134. package/esm2022/lib/injection/injection.instance.mjs +0 -121
  135. package/esm2022/lib/injection/injection.mjs +0 -16
  136. package/esm2022/lib/injection/injection.rxjs.mjs +0 -24
  137. package/esm2022/lib/injection/injection.util.mjs +0 -11
  138. package/esm2022/lib/injection/injector.mjs +0 -13
  139. package/esm2022/lib/ngrx/index.mjs +0 -2
  140. package/esm2022/lib/ngrx/store.lockset.mjs +0 -66
  141. package/esm2022/lib/pipe/async/asobservable.pipe.mjs +0 -21
  142. package/esm2022/lib/pipe/async/async.pipe.module.mjs +0 -20
  143. package/esm2022/lib/pipe/async/index.mjs +0 -3
  144. package/esm2022/lib/pipe/date/date.pipe.module.mjs +0 -108
  145. package/esm2022/lib/pipe/date/datedayrange.pipe.mjs +0 -24
  146. package/esm2022/lib/pipe/date/datedaytimerange.pipe.mjs +0 -24
  147. package/esm2022/lib/pipe/date/datedistance.pipe.mjs +0 -27
  148. package/esm2022/lib/pipe/date/dateformatdistance.pipe.mjs +0 -36
  149. package/esm2022/lib/pipe/date/datefromtoformat.pipe.mjs +0 -34
  150. package/esm2022/lib/pipe/date/daterangedistance.pipe.mjs +0 -24
  151. package/esm2022/lib/pipe/date/datetimerange.pipe.mjs +0 -24
  152. package/esm2022/lib/pipe/date/datetimerangeonly.pipe.mjs +0 -24
  153. package/esm2022/lib/pipe/date/datetimerangeonlydistance.pipe.mjs +0 -24
  154. package/esm2022/lib/pipe/date/index.mjs +0 -18
  155. package/esm2022/lib/pipe/date/minutesstring.pipe.mjs +0 -36
  156. package/esm2022/lib/pipe/date/systemdatetotargetdate.pipe.mjs +0 -27
  157. package/esm2022/lib/pipe/date/targetdatetosystemdate.pipe.mjs +0 -27
  158. package/esm2022/lib/pipe/date/timedistance.pipe.mjs +0 -57
  159. package/esm2022/lib/pipe/date/timezoneabbreviation.pipe.mjs +0 -27
  160. package/esm2022/lib/pipe/date/tojsdate.pipe.mjs +0 -30
  161. package/esm2022/lib/pipe/date/tominutes.pipe.mjs +0 -21
  162. package/esm2022/lib/pipe/index.mjs +0 -6
  163. package/esm2022/lib/pipe/misc/index.mjs +0 -3
  164. package/esm2022/lib/pipe/misc/misc.pipe.module.mjs +0 -21
  165. package/esm2022/lib/pipe/misc/prettyjson.pipe.mjs +0 -30
  166. package/esm2022/lib/pipe/pipe.module.mjs +0 -25
  167. package/esm2022/lib/pipe/value/cuttext.pipe.mjs +0 -22
  168. package/esm2022/lib/pipe/value/dollar.pipe.mjs +0 -24
  169. package/esm2022/lib/pipe/value/getvalue.pipe.mjs +0 -40
  170. package/esm2022/lib/pipe/value/index.mjs +0 -5
  171. package/esm2022/lib/pipe/value/value.pipe.module.mjs +0 -27
  172. package/esm2022/lib/router/anchor/anchor.directive.mjs +0 -63
  173. package/esm2022/lib/router/anchor/anchor.mjs +0 -52
  174. package/esm2022/lib/router/anchor/clickable.mjs +0 -18
  175. package/esm2022/lib/router/anchor/index.mjs +0 -5
  176. package/esm2022/lib/router/anchor/mousable.mjs +0 -2
  177. package/esm2022/lib/router/auth/hook/id.hook.mjs +0 -54
  178. package/esm2022/lib/router/auth/hook/index.mjs +0 -3
  179. package/esm2022/lib/router/auth/hook/uid.hook.mjs +0 -19
  180. package/esm2022/lib/router/auth/index.mjs +0 -2
  181. package/esm2022/lib/router/index.mjs +0 -6
  182. package/esm2022/lib/router/model/id.param.redirect.mjs +0 -73
  183. package/esm2022/lib/router/model/index.mjs +0 -7
  184. package/esm2022/lib/router/model/model.module.mjs +0 -26
  185. package/esm2022/lib/router/model/model.router.id.directive.mjs +0 -62
  186. package/esm2022/lib/router/model/model.router.key.directive.mjs +0 -63
  187. package/esm2022/lib/router/model/model.router.mjs +0 -38
  188. package/esm2022/lib/router/model/model.router.uid.directive.mjs +0 -25
  189. package/esm2022/lib/router/router/index.mjs +0 -5
  190. package/esm2022/lib/router/router/provider/angular/angular.router.service.mjs +0 -78
  191. package/esm2022/lib/router/router/provider/angular/angular.router.service.module.mjs +0 -31
  192. package/esm2022/lib/router/router/provider/angular/index.mjs +0 -3
  193. package/esm2022/lib/router/router/provider/index.mjs +0 -3
  194. package/esm2022/lib/router/router/provider/uirouter/index.mjs +0 -4
  195. package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.mjs +0 -95
  196. package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.module.mjs +0 -34
  197. package/esm2022/lib/router/router/provider/uirouter/uirouter.router.service.providers.mjs +0 -24
  198. package/esm2022/lib/router/router/service/index.mjs +0 -6
  199. package/esm2022/lib/router/router/service/router.go.mjs +0 -14
  200. package/esm2022/lib/router/router/service/router.service.mjs +0 -7
  201. package/esm2022/lib/router/router/service/router.service.rxjs.mjs +0 -39
  202. package/esm2022/lib/router/router/service/router.service.util.mjs +0 -14
  203. package/esm2022/lib/router/router/service/router.transition.service.mjs +0 -6
  204. package/esm2022/lib/router/router/transition/index.mjs +0 -5
  205. package/esm2022/lib/router/router/transition/transition.directive.mjs +0 -19
  206. package/esm2022/lib/router/router/transition/transition.mjs +0 -12
  207. package/esm2022/lib/router/router/transition/transition.rxjs.mjs +0 -55
  208. package/esm2022/lib/router/router/transition/transition.watcher.directive.mjs +0 -31
  209. package/esm2022/lib/router/router/util/index.mjs +0 -3
  210. package/esm2022/lib/router/router/util/route.default.mjs +0 -63
  211. package/esm2022/lib/router/router/util/route.reader.mjs +0 -47
  212. package/esm2022/lib/router/segue.mjs +0 -35
  213. package/esm2022/lib/storage/index.mjs +0 -9
  214. package/esm2022/lib/storage/storage.accessor.mjs +0 -16
  215. package/esm2022/lib/storage/storage.accessor.simple.factory.mjs +0 -26
  216. package/esm2022/lib/storage/storage.accessor.simple.mjs +0 -172
  217. package/esm2022/lib/storage/storage.accessor.string.mjs +0 -50
  218. package/esm2022/lib/storage/storage.di.mjs +0 -4
  219. package/esm2022/lib/storage/storage.object.localstorage.mjs +0 -47
  220. package/esm2022/lib/storage/storage.object.memory.mjs +0 -17
  221. package/esm2022/lib/storage/storage.providers.mjs +0 -41
  222. package/esm2022/lib/subscription/index.mjs +0 -2
  223. package/esm2022/lib/subscription/subscription.directive.mjs +0 -38
  224. package/esm2022/lib/util/index.mjs +0 -3
  225. package/esm2022/lib/util/input.mjs +0 -7
  226. package/esm2022/lib/util/view.mjs +0 -81
  227. package/esm2022/lib/view/if.directive.mjs +0 -27
  228. package/esm2022/lib/view/index.mjs +0 -2
  229. package/index.d.ts +0 -1
  230. package/lib/action/action.d.ts +0 -80
  231. package/lib/action/action.handler.d.ts +0 -15
  232. package/lib/action/action.holder.d.ts +0 -38
  233. package/lib/action/action.machine.d.ts +0 -50
  234. package/lib/action/action.module.d.ts +0 -30
  235. package/lib/action/action.reference.d.ts +0 -11
  236. package/lib/action/action.store.d.ts +0 -208
  237. package/lib/action/action.store.source.d.ts +0 -77
  238. package/lib/action/action.store.source.provide.d.ts +0 -10
  239. package/lib/action/directive/auto/action.automodify.directive.d.ts +0 -13
  240. package/lib/action/directive/auto/action.autotrigger.directive.d.ts +0 -38
  241. package/lib/action/directive/auto/index.d.ts +0 -2
  242. package/lib/action/directive/context/action.directive.d.ts +0 -12
  243. package/lib/action/directive/context/action.source.directive.d.ts +0 -12
  244. package/lib/action/directive/context/index.d.ts +0 -2
  245. package/lib/action/directive/debug/action.logger.directive.d.ts +0 -13
  246. package/lib/action/directive/debug/index.d.ts +0 -1
  247. package/lib/action/directive/index.d.ts +0 -5
  248. package/lib/action/directive/map/action.map.d.ts +0 -43
  249. package/lib/action/directive/map/action.map.directive.d.ts +0 -14
  250. package/lib/action/directive/map/action.map.key.directive.d.ts +0 -14
  251. package/lib/action/directive/map/action.map.source.directive.d.ts +0 -19
  252. package/lib/action/directive/map/action.map.utility.d.ts +0 -48
  253. package/lib/action/directive/map/action.map.working.disable.directive.d.ts +0 -19
  254. package/lib/action/directive/map/index.d.ts +0 -6
  255. package/lib/action/directive/state/action.disabled.directive.d.ts +0 -18
  256. package/lib/action/directive/state/action.disableonsuccess.directive.d.ts +0 -18
  257. package/lib/action/directive/state/action.enforce.modified.directive.d.ts +0 -18
  258. package/lib/action/directive/state/action.error.handler.directive.d.ts +0 -20
  259. package/lib/action/directive/state/action.handler.directive.d.ts +0 -35
  260. package/lib/action/directive/state/action.handler.instance.d.ts +0 -22
  261. package/lib/action/directive/state/action.idle.directive.d.ts +0 -15
  262. package/lib/action/directive/state/action.presuccess.directive.d.ts +0 -15
  263. package/lib/action/directive/state/action.success.directive.d.ts +0 -16
  264. package/lib/action/directive/state/action.success.handler.directive.d.ts +0 -20
  265. package/lib/action/directive/state/action.triggered.directive.d.ts +0 -15
  266. package/lib/action/directive/state/action.value.directive.d.ts +0 -27
  267. package/lib/action/directive/state/action.value.stream.directive.d.ts +0 -23
  268. package/lib/action/directive/state/action.value.trigger.directive.d.ts +0 -39
  269. package/lib/action/directive/state/action.value.trigger.instance.d.ts +0 -45
  270. package/lib/action/directive/state/action.working.directive.d.ts +0 -17
  271. package/lib/action/directive/state/index.d.ts +0 -16
  272. package/lib/action/index.d.ts +0 -10
  273. package/lib/auth/auth.module.d.ts +0 -16
  274. package/lib/auth/auth.providers.d.ts +0 -12
  275. package/lib/auth/auth.role.any.directive.d.ts +0 -15
  276. package/lib/auth/auth.role.has.directive.d.ts +0 -15
  277. package/lib/auth/auth.role.not.directive.d.ts +0 -15
  278. package/lib/auth/auth.state.providers.d.ts +0 -7
  279. package/lib/auth/auth.state.service.d.ts +0 -11
  280. package/lib/auth/auth.user.d.ts +0 -28
  281. package/lib/auth/index.d.ts +0 -11
  282. package/lib/auth/router/auth.router.d.ts +0 -10
  283. package/lib/auth/router/auth.router.providers.d.ts +0 -18
  284. package/lib/auth/router/auth.router.service.d.ts +0 -46
  285. package/lib/auth/router/index.d.ts +0 -5
  286. package/lib/auth/router/provider/uirouter/auth.hook.d.ts +0 -18
  287. package/lib/auth/router/provider/uirouter/hook.d.ts +0 -51
  288. package/lib/auth/router/provider/uirouter/index.d.ts +0 -5
  289. package/lib/auth/router/provider/uirouter/redirect.d.ts +0 -9
  290. package/lib/auth/router/provider/uirouter/role.hook.d.ts +0 -44
  291. package/lib/auth/router/provider/uirouter/state.hook.d.ts +0 -31
  292. package/lib/auth/router/state/auth.router.state.providers.d.ts +0 -19
  293. package/lib/auth/router/state/effect/auth.router.state.effect.d.ts +0 -28
  294. package/lib/auth/router/state/effect/index.d.ts +0 -1
  295. package/lib/auth/router/state/index.d.ts +0 -2
  296. package/lib/auth/service/auth.service.d.ts +0 -46
  297. package/lib/auth/service/auth.service.rxjs.d.ts +0 -19
  298. package/lib/auth/service/index.d.ts +0 -2
  299. package/lib/auth/state/action/auth.action.d.ts +0 -12
  300. package/lib/auth/state/action/index.d.ts +0 -11
  301. package/lib/auth/state/action/user.action.d.ts +0 -34
  302. package/lib/auth/state/effect/auth.effect.d.ts +0 -28
  303. package/lib/auth/state/index.d.ts +0 -12
  304. package/lib/auth/state/reducer/index.d.ts +0 -29
  305. package/lib/auth/state/reducer/user.reducer.d.ts +0 -11
  306. package/lib/auth/state/state.d.ts +0 -5
  307. package/lib/button/action/action.button.directive.d.ts +0 -14
  308. package/lib/button/action/action.button.trigger.directive.d.ts +0 -16
  309. package/lib/button/action/index.d.ts +0 -2
  310. package/lib/button/button.d.ts +0 -113
  311. package/lib/button/button.directive.d.ts +0 -62
  312. package/lib/button/button.loading.directive.d.ts +0 -18
  313. package/lib/button/button.module.d.ts +0 -19
  314. package/lib/button/index.d.ts +0 -6
  315. package/lib/button/router/button.segue.directive.d.ts +0 -14
  316. package/lib/button/router/index.d.ts +0 -1
  317. package/lib/context/context.d.ts +0 -42
  318. package/lib/context/context.directive.d.ts +0 -13
  319. package/lib/context/context.module.d.ts +0 -10
  320. package/lib/context/context.providers.d.ts +0 -7
  321. package/lib/context/context.service.d.ts +0 -14
  322. package/lib/context/index.d.ts +0 -6
  323. package/lib/context/state/action/data.action.d.ts +0 -13
  324. package/lib/context/state/action/index.d.ts +0 -6
  325. package/lib/context/state/effect/index.d.ts +0 -24
  326. package/lib/context/state/index.d.ts +0 -12
  327. package/lib/context/state/reducer/data.reducer.d.ts +0 -13
  328. package/lib/context/state/reducer/index.d.ts +0 -34
  329. package/lib/context/state/state.d.ts +0 -9
  330. package/lib/environment/environment.d.ts +0 -21
  331. package/lib/environment/environment.providers.d.ts +0 -8
  332. package/lib/environment/environment.service.d.ts +0 -17
  333. package/lib/environment/index.d.ts +0 -3
  334. package/lib/filter/filter.abstract.connector.directive.d.ts +0 -15
  335. package/lib/filter/filter.abstract.source.directive.d.ts +0 -37
  336. package/lib/filter/filter.connect.source.directive.d.ts +0 -13
  337. package/lib/filter/filter.connector.directive.d.ts +0 -9
  338. package/lib/filter/filter.content.d.ts +0 -10
  339. package/lib/filter/filter.map.connector.directive.d.ts +0 -14
  340. package/lib/filter/filter.map.directive.d.ts +0 -12
  341. package/lib/filter/filter.map.instance.directive.d.ts +0 -16
  342. package/lib/filter/filter.map.source.directive.d.ts +0 -23
  343. package/lib/filter/filter.module.d.ts +0 -12
  344. package/lib/filter/filter.preset.d.ts +0 -29
  345. package/lib/filter/filter.source.directive.d.ts +0 -9
  346. package/lib/filter/index.d.ts +0 -12
  347. package/lib/index.d.ts +0 -14
  348. package/lib/injection/index.d.ts +0 -13
  349. package/lib/injection/injection.array.component.d.ts +0 -11
  350. package/lib/injection/injection.array.d.ts +0 -12
  351. package/lib/injection/injection.component.d.ts +0 -19
  352. package/lib/injection/injection.component.module.d.ts +0 -16
  353. package/lib/injection/injection.context.d.ts +0 -39
  354. package/lib/injection/injection.context.directive.d.ts +0 -26
  355. package/lib/injection/injection.context.forward.directive.d.ts +0 -15
  356. package/lib/injection/injection.d.ts +0 -51
  357. package/lib/injection/injection.directive.d.ts +0 -18
  358. package/lib/injection/injection.instance.d.ts +0 -32
  359. package/lib/injection/injection.rxjs.d.ts +0 -10
  360. package/lib/injection/injection.util.d.ts +0 -9
  361. package/lib/injection/injector.d.ts +0 -10
  362. package/lib/ngrx/index.d.ts +0 -1
  363. package/lib/ngrx/store.lockset.d.ts +0 -36
  364. package/lib/pipe/async/asobservable.pipe.d.ts +0 -12
  365. package/lib/pipe/async/async.pipe.module.d.ts +0 -10
  366. package/lib/pipe/async/index.d.ts +0 -2
  367. package/lib/pipe/date/date.pipe.module.d.ts +0 -43
  368. package/lib/pipe/date/datedayrange.pipe.d.ts +0 -9
  369. package/lib/pipe/date/datedaytimerange.pipe.d.ts +0 -9
  370. package/lib/pipe/date/datedistance.pipe.d.ts +0 -8
  371. package/lib/pipe/date/dateformatdistance.pipe.d.ts +0 -12
  372. package/lib/pipe/date/datefromtoformat.pipe.d.ts +0 -13
  373. package/lib/pipe/date/daterangedistance.pipe.d.ts +0 -9
  374. package/lib/pipe/date/datetimerange.pipe.d.ts +0 -9
  375. package/lib/pipe/date/datetimerangeonly.pipe.d.ts +0 -9
  376. package/lib/pipe/date/datetimerangeonlydistance.pipe.d.ts +0 -9
  377. package/lib/pipe/date/index.d.ts +0 -17
  378. package/lib/pipe/date/minutesstring.pipe.d.ts +0 -8
  379. package/lib/pipe/date/systemdatetotargetdate.pipe.d.ts +0 -12
  380. package/lib/pipe/date/targetdatetosystemdate.pipe.d.ts +0 -12
  381. package/lib/pipe/date/timedistance.pipe.d.ts +0 -13
  382. package/lib/pipe/date/timezoneabbreviation.pipe.d.ts +0 -12
  383. package/lib/pipe/date/tojsdate.pipe.d.ts +0 -10
  384. package/lib/pipe/date/tominutes.pipe.d.ts +0 -7
  385. package/lib/pipe/index.d.ts +0 -5
  386. package/lib/pipe/misc/index.d.ts +0 -2
  387. package/lib/pipe/misc/misc.pipe.module.d.ts +0 -12
  388. package/lib/pipe/misc/prettyjson.pipe.d.ts +0 -9
  389. package/lib/pipe/pipe.module.d.ts +0 -15
  390. package/lib/pipe/value/cuttext.pipe.d.ts +0 -11
  391. package/lib/pipe/value/dollar.pipe.d.ts +0 -13
  392. package/lib/pipe/value/getvalue.pipe.d.ts +0 -19
  393. package/lib/pipe/value/index.d.ts +0 -4
  394. package/lib/pipe/value/value.pipe.module.d.ts +0 -17
  395. package/lib/router/anchor/anchor.d.ts +0 -71
  396. package/lib/router/anchor/anchor.directive.d.ts +0 -30
  397. package/lib/router/anchor/clickable.d.ts +0 -20
  398. package/lib/router/anchor/index.d.ts +0 -4
  399. package/lib/router/anchor/mousable.d.ts +0 -9
  400. package/lib/router/auth/hook/id.hook.d.ts +0 -44
  401. package/lib/router/auth/hook/index.d.ts +0 -2
  402. package/lib/router/auth/hook/uid.hook.d.ts +0 -41
  403. package/lib/router/auth/index.d.ts +0 -1
  404. package/lib/router/index.d.ts +0 -5
  405. package/lib/router/model/id.param.redirect.d.ts +0 -51
  406. package/lib/router/model/index.d.ts +0 -6
  407. package/lib/router/model/model.module.d.ts +0 -16
  408. package/lib/router/model/model.router.d.ts +0 -35
  409. package/lib/router/model/model.router.id.directive.d.ts +0 -30
  410. package/lib/router/model/model.router.key.directive.d.ts +0 -32
  411. package/lib/router/model/model.router.uid.directive.d.ts +0 -15
  412. package/lib/router/router/index.d.ts +0 -4
  413. package/lib/router/router/provider/angular/angular.router.service.d.ts +0 -24
  414. package/lib/router/router/provider/angular/angular.router.service.module.d.ts +0 -8
  415. package/lib/router/router/provider/angular/index.d.ts +0 -2
  416. package/lib/router/router/provider/index.d.ts +0 -2
  417. package/lib/router/router/provider/uirouter/index.d.ts +0 -3
  418. package/lib/router/router/provider/uirouter/uirouter.router.service.d.ts +0 -32
  419. package/lib/router/router/provider/uirouter/uirouter.router.service.module.d.ts +0 -11
  420. package/lib/router/router/provider/uirouter/uirouter.router.service.providers.d.ts +0 -7
  421. package/lib/router/router/service/index.d.ts +0 -5
  422. package/lib/router/router/service/router.go.d.ts +0 -14
  423. package/lib/router/router/service/router.service.d.ts +0 -49
  424. package/lib/router/router/service/router.service.rxjs.d.ts +0 -27
  425. package/lib/router/router/service/router.service.util.d.ts +0 -26
  426. package/lib/router/router/service/router.transition.service.d.ts +0 -11
  427. package/lib/router/router/transition/index.d.ts +0 -4
  428. package/lib/router/router/transition/transition.d.ts +0 -13
  429. package/lib/router/router/transition/transition.directive.d.ts +0 -13
  430. package/lib/router/router/transition/transition.rxjs.d.ts +0 -67
  431. package/lib/router/router/transition/transition.watcher.directive.d.ts +0 -16
  432. package/lib/router/router/util/index.d.ts +0 -2
  433. package/lib/router/router/util/route.default.d.ts +0 -20
  434. package/lib/router/router/util/route.reader.d.ts +0 -56
  435. package/lib/router/segue.d.ts +0 -38
  436. package/lib/storage/index.d.ts +0 -8
  437. package/lib/storage/storage.accessor.d.ts +0 -35
  438. package/lib/storage/storage.accessor.simple.d.ts +0 -80
  439. package/lib/storage/storage.accessor.simple.factory.d.ts +0 -17
  440. package/lib/storage/storage.accessor.string.d.ts +0 -16
  441. package/lib/storage/storage.di.d.ts +0 -3
  442. package/lib/storage/storage.object.localstorage.d.ts +0 -16
  443. package/lib/storage/storage.object.memory.d.ts +0 -9
  444. package/lib/storage/storage.providers.d.ts +0 -13
  445. package/lib/subscription/index.d.ts +0 -1
  446. package/lib/subscription/subscription.directive.d.ts +0 -25
  447. package/lib/util/index.d.ts +0 -2
  448. package/lib/util/input.d.ts +0 -6
  449. package/lib/util/view.d.ts +0 -61
  450. package/lib/view/if.directive.d.ts +0 -18
  451. package/lib/view/index.d.ts +0 -1
@@ -1,13 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { DbxRouterTransitionService } from '../service/router.transition.service';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Abstract directive that listens to onSuccess transition events and runs a function.
6
- */
7
- export declare abstract class AbstractTransitionDirective {
8
- protected readonly dbxRouterTransitionService: DbxRouterTransitionService;
9
- readonly transitionSuccess$: Observable<import("@dereekb/dbx-core").DbxRouterTransitionEvent>;
10
- readonly initAndUpdateOnTransitionSuccess$: Observable<void>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTransitionDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTransitionDirective, never, never, {}, {}, never, never, false, never>;
13
- }
@@ -1,67 +0,0 @@
1
- import { type ArrayOrValue } from '@dereekb/util';
2
- import { type MonoTypeOperatorFunction, type Observable } from 'rxjs';
3
- import { type SegueRefOrSegueRefRouterLink } from '../../segue';
4
- import { type DbxRouterService } from '../service/router.service';
5
- import { type DbxRouterTransitionService } from '../service/router.transition.service';
6
- import { type DbxRouterTransitionEvent, DbxRouterTransitionEventType } from './transition';
7
- /**
8
- * Convenience function for filtering success from the input observable.
9
- *
10
- * @param obs
11
- * @returns
12
- */
13
- export declare function successTransition(obs: Observable<DbxRouterTransitionEvent>): Observable<DbxRouterTransitionEvent>;
14
- export declare function filterTransitionSuccess(): MonoTypeOperatorFunction<DbxRouterTransitionEvent>;
15
- export declare function filterTransitionEvent(type: DbxRouterTransitionEventType): MonoTypeOperatorFunction<DbxRouterTransitionEvent>;
16
- export interface LatestSuccessfulRoutesConfigRoute {
17
- /**
18
- * Route to check if it is active or not.
19
- */
20
- readonly route: SegueRefOrSegueRefRouterLink;
21
- /**
22
- * Whether or not to match the route exactly.
23
- */
24
- readonly activeExactly?: boolean;
25
- }
26
- /**
27
- * latestSuccessfulRoute() config
28
- */
29
- export interface LatestSuccessfulRoutesConfig<T extends LatestSuccessfulRoutesConfigRoute> {
30
- readonly dbxRouterTransitionService: DbxRouterTransitionService;
31
- readonly dbxRouterService: DbxRouterService;
32
- /**
33
- * Route or list of routes to check if they're active or not.
34
- */
35
- readonly routes: ArrayOrValue<T>;
36
- }
37
- /**
38
- * Creates a new observable that uses the input DbxRouterTransitionService and DbxRouterService to determine whether or not any of the configured routes are active.
39
- *
40
- * @param obs
41
- * @param config
42
- * @returns
43
- */
44
- export declare function latestSuccessfulRoutes<T extends LatestSuccessfulRoutesConfigRoute>(config: LatestSuccessfulRoutesConfig<T>): Observable<T[]>;
45
- /**
46
- * isLatestSuccessfulRoute() config
47
- */
48
- export interface IsLatestSuccessfulRouteConfig {
49
- readonly dbxRouterTransitionService: DbxRouterTransitionService;
50
- readonly dbxRouterService: DbxRouterService;
51
- /**
52
- * Route or list of routes to check if they're active or not.
53
- */
54
- readonly routes: ArrayOrValue<SegueRefOrSegueRefRouterLink>;
55
- /**
56
- * Whether or not to match route activity exactly.
57
- */
58
- readonly activeExactly?: boolean;
59
- }
60
- /**
61
- * Creates a new observable that uses the input DbxRouterTransitionService and DbxRouterService to determine whether or not any of the configured routes are active.
62
- *
63
- * @param obs
64
- * @param config
65
- * @returns
66
- */
67
- export declare function isLatestSuccessfulRoute(config: IsLatestSuccessfulRouteConfig): Observable<boolean>;
@@ -1,16 +0,0 @@
1
- import { NgZone, OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractTransitionDirective } from './transition.directive';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Abstract directive that listens to onSuccess transition events and runs a function.
6
- */
7
- export declare abstract class AbstractTransitionWatcherDirective extends AbstractTransitionDirective implements OnInit, OnDestroy {
8
- private readonly _transitionSub;
9
- protected readonly ngZone: NgZone;
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- protected zoneUpdateForSuccessfulTransition(): void;
13
- protected abstract updateForSuccessfulTransition(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTransitionWatcherDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTransitionWatcherDirective, never, never, {}, {}, never, never, false, never>;
16
- }
@@ -1,2 +0,0 @@
1
- export * from './route.reader';
2
- export * from './route.default';
@@ -1,20 +0,0 @@
1
- import { type DbxRouteParamReaderInstance } from './route.reader';
2
- import { type Destroyable, type Initialized, type Maybe } from '@dereekb/util';
3
- import { type SwitchMapToDefaultFilterFunction } from '@dereekb/rxjs';
4
- /**
5
- * Utility class used in conjuction with a DbxRouteParamReaderInstance to redirect when the default param is not valid.
6
- */
7
- export declare class DbxRouteParamDefaultRedirectInstance<T> implements Initialized, Destroyable {
8
- private readonly instance;
9
- private readonly _enabled;
10
- private readonly _useDefaultFilter;
11
- private readonly _sub;
12
- constructor(instance: DbxRouteParamReaderInstance<T>);
13
- init(): void;
14
- destroy(): void;
15
- protected redirectWithDefaultValue(value: Maybe<T>): Promise<boolean>;
16
- protected redirectWithValue(value: Maybe<T>): Promise<boolean>;
17
- get enabled(): boolean;
18
- set enabled(enabled: boolean);
19
- setUseDefaultFilter(useValueFilter: Maybe<SwitchMapToDefaultFilterFunction<T>>): void;
20
- }
@@ -1,56 +0,0 @@
1
- import { type MaybeObservableOrValueGetter } from '@dereekb/rxjs';
2
- import { type Destroyable, type Maybe } from '@dereekb/util';
3
- import { type Observable } from 'rxjs';
4
- import { type DbxRouterService } from '../service/router.service';
5
- /**
6
- * Interface used for reading a single value from the DbxRouterService. Supports a default value.
7
- */
8
- export interface DbxRouteParamReader<T> {
9
- /**
10
- * The param value as read from the current router state.
11
- */
12
- readonly paramValue$: Observable<Maybe<T>>;
13
- /**
14
- * The default value observable.
15
- */
16
- readonly defaultValue$: Observable<Maybe<T>>;
17
- /**
18
- * The current value given the paramValue and the defaultValue.
19
- */
20
- readonly value$: Observable<Maybe<T>>;
21
- /**
22
- * Returns the current param key.
23
- */
24
- getParamKey(): string;
25
- /**
26
- * Sets a new param key. If the value is undefined, the param reader will use the default key.
27
- */
28
- setParamKey(paramKey: Maybe<string>): void;
29
- /**
30
- * Sets the default value source.
31
- *
32
- * @param defaultValue
33
- */
34
- setDefaultValue(defaultValue: MaybeObservableOrValueGetter<T>): void;
35
- /**
36
- * Updates the value on the current route for the paramKey.
37
- *
38
- * @param value
39
- */
40
- setParamValue(value: MaybeObservableOrValueGetter<T>): void;
41
- }
42
- export interface DbxRouteParamReaderInstance<T> extends DbxRouteParamReader<T>, Destroyable {
43
- readonly dbxRouterService: DbxRouterService;
44
- readonly paramKey$: Observable<string>;
45
- readonly nextDefaultValue$: Observable<Maybe<T>>;
46
- readonly value$: Observable<Maybe<T>>;
47
- }
48
- /**
49
- * Creates a new DbxRouteParamReaderInstance from the input.
50
- *
51
- * @param dbxRouterService
52
- * @param defaultParamKey
53
- * @param defaultValue
54
- * @returns
55
- */
56
- export declare function dbxRouteParamReaderInstance<T>(dbxRouterService: DbxRouterService, defaultParamKey: string, defaultValue?: MaybeObservableOrValueGetter<T>): DbxRouteParamReaderInstance<T>;
@@ -1,38 +0,0 @@
1
- import { type ArrayOrValue, type Maybe } from '@dereekb/util';
2
- import { type Observable } from 'rxjs';
3
- export type SegueRefRouterLink = string | ArrayOrValue<object>;
4
- export interface SegueRefRawSegueParams {
5
- [key: string]: unknown;
6
- }
7
- export interface SegueRefOptions<O = object> {
8
- /**
9
- * Raw parameters
10
- */
11
- refParams?: SegueRefRawSegueParams;
12
- /**
13
- * Custom Transition Options.
14
- *
15
- * For UIRouter, this is TransitionOptions.
16
- */
17
- refOptions?: O;
18
- }
19
- /**
20
- * Represents a segue ref
21
- */
22
- export interface SegueRef<O = object> extends SegueRefOptions<O> {
23
- /**
24
- * Ref path value.
25
- */
26
- ref: SegueRefRouterLink;
27
- }
28
- /**
29
- * A SegueRef object or a different router link representation.
30
- */
31
- export type SegueRefOrSegueRefRouterLink<O = object> = SegueRef<O> | SegueRefRouterLink;
32
- export declare function isSegueRef<O = object>(input: Maybe<SegueRefOrSegueRefRouterLink<O>>): input is SegueRef<O>;
33
- export declare function asSegueRef<O = object>(input: SegueRefOrSegueRefRouterLink<O>): SegueRef<O>;
34
- export declare function asSegueRef<O = object>(input: Maybe<SegueRefOrSegueRefRouterLink<O>>): Maybe<SegueRef<O>>;
35
- export declare function asSegueRefString<O = object>(input: SegueRefOrSegueRefRouterLink<O> | string): string;
36
- export declare function asSegueRefString<O = object>(input: Maybe<SegueRefOrSegueRefRouterLink<O> | string>): Maybe<string>;
37
- export declare function refStringToSegueRef<O = object>(ref: string, options?: SegueRefOptions<O>): SegueRef<O>;
38
- export declare function mapRefStringObsToSegueRefObs<O = object>(obs: Observable<string>, options?: SegueRefOptions<O>): Observable<SegueRef<O>>;
@@ -1,8 +0,0 @@
1
- export * from './storage.accessor.simple.factory';
2
- export * from './storage.accessor.simple';
3
- export * from './storage.accessor.string';
4
- export * from './storage.accessor';
5
- export * from './storage.di';
6
- export * from './storage.object.localstorage';
7
- export * from './storage.object.memory';
8
- export * from './storage.providers';
@@ -1,35 +0,0 @@
1
- import { type Maybe } from '@dereekb/util';
2
- import { type Observable } from 'rxjs';
3
- /**
4
- * Stored object accessor that can get/set/remove via a key, or be cleared entirely.
5
- */
6
- export declare abstract class LimitedStorageAccessor<T> {
7
- /**
8
- * Attempts to get the value. Throws a DataDoesNotExistError if not available.
9
- */
10
- abstract get(key: string): Observable<Maybe<T>>;
11
- abstract set(key: string, value: Maybe<T>): Observable<void>;
12
- abstract remove(key: string): Observable<void>;
13
- abstract clear(): Observable<object>;
14
- }
15
- /**
16
- * LimitedStorageAccessor extension that has knowledge of all stored keys.
17
- */
18
- export declare abstract class StorageAccessor<T> extends LimitedStorageAccessor<T> {
19
- /**
20
- * Returns all values. Filtered by keys of a given prefix.
21
- */
22
- abstract all(prefix?: string): Observable<T[]>;
23
- /**
24
- * Returns all keys. Filtered by keys of a given prefix.
25
- */
26
- abstract allKeys(prefix?: string): Observable<string[]>;
27
- }
28
- /**
29
- * StorageAccessor-like object that has immediate/synchronous functionality for get/set.
30
- */
31
- export declare abstract class InstantStorageAccessor<T> {
32
- abstract getNow(key: string): T | undefined;
33
- abstract setNow(key: string, value: T): void;
34
- abstract removeNow(key: string): void;
35
- }
@@ -1,80 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import { type ReadStoredData, type StoredData, type StoredDataStorageKey, type StoredDataString, type Maybe } from '@dereekb/util';
3
- import { type StorageAccessor } from './storage.accessor';
4
- export interface SimpleStorageAccessorConverter<T> {
5
- /**
6
- * Converts the input value to a string.
7
- */
8
- stringifyValue(value: T): StoredDataString;
9
- /**
10
- * Converts the data string into a value.
11
- */
12
- parseValue(data: StoredDataString): T;
13
- }
14
- /**
15
- * SimpleStorageAccessor delegate.
16
- */
17
- export interface SimpleStorageAccessorDelegate<T> extends SimpleStorageAccessorConverter<T>, StorageAccessor<StoredDataString> {
18
- }
19
- export declare class StringifySimpleStorageAccessorConverter<T> implements SimpleStorageAccessorConverter<T> {
20
- stringifyValue(value: T): StoredDataString;
21
- parseValue(data: StoredDataString): T;
22
- }
23
- export declare class WrapperSimpleStorageAccessorDelegate<T> implements SimpleStorageAccessorDelegate<T> {
24
- private readonly _delegate;
25
- private readonly _converter;
26
- constructor(delegate: StorageAccessor<StoredDataString>, converter: SimpleStorageAccessorConverter<T>);
27
- get(key: string): Observable<Maybe<StoredDataString>>;
28
- set(key: string, value: StoredDataString): Observable<void>;
29
- remove(key: string): Observable<void>;
30
- clear(): Observable<object>;
31
- all(prefix?: string): Observable<string[]>;
32
- allKeys(prefix?: string): Observable<string[]>;
33
- stringifyValue(value: T): StoredDataString;
34
- parseValue(data: StoredDataString): T;
35
- }
36
- export interface SimpleStorageAccessorConfig {
37
- /**
38
- * Storage Key Prefix
39
- */
40
- readonly prefix: string;
41
- /**
42
- * Optional prefix/value splitter.
43
- */
44
- readonly prefixSplitter?: string;
45
- /**
46
- * Number in milliseconds that objects stored will expire in.
47
- */
48
- readonly expiresIn?: number;
49
- }
50
- interface ConfiguredSimpleStorageAccessorConfig extends SimpleStorageAccessorConfig {
51
- readonly prefixSplitter: string;
52
- readonly fullPrefix: string;
53
- }
54
- export declare function assertValidStorageKeyPrefix(prefix: string, prefixSplitter: string): void;
55
- export declare function isValidStorageKeyPrefix(prefix: string, prefixSpltter: string): boolean;
56
- /**
57
- * LimitedStorageAccessor implementation that uses a Delegate
58
- */
59
- export declare class SimpleStorageAccessor<T> implements StorageAccessor<T> {
60
- static readonly PREFIX_SPLITTER = "::";
61
- private readonly _delegate;
62
- protected readonly _config: ConfiguredSimpleStorageAccessorConfig;
63
- constructor(delegate: SimpleStorageAccessorDelegate<T>, config: SimpleStorageAccessorConfig);
64
- get delegate(): SimpleStorageAccessorDelegate<T>;
65
- get config(): ConfiguredSimpleStorageAccessorConfig;
66
- get(inputKey: string): Observable<T>;
67
- set(inputKey: string, inputValue: T): Observable<void>;
68
- remove(key: string): Observable<void>;
69
- all(): Observable<T[]>;
70
- allKeys(): Observable<string[]>;
71
- clear(): Observable<object>;
72
- protected readStoredData(storedDataString: StoredDataString): ReadStoredData<T>;
73
- protected buildStoredData(value: T): StoredData;
74
- protected isExpiredStoredData(storeData: StoredData): boolean;
75
- protected makeStorageKey(key: string): StoredDataStorageKey;
76
- protected isKeyOfAccessor(storageKey: StoredDataStorageKey): boolean;
77
- protected decodeStorageKey(storageKey: StoredDataStorageKey): string;
78
- protected stringifyValue(value: T): string;
79
- }
80
- export {};
@@ -1,17 +0,0 @@
1
- import { StorageAccessor } from './storage.accessor';
2
- import { SimpleStorageAccessorConfig, SimpleStorageAccessor, SimpleStorageAccessorConverter } from './storage.accessor.simple';
3
- import { FullStorageObject, StoredDataString } from '@dereekb/util';
4
- import * as i0 from "@angular/core";
5
- export interface StorageAccessorFactoryConfig<T> extends SimpleStorageAccessorConfig {
6
- storage?: StorageAccessor<StoredDataString>;
7
- converter?: SimpleStorageAccessorConverter<T>;
8
- }
9
- /**
10
- * Used for building SimpleStorageAccessor instances from SimpleStorageAccessorConfig.
11
- */
12
- export declare class SimpleStorageAccessorFactory {
13
- readonly storageObject: FullStorageObject;
14
- createStorageAccessor<T>(config: StorageAccessorFactoryConfig<T>): SimpleStorageAccessor<T>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SimpleStorageAccessorFactory, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<SimpleStorageAccessorFactory>;
17
- }
@@ -1,16 +0,0 @@
1
- import { type StoredDataString, type FullStorageObject, type Maybe } from '@dereekb/util';
2
- import { Observable } from 'rxjs';
3
- import { type StorageAccessor } from './storage.accessor';
4
- /**
5
- * Simple StorageAccessor implementation that wraps a FullStorageObject.
6
- */
7
- export declare class StringStorageAccessor implements StorageAccessor<StoredDataString> {
8
- private readonly _storage;
9
- constructor(storage: FullStorageObject);
10
- get(key: string): Observable<Maybe<StoredDataString>>;
11
- set(key: string, value: StoredDataString): Observable<void>;
12
- remove(key: string): Observable<void>;
13
- clear(): Observable<StoredDataString[]>;
14
- all(): Observable<StoredDataString[]>;
15
- allKeys(): Observable<string[]>;
16
- }
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const DEFAULT_STORAGE_OBJECT_TOKEN: InjectionToken<unknown>;
3
- export declare const DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN: InjectionToken<unknown>;
@@ -1,16 +0,0 @@
1
- import { type FullStorageObject, type Maybe, type StorageObject, type StoredDataStorageKey } from '@dereekb/util';
2
- /**
3
- * StorageObject using LocalStorage.
4
- */
5
- export declare class FullLocalStorageObject implements FullStorageObject {
6
- private readonly _localStorage;
7
- constructor(localStorage: StorageObject);
8
- get isPersistant(): boolean;
9
- get isAvailable(): boolean;
10
- get length(): number;
11
- getItem(key: StoredDataStorageKey): Maybe<string>;
12
- setItem(key: StoredDataStorageKey, item: string): void;
13
- removeItem(key: StoredDataStorageKey): void;
14
- key(index: number): string | null;
15
- removeAll(): string[];
16
- }
@@ -1,9 +0,0 @@
1
- import { FullLocalStorageObject } from './storage.object.localstorage';
2
- /**
3
- * FullStorageObject implementation that uses a localstorage that entirely resides in memory.
4
- */
5
- export declare class MemoryStorageObject extends FullLocalStorageObject {
6
- get isLastingStorage(): boolean;
7
- get isAvailable(): boolean;
8
- constructor();
9
- }
@@ -1,13 +0,0 @@
1
- import { type EnvironmentProviders } from '@angular/core';
2
- import { type FullStorageObject } from '@dereekb/util';
3
- /**
4
- * Default storage object factory function that creates a FullLocalStorageObject,
5
- * falling back to MemoryStorageObject if localStorage is not available.
6
- */
7
- export declare function defaultStorageObjectFactory(): FullStorageObject;
8
- /**
9
- * Creates EnvironmentProviders for providing a default storage object and SimpleStorageAccessorFactory.
10
- *
11
- * @returns EnvironmentProviders
12
- */
13
- export declare function provideDbxStorage(): EnvironmentProviders;
@@ -1 +0,0 @@
1
- export * from './subscription.directive';
@@ -1,25 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { Unsubscribable } from 'rxjs';
3
- import { LockSet } from '@dereekb/rxjs';
4
- import { type Maybe } from '@dereekb/util';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Abstract component that contains a SubscriptionObject and will clean it up automatically.
8
- */
9
- export declare abstract class AbstractSubscriptionDirective<T extends Unsubscribable = Unsubscribable> implements OnDestroy {
10
- private readonly _subscriptionObject;
11
- ngOnDestroy(): void;
12
- protected set sub(subscription: Maybe<T | void>);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSubscriptionDirective<any>, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSubscriptionDirective<any>, never, never, {}, {}, never, never, false, never>;
15
- }
16
- /**
17
- * AbstractSubscriptionDirective extension that prevents the OnDestroy from occuring until the lockset is unlocked.
18
- */
19
- export declare abstract class AbstractLockSetSubscriptionDirective<T extends Unsubscribable = Unsubscribable> extends AbstractSubscriptionDirective<T> implements OnDestroy {
20
- readonly lockSet: LockSet;
21
- ngOnDestroy(): void;
22
- protected onLockSetDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLockSetSubscriptionDirective<any>, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractLockSetSubscriptionDirective<any>, never, never, {}, {}, never, never, false, never>;
25
- }
@@ -1,2 +0,0 @@
1
- export * from './view';
2
- export * from './input';
@@ -1,6 +0,0 @@
1
- /**
2
- * Transforms an empty string to undefined.
3
- *
4
- * Used for Angular inputs that are optional and share the same alias as the directive.
5
- */
6
- export declare const transformEmptyStringInputToUndefined: <T>(value: T | "") => T | undefined;
@@ -1,61 +0,0 @@
1
- import { type MonoTypeOperatorFunction } from 'rxjs';
2
- import { type ChangeDetectorRef, type ElementRef } from '@angular/core';
3
- import { type Maybe } from '@dereekb/util';
4
- /**
5
- * Convenience function used within observables for views that need to detect changes after a value changes.
6
- *
7
- * @deprecated reminder to move to Angular signals
8
- *
9
- * @param cdRef
10
- * @param timeout
11
- * @returns
12
- */
13
- export declare function tapDetectChanges<T>(cdRef: Maybe<ChangeDetectorRef>, timeout?: number): MonoTypeOperatorFunction<T>;
14
- /**
15
- * Triggers a check for detecting any changes on the model safely to ve registered via detectChanges().
16
- *
17
- * @deprecated reminder to move to Angular signals
18
- *
19
- * @param cdRef
20
- */
21
- export declare function safeDetectChanges(cdRef: ChangeDetectorRef): void;
22
- /**
23
- * Convenience function used within observables for views that use the OnPush ChangeDetectionStrategy and needs to call markForCheck when a new observable value is pushed.
24
- *
25
- * NOTE: If the observable is being consumed via the "async" pipe, this may not be necessary.
26
- *
27
- * @deprecated reminder to move to Angular signals
28
- * @param cdRef
29
- * @param timeout
30
- * @returns
31
- */
32
- export declare function tapSafeMarkForCheck<T>(cdRef: Maybe<ChangeDetectorRef>, timeout?: number): MonoTypeOperatorFunction<T>;
33
- /**
34
- * Marks the ChangeDetectorRef for changes as long as the view has not been destroyed.
35
- *
36
- * @deprecated reminder to move to Angular signals
37
- *
38
- * @param cdRef
39
- */
40
- export declare function safeMarkForCheck(cdRef: ChangeDetectorRef): void;
41
- /**
42
- * Triggers a detection change on the input view as long as the view has not been destroyed.
43
- *
44
- * @deprecated reminder to move to Angular signals
45
- * @param cdRef
46
- */
47
- export declare function safeUseCdRef(cdRef: ChangeDetectorRef, use: (cdRef: ChangeDetectorRef) => void): void;
48
- /**
49
- * Used to check an injected ElementRef that wraps an ng-content injection point whether or not any content was injected,
50
- * or more specifically if the parent component passed any target content to the child. This will still return true if
51
- * passed content is empty.
52
- *
53
- * TS:
54
- * @ViewChild('customLoading', { static: false }) customCustom: ElementRef;
55
- *
56
- * HTML:
57
- * <div #customContent>
58
- * <ng-content select="[content]"></ng-content>
59
- * </div>
60
- */
61
- export declare function checkNgContentWrapperHasContent(ref: Maybe<ElementRef<Element>>): boolean;
@@ -1,18 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { AbstractSubscriptionDirective } from '../subscription';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Abstract directive class that watches a show$ observable and behaves like *ngIf.
7
- */
8
- export declare abstract class AbstractIfDirective extends AbstractSubscriptionDirective implements OnInit {
9
- private readonly _templateRef;
10
- private readonly _viewContainer;
11
- /**
12
- * Observable that is watched for showing/hiding.
13
- */
14
- abstract readonly show$: Observable<boolean>;
15
- ngOnInit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractIfDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractIfDirective, never, never, {}, {}, never, never, false, never>;
18
- }
@@ -1 +0,0 @@
1
- export * from './if.directive';