@dereekb/dbx-web 0.0.1

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 (324) hide show
  1. package/README.md +7 -0
  2. package/dereekb-dbx-web.d.ts +5 -0
  3. package/esm2020/dereekb-dbx-web.mjs +5 -0
  4. package/esm2020/index.mjs +3 -0
  5. package/esm2020/lib/action/action.confirm.directive.mjs +52 -0
  6. package/esm2020/lib/action/action.module.mjs +63 -0
  7. package/esm2020/lib/action/action.snackbar.component.mjs +105 -0
  8. package/esm2020/lib/action/index.mjs +6 -0
  9. package/esm2020/lib/action/key.trigger.directive.mjs +40 -0
  10. package/esm2020/lib/action/transition/action.transition.module.mjs +50 -0
  11. package/esm2020/lib/action/transition/index.mjs +4 -0
  12. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +61 -0
  13. package/esm2020/lib/action/transition/transition.safety.directive.mjs +156 -0
  14. package/esm2020/lib/button/button.component.mjs +92 -0
  15. package/esm2020/lib/button/button.module.mjs +43 -0
  16. package/esm2020/lib/button/button.spacer.component.mjs +18 -0
  17. package/esm2020/lib/button/index.mjs +4 -0
  18. package/esm2020/lib/dbx-web.module.mjs +50 -0
  19. package/esm2020/lib/error/error.action.directive.mjs +32 -0
  20. package/esm2020/lib/error/error.api.mjs +47 -0
  21. package/esm2020/lib/error/error.component.mjs +27 -0
  22. package/esm2020/lib/error/error.loading.directive.mjs +42 -0
  23. package/esm2020/lib/error/error.module.mjs +36 -0
  24. package/esm2020/lib/error/index.mjs +7 -0
  25. package/esm2020/lib/error/state.mjs +17 -0
  26. package/esm2020/lib/index.mjs +10 -0
  27. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +27 -0
  28. package/esm2020/lib/interaction/dialog/index.mjs +2 -0
  29. package/esm2020/lib/interaction/index.mjs +5 -0
  30. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +24 -0
  31. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +63 -0
  32. package/esm2020/lib/interaction/popover/index.mjs +15 -0
  33. package/esm2020/lib/interaction/popover/popover.action.button.directive.mjs +29 -0
  34. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +83 -0
  35. package/esm2020/lib/interaction/popover/popover.component.mjs +143 -0
  36. package/esm2020/lib/interaction/popover/popover.content.component.mjs +55 -0
  37. package/esm2020/lib/interaction/popover/popover.controls.component.mjs +35 -0
  38. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +44 -0
  39. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +40 -0
  40. package/esm2020/lib/interaction/popover/popover.header.component.mjs +52 -0
  41. package/esm2020/lib/interaction/popover/popover.mjs +3 -0
  42. package/esm2020/lib/interaction/popover/popover.module.mjs +108 -0
  43. package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +61 -0
  44. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +53 -0
  45. package/esm2020/lib/interaction/popover/popover.service.mjs +45 -0
  46. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +21 -0
  47. package/esm2020/lib/interaction/popup/index.mjs +11 -0
  48. package/esm2020/lib/interaction/popup/popup.component.mjs +138 -0
  49. package/esm2020/lib/interaction/popup/popup.content.component.mjs +40 -0
  50. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +72 -0
  51. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +33 -0
  52. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +44 -0
  53. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +40 -0
  54. package/esm2020/lib/interaction/popup/popup.mjs +9 -0
  55. package/esm2020/lib/interaction/popup/popup.module.mjs +81 -0
  56. package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +45 -0
  57. package/esm2020/lib/interaction/popup/popup.service.mjs +42 -0
  58. package/esm2020/lib/interaction/prompt/index.mjs +10 -0
  59. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +35 -0
  60. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +35 -0
  61. package/esm2020/lib/interaction/prompt/prompt.component.mjs +21 -0
  62. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +51 -0
  63. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +27 -0
  64. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +69 -0
  65. package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +9 -0
  66. package/esm2020/lib/interaction/prompt/prompt.module.mjs +77 -0
  67. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +32 -0
  68. package/esm2020/lib/keypress/index.mjs +3 -0
  69. package/esm2020/lib/keypress/keydown.listener.directive.mjs +45 -0
  70. package/esm2020/lib/keypress/keypress.module.mjs +26 -0
  71. package/esm2020/lib/layout/block/block.layout.module.mjs +37 -0
  72. package/esm2020/lib/layout/block/index.mjs +3 -0
  73. package/esm2020/lib/layout/block/two.block.component.mjs +55 -0
  74. package/esm2020/lib/layout/card/card.box.component.mjs +49 -0
  75. package/esm2020/lib/layout/card/card.box.container.component.mjs +25 -0
  76. package/esm2020/lib/layout/card/card.box.layout.module.mjs +35 -0
  77. package/esm2020/lib/layout/card/index.mjs +4 -0
  78. package/esm2020/lib/layout/column/column.layout.module.mjs +21 -0
  79. package/esm2020/lib/layout/column/index.mjs +4 -0
  80. package/esm2020/lib/layout/column/one/index.mjs +3 -0
  81. package/esm2020/lib/layout/column/one/one.column.component.mjs +46 -0
  82. package/esm2020/lib/layout/column/one/one.column.module.mjs +30 -0
  83. package/esm2020/lib/layout/column/two/index.mjs +9 -0
  84. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +33 -0
  85. package/esm2020/lib/layout/column/two/two.column.component.mjs +36 -0
  86. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +40 -0
  87. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +30 -0
  88. package/esm2020/lib/layout/column/two/two.column.module.mjs +67 -0
  89. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +55 -0
  90. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +34 -0
  91. package/esm2020/lib/layout/column/two/two.column.store.mjs +80 -0
  92. package/esm2020/lib/layout/compact/compact.directive.mjs +30 -0
  93. package/esm2020/lib/layout/compact/compact.layout.module.mjs +29 -0
  94. package/esm2020/lib/layout/compact/compact.mjs +27 -0
  95. package/esm2020/lib/layout/compact/compact.store.mjs +19 -0
  96. package/esm2020/lib/layout/compact/index.mjs +5 -0
  97. package/esm2020/lib/layout/content/content.bordered.component.mjs +26 -0
  98. package/esm2020/lib/layout/content/content.component.mjs +32 -0
  99. package/esm2020/lib/layout/content/content.container.component.mjs +66 -0
  100. package/esm2020/lib/layout/content/content.container.fullwidth.component.mjs +26 -0
  101. package/esm2020/lib/layout/content/content.layout.module.mjs +44 -0
  102. package/esm2020/lib/layout/content/index.mjs +6 -0
  103. package/esm2020/lib/layout/dialog/dialog.content.component.mjs +37 -0
  104. package/esm2020/lib/layout/dialog/dialog.layout.module.mjs +29 -0
  105. package/esm2020/lib/layout/dialog/index.mjs +3 -0
  106. package/esm2020/lib/layout/flag/flag.component.mjs +36 -0
  107. package/esm2020/lib/layout/flag/flag.layout.module.mjs +38 -0
  108. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +38 -0
  109. package/esm2020/lib/layout/flag/index.mjs +4 -0
  110. package/esm2020/lib/layout/index.mjs +13 -0
  111. package/esm2020/lib/layout/item/index.mjs +3 -0
  112. package/esm2020/lib/layout/item/item.icon.component.mjs +47 -0
  113. package/esm2020/lib/layout/item/item.layout.module.mjs +30 -0
  114. package/esm2020/lib/layout/layout.module.mjs +57 -0
  115. package/esm2020/lib/layout/list/index.mjs +3 -0
  116. package/esm2020/lib/layout/list/list.empty.component.mjs +26 -0
  117. package/esm2020/lib/layout/list/list.layout.module.mjs +26 -0
  118. package/esm2020/lib/layout/section/index.mjs +9 -0
  119. package/esm2020/lib/layout/section/section.box.anchor.component.mjs +39 -0
  120. package/esm2020/lib/layout/section/section.box.component.mjs +32 -0
  121. package/esm2020/lib/layout/section/section.component.mjs +54 -0
  122. package/esm2020/lib/layout/section/section.elevated.component.mjs +26 -0
  123. package/esm2020/lib/layout/section/section.intro.component.mjs +67 -0
  124. package/esm2020/lib/layout/section/section.layout.module.mjs +75 -0
  125. package/esm2020/lib/layout/section/section.page.component.mjs +46 -0
  126. package/esm2020/lib/layout/section/subsection.component.mjs +35 -0
  127. package/esm2020/lib/layout/step/index.mjs +3 -0
  128. package/esm2020/lib/layout/step/step.component.mjs +21 -0
  129. package/esm2020/lib/layout/step/step.layout.module.mjs +30 -0
  130. package/esm2020/lib/loading/basic-loading.component.mjs +116 -0
  131. package/esm2020/lib/loading/index.mjs +5 -0
  132. package/esm2020/lib/loading/loading-progress.component.mjs +69 -0
  133. package/esm2020/lib/loading/loading.component.mjs +95 -0
  134. package/esm2020/lib/loading/loading.module.mjs +53 -0
  135. package/esm2020/lib/router/anchor/anchor.component.mjs +50 -0
  136. package/esm2020/lib/router/anchor/anchor.icon.component.mjs +30 -0
  137. package/esm2020/lib/router/anchor/anchor.module.mjs +43 -0
  138. package/esm2020/lib/router/anchor/anchor.segue.directive.mjs +32 -0
  139. package/esm2020/lib/router/anchor/index.mjs +5 -0
  140. package/esm2020/lib/router/index.mjs +3 -0
  141. package/esm2020/lib/router/provider/index.mjs +4 -0
  142. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +18 -0
  143. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +46 -0
  144. package/esm2020/lib/router/provider/ngrouter/index.mjs +3 -0
  145. package/esm2020/lib/router/provider/router.provider.config.mjs +3 -0
  146. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +18 -0
  147. package/esm2020/lib/router/provider/uirouter/index.mjs +3 -0
  148. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +46 -0
  149. package/esm2020/lib/text/hint.component.mjs +15 -0
  150. package/esm2020/lib/text/index.mjs +13 -0
  151. package/esm2020/lib/text/label.bar.component.mjs +32 -0
  152. package/esm2020/lib/text/label.component.mjs +18 -0
  153. package/esm2020/lib/text/link.component.mjs +36 -0
  154. package/esm2020/lib/text/linkify.component.mjs +48 -0
  155. package/esm2020/lib/text/note.component.mjs +15 -0
  156. package/esm2020/lib/text/notice.component.mjs +15 -0
  157. package/esm2020/lib/text/ok.component.mjs +15 -0
  158. package/esm2020/lib/text/success.component.mjs +15 -0
  159. package/esm2020/lib/text/text.chips.component.mjs +32 -0
  160. package/esm2020/lib/text/text.module.mjs +92 -0
  161. package/esm2020/lib/text/warn.component.mjs +15 -0
  162. package/fesm2015/dereekb-dbx-web.mjs +4914 -0
  163. package/fesm2015/dereekb-dbx-web.mjs.map +1 -0
  164. package/fesm2020/dereekb-dbx-web.mjs +4885 -0
  165. package/fesm2020/dereekb-dbx-web.mjs.map +1 -0
  166. package/index.d.ts +2 -0
  167. package/lib/action/action.confirm.directive.d.ts +23 -0
  168. package/lib/action/action.module.d.ts +16 -0
  169. package/lib/action/action.snackbar.component.d.ts +22 -0
  170. package/lib/action/index.d.ts +5 -0
  171. package/lib/action/key.trigger.directive.d.ts +17 -0
  172. package/lib/action/transition/action.transition.module.d.ts +18 -0
  173. package/lib/action/transition/index.d.ts +3 -0
  174. package/lib/action/transition/transition.safety.dialog.component.d.ts +19 -0
  175. package/lib/action/transition/transition.safety.directive.d.ts +52 -0
  176. package/lib/button/button.component.d.ts +25 -0
  177. package/lib/button/button.module.d.ts +12 -0
  178. package/lib/button/button.spacer.component.d.ts +8 -0
  179. package/lib/button/index.d.ts +3 -0
  180. package/lib/dbx-web.module.d.ts +16 -0
  181. package/lib/error/error.action.directive.d.ts +15 -0
  182. package/lib/error/error.api.d.ts +13 -0
  183. package/lib/error/error.component.d.ts +14 -0
  184. package/lib/error/error.loading.directive.d.ts +19 -0
  185. package/lib/error/error.module.d.ts +10 -0
  186. package/lib/error/index.d.ts +6 -0
  187. package/lib/error/state.d.ts +15 -0
  188. package/lib/index.d.ts +9 -0
  189. package/lib/interaction/dialog/abstract.dialog.directive.d.ts +14 -0
  190. package/lib/interaction/dialog/index.d.ts +1 -0
  191. package/lib/interaction/index.d.ts +4 -0
  192. package/lib/interaction/popover/abstract.popover.directive.d.ts +13 -0
  193. package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +30 -0
  194. package/lib/interaction/popover/index.d.ts +14 -0
  195. package/lib/interaction/popover/popover.action.button.directive.d.ts +14 -0
  196. package/lib/interaction/popover/popover.action.directive.d.ts +33 -0
  197. package/lib/interaction/popover/popover.component.d.ts +75 -0
  198. package/lib/interaction/popover/popover.content.component.d.ts +17 -0
  199. package/lib/interaction/popover/popover.controls.component.d.ts +10 -0
  200. package/lib/interaction/popover/popover.coordinator.component.d.ts +18 -0
  201. package/lib/interaction/popover/popover.coordinator.service.d.ts +14 -0
  202. package/lib/interaction/popover/popover.d.ts +16 -0
  203. package/lib/interaction/popover/popover.header.component.d.ts +12 -0
  204. package/lib/interaction/popover/popover.module.d.ts +26 -0
  205. package/lib/interaction/popover/popover.position.strategy.d.ts +11 -0
  206. package/lib/interaction/popover/popover.scroll.content.component.d.ts +14 -0
  207. package/lib/interaction/popover/popover.service.d.ts +22 -0
  208. package/lib/interaction/popup/abstract.popup.directive.d.ts +12 -0
  209. package/lib/interaction/popup/index.d.ts +10 -0
  210. package/lib/interaction/popup/popup.component.d.ts +60 -0
  211. package/lib/interaction/popup/popup.content.component.d.ts +12 -0
  212. package/lib/interaction/popup/popup.controls.buttons.component.d.ts +18 -0
  213. package/lib/interaction/popup/popup.controls.component.d.ts +9 -0
  214. package/lib/interaction/popup/popup.coordinator.component.d.ts +18 -0
  215. package/lib/interaction/popup/popup.coordinator.service.d.ts +15 -0
  216. package/lib/interaction/popup/popup.d.ts +25 -0
  217. package/lib/interaction/popup/popup.module.d.ts +20 -0
  218. package/lib/interaction/popup/popup.position.strategy.d.ts +18 -0
  219. package/lib/interaction/popup/popup.service.d.ts +20 -0
  220. package/lib/interaction/prompt/index.d.ts +9 -0
  221. package/lib/interaction/prompt/prompt.box.component.d.ts +8 -0
  222. package/lib/interaction/prompt/prompt.button.confirm.directive.d.ts +17 -0
  223. package/lib/interaction/prompt/prompt.component.d.ts +12 -0
  224. package/lib/interaction/prompt/prompt.confirm.component.d.ts +34 -0
  225. package/lib/interaction/prompt/prompt.confirm.d.ts +7 -0
  226. package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +12 -0
  227. package/lib/interaction/prompt/prompt.confirm.directive.d.ts +31 -0
  228. package/lib/interaction/prompt/prompt.module.d.ts +20 -0
  229. package/lib/interaction/prompt/prompt.page.component.d.ts +5 -0
  230. package/lib/keypress/index.d.ts +2 -0
  231. package/lib/keypress/keydown.listener.directive.d.ts +12 -0
  232. package/lib/keypress/keypress.module.d.ts +8 -0
  233. package/lib/layout/block/block.layout.module.d.ts +13 -0
  234. package/lib/layout/block/index.d.ts +2 -0
  235. package/lib/layout/block/two.block.component.d.ts +16 -0
  236. package/lib/layout/card/card.box.component.d.ts +10 -0
  237. package/lib/layout/card/card.box.container.component.d.ts +8 -0
  238. package/lib/layout/card/card.box.layout.module.d.ts +10 -0
  239. package/lib/layout/card/index.d.ts +3 -0
  240. package/lib/layout/column/column.layout.module.d.ts +8 -0
  241. package/lib/layout/column/index.d.ts +3 -0
  242. package/lib/layout/column/one/index.d.ts +2 -0
  243. package/lib/layout/column/one/one.column.component.d.ts +12 -0
  244. package/lib/layout/column/one/one.column.module.d.ts +9 -0
  245. package/lib/layout/column/two/index.d.ts +8 -0
  246. package/lib/layout/column/two/two.column.back.directive.d.ts +16 -0
  247. package/lib/layout/column/two/two.column.component.d.ts +21 -0
  248. package/lib/layout/column/two/two.column.full.left.directive.d.ts +18 -0
  249. package/lib/layout/column/two/two.column.head.component.d.ts +10 -0
  250. package/lib/layout/column/two/two.column.module.d.ts +17 -0
  251. package/lib/layout/column/two/two.column.right.component.d.ts +24 -0
  252. package/lib/layout/column/two/two.column.sref.directive.d.ts +14 -0
  253. package/lib/layout/column/two/two.column.store.d.ts +67 -0
  254. package/lib/layout/compact/compact.d.ts +16 -0
  255. package/lib/layout/compact/compact.directive.d.ts +14 -0
  256. package/lib/layout/compact/compact.layout.module.d.ts +11 -0
  257. package/lib/layout/compact/compact.store.d.ts +13 -0
  258. package/lib/layout/compact/index.d.ts +4 -0
  259. package/lib/layout/content/content.bordered.component.d.ts +8 -0
  260. package/lib/layout/content/content.component.d.ts +9 -0
  261. package/lib/layout/content/content.container.component.d.ts +34 -0
  262. package/lib/layout/content/content.container.fullwidth.component.d.ts +8 -0
  263. package/lib/layout/content/content.layout.module.d.ts +14 -0
  264. package/lib/layout/content/index.d.ts +5 -0
  265. package/lib/layout/dialog/dialog.content.component.d.ts +13 -0
  266. package/lib/layout/dialog/dialog.layout.module.d.ts +11 -0
  267. package/lib/layout/dialog/index.d.ts +2 -0
  268. package/lib/layout/flag/flag.component.d.ts +10 -0
  269. package/lib/layout/flag/flag.layout.module.d.ts +13 -0
  270. package/lib/layout/flag/flag.prompt.component.d.ts +11 -0
  271. package/lib/layout/flag/index.d.ts +3 -0
  272. package/lib/layout/index.d.ts +12 -0
  273. package/lib/layout/item/index.d.ts +2 -0
  274. package/lib/layout/item/item.icon.component.d.ts +10 -0
  275. package/lib/layout/item/item.layout.module.d.ts +9 -0
  276. package/lib/layout/layout.module.d.ts +17 -0
  277. package/lib/layout/list/index.d.ts +2 -0
  278. package/lib/layout/list/list.empty.component.d.ts +8 -0
  279. package/lib/layout/list/list.layout.module.d.ts +8 -0
  280. package/lib/layout/section/index.d.ts +8 -0
  281. package/lib/layout/section/section.box.anchor.component.d.ts +11 -0
  282. package/lib/layout/section/section.box.component.d.ts +9 -0
  283. package/lib/layout/section/section.component.d.ts +12 -0
  284. package/lib/layout/section/section.elevated.component.d.ts +8 -0
  285. package/lib/layout/section/section.intro.component.d.ts +16 -0
  286. package/lib/layout/section/section.layout.module.d.ts +21 -0
  287. package/lib/layout/section/section.page.component.d.ts +10 -0
  288. package/lib/layout/section/subsection.component.d.ts +9 -0
  289. package/lib/layout/step/index.d.ts +2 -0
  290. package/lib/layout/step/step.component.d.ts +9 -0
  291. package/lib/layout/step/step.layout.module.d.ts +9 -0
  292. package/lib/loading/basic-loading.component.d.ts +46 -0
  293. package/lib/loading/index.d.ts +4 -0
  294. package/lib/loading/loading-progress.component.d.ts +24 -0
  295. package/lib/loading/loading.component.d.ts +37 -0
  296. package/lib/loading/loading.module.d.ts +13 -0
  297. package/lib/router/anchor/anchor.component.d.ts +24 -0
  298. package/lib/router/anchor/anchor.icon.component.d.ts +11 -0
  299. package/lib/router/anchor/anchor.module.d.ts +12 -0
  300. package/lib/router/anchor/anchor.segue.directive.d.ts +20 -0
  301. package/lib/router/anchor/index.d.ts +4 -0
  302. package/lib/router/index.d.ts +2 -0
  303. package/lib/router/provider/index.d.ts +3 -0
  304. package/lib/router/provider/ngrouter/anchor.component.d.ts +9 -0
  305. package/lib/router/provider/ngrouter/angular.router.module.d.ts +12 -0
  306. package/lib/router/provider/ngrouter/index.d.ts +2 -0
  307. package/lib/router/provider/router.provider.config.d.ts +7 -0
  308. package/lib/router/provider/uirouter/anchor.component.d.ts +9 -0
  309. package/lib/router/provider/uirouter/index.d.ts +2 -0
  310. package/lib/router/provider/uirouter/uirouter.router.module.d.ts +12 -0
  311. package/lib/text/hint.component.d.ts +5 -0
  312. package/lib/text/index.d.ts +12 -0
  313. package/lib/text/label.bar.component.d.ts +10 -0
  314. package/lib/text/label.component.d.ts +8 -0
  315. package/lib/text/link.component.d.ts +9 -0
  316. package/lib/text/linkify.component.d.ts +18 -0
  317. package/lib/text/note.component.d.ts +5 -0
  318. package/lib/text/notice.component.d.ts +5 -0
  319. package/lib/text/ok.component.d.ts +5 -0
  320. package/lib/text/success.component.d.ts +5 -0
  321. package/lib/text/text.chips.component.d.ts +13 -0
  322. package/lib/text/text.module.d.ts +22 -0
  323. package/lib/text/warn.component.d.ts +5 -0
  324. package/package.json +59 -0
@@ -0,0 +1,18 @@
1
+ import { DbNgxPopoverController } from './popover';
2
+ import { OnInit, OnDestroy } from '@angular/core';
3
+ import { DbNgxPopoverCoordinatorService } from './popover.coordinator.service';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Used for coordinating popovers and closing/replacing existing ones when a new popover of the same name appears.
7
+ */
8
+ export declare class DbNgxPopoverCoordinatorComponent implements OnInit, OnDestroy {
9
+ private readonly service;
10
+ private readonly popover;
11
+ readonly isPopoverForKey$: import("rxjs").Observable<boolean>;
12
+ readonly show$: import("rxjs").Observable<boolean>;
13
+ constructor(service: DbNgxPopoverCoordinatorService, popover: DbNgxPopoverController);
14
+ ngOnInit(): void;
15
+ ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopoverCoordinatorComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopoverCoordinatorComponent, "dbx-popover-coordinator", never, {}, {}, never, ["*"]>;
18
+ }
@@ -0,0 +1,14 @@
1
+ import { DbNgxPopoverKey, DbNgxPopoverController } from './popover';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Used for coordinating popovers and closing/replacing existing ones when a new popover of the same name appears.
5
+ */
6
+ export declare class DbNgxPopoverCoordinatorService {
7
+ private _popovers;
8
+ readonly popovers$: import("rxjs").Observable<Map<string, DbNgxPopoverController<any, any>>>;
9
+ get popovers(): Map<DbNgxPopoverKey, DbNgxPopoverController>;
10
+ addPopover(popover: DbNgxPopoverController): void;
11
+ removePopover(key: DbNgxPopoverKey, popover?: DbNgxPopoverController): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopoverCoordinatorService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<DbNgxPopoverCoordinatorService>;
14
+ }
@@ -0,0 +1,16 @@
1
+ import { Maybe } from "@dereekb/util";
2
+ import { Observable } from "rxjs";
3
+ export declare type DbNgxPopoverKey = string;
4
+ export declare abstract class DbNgxPopoverController<I = any, O = any> {
5
+ abstract readonly key: DbNgxPopoverKey;
6
+ abstract readonly data?: Maybe<I>;
7
+ abstract readonly closing$: Observable<boolean>;
8
+ /**
9
+ * Signals for the popover to close.
10
+ */
11
+ abstract close(): void;
12
+ /**
13
+ * Closes the popover and returns the input value.
14
+ */
15
+ abstract return(value?: O): void;
16
+ }
@@ -0,0 +1,12 @@
1
+ import { DbNgxPopoverContentComponent } from './popover.content.component';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Component used to format a header for a popover.
5
+ */
6
+ export declare class DbNgxPopoverHeaderComponent {
7
+ header?: string;
8
+ icon?: string;
9
+ constructor(appPopoverContentComponent: DbNgxPopoverContentComponent);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopoverHeaderComponent, [{ optional: true; }]>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopoverHeaderComponent, "dbx-popover-header", never, { "header": "header"; "icon": "icon"; }, {}, never, ["*"]>;
12
+ }
@@ -0,0 +1,26 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./popover.action.button.directive";
4
+ import * as i2 from "./popover.action.directive";
5
+ import * as i3 from "./popover.component";
6
+ import * as i4 from "./popover.coordinator.component";
7
+ import * as i5 from "./popover.content.component";
8
+ import * as i6 from "./popover.controls.component";
9
+ import * as i7 from "./popover.header.component";
10
+ import * as i8 from "./popover.scroll.content.component";
11
+ import * as i9 from "@angular/common";
12
+ import * as i10 from "@angular/material/icon";
13
+ import * as i11 from "@angular/material/button";
14
+ import * as i12 from "@angular/material/divider";
15
+ import * as i13 from "../../button/button.module";
16
+ import * as i14 from "../../router/anchor/anchor.module";
17
+ import * as i15 from "../../action/action.module";
18
+ import * as i16 from "../../keypress/keypress.module";
19
+ import * as i17 from "ng-overlay-container";
20
+ import * as i18 from "angular-resize-event";
21
+ export declare class DbNgxPopoverModule {
22
+ static forRoot(): ModuleWithProviders<DbNgxPopoverModule>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopoverModule, never>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxPopoverModule, [typeof i1.DbNgxPopoverActionButtonDirective, typeof i2.DbNgxPopoverActionDirective, typeof i3.DbNgxPopoverComponent, typeof i4.DbNgxPopoverCoordinatorComponent, typeof i5.DbNgxPopoverContentComponent, typeof i6.DbNgxPopoverControlsComponent, typeof i7.DbNgxPopoverHeaderComponent, typeof i8.DbNgxPopoverScrollContentComponent], [typeof i9.CommonModule, typeof i10.MatIconModule, typeof i11.MatButtonModule, typeof i12.MatDividerModule, typeof i13.DbNgxButtonModule, typeof i14.DbNgxAnchorModule, typeof i15.DbNgxActionModule, typeof i16.DbNgxKeypressModule, typeof i17.NgOverlayContainerModule, typeof i18.AngularResizeEventModule], [typeof i1.DbNgxPopoverActionButtonDirective, typeof i2.DbNgxPopoverActionDirective, typeof i5.DbNgxPopoverContentComponent, typeof i6.DbNgxPopoverControlsComponent, typeof i7.DbNgxPopoverHeaderComponent, typeof i8.DbNgxPopoverScrollContentComponent]>;
25
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxPopoverModule>;
26
+ }
@@ -0,0 +1,11 @@
1
+ import { FlexibleConnectedPositionStrategy, Overlay } from '@angular/cdk/overlay';
2
+ import { ElementRef } from '@angular/core';
3
+ import { NgOverlayContainerConfiguration } from 'ng-overlay-container';
4
+ export interface PopoverPositionStrategyConfig {
5
+ overlay: Overlay;
6
+ elementRef: ElementRef;
7
+ config: NgOverlayContainerConfiguration;
8
+ }
9
+ export declare class PopoverPositionStrategy {
10
+ static make(overlay: Overlay, elementRef: ElementRef, config: NgOverlayContainerConfiguration): FlexibleConnectedPositionStrategy;
11
+ }
@@ -0,0 +1,14 @@
1
+ import { DbNgxPopoverContentComponent } from './popover.content.component';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Popover scrollable content wrapper component.
5
+ */
6
+ export declare class DbNgxPopoverScrollContentComponent {
7
+ readonly appPopoverContentComponent: DbNgxPopoverContentComponent;
8
+ get sizingClasses(): string;
9
+ get hasHeader(): boolean;
10
+ get hasControls(): boolean;
11
+ constructor(appPopoverContentComponent: DbNgxPopoverContentComponent);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopoverScrollContentComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopoverScrollContentComponent, "dbx-popover-scroll-content", never, {}, {}, never, ["*"]>;
14
+ }
@@ -0,0 +1,22 @@
1
+ import { DbNgxPopoverComponentConfig } from './popover.component';
2
+ import { Injector } from '@angular/core';
3
+ import { NgPopoverRef } from 'ng-overlay-container';
4
+ import { Overlay } from '@angular/cdk/overlay';
5
+ import * as i0 from "@angular/core";
6
+ export interface DbNgxPopoverConfig<I, O, T> extends DbNgxPopoverComponentConfig<I, O, T> {
7
+ injector?: Injector;
8
+ height?: string;
9
+ width?: string;
10
+ }
11
+ /**
12
+ * Used for displaying a popover.
13
+ */
14
+ export declare class DbNgxPopoverService {
15
+ private _overlay;
16
+ private _injector;
17
+ private _overlayContainerService;
18
+ constructor(_overlay: Overlay, _injector: Injector);
19
+ open<I, O, T>(config: DbNgxPopoverConfig<I, O, T>): NgPopoverRef<DbNgxPopoverComponentConfig<I, O, T>, O>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopoverService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<DbNgxPopoverService>;
22
+ }
@@ -0,0 +1,12 @@
1
+ import { DbNgxPopupComponent } from './popup.component';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Abstract popup directive.
5
+ */
6
+ export declare abstract class AbstractPopupDirective<I = any, O = any, T = any> {
7
+ readonly popup: DbNgxPopupComponent<I, O, T>;
8
+ constructor(popup: DbNgxPopupComponent<I, O, T>);
9
+ closePopup(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPopupDirective<any, any, any>, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPopupDirective<any, any, any>, never, never, {}, {}, never>;
12
+ }
@@ -0,0 +1,10 @@
1
+ export * from './abstract.popup.directive';
2
+ export * from './popup.component';
3
+ export * from './popup.content.component';
4
+ export * from './popup.controls.buttons.component';
5
+ export * from './popup.controls.component';
6
+ export * from './popup.coordinator.component';
7
+ export * from './popup.coordinator.service';
8
+ export * from './popup.module';
9
+ export * from './popup.position.strategy';
10
+ export * from './popup.service';
@@ -0,0 +1,60 @@
1
+ import { ComponentFactoryResolver, NgZone, Type, OnInit, OnDestroy } from '@angular/core';
2
+ import { NgPopoverRef } from 'ng-overlay-container';
3
+ import { Maybe } from '@dereekb/util';
4
+ import { CompactContextStore } from '../../layout';
5
+ import { PopupPosition, PopupPositionOffset } from './popup.position.strategy';
6
+ import { AbstractTransitionWatcherDirective, DbNgxRouterTransitionService } from '@dereekb/dbx-core';
7
+ import { DbNgxPopupController, DbNgxPopupKey, DbNgxPopupWindowState } from './popup';
8
+ import * as i0 from "@angular/core";
9
+ export declare const APP_POPUP_NORMAL_WIDTH = "700px";
10
+ export declare const APP_POPUP_MINIMIZED_WIDTH = "300px";
11
+ export declare const APP_POPUP_NORMAL_HEIGHT = "auto";
12
+ export declare abstract class DbNgxPopupComponentController<I, O> extends DbNgxPopupController<I, O> {
13
+ getClosingValueFn?: (value?: I) => Promise<O>;
14
+ }
15
+ export interface DbNgxPopupComponentConfig<I, O, T> {
16
+ /**
17
+ * Key used for uniquely identifying a limited instance.
18
+ *
19
+ * Only one popup should exist at a time given a certain key.
20
+ */
21
+ key: DbNgxPopupKey;
22
+ position?: PopupPosition;
23
+ offset?: PopupPositionOffset;
24
+ closeOnTransition?: boolean;
25
+ componentClass: Type<T>;
26
+ data?: I;
27
+ isDraggable?: boolean;
28
+ init?: (component: T, controller: DbNgxPopupController<I, O>) => void;
29
+ }
30
+ /**
31
+ * Popup component.
32
+ */
33
+ export declare class DbNgxPopupComponent<I = any, O = any, T = any> extends AbstractTransitionWatcherDirective implements DbNgxPopupController<I, O>, OnInit, OnDestroy {
34
+ private popoverRef;
35
+ private compactContextState;
36
+ private resolver;
37
+ private _position;
38
+ private _content;
39
+ private _componentRef?;
40
+ private readonly closing;
41
+ readonly isClosing$: import("rxjs").Observable<boolean>;
42
+ readonly closing$: import("rxjs").Observable<boolean>;
43
+ private readonly _windowState;
44
+ readonly windowState$: import("rxjs").Observable<DbNgxPopupWindowState>;
45
+ getClosingValueFn?: (value?: I) => Promise<O>;
46
+ constructor(popoverRef: NgPopoverRef<DbNgxPopupComponentConfig<I, O, T>, O>, compactContextState: CompactContextStore, resolver: ComponentFactoryResolver, dbNgxRouterTransitionService: DbNgxRouterTransitionService, ngZone: NgZone);
47
+ get config(): DbNgxPopupComponentConfig<I, O, T>;
48
+ get key(): DbNgxPopupKey;
49
+ get data(): Maybe<I>;
50
+ ngOnInit(): void;
51
+ ngOnDestroy(): void;
52
+ protected updateForSuccessfulTransition(): void;
53
+ close(): void;
54
+ return(value?: O): void;
55
+ minimize(): void;
56
+ normalscreen(): void;
57
+ fullscreen(): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupComponent<any, any, any>, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopupComponent<any, any, any>, "ng-component", never, {}, {}, never, never>;
60
+ }
@@ -0,0 +1,12 @@
1
+ import { DbNgxPopupController } from './popup';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Popup content wrapper component.
5
+ */
6
+ export declare class DbNgxPopupContentComponent {
7
+ private appPopupController;
8
+ readonly showContent$: import("rxjs").Observable<boolean>;
9
+ constructor(appPopupController: DbNgxPopupController);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupContentComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopupContentComponent, "dbx-popup-content", never, {}, {}, never, ["[controls]", "*"]>;
12
+ }
@@ -0,0 +1,18 @@
1
+ import { DbNgxPopupController } from './popup';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Popup Control Buttons.
5
+ */
6
+ export declare class DbNgxPopupControlButtonsComponent {
7
+ private appPopupController;
8
+ readonly isMinimized$: import("rxjs").Observable<boolean>;
9
+ readonly isFullscreen$: import("rxjs").Observable<boolean>;
10
+ constructor(appPopupController: DbNgxPopupController);
11
+ minimizeClicked(): void;
12
+ maximizeClicked(): void;
13
+ fullscreenClicked(): void;
14
+ normalscreenClicked(): void;
15
+ closeClicked(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupControlButtonsComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopupControlButtonsComponent, "dbx-popup-control-buttons", never, {}, {}, never, never>;
18
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Popup Controls
4
+ */
5
+ export declare class DbNgxPopupControlsComponent {
6
+ header?: string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupControlsComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopupControlsComponent, "dbx-popup-controls", never, { "header": "header"; }, {}, never, never>;
9
+ }
@@ -0,0 +1,18 @@
1
+ import { DbNgxPopupController } from './popup';
2
+ import { OnInit, OnDestroy } from '@angular/core';
3
+ import { DbNgxPopupCoordinatorService } from './popup.coordinator.service';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
7
+ */
8
+ export declare class DbNgxPopupCoordinatorComponent implements OnInit, OnDestroy {
9
+ private readonly service;
10
+ private readonly popup;
11
+ readonly isPopupForKey$: import("rxjs").Observable<boolean>;
12
+ readonly show$: import("rxjs").Observable<boolean>;
13
+ constructor(service: DbNgxPopupCoordinatorService, popup: DbNgxPopupController);
14
+ ngOnInit(): void;
15
+ ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupCoordinatorComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPopupCoordinatorComponent, "dbx-popup-coordinator", never, {}, {}, never, ["*"]>;
18
+ }
@@ -0,0 +1,15 @@
1
+ import { DbNgxPopupKey, DbNgxPopupController } from './popup';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
5
+ */
6
+ export declare class DbNgxPopupCoordinatorService {
7
+ private _popups;
8
+ readonly popups$: import("rxjs").Observable<Map<string, DbNgxPopupController<any, any>>>;
9
+ constructor();
10
+ get popups(): Map<DbNgxPopupKey, DbNgxPopupController>;
11
+ addPopup(popup: DbNgxPopupController): void;
12
+ removePopup(key: DbNgxPopupKey, popup?: DbNgxPopupController): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupCoordinatorService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<DbNgxPopupCoordinatorService>;
15
+ }
@@ -0,0 +1,25 @@
1
+ import { Maybe } from '@dereekb/util';
2
+ import { Observable } from 'rxjs';
3
+ export declare type DbNgxPopupKey = string;
4
+ export declare enum DbNgxPopupWindowState {
5
+ NORMAL = "normal",
6
+ MINIMIZED = "minimized",
7
+ FULLSCREEN = "fullscreen"
8
+ }
9
+ export declare abstract class DbNgxPopupController<I = any, O = any> {
10
+ abstract readonly key: DbNgxPopupKey;
11
+ abstract readonly data?: Maybe<I>;
12
+ abstract readonly windowState$: Observable<DbNgxPopupWindowState>;
13
+ abstract readonly closing$: Observable<boolean>;
14
+ /**
15
+ * Signals for the popup to close.
16
+ */
17
+ abstract close(): void;
18
+ /**
19
+ * Closes the popup and returns the input value.
20
+ */
21
+ abstract return(value?: O): void;
22
+ abstract minimize(): void;
23
+ abstract normalscreen(): void;
24
+ abstract fullscreen(): void;
25
+ }
@@ -0,0 +1,20 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./popup.component";
4
+ import * as i2 from "./popup.coordinator.component";
5
+ import * as i3 from "./popup.content.component";
6
+ import * as i4 from "./popup.controls.component";
7
+ import * as i5 from "./popup.controls.buttons.component";
8
+ import * as i6 from "@angular/common";
9
+ import * as i7 from "@angular/material/icon";
10
+ import * as i8 from "@angular/material/button";
11
+ import * as i9 from "../../button/button.module";
12
+ import * as i10 from "../../router/anchor/anchor.module";
13
+ import * as i11 from "../../action/action.module";
14
+ import * as i12 from "ng-overlay-container";
15
+ export declare class DbNgxPopupModule {
16
+ static forRoot(): ModuleWithProviders<DbNgxPopupModule>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxPopupModule, [typeof i1.DbNgxPopupComponent, typeof i2.DbNgxPopupCoordinatorComponent, typeof i3.DbNgxPopupContentComponent, typeof i4.DbNgxPopupControlsComponent, typeof i5.DbNgxPopupControlButtonsComponent], [typeof i6.CommonModule, typeof i7.MatIconModule, typeof i8.MatButtonModule, typeof i9.DbNgxButtonModule, typeof i10.DbNgxAnchorModule, typeof i11.DbNgxActionModule, typeof i12.NgOverlayContainerModule], [typeof i3.DbNgxPopupContentComponent, typeof i4.DbNgxPopupControlsComponent, typeof i5.DbNgxPopupControlButtonsComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxPopupModule>;
20
+ }
@@ -0,0 +1,18 @@
1
+ import { GlobalPositionStrategy } from '@angular/cdk/overlay';
2
+ export declare enum PopupPosition {
3
+ CENTERED = "centered",
4
+ BOTTOM_LEFT = "bottom_left",
5
+ BOTTOM_RIGHT = "bottom_right"
6
+ }
7
+ export interface PopupPositionOffset {
8
+ x?: string;
9
+ y?: string;
10
+ }
11
+ export declare class PopupGlobalPositionStrategy extends GlobalPositionStrategy {
12
+ private _position;
13
+ private _offset;
14
+ constructor(position?: PopupPosition, offset?: PopupPositionOffset);
15
+ setPopupOffset(offset?: PopupPositionOffset): void;
16
+ setPopupPosition(position: PopupPosition, offset?: PopupPositionOffset): void;
17
+ private _resetPositions;
18
+ }
@@ -0,0 +1,20 @@
1
+ import { DbNgxPopupComponentConfig } from './popup.component';
2
+ import { Injector } from '@angular/core';
3
+ import { NgPopoverRef } from 'ng-overlay-container';
4
+ import { Overlay } from '@angular/cdk/overlay';
5
+ import * as i0 from "@angular/core";
6
+ export interface DbNgxPopupConfig<I, O, T> extends DbNgxPopupComponentConfig<I, O, T> {
7
+ injector?: Injector;
8
+ }
9
+ /**
10
+ * Used for displaying a popup.
11
+ */
12
+ export declare class DbNgxPopupService {
13
+ private _overlay;
14
+ private _injector;
15
+ private _overlayContainerService;
16
+ constructor(_overlay: Overlay, _injector: Injector);
17
+ open<I, O, T>(config: DbNgxPopupConfig<I, O, T>): NgPopoverRef<DbNgxPopupComponentConfig<I, O, T>, O>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPopupService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<DbNgxPopupService>;
20
+ }
@@ -0,0 +1,9 @@
1
+ export * from './prompt.box.component';
2
+ export * from './prompt.button.confirm.directive';
3
+ export * from './prompt.component';
4
+ export * from './prompt.confirm';
5
+ export * from './prompt.confirm.component';
6
+ export * from './prompt.confirm.dialog.component';
7
+ export * from './prompt.confirm.directive';
8
+ export * from './prompt.module';
9
+ export * from './prompt.page.component';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DbNgxPromptBoxComponent {
3
+ elevated: boolean;
4
+ fullWidth: boolean;
5
+ noPadding: boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptBoxComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPromptBoxComponent, "dbx-prompt-box", never, { "elevated": "elevated"; "fullWidth": "fullWidth"; "noPadding": "noPadding"; }, {}, never, ["*"]>;
8
+ }
@@ -0,0 +1,17 @@
1
+ import { DbNgxButtonDirective, DbNgxButtonInterceptor } from '@dereekb/dbx-core';
2
+ import { OnInit } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { DbNgxPromptConfirm } from './prompt.confirm';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Directive that binds together a confirm dialog with the button.
8
+ */
9
+ export declare class DbNgxPromptConfirmButtonDirective implements OnInit, DbNgxButtonInterceptor {
10
+ readonly appButton: DbNgxButtonDirective;
11
+ readonly prompt: DbNgxPromptConfirm;
12
+ readonly interceptButtonClick: () => Observable<boolean>;
13
+ constructor(appButton: DbNgxButtonDirective, prompt: DbNgxPromptConfirm);
14
+ ngOnInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptConfirmButtonDirective, [{ host: true; }, { host: true; }]>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbNgxPromptConfirmButtonDirective, "[dbxPromptConfirmButton]", never, {}, {}, never>;
17
+ }
@@ -0,0 +1,12 @@
1
+ import { Maybe } from '@dereekb/util';
2
+ import { DbNgxPromptBoxComponent } from './prompt.box.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Pre-configured prompt.
6
+ */
7
+ export declare class DbNgxPromptComponent extends DbNgxPromptBoxComponent {
8
+ header?: Maybe<string>;
9
+ prompt?: Maybe<string>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPromptComponent, "dbx-prompt", never, { "header": "header"; "prompt": "prompt"; }, {}, never, ["[hero]", "*"]>;
12
+ }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Maybe } from '@dereekb/util';
3
+ import * as i0 from "@angular/core";
4
+ export declare enum DbNgxPromptConfirmTypes {
5
+ /**
6
+ * Dialog is for yes/no.
7
+ */
8
+ NORMAL = "normal",
9
+ /**
10
+ * Dialog is for deleting something.
11
+ */
12
+ DELETE = "delete"
13
+ }
14
+ export interface DbNgxPromptConfirmConfig {
15
+ type?: DbNgxPromptConfirmTypes;
16
+ title?: string;
17
+ prompt?: string;
18
+ confirmText?: string;
19
+ cancelText?: string;
20
+ }
21
+ /**
22
+ * Displays a confirmation dialog.
23
+ */
24
+ export declare class DbNgxPromptConfirmComponent {
25
+ private _config;
26
+ confirm: EventEmitter<void>;
27
+ cancel: EventEmitter<void>;
28
+ get config(): DbNgxPromptConfirmConfig;
29
+ set config(config: Maybe<DbNgxPromptConfirmConfig>);
30
+ onConfirm(): void;
31
+ onCancel(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptConfirmComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPromptConfirmComponent, "dbx-prompt-confirm", never, { "config": "config"; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, ["*"]>;
34
+ }
@@ -0,0 +1,7 @@
1
+ import { Provider, Type } from '@angular/core';
2
+ import { Maybe } from '@dereekb/util';
3
+ import { Observable } from 'rxjs';
4
+ export declare abstract class DbNgxPromptConfirm {
5
+ abstract showDialog(): Observable<Maybe<boolean>>;
6
+ }
7
+ export declare function ProvideDbNgxPromptConfirm<S>(sourceType: Type<S>): Provider[];
@@ -0,0 +1,12 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Maybe } from '@dereekb/util';
3
+ import { AbstractDialogDirective } from '../../interaction/dialog/abstract.dialog.directive';
4
+ import { DbNgxPromptConfirmConfig } from './prompt.confirm.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DbNgxPromptConfirmDialogComponent extends AbstractDialogDirective implements OnInit {
7
+ config?: Maybe<DbNgxPromptConfirmConfig>;
8
+ confirm(): void;
9
+ cancel(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptConfirmDialogComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPromptConfirmDialogComponent, "ng-component", never, { "config": "config"; }, {}, never, never>;
12
+ }
@@ -0,0 +1,31 @@
1
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
+ import { Observable } from 'rxjs';
3
+ import { DbNgxPromptConfirm } from './prompt.confirm';
4
+ import { DbNgxPromptConfirmConfig } from './prompt.confirm.component';
5
+ import { DbNgxPromptConfirmDialogComponent } from './prompt.confirm.dialog.component';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Directive that when triggered shows a dialog to accept or reject.
9
+ */
10
+ export declare abstract class AbstractPromptConfirmDirective implements DbNgxPromptConfirm {
11
+ protected readonly dialog: MatDialog;
12
+ private static readonly DEFAULT_CONFIG;
13
+ config?: DbNgxPromptConfirmConfig;
14
+ private _dialogRef?;
15
+ private _dialogPromise?;
16
+ constructor(dialog: MatDialog);
17
+ showDialog(): Observable<boolean>;
18
+ protected _makeDialog(): MatDialogRef<DbNgxPromptConfirmDialogComponent, boolean>;
19
+ protected _handleDialogResult(result: boolean): boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPromptConfirmDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPromptConfirmDirective, never, never, {}, {}, never>;
22
+ }
23
+ /**
24
+ * Directive that shows a confirmation screen.
25
+ */
26
+ export declare class DbNgxPromptConfirmDirective<T, O> extends AbstractPromptConfirmDirective {
27
+ config?: DbNgxPromptConfirmConfig;
28
+ constructor(dialog: MatDialog);
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptConfirmDirective<any, any>, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbNgxPromptConfirmDirective<any, any>, "[dbxPromptConfirm]", never, { "config": "dbxPromptConfirm"; }, {}, never>;
31
+ }
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./prompt.component";
3
+ import * as i2 from "./prompt.box.component";
4
+ import * as i3 from "./prompt.page.component";
5
+ import * as i4 from "./prompt.confirm.component";
6
+ import * as i5 from "./prompt.button.confirm.directive";
7
+ import * as i6 from "./prompt.confirm.dialog.component";
8
+ import * as i7 from "./prompt.confirm.directive";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/material/dialog";
11
+ import * as i10 from "@angular/material/button";
12
+ import * as i11 from "../../text/text.module";
13
+ import * as i12 from "../../button/button.module";
14
+ import * as i13 from "../../layout/section/section.layout.module";
15
+ import * as i14 from "../../layout/content/content.layout.module";
16
+ export declare class DbNgxPromptModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxPromptModule, [typeof i1.DbNgxPromptComponent, typeof i2.DbNgxPromptBoxComponent, typeof i3.DbNgxPromptPageComponent, typeof i4.DbNgxPromptConfirmComponent, typeof i5.DbNgxPromptConfirmButtonDirective, typeof i6.DbNgxPromptConfirmDialogComponent, typeof i7.DbNgxPromptConfirmDirective], [typeof i8.CommonModule, typeof i9.MatDialogModule, typeof i10.MatButtonModule, typeof i11.DbNgxTextModule, typeof i12.DbNgxButtonModule, typeof i13.DbNgxSectionLayoutModule, typeof i14.DbNgxContentLayoutModule], [typeof i1.DbNgxPromptComponent, typeof i2.DbNgxPromptBoxComponent, typeof i3.DbNgxPromptPageComponent, typeof i4.DbNgxPromptConfirmComponent, typeof i5.DbNgxPromptConfirmButtonDirective, typeof i7.DbNgxPromptConfirmDirective]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxPromptModule>;
20
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DbNgxPromptPageComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxPromptPageComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbNgxPromptPageComponent, "dbx-prompt-page", never, {}, {}, never, ["*"]>;
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './keypress.module';
2
+ export * from './keydown.listener.directive';
@@ -0,0 +1,12 @@
1
+ import { OnDestroy, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DbNgxWindowKeyDownListenerDirective implements OnDestroy {
4
+ private _keysFilter?;
5
+ appWindowKeyDownEnabled: boolean;
6
+ keyPressed: EventEmitter<KeyboardEvent>;
7
+ set appWindowKeyDownFilter(filterOnKeys: string[]);
8
+ ngOnDestroy(): void;
9
+ handleKeyboardEvent(event: KeyboardEvent): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxWindowKeyDownListenerDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbNgxWindowKeyDownListenerDirective, "[dbxWindowKeyDownListener]", never, { "appWindowKeyDownEnabled": "appWindowKeyDownEnabled"; "appWindowKeyDownFilter": "appWindowKeyDownFilter"; }, { "keyPressed": "dbxWindowKeyDownListener"; }, never>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./keydown.listener.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class DbNgxKeypressModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxKeypressModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxKeypressModule, [typeof i1.DbNgxWindowKeyDownListenerDirective], [typeof i2.CommonModule], [typeof i1.DbNgxWindowKeyDownListenerDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxKeypressModule>;
8
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./two.block.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../router/anchor/anchor.module";
5
+ import * as i4 from "angular-resize-event";
6
+ /**
7
+ * Module for block components.
8
+ */
9
+ export declare class DbNgxBlockLayoutModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbNgxBlockLayoutModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbNgxBlockLayoutModule, [typeof i1.DbNgxTwoBlocksComponent], [typeof i2.CommonModule, typeof i3.DbNgxAnchorModule, typeof i4.AngularResizeEventModule], [typeof i1.DbNgxTwoBlocksComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<DbNgxBlockLayoutModule>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './block.layout.module';
2
+ export * from './two.block.component';