@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,2 +0,0 @@
1
- export * from './auth.router.state.providers';
2
- export * from './effect';
@@ -1,46 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import { type AuthRoleSet } from '@dereekb/util';
3
- import { type AuthUserIdentifier, type AuthUserState } from '../auth.user';
4
- /**
5
- * Client auth service used to retrieve info about the current state of client authentication and client roles they may have.
6
- */
7
- export declare abstract class DbxAuthService {
8
- /**
9
- * Whether or not the user is logged in.
10
- *
11
- * This will only emit once the authentication has been determined, preventing issues with premature decision making.
12
- *
13
- * A user is considered logged in even if there is an anonymous user. For more detailed info, consider using authUserState$.
14
- */
15
- abstract readonly isLoggedIn$: Observable<boolean>;
16
- /**
17
- * Whether or not the user has finished onboarding.
18
- *
19
- * This will only emit once the onboarding status has been determined, preventing issues with premature decision making.
20
- */
21
- abstract readonly isOnboarded$: Observable<boolean>;
22
- /**
23
- * Emits an event every time the user logs in.
24
- */
25
- abstract readonly onLogIn$: Observable<void>;
26
- /**
27
- * Emits an event every time the user logs out.
28
- */
29
- abstract readonly onLogOut$: Observable<void>;
30
- /**
31
- * Current state of the user.
32
- */
33
- abstract readonly authUserState$: Observable<AuthUserState>;
34
- /**
35
- * Role set for the current user.
36
- */
37
- abstract readonly authRoles$: Observable<AuthRoleSet>;
38
- /**
39
- * Identifier for the current user.
40
- */
41
- abstract readonly userIdentifier$: Observable<AuthUserIdentifier>;
42
- /**
43
- * Performs the logout action.
44
- */
45
- abstract logOut(): Promise<void>;
46
- }
@@ -1,19 +0,0 @@
1
- import { type AuthRole, type AuthRoleSet, type Maybe } from '@dereekb/util';
2
- import { type Observable, type OperatorFunction } from 'rxjs';
3
- /**
4
- * Convenience operator that emits events when the input observable goes from false to true.
5
- *
6
- * @param isLoggedInObs
7
- * @returns
8
- */
9
- export declare function loggedInObsFromIsLoggedIn(isLoggedInObs: Observable<boolean>): Observable<void>;
10
- /**
11
- * Convenience operator that emits events when the input observable goes from true to false.
12
- *
13
- * @param isLoggedInObs
14
- * @returns
15
- */
16
- export declare function loggedOutObsFromIsLoggedIn(isLoggedInObs: Observable<boolean>): Observable<void>;
17
- export declare function authRolesSetContainsAllRolesFrom(roles: Observable<Maybe<Iterable<AuthRole>>>): OperatorFunction<AuthRoleSet, boolean>;
18
- export declare function authRolesSetContainsAnyRoleFrom(roles: Observable<Maybe<Iterable<AuthRole>>>): OperatorFunction<AuthRoleSet, boolean>;
19
- export declare function authRolesSetContainsNoRolesFrom(roles: Observable<Maybe<Iterable<AuthRole>>>): OperatorFunction<AuthRoleSet, boolean>;
@@ -1,2 +0,0 @@
1
- export * from './auth.service.rxjs';
2
- export * from './auth.service';
@@ -1,12 +0,0 @@
1
- /**
2
- * Action for when the user has logged in.
3
- */
4
- export declare const loggedIn: import("@ngrx/store").ActionCreator<"[App/Auth] Auth Logged In", () => import("@ngrx/store").Action<"[App/Auth] Auth Logged In">>;
5
- /**
6
- * Action for when the user has logged out.
7
- */
8
- export declare const loggedOut: import("@ngrx/store").ActionCreator<"[App/Auth] Auth Logged Out", () => import("@ngrx/store").Action<"[App/Auth] Auth Logged Out">>;
9
- /**
10
- * Action to log the user out.
11
- */
12
- export declare const logout: import("@ngrx/store").ActionCreator<"[App/Auth] Auth Logout", () => import("@ngrx/store").Action<"[App/Auth] Auth Logout">>;
@@ -1,11 +0,0 @@
1
- import * as DbxAppAuthActions from './auth.action';
2
- import * as DbxAppAuthUserActions from './user.action';
3
- export {
4
- /**
5
- * Actions related to the auth state.
6
- */
7
- DbxAppAuthActions,
8
- /**
9
- * Actions related to the user.
10
- */
11
- DbxAppAuthUserActions };
@@ -1,34 +0,0 @@
1
- import { type AuthRole } from '@dereekb/util';
2
- import { type AuthUserIdentifier, type AuthUserState } from '../../auth.user';
3
- /**
4
- * Sets the user's identifier in the auth.
5
- */
6
- export declare const setUserIdentifier: import("@ngrx/store").ActionCreator<"[App/Auth] Set User Identifier", (props: {
7
- id: AuthUserIdentifier;
8
- }) => {
9
- id: AuthUserIdentifier;
10
- } & import("@ngrx/store").Action<"[App/Auth] Set User Identifier">>;
11
- /**
12
- * Sets the user's state in the auth.
13
- */
14
- export declare const setUserState: import("@ngrx/store").ActionCreator<"[App/Auth] Set User State", (props: {
15
- state: AuthUserState;
16
- }) => {
17
- state: AuthUserState;
18
- } & import("@ngrx/store").Action<"[App/Auth] Set User State">>;
19
- /**
20
- * Sets the user's roles in the auth.
21
- */
22
- export declare const setUserRoles: import("@ngrx/store").ActionCreator<"[App/Auth] Set User Roles", (props: {
23
- roles: AuthRole[];
24
- }) => {
25
- roles: AuthRole[];
26
- } & import("@ngrx/store").Action<"[App/Auth] Set User Roles">>;
27
- /**
28
- * Sets the user's onboarding state.
29
- */
30
- export declare const setUserIsOnboarded: import("@ngrx/store").ActionCreator<"[App/Auth] Set User Is Onboarded", (props: {
31
- isOnboarded: boolean;
32
- }) => {
33
- isOnboarded: boolean;
34
- } & import("@ngrx/store").Action<"[App/Auth] Set User Is Onboarded">>;
@@ -1,28 +0,0 @@
1
- import { Actions } from '@ngrx/effects';
2
- import { Store } from '@ngrx/store';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Set of ngrx effects that repeat events from DbxAuthService.
6
- */
7
- export declare class DbxAppAuthEffects {
8
- private readonly dbxAuthService;
9
- protected readonly actions$: Actions<any>;
10
- protected readonly store: Store<any>;
11
- readonly emitLoggedIn: import("rxjs").Observable<import("@ngrx/store").Action<"[App/Auth] Auth Logged In">> & import("@ngrx/effects").CreateEffectMetadata;
12
- readonly emitLoggedOut: import("rxjs").Observable<import("@ngrx/store").Action<"[App/Auth] Auth Logged Out">> & import("@ngrx/effects").CreateEffectMetadata;
13
- readonly forwardLogoutToAuthService: import("rxjs").Observable<import("@ngrx/store").Action<"[App/Auth] Auth Logout">> & import("@ngrx/effects").CreateEffectMetadata;
14
- readonly setUserIdentifier: import("rxjs").Observable<{
15
- id: import("@dereekb/dbx-core").AuthUserIdentifier;
16
- } & import("@ngrx/store").Action<"[App/Auth] Set User Identifier">> & import("@ngrx/effects").CreateEffectMetadata;
17
- readonly setUserState: import("rxjs").Observable<{
18
- state: import("@dereekb/dbx-core").AuthUserState;
19
- } & import("@ngrx/store").Action<"[App/Auth] Set User State">> & import("@ngrx/effects").CreateEffectMetadata;
20
- readonly setUserRoles: import("rxjs").Observable<{
21
- roles: import("dist/packages/util/src").AuthRole[];
22
- } & import("@ngrx/store").Action<"[App/Auth] Set User Roles">> & import("@ngrx/effects").CreateEffectMetadata;
23
- readonly setUserIsOnboarded: import("rxjs").Observable<{
24
- isOnboarded: boolean;
25
- } & import("@ngrx/store").Action<"[App/Auth] Set User Is Onboarded">> & import("@ngrx/effects").CreateEffectMetadata;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxAppAuthEffects, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<DbxAppAuthEffects>;
28
- }
@@ -1,12 +0,0 @@
1
- import * as fromDbxAppAuth from './reducer';
2
- import * as onDbxAppAuth from './action';
3
- export * from './state';
4
- export {
5
- /**
6
- * Accessor for the DbxAppAuthFeatureState reducers.
7
- */
8
- fromDbxAppAuth,
9
- /**
10
- * Accessor for the DbxAppAuthFeatureState actions.
11
- */
12
- onDbxAppAuth };
@@ -1,29 +0,0 @@
1
- import { type Action } from '@ngrx/store';
2
- import * as fromDbxAppAuthUserState from './user.reducer';
3
- /**
4
- * Global feature key
5
- */
6
- export declare const featureKey = "app.auth";
7
- export interface DbxAppAuthFeatureState {
8
- [fromDbxAppAuthUserState.dbxAppAuthUserFeatureKey]: fromDbxAppAuthUserState.DbxAppAuthStateUser;
9
- }
10
- /**
11
- * Interface typing extension for the DbxAppAuthFeatureState, and the typing information for how this feature extends the base state.
12
- */
13
- export interface State {
14
- [featureKey]: DbxAppAuthFeatureState;
15
- }
16
- /**
17
- * Reducers mapping for the DbxAppAuthFeatureState
18
- */
19
- export declare function reducers(state: DbxAppAuthFeatureState | undefined, action: Action): {
20
- user: fromDbxAppAuthUserState.DbxAppAuthStateUser;
21
- };
22
- /**
23
- * Selects the DbxAppAuthFeatureState feature context.
24
- */
25
- export declare const selectAppAuthFeature: import("@ngrx/store").MemoizedSelector<object, DbxAppAuthFeatureState, import("@ngrx/store").DefaultProjectorFn<DbxAppAuthFeatureState>>;
26
- /**
27
- * Selector to retrieve the state value from our DbxAppContextStateData in our DbxAppContextFeatureState.
28
- */
29
- export declare const selectDbxAppAuthUser: import("@ngrx/store").MemoizedSelector<object, fromDbxAppAuthUserState.DbxAppAuthStateUser, (s1: DbxAppAuthFeatureState) => fromDbxAppAuthUserState.DbxAppAuthStateUser>;
@@ -1,11 +0,0 @@
1
- import { type AuthUserIdentifier, type AuthUserState } from '../../auth.user';
2
- import { type AuthRole } from '@dereekb/util';
3
- export declare const dbxAppAuthUserFeatureKey = "user";
4
- export interface DbxAppAuthStateUser {
5
- userId: AuthUserIdentifier;
6
- isOnboarded: boolean;
7
- userState: AuthUserState;
8
- userRoles: AuthRole[];
9
- }
10
- export declare const initialState: DbxAppAuthStateUser;
11
- export declare const reducer: import("@ngrx/store").ActionReducer<DbxAppAuthStateUser, import("@ngrx/store").Action<string>>;
@@ -1,5 +0,0 @@
1
- import type * as fromDbxAppAuth from './reducer';
2
- /**
3
- * Type that contains the dbx-core contextual ngrx state information for auth.
4
- */
5
- export type DbxAppAuthFullState = fromDbxAppAuth.State;
@@ -1,14 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { DbxActionButtonTriggerDirective } from './action.button.trigger.directive';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Context used for linking a button to an ActionContext.
6
- */
7
- export declare class DbxActionButtonDirective extends DbxActionButtonTriggerDirective implements OnInit, OnDestroy {
8
- private readonly _workingSub;
9
- private readonly _disabledSub;
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionButtonDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionButtonDirective, "[dbxActionButton]", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,16 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
3
- import { DbxButton } from '../button';
4
- import { DbxActionContextStoreSourceInstance } from '../../action/action.store.source';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Context used for linking a button to an ActionContext and only look for triggers.
8
- */
9
- export declare class DbxActionButtonTriggerDirective extends AbstractSubscriptionDirective implements OnInit {
10
- readonly dbxButton: DbxButton;
11
- readonly source: DbxActionContextStoreSourceInstance<any, any>;
12
- ngOnInit(): void;
13
- protected _buttonClicked(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionButtonTriggerDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionButtonTriggerDirective, "[dbxActionButtonTrigger]", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,2 +0,0 @@
1
- export * from './action.button.directive';
2
- export * from './action.button.trigger.directive';
@@ -1,113 +0,0 @@
1
- import { type Type, type Provider } from '@angular/core';
2
- import { type Maybe } from '@dereekb/util';
3
- import { type Observable } from 'rxjs';
4
- import { type DbxActionWorkProgress, type DbxActionWorkOrWorkProgress } from '../action/action';
5
- export type DbxButtonWorkingProgress = DbxActionWorkProgress;
6
- /**
7
- * Working state for a button.
8
- *
9
- * Can be a boolean or a number.
10
- *
11
- * True is treated as an indeterminate progress.
12
- */
13
- export type DbxButtonWorking = DbxActionWorkOrWorkProgress;
14
- /**
15
- * Used for intercepting button click events.
16
- *
17
- * Can be used to delay/modify trigger/click behaviors.
18
- */
19
- export interface DbxButtonInterceptor {
20
- /**
21
- * Handles a button click event. Returns an observable that will say whether or not to continue the click event.
22
- */
23
- interceptButtonClick: () => Observable<boolean>;
24
- }
25
- /**
26
- * Text and icon display content for a button.
27
- */
28
- export interface DbxButtonDisplay {
29
- /**
30
- * button Icon, if applicable
31
- */
32
- readonly icon?: Maybe<string>;
33
- /**
34
- * button text, if applicable
35
- */
36
- readonly text?: Maybe<string>;
37
- }
38
- export declare abstract class DbxButton {
39
- /**
40
- * Observable of the disabled state of the button.
41
- */
42
- abstract readonly disabled$: Observable<boolean>;
43
- /**
44
- * Observable of the working state of the button.
45
- */
46
- abstract readonly working$: Observable<DbxButtonWorking>;
47
- /**
48
- * Observable of the clicked event of the button.
49
- */
50
- abstract readonly clicked$: Observable<unknown>;
51
- /**
52
- * Observable of the display content of the button.
53
- */
54
- abstract readonly display$: Observable<DbxButtonDisplay>;
55
- /**
56
- * Sets the disabled state of the button. If null/undefined the button will be disabled.
57
- *
58
- * @param disabled
59
- */
60
- abstract setDisabled(disabled?: Maybe<boolean>): void;
61
- /**
62
- * Sets the working state of the button.
63
- *
64
- * If a number is passed, then it is treated as a progress percentage.
65
- *
66
- * If true is passed, then it is treated as an indeterminate progress.
67
- *
68
- * If null/undefined is passed, then the button will not be working.
69
- */
70
- abstract setWorking(working?: Maybe<DbxButtonWorking>): void;
71
- /**
72
- * Sets the display content of the button.
73
- *
74
- * @param content
75
- */
76
- abstract setDisplayContent(content: DbxButtonDisplay): void;
77
- /**
78
- * Sets the button interceptor. If any interceptor is already set, it is replaced.
79
- *
80
- * @param interceptor
81
- */
82
- abstract setButtonInterceptor(interceptor: DbxButtonInterceptor): void;
83
- /**
84
- * Main function to use for handling clicks on the button.
85
- */
86
- abstract clickButton(): void;
87
- }
88
- export declare function provideDbxButton<S extends DbxButton>(sourceType: Type<S>): Provider[];
89
- /**
90
- * The display type of a button.
91
- *
92
- * text_button: A text button has text or is empty.
93
- * icon_button: An icon button only has an icon and no text.
94
- */
95
- export type DbxButtonDisplayType = 'text_button' | 'icon_button';
96
- /**
97
- * Delegate class used for retrieving the DbxButtonDisplay given an input value.
98
- */
99
- export interface DbxButtonDisplayDelegate<T> {
100
- /**
101
- * Returns the DbxButtonDisplay for the input value.
102
- *
103
- * @param value
104
- */
105
- buttonDisplayContentForValue(value: T): DbxButtonDisplay;
106
- }
107
- /**
108
- * Returns the DbxButtonDisplayType given the input content.
109
- *
110
- * @param content
111
- * @returns
112
- */
113
- export declare function dbxButtonDisplayType(content: DbxButtonDisplay): DbxButtonDisplayType;
@@ -1,62 +0,0 @@
1
- import { OnDestroy, OnInit, Signal } from '@angular/core';
2
- import { type Maybe } from '@dereekb/util';
3
- import { Subject, BehaviorSubject } from 'rxjs';
4
- import { AbstractSubscriptionDirective } from '../subscription';
5
- import { DbxButton, DbxButtonDisplay, DbxButtonDisplayType, DbxButtonInterceptor, DbxButtonWorking } from './button';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Abstract button component.
9
- */
10
- export declare abstract class AbstractDbxButtonDirective extends AbstractSubscriptionDirective implements DbxButton, OnInit, OnDestroy {
11
- /**
12
- * Pre-interceptor button click.
13
- */
14
- protected readonly _buttonClick: Subject<void>;
15
- protected readonly _buttonInterceptor: BehaviorSubject<Maybe<DbxButtonInterceptor>>;
16
- readonly buttonClick: import("@angular/core").OutputEmitterRef<void>;
17
- readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean>>;
18
- readonly working: import("@angular/core").InputSignalWithTransform<import("@dereekb/dbx-core").DbxActionWorkOrWorkProgress, Maybe<import("@dereekb/dbx-core").DbxActionWorkOrWorkProgress>>;
19
- readonly buttonDisplay: import("@angular/core").InputSignal<Maybe<DbxButtonDisplay>>;
20
- private readonly _disabledSignal;
21
- private readonly _workingSignal;
22
- private readonly _buttonDisplayContentSignal;
23
- readonly disabledSignal: Signal<boolean>;
24
- readonly workingSignal: Signal<import("@dereekb/dbx-core").DbxActionWorkOrWorkProgress>;
25
- readonly isWorkingSignal: Signal<boolean>;
26
- readonly icon: import("@angular/core").InputSignal<Maybe<string>>;
27
- readonly text: import("@angular/core").InputSignal<Maybe<string>>;
28
- readonly buttonDisplayContentSignal: Signal<DbxButtonDisplay>;
29
- readonly buttonDisplayTypeSignal: Signal<DbxButtonDisplayType>;
30
- readonly iconSignal: Signal<Maybe<string>>;
31
- readonly textSignal: Signal<Maybe<string>>;
32
- readonly disabled$: import("rxjs").Observable<boolean>;
33
- readonly working$: import("rxjs").Observable<import("@dereekb/dbx-core").DbxActionWorkOrWorkProgress>;
34
- readonly display$: import("rxjs").Observable<DbxButtonDisplay>;
35
- readonly clicked$: import("rxjs").Observable<void>;
36
- ngOnInit(): void;
37
- ngOnDestroy(): void;
38
- setDisabled(disabled?: Maybe<boolean>): void;
39
- setWorking(working?: Maybe<DbxButtonWorking>): void;
40
- setDisplayContent(content: DbxButtonDisplay): void;
41
- /**
42
- * Sets the button interceptor. If any interceptor is already set, it is replaced.
43
- */
44
- setButtonInterceptor(interceptor: DbxButtonInterceptor): void;
45
- /**
46
- * Main function to use for handling clicks on the button.
47
- */
48
- clickButton(): void;
49
- /**
50
- * Forces a button click. Skips the interceptors if any are configured.
51
- */
52
- protected _forceButtonClicked(): void;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxButtonDirective, never>;
54
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxButtonDirective, never, never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "working": { "alias": "working"; "required": false; "isSignal": true; }; "buttonDisplay": { "alias": "buttonDisplay"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
55
- }
56
- /**
57
- * Provides an DbxButton directive.
58
- */
59
- export declare class DbxButtonDirective extends AbstractDbxButtonDirective {
60
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonDirective, never>;
61
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxButtonDirective, "[dbxButton]", ["dbxButton"], {}, {}, never, never, true, never>;
62
- }
@@ -1,18 +0,0 @@
1
- import { LoadingContext, MaybeObservableOrValue } from '@dereekb/rxjs';
2
- import { AbstractSubscriptionDirective } from '../subscription/subscription.directive';
3
- import { DbxButton } from './button';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Context used for linking a button to a LoadingContext.
7
- *
8
- * It will be set working when the context is set loading.
9
- */
10
- export declare class DbxLoadingButtonDirective extends AbstractSubscriptionDirective {
11
- readonly dbxButton: DbxButton;
12
- readonly context: import("@angular/core").InputSignal<MaybeObservableOrValue<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
13
- readonly context$: import("rxjs").Observable<import("dist/packages/util/src").Maybe<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
14
- readonly contextSignal: import("@angular/core").Signal<import("dist/packages/util/src").Maybe<LoadingContext<import("@dereekb/rxjs").LoadingContextEvent>>>;
15
- protected readonly _loadingEffect: import("@angular/core").EffectRef;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingButtonDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxLoadingButtonDirective, "[dbxLoadingButton]", never, { "context": { "alias": "dbxLoadingButton"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
18
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./button.directive";
3
- import * as i2 from "./button.loading.directive";
4
- import * as i3 from "./action/action.button.trigger.directive";
5
- import * as i4 from "./action/action.button.directive";
6
- import * as i5 from "./router/button.segue.directive";
7
- /**
8
- * Exports the following directives:
9
- * - DbxButtonDirective
10
- * - DbxLoadingButtonDirective
11
- * - DbxActionButtonTriggerDirective
12
- * - DbxActionButtonDirective
13
- * - DbxButtonSegueDirective
14
- */
15
- export declare class DbxCoreButtonModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxCoreButtonModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxCoreButtonModule, never, [typeof i1.DbxButtonDirective, typeof i2.DbxLoadingButtonDirective, typeof i3.DbxActionButtonTriggerDirective, typeof i4.DbxActionButtonDirective, typeof i5.DbxButtonSegueDirective], [typeof i1.DbxButtonDirective, typeof i2.DbxLoadingButtonDirective, typeof i3.DbxActionButtonTriggerDirective, typeof i4.DbxActionButtonDirective, typeof i5.DbxButtonSegueDirective]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxCoreButtonModule>;
19
- }
@@ -1,6 +0,0 @@
1
- export * from './action';
2
- export * from './router';
3
- export * from './button.directive';
4
- export * from './button.loading.directive';
5
- export * from './button.module';
6
- export * from './button';
@@ -1,14 +0,0 @@
1
- import { type Maybe } from '@dereekb/util';
2
- import { AbstractSubscriptionDirective } from '../../subscription/subscription.directive';
3
- import { DbxButton } from '../button';
4
- import { DbxRouterService } from '../../router/router/service/router.service';
5
- import { SegueRef } from '../../router/segue';
6
- import * as i0 from "@angular/core";
7
- export declare class DbxButtonSegueDirective extends AbstractSubscriptionDirective {
8
- readonly dbxButton: DbxButton;
9
- readonly dbxRouterService: DbxRouterService;
10
- readonly segueRef: import("@angular/core").InputSignal<Maybe<SegueRef<object>>>;
11
- constructor();
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonSegueDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxButtonSegueDirective, "[dbxButtonSegue]", never, { "segueRef": { "alias": "dbxButtonSegue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
14
- }
@@ -1 +0,0 @@
1
- export * from './button.segue.directive';
@@ -1,42 +0,0 @@
1
- /**
2
- * A contextual state identifier for a specific section of the app.
3
- *
4
- * Some examples are:
5
- * - init: The default context that is initialized.
6
- * - public: A public part of the app.
7
- * - onboarding: The onboarding section of the app.
8
- * - app: The main portion of the app.
9
- *
10
- * More complex apps may have more sub-sections or app portions that could each have their own context state.
11
- */
12
- export type DbxAppContextState = string;
13
- /**
14
- * The init state of an app after the default context has been initialized.
15
- */
16
- export declare const DBX_INIT_APP_CONTEXT_STATE = "init";
17
- /**
18
- * The public state of an app, typically when a user opens up the site to a public page.
19
- */
20
- export declare const DBX_PUBLIC_APP_CONTEXT_STATE = "public";
21
- /**
22
- * The auth state of an app, typically when a user has not finished logging in.
23
- */
24
- export declare const DBX_AUTH_APP_CONTEXT_STATE = "auth";
25
- /**
26
- * The onboarding state of an app, typically when a user has completed auth but not finished setting up their account.
27
- */
28
- export declare const DBX_ONBOARD_APP_CONTEXT_STATE = "onboard";
29
- /**
30
- * The app state of an app, typically when a user has completed auth and onboarding.
31
- */
32
- export declare const DBX_APP_APP_CONTEXT_STATE = "app";
33
- /**
34
- * Default AppContextStates.
35
- *
36
- * Your app may not use these, but this type is available for convenience.
37
- */
38
- export type DbxKnownAppContextState = typeof DBX_INIT_APP_CONTEXT_STATE | typeof DBX_PUBLIC_APP_CONTEXT_STATE | typeof DBX_AUTH_APP_CONTEXT_STATE | typeof DBX_ONBOARD_APP_CONTEXT_STATE | typeof DBX_APP_APP_CONTEXT_STATE;
39
- /**
40
- * Array of all DbxKnownAppContextState values, minus the init state.
41
- */
42
- export declare const DBX_KNOWN_APP_CONTEXT_STATES: DbxKnownAppContextState[];
@@ -1,13 +0,0 @@
1
- import { DbxAppContextService } from './context.service';
2
- import { type Maybe } from '@dereekb/util';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Used to set the DbxAppContextState for an app to the input state using the DbxAppContextService.
6
- */
7
- export declare class DbxAppContextStateDirective {
8
- readonly dbxAppContextStateService: DbxAppContextService;
9
- readonly state: import("@angular/core").InputSignal<Maybe<string>>;
10
- protected readonly _stateEffect: import("@angular/core").EffectRef;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxAppContextStateDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxAppContextStateDirective, "[dbxAppContextState]", never, { "state": { "alias": "dbxAppContextState"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./context.directive";
3
- /**
4
- * @deprecated Use provideDbxAppContextState() and import DbxAppContextStateDirective directly. DbxAppContextStateDirective is now standalone.
5
- */
6
- export declare class DbxAppContextStateModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxAppContextStateModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxAppContextStateModule, never, [typeof i1.DbxAppContextStateDirective], [typeof i1.DbxAppContextStateDirective]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxAppContextStateModule>;
10
- }
@@ -1,7 +0,0 @@
1
- import { type EnvironmentProviders } from '@angular/core';
2
- /**
3
- * Creates EnvironmentProviders for providing the DbxAppContext state.
4
- *
5
- * @returns EnvironmentProviders
6
- */
7
- export declare function provideDbxAppContextState(): EnvironmentProviders;
@@ -1,14 +0,0 @@
1
- import { Store } from '@ngrx/store';
2
- import { DbxAppContextState } from './context';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * State for accessing the app's DbxAppContextState defined within the DbxAppContextFullState for the ngrx store.
6
- */
7
- export declare class DbxAppContextService {
8
- readonly store: Store<any>;
9
- readonly state$: import("rxjs").Observable<string>;
10
- setState(state: DbxAppContextState): void;
11
- resetState(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxAppContextService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<DbxAppContextService>;
14
- }
@@ -1,6 +0,0 @@
1
- export * from './state';
2
- export * from './context';
3
- export * from './context.directive';
4
- export * from './context.module';
5
- export * from './context.providers';
6
- export * from './context.service';
@@ -1,13 +0,0 @@
1
- import { type DbxAppContextState } from '../../context';
2
- /**
3
- * Action to set the current DbxAppContextState value.
4
- */
5
- export declare const setState: import("@ngrx/store").ActionCreator<"[App/Context] Set State", (props: {
6
- state: DbxAppContextState;
7
- }) => {
8
- state: DbxAppContextState;
9
- } & import("@ngrx/store").Action<"[App/Context] Set State">>;
10
- /**
11
- * Resets the app back to the init context.
12
- */
13
- export declare const resetState: import("@ngrx/store").ActionCreator<"[App/Context] Reset", () => import("@ngrx/store").Action<"[App/Context] Reset">>;
@@ -1,6 +0,0 @@
1
- import * as DbxAppContextActions from './data.action';
2
- export {
3
- /**
4
- * Accessor for the DbxAppContextStateData in our DbxAppContextFeatureState.
5
- */
6
- DbxAppContextActions };