@dereekb/dbx-form 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 (378) hide show
  1. package/LICENSE +1 -1
  2. package/fesm2022/dereekb-dbx-form-calendar.mjs +86 -86
  3. package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
  4. package/fesm2022/dereekb-dbx-form-mapbox.mjs +28 -28
  5. package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
  6. package/fesm2022/dereekb-dbx-form.mjs +429 -600
  7. package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
  8. package/lib/formly/field/value/phone/_phone.scss +1 -0
  9. package/lib/style/_theming.scss +196 -1
  10. package/package.json +26 -32
  11. package/types/dereekb-dbx-form-calendar.d.ts +679 -0
  12. package/types/dereekb-dbx-form-mapbox.d.ts +216 -0
  13. package/types/dereekb-dbx-form.d.ts +3050 -0
  14. package/calendar/index.d.ts +0 -1
  15. package/calendar/lib/calendar.module.d.ts +0 -19
  16. package/calendar/lib/calendar.schedule.selection.cell.component.d.ts +0 -16
  17. package/calendar/lib/calendar.schedule.selection.component.d.ts +0 -74
  18. package/calendar/lib/calendar.schedule.selection.d.ts +0 -29
  19. package/calendar/lib/calendar.schedule.selection.days.component.d.ts +0 -15
  20. package/calendar/lib/calendar.schedule.selection.days.form.component.d.ts +0 -10
  21. package/calendar/lib/calendar.schedule.selection.dialog.button.component.d.ts +0 -15
  22. package/calendar/lib/calendar.schedule.selection.dialog.component.d.ts +0 -24
  23. package/calendar/lib/calendar.schedule.selection.form.d.ts +0 -4
  24. package/calendar/lib/calendar.schedule.selection.popover.button.component.d.ts +0 -17
  25. package/calendar/lib/calendar.schedule.selection.popover.component.d.ts +0 -14
  26. package/calendar/lib/calendar.schedule.selection.popover.content.component.d.ts +0 -5
  27. package/calendar/lib/calendar.schedule.selection.range.component.d.ts +0 -52
  28. package/calendar/lib/calendar.schedule.selection.store.d.ts +0 -282
  29. package/calendar/lib/calendar.schedule.selection.store.provide.d.ts +0 -23
  30. package/calendar/lib/calendar.schedule.selection.toggle.button.component.d.ts +0 -18
  31. package/calendar/lib/field/index.d.ts +0 -1
  32. package/calendar/lib/field/schedule/calendar.schedule.field.component.d.ts +0 -102
  33. package/calendar/lib/field/schedule/calendar.schedule.field.d.ts +0 -6
  34. package/calendar/lib/field/schedule/calendar.schedule.module.d.ts +0 -8
  35. package/calendar/lib/field/schedule/index.d.ts +0 -3
  36. package/calendar/lib/index.d.ts +0 -17
  37. package/esm2022/calendar/dereekb-dbx-form-calendar.mjs +0 -5
  38. package/esm2022/calendar/index.mjs +0 -2
  39. package/esm2022/calendar/lib/calendar.module.mjs +0 -84
  40. package/esm2022/calendar/lib/calendar.schedule.selection.cell.component.mjs +0 -42
  41. package/esm2022/calendar/lib/calendar.schedule.selection.component.mjs +0 -156
  42. package/esm2022/calendar/lib/calendar.schedule.selection.days.component.mjs +0 -47
  43. package/esm2022/calendar/lib/calendar.schedule.selection.days.form.component.mjs +0 -22
  44. package/esm2022/calendar/lib/calendar.schedule.selection.dialog.button.component.mjs +0 -32
  45. package/esm2022/calendar/lib/calendar.schedule.selection.dialog.component.mjs +0 -59
  46. package/esm2022/calendar/lib/calendar.schedule.selection.form.mjs +0 -15
  47. package/esm2022/calendar/lib/calendar.schedule.selection.mjs +0 -31
  48. package/esm2022/calendar/lib/calendar.schedule.selection.popover.button.component.mjs +0 -50
  49. package/esm2022/calendar/lib/calendar.schedule.selection.popover.component.mjs +0 -41
  50. package/esm2022/calendar/lib/calendar.schedule.selection.popover.content.component.mjs +0 -34
  51. package/esm2022/calendar/lib/calendar.schedule.selection.range.component.mjs +0 -165
  52. package/esm2022/calendar/lib/calendar.schedule.selection.store.mjs +0 -785
  53. package/esm2022/calendar/lib/calendar.schedule.selection.store.provide.mjs +0 -48
  54. package/esm2022/calendar/lib/calendar.schedule.selection.toggle.button.component.mjs +0 -67
  55. package/esm2022/calendar/lib/field/index.mjs +0 -3
  56. package/esm2022/calendar/lib/field/schedule/calendar.schedule.field.component.mjs +0 -154
  57. package/esm2022/calendar/lib/field/schedule/calendar.schedule.field.mjs +0 -28
  58. package/esm2022/calendar/lib/field/schedule/calendar.schedule.module.mjs +0 -26
  59. package/esm2022/calendar/lib/field/schedule/index.mjs +0 -4
  60. package/esm2022/calendar/lib/index.mjs +0 -18
  61. package/esm2022/dereekb-dbx-form.mjs +0 -5
  62. package/esm2022/index.mjs +0 -2
  63. package/esm2022/lib/form/action/form.action.dialog.component.mjs +0 -79
  64. package/esm2022/lib/form/action/form.action.directive.mjs +0 -167
  65. package/esm2022/lib/form/action/form.action.module.mjs +0 -19
  66. package/esm2022/lib/form/action/index.mjs +0 -5
  67. package/esm2022/lib/form/action/transition/form.action.transition.module.mjs +0 -19
  68. package/esm2022/lib/form/action/transition/form.action.transition.safety.directive.mjs +0 -28
  69. package/esm2022/lib/form/action/transition/index.mjs +0 -3
  70. package/esm2022/lib/form/form.angular.util.mjs +0 -13
  71. package/esm2022/lib/form/form.mjs +0 -42
  72. package/esm2022/lib/form/form.module.mjs +0 -17
  73. package/esm2022/lib/form/index.mjs +0 -6
  74. package/esm2022/lib/form/io/form.change.directive.mjs +0 -36
  75. package/esm2022/lib/form/io/form.input.directive.mjs +0 -95
  76. package/esm2022/lib/form/io/form.io.module.mjs +0 -26
  77. package/esm2022/lib/form/io/form.loading.directive.mjs +0 -36
  78. package/esm2022/lib/form/io/index.mjs +0 -5
  79. package/esm2022/lib/form.module.mjs +0 -18
  80. package/esm2022/lib/form.providers.mjs +0 -32
  81. package/esm2022/lib/formly/config/index.mjs +0 -2
  82. package/esm2022/lib/formly/config/validation.mjs +0 -23
  83. package/esm2022/lib/formly/field/checklist/checklist.field.mjs +0 -102
  84. package/esm2022/lib/formly/field/checklist/checklist.item.field.component.mjs +0 -86
  85. package/esm2022/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +0 -50
  86. package/esm2022/lib/formly/field/checklist/checklist.item.field.mjs +0 -14
  87. package/esm2022/lib/formly/field/checklist/checklist.item.field.module.mjs +0 -30
  88. package/esm2022/lib/formly/field/checklist/checklist.item.mjs +0 -2
  89. package/esm2022/lib/formly/field/checklist/index.mjs +0 -7
  90. package/esm2022/lib/formly/field/component/component.field.component.mjs +0 -25
  91. package/esm2022/lib/formly/field/component/component.field.mjs +0 -7
  92. package/esm2022/lib/formly/field/component/component.field.module.mjs +0 -26
  93. package/esm2022/lib/formly/field/component/index.mjs +0 -4
  94. package/esm2022/lib/formly/field/field.mjs +0 -97
  95. package/esm2022/lib/formly/field/form.field.module.mjs +0 -22
  96. package/esm2022/lib/formly/field/index.mjs +0 -9
  97. package/esm2022/lib/formly/field/selection/index.mjs +0 -8
  98. package/esm2022/lib/formly/field/selection/list/index.mjs +0 -4
  99. package/esm2022/lib/formly/field/selection/list/list.field.component.mjs +0 -90
  100. package/esm2022/lib/formly/field/selection/list/list.field.mjs +0 -15
  101. package/esm2022/lib/formly/field/selection/list/list.field.module.mjs +0 -26
  102. package/esm2022/lib/formly/field/selection/pickable/index.mjs +0 -8
  103. package/esm2022/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +0 -37
  104. package/esm2022/lib/formly/field/selection/pickable/pickable.field.directive.mjs +0 -272
  105. package/esm2022/lib/formly/field/selection/pickable/pickable.field.mjs +0 -26
  106. package/esm2022/lib/formly/field/selection/pickable/pickable.field.module.mjs +0 -33
  107. package/esm2022/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +0 -130
  108. package/esm2022/lib/formly/field/selection/pickable/pickable.mjs +0 -2
  109. package/esm2022/lib/formly/field/selection/pickable/pickable.util.mjs +0 -35
  110. package/esm2022/lib/formly/field/selection/searchable/index.mjs +0 -9
  111. package/esm2022/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +0 -70
  112. package/esm2022/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +0 -90
  113. package/esm2022/lib/formly/field/selection/searchable/searchable.field.directive.mjs +0 -288
  114. package/esm2022/lib/formly/field/selection/searchable/searchable.field.mjs +0 -69
  115. package/esm2022/lib/formly/field/selection/searchable/searchable.field.module.mjs +0 -34
  116. package/esm2022/lib/formly/field/selection/searchable/searchable.mjs +0 -2
  117. package/esm2022/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +0 -72
  118. package/esm2022/lib/formly/field/selection/searchable/text.chip.field.mjs +0 -15
  119. package/esm2022/lib/formly/field/selection/selection.field.mjs +0 -39
  120. package/esm2022/lib/formly/field/selection/selection.mjs +0 -2
  121. package/esm2022/lib/formly/field/selection/selection.module.mjs +0 -28
  122. package/esm2022/lib/formly/field/selection/sourceselect/index.mjs +0 -5
  123. package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.component.mjs +0 -325
  124. package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.mjs +0 -14
  125. package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.module.mjs +0 -26
  126. package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.mjs +0 -2
  127. package/esm2022/lib/formly/field/texteditor/index.mjs +0 -4
  128. package/esm2022/lib/formly/field/texteditor/texteditor.field.component.mjs +0 -97
  129. package/esm2022/lib/formly/field/texteditor/texteditor.field.mjs +0 -21
  130. package/esm2022/lib/formly/field/texteditor/texteditor.field.module.mjs +0 -26
  131. package/esm2022/lib/formly/field/value/array/array.field.component.mjs +0 -231
  132. package/esm2022/lib/formly/field/value/array/array.field.mjs +0 -28
  133. package/esm2022/lib/formly/field/value/array/array.field.module.mjs +0 -26
  134. package/esm2022/lib/formly/field/value/array/index.mjs +0 -4
  135. package/esm2022/lib/formly/field/value/boolean/boolean.field.mjs +0 -51
  136. package/esm2022/lib/formly/field/value/boolean/boolean.field.module.mjs +0 -19
  137. package/esm2022/lib/formly/field/value/boolean/index.mjs +0 -3
  138. package/esm2022/lib/formly/field/value/date/date.field.module.mjs +0 -36
  139. package/esm2022/lib/formly/field/value/date/date.value.mjs +0 -133
  140. package/esm2022/lib/formly/field/value/date/datetime.field.component.mjs +0 -737
  141. package/esm2022/lib/formly/field/value/date/datetime.field.mjs +0 -151
  142. package/esm2022/lib/formly/field/value/date/datetime.field.service.mjs +0 -23
  143. package/esm2022/lib/formly/field/value/date/datetime.mjs +0 -26
  144. package/esm2022/lib/formly/field/value/date/datetime.preset.mjs +0 -31
  145. package/esm2022/lib/formly/field/value/date/fixeddaterange.field.component.mjs +0 -521
  146. package/esm2022/lib/formly/field/value/date/index.mjs +0 -10
  147. package/esm2022/lib/formly/field/value/hidden.field.mjs +0 -8
  148. package/esm2022/lib/formly/field/value/index.mjs +0 -9
  149. package/esm2022/lib/formly/field/value/number/index.mjs +0 -3
  150. package/esm2022/lib/formly/field/value/number/number.field.mjs +0 -75
  151. package/esm2022/lib/formly/field/value/number/number.field.module.mjs +0 -18
  152. package/esm2022/lib/formly/field/value/phone/index.mjs +0 -4
  153. package/esm2022/lib/formly/field/value/phone/phone.field.component.mjs +0 -104
  154. package/esm2022/lib/formly/field/value/phone/phone.field.mjs +0 -66
  155. package/esm2022/lib/formly/field/value/phone/phone.field.module.mjs +0 -26
  156. package/esm2022/lib/formly/field/value/text/index.mjs +0 -5
  157. package/esm2022/lib/formly/field/value/text/text.additional.field.mjs +0 -114
  158. package/esm2022/lib/formly/field/value/text/text.address.field.mjs +0 -73
  159. package/esm2022/lib/formly/field/value/text/text.field.mjs +0 -47
  160. package/esm2022/lib/formly/field/value/text/text.field.module.mjs +0 -20
  161. package/esm2022/lib/formly/field/value/value.module.mjs +0 -31
  162. package/esm2022/lib/formly/field/wrapper/autotouch.wrapper.component.mjs +0 -32
  163. package/esm2022/lib/formly/field/wrapper/expand.wrapper.component.mjs +0 -34
  164. package/esm2022/lib/formly/field/wrapper/expand.wrapper.delegate.mjs +0 -58
  165. package/esm2022/lib/formly/field/wrapper/flex.wrapper.component.mjs +0 -38
  166. package/esm2022/lib/formly/field/wrapper/index.mjs +0 -13
  167. package/esm2022/lib/formly/field/wrapper/info.wrapper.component.mjs +0 -48
  168. package/esm2022/lib/formly/field/wrapper/section.wrapper.component.mjs +0 -31
  169. package/esm2022/lib/formly/field/wrapper/style.wrapper.component.mjs +0 -53
  170. package/esm2022/lib/formly/field/wrapper/subsection.wrapper.component.mjs +0 -30
  171. package/esm2022/lib/formly/field/wrapper/toggle.wrapper.component.mjs +0 -55
  172. package/esm2022/lib/formly/field/wrapper/working.wrapper.component.mjs +0 -45
  173. package/esm2022/lib/formly/field/wrapper/wrapper.key.mjs +0 -10
  174. package/esm2022/lib/formly/field/wrapper/wrapper.mjs +0 -77
  175. package/esm2022/lib/formly/field/wrapper/wrapper.module.mjs +0 -101
  176. package/esm2022/lib/formly/form/form.form.mjs +0 -17
  177. package/esm2022/lib/formly/form/form.form.module.mjs +0 -20
  178. package/esm2022/lib/formly/form/index.mjs +0 -4
  179. package/esm2022/lib/formly/form/search.form.component.mjs +0 -35
  180. package/esm2022/lib/formly/formly.component.template.mjs +0 -29
  181. package/esm2022/lib/formly/formly.context.directive.mjs +0 -23
  182. package/esm2022/lib/formly/formly.context.mjs +0 -102
  183. package/esm2022/lib/formly/formly.directive.mjs +0 -84
  184. package/esm2022/lib/formly/formly.form.component.mjs +0 -194
  185. package/esm2022/lib/formly/formly.module.mjs +0 -40
  186. package/esm2022/lib/formly/formly.providers.mjs +0 -8
  187. package/esm2022/lib/formly/index.mjs +0 -12
  188. package/esm2022/lib/formly/template/available.mjs +0 -18
  189. package/esm2022/lib/formly/template/available.module.mjs +0 -18
  190. package/esm2022/lib/formly/template/index.mjs +0 -8
  191. package/esm2022/lib/formly/template/login.mjs +0 -92
  192. package/esm2022/lib/formly/template/login.module.mjs +0 -17
  193. package/esm2022/lib/formly/template/timezone.mjs +0 -46
  194. package/esm2022/lib/formly/template/timezone.module.mjs +0 -17
  195. package/esm2022/lib/formly/template/website.mjs +0 -25
  196. package/esm2022/lib/index.mjs +0 -7
  197. package/esm2022/lib/layout/form.layout.module.mjs +0 -20
  198. package/esm2022/lib/layout/form.spacer.directive.mjs +0 -20
  199. package/esm2022/lib/layout/index.mjs +0 -3
  200. package/esm2022/lib/validator/available.mjs +0 -31
  201. package/esm2022/lib/validator/boolean.mjs +0 -12
  202. package/esm2022/lib/validator/email.mjs +0 -6
  203. package/esm2022/lib/validator/field.mjs +0 -31
  204. package/esm2022/lib/validator/index.mjs +0 -8
  205. package/esm2022/lib/validator/number.mjs +0 -53
  206. package/esm2022/lib/validator/phone.mjs +0 -61
  207. package/esm2022/lib/validator/website.mjs +0 -68
  208. package/esm2022/mapbox/dereekb-dbx-form-mapbox.mjs +0 -5
  209. package/esm2022/mapbox/index.mjs +0 -3
  210. package/esm2022/mapbox/lib/field/index.mjs +0 -3
  211. package/esm2022/mapbox/lib/field/latlng/index.mjs +0 -5
  212. package/esm2022/mapbox/lib/field/latlng/latlng.field.component.mjs +0 -262
  213. package/esm2022/mapbox/lib/field/latlng/latlng.field.marker.component.mjs +0 -34
  214. package/esm2022/mapbox/lib/field/latlng/latlng.field.mjs +0 -35
  215. package/esm2022/mapbox/lib/field/latlng/latlng.module.mjs +0 -26
  216. package/esm2022/mapbox/lib/field/zoom/index.mjs +0 -4
  217. package/esm2022/mapbox/lib/field/zoom/zoom.field.component.mjs +0 -146
  218. package/esm2022/mapbox/lib/field/zoom/zoom.field.mjs +0 -23
  219. package/esm2022/mapbox/lib/field/zoom/zoom.module.mjs +0 -26
  220. package/esm2022/mapbox/lib/mapbox.module.mjs +0 -16
  221. package/index.d.ts +0 -1
  222. package/lib/form/action/form.action.dialog.component.d.ts +0 -63
  223. package/lib/form/action/form.action.directive.d.ts +0 -66
  224. package/lib/form/action/form.action.module.d.ts +0 -10
  225. package/lib/form/action/index.d.ts +0 -4
  226. package/lib/form/action/transition/form.action.transition.module.d.ts +0 -10
  227. package/lib/form/action/transition/form.action.transition.safety.directive.d.ts +0 -17
  228. package/lib/form/action/transition/index.d.ts +0 -2
  229. package/lib/form/form.angular.util.d.ts +0 -15
  230. package/lib/form/form.d.ts +0 -92
  231. package/lib/form/form.module.d.ts +0 -9
  232. package/lib/form/index.d.ts +0 -5
  233. package/lib/form/io/form.change.directive.d.ts +0 -17
  234. package/lib/form/io/form.input.directive.d.ts +0 -28
  235. package/lib/form/io/form.io.module.d.ts +0 -16
  236. package/lib/form/io/form.loading.directive.d.ts +0 -23
  237. package/lib/form/io/index.d.ts +0 -4
  238. package/lib/form.module.d.ts +0 -10
  239. package/lib/form.providers.d.ts +0 -8
  240. package/lib/formly/config/index.d.ts +0 -1
  241. package/lib/formly/config/validation.d.ts +0 -23
  242. package/lib/formly/field/checklist/checklist.field.d.ts +0 -44
  243. package/lib/formly/field/checklist/checklist.item.d.ts +0 -36
  244. package/lib/formly/field/checklist/checklist.item.field.component.d.ts +0 -43
  245. package/lib/formly/field/checklist/checklist.item.field.content.default.component.d.ts +0 -10
  246. package/lib/formly/field/checklist/checklist.item.field.d.ts +0 -7
  247. package/lib/formly/field/checklist/checklist.item.field.module.d.ts +0 -10
  248. package/lib/formly/field/checklist/index.d.ts +0 -6
  249. package/lib/formly/field/component/component.field.component.d.ts +0 -12
  250. package/lib/formly/field/component/component.field.d.ts +0 -3
  251. package/lib/formly/field/component/component.field.module.d.ts +0 -8
  252. package/lib/formly/field/component/index.d.ts +0 -3
  253. package/lib/formly/field/field.d.ts +0 -99
  254. package/lib/formly/field/form.field.module.d.ts +0 -12
  255. package/lib/formly/field/index.d.ts +0 -8
  256. package/lib/formly/field/selection/index.d.ts +0 -7
  257. package/lib/formly/field/selection/list/index.d.ts +0 -3
  258. package/lib/formly/field/selection/list/list.field.component.d.ts +0 -55
  259. package/lib/formly/field/selection/list/list.field.d.ts +0 -8
  260. package/lib/formly/field/selection/list/list.field.module.d.ts +0 -8
  261. package/lib/formly/field/selection/pickable/index.d.ts +0 -7
  262. package/lib/formly/field/selection/pickable/pickable.chip.field.component.d.ts +0 -10
  263. package/lib/formly/field/selection/pickable/pickable.d.ts +0 -26
  264. package/lib/formly/field/selection/pickable/pickable.field.d.ts +0 -8
  265. package/lib/formly/field/selection/pickable/pickable.field.directive.d.ts +0 -169
  266. package/lib/formly/field/selection/pickable/pickable.field.module.d.ts +0 -9
  267. package/lib/formly/field/selection/pickable/pickable.list.field.component.d.ts +0 -39
  268. package/lib/formly/field/selection/pickable/pickable.util.d.ts +0 -14
  269. package/lib/formly/field/selection/searchable/index.d.ts +0 -8
  270. package/lib/formly/field/selection/searchable/searchable.chip.field.component.d.ts +0 -28
  271. package/lib/formly/field/selection/searchable/searchable.d.ts +0 -39
  272. package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts +0 -22
  273. package/lib/formly/field/selection/searchable/searchable.field.d.ts +0 -25
  274. package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +0 -163
  275. package/lib/formly/field/selection/searchable/searchable.field.module.d.ts +0 -10
  276. package/lib/formly/field/selection/searchable/searchable.text.field.component.d.ts +0 -24
  277. package/lib/formly/field/selection/searchable/text.chip.field.d.ts +0 -8
  278. package/lib/formly/field/selection/selection.d.ts +0 -26
  279. package/lib/formly/field/selection/selection.field.d.ts +0 -38
  280. package/lib/formly/field/selection/selection.module.d.ts +0 -18
  281. package/lib/formly/field/selection/sourceselect/index.d.ts +0 -4
  282. package/lib/formly/field/selection/sourceselect/sourceselect.d.ts +0 -116
  283. package/lib/formly/field/selection/sourceselect/sourceselect.field.component.d.ts +0 -95
  284. package/lib/formly/field/selection/sourceselect/sourceselect.field.d.ts +0 -7
  285. package/lib/formly/field/selection/sourceselect/sourceselect.field.module.d.ts +0 -8
  286. package/lib/formly/field/texteditor/index.d.ts +0 -3
  287. package/lib/formly/field/texteditor/texteditor.field.component.d.ts +0 -24
  288. package/lib/formly/field/texteditor/texteditor.field.d.ts +0 -6
  289. package/lib/formly/field/texteditor/texteditor.field.module.d.ts +0 -8
  290. package/lib/formly/field/value/array/array.field.component.d.ts +0 -89
  291. package/lib/formly/field/value/array/array.field.d.ts +0 -40
  292. package/lib/formly/field/value/array/array.field.module.d.ts +0 -8
  293. package/lib/formly/field/value/array/index.d.ts +0 -3
  294. package/lib/formly/field/value/boolean/boolean.field.d.ts +0 -8
  295. package/lib/formly/field/value/boolean/boolean.field.module.d.ts +0 -9
  296. package/lib/formly/field/value/boolean/index.d.ts +0 -2
  297. package/lib/formly/field/value/date/date.field.module.d.ts +0 -10
  298. package/lib/formly/field/value/date/date.value.d.ts +0 -32
  299. package/lib/formly/field/value/date/datetime.d.ts +0 -56
  300. package/lib/formly/field/value/date/datetime.field.component.d.ts +0 -307
  301. package/lib/formly/field/value/date/datetime.field.d.ts +0 -31
  302. package/lib/formly/field/value/date/datetime.field.service.d.ts +0 -12
  303. package/lib/formly/field/value/date/datetime.preset.d.ts +0 -2
  304. package/lib/formly/field/value/date/fixeddaterange.field.component.d.ts +0 -163
  305. package/lib/formly/field/value/date/index.d.ts +0 -9
  306. package/lib/formly/field/value/hidden.field.d.ts +0 -4
  307. package/lib/formly/field/value/index.d.ts +0 -8
  308. package/lib/formly/field/value/number/index.d.ts +0 -2
  309. package/lib/formly/field/value/number/number.field.d.ts +0 -46
  310. package/lib/formly/field/value/number/number.field.module.d.ts +0 -8
  311. package/lib/formly/field/value/phone/index.d.ts +0 -3
  312. package/lib/formly/field/value/phone/phone.field.component.d.ts +0 -35
  313. package/lib/formly/field/value/phone/phone.field.d.ts +0 -28
  314. package/lib/formly/field/value/phone/phone.field.module.d.ts +0 -8
  315. package/lib/formly/field/value/text/index.d.ts +0 -4
  316. package/lib/formly/field/value/text/text.additional.field.d.ts +0 -24
  317. package/lib/formly/field/value/text/text.address.field.d.ts +0 -43
  318. package/lib/formly/field/value/text/text.field.d.ts +0 -21
  319. package/lib/formly/field/value/text/text.field.module.d.ts +0 -10
  320. package/lib/formly/field/value/value.module.d.ts +0 -21
  321. package/lib/formly/field/wrapper/autotouch.wrapper.component.d.ts +0 -11
  322. package/lib/formly/field/wrapper/expand.wrapper.component.d.ts +0 -14
  323. package/lib/formly/field/wrapper/expand.wrapper.delegate.d.ts +0 -31
  324. package/lib/formly/field/wrapper/flex.wrapper.component.d.ts +0 -25
  325. package/lib/formly/field/wrapper/index.d.ts +0 -12
  326. package/lib/formly/field/wrapper/info.wrapper.component.d.ts +0 -11
  327. package/lib/formly/field/wrapper/section.wrapper.component.d.ts +0 -10
  328. package/lib/formly/field/wrapper/style.wrapper.component.d.ts +0 -27
  329. package/lib/formly/field/wrapper/subsection.wrapper.component.d.ts +0 -10
  330. package/lib/formly/field/wrapper/toggle.wrapper.component.d.ts +0 -17
  331. package/lib/formly/field/wrapper/working.wrapper.component.d.ts +0 -21
  332. package/lib/formly/field/wrapper/wrapper.d.ts +0 -35
  333. package/lib/formly/field/wrapper/wrapper.key.d.ts +0 -9
  334. package/lib/formly/field/wrapper/wrapper.module.d.ts +0 -17
  335. package/lib/formly/form/form.form.d.ts +0 -11
  336. package/lib/formly/form/form.form.module.d.ts +0 -10
  337. package/lib/formly/form/index.d.ts +0 -3
  338. package/lib/formly/form/search.form.component.d.ts +0 -13
  339. package/lib/formly/formly.component.template.d.ts +0 -19
  340. package/lib/formly/formly.context.d.ts +0 -57
  341. package/lib/formly/formly.context.directive.d.ts +0 -18
  342. package/lib/formly/formly.directive.d.ts +0 -56
  343. package/lib/formly/formly.form.component.d.ts +0 -52
  344. package/lib/formly/formly.module.d.ts +0 -15
  345. package/lib/formly/formly.providers.d.ts +0 -1
  346. package/lib/formly/index.d.ts +0 -11
  347. package/lib/formly/template/available.d.ts +0 -7
  348. package/lib/formly/template/available.module.d.ts +0 -8
  349. package/lib/formly/template/index.d.ts +0 -7
  350. package/lib/formly/template/login.d.ts +0 -66
  351. package/lib/formly/template/login.module.d.ts +0 -7
  352. package/lib/formly/template/timezone.d.ts +0 -20
  353. package/lib/formly/template/timezone.module.d.ts +0 -7
  354. package/lib/formly/template/website.d.ts +0 -15
  355. package/lib/index.d.ts +0 -6
  356. package/lib/layout/form.layout.module.d.ts +0 -10
  357. package/lib/layout/form.spacer.directive.d.ts +0 -8
  358. package/lib/layout/index.d.ts +0 -2
  359. package/lib/validator/available.d.ts +0 -30
  360. package/lib/validator/boolean.d.ts +0 -2
  361. package/lib/validator/email.d.ts +0 -2
  362. package/lib/validator/field.d.ts +0 -32
  363. package/lib/validator/index.d.ts +0 -7
  364. package/lib/validator/number.d.ts +0 -23
  365. package/lib/validator/phone.d.ts +0 -16
  366. package/lib/validator/website.d.ts +0 -31
  367. package/mapbox/index.d.ts +0 -2
  368. package/mapbox/lib/field/index.d.ts +0 -2
  369. package/mapbox/lib/field/latlng/index.d.ts +0 -4
  370. package/mapbox/lib/field/latlng/latlng.field.component.d.ts +0 -116
  371. package/mapbox/lib/field/latlng/latlng.field.d.ts +0 -6
  372. package/mapbox/lib/field/latlng/latlng.field.marker.component.d.ts +0 -12
  373. package/mapbox/lib/field/latlng/latlng.module.d.ts +0 -8
  374. package/mapbox/lib/field/zoom/index.d.ts +0 -3
  375. package/mapbox/lib/field/zoom/zoom.field.component.d.ts +0 -68
  376. package/mapbox/lib/field/zoom/zoom.field.d.ts +0 -6
  377. package/mapbox/lib/field/zoom/zoom.module.d.ts +0 -8
  378. package/mapbox/lib/mapbox.module.d.ts +0 -8
@@ -1,56 +0,0 @@
1
- import { MaybeObservableOrValue } from '@dereekb/rxjs';
2
- import { Observable } from 'rxjs';
3
- import { FormlyFieldConfig } from '@ngx-formly/core';
4
- import { OnInit, OnDestroy } from '@angular/core';
5
- import { DbxFormlyContext } from './formly.context';
6
- import { type Maybe } from '@dereekb/util';
7
- import { DbxFormDisabledKey } from '../form/form';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Abstract component for wrapping a DbxFormlyContext.
11
- *
12
- * The implementing component should use provideFormlyContext() to provide the DbxFormlyContext specific to this directive. The context is injected using only self.
13
- */
14
- export declare abstract class AbstractFormlyFormDirective<T> implements OnDestroy {
15
- readonly context: DbxFormlyContext<T>;
16
- readonly disabled: import("@angular/core").InputSignal<boolean>;
17
- private readonly _setDisabledOnContext;
18
- ngOnDestroy(): void;
19
- getValue(): Observable<T>;
20
- setValue(value: Partial<T>): void;
21
- resetForm(): void;
22
- clearValue(): void;
23
- setDisabled(key?: DbxFormDisabledKey, disabled?: boolean): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormlyFormDirective<any>, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormlyFormDirective<any>, never, never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
26
- }
27
- /**
28
- * Abstract component for wrapping a form.
29
- */
30
- export declare abstract class AbstractSyncFormlyFormDirective<T> extends AbstractFormlyFormDirective<T> implements OnInit, OnDestroy {
31
- abstract fields: FormlyFieldConfig[];
32
- ngOnInit(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSyncFormlyFormDirective<any>, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false, never>;
35
- }
36
- /**
37
- * Abstract component for wrapping an asyncrhronously-configured form.
38
- */
39
- export declare abstract class AbstractAsyncFormlyFormDirective<T> extends AbstractFormlyFormDirective<T> implements OnInit, OnDestroy {
40
- /**
41
- * Used to provide fields to the context.
42
- */
43
- abstract readonly fields$: Observable<Maybe<FormlyFieldConfig[]>>;
44
- private readonly _fieldsSub;
45
- ngOnInit(): void;
46
- ngOnDestroy(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractAsyncFormlyFormDirective<any>, never>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAsyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false, never>;
49
- }
50
- export declare abstract class AbstractConfigAsyncFormlyFormDirective<T, C> extends AbstractAsyncFormlyFormDirective<T> implements OnInit, OnDestroy {
51
- readonly config: import("@angular/core").InputSignal<MaybeObservableOrValue<C>>;
52
- readonly currentConfig$: Observable<Maybe<C>>;
53
- readonly config$: Observable<C>;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never, never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
56
- }
@@ -1,52 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { FormlyFieldConfig, FormlyForm, FormlyFormOptions } from '@ngx-formly/core';
4
- import { Observable } from 'rxjs';
5
- import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
6
- import { DbxForm, DbxFormDisabledKey, DbxFormEvent } from '../form/form';
7
- import { DbxFormlyContextDelegate, DbxFormlyInitialize } from './formly.context';
8
- import { BooleanStringKeyArray } from '@dereekb/util';
9
- import * as i0 from "@angular/core";
10
- export interface DbxFormlyFormState {
11
- changesSinceLastResetCount: number;
12
- isFormValid: boolean;
13
- isFormDisabled: boolean;
14
- }
15
- /**
16
- * Used for rending a form from a DbxFormlyContext.
17
- */
18
- export declare class DbxFormlyComponent<T> extends AbstractSubscriptionDirective implements DbxForm, DbxFormlyContextDelegate<T>, OnInit, OnDestroy {
19
- private readonly _dbxFormlyContext;
20
- readonly formlyForm: import("@angular/core").Signal<FormlyForm | undefined>;
21
- private readonly _fields;
22
- private readonly _events;
23
- private readonly _disabled;
24
- private readonly _reset;
25
- private readonly _forceUpdate;
26
- private readonly _disabledSub;
27
- private readonly _enforceDisabledSub;
28
- readonly form: FormGroup<{}>;
29
- readonly modelSignal: import("@angular/core").WritableSignal<T>;
30
- readonly options: FormlyFormOptions;
31
- readonly fields$: Observable<FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
32
- [additionalProperties: string]: any;
33
- }>[]>;
34
- readonly stream$: Observable<DbxFormEvent>;
35
- private readonly _fieldsSignal;
36
- readonly fieldsSignal: import("@angular/core").Signal<FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
37
- [additionalProperties: string]: any;
38
- }>[]>;
39
- ngOnInit(): void;
40
- ngOnDestroy(): void;
41
- init(initialize: DbxFormlyInitialize<T>): void;
42
- getValue(): Observable<T>;
43
- setValue(value: T): void;
44
- resetForm(): void;
45
- get isDisabled(): boolean;
46
- get disabled(): BooleanStringKeyArray;
47
- getDisabled(): Observable<BooleanStringKeyArray>;
48
- setDisabled(key?: DbxFormDisabledKey, disabled?: boolean): void;
49
- forceFormUpdate(): void;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyComponent<any>, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormlyComponent<any>, "dbx-formly", ["formly"], {}, {}, never, never, true, never>;
52
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./formly.form.component";
3
- import * as i2 from "./formly.context.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@ngx-formly/core";
7
- import * as i6 from "@ngx-formly/material/toggle";
8
- /**
9
- * @deprecated
10
- */
11
- export declare class DbxFormlyModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormlyModule, never, [typeof i1.DbxFormlyComponent, typeof i2.DbxFormlyFieldsContextDirective, typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.FormlyModule, typeof i6.FormlyMatToggleModule], [typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i1.DbxFormlyComponent, typeof i2.DbxFormlyFieldsContextDirective]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormlyModule>;
15
- }
@@ -1 +0,0 @@
1
- export declare function provideDbxFormFormlyFieldDeclarations(): import("@angular/core").EnvironmentProviders;
@@ -1,11 +0,0 @@
1
- export * from './config';
2
- export * from './field';
3
- export * from './form';
4
- export * from './template';
5
- export * from './formly.context';
6
- export * from './formly.context.directive';
7
- export * from './formly.directive';
8
- export * from './formly.form.component';
9
- export * from './formly.component.template';
10
- export * from './formly.module';
11
- export * from './formly.providers';
@@ -1,7 +0,0 @@
1
- import { type FormlyFieldConfig } from '@ngx-formly/core';
2
- import { type FieldValueIsAvailableValidatorConfig } from '../../validator/available';
3
- import { type TextFieldConfig } from '../field/value/text/text.field';
4
- export interface TextAvailableFieldConfig extends TextFieldConfig, Omit<FieldValueIsAvailableValidatorConfig<string>, 'message'> {
5
- readonly isNotAvailableErrorMessage?: string;
6
- }
7
- export declare function textIsAvailableField(config: TextAvailableFieldConfig): FormlyFieldConfig;
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "../field/value/text/text.field.module";
3
- import * as i2 from "../field/wrapper/wrapper.module";
4
- export declare class DbxFormTextAvailableFieldModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormTextAvailableFieldModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormTextAvailableFieldModule, never, [typeof i1.DbxFormFormlyTextFieldModule, typeof i2.DbxFormFormlyWrapperModule], [typeof i1.DbxFormFormlyTextFieldModule, typeof i2.DbxFormFormlyWrapperModule]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormTextAvailableFieldModule>;
8
- }
@@ -1,7 +0,0 @@
1
- export * from './available';
2
- export * from './available.module';
3
- export * from './login';
4
- export * from './login.module';
5
- export * from './timezone';
6
- export * from './timezone.module';
7
- export * from './website';
@@ -1,66 +0,0 @@
1
- import { type TextFieldConfig } from '../field/value/text/text.field';
2
- import { type EmailFieldConfig } from '../field/value/text/text.additional.field';
3
- import { type FormlyFieldConfig } from '@ngx-formly/core';
4
- import { type Maybe } from '@dereekb/util';
5
- /**
6
- * Convenience interface for the password parameters configuration for a TextPasswordField.
7
- */
8
- export type TextPasswordFieldPasswordParameters = Partial<Pick<TextFieldConfig, 'maxLength' | 'minLength' | 'pattern'>>;
9
- /**
10
- * textPasswordField() configuration.
11
- */
12
- export interface TextPasswordFieldConfig extends Omit<TextFieldConfig, 'inputType' | 'key'>, Partial<Pick<TextFieldConfig, 'key' | 'materialFormField'>> {
13
- }
14
- /**
15
- * Configured simple text password field.
16
- *
17
- * @param config
18
- * @returns
19
- */
20
- export declare function textPasswordField(config?: TextPasswordFieldConfig): FormlyFieldConfig;
21
- /**
22
- * Configured verify field for a password.
23
- *
24
- * @param config
25
- * @returns
26
- */
27
- export declare function textVerifyPasswordField(config?: TextPasswordFieldConfig): FormlyFieldConfig;
28
- export interface TextPasswordWithVerifyFieldConfig {
29
- readonly password?: TextPasswordFieldConfig;
30
- readonly verifyPassword?: TextPasswordFieldConfig;
31
- }
32
- export declare function textPasswordWithVerifyFieldGroup(config: TextPasswordWithVerifyFieldConfig): FormlyFieldConfig;
33
- export interface UsernameLoginFieldUsernameConfig {
34
- readonly email?: Omit<EmailFieldConfig, 'key'>;
35
- readonly username?: Omit<TextFieldConfig, 'key'>;
36
- }
37
- export type UsernameLoginFieldUsernameConfigInput = 'email' | 'username' | UsernameLoginFieldUsernameConfig;
38
- /**
39
- * usernamePasswordLoginFields() configuration.
40
- */
41
- export interface UsernameLoginFieldsConfig {
42
- readonly username: UsernameLoginFieldUsernameConfigInput;
43
- readonly password?: TextPasswordFieldConfig;
44
- readonly verifyPassword?: Maybe<boolean | TextPasswordFieldConfig>;
45
- }
46
- /**
47
- * Value type exported by usernameLoginFields()
48
- */
49
- export interface DefaultUsernameLoginFieldsValue extends DefaultUsernameLoginFieldValue {
50
- readonly password: string;
51
- readonly verifyPassword?: string;
52
- }
53
- /**
54
- * Template for login field that takes in a username and password.
55
- *
56
- * @param param0
57
- * @returns
58
- */
59
- export declare function usernamePasswordLoginFields({ username, password, verifyPassword }: UsernameLoginFieldsConfig): FormlyFieldConfig[];
60
- /**
61
- * Value type exported by usernameLoginField()
62
- */
63
- export interface DefaultUsernameLoginFieldValue {
64
- readonly username: string;
65
- }
66
- export declare function usernameLoginField(username: UsernameLoginFieldUsernameConfigInput): FormlyFieldConfig;
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "../field/value/text/text.field.module";
3
- export declare class DbxFormLoginFieldModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormLoginFieldModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormLoginFieldModule, never, [typeof i1.DbxFormFormlyTextFieldModule], [typeof i1.DbxFormFormlyTextFieldModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormLoginFieldModule>;
7
- }
@@ -1,20 +0,0 @@
1
- import { type TimezoneString } from '@dereekb/util';
2
- import { type TimezoneInfo } from '@dereekb/date';
3
- import { type FormlyFieldConfig } from '@ngx-formly/core';
4
- import { type SearchableValueFieldStringSearchFn, type SearchableValueFieldDisplayFn } from '../field/selection/searchable';
5
- import { type SearchableTextFieldConfig } from '../field/selection/searchable/searchable.field';
6
- export type TestStringSearchFunction = (text: string) => string[];
7
- export declare function timezoneStringSearchFunction(): SearchableValueFieldStringSearchFn<string, TimezoneInfo>;
8
- export declare const DISPLAY_FOR_TIMEZONE_STRING_VALUE: SearchableValueFieldDisplayFn<string, TimezoneInfo>;
9
- /**
10
- * textPasswordField() configuration.
11
- */
12
- export interface TimezoneStringFieldConfig extends Omit<SearchableTextFieldConfig<TimezoneString, TimezoneInfo>, 'inputType' | 'searchOnEmptyText' | 'search' | 'displayForValue' | 'key'>, Partial<Pick<SearchableTextFieldConfig<TimezoneString, TimezoneInfo>, 'key' | 'materialFormField'>> {
13
- }
14
- /**
15
- * Template for a searchable text field for a timezone.
16
- *
17
- * @param param0
18
- * @returns
19
- */
20
- export declare function timezoneStringField(config?: TimezoneStringFieldConfig): FormlyFieldConfig;
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "../field/selection/searchable/searchable.field.module";
3
- export declare class DbxFormTimezoneStringFieldModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormTimezoneStringFieldModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormTimezoneStringFieldModule, never, [typeof i1.DbxFormFormlySearchableFieldModule], [typeof i1.DbxFormFormlySearchableFieldModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormTimezoneStringFieldModule>;
7
- }
@@ -1,15 +0,0 @@
1
- import { type FormlyFieldConfig } from '@ngx-formly/core';
2
- import { type TextFieldConfig } from '../field/value/text';
3
- import { type IsWebsiteUrlValidatorConfig } from '../../validator/website';
4
- /**
5
- * websiteUrlField() configuration.
6
- */
7
- export interface WebsiteUrlFieldConfig extends Omit<TextFieldConfig, 'inputType' | 'key'>, Partial<Pick<TextFieldConfig, 'key' | 'materialFormField'>>, IsWebsiteUrlValidatorConfig {
8
- }
9
- /**
10
- * Configured simple text password field.
11
- *
12
- * @param config
13
- * @returns
14
- */
15
- export declare function websiteUrlField(config?: WebsiteUrlFieldConfig): FormlyFieldConfig;
package/lib/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export * from './form';
2
- export * from './formly';
3
- export * from './layout';
4
- export * from './validator';
5
- export * from './form.module';
6
- export * from './form.providers';
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./form.spacer.directive";
3
- /**
4
- * @deprecated import DbxFormSpacerDirective directly instead.
5
- */
6
- export declare class DbxFormLayoutModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormLayoutModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormLayoutModule, never, [typeof i1.DbxFormSpacerDirective], [typeof i1.DbxFormSpacerDirective]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormLayoutModule>;
10
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Provides vertical spacing after a form.
4
- */
5
- export declare class DbxFormSpacerDirective {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSpacerDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormSpacerDirective, "dbx-form-spacer,[dbxFormSpacer],.dbx-form-spacer", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,2 +0,0 @@
1
- export * from './form.layout.module';
2
- export * from './form.spacer.directive';
@@ -1,30 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import { type AsyncValidatorFn } from '@angular/forms';
3
- export declare const FIELD_VALUE_IS_AVAILABLE_VALIDATION_KEY = "fieldValueIsAvailable";
4
- export declare const FIELD_VALUE_IS_AVAILABLE_ERROR_VALIDATION_KEY = "fieldValueIsAvailableError";
5
- export type FieldValueIsAvailableValidatorFunction<T> = (value: T) => Observable<boolean>;
6
- export interface FieldValueIsAvailableValidatorConfig<T> {
7
- /**
8
- * How long to wait in between value changes.
9
- */
10
- throttle?: number;
11
- /**
12
- * Returns an observable that checks whether or not the value is currently available.
13
- *
14
- * @param value
15
- */
16
- readonly checkValueIsAvailable: FieldValueIsAvailableValidatorFunction<T>;
17
- /**
18
- * Custom message for this validator.
19
- */
20
- message?: string;
21
- }
22
- /**
23
- * Validator for validating all values within an object.
24
- *
25
- * This is useful for validating a control group where two or more values are expected to be the same, such as a password and a password verification field.
26
- *
27
- * @param config
28
- * @returns
29
- */
30
- export declare function fieldValueIsAvailableValidator<T>(config: FieldValueIsAvailableValidatorConfig<T>): AsyncValidatorFn;
@@ -1,2 +0,0 @@
1
- import { type ValidatorFn } from '@angular/forms';
2
- export declare function isTruthy(): ValidatorFn;
@@ -1,2 +0,0 @@
1
- import { type ValidatorFn } from '@angular/forms';
2
- export declare function isDomain(): ValidatorFn;
@@ -1,32 +0,0 @@
1
- import { type ValidatorFn } from '@angular/forms';
2
- import { type KeyValueTupleFilter, type EqualityComparatorFunction } from '@dereekb/util';
3
- export declare const FIELD_VALUES_ARE_EQUAL_VALIDATION_KEY = "fieldValuesAreEqual";
4
- export interface FieldValuesAreEqualValidatorConfig<T extends object = object> {
5
- /**
6
- * Keys of the value to match on.
7
- *
8
- * If none are defined, then all fields from the control are matched.
9
- */
10
- keysFilter?: (keyof T)[];
11
- /**
12
- * Full filter to use, if defined.
13
- */
14
- valuesFilter?: KeyValueTupleFilter<T>;
15
- /**
16
- * Optional equivalence comparator.
17
- */
18
- isEqual?: EqualityComparatorFunction<T>;
19
- /**
20
- * Custom message for this validator.
21
- */
22
- message?: string;
23
- }
24
- /**
25
- * Validator for validating all values within an object.
26
- *
27
- * This is useful for validating a control group where two or more values are expected to be the same, such as a password and a password verification field.
28
- *
29
- * @param config
30
- * @returns
31
- */
32
- export declare function fieldValuesAreEqualValidator<T extends object = object>(config?: FieldValuesAreEqualValidatorConfig<T>): ValidatorFn;
@@ -1,7 +0,0 @@
1
- export * from './boolean';
2
- export * from './email';
3
- export * from './field';
4
- export * from './number';
5
- export * from './available';
6
- export * from './phone';
7
- export * from './website';
@@ -1,23 +0,0 @@
1
- import { type ValidatorFn } from '@angular/forms';
2
- /**
3
- * Merges the use of the min and max validator.
4
- *
5
- * @param min
6
- * @param max
7
- * @returns
8
- */
9
- export declare function isInRange(min?: number, max?: number): ValidatorFn;
10
- export declare const IS_DIVISIBLE_BY_VALIDATION_KEY = "isDivisibleBy";
11
- export interface IsDivisibleByError {
12
- value: number;
13
- nearest: number;
14
- divisor: number;
15
- message: string;
16
- }
17
- /**
18
- * Angular Form ValidationFn for checking isDivisibleBy the input divisor.
19
- *
20
- * @param divisor
21
- * @returns
22
- */
23
- export declare function isDivisibleBy(divisor: number): ValidatorFn;
@@ -1,16 +0,0 @@
1
- import { type ValidatorFn } from '@angular/forms';
2
- /**
3
- * Angular Form ValidationFn for checking isE164PhoneNumber the input divisor.
4
- *
5
- * @param divisor
6
- * @returns
7
- */
8
- export declare function isE164PhoneNumber(allowExtension: boolean): ValidatorFn;
9
- /**
10
- * Angular Form ValidationFn for checking the input is a valid phone extension. Empty values return true.
11
- *
12
- * @param divisor
13
- * @returns
14
- */
15
- export declare function isPhoneExtension(): ValidatorFn;
16
- export declare function isE164PhoneNumberWithValidExtension(): ValidatorFn;
@@ -1,31 +0,0 @@
1
- import { type ValidatorFn } from '@angular/forms';
2
- import { type ArrayOrValue, type Maybe, type WebsiteDomain } from '@dereekb/util';
3
- export declare const IS_NOT_WEBSITE_URL_VALIDATION_KEY = "isNotWebsiteUrl";
4
- export declare const IS_NOT_WEBSITE_URL_WITH_PREFIX_VALIDATION_KEY = "isNotWebsiteUrlWithPrefix";
5
- export declare const IS_NOT_WEBSITE_URL_WITH_EXPECTED_DOMAIN_VALIDATION_KEY = "isNotWebsiteUrlWithExpectedDomain";
6
- export interface IsNotWebsiteUrlErrorData {
7
- readonly value: string;
8
- readonly isPrefixRequired: boolean;
9
- readonly message: string;
10
- }
11
- export interface IsWebsiteUrlValidatorConfig {
12
- /**
13
- * Whether or not to require an http/https prefix.
14
- *
15
- * Defaults to true.
16
- */
17
- readonly requirePrefix?: Maybe<boolean>;
18
- /**
19
- * Valid domains to accept.
20
- *
21
- * Defaults to undefined.
22
- */
23
- readonly validDomains?: Maybe<ArrayOrValue<WebsiteDomain>>;
24
- }
25
- /**
26
- * Angular Form ValidationFn for checking isDivisibleBy the input divisor.
27
- *
28
- * @param divisor
29
- * @returns
30
- */
31
- export declare function isWebsiteUrlValidator(config?: IsWebsiteUrlValidatorConfig): ValidatorFn;
package/mapbox/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './lib/field';
2
- export * from './lib/mapbox.module';
@@ -1,2 +0,0 @@
1
- export * from './latlng';
2
- export * from './zoom';
@@ -1,4 +0,0 @@
1
- export * from './latlng.field';
2
- export * from './latlng.field.component';
3
- export * from './latlng.field.marker.component';
4
- export * from './latlng.module';
@@ -1,116 +0,0 @@
1
- import { AbstractControl, FormGroup } from '@angular/forms';
2
- import { CompactContextStore } from '@dereekb/dbx-web';
3
- import { Injector, OnDestroy, OnInit } from '@angular/core';
4
- import { FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
5
- import { FieldType } from '@ngx-formly/material';
6
- import { BehaviorSubject, Observable } from 'rxjs';
7
- import { ObservableFactoryWithRequiredInput } from '@dereekb/rxjs';
8
- import { Maybe, LatLngPoint, LatLngPointFunctionConfig, Milliseconds } from '@dereekb/util';
9
- import { Marker } from 'mapbox-gl';
10
- import { DbxMapboxInjectionStore, DbxMapboxMapStore, DbxMapboxMarkerDisplayConfig, MapboxZoomLevel } from '@dereekb/dbx-web/mapbox';
11
- import * as i0 from "@angular/core";
12
- export declare const DEFAULT_DBX_FORM_MAPBOX_LAT_LNG_FIELD_INJECTION_KEY = "DbxFormMapboxLatLngFieldComponent";
13
- export declare const DEFAULT_DBX_FORM_MAPBOX_LAT_LNG_MARKER_CONFIG: DbxMapboxMarkerDisplayConfig;
14
- export interface DbxFormMapboxLatLngComponentFieldProps extends FormlyFieldProps {
15
- /**
16
- * (Optional) Whether or not the show the map. If the map is not shown, relies on the center of the parent map to determine position.
17
- *
18
- * Defaults to true.
19
- *
20
- * Cases where this would be set false is if another map is being used.
21
- */
22
- readonly showMap?: boolean;
23
- /**
24
- * Whether or not to display the center button. Is set to false if selectLocationOnMapDrag is true.
25
- */
26
- readonly showCenterButton?: boolean;
27
- /**
28
- * Whether or not to set the center of the map on the location when set. Defaults to true.
29
- */
30
- readonly setCenterOnLocationSet?: boolean;
31
- /**
32
- * Whether or not to enable dragging the map to select the location. Defaults to true.
33
- *
34
- * Only applicable when showMap is false.
35
- */
36
- readonly selectLocationOnMapDrag?: boolean;
37
- /**
38
- * Whether or not to enable clicking the map to select the location. Defaults to false.
39
- *
40
- * Only applicable when showMap is false.
41
- */
42
- readonly selectLocationOnMapClick?: boolean;
43
- /**
44
- * (Optional) Zoom to start the map at. Ignored if the showMap is false.
45
- */
46
- readonly zoom?: MapboxZoomLevel;
47
- /**
48
- * Time until recentering on the marker. If the time is 0 then the recentering is disabled.
49
- */
50
- readonly recenterTime?: Milliseconds;
51
- readonly latLngConfig?: LatLngPointFunctionConfig;
52
- /**
53
- * Unique injection key.
54
- *
55
- * If not defined, the default key will be used.
56
- *
57
- * If false is passed, the marker will not be configured in the injection store.
58
- */
59
- readonly mapInjectionKey?: Maybe<string | false>;
60
- /**
61
- * Marker configuration or factory. If false is passed, the marker will not be displayed.
62
- */
63
- readonly markerConfig?: false | ObservableFactoryWithRequiredInput<DbxMapboxMarkerDisplayConfig | false, DbxFormMapboxLatLngFieldComponent>;
64
- }
65
- export declare class DbxFormMapboxLatLngFieldComponent<T extends DbxFormMapboxLatLngComponentFieldProps = DbxFormMapboxLatLngComponentFieldProps> extends FieldType<FieldTypeConfig<T>> implements OnInit, OnDestroy {
66
- private readonly _geolocationService;
67
- readonly compact: CompactContextStore | null;
68
- readonly dbxMapboxInjectionStore: DbxMapboxInjectionStore | null;
69
- readonly dbxMapboxMapStore: DbxMapboxMapStore;
70
- readonly injector: Injector;
71
- private readonly _sub;
72
- private readonly _geoSub;
73
- private readonly _centerSub;
74
- private readonly _flyToCenterSub;
75
- private readonly _clickSub;
76
- private readonly _zoom;
77
- private readonly _markerConfig;
78
- private _latLngStringFunction;
79
- private _latLngPointFunction;
80
- readonly compactClass$: Observable<string>;
81
- private readonly _useCurrentLocationDisabled;
82
- readonly useCurrentLocationDisabled$: Observable<boolean>;
83
- private readonly _formControlObs;
84
- readonly formControl$: Observable<AbstractControl<any, any>>;
85
- readonly value$: Observable<any>;
86
- readonly latLng$: Observable<LatLngPoint>;
87
- readonly nonZeroLatLng$: Observable<LatLngPoint>;
88
- readonly zoom$: Observable<number>;
89
- readonly markerConfig$: Observable<false | DbxMapboxMarkerDisplayConfig>;
90
- readonly useCurrentLocationDisabledSignal: import("@angular/core").Signal<boolean>;
91
- readonly compactClassSignal: import("@angular/core").Signal<string>;
92
- readonly latLngSignal: import("@angular/core").Signal<LatLngPoint>;
93
- get zoom(): MapboxZoomLevel;
94
- get formGroupName(): string;
95
- get formGroup(): FormGroup;
96
- get label(): Maybe<string>;
97
- get description(): Maybe<string>;
98
- get isReadonlyOrDisabled(): boolean;
99
- get showMap(): boolean;
100
- get selectLocationOnMapDrag(): boolean;
101
- get selectLocationOnMapClick(): boolean;
102
- get setCenterOnLocationSet(): boolean;
103
- get showCenterButton(): boolean;
104
- get recenterTime(): Milliseconds;
105
- get useCurrentLocationDisabled(): BehaviorSubject<boolean>;
106
- get mapInjectionKey(): Maybe<string | false>;
107
- get markerConfig(): false | ObservableFactoryWithRequiredInput<false | DbxMapboxMarkerDisplayConfig, DbxFormMapboxLatLngFieldComponent<DbxFormMapboxLatLngComponentFieldProps>> | undefined;
108
- ngOnInit(): void;
109
- ngOnDestroy(): void;
110
- flyToMarker(): void;
111
- useCurrentLocation(): void;
112
- onMarkerDragEnd(marker: Marker): void;
113
- setValue(latLng?: Maybe<LatLngPoint>): void;
114
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormMapboxLatLngFieldComponent<any>, never>;
115
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormMapboxLatLngFieldComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
116
- }
@@ -1,6 +0,0 @@
1
- import { type DescriptionFieldConfig, type FieldConfig, type LabeledFieldConfig } from '@dereekb/dbx-form';
2
- import { type FormlyFieldConfig } from '@ngx-formly/core';
3
- import { type DbxFormMapboxLatLngComponentFieldProps } from './latlng.field.component';
4
- export interface MapboxLatLngFieldConfig extends Omit<LabeledFieldConfig, 'key'>, DescriptionFieldConfig, Partial<FieldConfig>, Pick<DbxFormMapboxLatLngComponentFieldProps, 'showMap' | 'zoom' | 'latLngConfig' | 'recenterTime' | 'setCenterOnLocationSet' | 'showCenterButton' | 'selectLocationOnMapDrag' | 'selectLocationOnMapClick' | 'markerConfig'> {
5
- }
6
- export declare function mapboxLatLngField(config?: MapboxLatLngFieldConfig): FormlyFieldConfig;
@@ -1,12 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { DbxMapboxMarker } from '@dereekb/dbx-web/mapbox';
3
- import { DbxFormMapboxLatLngFieldComponent } from './latlng.field.component';
4
- import { type Maybe } from '@dereekb/util';
5
- import * as i0 from "@angular/core";
6
- export declare class DbxFormMapboxLatLngFieldMarkerComponent {
7
- readonly fieldComponent: DbxFormMapboxLatLngFieldComponent<any>;
8
- readonly marker$: Observable<Maybe<DbxMapboxMarker>>;
9
- readonly markerSignal: import("@angular/core").Signal<Maybe<DbxMapboxMarker>>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormMapboxLatLngFieldMarkerComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormMapboxLatLngFieldMarkerComponent, "ng-component", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./latlng.field.component";
3
- import * as i2 from "@ngx-formly/core";
4
- export declare class DbxFormMapboxLatLngModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormMapboxLatLngModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFormMapboxLatLngModule, never, [typeof i1.DbxFormMapboxLatLngFieldComponent, typeof i2.FormlyModule], [typeof i1.DbxFormMapboxLatLngFieldComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<DbxFormMapboxLatLngModule>;
8
- }