@dereekb/dbx-form 9.25.16 → 10.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.
- package/_index.scss +1 -0
- package/calendar/lib/calendar.module.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.cell.component.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.component.d.ts +4 -4
- package/calendar/lib/calendar.schedule.selection.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.days.component.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.days.form.component.d.ts +2 -2
- package/calendar/lib/calendar.schedule.selection.dialog.button.component.d.ts +1 -6
- package/calendar/lib/calendar.schedule.selection.dialog.component.d.ts +1 -11
- package/calendar/lib/calendar.schedule.selection.popover.button.component.d.ts +2 -2
- package/calendar/lib/calendar.schedule.selection.popover.component.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.popover.content.component.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.range.component.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.store.d.ts +4 -32
- package/calendar/lib/calendar.schedule.selection.store.provide.d.ts +1 -1
- package/calendar/lib/calendar.schedule.selection.toggle.button.component.d.ts +1 -1
- package/calendar/lib/field/schedule/calendar.schedule.field.component.d.ts +2 -8
- package/esm2022/calendar/lib/calendar.module.mjs +155 -0
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.cell.component.mjs +10 -10
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.component.mjs +6 -6
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.days.component.mjs +6 -6
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.days.form.component.mjs +6 -6
- package/esm2022/calendar/lib/calendar.schedule.selection.dialog.button.component.mjs +36 -0
- package/esm2022/calendar/lib/calendar.schedule.selection.dialog.component.mjs +56 -0
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.mjs +1 -1
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.popover.button.component.mjs +6 -6
- package/esm2022/calendar/lib/calendar.schedule.selection.popover.component.mjs +38 -0
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.popover.content.component.mjs +6 -6
- package/esm2022/calendar/lib/calendar.schedule.selection.range.component.mjs +188 -0
- package/esm2022/calendar/lib/calendar.schedule.selection.store.mjs +785 -0
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.store.provide.mjs +7 -7
- package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.toggle.button.component.mjs +6 -6
- package/esm2022/calendar/lib/field/schedule/calendar.schedule.field.component.mjs +158 -0
- package/esm2022/calendar/lib/field/schedule/calendar.schedule.field.mjs +28 -0
- package/esm2022/calendar/lib/field/schedule/calendar.schedule.module.mjs +58 -0
- package/{esm2020 → esm2022}/lib/form/action/form.action.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/form/action/form.action.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/form/action/transition/form.action.transition.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/form/action/transition/form.action.transition.safety.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/form/form.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/form/io/form.changes.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/form/io/form.input.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/form/io/form.io.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/form/io/form.loading.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/form.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/formly/field/checklist/checklist.item.field.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +6 -6
- package/esm2022/lib/formly/field/checklist/checklist.item.field.module.mjs +67 -0
- package/{esm2020 → esm2022}/lib/formly/field/component/component.field.component.mjs +6 -6
- package/esm2022/lib/formly/field/component/component.field.module.mjs +32 -0
- package/esm2022/lib/formly/field/field.mjs +97 -0
- package/{esm2020 → esm2022}/lib/formly/field/form.field.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/formly/field/selection/list/list.field.component.mjs +4 -4
- package/esm2022/lib/formly/field/selection/list/list.field.module.mjs +76 -0
- package/esm2022/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +33 -0
- package/{esm2020 → esm2022}/lib/formly/field/selection/pickable/pickable.field.directive.mjs +4 -4
- package/esm2022/lib/formly/field/selection/pickable/pickable.field.module.mjs +93 -0
- package/esm2022/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +116 -0
- package/{esm2020 → esm2022}/lib/formly/field/selection/pickable/pickable.mjs +1 -1
- package/esm2022/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +68 -0
- package/esm2022/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +95 -0
- package/esm2022/lib/formly/field/selection/searchable/searchable.field.directive.mjs +278 -0
- package/esm2022/lib/formly/field/selection/searchable/searchable.field.module.mjs +91 -0
- package/{esm2020 → esm2022}/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +4 -4
- package/esm2022/lib/formly/field/selection/selection.field.mjs +39 -0
- package/{esm2020 → esm2022}/lib/formly/field/selection/selection.mjs +1 -1
- package/{esm2020 → esm2022}/lib/formly/field/selection/selection.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/formly/field/selection/sourceselect/sourceselect.field.component.mjs +4 -4
- package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.module.mjs +93 -0
- package/{esm2020 → esm2022}/lib/formly/field/texteditor/texteditor.field.component.mjs +6 -6
- package/esm2022/lib/formly/field/texteditor/texteditor.field.module.mjs +51 -0
- package/{esm2020 → esm2022}/lib/formly/field/value/array/array.field.component.mjs +8 -8
- package/esm2022/lib/formly/field/value/array/array.field.module.mjs +62 -0
- package/esm2022/lib/formly/field/value/boolean/boolean.field.mjs +47 -0
- package/{esm2020 → esm2022}/lib/formly/field/value/boolean/boolean.field.module.mjs +5 -5
- package/esm2022/lib/formly/field/value/date/date.field.module.mjs +96 -0
- package/esm2022/lib/formly/field/value/date/datetime.field.component.mjs +488 -0
- package/esm2022/lib/formly/field/value/date/datetime.field.mjs +141 -0
- package/{esm2020 → esm2022}/lib/formly/field/value/date/datetime.field.service.mjs +9 -9
- package/esm2022/lib/formly/field/value/date/fixeddaterange.field.component.mjs +506 -0
- package/{esm2020 → esm2022}/lib/formly/field/value/number/number.field.module.mjs +5 -5
- package/esm2022/lib/formly/field/value/phone/phone.field.component.mjs +100 -0
- package/esm2022/lib/formly/field/value/phone/phone.field.module.mjs +66 -0
- package/{esm2020 → esm2022}/lib/formly/field/value/text/text.field.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/formly/field/value/value.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/autotouch.wrapper.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/expandable.wrapper.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/expandable.wrapper.delegate.mjs +4 -4
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/flex.wrapper.component.mjs +6 -6
- package/esm2022/lib/formly/field/wrapper/form.wrapper.module.mjs +86 -0
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/info.wrapper.component.mjs +7 -7
- package/esm2022/lib/formly/field/wrapper/section.wrapper.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/style.wrapper.component.mjs +7 -7
- package/esm2022/lib/formly/field/wrapper/subsection.wrapper.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/toggle.wrapper.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/formly/field/wrapper/working.wrapper.component.mjs +6 -6
- package/esm2022/lib/formly/field/wrapper/wrapper.mjs +73 -0
- package/{esm2020 → esm2022}/lib/formly/form/form.form.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/formly/form/search.form.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/formly/formly.context.directive.mjs +4 -4
- package/esm2022/lib/formly/formly.context.mjs +100 -0
- package/{esm2020 → esm2022}/lib/formly/formly.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/formly/formly.form.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/formly/formly.module.mjs +16 -16
- package/{esm2020 → esm2022}/lib/layout/form.layout.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/layout/form.spacer.component.mjs +6 -6
- package/{esm2020 → esm2022}/mapbox/lib/field/latlng/latlng.field.component.mjs +10 -10
- package/{esm2020 → esm2022}/mapbox/lib/field/latlng/latlng.field.marker.component.mjs +6 -6
- package/esm2022/mapbox/lib/field/latlng/latlng.field.mjs +35 -0
- package/esm2022/mapbox/lib/field/latlng/latlng.module.mjs +59 -0
- package/{mapbox/esm2020 → esm2022/mapbox}/lib/field/zoom/zoom.field.component.mjs +10 -10
- package/esm2022/mapbox/lib/field/zoom/zoom.field.mjs +23 -0
- package/esm2022/mapbox/lib/field/zoom/zoom.module.mjs +57 -0
- package/{mapbox/esm2020 → esm2022/mapbox}/lib/mapbox.module.mjs +5 -5
- package/{fesm2020 → fesm2022}/dereekb-dbx-form-calendar.mjs +188 -228
- package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -0
- package/{mapbox/fesm2020 → fesm2022}/dereekb-dbx-form-mapbox.mjs +76 -76
- package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/dereekb-dbx-form.mjs +820 -831
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -0
- package/lib/extension/_extension.scss +11 -6
- package/lib/extension/calendar/_calendar.scss +7 -5
- package/lib/form/_form.scss +3 -2
- package/lib/form/action/form.action.directive.d.ts +2 -2
- package/lib/form/action/transition/form.action.transition.safety.directive.d.ts +1 -1
- package/lib/form/form.angular.util.d.ts +1 -1
- package/lib/form/form.d.ts +1 -1
- package/lib/form/io/form.changes.directive.d.ts +1 -1
- package/lib/form/io/form.input.directive.d.ts +2 -2
- package/lib/form/io/form.loading.directive.d.ts +1 -1
- package/lib/formly/_formly.scss +7 -9
- package/lib/formly/field/_field.scss +7 -7
- package/lib/formly/field/checklist/_checklist.scss +3 -2
- package/lib/formly/field/checklist/checklist.field.d.ts +4 -4
- package/lib/formly/field/checklist/checklist.item.d.ts +1 -1
- package/lib/formly/field/checklist/checklist.item.field.component.d.ts +2 -2
- package/lib/formly/field/checklist/checklist.item.field.content.default.component.d.ts +4 -4
- package/lib/formly/field/checklist/checklist.item.field.d.ts +1 -1
- package/lib/formly/field/component/_component.scss +3 -2
- package/lib/formly/field/component/component.field.component.d.ts +2 -2
- package/lib/formly/field/component/component.field.d.ts +1 -1
- package/lib/formly/field/field.d.ts +5 -11
- package/lib/formly/field/selection/_selection.scss +5 -5
- package/lib/formly/field/selection/list/_list.scss +3 -2
- package/lib/formly/field/selection/list/list.field.component.d.ts +1 -1
- package/lib/formly/field/selection/pickable/_pickable.scss +3 -9
- package/lib/formly/field/selection/pickable/pickable.chip.field.component.d.ts +1 -1
- package/lib/formly/field/selection/pickable/pickable.d.ts +6 -22
- package/lib/formly/field/selection/pickable/pickable.field.directive.d.ts +3 -3
- package/lib/formly/field/selection/pickable/pickable.list.field.component.d.ts +4 -4
- package/lib/formly/field/selection/pickable/pickable.util.d.ts +2 -2
- package/lib/formly/field/selection/searchable/_searchable.scss +5 -5
- package/lib/formly/field/selection/searchable/searchable.chip.field.component.d.ts +1 -1
- package/lib/formly/field/selection/searchable/searchable.d.ts +4 -4
- package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts +3 -3
- package/lib/formly/field/selection/searchable/searchable.field.d.ts +1 -1
- package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +1 -1
- package/lib/formly/field/selection/searchable/searchable.text.field.component.d.ts +1 -1
- package/lib/formly/field/selection/selection.d.ts +1 -5
- package/lib/formly/field/selection/selection.field.d.ts +1 -1
- package/lib/formly/field/selection/sourceselect/_sourceselect.scss +6 -15
- package/lib/formly/field/selection/sourceselect/sourceselect.d.ts +6 -6
- package/lib/formly/field/selection/sourceselect/sourceselect.field.component.d.ts +1 -1
- package/lib/formly/field/selection/sourceselect/sourceselect.field.module.d.ts +1 -1
- package/lib/formly/field/texteditor/_texteditor.scss +3 -2
- package/lib/formly/field/texteditor/texteditor.field.component.d.ts +2 -2
- package/lib/formly/field/value/_value.scss +10 -6
- package/lib/formly/field/value/array/_array.scss +7 -2
- package/lib/formly/field/value/array/array.field.component.d.ts +2 -2
- package/lib/formly/field/value/boolean/_boolean.scss +5 -4
- package/lib/formly/field/value/date/_date.scss +20 -37
- package/lib/formly/field/value/date/date.field.module.d.ts +1 -1
- package/lib/formly/field/value/date/datetime.field.component.d.ts +3 -13
- package/lib/formly/field/value/date/datetime.field.d.ts +5 -5
- package/lib/formly/field/value/date/fixeddaterange.field.component.d.ts +7 -7
- package/lib/formly/field/value/hidden.field.d.ts +1 -1
- package/lib/formly/field/value/number/_number.scss +35 -0
- package/lib/formly/field/value/number/number.field.d.ts +3 -3
- package/lib/formly/field/value/phone/_phone.scss +4 -3
- package/lib/formly/field/value/phone/phone.field.component.d.ts +1 -1
- package/lib/formly/field/value/phone/phone.field.module.d.ts +1 -1
- package/lib/formly/field/value/text/_text.scss +3 -2
- package/lib/formly/field/value/text/text.additional.field.d.ts +3 -3
- package/lib/formly/field/value/text/text.field.d.ts +2 -2
- package/lib/formly/field/wrapper/_wrapper.scss +5 -4
- package/lib/formly/field/wrapper/autotouch.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/expandable.wrapper.component.d.ts +2 -2
- package/lib/formly/field/wrapper/expandable.wrapper.delegate.d.ts +1 -1
- package/lib/formly/field/wrapper/flex.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/form.wrapper.module.d.ts +1 -1
- package/lib/formly/field/wrapper/info.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/section.wrapper.component.d.ts +2 -2
- package/lib/formly/field/wrapper/style.wrapper.component.d.ts +2 -2
- package/lib/formly/field/wrapper/subsection.wrapper.component.d.ts +2 -2
- package/lib/formly/field/wrapper/toggle.wrapper.component.d.ts +1 -1
- package/lib/formly/field/wrapper/working.wrapper.component.d.ts +2 -2
- package/lib/formly/field/wrapper/wrapper.d.ts +1 -1
- package/lib/formly/form/_form.scss +17 -4
- package/lib/formly/form/search.form.component.d.ts +1 -1
- package/lib/formly/formly.context.directive.d.ts +1 -1
- package/lib/formly/formly.directive.d.ts +4 -4
- package/lib/formly/formly.form.component.d.ts +1 -1
- package/lib/formly/template/login.d.ts +1 -1
- package/lib/formly/template/timezone.d.ts +1 -1
- package/lib/layout/_layout.scss +3 -2
- package/lib/layout/form.spacer.component.d.ts +1 -1
- package/lib/style/_all-typography.scss +11 -3
- package/lib/style/_core.scss +1 -2
- package/lib/style/_mixin.scss +10 -0
- package/lib/style/_theming.scss +1 -1
- package/lib/validator/available.d.ts +1 -1
- package/mapbox/{esm2020 → esm2022}/lib/field/latlng/latlng.field.component.mjs +10 -10
- package/mapbox/{esm2020 → esm2022}/lib/field/latlng/latlng.field.marker.component.mjs +6 -6
- package/mapbox/esm2022/lib/field/latlng/latlng.field.mjs +35 -0
- package/mapbox/esm2022/lib/field/latlng/latlng.module.mjs +59 -0
- package/{esm2020/mapbox → mapbox/esm2022}/lib/field/zoom/zoom.field.component.mjs +10 -10
- package/mapbox/esm2022/lib/field/zoom/zoom.field.mjs +23 -0
- package/mapbox/esm2022/lib/field/zoom/zoom.module.mjs +57 -0
- package/{esm2020/mapbox → mapbox/esm2022}/lib/mapbox.module.mjs +5 -5
- package/{fesm2020 → mapbox/fesm2022}/dereekb-dbx-form-mapbox.mjs +76 -76
- package/mapbox/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -0
- package/mapbox/lib/field/latlng/latlng.field.component.d.ts +1 -1
- package/mapbox/lib/field/latlng/latlng.field.marker.component.d.ts +1 -1
- package/mapbox/lib/field/zoom/zoom.field.component.d.ts +1 -1
- package/mapbox/package.json +10 -28
- package/package.json +31 -31
- package/esm2020/calendar/lib/calendar.module.mjs +0 -155
- package/esm2020/calendar/lib/calendar.schedule.selection.dialog.button.component.mjs +0 -38
- package/esm2020/calendar/lib/calendar.schedule.selection.dialog.component.mjs +0 -65
- package/esm2020/calendar/lib/calendar.schedule.selection.popover.component.mjs +0 -37
- package/esm2020/calendar/lib/calendar.schedule.selection.range.component.mjs +0 -188
- package/esm2020/calendar/lib/calendar.schedule.selection.store.mjs +0 -814
- package/esm2020/calendar/lib/field/schedule/calendar.schedule.field.component.mjs +0 -158
- package/esm2020/calendar/lib/field/schedule/calendar.schedule.field.mjs +0 -29
- package/esm2020/calendar/lib/field/schedule/calendar.schedule.module.mjs +0 -58
- package/esm2020/lib/formly/field/checklist/checklist.item.field.module.mjs +0 -67
- package/esm2020/lib/formly/field/component/component.field.module.mjs +0 -32
- package/esm2020/lib/formly/field/field.mjs +0 -103
- package/esm2020/lib/formly/field/selection/list/list.field.module.mjs +0 -76
- package/esm2020/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +0 -33
- package/esm2020/lib/formly/field/selection/pickable/pickable.field.module.mjs +0 -93
- package/esm2020/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +0 -116
- package/esm2020/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +0 -68
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +0 -95
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.directive.mjs +0 -278
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.module.mjs +0 -91
- package/esm2020/lib/formly/field/selection/selection.field.mjs +0 -39
- package/esm2020/lib/formly/field/selection/sourceselect/sourceselect.field.module.mjs +0 -93
- package/esm2020/lib/formly/field/texteditor/texteditor.field.module.mjs +0 -51
- package/esm2020/lib/formly/field/value/array/array.field.module.mjs +0 -62
- package/esm2020/lib/formly/field/value/boolean/boolean.field.mjs +0 -47
- package/esm2020/lib/formly/field/value/date/date.field.module.mjs +0 -96
- package/esm2020/lib/formly/field/value/date/datetime.field.component.mjs +0 -488
- package/esm2020/lib/formly/field/value/date/datetime.field.mjs +0 -143
- package/esm2020/lib/formly/field/value/date/fixeddaterange.field.component.mjs +0 -506
- package/esm2020/lib/formly/field/value/phone/phone.field.component.mjs +0 -100
- package/esm2020/lib/formly/field/value/phone/phone.field.module.mjs +0 -66
- package/esm2020/lib/formly/field/wrapper/form.wrapper.module.mjs +0 -86
- package/esm2020/lib/formly/field/wrapper/section.wrapper.component.mjs +0 -26
- package/esm2020/lib/formly/field/wrapper/subsection.wrapper.component.mjs +0 -26
- package/esm2020/lib/formly/field/wrapper/wrapper.mjs +0 -78
- package/esm2020/lib/formly/formly.context.mjs +0 -100
- package/esm2020/mapbox/lib/field/latlng/latlng.field.mjs +0 -35
- package/esm2020/mapbox/lib/field/latlng/latlng.module.mjs +0 -59
- package/esm2020/mapbox/lib/field/zoom/zoom.field.mjs +0 -23
- package/esm2020/mapbox/lib/field/zoom/zoom.module.mjs +0 -57
- package/fesm2015/dereekb-dbx-form-calendar.mjs +0 -1955
- package/fesm2015/dereekb-dbx-form-calendar.mjs.map +0 -1
- package/fesm2015/dereekb-dbx-form-mapbox.mjs +0 -585
- package/fesm2015/dereekb-dbx-form-mapbox.mjs.map +0 -1
- package/fesm2015/dereekb-dbx-form.mjs +0 -6205
- package/fesm2015/dereekb-dbx-form.mjs.map +0 -1
- package/fesm2020/dereekb-dbx-form-calendar.mjs.map +0 -1
- package/fesm2020/dereekb-dbx-form-mapbox.mjs.map +0 -1
- package/fesm2020/dereekb-dbx-form.mjs.map +0 -1
- package/mapbox/esm2020/lib/field/latlng/latlng.field.mjs +0 -35
- package/mapbox/esm2020/lib/field/latlng/latlng.module.mjs +0 -59
- package/mapbox/esm2020/lib/field/zoom/zoom.field.mjs +0 -23
- package/mapbox/esm2020/lib/field/zoom/zoom.module.mjs +0 -57
- package/mapbox/fesm2015/dereekb-dbx-form-mapbox.mjs +0 -585
- package/mapbox/fesm2015/dereekb-dbx-form-mapbox.mjs.map +0 -1
- package/mapbox/fesm2020/dereekb-dbx-form-mapbox.mjs.map +0 -1
- /package/{esm2020 → esm2022}/calendar/dereekb-dbx-form-calendar.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/lib/calendar.schedule.selection.form.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/lib/field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/lib/field/schedule/index.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/lib/index.mjs +0 -0
- /package/{esm2020 → esm2022}/dereekb-dbx-form.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form/action/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form/action/transition/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form/form.angular.util.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form/form.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form/io/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/config/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/config/validation.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/checklist/checklist.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/checklist/checklist.item.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/checklist/checklist.item.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/checklist/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/component/component.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/component/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/list/list.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/pickable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/pickable/pickable.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/pickable/pickable.util.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/searchable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/searchable/searchable.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/searchable/searchable.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/searchable/text.chip.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/sourceselect/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/sourceselect/sourceselect.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/selection/sourceselect/sourceselect.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/texteditor/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/texteditor/texteditor.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/array/array.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/array/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/boolean/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/date/date.value.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/date/datetime.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/date/datetime.preset.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/date/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/hidden.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/number/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/number/number.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/phone/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/phone/phone.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/text/text.additional.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/text/text.address.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/value/text/text.field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/field/wrapper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/form/form.form.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/form/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/template/available.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/template/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/template/login.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/formly/template/timezone.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/layout/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/available.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/boolean.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/email.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/field.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/number.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validator/phone.mjs +0 -0
- /package/{esm2020 → esm2022}/mapbox/dereekb-dbx-form-mapbox.mjs +0 -0
- /package/{esm2020 → esm2022}/mapbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/mapbox/lib/field/index.mjs +0 -0
- /package/{esm2020 → esm2022}/mapbox/lib/field/latlng/index.mjs +0 -0
- /package/{esm2020 → esm2022}/mapbox/lib/field/zoom/index.mjs +0 -0
- /package/mapbox/{esm2020 → esm2022}/dereekb-dbx-form-mapbox.mjs +0 -0
- /package/mapbox/{esm2020 → esm2022}/index.mjs +0 -0
- /package/mapbox/{esm2020 → esm2022}/lib/field/index.mjs +0 -0
- /package/mapbox/{esm2020 → esm2022}/lib/field/latlng/index.mjs +0 -0
- /package/mapbox/{esm2020 → esm2022}/lib/field/zoom/index.mjs +0 -0
|
@@ -5,21 +5,21 @@ import { DbxDateTimeFieldProps, DbxDateTimePickerConfiguration } from './datetim
|
|
|
5
5
|
import { DbxFixedDateRangeFieldProps } from './fixeddaterange.field.component';
|
|
6
6
|
export interface DateTimeFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, DbxDateTimeFieldProps, MaterialFormFieldConfig {
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type TimeFieldConfig = Omit<DateTimeFieldConfig, 'showDate'>;
|
|
9
9
|
export declare const TAKE_NEXT_UPCOMING_TIME_CONFIG_OBS: () => Observable<DbxDateTimePickerConfiguration>;
|
|
10
10
|
/**
|
|
11
11
|
* Same as DateTime field but with the Date input hidden by default.
|
|
12
12
|
*/
|
|
13
13
|
export declare function timeOnlyField(config?: Partial<TimeFieldConfig>): FormlyFieldConfig;
|
|
14
|
-
export declare function dateTimeField(config?: Partial<DateTimeFieldConfig>):
|
|
15
|
-
export
|
|
14
|
+
export declare function dateTimeField(config?: Partial<DateTimeFieldConfig>): FormlyFieldConfig<DbxDateTimeFieldProps>;
|
|
15
|
+
export type DateDateRangeFieldDateConfig = Omit<DateTimeFieldConfig, 'dateLabel' | 'timeOnly' | 'timeMode' | 'getSyncFieldsObs'>;
|
|
16
16
|
export interface DateDateRangeFieldConfig extends Pick<DateTimeFieldConfig, 'timeDate' | 'timezone' | 'showTimezone' | 'presets'> {
|
|
17
17
|
required?: boolean;
|
|
18
18
|
start?: Partial<DateDateRangeFieldDateConfig>;
|
|
19
19
|
end?: Partial<DateDateRangeFieldDateConfig>;
|
|
20
20
|
}
|
|
21
21
|
export declare function dateRangeField(config?: DateDateRangeFieldConfig): FormlyFieldConfig;
|
|
22
|
-
export
|
|
22
|
+
export type DateTimeRangeFieldTimeConfig = Omit<DateDateRangeFieldDateConfig, 'allDayLabel' | 'fullDayFieldName' | 'fullDayInUTC'>;
|
|
23
23
|
export interface DateDateTimeRangeFieldConfig extends Pick<DateTimeFieldConfig, 'timeDate' | 'timezone' | 'showTimezone' | 'presets'> {
|
|
24
24
|
required?: boolean;
|
|
25
25
|
start?: Partial<DateTimeRangeFieldTimeConfig>;
|
|
@@ -28,4 +28,4 @@ export interface DateDateTimeRangeFieldConfig extends Pick<DateTimeFieldConfig,
|
|
|
28
28
|
export declare function dateTimeRangeField(inputConfig?: DateDateTimeRangeFieldConfig): FormlyFieldConfig;
|
|
29
29
|
export interface FixedDateRangeFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, DbxFixedDateRangeFieldProps, MaterialFormFieldConfig {
|
|
30
30
|
}
|
|
31
|
-
export declare function fixedDateRangeField(config?: Partial<FixedDateRangeFieldConfig>):
|
|
31
|
+
export declare function fixedDateRangeField(config?: Partial<FixedDateRangeFieldConfig>): FormlyFieldConfig<DbxDateTimeFieldProps>;
|
|
@@ -12,10 +12,10 @@ import { DateTimePresetConfiguration } from './datetime';
|
|
|
12
12
|
import { DbxDateTimeFieldMenuPresetsService } from './datetime.field.service';
|
|
13
13
|
import { DateAdapter } from '@angular/material/core';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
15
|
+
export type DbxFixedDateRangeDateRangeInput = Omit<DateRangeInput, 'date'>;
|
|
16
|
+
export type DbxFixedDateRangePickerConfiguration = Omit<DateTimeMinuteConfig, 'date'>;
|
|
17
|
+
export type DbxFixedDateRangeSelectionMode = 'single' | 'normal' | 'arbitrary' | 'arbitrary_quick';
|
|
18
|
+
export type DbxFixedDateRangePicking = 'start' | 'end';
|
|
19
19
|
export interface DbxFixedDateRangeFieldProps extends FormlyFieldProps {
|
|
20
20
|
/**
|
|
21
21
|
* Date range input to build the date range.
|
|
@@ -58,7 +58,7 @@ export interface DbxFixedDateRangeFieldProps extends FormlyFieldProps {
|
|
|
58
58
|
*/
|
|
59
59
|
showRangeInput?: boolean;
|
|
60
60
|
}
|
|
61
|
-
export
|
|
61
|
+
export type FixedDateRangeScanType = 'start' | 'end';
|
|
62
62
|
export interface FixedDateRangeScan {
|
|
63
63
|
/**
|
|
64
64
|
* Picked the start or end of the range on the last pick.
|
|
@@ -77,7 +77,7 @@ export interface FixedDateRangeScan {
|
|
|
77
77
|
*/
|
|
78
78
|
range?: DateRange;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
type SelectedDateEventType = 'calendar' | 'input';
|
|
81
81
|
export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldTypeConfig<DbxFixedDateRangeFieldProps>> implements OnInit, OnDestroy {
|
|
82
82
|
private readonly dbxDateTimeFieldConfigService;
|
|
83
83
|
private _sub;
|
|
@@ -147,7 +147,7 @@ export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldType
|
|
|
147
147
|
setDateRange(range: Maybe<Partial<DateRange>>, type: SelectedDateEventType): void;
|
|
148
148
|
_createDateRange(date: Maybe<Date>): Maybe<DateRange>;
|
|
149
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFixedDateRangeFieldComponent, never>;
|
|
150
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFixedDateRangeFieldComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFixedDateRangeFieldComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
151
151
|
}
|
|
152
152
|
export declare class DbxFixedDateRangeFieldSelectionStrategy<D> implements MatDateRangeSelectionStrategy<D> {
|
|
153
153
|
private _dateAdapter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
2
|
import { LabeledFieldConfig } from '../field';
|
|
3
|
-
export
|
|
3
|
+
export type HiddenFieldConfig = Pick<LabeledFieldConfig, 'key' | 'required'>;
|
|
4
4
|
export declare function hiddenField({ key, required }: HiddenFieldConfig): FormlyFieldConfig;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../../../style/theming';
|
|
3
|
+
|
|
4
|
+
// MARK: Variables
|
|
5
|
+
$dbx-formly-number-slider-field-thumb-label-margin-fix-size: 22px;
|
|
6
|
+
|
|
7
|
+
// MARK: Mixin
|
|
8
|
+
@mixin core() {
|
|
9
|
+
// slider field fix
|
|
10
|
+
.mat-form-field-appearance-outline .mat-mdc-form-field-infix > formly-field-mat-slider > .mat-mdc-slider {
|
|
11
|
+
margin: $dbx-formly-number-slider-field-thumb-label-margin-fix-size $dbx-formly-number-slider-field-thumb-label-margin-fix-size 0;
|
|
12
|
+
width: calc(100% - #{$dbx-formly-number-slider-field-thumb-label-margin-fix-size * 2}) !important;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin color($theme-config) {
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin typography($theme-config-or-typography-config) {
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin theme($theme-config) {
|
|
23
|
+
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-number') {
|
|
24
|
+
$color: theming.get-color-config($theme-config);
|
|
25
|
+
$typography: theming.get-typography-config($theme-config);
|
|
26
|
+
|
|
27
|
+
@if $color !=null {
|
|
28
|
+
@include color($theme-config);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@if $typography !=null {
|
|
32
|
+
@include typography($theme-config);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -7,11 +7,11 @@ export interface NumberFieldNumberConfig {
|
|
|
7
7
|
step?: number;
|
|
8
8
|
enforceStep?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type NumberFieldInputType = 'number';
|
|
11
11
|
export interface NumberFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, NumberFieldNumberConfig, AttributesFieldConfig, Partial<TransformNumberFunctionConfigRef>, MaterialFormFieldConfig {
|
|
12
12
|
inputType?: NumberFieldInputType;
|
|
13
13
|
}
|
|
14
|
-
export declare function numberFieldTransformParser(config: Partial<FieldConfigParsersRef> & Partial<TransformNumberFunctionConfigRef>): FormlyValueParser
|
|
14
|
+
export declare function numberFieldTransformParser(config: Partial<FieldConfigParsersRef> & Partial<TransformNumberFunctionConfigRef>): FormlyValueParser[] | undefined;
|
|
15
15
|
export declare function numberField(config: NumberFieldConfig): FormlyFieldConfig;
|
|
16
16
|
export interface NumberSliderFieldConfig extends NumberFieldConfig {
|
|
17
17
|
/**
|
|
@@ -40,7 +40,7 @@ export interface NumberSliderFieldConfig extends NumberFieldConfig {
|
|
|
40
40
|
displayWith?: (value: number) => string;
|
|
41
41
|
}
|
|
42
42
|
export declare function numberSliderField(config: NumberSliderFieldConfig): FormlyFieldConfig;
|
|
43
|
-
export
|
|
43
|
+
export type DollarAmountFieldConfig = Omit<NumberFieldConfig, 'roundToStep' | 'precision'>;
|
|
44
44
|
export declare function dollarAmountField(config: DollarAmountFieldConfig): FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
|
|
45
45
|
[additionalProperties: string]: any;
|
|
46
46
|
}>;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
$border-color: theming.get-color-from-palette($foreground, 'divider');
|
|
35
35
|
|
|
36
36
|
.dbx-form-phone-field {
|
|
37
|
-
.country-selector.mat-button,
|
|
37
|
+
.country-selector.mat-mdc-button,
|
|
38
38
|
.country-list-button.mat-menu-item {
|
|
39
39
|
color: $text-color;
|
|
40
40
|
}
|
|
@@ -47,12 +47,13 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
@mixin typography($typography-config) {
|
|
50
|
+
@mixin typography($theme-config-or-typography-config) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
@mixin theme($theme-config) {
|
|
54
54
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-phone') {
|
|
55
55
|
$color: theming.get-color-config($theme-config);
|
|
56
|
+
$density: theming.get-density-config($theme-config);
|
|
56
57
|
$typography: theming.get-typography-config($theme-config);
|
|
57
58
|
|
|
58
59
|
@if $color !=null {
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
@if $typography !=null {
|
|
63
|
-
@include typography($
|
|
64
|
+
@include typography($theme-config);
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
}
|
|
@@ -30,5 +30,5 @@ export declare class DbxPhoneFieldComponent extends FieldType<FieldTypeConfig<In
|
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPhoneFieldComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPhoneFieldComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxPhoneFieldComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
34
34
|
}
|
|
@@ -7,7 +7,7 @@ import * as i5 from "@angular/forms";
|
|
|
7
7
|
import * as i6 from "@angular/material/autocomplete";
|
|
8
8
|
import * as i7 from "@angular/material/chips";
|
|
9
9
|
import * as i8 from "@angular/material/icon";
|
|
10
|
-
import * as i9 from "@
|
|
10
|
+
import * as i9 from "@ngbracket/ngx-layout";
|
|
11
11
|
import * as i10 from "@ngx-formly/material/form-field";
|
|
12
12
|
import * as i11 from "@ngx-formly/core";
|
|
13
13
|
import * as i12 from "ngx-mat-intl-tel-input";
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
@mixin color($theme-config) {
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
@mixin typography($typography-config) {
|
|
12
|
+
@mixin typography($theme-config-or-typography-config) {
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin theme($theme-config) {
|
|
16
16
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-value-text') {
|
|
17
17
|
$color: theming.get-color-config($theme-config);
|
|
18
|
+
$density: theming.get-density-config($theme-config);
|
|
18
19
|
$typography: theming.get-typography-config($theme-config);
|
|
19
20
|
|
|
20
21
|
@if $color !=null {
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
@if $typography !=null {
|
|
25
|
-
@include typography($
|
|
26
|
+
@include typography($theme-config);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -9,15 +9,15 @@ export interface EmailFieldConfig extends Partial<LabeledFieldConfig>, Descripti
|
|
|
9
9
|
rows?: number;
|
|
10
10
|
}
|
|
11
11
|
export declare function emailField(config?: EmailFieldConfig): FormlyFieldConfig;
|
|
12
|
-
export
|
|
12
|
+
export type CityFieldConfig = Partial<TextFieldConfig>;
|
|
13
13
|
export declare function cityField(config?: CityFieldConfig): FormlyFieldConfig;
|
|
14
14
|
export interface StateFieldConfig extends Partial<TextFieldConfig> {
|
|
15
15
|
asCode?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare function stateField(config?: StateFieldConfig): FormlyFieldConfig;
|
|
18
|
-
export
|
|
18
|
+
export type CountryFieldConfig = Partial<TextFieldConfig>;
|
|
19
19
|
export declare function countryField(config?: CountryFieldConfig): FormlyFieldConfig;
|
|
20
|
-
export
|
|
20
|
+
export type ZipCodeFieldConfig = Partial<TextFieldConfig>;
|
|
21
21
|
export declare function zipCodeField(config?: ZipCodeFieldConfig): FormlyFieldConfig;
|
|
22
22
|
export declare const DEFAULT_LAT_LNG_TEXT_FIELD_PLACEHOLDER = "12.345,-67.8910";
|
|
23
23
|
export declare const DEFAULT_LAT_LNG_TEXT_FIELD_PATTERN_MESSAGE = "Invalid/unknown coordinates";
|
|
@@ -8,12 +8,12 @@ export interface TextFieldLengthConfig {
|
|
|
8
8
|
export interface TextFieldPatternConfig {
|
|
9
9
|
pattern?: string | RegExp;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type TextFieldInputType = 'text' | 'password' | 'email';
|
|
12
12
|
export interface TextFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, TextFieldPatternConfig, TextFieldLengthConfig, AttributesFieldConfig, Partial<TransformStringFunctionConfigRef>, MaterialFormFieldConfig {
|
|
13
13
|
inputType?: TextFieldInputType;
|
|
14
14
|
transform?: TransformStringFunctionConfig;
|
|
15
15
|
}
|
|
16
|
-
export declare function textFieldTransformParser(config: Partial<FieldConfigParsersRef> & Partial<TransformStringFunctionConfigRef>): FormlyValueParser
|
|
16
|
+
export declare function textFieldTransformParser(config: Partial<FieldConfigParsersRef> & Partial<TransformStringFunctionConfigRef>): FormlyValueParser[] | undefined;
|
|
17
17
|
export declare function textField(config: TextFieldConfig): FormlyFieldConfig;
|
|
18
18
|
export interface TextAreaFieldConfig extends LabeledFieldConfig, DescriptionFieldConfig, TextFieldPatternConfig, TextFieldLengthConfig, AttributesFieldConfig, Partial<TransformStringFunctionConfigRef>, MaterialFormFieldConfig {
|
|
19
19
|
rows?: number;
|
|
@@ -8,8 +8,8 @@ $form-flex-section-group-item-padding: $form-flex-section-group-padding * 2;
|
|
|
8
8
|
@mixin core() {
|
|
9
9
|
.dbx-mat-form-field-disable-underline {
|
|
10
10
|
> formly-wrapper-mat-form-field {
|
|
11
|
-
> mat-form-field.mat-form-field {
|
|
12
|
-
> .mat-form-field-wrapper > .mat-form-field-underline {
|
|
11
|
+
> mat-form-field.mat-mdc-form-field {
|
|
12
|
+
> .mat-mdc-form-field-wrapper > .mat-mdc-form-field-underline {
|
|
13
13
|
display: none;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -30,12 +30,13 @@ $form-flex-section-group-item-padding: $form-flex-section-group-padding * 2;
|
|
|
30
30
|
@mixin color($theme-config) {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
@mixin typography($typography-config) {
|
|
33
|
+
@mixin typography($theme-config-or-typography-config) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@mixin theme($theme-config) {
|
|
37
37
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-field-wrapper') {
|
|
38
38
|
$color: theming.get-color-config($theme-config);
|
|
39
|
+
$density: theming.get-density-config($theme-config);
|
|
39
40
|
$typography: theming.get-typography-config($theme-config);
|
|
40
41
|
|
|
41
42
|
@if $color !=null {
|
|
@@ -43,7 +44,7 @@ $form-flex-section-group-item-padding: $form-flex-section-group-padding * 2;
|
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
@if $typography !=null {
|
|
46
|
-
@include typography($
|
|
47
|
+
@include typography($theme-config);
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
}
|
|
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class AutoTouchFieldWrapperComponent extends FieldWrapper<FieldTypeConfig> implements OnInit {
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoTouchFieldWrapperComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoTouchFieldWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoTouchFieldWrapperComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractFormExpandableSectionWrapperDirective, AbstractFormExpandableSectionConfig } from './expandable.wrapper.delegate';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
3
|
+
export type DbxFormExpandWrapperButtonType = 'button' | 'text';
|
|
4
4
|
export interface DbxFormExpandWrapperConfig<T extends object = object> extends AbstractFormExpandableSectionConfig<T> {
|
|
5
5
|
buttonType?: DbxFormExpandWrapperButtonType;
|
|
6
6
|
}
|
|
@@ -10,5 +10,5 @@ export interface DbxFormExpandWrapperConfig<T extends object = object> extends A
|
|
|
10
10
|
export declare class DbxFormExpandWrapperComponent<T extends object = object> extends AbstractFormExpandableSectionWrapperDirective<T, DbxFormExpandWrapperConfig<T>> {
|
|
11
11
|
get buttonType(): DbxFormExpandWrapperButtonType;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormExpandWrapperComponent<any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormExpandWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormExpandWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -25,5 +25,5 @@ export declare class AbstractFormExpandableSectionWrapperDirective<T extends obj
|
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
ngOnDestroy(): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never, never, {}, {}, never, never, false>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never, never, {}, {}, never, never, false, never>;
|
|
29
29
|
}
|
|
@@ -10,5 +10,5 @@ export declare class DbxFormFlexWrapperComponent extends FieldWrapper<FormlyFiel
|
|
|
10
10
|
get breakpoint(): ScreenMediaWidthType | undefined;
|
|
11
11
|
get relative(): boolean;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFlexWrapperComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormFlexWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormFlexWrapperComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -13,7 +13,7 @@ import * as i11 from "@dereekb/dbx-web";
|
|
|
13
13
|
import * as i12 from "@angular/material/button";
|
|
14
14
|
import * as i13 from "@angular/material/slide-toggle";
|
|
15
15
|
import * as i14 from "@angular/material/icon";
|
|
16
|
-
import * as i15 from "@
|
|
16
|
+
import * as i15 from "@ngbracket/ngx-layout";
|
|
17
17
|
import * as i16 from "@ngx-formly/core";
|
|
18
18
|
export declare class DbxFormFormlyWrapperModule {
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormFormlyWrapperModule, never>;
|
|
@@ -7,5 +7,5 @@ export declare class DbxFormInfoWrapperComponent extends FieldWrapper<FormlyFiel
|
|
|
7
7
|
get infoWrapper(): DbxFormInfoConfig;
|
|
8
8
|
onInfoClick(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormInfoWrapperComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormInfoWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormInfoWrapperComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -2,9 +2,9 @@ import { DbxSectionHeaderConfig } from '@dereekb/dbx-web';
|
|
|
2
2
|
import { Maybe } from '@dereekb/util';
|
|
3
3
|
import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type DbxFormSectionConfig = DbxSectionHeaderConfig;
|
|
6
6
|
export declare class DbxFormSectionWrapperComponent extends FieldWrapper<FormlyFieldConfig<DbxFormSectionConfig>> {
|
|
7
7
|
get headerConfig(): Maybe<DbxSectionHeaderConfig>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSectionWrapperComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSectionWrapperComponent, "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSectionWrapperComponent, "dbx-form-section-wrapper", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ import { Maybe } from '@dereekb/util';
|
|
|
4
4
|
import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export
|
|
7
|
+
export type DbxFormStyleObject = {
|
|
8
8
|
[styleClass: string]: any;
|
|
9
9
|
};
|
|
10
10
|
export interface DbxFormStyleWrapperConfig {
|
|
@@ -21,5 +21,5 @@ export declare class DbxFormStyleWrapperComponent extends FieldWrapper<FormlyFie
|
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormStyleWrapperComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormStyleWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormStyleWrapperComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
25
25
|
}
|
|
@@ -2,9 +2,9 @@ import { DbxSectionHeaderConfig } from '@dereekb/dbx-web';
|
|
|
2
2
|
import { Maybe } from '@dereekb/util';
|
|
3
3
|
import { FieldTypeConfig, FieldWrapper } from '@ngx-formly/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type DbxFormSubsectionConfig = DbxSectionHeaderConfig;
|
|
6
6
|
export declare class DbxFormSubsectionWrapperComponent extends FieldWrapper<FieldTypeConfig<DbxFormSubsectionConfig>> {
|
|
7
7
|
get headerConfig(): Maybe<DbxSectionHeaderConfig>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSubsectionWrapperComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSubsectionWrapperComponent, "
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSubsectionWrapperComponent, "dbx-form-subsection-wrapper", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -12,5 +12,5 @@ export declare class DbxFormToggleWrapperComponent<T extends object = object> ex
|
|
|
12
12
|
readonly slideLabel$: Observable<Maybe<string>>;
|
|
13
13
|
onToggleChange(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormToggleWrapperComponent<any>, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormToggleWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormToggleWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
/**
|
|
6
6
|
* No configurable value for now.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type DbxFormWorkingWrapperConfig = object;
|
|
9
9
|
/**
|
|
10
10
|
* Adds a loading bar to help signify asynchronos work is occuring.
|
|
11
11
|
*
|
|
@@ -17,5 +17,5 @@ export declare class DbxFormWorkingWrapperComponent extends FieldWrapper<FormlyF
|
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormWorkingWrapperComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormWorkingWrapperComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormWorkingWrapperComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -17,7 +17,7 @@ export declare const INFO_WRAPPER_KEY = "info";
|
|
|
17
17
|
export declare const FLEX_WRAPPER_KEY = "flex";
|
|
18
18
|
export declare const STYLE_WRAPPER_KEY = "style";
|
|
19
19
|
export declare const WORKING_WRAPPER_KEY = "working";
|
|
20
|
-
export
|
|
20
|
+
export type WrapperFormlyFieldConfig<P, C extends FormlyFieldConfig> = FormlyFieldConfig<P> & {
|
|
21
21
|
wrappers: string[];
|
|
22
22
|
props: P;
|
|
23
23
|
fieldGroup: [C];
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
// adapt the search form to fit in the header
|
|
12
12
|
// TODO: Consider test that other one-field input forms fit in the dbx-section-page-header
|
|
13
13
|
.dbx-section-page-header-search-form {
|
|
14
|
-
.mat-form-field .mat-form-field-wrapper {
|
|
14
|
+
.mat-mdc-form-field .mat-mdc-form-field-wrapper {
|
|
15
15
|
margin: 0;
|
|
16
16
|
padding: 0;
|
|
17
17
|
|
|
18
|
-
.mat-form-field-infix {
|
|
18
|
+
.mat-mdc-form-field-infix {
|
|
19
19
|
padding: 11px;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -25,18 +25,31 @@
|
|
|
25
25
|
width: 100%;
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
|
+
|
|
29
|
+
.dbx-formly {
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.mat-mdc-form-field > .mat-mdc-text-field-wrapper {
|
|
34
|
+
padding: 0;
|
|
35
|
+
|
|
36
|
+
> .mat-mdc-form-field-flex {
|
|
37
|
+
@include theming.hide-mdc-notched-outline-border;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
28
40
|
}
|
|
29
41
|
}
|
|
30
42
|
|
|
31
43
|
@mixin color($theme-config) {
|
|
32
44
|
}
|
|
33
45
|
|
|
34
|
-
@mixin typography($typography-config) {
|
|
46
|
+
@mixin typography($theme-config-or-typography-config) {
|
|
35
47
|
}
|
|
36
48
|
|
|
37
49
|
@mixin theme($theme-config) {
|
|
38
50
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-formly-form') {
|
|
39
51
|
$color: theming.get-color-config($theme-config);
|
|
52
|
+
$density: theming.get-density-config($theme-config);
|
|
40
53
|
$typography: theming.get-typography-config($theme-config);
|
|
41
54
|
|
|
42
55
|
@if $color !=null {
|
|
@@ -44,7 +57,7 @@
|
|
|
44
57
|
}
|
|
45
58
|
|
|
46
59
|
@if $typography !=null {
|
|
47
|
-
@include typography($
|
|
60
|
+
@include typography($theme-config);
|
|
48
61
|
}
|
|
49
62
|
}
|
|
50
63
|
}
|
|
@@ -10,5 +10,5 @@ export declare class DbxFormSearchFormComponent extends AbstractConfigAsyncForml
|
|
|
10
10
|
searchChanged(value: DbxFormSearchFormFieldsValue): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSearchFormComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSearchFormComponent, "dbx-form-search-form", never, {}, { "search": "search"; }, never, never, false>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSearchFormComponent, "dbx-form-search-form", never, {}, { "search": "search"; }, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -15,5 +15,5 @@ export declare class DbxFormlyFieldsContextDirective<T = unknown> extends Abstra
|
|
|
15
15
|
set fields(fields: Maybe<FormlyFieldConfig[]>);
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyFieldsContextDirective<any>, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormlyFieldsContextDirective<any>, "[dbxFormlyFields]", never, { "fields": "dbxFormlyFields"; }, {}, never, never, false>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormlyFieldsContextDirective<any>, "[dbxFormlyFields]", never, { "fields": { "alias": "dbxFormlyFields"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -20,7 +20,7 @@ export declare abstract class AbstractFormlyFormDirective<T> implements OnDestro
|
|
|
20
20
|
clearValue(): void;
|
|
21
21
|
setDisabled(key?: DbxFormDisabledKey, disabled?: boolean): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormlyFormDirective<any>, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormlyFormDirective<any>, never, never, { "disabled": "disabled"; }, {}, never, never, false>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormlyFormDirective<any>, never, never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Abstract component for wrapping a form.
|
|
@@ -29,7 +29,7 @@ export declare abstract class AbstractSyncFormlyFormDirective<T> extends Abstrac
|
|
|
29
29
|
abstract fields: FormlyFieldConfig[];
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSyncFormlyFormDirective<any>, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Abstract component for wrapping an asyncrhronously-configured form.
|
|
@@ -43,7 +43,7 @@ export declare abstract class AbstractAsyncFormlyFormDirective<T> extends Abstra
|
|
|
43
43
|
ngOnInit(): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractAsyncFormlyFormDirective<any>, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAsyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAsyncFormlyFormDirective<any>, never, never, {}, {}, never, never, false, never>;
|
|
47
47
|
}
|
|
48
48
|
export declare abstract class AbstractConfigAsyncFormlyFormDirective<T, C> extends AbstractAsyncFormlyFormDirective<T> implements OnInit, OnDestroy {
|
|
49
49
|
private readonly _config;
|
|
@@ -53,5 +53,5 @@ export declare abstract class AbstractConfigAsyncFormlyFormDirective<T, C> exten
|
|
|
53
53
|
set config(config: Maybe<C>);
|
|
54
54
|
ngOnDestroy(): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never, never, { "config": "config"; }, {}, never, never, false>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractConfigAsyncFormlyFormDirective<any, any>, never, never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
57
|
}
|
|
@@ -44,5 +44,5 @@ export declare class DbxFormlyFormComponent<T> extends AbstractSubscriptionDirec
|
|
|
44
44
|
setDisabled(key?: DbxFormDisabledKey, disabled?: boolean): void;
|
|
45
45
|
forceFormUpdate(): void;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormlyFormComponent<any>, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormlyFormComponent<any>, "dbx-formly", ["formly"], {}, {}, never, never, false>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormlyFormComponent<any>, "dbx-formly", ["formly"], {}, {}, never, never, false, never>;
|
|
48
48
|
}
|
|
@@ -5,7 +5,7 @@ import { Maybe } from '@dereekb/util';
|
|
|
5
5
|
/**
|
|
6
6
|
* Convenience interface for the password parameters configuration for a TextPasswordField.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type TextPasswordFieldPasswordParameters = Partial<Pick<TextFieldConfig, 'maxLength' | 'minLength' | 'pattern'>>;
|
|
9
9
|
/**
|
|
10
10
|
* textPasswordField() configuration.
|
|
11
11
|
*/
|
|
@@ -3,7 +3,7 @@ import { TimezoneInfo } from '@dereekb/date';
|
|
|
3
3
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
4
|
import { SearchableValueFieldStringSearchFn, SearchableValueFieldDisplayFn } from '../field/selection/searchable';
|
|
5
5
|
import { SearchableTextFieldConfig } from '../field/selection/searchable/searchable.field';
|
|
6
|
-
export
|
|
6
|
+
export type TestStringSearchFunction = (text: string) => string[];
|
|
7
7
|
export declare function timezoneStringSearchFunction(): SearchableValueFieldStringSearchFn<string, TimezoneInfo>;
|
|
8
8
|
export declare const DISPLAY_FOR_TIMEZONE_STRING_VALUE: SearchableValueFieldDisplayFn<string, TimezoneInfo>;
|
|
9
9
|
/**
|
package/lib/layout/_layout.scss
CHANGED
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
@mixin color($theme-config) {
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
@mixin typography($typography-config) {
|
|
12
|
+
@mixin typography($theme-config-or-typography-config) {
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin theme($theme-config) {
|
|
16
16
|
@include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-form-layout') {
|
|
17
17
|
$color: theming.get-color-config($theme-config);
|
|
18
|
+
$density: theming.get-density-config($theme-config);
|
|
18
19
|
$typography: theming.get-typography-config($theme-config);
|
|
19
20
|
|
|
20
21
|
@if $color !=null {
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
@if $typography !=null {
|
|
25
|
-
@include typography($
|
|
26
|
+
@include typography($theme-config);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class DbxFormSpacerComponent {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSpacerComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSpacerComponent, "dbx-form-spacer", never, {}, {}, never, never, false>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormSpacerComponent, "dbx-form-spacer", never, {}, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use './theming';
|
|
1
2
|
@use '../form/form';
|
|
2
3
|
@use '../formly/formly';
|
|
3
4
|
@use '../layout/layout';
|
|
@@ -6,11 +7,18 @@
|
|
|
6
7
|
@use '../extension/extension';
|
|
7
8
|
|
|
8
9
|
// Includes all of the typographic styles.
|
|
9
|
-
@mixin all-component-typographies($typography-config
|
|
10
|
+
@mixin all-component-typographies($theme-config-or-typography-config: null) {
|
|
11
|
+
$typography-config: if(theming.private-is-theme-object($theme-config-or-typography-config), theming.get-typography-config($theme-config-or-typography-config), $theme-config-or-typography-config);
|
|
12
|
+
|
|
13
|
+
// If no actual color configuration has been specified, create a default one.
|
|
14
|
+
@if not $typography-config {
|
|
15
|
+
$typography-config: typography.define-typography-config();
|
|
16
|
+
}
|
|
17
|
+
|
|
10
18
|
@include form.typography($typography-config);
|
|
11
19
|
@include formly.typography($typography-config);
|
|
12
|
-
@include field.all-field-typography($typography-config);
|
|
20
|
+
@include field.all-field-typography($theme-config-or-typography-config);
|
|
13
21
|
@include forms.typography($typography-config);
|
|
14
22
|
@include layout.typography($typography-config);
|
|
15
|
-
@include extension.all-extension-typography($
|
|
23
|
+
@include extension.all-extension-typography($theme-config-or-typography-config);
|
|
16
24
|
}
|