@dereekb/dbx-firebase 12.7.0 → 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.
- package/LICENSE +1 -1
- package/fesm2022/dereekb-dbx-firebase.mjs +855 -1277
- package/fesm2022/dereekb-dbx-firebase.mjs.map +1 -1
- package/package.json +21 -23
- package/types/dereekb-dbx-firebase.d.ts +4304 -0
- package/esm2022/dereekb-dbx-firebase.mjs +0 -5
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/analytics/analytics.user.events.providers.mjs +0 -25
- package/esm2022/lib/analytics/analytics.user.events.service.mjs +0 -37
- package/esm2022/lib/analytics/analytics.user.source.mjs +0 -48
- package/esm2022/lib/analytics/index.mjs +0 -4
- package/esm2022/lib/auth/appcheck/appcheck.interceptor.mjs +0 -76
- package/esm2022/lib/auth/appcheck/appcheck.mjs +0 -11
- package/esm2022/lib/auth/appcheck/index.mjs +0 -3
- package/esm2022/lib/auth/auth.mjs +0 -22
- package/esm2022/lib/auth/firebase.auth.module.mjs +0 -22
- package/esm2022/lib/auth/firebase.auth.providers.mjs +0 -27
- package/esm2022/lib/auth/index.mjs +0 -7
- package/esm2022/lib/auth/login/firebase.login.module.mjs +0 -124
- package/esm2022/lib/auth/login/firebase.login.providers.default.mjs +0 -109
- package/esm2022/lib/auth/login/firebase.login.providers.mjs +0 -59
- package/esm2022/lib/auth/login/index.mjs +0 -27
- package/esm2022/lib/auth/login/login.anonymous.component.mjs +0 -23
- package/esm2022/lib/auth/login/login.apple.component.mjs +0 -23
- package/esm2022/lib/auth/login/login.button.component.mjs +0 -148
- package/esm2022/lib/auth/login/login.component.mjs +0 -39
- package/esm2022/lib/auth/login/login.context.back.component.mjs +0 -26
- package/esm2022/lib/auth/login/login.context.directive.mjs +0 -30
- package/esm2022/lib/auth/login/login.context.mjs +0 -7
- package/esm2022/lib/auth/login/login.email.component.mjs +0 -24
- package/esm2022/lib/auth/login/login.email.content.component.mjs +0 -102
- package/esm2022/lib/auth/login/login.email.form.component.mjs +0 -27
- package/esm2022/lib/auth/login/login.email.recovery.form.component.mjs +0 -21
- package/esm2022/lib/auth/login/login.facebook.component.mjs +0 -23
- package/esm2022/lib/auth/login/login.github.component.mjs +0 -23
- package/esm2022/lib/auth/login/login.google.component.mjs +0 -23
- package/esm2022/lib/auth/login/login.list.component.mjs +0 -71
- package/esm2022/lib/auth/login/login.microsoft.component.mjs +0 -23
- package/esm2022/lib/auth/login/login.mjs +0 -3
- package/esm2022/lib/auth/login/login.password.mjs +0 -4
- package/esm2022/lib/auth/login/login.service.mjs +0 -127
- package/esm2022/lib/auth/login/login.terms.component.mjs +0 -29
- package/esm2022/lib/auth/login/login.terms.mjs +0 -6
- package/esm2022/lib/auth/login/login.terms.simple.component.mjs +0 -38
- package/esm2022/lib/auth/login/login.twitter.component.mjs +0 -23
- package/esm2022/lib/auth/login/register.component.mjs +0 -27
- package/esm2022/lib/auth/login/register.email.component.mjs +0 -23
- package/esm2022/lib/auth/service/firebase.auth.rxjs.mjs +0 -46
- package/esm2022/lib/auth/service/firebase.auth.service.delegate.mjs +0 -28
- package/esm2022/lib/auth/service/firebase.auth.service.mjs +0 -193
- package/esm2022/lib/auth/service/index.mjs +0 -4
- package/esm2022/lib/development/development.directive.mjs +0 -79
- package/esm2022/lib/development/development.module.mjs +0 -61
- package/esm2022/lib/development/development.popup.component.mjs +0 -44
- package/esm2022/lib/development/development.popup.content.component.mjs +0 -73
- package/esm2022/lib/development/development.popup.content.form.component.mjs +0 -39
- package/esm2022/lib/development/development.providers.mjs +0 -47
- package/esm2022/lib/development/development.scheduler.list.component.mjs +0 -79
- package/esm2022/lib/development/development.scheduler.service.mjs +0 -78
- package/esm2022/lib/development/development.scheduler.widget.component.mjs +0 -40
- package/esm2022/lib/development/development.service.mjs +0 -20
- package/esm2022/lib/development/development.widget.mjs +0 -2
- package/esm2022/lib/development/development.widget.service.mjs +0 -56
- package/esm2022/lib/development/index.mjs +0 -14
- package/esm2022/lib/firebase/appcheck.mjs +0 -2
- package/esm2022/lib/firebase/emulators.mjs +0 -14
- package/esm2022/lib/firebase/firebase.emulator.module.mjs +0 -23
- package/esm2022/lib/firebase/firebase.emulator.providers.mjs +0 -33
- package/esm2022/lib/firebase/firebase.emulator.service.mjs +0 -29
- package/esm2022/lib/firebase/firebase.module.mjs +0 -26
- package/esm2022/lib/firebase/firebase.options.environment.mjs +0 -2
- package/esm2022/lib/firebase/firebase.options.mjs +0 -3
- package/esm2022/lib/firebase/firebase.providers.mjs +0 -149
- package/esm2022/lib/firebase/index.mjs +0 -10
- package/esm2022/lib/firestore/firebase.firestore.context.service.mjs +0 -18
- package/esm2022/lib/firestore/firebase.firestore.mjs +0 -6
- package/esm2022/lib/firestore/firebase.firestore.module.mjs +0 -23
- package/esm2022/lib/firestore/firebase.firestore.providers.mjs +0 -86
- package/esm2022/lib/firestore/index.mjs +0 -5
- package/esm2022/lib/function/firebase.function.module.mjs +0 -23
- package/esm2022/lib/function/firebase.function.providers.mjs +0 -54
- package/esm2022/lib/function/index.mjs +0 -3
- package/esm2022/lib/index.mjs +0 -14
- package/esm2022/lib/model/error.mjs +0 -6
- package/esm2022/lib/model/index.mjs +0 -7
- package/esm2022/lib/model/loader/collection.change.trigger.mjs +0 -80
- package/esm2022/lib/model/loader/collection.change.watcher.mjs +0 -35
- package/esm2022/lib/model/loader/collection.loader.instance.mjs +0 -227
- package/esm2022/lib/model/loader/collection.loader.mjs +0 -2
- package/esm2022/lib/model/loader/document.loader.instance.mjs +0 -68
- package/esm2022/lib/model/loader/document.loader.mjs +0 -2
- package/esm2022/lib/model/loader/index.mjs +0 -7
- package/esm2022/lib/model/model.module.mjs +0 -17
- package/esm2022/lib/model/modules/index.mjs +0 -3
- package/esm2022/lib/model/modules/model/entities/index.mjs +0 -11
- package/esm2022/lib/model/modules/model/entities/model.entities.component.mjs +0 -120
- package/esm2022/lib/model/modules/model/entities/model.entities.entity.component.mjs +0 -76
- package/esm2022/lib/model/modules/model/entities/model.entities.mjs +0 -15
- package/esm2022/lib/model/modules/model/entities/model.entities.popover.button.component.mjs +0 -49
- package/esm2022/lib/model/modules/model/entities/model.entities.popover.component.mjs +0 -42
- package/esm2022/lib/model/modules/model/entities/model.entities.providers.mjs +0 -20
- package/esm2022/lib/model/modules/model/entities/model.entities.source.directive.mjs +0 -38
- package/esm2022/lib/model/modules/model/entities/model.entities.widget.entity.abstract.directive.mjs +0 -18
- package/esm2022/lib/model/modules/model/entities/model.entities.widget.entity.debug.component.mjs +0 -38
- package/esm2022/lib/model/modules/model/entities/model.entities.widget.mjs +0 -51
- package/esm2022/lib/model/modules/model/entities/model.entities.widget.service.mjs +0 -91
- package/esm2022/lib/model/modules/model/history/index.mjs +0 -7
- package/esm2022/lib/model/modules/model/history/model.history.component.mjs +0 -36
- package/esm2022/lib/model/modules/model/history/model.history.module.mjs +0 -26
- package/esm2022/lib/model/modules/model/history/model.history.popover.button.component.mjs +0 -40
- package/esm2022/lib/model/modules/model/history/model.history.popover.component.mjs +0 -36
- package/esm2022/lib/model/modules/model/history/model.sourceselect.history.mjs +0 -18
- package/esm2022/lib/model/modules/model/history/model.tracker.service.mjs +0 -58
- package/esm2022/lib/model/modules/model/index.mjs +0 -8
- package/esm2022/lib/model/modules/model/model.key.component.mjs +0 -51
- package/esm2022/lib/model/modules/model/model.types.list.component.mjs +0 -67
- package/esm2022/lib/model/modules/model/model.types.module.mjs +0 -26
- package/esm2022/lib/model/modules/model/model.types.providers.mjs +0 -20
- package/esm2022/lib/model/modules/model/model.types.service.mjs +0 -122
- package/esm2022/lib/model/modules/model/model.types.view.directive.mjs +0 -45
- package/esm2022/lib/model/modules/store/index.mjs +0 -22
- package/esm2022/lib/model/modules/store/model.store.module.mjs +0 -21
- package/esm2022/lib/model/modules/store/store.collection.change.directive.mjs +0 -42
- package/esm2022/lib/model/modules/store/store.collection.change.if.directive.mjs +0 -42
- package/esm2022/lib/model/modules/store/store.collection.crud.mjs +0 -28
- package/esm2022/lib/model/modules/store/store.collection.directive.mjs +0 -95
- package/esm2022/lib/model/modules/store/store.collection.list.directive.mjs +0 -30
- package/esm2022/lib/model/modules/store/store.collection.mjs +0 -79
- package/esm2022/lib/model/modules/store/store.document.context.store.directive.mjs +0 -19
- package/esm2022/lib/model/modules/store/store.document.context.store.link.mjs +0 -45
- package/esm2022/lib/model/modules/store/store.document.context.store.mjs +0 -86
- package/esm2022/lib/model/modules/store/store.document.crud.mjs +0 -80
- package/esm2022/lib/model/modules/store/store.document.directive.mjs +0 -109
- package/esm2022/lib/model/modules/store/store.document.mjs +0 -193
- package/esm2022/lib/model/modules/store/store.document.twoway.key.directive.mjs +0 -25
- package/esm2022/lib/model/modules/store/store.document.twoway.key.source.directive.mjs +0 -22
- package/esm2022/lib/model/modules/store/store.document.twoway.key.source.mjs +0 -16
- package/esm2022/lib/model/modules/store/store.mjs +0 -2
- package/esm2022/lib/model/modules/store/store.subcollection.directive.mjs +0 -40
- package/esm2022/lib/model/modules/store/store.subcollection.document.mjs +0 -99
- package/esm2022/lib/model/modules/store/store.subcollection.mjs +0 -80
- package/esm2022/lib/model/modules/store/store.subcollection.rxjs.mjs +0 -23
- package/esm2022/lib/model/service/index.mjs +0 -5
- package/esm2022/lib/model/service/model.context.instance.mjs +0 -73
- package/esm2022/lib/model/service/model.context.mjs +0 -2
- package/esm2022/lib/model/service/model.context.providers.mjs +0 -32
- package/esm2022/lib/model/service/model.context.service.mjs +0 -38
- package/esm2022/lib/model/system/index.mjs +0 -6
- package/esm2022/lib/model/system/systemstate.collection.store.directive.mjs +0 -20
- package/esm2022/lib/model/system/systemstate.collection.store.mjs +0 -16
- package/esm2022/lib/model/system/systemstate.document.store.accessor.mjs +0 -32
- package/esm2022/lib/model/system/systemstate.document.store.directive.mjs +0 -19
- package/esm2022/lib/model/system/systemstate.document.store.mjs +0 -16
- package/esm2022/lib/module.mjs +0 -15
- package/esm2022/lib/modules/index.mjs +0 -3
- package/esm2022/lib/modules/notification/component/index.mjs +0 -6
- package/esm2022/lib/modules/notification/component/notificationitem.content.component.mjs +0 -15
- package/esm2022/lib/modules/notification/component/notificationitem.list.component.mjs +0 -90
- package/esm2022/lib/modules/notification/component/notificationitem.view.component.mjs +0 -37
- package/esm2022/lib/modules/notification/component/notificationitem.view.default.component.mjs +0 -27
- package/esm2022/lib/modules/notification/component/notificationitem.view.directive.mjs +0 -14
- package/esm2022/lib/modules/notification/container/index.mjs +0 -3
- package/esm2022/lib/modules/notification/container/notification.item.store.popover.button.component.mjs +0 -48
- package/esm2022/lib/modules/notification/container/notification.item.store.popover.component.mjs +0 -35
- package/esm2022/lib/modules/notification/index.mjs +0 -7
- package/esm2022/lib/modules/notification/notification.module.mjs +0 -103
- package/esm2022/lib/modules/notification/notification.providers.mjs +0 -47
- package/esm2022/lib/modules/notification/service/index.mjs +0 -4
- package/esm2022/lib/modules/notification/service/notification.template.service.mjs +0 -28
- package/esm2022/lib/modules/notification/service/notificationitem.widget.mjs +0 -11
- package/esm2022/lib/modules/notification/service/notificationitem.widget.service.mjs +0 -55
- package/esm2022/lib/modules/notification/store/index.mjs +0 -18
- package/esm2022/lib/modules/notification/store/notification.collection.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notification.collection.store.mjs +0 -23
- package/esm2022/lib/modules/notification/store/notification.document.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notification.document.store.mjs +0 -33
- package/esm2022/lib/modules/notification/store/notification.item.store.mjs +0 -30
- package/esm2022/lib/modules/notification/store/notificationbox.collection.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notificationbox.collection.store.mjs +0 -16
- package/esm2022/lib/modules/notification/store/notificationbox.document.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notificationbox.document.store.mjs +0 -22
- package/esm2022/lib/modules/notification/store/notificationsummary.collection.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notificationsummary.collection.store.mjs +0 -16
- package/esm2022/lib/modules/notification/store/notificationsummary.document.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notificationsummary.document.store.mjs +0 -34
- package/esm2022/lib/modules/notification/store/notificationuser.collection.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notificationuser.collection.store.mjs +0 -16
- package/esm2022/lib/modules/notification/store/notificationuser.document.store.directive.mjs +0 -21
- package/esm2022/lib/modules/notification/store/notificationuser.document.store.mjs +0 -18
- package/esm2022/lib/modules/storagefile/container/index.mjs +0 -8
- package/esm2022/lib/modules/storagefile/container/storagefile.download.button.component.mjs +0 -278
- package/esm2022/lib/modules/storagefile/container/storagefile.upload.action.handler.directive.mjs +0 -111
- package/esm2022/lib/modules/storagefile/container/storagefile.upload.error.mjs +0 -12
- package/esm2022/lib/modules/storagefile/container/storagefile.upload.handler.mjs +0 -260
- package/esm2022/lib/modules/storagefile/container/storagefile.upload.initialize.document.directive.mjs +0 -46
- package/esm2022/lib/modules/storagefile/container/storagefile.upload.store.directive.mjs +0 -33
- package/esm2022/lib/modules/storagefile/container/storagefile.upload.sync.directive.mjs +0 -28
- package/esm2022/lib/modules/storagefile/index.mjs +0 -6
- package/esm2022/lib/modules/storagefile/service/index.mjs +0 -3
- package/esm2022/lib/modules/storagefile/service/storagefile.download.service.mjs +0 -158
- package/esm2022/lib/modules/storagefile/service/storagefile.download.storage.service.mjs +0 -91
- package/esm2022/lib/modules/storagefile/storagefile.providers.mjs +0 -33
- package/esm2022/lib/modules/storagefile/storagefile.upload.module.mjs +0 -83
- package/esm2022/lib/modules/storagefile/store/index.mjs +0 -8
- package/esm2022/lib/modules/storagefile/store/storagefile.collection.store.directive.mjs +0 -22
- package/esm2022/lib/modules/storagefile/store/storagefile.collection.store.mjs +0 -18
- package/esm2022/lib/modules/storagefile/store/storagefile.document.store.directive.mjs +0 -21
- package/esm2022/lib/modules/storagefile/store/storagefile.document.store.mjs +0 -23
- package/esm2022/lib/modules/storagefile/store/storagefile.upload.store.mjs +0 -63
- package/esm2022/lib/modules/storagefile/store/storagefilegroup.document.store.directive.mjs +0 -21
- package/esm2022/lib/modules/storagefile/store/storagefilegroup.document.store.mjs +0 -18
- package/esm2022/lib/pipe/index.mjs +0 -4
- package/esm2022/lib/pipe/key.flat.pipe.mjs +0 -20
- package/esm2022/lib/pipe/key.twoway.pipe.mjs +0 -20
- package/esm2022/lib/pipe/pipe.module.mjs +0 -23
- package/esm2022/lib/providers.mjs +0 -48
- package/esm2022/lib/router/id.param.redirect.mjs +0 -64
- package/esm2022/lib/router/index.mjs +0 -2
- package/esm2022/lib/storage/firebase.storage.mjs +0 -10
- package/esm2022/lib/storage/firebase.storage.module.mjs +0 -22
- package/esm2022/lib/storage/firebase.storage.providers.mjs +0 -44
- package/esm2022/lib/storage/firebase.storage.service.mjs +0 -27
- package/esm2022/lib/storage/index.mjs +0 -5
- package/index.d.ts +0 -1
- package/lib/analytics/analytics.user.events.providers.d.ts +0 -6
- package/lib/analytics/analytics.user.events.service.d.ts +0 -19
- package/lib/analytics/analytics.user.source.d.ts +0 -21
- package/lib/analytics/index.d.ts +0 -3
- package/lib/auth/appcheck/appcheck.d.ts +0 -8
- package/lib/auth/appcheck/appcheck.interceptor.d.ts +0 -15
- package/lib/auth/appcheck/index.d.ts +0 -2
- package/lib/auth/auth.d.ts +0 -15
- package/lib/auth/firebase.auth.module.d.ts +0 -13
- package/lib/auth/firebase.auth.providers.d.ts +0 -21
- package/lib/auth/index.d.ts +0 -6
- package/lib/auth/login/firebase.login.module.d.ts +0 -36
- package/lib/auth/login/firebase.login.providers.d.ts +0 -32
- package/lib/auth/login/firebase.login.providers.default.d.ts +0 -7
- package/lib/auth/login/index.d.ts +0 -26
- package/lib/auth/login/login.anonymous.component.d.ts +0 -8
- package/lib/auth/login/login.apple.component.d.ts +0 -8
- package/lib/auth/login/login.button.component.d.ts +0 -53
- package/lib/auth/login/login.component.d.ts +0 -14
- package/lib/auth/login/login.context.back.component.d.ts +0 -8
- package/lib/auth/login/login.context.d.ts +0 -6
- package/lib/auth/login/login.context.directive.d.ts +0 -10
- package/lib/auth/login/login.d.ts +0 -7
- package/lib/auth/login/login.email.component.d.ts +0 -8
- package/lib/auth/login/login.email.content.component.d.ts +0 -41
- package/lib/auth/login/login.email.form.component.d.ts +0 -16
- package/lib/auth/login/login.email.recovery.form.component.d.ts +0 -11
- package/lib/auth/login/login.facebook.component.d.ts +0 -8
- package/lib/auth/login/login.github.component.d.ts +0 -8
- package/lib/auth/login/login.google.component.d.ts +0 -8
- package/lib/auth/login/login.list.component.d.ts +0 -21
- package/lib/auth/login/login.microsoft.component.d.ts +0 -8
- package/lib/auth/login/login.password.d.ts +0 -3
- package/lib/auth/login/login.service.d.ts +0 -115
- package/lib/auth/login/login.terms.component.d.ts +0 -9
- package/lib/auth/login/login.terms.d.ts +0 -18
- package/lib/auth/login/login.terms.simple.component.d.ts +0 -9
- package/lib/auth/login/login.twitter.component.d.ts +0 -8
- package/lib/auth/login/register.component.d.ts +0 -12
- package/lib/auth/login/register.email.component.d.ts +0 -8
- package/lib/auth/service/firebase.auth.rxjs.d.ts +0 -23
- package/lib/auth/service/firebase.auth.service.d.ts +0 -95
- package/lib/auth/service/firebase.auth.service.delegate.d.ts +0 -25
- package/lib/auth/service/index.d.ts +0 -3
- package/lib/development/development.directive.d.ts +0 -24
- package/lib/development/development.module.d.ts +0 -15
- package/lib/development/development.popup.component.d.ts +0 -14
- package/lib/development/development.popup.content.component.d.ts +0 -46
- package/lib/development/development.popup.content.form.component.d.ts +0 -17
- package/lib/development/development.providers.d.ts +0 -32
- package/lib/development/development.scheduler.list.component.d.ts +0 -23
- package/lib/development/development.scheduler.service.d.ts +0 -31
- package/lib/development/development.scheduler.widget.component.d.ts +0 -12
- package/lib/development/development.service.d.ts +0 -16
- package/lib/development/development.widget.d.ts +0 -8
- package/lib/development/development.widget.service.d.ts +0 -29
- package/lib/development/index.d.ts +0 -13
- package/lib/firebase/appcheck.d.ts +0 -21
- package/lib/firebase/emulators.d.ts +0 -60
- package/lib/firebase/firebase.emulator.module.d.ts +0 -14
- package/lib/firebase/firebase.emulator.providers.d.ts +0 -13
- package/lib/firebase/firebase.emulator.service.d.ts +0 -11
- package/lib/firebase/firebase.module.d.ts +0 -14
- package/lib/firebase/firebase.options.d.ts +0 -36
- package/lib/firebase/firebase.options.environment.d.ts +0 -10
- package/lib/firebase/firebase.providers.d.ts +0 -51
- package/lib/firebase/index.d.ts +0 -9
- package/lib/firestore/firebase.firestore.context.service.d.ts +0 -10
- package/lib/firestore/firebase.firestore.d.ts +0 -5
- package/lib/firestore/firebase.firestore.module.d.ts +0 -15
- package/lib/firestore/firebase.firestore.providers.d.ts +0 -62
- package/lib/firestore/index.d.ts +0 -4
- package/lib/function/firebase.function.module.d.ts +0 -16
- package/lib/function/firebase.function.providers.d.ts +0 -43
- package/lib/function/index.d.ts +0 -2
- package/lib/index.d.ts +0 -13
- package/lib/model/error.d.ts +0 -2
- package/lib/model/index.d.ts +0 -6
- package/lib/model/loader/collection.change.trigger.d.ts +0 -57
- package/lib/model/loader/collection.change.watcher.d.ts +0 -44
- package/lib/model/loader/collection.loader.d.ts +0 -61
- package/lib/model/loader/collection.loader.instance.d.ts +0 -110
- package/lib/model/loader/document.loader.d.ts +0 -75
- package/lib/model/loader/document.loader.instance.d.ts +0 -46
- package/lib/model/loader/index.d.ts +0 -6
- package/lib/model/model.module.d.ts +0 -9
- package/lib/model/modules/index.d.ts +0 -2
- package/lib/model/modules/model/entities/index.d.ts +0 -10
- package/lib/model/modules/model/entities/model.entities.component.d.ts +0 -45
- package/lib/model/modules/model/entities/model.entities.d.ts +0 -60
- package/lib/model/modules/model/entities/model.entities.entity.component.d.ts +0 -41
- package/lib/model/modules/model/entities/model.entities.popover.button.component.d.ts +0 -30
- package/lib/model/modules/model/entities/model.entities.popover.component.d.ts +0 -59
- package/lib/model/modules/model/entities/model.entities.providers.d.ts +0 -22
- package/lib/model/modules/model/entities/model.entities.source.directive.d.ts +0 -8
- package/lib/model/modules/model/entities/model.entities.widget.d.ts +0 -30
- package/lib/model/modules/model/entities/model.entities.widget.entity.abstract.directive.d.ts +0 -13
- package/lib/model/modules/model/entities/model.entities.widget.entity.debug.component.d.ts +0 -16
- package/lib/model/modules/model/entities/model.entities.widget.service.d.ts +0 -74
- package/lib/model/modules/model/history/index.d.ts +0 -6
- package/lib/model/modules/model/history/model.history.component.d.ts +0 -16
- package/lib/model/modules/model/history/model.history.module.d.ts +0 -16
- package/lib/model/modules/model/history/model.history.popover.button.component.d.ts +0 -16
- package/lib/model/modules/model/history/model.history.popover.component.d.ts +0 -50
- package/lib/model/modules/model/history/model.sourceselect.history.d.ts +0 -32
- package/lib/model/modules/model/history/model.tracker.service.d.ts +0 -43
- package/lib/model/modules/model/index.d.ts +0 -7
- package/lib/model/modules/model/model.key.component.d.ts +0 -25
- package/lib/model/modules/model/model.types.list.component.d.ts +0 -22
- package/lib/model/modules/model/model.types.module.d.ts +0 -16
- package/lib/model/modules/model/model.types.providers.d.ts +0 -22
- package/lib/model/modules/model/model.types.service.d.ts +0 -90
- package/lib/model/modules/model/model.types.view.directive.d.ts +0 -17
- package/lib/model/modules/store/index.d.ts +0 -21
- package/lib/model/modules/store/model.store.module.d.ts +0 -11
- package/lib/model/modules/store/store.collection.change.directive.d.ts +0 -26
- package/lib/model/modules/store/store.collection.change.if.directive.d.ts +0 -18
- package/lib/model/modules/store/store.collection.crud.d.ts +0 -21
- package/lib/model/modules/store/store.collection.d.ts +0 -97
- package/lib/model/modules/store/store.collection.directive.d.ts +0 -54
- package/lib/model/modules/store/store.collection.list.directive.d.ts +0 -13
- package/lib/model/modules/store/store.d.ts +0 -87
- package/lib/model/modules/store/store.document.context.store.d.ts +0 -59
- package/lib/model/modules/store/store.document.context.store.directive.d.ts +0 -8
- package/lib/model/modules/store/store.document.context.store.link.d.ts +0 -17
- package/lib/model/modules/store/store.document.crud.d.ts +0 -63
- package/lib/model/modules/store/store.document.d.ts +0 -101
- package/lib/model/modules/store/store.document.directive.d.ts +0 -64
- package/lib/model/modules/store/store.document.twoway.key.directive.d.ts +0 -13
- package/lib/model/modules/store/store.document.twoway.key.source.d.ts +0 -10
- package/lib/model/modules/store/store.document.twoway.key.source.directive.d.ts +0 -13
- package/lib/model/modules/store/store.subcollection.d.ts +0 -51
- package/lib/model/modules/store/store.subcollection.directive.d.ts +0 -26
- package/lib/model/modules/store/store.subcollection.document.d.ts +0 -67
- package/lib/model/modules/store/store.subcollection.rxjs.d.ts +0 -24
- package/lib/model/service/index.d.ts +0 -4
- package/lib/model/service/model.context.d.ts +0 -33
- package/lib/model/service/model.context.instance.d.ts +0 -17
- package/lib/model/service/model.context.providers.d.ts +0 -18
- package/lib/model/service/model.context.service.d.ts +0 -31
- package/lib/model/system/index.d.ts +0 -5
- package/lib/model/system/systemstate.collection.store.d.ts +0 -8
- package/lib/model/system/systemstate.collection.store.directive.d.ts +0 -9
- package/lib/model/system/systemstate.document.store.accessor.d.ts +0 -20
- package/lib/model/system/systemstate.document.store.d.ts +0 -8
- package/lib/model/system/systemstate.document.store.directive.d.ts +0 -9
- package/lib/module.d.ts +0 -7
- package/lib/modules/index.d.ts +0 -2
- package/lib/modules/notification/component/index.d.ts +0 -5
- package/lib/modules/notification/component/notificationitem.content.component.d.ts +0 -9
- package/lib/modules/notification/component/notificationitem.list.component.d.ts +0 -24
- package/lib/modules/notification/component/notificationitem.view.component.d.ts +0 -10
- package/lib/modules/notification/component/notificationitem.view.default.component.d.ts +0 -9
- package/lib/modules/notification/component/notificationitem.view.directive.d.ts +0 -8
- package/lib/modules/notification/container/index.d.ts +0 -2
- package/lib/modules/notification/container/notification.item.store.popover.button.component.d.ts +0 -17
- package/lib/modules/notification/container/notification.item.store.popover.component.d.ts +0 -50
- package/lib/modules/notification/index.d.ts +0 -6
- package/lib/modules/notification/notification.module.d.ts +0 -38
- package/lib/modules/notification/notification.providers.d.ts +0 -24
- package/lib/modules/notification/service/index.d.ts +0 -3
- package/lib/modules/notification/service/notification.template.service.d.ts +0 -11
- package/lib/modules/notification/service/notificationitem.widget.d.ts +0 -26
- package/lib/modules/notification/service/notificationitem.widget.service.d.ts +0 -22
- package/lib/modules/notification/store/index.d.ts +0 -17
- package/lib/modules/notification/store/notification.collection.store.d.ts +0 -9
- package/lib/modules/notification/store/notification.collection.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notification.document.store.d.ts +0 -16
- package/lib/modules/notification/store/notification.document.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notification.item.store.d.ts +0 -27
- package/lib/modules/notification/store/notificationbox.collection.store.d.ts +0 -8
- package/lib/modules/notification/store/notificationbox.collection.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notificationbox.document.store.d.ts +0 -13
- package/lib/modules/notification/store/notificationbox.document.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notificationsummary.collection.store.d.ts +0 -8
- package/lib/modules/notification/store/notificationsummary.collection.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notificationsummary.document.store.d.ts +0 -21
- package/lib/modules/notification/store/notificationsummary.document.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notificationuser.collection.store.d.ts +0 -8
- package/lib/modules/notification/store/notificationuser.collection.store.directive.d.ts +0 -9
- package/lib/modules/notification/store/notificationuser.document.store.d.ts +0 -11
- package/lib/modules/notification/store/notificationuser.document.store.directive.d.ts +0 -9
- package/lib/modules/storagefile/container/index.d.ts +0 -7
- package/lib/modules/storagefile/container/storagefile.download.button.component.d.ts +0 -160
- package/lib/modules/storagefile/container/storagefile.upload.action.handler.directive.d.ts +0 -41
- package/lib/modules/storagefile/container/storagefile.upload.error.d.ts +0 -9
- package/lib/modules/storagefile/container/storagefile.upload.handler.d.ts +0 -183
- package/lib/modules/storagefile/container/storagefile.upload.initialize.document.directive.d.ts +0 -18
- package/lib/modules/storagefile/container/storagefile.upload.store.directive.d.ts +0 -16
- package/lib/modules/storagefile/container/storagefile.upload.sync.directive.d.ts +0 -13
- package/lib/modules/storagefile/index.d.ts +0 -5
- package/lib/modules/storagefile/service/index.d.ts +0 -2
- package/lib/modules/storagefile/service/storagefile.download.service.d.ts +0 -79
- package/lib/modules/storagefile/service/storagefile.download.storage.service.d.ts +0 -56
- package/lib/modules/storagefile/storagefile.providers.d.ts +0 -13
- package/lib/modules/storagefile/storagefile.upload.module.d.ts +0 -29
- package/lib/modules/storagefile/store/index.d.ts +0 -7
- package/lib/modules/storagefile/store/storagefile.collection.store.d.ts +0 -10
- package/lib/modules/storagefile/store/storagefile.collection.store.directive.d.ts +0 -9
- package/lib/modules/storagefile/store/storagefile.document.store.d.ts +0 -16
- package/lib/modules/storagefile/store/storagefile.document.store.directive.d.ts +0 -9
- package/lib/modules/storagefile/store/storagefile.upload.store.d.ts +0 -165
- package/lib/modules/storagefile/store/storagefilegroup.document.store.d.ts +0 -11
- package/lib/modules/storagefile/store/storagefilegroup.document.store.directive.d.ts +0 -9
- package/lib/pipe/index.d.ts +0 -3
- package/lib/pipe/key.flat.pipe.d.ts +0 -9
- package/lib/pipe/key.twoway.pipe.d.ts +0 -9
- package/lib/pipe/pipe.module.d.ts +0 -13
- package/lib/providers.d.ts +0 -64
- package/lib/router/id.param.redirect.d.ts +0 -41
- package/lib/router/index.d.ts +0 -1
- package/lib/storage/firebase.storage.d.ts +0 -9
- package/lib/storage/firebase.storage.module.d.ts +0 -13
- package/lib/storage/firebase.storage.providers.d.ts +0 -31
- package/lib/storage/firebase.storage.service.d.ts +0 -13
- package/lib/storage/index.d.ts +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable,
|
|
2
|
+
import { inject, Injectable, provideAppInitializer, makeEnvironmentProviders, InjectionToken, Component, model, computed, ChangeDetectionStrategy, signal, Directive, EventEmitter, input, output, Injector, Optional, Inject, viewChild, HostListener, NgModule, ElementRef, forwardRef, effect, DestroyRef, Pipe } from '@angular/core';
|
|
3
3
|
import { DbxAnalyticsService } from '@dereekb/dbx-analytics';
|
|
4
|
-
import { asObservable, timeoutStartWith, filterMaybe, isNot, SubscriptionObject, lazyFrom, switchMapWhileTrue, loadingStateFromObs, distinctUntilKeysChange, cleanupDestroyable, iterationHasNextAndCanLoadMore, pageItemAccumulatorCurrentPage, accumulatorFlattenPageListLoadingState, useFirst, itemAccumulatorNextPageUntilResultsCount, iteratorNextPageUntilPage, iteratorNextPageUntilMaxPageLoadLimit, pageLoadingStateFromObs, useAsObservable, filterMaybeArray, mapEachAsync, invertObservableDecision, filterItemsWithObservableDecision, switchMapMaybe, beginLoading, mapLoadingStateValueWithOperator, valueFromFinishedLoadingState, skipInitialMaybe, distinctUntilModelKeyChange, successResult,
|
|
4
|
+
import { asObservable, timeoutStartWith, filterMaybe, isNot, SubscriptionObject, lazyFrom, switchMapWhileTrue, loadingStateFromObs, distinctUntilKeysChange, cleanupDestroyable, iterationHasNextAndCanLoadMore, pageItemAccumulatorCurrentPage, accumulatorFlattenPageListLoadingState, useFirst, itemAccumulatorNextPageUntilResultsCount, iteratorNextPageUntilPage, iteratorNextPageUntilMaxPageLoadLimit, pageLoadingStateFromObs, useAsObservable, filterMaybeArray, mapEachAsync, invertObservableDecision, filterItemsWithObservableDecision, switchMapMaybe, beginLoading, mapLoadingStateValueWithOperator, valueFromFinishedLoadingState, skipInitialMaybe, distinctUntilModelKeyChange, successResult, errorResult, isLoadingStateLoading, cleanup, mapLoadingState, throwErrorFromLoadingStateError, maybeValueFromObservableOrValue, distinctUntilHasDifferentValues, MultiSubscriptionObject, startWithBeginLoading, skipAllInitialMaybe } from '@dereekb/rxjs';
|
|
5
5
|
import { switchMap, of, shareReplay, map, distinctUntilChanged, EMPTY, catchError, firstValueFrom, BehaviorSubject, combineLatest, first, from, tap, interval, exhaustMap, filter, take, startWith, Subject, throttleTime, NEVER, defaultIfEmpty, combineLatestWith, mergeMap, Observable } from 'rxjs';
|
|
6
6
|
import * as i2 from '@dereekb/dbx-core';
|
|
7
|
-
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective,
|
|
7
|
+
import { loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, authUserIdentifier, DbxInjectionContext, DBX_INJECTION_COMPONENT_DATA, DbxInjectionComponent, AbstractForwardDbxInjectionContextDirective, DbxInjectionContextDirective, DbxAuthService, DbxActionButtonDirective, completeOnDestroy, cleanSubscription, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionAutoTriggerDirective, clean, cleanLoadingContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, AbstractIfDirective, LockSetComponentStore, newWithInjector, CutTextPipe, DbxActionContextStoreSourceInstance, DbxActionHandlerInstance, SimpleStorageAccessorFactory, dbxRouteParamReaderInstance, DbxRouteParamDefaultRedirectInstance } from '@dereekb/dbx-core';
|
|
8
8
|
import { Auth, authState, idToken, GoogleAuthProvider, FacebookAuthProvider, TwitterAuthProvider, GithubAuthProvider, signInWithPopup, createUserWithEmailAndPassword, signInWithEmailAndPassword, signInAnonymously, reauthenticateWithPopup, provideAuth, getAuth, connectAuthEmulator } from '@angular/fire/auth';
|
|
9
9
|
import { AUTH_ADMIN_ROLE, cachedGetter, urlWithoutParameters, addToSet, removeFromSet, filterMaybeArrayValues, mapIterable, asArray, excludeValuesFromArray, containsStringAnyCase, addToSetCopy, iterableToArray, runAsyncTasksForValues, pushArrayItemsIntoArray, forEachKeyValue, countAllInNestedArray, invertDecision, filterUniqueValues, reverseCompareFn, sortByNumberFunction, separateValues, readableError, isMaybeSo, firstValue, splitJoinRemainder, MS_IN_HOUR, SECONDS_IN_MINUTE, MS_IN_DAY, unixDateTimeSecondsNumberForNow, MS_IN_MINUTE, addMilliseconds, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, MS_IN_SECOND, isPast } from '@dereekb/util';
|
|
10
10
|
import { safeFormatToISO8601DateString, msToSeconds, isSameDate } from '@dereekb/date';
|
|
@@ -12,14 +12,13 @@ import { sendPasswordResetEmail } from 'firebase/auth';
|
|
|
12
12
|
import { getToken, initializeAppCheck, ReCaptchaV3Provider } from 'firebase/app-check';
|
|
13
13
|
import { AppCheck, provideAppCheck } from '@angular/fire/app-check';
|
|
14
14
|
import * as i1$1 from '@dereekb/dbx-web';
|
|
15
|
-
import { DbxLinkComponent, DbxActionModule, DbxButtonModule, DbxErrorComponent, DbxActionErrorDirective, DbxButtonComponent, DbxButtonSpacerDirective, DbxRouterAnchorModule, DbxWidgetService, AbstractDbxSelectionListWrapperDirective,
|
|
15
|
+
import { DbxLinkComponent, DbxActionModule, DbxButtonModule, DbxErrorComponent, DbxActionErrorDirective, DbxButtonComponent, DbxButtonSpacerDirective, DbxRouterAnchorModule, DbxWidgetService, AbstractDbxSelectionListWrapperDirective, DbxListWrapperComponentImportsModule, provideDbxListViewWrapper, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, AbstractDbxSelectionListViewDirective, DbxSelectionValueListViewComponentImportsModule, provideDbxListView, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, AbstractDbxValueListViewItemComponent, TwoColumnsContextStore, DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, AbstractPopupDirective, DbxPopupService, DbxPopupContentComponent, DbxPopupControlsComponent, DbxModelTypesService, DbxModelTrackerService, allDbxModelViewTrackerEventModelKeys, DbxListItemAnchorModifierDirective, DbxValueListItemModifierDirective, AbstractPopoverDirective, DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxListEmptyContentComponent, AbstractPopoverRefDirective, DbxPopoverService, DbxIconButtonComponent, DbxLoadingComponent, DbxDetailBlockComponent, DbxClickToCopyTextComponent, DbxDownloadTextViewComponent, DbxModelObjectStateService, DbxListViewWrapper, AbstractDbxWidgetComponent, DbxPopoverInteractionModule, DbxListModifierModule, DbxWebFilePreviewService, DbxActionSnackbarErrorDirective, DbxActionDialogDirective, DbxFileUploadComponent, DbxActionLoadingContextDirective, DbxFileUploadActionSyncDirective } from '@dereekb/dbx-web';
|
|
16
16
|
import * as i1 from '@angular/material/icon';
|
|
17
17
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
18
18
|
import * as i1$2 from '@dereekb/dbx-form';
|
|
19
|
-
import { AbstractSyncFormlyFormDirective, emailField,
|
|
20
|
-
import * as i1$4 from '@dereekb/firebase';
|
|
19
|
+
import { AbstractSyncFormlyFormDirective, emailField, DbxFormlyFormComponentImportsModule, dbxFormlyFormComponentProviders, DBX_FORMLY_FORM_COMPONENT_TEMPLATE, AbstractConfigAsyncFormlyFormDirective, usernamePasswordLoginFields, DbxActionFormDirective, DbxFormSourceDirective, pickableItemChipField, filterPickableItemFieldValuesByLabel } from '@dereekb/dbx-form';
|
|
21
20
|
import { firebaseAuthErrorToReadableError, FirebaseDevelopmentFunctions, ScheduledFunctionDevelopmentFunctionTypeEnum, clientFirebaseFirestoreContextFactory, SystemStateFirestoreCollections, NotificationFirestoreCollections, StorageFileFirestoreCollections, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, iterationQueryDocChangeWatcher, firebaseQuerySnapshotAccumulator, firebaseQueryItemAccumulator, firestoreModelKeysFromDocuments, firestoreModelIdsFromDocuments, documentReferencesFromDocuments, getDocumentSnapshots, getDataFromDocumentSnapshots, latestSnapshotsFromDocuments, dataFromDocumentSnapshots, loadDocumentsForKeys, loadDocumentsForDocumentReferences, loadDocumentsForIds, firestoreModelKeyCollectionTypePair, buildFirebaseCollectionTypeModelTypeMap, firestoreModelId, flatFirestoreModelKey, twoWayFlatFirestoreModelKey, FirestoreAccessorStreamMode, firestoreModelIdsFromKey, firestoreModelKeyPartPairs, firestoreModelKeyPairObject, documentDataWithIdAndKey, isClientFirebaseError, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, inferKeyFromTwoWayFlatFirestoreModelKey, firestoreModelKeyParentKey, AppNotificationTemplateTypeInfoRecordService, NotificationFunctions, unreadNotificationItems, StorageFileFunctions, firestoreModelKey, storageFileIdentity, clientFirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
22
|
-
import { NgTemplateOutlet,
|
|
21
|
+
import { NgTemplateOutlet, DatePipe } from '@angular/common';
|
|
23
22
|
import * as i1$3 from '@angular/material/button';
|
|
24
23
|
import { MatButtonModule } from '@angular/material/button';
|
|
25
24
|
import { toSignal, toObservable } from '@angular/core/rxjs-interop';
|
|
@@ -30,7 +29,7 @@ import { provideStorage, getStorage, connectStorageEmulator, Storage } from '@an
|
|
|
30
29
|
import { provideFunctions, getFunctions, connectFunctionsEmulator, Functions } from '@angular/fire/functions';
|
|
31
30
|
import { provideFirestore, persistentMultipleTabManager, persistentSingleTabManager, persistentLocalCache, initializeFirestore, connectFirestoreEmulator, Firestore } from '@angular/fire/firestore';
|
|
32
31
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
33
|
-
import { MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelContent,
|
|
32
|
+
import { MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelContent, MatAccordion } from '@angular/material/expansion';
|
|
34
33
|
import { ComponentStore } from '@ngrx/component-store';
|
|
35
34
|
import { __decorate, __param, __metadata } from 'tslib';
|
|
36
35
|
import { MatDialog } from '@angular/material/dialog';
|
|
@@ -249,10 +248,10 @@ class DbxFirebaseAuthService {
|
|
|
249
248
|
}
|
|
250
249
|
})));
|
|
251
250
|
}
|
|
252
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
253
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
251
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
252
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAuthService });
|
|
254
253
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAuthService, decorators: [{
|
|
256
255
|
type: Injectable
|
|
257
256
|
}] });
|
|
258
257
|
/**
|
|
@@ -318,10 +317,10 @@ class DbxFirebaseAnalyticsUserSource {
|
|
|
318
317
|
set userPropertiesFactory(userPropertiesFactory) {
|
|
319
318
|
this._userPropertiesFactory.next(userPropertiesFactory);
|
|
320
319
|
}
|
|
321
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
322
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAnalyticsUserSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
321
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAnalyticsUserSource, providedIn: 'root' });
|
|
323
322
|
}
|
|
324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAnalyticsUserSource, decorators: [{
|
|
325
324
|
type: Injectable,
|
|
326
325
|
args: [{
|
|
327
326
|
providedIn: 'root'
|
|
@@ -351,10 +350,10 @@ class DbxFirebaseAnalyticsUserEventsListenerService {
|
|
|
351
350
|
this._loginSub.destroy();
|
|
352
351
|
this._logoutSub.destroy();
|
|
353
352
|
}
|
|
354
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
355
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
353
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAnalyticsUserEventsListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
354
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAnalyticsUserEventsListenerService });
|
|
356
355
|
}
|
|
357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAnalyticsUserEventsListenerService, decorators: [{
|
|
358
357
|
type: Injectable
|
|
359
358
|
}] });
|
|
360
359
|
|
|
@@ -367,16 +366,10 @@ function provideDbxFirebaseAnalyticsUserEventsListenerService() {
|
|
|
367
366
|
const providers = [
|
|
368
367
|
DbxFirebaseAnalyticsUserEventsListenerService,
|
|
369
368
|
// service initialization
|
|
370
|
-
{
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
dbxFirebaseAnalyticsUserEventsListenerService.init();
|
|
375
|
-
};
|
|
376
|
-
},
|
|
377
|
-
deps: [DbxFirebaseAnalyticsUserEventsListenerService],
|
|
378
|
-
multi: true
|
|
379
|
-
}
|
|
369
|
+
provideAppInitializer(() => {
|
|
370
|
+
const service = inject(DbxFirebaseAnalyticsUserEventsListenerService);
|
|
371
|
+
service.init();
|
|
372
|
+
})
|
|
380
373
|
];
|
|
381
374
|
return makeEnvironmentProviders(providers);
|
|
382
375
|
}
|
|
@@ -456,10 +449,10 @@ class DbxFirebaseAppCheckHttpInterceptor {
|
|
|
456
449
|
}
|
|
457
450
|
return from(this._appCheckRoutes).pipe(first((route) => isEnabledRouteMatch(route), false), map((x) => Boolean(x)));
|
|
458
451
|
}
|
|
459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
460
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAppCheckHttpInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
453
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAppCheckHttpInterceptor });
|
|
461
454
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAppCheckHttpInterceptor, decorators: [{
|
|
463
456
|
type: Injectable
|
|
464
457
|
}] });
|
|
465
458
|
|
|
@@ -478,8 +471,8 @@ class DbxFirebaseLoginTermsSimpleComponent {
|
|
|
478
471
|
url: this.dbxFirebaseLoginTermsConfig.privacyUrl,
|
|
479
472
|
target: '_blank'
|
|
480
473
|
};
|
|
481
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
482
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginTermsSimpleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
475
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginTermsSimpleComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
483
476
|
<div class="dbx-firebase-login-terms-view">
|
|
484
477
|
<dbx-link [anchor]="tosAnchor">Terms</dbx-link>
|
|
485
478
|
<span class="dbx-link-spacer"></span>
|
|
@@ -487,7 +480,7 @@ class DbxFirebaseLoginTermsSimpleComponent {
|
|
|
487
480
|
</div>
|
|
488
481
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }] });
|
|
489
482
|
}
|
|
490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginTermsSimpleComponent, decorators: [{
|
|
491
484
|
type: Component,
|
|
492
485
|
args: [{
|
|
493
486
|
template: `
|
|
@@ -524,7 +517,9 @@ class DbxFirebaseAuthLoginService {
|
|
|
524
517
|
_enableAll = false;
|
|
525
518
|
_passwordConfig;
|
|
526
519
|
_enabled = new Set();
|
|
527
|
-
constructor(
|
|
520
|
+
constructor() {
|
|
521
|
+
const defaultProviders = inject(DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, { optional: true });
|
|
522
|
+
const passwordConfig = inject(DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, { optional: true });
|
|
528
523
|
if (defaultProviders) {
|
|
529
524
|
defaultProviders.forEach((x) => this.register(x, false));
|
|
530
525
|
}
|
|
@@ -611,22 +606,15 @@ class DbxFirebaseAuthLoginService {
|
|
|
611
606
|
setPasswordConfig(passwordConfig) {
|
|
612
607
|
this._passwordConfig = passwordConfig;
|
|
613
608
|
}
|
|
614
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
615
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
609
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAuthLoginService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
610
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAuthLoginService });
|
|
616
611
|
}
|
|
617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseAuthLoginService, decorators: [{
|
|
618
613
|
type: Injectable
|
|
619
|
-
}], ctorParameters: () => [
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
args: [DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN]
|
|
624
|
-
}] }, { type: undefined, decorators: [{
|
|
625
|
-
type: Optional
|
|
626
|
-
}, {
|
|
627
|
-
type: Inject,
|
|
628
|
-
args: [DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN]
|
|
629
|
-
}] }] });
|
|
614
|
+
}], ctorParameters: () => [] });
|
|
615
|
+
|
|
616
|
+
const DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY = 'default';
|
|
617
|
+
const OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY = 'oauth';
|
|
630
618
|
|
|
631
619
|
/**
|
|
632
620
|
* Injection token for a DbxInjectionContext for DbxFirebaseLoginContext.
|
|
@@ -638,12 +626,12 @@ class DbxFirebaseLoginContext extends DbxInjectionContext {
|
|
|
638
626
|
* Login button and action.
|
|
639
627
|
*/
|
|
640
628
|
class DbxFirebaseLoginButtonComponent {
|
|
641
|
-
config = model(null);
|
|
642
|
-
iconUrlSignal = computed(() => this.config()?.iconUrl);
|
|
643
|
-
iconSignal = computed(() => this.config()?.icon);
|
|
644
|
-
textSignal = computed(() => this.config()?.text ?? '');
|
|
645
|
-
buttonColorSignal = computed(() => this.config()?.buttonColor ?? 'transparent');
|
|
646
|
-
buttonTextColorSignal = computed(() => this.config()?.buttonTextColor);
|
|
629
|
+
config = model(null, ...(ngDevMode ? [{ debugName: "config" }] : []));
|
|
630
|
+
iconUrlSignal = computed(() => this.config()?.iconUrl, ...(ngDevMode ? [{ debugName: "iconUrlSignal" }] : []));
|
|
631
|
+
iconSignal = computed(() => this.config()?.icon, ...(ngDevMode ? [{ debugName: "iconSignal" }] : []));
|
|
632
|
+
textSignal = computed(() => this.config()?.text ?? '', ...(ngDevMode ? [{ debugName: "textSignal" }] : []));
|
|
633
|
+
buttonColorSignal = computed(() => this.config()?.buttonColor ?? 'transparent', ...(ngDevMode ? [{ debugName: "buttonColorSignal" }] : []));
|
|
634
|
+
buttonTextColorSignal = computed(() => this.config()?.buttonTextColor, ...(ngDevMode ? [{ debugName: "buttonTextColorSignal" }] : []));
|
|
647
635
|
setConfig(config) {
|
|
648
636
|
this.config.set(config);
|
|
649
637
|
}
|
|
@@ -660,8 +648,8 @@ class DbxFirebaseLoginButtonComponent {
|
|
|
660
648
|
onActionSuccess = () => {
|
|
661
649
|
// todo: show checkmark on success?
|
|
662
650
|
};
|
|
663
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
664
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
651
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
652
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseLoginButtonComponent, isStandalone: true, selector: "dbx-firebase-login-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { config: "configChange" }, host: { classAttribute: "dbx-firebase-login-button" }, ngImport: i0, template: `
|
|
665
653
|
<ng-container dbxAction [dbxActionHandler]="handleAction" dbxActionValue [dbxActionSuccessHandler]="onActionSuccess">
|
|
666
654
|
<dbx-button dbxActionButton [customTextColor]="buttonTextColorSignal()" [customButtonColor]="buttonColorSignal()" [raised]="true">
|
|
667
655
|
<div class="dbx-firebase-login-button-content">
|
|
@@ -677,9 +665,9 @@ class DbxFirebaseLoginButtonComponent {
|
|
|
677
665
|
</div>
|
|
678
666
|
</dbx-button>
|
|
679
667
|
</ng-container>
|
|
680
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]
|
|
668
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionValueDirective, selector: "dbxActionValue,[dbxActionValue]", inputs: ["dbxActionValue"] }, { kind: "directive", type: i2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { kind: "ngmodule", type: DbxButtonModule }, { kind: "component", type: i1$1.DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
681
669
|
}
|
|
682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginButtonComponent, decorators: [{
|
|
683
671
|
type: Component,
|
|
684
672
|
args: [{
|
|
685
673
|
selector: 'dbx-firebase-login-button',
|
|
@@ -707,16 +695,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
707
695
|
imports: [MatIconModule, DbxActionModule, DbxButtonModule],
|
|
708
696
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
709
697
|
}]
|
|
710
|
-
}] });
|
|
698
|
+
}], propDecorators: { config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }, { type: i0.Output, args: ["configChange"] }] } });
|
|
711
699
|
class DbxFirebaseLoginButtonContainerComponent {
|
|
712
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
713
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginButtonContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
701
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginButtonContainerComponent, isStandalone: true, selector: "dbx-firebase-login-button-container", ngImport: i0, template: `
|
|
714
702
|
<div class="dbx-firebase-login-button-container">
|
|
715
703
|
<ng-content></ng-content>
|
|
716
704
|
</div>
|
|
717
705
|
`, isInline: true });
|
|
718
706
|
}
|
|
719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginButtonContainerComponent, decorators: [{
|
|
720
708
|
type: Component,
|
|
721
709
|
args: [{
|
|
722
710
|
selector: 'dbx-firebase-login-button-container',
|
|
@@ -743,8 +731,8 @@ class AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
|
743
731
|
dbxFirebaseAuthLoginService = inject(DbxFirebaseAuthLoginService);
|
|
744
732
|
dbxFirebaseLoginContext = inject(DbxFirebaseLoginContext);
|
|
745
733
|
// TODO: Consider updating these signals, etc.
|
|
746
|
-
_config = signal(null);
|
|
747
|
-
configSignal = computed(() => this._config());
|
|
734
|
+
_config = signal(null, ...(ngDevMode ? [{ debugName: "_config" }] : []));
|
|
735
|
+
configSignal = computed(() => this._config(), ...(ngDevMode ? [{ debugName: "configSignal" }] : []));
|
|
748
736
|
ngOnInit() {
|
|
749
737
|
const assets = this.assetConfig;
|
|
750
738
|
this._config.set({
|
|
@@ -765,41 +753,22 @@ class AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
|
765
753
|
get config() {
|
|
766
754
|
return this._config();
|
|
767
755
|
}
|
|
768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
756
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractConfiguredDbxFirebaseLoginButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
757
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractConfiguredDbxFirebaseLoginButtonDirective, isStandalone: true, ngImport: i0 });
|
|
770
758
|
}
|
|
771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractConfiguredDbxFirebaseLoginButtonDirective, decorators: [{
|
|
772
760
|
type: Directive
|
|
773
761
|
}] });
|
|
774
762
|
|
|
775
|
-
class DbxFirebaseLoginAppleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
776
|
-
loginProvider = 'apple';
|
|
777
|
-
handleLogin() {
|
|
778
|
-
return this.dbxFirebaseAuthService.logInWithApple();
|
|
779
|
-
}
|
|
780
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginAppleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
781
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseLoginAppleComponent, isStandalone: true, selector: "dbx-firebase-login-apple", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
782
|
-
}
|
|
783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginAppleComponent, decorators: [{
|
|
784
|
-
type: Component,
|
|
785
|
-
args: [{
|
|
786
|
-
selector: 'dbx-firebase-login-apple',
|
|
787
|
-
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
788
|
-
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template,
|
|
789
|
-
changeDetection: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.changeDetection,
|
|
790
|
-
standalone: true
|
|
791
|
-
}]
|
|
792
|
-
}] });
|
|
793
|
-
|
|
794
763
|
class DbxFirebaseLoginAnonymousComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
795
764
|
loginProvider = 'anonymous';
|
|
796
765
|
handleLogin() {
|
|
797
766
|
return this.dbxFirebaseAuthService.logInAsAnonymous();
|
|
798
767
|
}
|
|
799
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
800
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
768
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginAnonymousComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
769
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginAnonymousComponent, isStandalone: true, selector: "dbx-firebase-login-anonymous", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
801
770
|
}
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginAnonymousComponent, decorators: [{
|
|
803
772
|
type: Component,
|
|
804
773
|
args: [{
|
|
805
774
|
selector: 'dbx-firebase-login-anonymous',
|
|
@@ -810,138 +779,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
810
779
|
}]
|
|
811
780
|
}] });
|
|
812
781
|
|
|
813
|
-
/**
|
|
814
|
-
* Pre-configured login component that displays all configured login types.
|
|
815
|
-
*/
|
|
816
|
-
class DbxFirebaseLoginListComponent {
|
|
817
|
-
dbxFirebaseAuthLoginService = inject(DbxFirebaseAuthLoginService);
|
|
818
|
-
loginMode = input('login');
|
|
819
|
-
providerTypes = input();
|
|
820
|
-
omitProviderTypes = input();
|
|
821
|
-
providerCategories = input();
|
|
822
|
-
providerTypesSignal = computed(() => {
|
|
823
|
-
const providerTypes = this.providerTypes();
|
|
824
|
-
const omitProviderTypes = this.omitProviderTypes();
|
|
825
|
-
const baseTypes = providerTypes ? asArray(providerTypes) : this.dbxFirebaseAuthLoginService.getEnabledTypes();
|
|
826
|
-
const types = omitProviderTypes ? excludeValuesFromArray(baseTypes, asArray(omitProviderTypes)) : baseTypes;
|
|
827
|
-
return types;
|
|
828
|
-
});
|
|
829
|
-
providersSignal = computed(() => {
|
|
830
|
-
const providerCategories = asArray(this.providerCategories());
|
|
831
|
-
let providers = this.dbxFirebaseAuthLoginService.getLoginProviders(this.providerTypesSignal());
|
|
832
|
-
if (providerCategories.length) {
|
|
833
|
-
const categories = new Set(providerCategories);
|
|
834
|
-
providers = providers.filter((x) => containsStringAnyCase(categories, x.category ?? ''));
|
|
835
|
-
}
|
|
836
|
-
return providers;
|
|
837
|
-
});
|
|
838
|
-
providersInjectionConfigsSignal = computed(() => {
|
|
839
|
-
let providers = this.providersSignal();
|
|
840
|
-
let mapFn;
|
|
841
|
-
if (this.loginMode() === 'register') {
|
|
842
|
-
providers = providers.filter((x) => x.registrationComponentClass !== false); // providers with "registrationComponentClass" set to false are not available for registration
|
|
843
|
-
mapFn = (x) => ({ componentClass: (x.registrationComponentClass ?? x.componentClass), loginMethodType: x.loginMethodType });
|
|
844
|
-
}
|
|
845
|
-
else {
|
|
846
|
-
mapFn = (x) => ({ componentClass: x.componentClass, loginMethodType: x.loginMethodType });
|
|
847
|
-
}
|
|
848
|
-
const configs = providers.map(mapFn);
|
|
849
|
-
return configs;
|
|
850
|
-
});
|
|
851
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
852
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: DbxFirebaseLoginListComponent, isStandalone: true, selector: "dbx-firebase-login-list", inputs: { loginMode: { classPropertyName: "loginMode", publicName: "loginMode", isSignal: true, isRequired: false, transformFunction: null }, providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "dbx-firebase-login-list" }, ngImport: i0, template: `
|
|
853
|
-
@for (config of providersInjectionConfigsSignal(); track config.loginMethodType) {
|
|
854
|
-
<div class="dbx-firebase-login-item">
|
|
855
|
-
<dbx-injection [config]="config"></dbx-injection>
|
|
856
|
-
</div>
|
|
857
|
-
}
|
|
858
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
859
|
-
}
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginListComponent, decorators: [{
|
|
861
|
-
type: Component,
|
|
862
|
-
args: [{
|
|
863
|
-
selector: 'dbx-firebase-login-list',
|
|
864
|
-
template: `
|
|
865
|
-
@for (config of providersInjectionConfigsSignal(); track config.loginMethodType) {
|
|
866
|
-
<div class="dbx-firebase-login-item">
|
|
867
|
-
<dbx-injection [config]="config"></dbx-injection>
|
|
868
|
-
</div>
|
|
869
|
-
}
|
|
870
|
-
`,
|
|
871
|
-
host: {
|
|
872
|
-
class: 'dbx-firebase-login-list'
|
|
873
|
-
},
|
|
874
|
-
standalone: true,
|
|
875
|
-
imports: [DbxInjectionComponent]
|
|
876
|
-
}]
|
|
877
|
-
}] });
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* DbxFirebaseLoginContext implementation.
|
|
881
|
-
*/
|
|
882
|
-
class DbxFirebaseLoginContextDirective extends AbstractForwardDbxInjectionContextDirective {
|
|
883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginContextDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
884
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseLoginContextDirective, isStandalone: true, selector: "[dbxFirebaseLoginContext]", providers: [
|
|
885
|
-
{
|
|
886
|
-
provide: DbxFirebaseLoginContext,
|
|
887
|
-
useExisting: DbxFirebaseLoginContextDirective
|
|
888
|
-
}
|
|
889
|
-
], usesInheritance: true, ngImport: i0 });
|
|
890
|
-
}
|
|
891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginContextDirective, decorators: [{
|
|
892
|
-
type: Directive,
|
|
893
|
-
args: [{
|
|
894
|
-
selector: '[dbxFirebaseLoginContext]',
|
|
895
|
-
standalone: true,
|
|
896
|
-
providers: [
|
|
897
|
-
{
|
|
898
|
-
provide: DbxFirebaseLoginContext,
|
|
899
|
-
useExisting: DbxFirebaseLoginContextDirective
|
|
900
|
-
}
|
|
901
|
-
]
|
|
902
|
-
}]
|
|
903
|
-
}] });
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Pre-configured login component that displays all configured login types.
|
|
907
|
-
*/
|
|
908
|
-
class DbxFirebaseLoginComponent {
|
|
909
|
-
loginMode = input('login');
|
|
910
|
-
providerTypes = input();
|
|
911
|
-
omitProviderTypes = input();
|
|
912
|
-
providerCategories = input();
|
|
913
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
914
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxFirebaseLoginComponent, isStandalone: true, selector: "dbx-firebase-login", inputs: { loginMode: { classPropertyName: "loginMode", publicName: "loginMode", isSignal: true, isRequired: false, transformFunction: null }, providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "{ \"dbx-firebase-register\": loginMode() === \"register\" }" }, classAttribute: "d-block dbx-firebase-login" }, ngImport: i0, template: `
|
|
915
|
-
<ng-container *dbxInjectionContext dbxFirebaseLoginContext>
|
|
916
|
-
<dbx-firebase-login-list [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()" [loginMode]="loginMode()"></dbx-firebase-login-list>
|
|
917
|
-
</ng-container>
|
|
918
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: DbxInjectionContextDirective, selector: "[dbxInjectionContext]", inputs: ["config"] }, { kind: "directive", type: DbxFirebaseLoginContextDirective, selector: "[dbxFirebaseLoginContext]" }, { kind: "component", type: DbxFirebaseLoginListComponent, selector: "dbx-firebase-login-list", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
919
|
-
}
|
|
920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginComponent, decorators: [{
|
|
921
|
-
type: Component,
|
|
922
|
-
args: [{
|
|
923
|
-
selector: 'dbx-firebase-login',
|
|
924
|
-
standalone: true,
|
|
925
|
-
imports: [DbxInjectionContextDirective, DbxFirebaseLoginContextDirective, DbxFirebaseLoginListComponent],
|
|
926
|
-
template: `
|
|
927
|
-
<ng-container *dbxInjectionContext dbxFirebaseLoginContext>
|
|
928
|
-
<dbx-firebase-login-list [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()" [loginMode]="loginMode()"></dbx-firebase-login-list>
|
|
929
|
-
</ng-container>
|
|
930
|
-
`,
|
|
931
|
-
host: {
|
|
932
|
-
class: 'd-block dbx-firebase-login',
|
|
933
|
-
'[class]': '{ "dbx-firebase-register": loginMode() === "register" }'
|
|
934
|
-
},
|
|
935
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
936
|
-
}]
|
|
937
|
-
}] });
|
|
938
|
-
|
|
939
782
|
class DbxFirebaseEmailRecoveryFormComponent extends AbstractSyncFormlyFormDirective {
|
|
940
783
|
fields = [emailField({ required: true })];
|
|
941
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
942
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
784
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmailRecoveryFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
785
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseEmailRecoveryFormComponent, isStandalone: true, selector: "dbx-firebase-email-recovery-form", providers: dbxFormlyFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-formly></dbx-formly>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxFormlyFormComponentImportsModule }, { kind: "component", type: i1$2.DbxFormlyComponent, selector: "dbx-formly", exportAs: ["formly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
943
786
|
}
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmailRecoveryFormComponent, decorators: [{
|
|
945
788
|
type: Component,
|
|
946
789
|
args: [{
|
|
947
790
|
selector: 'dbx-firebase-email-recovery-form',
|
|
@@ -960,10 +803,10 @@ class DbxFirebaseEmailFormComponent extends AbstractConfigAsyncFormlyFormDirecti
|
|
|
960
803
|
const fields = usernamePasswordLoginFields({ username: 'email', password: passwordConfig, verifyPassword: loginMode === 'register' });
|
|
961
804
|
return fields;
|
|
962
805
|
}));
|
|
963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
964
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
806
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmailFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
807
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseEmailFormComponent, isStandalone: true, selector: "dbx-firebase-email-form", providers: dbxFormlyFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-formly></dbx-formly>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxFormlyFormComponentImportsModule }, { kind: "component", type: i1$2.DbxFormlyComponent, selector: "dbx-formly", exportAs: ["formly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
965
808
|
}
|
|
966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmailFormComponent, decorators: [{
|
|
967
810
|
type: Component,
|
|
968
811
|
args: [{
|
|
969
812
|
selector: 'dbx-firebase-email-form',
|
|
@@ -982,9 +825,9 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
982
825
|
loginMode: this.config.loginMode,
|
|
983
826
|
passwordConfig: this.config.passwordConfig
|
|
984
827
|
};
|
|
985
|
-
_emailFormValueSignal = signal(undefined);
|
|
986
|
-
_recoveryFormValueSignal = signal(undefined);
|
|
987
|
-
_emailModeSignal = signal('login');
|
|
828
|
+
_emailFormValueSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_emailFormValueSignal" }] : []));
|
|
829
|
+
_recoveryFormValueSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_recoveryFormValueSignal" }] : []));
|
|
830
|
+
_emailModeSignal = signal('login', ...(ngDevMode ? [{ debugName: "_emailModeSignal" }] : []));
|
|
988
831
|
emailFormValueSignal = this._emailFormValueSignal.asReadonly();
|
|
989
832
|
recoveryFormValueSignal = this._recoveryFormValueSignal.asReadonly();
|
|
990
833
|
emailModeSignal = this._emailModeSignal.asReadonly();
|
|
@@ -1055,10 +898,10 @@ class DbxFirebaseLoginEmailContentComponent {
|
|
|
1055
898
|
onCancelReset() {
|
|
1056
899
|
this.doneOrCancelled.next(false);
|
|
1057
900
|
}
|
|
1058
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1059
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
901
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginEmailContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
902
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseLoginEmailContentComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"dbx-firebase-login-email-content\">\n @switch (emailModeSignal()) {\n @case ('login') {\n <ng-container *ngTemplateOutlet=\"loginView\"></ng-container>\n }\n @case ('recover') {\n <ng-container *ngTemplateOutlet=\"resetPassword\"></ng-container>\n }\n @case ('recoversent') {\n <ng-container *ngTemplateOutlet=\"resetPasswordSent\"></ng-container>\n }\n }\n</div>\n\n<!-- Login View -->\n<ng-template #loginView>\n <ng-container dbxAction [dbxActionHandler]=\"handleLoginAction\">\n <dbx-firebase-email-form [config]=\"formConfig\" dbxActionForm [dbxFormSource]=\"emailFormValueSignal()\"></dbx-firebase-email-form>\n @if (isLoginMode) {\n <div class=\"dbx-firebase-login-email-forgot-prompt\">\n <dbx-link [anchor]=\"forgotAnchor\">Forgot Password?</dbx-link>\n </div>\n }\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" [text]=\"buttonText\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <dbx-button-spacer></dbx-button-spacer>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancel()\">Cancel</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </ng-container>\n</ng-template>\n\n<!-- Reset Password View -->\n<ng-template #resetPassword>\n <div class=\"dbx-firebase-login-email-content-recovery\" dbxAction [dbxActionHandler]=\"handleRecoveryAction\" [dbxActionSuccessHandler]=\"handleRecoverySuccess\">\n <dbx-firebase-email-recovery-form dbxActionForm [dbxFormSource]=\"recoveryFormValueSignal()\"></dbx-firebase-email-recovery-form>\n <p class=\"dbx-hint\">An email will be sent to the above address to help you reset your password.</p>\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" text=\"Send Recovery Email\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancelReset()\">Cancel Recovery</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </div>\n</ng-template>\n\n<!-- Reset Password Sent -->\n<ng-template #resetPasswordSent>\n <div class=\"dbx-firebase-login-email-content-recovery-sent\">\n <p class=\"dbx-hint\">A recovery email was sent to the specified address. Please check your email for next steps.</p>\n <button mat-raised-button (click)=\"clickedRecoveryAcknowledged()\">Ok</button>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DbxErrorComponent, selector: "dbx-error", inputs: ["error", "iconOnly"], outputs: ["popoverOpened"] }, { kind: "component", type: DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }, { kind: "directive", type: DbxActionErrorDirective, selector: "[dbxActionError]" }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "component", type: DbxFirebaseEmailFormComponent, selector: "dbx-firebase-email-form" }, { kind: "component", type: DbxFirebaseEmailRecoveryFormComponent, selector: "dbx-firebase-email-recovery-form" }, { kind: "directive", type: DbxFormSourceDirective, selector: "[dbxFormSource]", inputs: ["dbxFormSourceMode", "dbxFormSource"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1060
903
|
}
|
|
1061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginEmailContentComponent, decorators: [{
|
|
1062
905
|
type: Component,
|
|
1063
906
|
args: [{ imports: [NgTemplateOutlet, DbxErrorComponent, DbxLinkComponent, DbxActionErrorDirective, DbxActionFormDirective, MatButtonModule, DbxActionModule, DbxButtonComponent, DbxButtonSpacerDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, DbxFormSourceDirective], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"dbx-firebase-login-email-content\">\n @switch (emailModeSignal()) {\n @case ('login') {\n <ng-container *ngTemplateOutlet=\"loginView\"></ng-container>\n }\n @case ('recover') {\n <ng-container *ngTemplateOutlet=\"resetPassword\"></ng-container>\n }\n @case ('recoversent') {\n <ng-container *ngTemplateOutlet=\"resetPasswordSent\"></ng-container>\n }\n }\n</div>\n\n<!-- Login View -->\n<ng-template #loginView>\n <ng-container dbxAction [dbxActionHandler]=\"handleLoginAction\">\n <dbx-firebase-email-form [config]=\"formConfig\" dbxActionForm [dbxFormSource]=\"emailFormValueSignal()\"></dbx-firebase-email-form>\n @if (isLoginMode) {\n <div class=\"dbx-firebase-login-email-forgot-prompt\">\n <dbx-link [anchor]=\"forgotAnchor\">Forgot Password?</dbx-link>\n </div>\n }\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" [text]=\"buttonText\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <dbx-button-spacer></dbx-button-spacer>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancel()\">Cancel</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </ng-container>\n</ng-template>\n\n<!-- Reset Password View -->\n<ng-template #resetPassword>\n <div class=\"dbx-firebase-login-email-content-recovery\" dbxAction [dbxActionHandler]=\"handleRecoveryAction\" [dbxActionSuccessHandler]=\"handleRecoverySuccess\">\n <dbx-firebase-email-recovery-form dbxActionForm [dbxFormSource]=\"recoveryFormValueSignal()\"></dbx-firebase-email-recovery-form>\n <p class=\"dbx-hint\">An email will be sent to the above address to help you reset your password.</p>\n <div class=\"dbx-flex\">\n <dbx-button class=\"dbx-button-wide\" text=\"Send Recovery Email\" [raised]=\"true\" color=\"primary\" dbxActionButton></dbx-button>\n <span class=\"dbx-spacer\"></span>\n <button mat-flat-button (click)=\"onCancelReset()\">Cancel Recovery</button>\n </div>\n <dbx-error dbxActionError></dbx-error>\n </div>\n</ng-template>\n\n<!-- Reset Password Sent -->\n<ng-template #resetPasswordSent>\n <div class=\"dbx-firebase-login-email-content-recovery-sent\">\n <p class=\"dbx-hint\">A recovery email was sent to the specified address. Please check your email for next steps.</p>\n <button mat-raised-button (click)=\"clickedRecoveryAcknowledged()\">Ok</button>\n </div>\n</ng-template>\n" }]
|
|
1064
907
|
}] });
|
|
@@ -1068,10 +911,10 @@ class DbxFirebaseLoginEmailComponent extends AbstractConfiguredDbxFirebaseLoginB
|
|
|
1068
911
|
handleLogin() {
|
|
1069
912
|
return DbxFirebaseLoginEmailContentComponent.openEmailLoginContext(this.dbxFirebaseLoginContext, { loginMode: 'login', passwordConfig: this.dbxFirebaseAuthLoginService.getPasswordConfig() });
|
|
1070
913
|
}
|
|
1071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1072
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
914
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
915
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginEmailComponent, isStandalone: true, selector: "dbx-firebase-login-email", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1073
916
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginEmailComponent, decorators: [{
|
|
1075
918
|
type: Component,
|
|
1076
919
|
args: [{
|
|
1077
920
|
selector: 'dbx-firebase-login-email',
|
|
@@ -1087,10 +930,10 @@ class DbxFirebaseLoginFacebookComponent extends AbstractConfiguredDbxFirebaseLog
|
|
|
1087
930
|
handleLogin() {
|
|
1088
931
|
return this.dbxFirebaseAuthService.logInWithFacebook();
|
|
1089
932
|
}
|
|
1090
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1091
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
933
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginFacebookComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
934
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginFacebookComponent, isStandalone: true, selector: "dbx-firebase-login-facebook", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1092
935
|
}
|
|
1093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginFacebookComponent, decorators: [{
|
|
1094
937
|
type: Component,
|
|
1095
938
|
args: [{
|
|
1096
939
|
selector: 'dbx-firebase-login-facebook',
|
|
@@ -1101,58 +944,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1101
944
|
}]
|
|
1102
945
|
}] });
|
|
1103
946
|
|
|
1104
|
-
class DbxFirebaseLoginGoogleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
1105
|
-
loginProvider = 'google';
|
|
1106
|
-
handleLogin() {
|
|
1107
|
-
return this.dbxFirebaseAuthService.logInWithGoogle();
|
|
1108
|
-
}
|
|
1109
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1110
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseLoginGoogleComponent, isStandalone: true, selector: "dbx-firebase-login-google", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1111
|
-
}
|
|
1112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, decorators: [{
|
|
1113
|
-
type: Component,
|
|
1114
|
-
args: [{
|
|
1115
|
-
selector: 'dbx-firebase-login-google',
|
|
1116
|
-
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
1117
|
-
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template,
|
|
1118
|
-
changeDetection: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.changeDetection,
|
|
1119
|
-
standalone: true
|
|
1120
|
-
}]
|
|
1121
|
-
}] });
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
* Pre-configured register component that displays all configured login types and their registration components.
|
|
1125
|
-
*/
|
|
1126
|
-
class DbxFirebaseRegisterComponent {
|
|
1127
|
-
providerTypes = input();
|
|
1128
|
-
omitProviderTypes = input();
|
|
1129
|
-
providerCategories = input();
|
|
1130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseRegisterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1131
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: DbxFirebaseRegisterComponent, isStandalone: true, selector: "dbx-firebase-register", inputs: { providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1132
|
-
<dbx-firebase-login loginMode="register" [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()"></dbx-firebase-login>
|
|
1133
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginComponent, selector: "dbx-firebase-login", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }] });
|
|
1134
|
-
}
|
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseRegisterComponent, decorators: [{
|
|
1136
|
-
type: Component,
|
|
1137
|
-
args: [{
|
|
1138
|
-
selector: 'dbx-firebase-register',
|
|
1139
|
-
template: `
|
|
1140
|
-
<dbx-firebase-login loginMode="register" [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()"></dbx-firebase-login>
|
|
1141
|
-
`,
|
|
1142
|
-
imports: [DbxFirebaseLoginComponent],
|
|
1143
|
-
standalone: true
|
|
1144
|
-
}]
|
|
1145
|
-
}] });
|
|
1146
|
-
|
|
1147
947
|
class DbxFirebaseLoginGitHubComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
1148
948
|
loginProvider = 'github';
|
|
1149
949
|
handleLogin() {
|
|
1150
950
|
return this.dbxFirebaseAuthService.logInWithGithub();
|
|
1151
951
|
}
|
|
1152
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1153
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
952
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginGitHubComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
953
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginGitHubComponent, isStandalone: true, selector: "dbx-firebase-login-github", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1154
954
|
}
|
|
1155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginGitHubComponent, decorators: [{
|
|
1156
956
|
type: Component,
|
|
1157
957
|
args: [{
|
|
1158
958
|
selector: 'dbx-firebase-login-github',
|
|
@@ -1163,18 +963,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1163
963
|
}]
|
|
1164
964
|
}] });
|
|
1165
965
|
|
|
1166
|
-
class
|
|
1167
|
-
loginProvider = '
|
|
966
|
+
class DbxFirebaseLoginGoogleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
967
|
+
loginProvider = 'google';
|
|
1168
968
|
handleLogin() {
|
|
1169
|
-
return this.dbxFirebaseAuthService.
|
|
969
|
+
return this.dbxFirebaseAuthService.logInWithGoogle();
|
|
1170
970
|
}
|
|
1171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1172
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
972
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginGoogleComponent, isStandalone: true, selector: "dbx-firebase-login-google", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1173
973
|
}
|
|
1174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginGoogleComponent, decorators: [{
|
|
1175
975
|
type: Component,
|
|
1176
976
|
args: [{
|
|
1177
|
-
selector: 'dbx-firebase-login-
|
|
977
|
+
selector: 'dbx-firebase-login-google',
|
|
1178
978
|
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
1179
979
|
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template,
|
|
1180
980
|
changeDetection: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.changeDetection,
|
|
@@ -1182,18 +982,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1182
982
|
}]
|
|
1183
983
|
}] });
|
|
1184
984
|
|
|
1185
|
-
class
|
|
1186
|
-
loginProvider = '
|
|
985
|
+
class DbxFirebaseLoginTwitterComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
986
|
+
loginProvider = 'twitter';
|
|
1187
987
|
handleLogin() {
|
|
1188
|
-
return this.dbxFirebaseAuthService.
|
|
988
|
+
return this.dbxFirebaseAuthService.logInWithTwitter();
|
|
1189
989
|
}
|
|
1190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1191
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
990
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginTwitterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
991
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginTwitterComponent, isStandalone: true, selector: "dbx-firebase-login-twitter", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1192
992
|
}
|
|
1193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginTwitterComponent, decorators: [{
|
|
1194
994
|
type: Component,
|
|
1195
995
|
args: [{
|
|
1196
|
-
selector: 'dbx-firebase-login-
|
|
996
|
+
selector: 'dbx-firebase-login-twitter',
|
|
1197
997
|
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
1198
998
|
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template,
|
|
1199
999
|
changeDetection: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.changeDetection,
|
|
@@ -1206,10 +1006,10 @@ class DbxFirebaseRegisterEmailComponent extends AbstractConfiguredDbxFirebaseLog
|
|
|
1206
1006
|
handleLogin() {
|
|
1207
1007
|
return DbxFirebaseLoginEmailContentComponent.openEmailLoginContext(this.dbxFirebaseLoginContext, { loginMode: 'register', passwordConfig: this.dbxFirebaseAuthLoginService.getPasswordConfig() });
|
|
1208
1008
|
}
|
|
1209
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1210
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1009
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseRegisterEmailComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1010
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseRegisterEmailComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1211
1011
|
}
|
|
1212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseRegisterEmailComponent, decorators: [{
|
|
1213
1013
|
type: Component,
|
|
1214
1014
|
args: [{
|
|
1215
1015
|
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
@@ -1219,158 +1019,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1219
1019
|
}]
|
|
1220
1020
|
}] });
|
|
1221
1021
|
|
|
1222
|
-
class DbxFirebaseLoginTermsComponent {
|
|
1223
|
-
dbxFirebaseAuthLoginService = inject(DbxFirebaseAuthLoginService);
|
|
1224
|
-
config = {
|
|
1225
|
-
componentClass: this.dbxFirebaseAuthLoginService.loginTermsComponentClass
|
|
1226
|
-
};
|
|
1227
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginTermsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1228
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseLoginTermsComponent, isStandalone: true, selector: "dbx-firebase-login-terms", host: { classAttribute: "dbx-firebase-login-terms d-block" }, ngImport: i0, template: `
|
|
1229
|
-
<dbx-injection [config]="config"></dbx-injection>
|
|
1230
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
1231
|
-
}
|
|
1232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginTermsComponent, decorators: [{
|
|
1233
|
-
type: Component,
|
|
1234
|
-
args: [{
|
|
1235
|
-
selector: 'dbx-firebase-login-terms',
|
|
1236
|
-
template: `
|
|
1237
|
-
<dbx-injection [config]="config"></dbx-injection>
|
|
1238
|
-
`,
|
|
1239
|
-
host: {
|
|
1240
|
-
class: 'dbx-firebase-login-terms d-block'
|
|
1241
|
-
},
|
|
1242
|
-
imports: [DbxInjectionComponent],
|
|
1243
|
-
standalone: true
|
|
1244
|
-
}]
|
|
1245
|
-
}] });
|
|
1246
|
-
|
|
1247
|
-
class DbxFirebaseLoginContextBackButtonComponent {
|
|
1248
|
-
cancelLogin = output();
|
|
1249
|
-
anchor = {
|
|
1250
|
-
onClick: () => this.cancelLogin.emit()
|
|
1251
|
-
};
|
|
1252
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginContextBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1253
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DbxFirebaseLoginContextBackButtonComponent, isStandalone: true, selector: "dbx-firebase-login-context-back-button", outputs: { cancelLogin: "cancelLogin" }, ngImport: i0, template: `
|
|
1254
|
-
<dbx-link [anchor]="anchor">Choose other login method.</dbx-link>
|
|
1255
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: DbxRouterAnchorModule }, { kind: "component", type: i1$1.DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }] });
|
|
1256
|
-
}
|
|
1257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginContextBackButtonComponent, decorators: [{
|
|
1258
|
-
type: Component,
|
|
1259
|
-
args: [{
|
|
1260
|
-
selector: 'dbx-firebase-login-context-back-button',
|
|
1261
|
-
standalone: true,
|
|
1262
|
-
imports: [DbxRouterAnchorModule],
|
|
1263
|
-
template: `
|
|
1264
|
-
<dbx-link [anchor]="anchor">Choose other login method.</dbx-link>
|
|
1265
|
-
`
|
|
1266
|
-
}]
|
|
1267
|
-
}] });
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* All standalone components related to Firebase login.
|
|
1271
|
-
*/
|
|
1272
|
-
const DBX_FIREBASE_LOGIN_COMPONENTS = [
|
|
1273
|
-
DbxFirebaseLoginComponent,
|
|
1274
|
-
DbxFirebaseLoginContextDirective,
|
|
1275
|
-
DbxFirebaseLoginContextBackButtonComponent,
|
|
1276
|
-
DbxFirebaseRegisterComponent,
|
|
1277
|
-
DbxFirebaseLoginListComponent,
|
|
1278
|
-
DbxFirebaseLoginButtonComponent,
|
|
1279
|
-
DbxFirebaseLoginButtonContainerComponent,
|
|
1280
|
-
DbxFirebaseLoginEmailComponent,
|
|
1281
|
-
DbxFirebaseLoginEmailContentComponent,
|
|
1282
|
-
DbxFirebaseEmailFormComponent,
|
|
1283
|
-
DbxFirebaseEmailRecoveryFormComponent,
|
|
1284
|
-
DbxFirebaseRegisterEmailComponent,
|
|
1285
|
-
DbxFirebaseLoginGoogleComponent,
|
|
1286
|
-
DbxFirebaseLoginGitHubComponent,
|
|
1287
|
-
DbxFirebaseLoginTwitterComponent,
|
|
1288
|
-
DbxFirebaseLoginAppleComponent,
|
|
1289
|
-
DbxFirebaseLoginMicrosoftComponent,
|
|
1290
|
-
DbxFirebaseLoginFacebookComponent,
|
|
1291
|
-
DbxFirebaseLoginAnonymousComponent,
|
|
1292
|
-
DbxFirebaseLoginTermsComponent,
|
|
1293
|
-
DbxFirebaseLoginTermsSimpleComponent
|
|
1294
|
-
];
|
|
1295
|
-
/**
|
|
1296
|
-
* Contains components related to logging in.
|
|
1297
|
-
*
|
|
1298
|
-
* @deprecated Use provideDbxFirebaseLogin() instead.
|
|
1299
|
-
*/
|
|
1300
|
-
class DbxFirebaseLoginModule {
|
|
1301
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1302
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginModule, imports: [DbxFirebaseLoginComponent,
|
|
1303
|
-
DbxFirebaseLoginContextDirective,
|
|
1304
|
-
DbxFirebaseLoginContextBackButtonComponent,
|
|
1305
|
-
DbxFirebaseRegisterComponent,
|
|
1306
|
-
DbxFirebaseLoginListComponent,
|
|
1307
|
-
DbxFirebaseLoginButtonComponent,
|
|
1308
|
-
DbxFirebaseLoginButtonContainerComponent,
|
|
1309
|
-
DbxFirebaseLoginEmailComponent,
|
|
1310
|
-
DbxFirebaseLoginEmailContentComponent,
|
|
1311
|
-
DbxFirebaseEmailFormComponent,
|
|
1312
|
-
DbxFirebaseEmailRecoveryFormComponent,
|
|
1313
|
-
DbxFirebaseRegisterEmailComponent,
|
|
1314
|
-
DbxFirebaseLoginGoogleComponent,
|
|
1315
|
-
DbxFirebaseLoginGitHubComponent,
|
|
1316
|
-
DbxFirebaseLoginTwitterComponent,
|
|
1317
|
-
DbxFirebaseLoginAppleComponent,
|
|
1318
|
-
DbxFirebaseLoginMicrosoftComponent,
|
|
1319
|
-
DbxFirebaseLoginFacebookComponent,
|
|
1320
|
-
DbxFirebaseLoginAnonymousComponent,
|
|
1321
|
-
DbxFirebaseLoginTermsComponent,
|
|
1322
|
-
DbxFirebaseLoginTermsSimpleComponent], exports: [DbxFirebaseLoginComponent,
|
|
1323
|
-
DbxFirebaseLoginContextDirective,
|
|
1324
|
-
DbxFirebaseLoginContextBackButtonComponent,
|
|
1325
|
-
DbxFirebaseRegisterComponent,
|
|
1326
|
-
DbxFirebaseLoginListComponent,
|
|
1327
|
-
DbxFirebaseLoginButtonComponent,
|
|
1328
|
-
DbxFirebaseLoginButtonContainerComponent,
|
|
1329
|
-
DbxFirebaseLoginEmailComponent,
|
|
1330
|
-
DbxFirebaseLoginEmailContentComponent,
|
|
1331
|
-
DbxFirebaseEmailFormComponent,
|
|
1332
|
-
DbxFirebaseEmailRecoveryFormComponent,
|
|
1333
|
-
DbxFirebaseRegisterEmailComponent,
|
|
1334
|
-
DbxFirebaseLoginGoogleComponent,
|
|
1335
|
-
DbxFirebaseLoginGitHubComponent,
|
|
1336
|
-
DbxFirebaseLoginTwitterComponent,
|
|
1337
|
-
DbxFirebaseLoginAppleComponent,
|
|
1338
|
-
DbxFirebaseLoginMicrosoftComponent,
|
|
1339
|
-
DbxFirebaseLoginFacebookComponent,
|
|
1340
|
-
DbxFirebaseLoginAnonymousComponent,
|
|
1341
|
-
DbxFirebaseLoginTermsComponent,
|
|
1342
|
-
DbxFirebaseLoginTermsSimpleComponent] });
|
|
1343
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginModule, imports: [DbxFirebaseLoginComponent,
|
|
1344
|
-
DbxFirebaseLoginContextBackButtonComponent,
|
|
1345
|
-
DbxFirebaseRegisterComponent,
|
|
1346
|
-
DbxFirebaseLoginListComponent,
|
|
1347
|
-
DbxFirebaseLoginButtonComponent,
|
|
1348
|
-
DbxFirebaseLoginEmailComponent,
|
|
1349
|
-
DbxFirebaseLoginEmailContentComponent,
|
|
1350
|
-
DbxFirebaseEmailFormComponent,
|
|
1351
|
-
DbxFirebaseEmailRecoveryFormComponent,
|
|
1352
|
-
DbxFirebaseRegisterEmailComponent,
|
|
1353
|
-
DbxFirebaseLoginGoogleComponent,
|
|
1354
|
-
DbxFirebaseLoginGitHubComponent,
|
|
1355
|
-
DbxFirebaseLoginTwitterComponent,
|
|
1356
|
-
DbxFirebaseLoginAppleComponent,
|
|
1357
|
-
DbxFirebaseLoginMicrosoftComponent,
|
|
1358
|
-
DbxFirebaseLoginFacebookComponent,
|
|
1359
|
-
DbxFirebaseLoginAnonymousComponent,
|
|
1360
|
-
DbxFirebaseLoginTermsComponent,
|
|
1361
|
-
DbxFirebaseLoginTermsSimpleComponent] });
|
|
1362
|
-
}
|
|
1363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseLoginModule, decorators: [{
|
|
1364
|
-
type: NgModule,
|
|
1365
|
-
args: [{
|
|
1366
|
-
imports: DBX_FIREBASE_LOGIN_COMPONENTS,
|
|
1367
|
-
exports: DBX_FIREBASE_LOGIN_COMPONENTS
|
|
1368
|
-
}]
|
|
1369
|
-
}] });
|
|
1370
|
-
|
|
1371
|
-
const DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY = 'default';
|
|
1372
|
-
const OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY = 'oauth';
|
|
1373
|
-
|
|
1374
1022
|
/**
|
|
1375
1023
|
* Factory function for creating the default Firebase auth login providers.
|
|
1376
1024
|
*
|
|
@@ -1493,22 +1141,15 @@ function provideDbxFirebaseLogin(config) {
|
|
|
1493
1141
|
},
|
|
1494
1142
|
DbxFirebaseAuthLoginService,
|
|
1495
1143
|
// service initialization
|
|
1496
|
-
{
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
dbxFirebaseAuthLoginService.enable(enabledLoginMethods);
|
|
1506
|
-
}
|
|
1507
|
-
};
|
|
1508
|
-
},
|
|
1509
|
-
deps: [DbxFirebaseAuthLoginService],
|
|
1510
|
-
multi: true
|
|
1511
|
-
}
|
|
1144
|
+
provideAppInitializer(() => {
|
|
1145
|
+
const dbxFirebaseAuthLoginService = inject(DbxFirebaseAuthLoginService);
|
|
1146
|
+
if (enabledLoginMethods === true) {
|
|
1147
|
+
dbxFirebaseAuthLoginService.setEnableAll();
|
|
1148
|
+
}
|
|
1149
|
+
else {
|
|
1150
|
+
dbxFirebaseAuthLoginService.enable(enabledLoginMethods);
|
|
1151
|
+
}
|
|
1152
|
+
})
|
|
1512
1153
|
];
|
|
1513
1154
|
// Terms component
|
|
1514
1155
|
if (loginTermsComponentClass) {
|
|
@@ -1527,6 +1168,241 @@ function provideDbxFirebaseLogin(config) {
|
|
|
1527
1168
|
return makeEnvironmentProviders(providers);
|
|
1528
1169
|
}
|
|
1529
1170
|
|
|
1171
|
+
class DbxFirebaseLoginAppleComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
1172
|
+
loginProvider = 'apple';
|
|
1173
|
+
handleLogin() {
|
|
1174
|
+
return this.dbxFirebaseAuthService.logInWithApple();
|
|
1175
|
+
}
|
|
1176
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginAppleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1177
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginAppleComponent, isStandalone: true, selector: "dbx-firebase-login-apple", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1178
|
+
}
|
|
1179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginAppleComponent, decorators: [{
|
|
1180
|
+
type: Component,
|
|
1181
|
+
args: [{
|
|
1182
|
+
selector: 'dbx-firebase-login-apple',
|
|
1183
|
+
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
1184
|
+
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template,
|
|
1185
|
+
changeDetection: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.changeDetection,
|
|
1186
|
+
standalone: true
|
|
1187
|
+
}]
|
|
1188
|
+
}] });
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Pre-configured login component that displays all configured login types.
|
|
1192
|
+
*/
|
|
1193
|
+
class DbxFirebaseLoginListComponent {
|
|
1194
|
+
dbxFirebaseAuthLoginService = inject(DbxFirebaseAuthLoginService);
|
|
1195
|
+
loginMode = input('login', ...(ngDevMode ? [{ debugName: "loginMode" }] : []));
|
|
1196
|
+
providerTypes = input(...(ngDevMode ? [undefined, { debugName: "providerTypes" }] : []));
|
|
1197
|
+
omitProviderTypes = input(...(ngDevMode ? [undefined, { debugName: "omitProviderTypes" }] : []));
|
|
1198
|
+
providerCategories = input(...(ngDevMode ? [undefined, { debugName: "providerCategories" }] : []));
|
|
1199
|
+
providerTypesSignal = computed(() => {
|
|
1200
|
+
const providerTypes = this.providerTypes();
|
|
1201
|
+
const omitProviderTypes = this.omitProviderTypes();
|
|
1202
|
+
const baseTypes = providerTypes ? asArray(providerTypes) : this.dbxFirebaseAuthLoginService.getEnabledTypes();
|
|
1203
|
+
const types = omitProviderTypes ? excludeValuesFromArray(baseTypes, asArray(omitProviderTypes)) : baseTypes;
|
|
1204
|
+
return types;
|
|
1205
|
+
}, ...(ngDevMode ? [{ debugName: "providerTypesSignal" }] : []));
|
|
1206
|
+
providersSignal = computed(() => {
|
|
1207
|
+
const providerCategories = asArray(this.providerCategories());
|
|
1208
|
+
let providers = this.dbxFirebaseAuthLoginService.getLoginProviders(this.providerTypesSignal());
|
|
1209
|
+
if (providerCategories.length) {
|
|
1210
|
+
const categories = new Set(providerCategories);
|
|
1211
|
+
providers = providers.filter((x) => containsStringAnyCase(categories, x.category ?? ''));
|
|
1212
|
+
}
|
|
1213
|
+
return providers;
|
|
1214
|
+
}, ...(ngDevMode ? [{ debugName: "providersSignal" }] : []));
|
|
1215
|
+
providersInjectionConfigsSignal = computed(() => {
|
|
1216
|
+
let providers = this.providersSignal();
|
|
1217
|
+
let mapFn;
|
|
1218
|
+
if (this.loginMode() === 'register') {
|
|
1219
|
+
providers = providers.filter((x) => x.registrationComponentClass !== false); // providers with "registrationComponentClass" set to false are not available for registration
|
|
1220
|
+
mapFn = (x) => ({ componentClass: (x.registrationComponentClass ?? x.componentClass), loginMethodType: x.loginMethodType });
|
|
1221
|
+
}
|
|
1222
|
+
else {
|
|
1223
|
+
mapFn = (x) => ({ componentClass: x.componentClass, loginMethodType: x.loginMethodType });
|
|
1224
|
+
}
|
|
1225
|
+
const configs = providers.map(mapFn);
|
|
1226
|
+
return configs;
|
|
1227
|
+
}, ...(ngDevMode ? [{ debugName: "providersInjectionConfigsSignal" }] : []));
|
|
1228
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1229
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseLoginListComponent, isStandalone: true, selector: "dbx-firebase-login-list", inputs: { loginMode: { classPropertyName: "loginMode", publicName: "loginMode", isSignal: true, isRequired: false, transformFunction: null }, providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "dbx-firebase-login-list" }, ngImport: i0, template: `
|
|
1230
|
+
@for (config of providersInjectionConfigsSignal(); track config.loginMethodType) {
|
|
1231
|
+
<div class="dbx-firebase-login-item">
|
|
1232
|
+
<dbx-injection [config]="config"></dbx-injection>
|
|
1233
|
+
</div>
|
|
1234
|
+
}
|
|
1235
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
1236
|
+
}
|
|
1237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginListComponent, decorators: [{
|
|
1238
|
+
type: Component,
|
|
1239
|
+
args: [{
|
|
1240
|
+
selector: 'dbx-firebase-login-list',
|
|
1241
|
+
template: `
|
|
1242
|
+
@for (config of providersInjectionConfigsSignal(); track config.loginMethodType) {
|
|
1243
|
+
<div class="dbx-firebase-login-item">
|
|
1244
|
+
<dbx-injection [config]="config"></dbx-injection>
|
|
1245
|
+
</div>
|
|
1246
|
+
}
|
|
1247
|
+
`,
|
|
1248
|
+
host: {
|
|
1249
|
+
class: 'dbx-firebase-login-list'
|
|
1250
|
+
},
|
|
1251
|
+
standalone: true,
|
|
1252
|
+
imports: [DbxInjectionComponent]
|
|
1253
|
+
}]
|
|
1254
|
+
}], propDecorators: { loginMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "loginMode", required: false }] }], providerTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "providerTypes", required: false }] }], omitProviderTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "omitProviderTypes", required: false }] }], providerCategories: [{ type: i0.Input, args: [{ isSignal: true, alias: "providerCategories", required: false }] }] } });
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* DbxFirebaseLoginContext implementation.
|
|
1258
|
+
*/
|
|
1259
|
+
class DbxFirebaseLoginContextDirective extends AbstractForwardDbxInjectionContextDirective {
|
|
1260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginContextDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1261
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginContextDirective, isStandalone: true, selector: "[dbxFirebaseLoginContext]", providers: [
|
|
1262
|
+
{
|
|
1263
|
+
provide: DbxFirebaseLoginContext,
|
|
1264
|
+
useExisting: DbxFirebaseLoginContextDirective
|
|
1265
|
+
}
|
|
1266
|
+
], usesInheritance: true, ngImport: i0 });
|
|
1267
|
+
}
|
|
1268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginContextDirective, decorators: [{
|
|
1269
|
+
type: Directive,
|
|
1270
|
+
args: [{
|
|
1271
|
+
selector: '[dbxFirebaseLoginContext]',
|
|
1272
|
+
standalone: true,
|
|
1273
|
+
providers: [
|
|
1274
|
+
{
|
|
1275
|
+
provide: DbxFirebaseLoginContext,
|
|
1276
|
+
useExisting: DbxFirebaseLoginContextDirective
|
|
1277
|
+
}
|
|
1278
|
+
]
|
|
1279
|
+
}]
|
|
1280
|
+
}] });
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Pre-configured login component that displays all configured login types.
|
|
1284
|
+
*/
|
|
1285
|
+
class DbxFirebaseLoginComponent {
|
|
1286
|
+
loginMode = input('login', ...(ngDevMode ? [{ debugName: "loginMode" }] : []));
|
|
1287
|
+
providerTypes = input(...(ngDevMode ? [undefined, { debugName: "providerTypes" }] : []));
|
|
1288
|
+
omitProviderTypes = input(...(ngDevMode ? [undefined, { debugName: "omitProviderTypes" }] : []));
|
|
1289
|
+
providerCategories = input(...(ngDevMode ? [undefined, { debugName: "providerCategories" }] : []));
|
|
1290
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1291
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseLoginComponent, isStandalone: true, selector: "dbx-firebase-login", inputs: { loginMode: { classPropertyName: "loginMode", publicName: "loginMode", isSignal: true, isRequired: false, transformFunction: null }, providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "{ \"dbx-firebase-register\": loginMode() === \"register\" }" }, classAttribute: "d-block dbx-firebase-login" }, ngImport: i0, template: `
|
|
1292
|
+
<ng-container *dbxInjectionContext dbxFirebaseLoginContext>
|
|
1293
|
+
<dbx-firebase-login-list [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()" [loginMode]="loginMode()"></dbx-firebase-login-list>
|
|
1294
|
+
</ng-container>
|
|
1295
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DbxInjectionContextDirective, selector: "[dbxInjectionContext]", inputs: ["config"] }, { kind: "directive", type: DbxFirebaseLoginContextDirective, selector: "[dbxFirebaseLoginContext]" }, { kind: "component", type: DbxFirebaseLoginListComponent, selector: "dbx-firebase-login-list", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1296
|
+
}
|
|
1297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginComponent, decorators: [{
|
|
1298
|
+
type: Component,
|
|
1299
|
+
args: [{
|
|
1300
|
+
selector: 'dbx-firebase-login',
|
|
1301
|
+
standalone: true,
|
|
1302
|
+
imports: [DbxInjectionContextDirective, DbxFirebaseLoginContextDirective, DbxFirebaseLoginListComponent],
|
|
1303
|
+
template: `
|
|
1304
|
+
<ng-container *dbxInjectionContext dbxFirebaseLoginContext>
|
|
1305
|
+
<dbx-firebase-login-list [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()" [loginMode]="loginMode()"></dbx-firebase-login-list>
|
|
1306
|
+
</ng-container>
|
|
1307
|
+
`,
|
|
1308
|
+
host: {
|
|
1309
|
+
class: 'd-block dbx-firebase-login',
|
|
1310
|
+
'[class]': '{ "dbx-firebase-register": loginMode() === "register" }'
|
|
1311
|
+
},
|
|
1312
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1313
|
+
}]
|
|
1314
|
+
}], propDecorators: { loginMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "loginMode", required: false }] }], providerTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "providerTypes", required: false }] }], omitProviderTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "omitProviderTypes", required: false }] }], providerCategories: [{ type: i0.Input, args: [{ isSignal: true, alias: "providerCategories", required: false }] }] } });
|
|
1315
|
+
|
|
1316
|
+
class DbxFirebaseLoginContextBackButtonComponent {
|
|
1317
|
+
cancelLogin = output();
|
|
1318
|
+
anchor = {
|
|
1319
|
+
onClick: () => this.cancelLogin.emit()
|
|
1320
|
+
};
|
|
1321
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginContextBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1322
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginContextBackButtonComponent, isStandalone: true, selector: "dbx-firebase-login-context-back-button", outputs: { cancelLogin: "cancelLogin" }, ngImport: i0, template: `
|
|
1323
|
+
<dbx-link [anchor]="anchor">Choose other login method.</dbx-link>
|
|
1324
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: DbxRouterAnchorModule }, { kind: "component", type: i1$1.DbxLinkComponent, selector: "dbx-link", inputs: ["ref", "href", "anchor"] }] });
|
|
1325
|
+
}
|
|
1326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginContextBackButtonComponent, decorators: [{
|
|
1327
|
+
type: Component,
|
|
1328
|
+
args: [{
|
|
1329
|
+
selector: 'dbx-firebase-login-context-back-button',
|
|
1330
|
+
standalone: true,
|
|
1331
|
+
imports: [DbxRouterAnchorModule],
|
|
1332
|
+
template: `
|
|
1333
|
+
<dbx-link [anchor]="anchor">Choose other login method.</dbx-link>
|
|
1334
|
+
`
|
|
1335
|
+
}]
|
|
1336
|
+
}], propDecorators: { cancelLogin: [{ type: i0.Output, args: ["cancelLogin"] }] } });
|
|
1337
|
+
|
|
1338
|
+
class DbxFirebaseLoginMicrosoftComponent extends AbstractConfiguredDbxFirebaseLoginButtonDirective {
|
|
1339
|
+
loginProvider = 'microsoft';
|
|
1340
|
+
handleLogin() {
|
|
1341
|
+
return this.dbxFirebaseAuthService.logInWithMicrosoft();
|
|
1342
|
+
}
|
|
1343
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginMicrosoftComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1344
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginMicrosoftComponent, isStandalone: true, selector: "dbx-firebase-login-microsoft", usesInheritance: true, ngImport: i0, template: "\n <dbx-firebase-login-button-container>\n <dbx-firebase-login-button [config]=\"configSignal()\"></dbx-firebase-login-button>\n </dbx-firebase-login-button-container>\n", isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginButtonComponent, selector: "dbx-firebase-login-button", inputs: ["config"], outputs: ["configChange"] }, { kind: "component", type: DbxFirebaseLoginButtonContainerComponent, selector: "dbx-firebase-login-button-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1345
|
+
}
|
|
1346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginMicrosoftComponent, decorators: [{
|
|
1347
|
+
type: Component,
|
|
1348
|
+
args: [{
|
|
1349
|
+
selector: 'dbx-firebase-login-microsoft',
|
|
1350
|
+
imports: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.imports,
|
|
1351
|
+
template: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.template,
|
|
1352
|
+
changeDetection: DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION.changeDetection,
|
|
1353
|
+
standalone: true
|
|
1354
|
+
}]
|
|
1355
|
+
}] });
|
|
1356
|
+
|
|
1357
|
+
class DbxFirebaseLoginTermsComponent {
|
|
1358
|
+
dbxFirebaseAuthLoginService = inject(DbxFirebaseAuthLoginService);
|
|
1359
|
+
config = {
|
|
1360
|
+
componentClass: this.dbxFirebaseAuthLoginService.loginTermsComponentClass
|
|
1361
|
+
};
|
|
1362
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginTermsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1363
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseLoginTermsComponent, isStandalone: true, selector: "dbx-firebase-login-terms", host: { classAttribute: "dbx-firebase-login-terms d-block" }, ngImport: i0, template: `
|
|
1364
|
+
<dbx-injection [config]="config"></dbx-injection>
|
|
1365
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
1366
|
+
}
|
|
1367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseLoginTermsComponent, decorators: [{
|
|
1368
|
+
type: Component,
|
|
1369
|
+
args: [{
|
|
1370
|
+
selector: 'dbx-firebase-login-terms',
|
|
1371
|
+
template: `
|
|
1372
|
+
<dbx-injection [config]="config"></dbx-injection>
|
|
1373
|
+
`,
|
|
1374
|
+
host: {
|
|
1375
|
+
class: 'dbx-firebase-login-terms d-block'
|
|
1376
|
+
},
|
|
1377
|
+
imports: [DbxInjectionComponent],
|
|
1378
|
+
standalone: true
|
|
1379
|
+
}]
|
|
1380
|
+
}] });
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Pre-configured register component that displays all configured login types and their registration components.
|
|
1384
|
+
*/
|
|
1385
|
+
class DbxFirebaseRegisterComponent {
|
|
1386
|
+
providerTypes = input(...(ngDevMode ? [undefined, { debugName: "providerTypes" }] : []));
|
|
1387
|
+
omitProviderTypes = input(...(ngDevMode ? [undefined, { debugName: "omitProviderTypes" }] : []));
|
|
1388
|
+
providerCategories = input(...(ngDevMode ? [undefined, { debugName: "providerCategories" }] : []));
|
|
1389
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseRegisterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1390
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseRegisterComponent, isStandalone: true, selector: "dbx-firebase-register", inputs: { providerTypes: { classPropertyName: "providerTypes", publicName: "providerTypes", isSignal: true, isRequired: false, transformFunction: null }, omitProviderTypes: { classPropertyName: "omitProviderTypes", publicName: "omitProviderTypes", isSignal: true, isRequired: false, transformFunction: null }, providerCategories: { classPropertyName: "providerCategories", publicName: "providerCategories", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1391
|
+
<dbx-firebase-login loginMode="register" [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()"></dbx-firebase-login>
|
|
1392
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseLoginComponent, selector: "dbx-firebase-login", inputs: ["loginMode", "providerTypes", "omitProviderTypes", "providerCategories"] }] });
|
|
1393
|
+
}
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseRegisterComponent, decorators: [{
|
|
1395
|
+
type: Component,
|
|
1396
|
+
args: [{
|
|
1397
|
+
selector: 'dbx-firebase-register',
|
|
1398
|
+
template: `
|
|
1399
|
+
<dbx-firebase-login loginMode="register" [providerTypes]="providerTypes()" [omitProviderTypes]="omitProviderTypes()" [providerCategories]="providerCategories()"></dbx-firebase-login>
|
|
1400
|
+
`,
|
|
1401
|
+
imports: [DbxFirebaseLoginComponent],
|
|
1402
|
+
standalone: true
|
|
1403
|
+
}]
|
|
1404
|
+
}], propDecorators: { providerTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "providerTypes", required: false }] }], omitProviderTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "omitProviderTypes", required: false }] }], providerCategories: [{ type: i0.Input, args: [{ isSignal: true, alias: "providerCategories", required: false }] }] } });
|
|
1405
|
+
|
|
1530
1406
|
function authRolesObsWithClaimsService(config) {
|
|
1531
1407
|
const { addAuthUserStateToRoles: addAuthUserState, claimsService } = config;
|
|
1532
1408
|
return (dbxFirebaseAuthService) => {
|
|
@@ -1575,25 +1451,6 @@ function provideDbxFirebaseAuth(config) {
|
|
|
1575
1451
|
return makeEnvironmentProviders(providers);
|
|
1576
1452
|
}
|
|
1577
1453
|
|
|
1578
|
-
/**
|
|
1579
|
-
* @deprecated use provideDbxFirebaseAuth() instead
|
|
1580
|
-
*/
|
|
1581
|
-
class DbxFirebaseAuthModule {
|
|
1582
|
-
static forRoot(config) {
|
|
1583
|
-
return {
|
|
1584
|
-
ngModule: DbxFirebaseAuthModule,
|
|
1585
|
-
providers: [provideDbxFirebaseAuth(config)]
|
|
1586
|
-
};
|
|
1587
|
-
}
|
|
1588
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1589
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseAuthModule });
|
|
1590
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseAuthModule });
|
|
1591
|
-
}
|
|
1592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseAuthModule, decorators: [{
|
|
1593
|
-
type: NgModule,
|
|
1594
|
-
args: [{}]
|
|
1595
|
-
}] });
|
|
1596
|
-
|
|
1597
1454
|
/**
|
|
1598
1455
|
* Default providers to inject.
|
|
1599
1456
|
*/
|
|
@@ -1634,10 +1491,10 @@ class DbxFirebaseDevelopmentWidgetService {
|
|
|
1634
1491
|
getEntries() {
|
|
1635
1492
|
return iterableToArray(this._entries.values());
|
|
1636
1493
|
}
|
|
1637
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1638
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1494
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentWidgetService, deps: [{ token: DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1495
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentWidgetService });
|
|
1639
1496
|
}
|
|
1640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentWidgetService, decorators: [{
|
|
1641
1498
|
type: Injectable
|
|
1642
1499
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1643
1500
|
type: Optional
|
|
@@ -1710,10 +1567,10 @@ class DbxFirebaseDevelopmentSchedulerService {
|
|
|
1710
1567
|
setTimer(timerInterval) {
|
|
1711
1568
|
this._timerInterval.next(timerInterval);
|
|
1712
1569
|
}
|
|
1713
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1714
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1571
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerService });
|
|
1715
1572
|
}
|
|
1716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerService, decorators: [{
|
|
1717
1574
|
type: Injectable
|
|
1718
1575
|
}] });
|
|
1719
1576
|
|
|
@@ -1736,10 +1593,10 @@ class DbxFirebaseDevelopmentPopupContentFormComponent extends AbstractConfigAsyn
|
|
|
1736
1593
|
})
|
|
1737
1594
|
];
|
|
1738
1595
|
}));
|
|
1739
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1740
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1596
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentFormComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1597
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentPopupContentFormComponent, isStandalone: true, selector: "dbx-firebase-development-popup-content-form", providers: dbxFormlyFormComponentProviders(), usesInheritance: true, ngImport: i0, template: "<dbx-formly></dbx-formly>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxFormlyFormComponentImportsModule }, { kind: "component", type: i1$2.DbxFormlyComponent, selector: "dbx-formly", exportAs: ["formly"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1741
1598
|
}
|
|
1742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentFormComponent, decorators: [{
|
|
1743
1600
|
type: Component,
|
|
1744
1601
|
args: [{
|
|
1745
1602
|
selector: 'dbx-firebase-development-popup-content-form',
|
|
@@ -1758,10 +1615,10 @@ class DbxFirebaseDevelopmentSchedulerListComponent extends AbstractDbxSelectionL
|
|
|
1758
1615
|
defaultSelectionMode: 'view'
|
|
1759
1616
|
});
|
|
1760
1617
|
}
|
|
1761
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1762
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1618
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1619
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentSchedulerListComponent, isStandalone: true, selector: "dbx-firebase-development-scheduler-list", providers: provideDbxListViewWrapper(DbxFirebaseDevelopmentSchedulerListComponent), usesInheritance: true, ngImport: i0, template: "\n <dbx-list [state]=\"currentState$\" [config]=\"configSignal()\" [hasMore]=\"hasMore()\" [disabled]=\"disabled()\" [selectionMode]=\"selectionModeSignal()\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n <ng-content end select=\"[end]\"></ng-content>\n </dbx-list>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxListWrapperComponentImportsModule }, { kind: "component", type: i1$1.DbxListComponent, selector: "dbx-list", inputs: ["padded", "state", "config", "disabled", "selectionMode", "hasMore"], outputs: ["contentScrolled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1763
1620
|
}
|
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListComponent, decorators: [{
|
|
1765
1622
|
type: Component,
|
|
1766
1623
|
args: [{
|
|
1767
1624
|
selector: 'dbx-firebase-development-scheduler-list',
|
|
@@ -1777,10 +1634,10 @@ class DbxFirebaseDevelopmentSchedulerListViewComponent extends AbstractDbxSelect
|
|
|
1777
1634
|
componentClass: DbxFirebaseDevelopmentSchedulerListViewItemComponent,
|
|
1778
1635
|
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, icon: y.icon, itemValue: y })))
|
|
1779
1636
|
};
|
|
1780
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1781
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1638
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentSchedulerListViewComponent, isStandalone: true, selector: "dbx-firebase-development-scheduler-list-view", providers: provideDbxListView(DbxFirebaseDevelopmentSchedulerListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1782
1639
|
}
|
|
1783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewComponent, decorators: [{
|
|
1784
1641
|
type: Component,
|
|
1785
1642
|
args: [{
|
|
1786
1643
|
selector: 'dbx-firebase-development-scheduler-list-view',
|
|
@@ -1799,15 +1656,15 @@ class DbxFirebaseDevelopmentSchedulerListViewItemComponent extends AbstractDbxVa
|
|
|
1799
1656
|
handleRun = (value, context) => {
|
|
1800
1657
|
context.startWorkingWithObservable(from(this.dbxFirebaseDevelopmentSchedulerService.runScheduledFunction(this.name)));
|
|
1801
1658
|
};
|
|
1802
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1803
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1659
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1660
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentSchedulerListViewItemComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1804
1661
|
<div dbxAction dbxActionValue useFastTriggerPreset [dbxActionHandler]="handleRun">
|
|
1805
1662
|
<dbx-button dbxActionButton [text]="'Run ' + name"></dbx-button>
|
|
1806
1663
|
<div *dbxActionHasSuccess="3000" class="dbx-success">Success</div>
|
|
1807
1664
|
</div>
|
|
1808
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]
|
|
1665
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionValueDirective, selector: "dbxActionValue,[dbxActionValue]", inputs: ["dbxActionValue"] }, { kind: "directive", type: i2.DbxActionHasSuccessDirective, selector: "[dbxActionHasSuccess]", inputs: ["dbxActionHasSuccess"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1809
1666
|
}
|
|
1810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewItemComponent, decorators: [{
|
|
1811
1668
|
type: Component,
|
|
1812
1669
|
args: [{
|
|
1813
1670
|
template: `
|
|
@@ -1836,14 +1693,14 @@ class DbxFirebaseDevelopmentSchedulerWidgetComponent {
|
|
|
1836
1693
|
dbxFirebaseDevelopmentSchedulerService = inject(DbxFirebaseDevelopmentSchedulerService);
|
|
1837
1694
|
entries$ = this.dbxFirebaseDevelopmentSchedulerService.schedulerList$;
|
|
1838
1695
|
state$ = loadingStateFromObs(this.entries$);
|
|
1839
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1840
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1696
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1697
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentSchedulerWidgetComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
1841
1698
|
<div>
|
|
1842
1699
|
<dbx-firebase-development-scheduler-list [state]="state$"></dbx-firebase-development-scheduler-list>
|
|
1843
1700
|
</div>
|
|
1844
1701
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseDevelopmentSchedulerListComponent, selector: "dbx-firebase-development-scheduler-list" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1845
1702
|
}
|
|
1846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerWidgetComponent, decorators: [{
|
|
1847
1704
|
type: Component,
|
|
1848
1705
|
args: [{
|
|
1849
1706
|
template: `
|
|
@@ -1890,10 +1747,10 @@ class DbxFirebaseEmulatorService {
|
|
|
1890
1747
|
}
|
|
1891
1748
|
: undefined;
|
|
1892
1749
|
}
|
|
1893
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1894
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmulatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1751
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmulatorService });
|
|
1895
1752
|
}
|
|
1896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseEmulatorService, decorators: [{
|
|
1897
1754
|
type: Injectable
|
|
1898
1755
|
}] });
|
|
1899
1756
|
|
|
@@ -1922,7 +1779,7 @@ class DbxFirebaseDevelopmentPopupContentComponent {
|
|
|
1922
1779
|
schedulerIntervalSignal = toSignal(this.schedulerInterval$);
|
|
1923
1780
|
schedulerErrorSignal = toSignal(this.schedulerError$);
|
|
1924
1781
|
activeEntrySignal = toSignal(this.activeEntry$);
|
|
1925
|
-
rightTitleSignal = computed(() => this.activeEntrySignal()?.label);
|
|
1782
|
+
rightTitleSignal = computed(() => this.activeEntrySignal()?.label, ...(ngDevMode ? [{ debugName: "rightTitleSignal" }] : []));
|
|
1926
1783
|
widgetConfigSignal = computed(() => {
|
|
1927
1784
|
const widget = this.activeEntrySignal()?.widget;
|
|
1928
1785
|
let widgetConfig = undefined;
|
|
@@ -1930,7 +1787,7 @@ class DbxFirebaseDevelopmentPopupContentComponent {
|
|
|
1930
1787
|
widgetConfig = { type: widget.type, data: undefined };
|
|
1931
1788
|
}
|
|
1932
1789
|
return widgetConfig;
|
|
1933
|
-
});
|
|
1790
|
+
}, ...(ngDevMode ? [{ debugName: "widgetConfigSignal" }] : []));
|
|
1934
1791
|
constructor() {
|
|
1935
1792
|
this.twoColumnsContextStore.setShowRight(this.showRight$);
|
|
1936
1793
|
cleanSubscription(this.twoColumnsContextStore.back$.subscribe(() => {
|
|
@@ -1947,10 +1804,10 @@ class DbxFirebaseDevelopmentPopupContentComponent {
|
|
|
1947
1804
|
clearSelection() {
|
|
1948
1805
|
this._activeEntrySelector.next(undefined);
|
|
1949
1806
|
}
|
|
1950
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1951
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1807
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1808
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentPopupContentComponent, isStandalone: true, selector: "dbx-firebase-development-popup-content", providers: [TwoColumnsContextStore], ngImport: i0, template: "<dbx-two-column class=\"dbx-firebase-development-popup-content\" [dbxTwoColumnFullLeft]=\"true\">\n <dbx-two-block left>\n <div>\n <h4>Info</h4>\n <p>Scheduler (Running): {{ schedulerRunningSignal() }} : {{ schedulerIntervalSignal() }}s : {{ schedulerErrorSignal() }}</p>\n <div>\n @if (showEmulatorButton) {\n <dbx-anchor [anchor]=\"emulatorUIAnchor\">\n <button mat-flat-button color=\"accent\">Emulator Enabled</button>\n </dbx-anchor>\n }\n </div>\n </div>\n <div>\n <h4>Tools</h4>\n <div dbxAction dbxActionEnforceModified dbxActionAutoTrigger useInstantTriggerPreset [dbxActionHandler]=\"handleFormUpdate\">\n <dbx-firebase-development-popup-content-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-form>\n </div>\n </div>\n </dbx-two-block>\n <dbx-two-column-right right [header]=\"rightTitleSignal()\">\n <dbx-widget-view [config]=\"widgetConfigSignal()\"></dbx-widget-view>\n </dbx-two-column-right>\n</dbx-two-column>\n", styles: [".dbx-firebase-development-popup-content{height:400px;overflow:hidden}\n"], dependencies: [{ kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "directive", type: DbxTwoColumnFullLeftDirective, selector: "[dbxTwoColumnFullLeft]", inputs: ["dbxTwoColumnFullLeft"] }, { kind: "component", type: DbxWidgetViewComponent, selector: "dbx-widget-view", inputs: ["config"] }, { kind: "component", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: ["reverseSizing", "inSectionPage", "hasRightContent"], exportAs: ["columns"] }, { kind: "component", type: DbxTwoBlockComponent, selector: "dbx-two-block", inputs: ["fixedTop"] }, { kind: "component", type: DbxTwoColumnRightComponent, selector: "dbx-two-column-right", inputs: ["full", "header", "block", "showBack", "minRightWidth"] }, { kind: "component", type: DbxFirebaseDevelopmentPopupContentFormComponent, selector: "dbx-firebase-development-popup-content-form" }, { kind: "directive", type: DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: DbxActionEnforceModifiedDirective, selector: "[dbxActionEnforceModified]", inputs: ["dbxActionEnforceModified"] }, { kind: "directive", type: DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: DbxActionFormDirective, selector: "[dbxActionForm]", inputs: ["dbxActionFormDisabledOnWorking", "dbxActionFormIsValid", "dbxActionFormIsEqual", "dbxActionFormIsModified", "dbxActionFormMapValue"] }, { kind: "directive", type: DbxFormSourceDirective, selector: "[dbxFormSource]", inputs: ["dbxFormSourceMode", "dbxFormSource"] }, { kind: "directive", type: DbxActionAutoTriggerDirective, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: ["triggerDebounce", "triggerThrottle", "triggerErrorThrottle", "maxErrorsForThrottle", "triggerLimit", "dbxActionAutoTrigger", "useFastTriggerPreset", "useInstantTriggerPreset"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] });
|
|
1952
1809
|
}
|
|
1953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentPopupContentComponent, decorators: [{
|
|
1954
1811
|
type: Component,
|
|
1955
1812
|
args: [{ selector: 'dbx-firebase-development-popup-content', imports: [DbxAnchorComponent, DbxTwoColumnFullLeftDirective, DbxWidgetViewComponent, DbxTwoColumnComponent, DbxTwoBlockComponent, DbxTwoColumnRightComponent, DbxWidgetViewComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxActionDirective, DbxActionEnforceModifiedDirective, DbxActionHandlerDirective, DbxActionFormDirective, DbxFormSourceDirective, DbxActionAutoTriggerDirective, MatButtonModule], providers: [TwoColumnsContextStore], standalone: true, template: "<dbx-two-column class=\"dbx-firebase-development-popup-content\" [dbxTwoColumnFullLeft]=\"true\">\n <dbx-two-block left>\n <div>\n <h4>Info</h4>\n <p>Scheduler (Running): {{ schedulerRunningSignal() }} : {{ schedulerIntervalSignal() }}s : {{ schedulerErrorSignal() }}</p>\n <div>\n @if (showEmulatorButton) {\n <dbx-anchor [anchor]=\"emulatorUIAnchor\">\n <button mat-flat-button color=\"accent\">Emulator Enabled</button>\n </dbx-anchor>\n }\n </div>\n </div>\n <div>\n <h4>Tools</h4>\n <div dbxAction dbxActionEnforceModified dbxActionAutoTrigger useInstantTriggerPreset [dbxActionHandler]=\"handleFormUpdate\">\n <dbx-firebase-development-popup-content-form [config]=\"formConfig$\" dbxActionForm [dbxActionFormIsModified]=\"isFormModified\" [dbxFormSource]=\"formData$\" dbxFormSourceMode=\"always\"></dbx-firebase-development-popup-content-form>\n </div>\n </div>\n </dbx-two-block>\n <dbx-two-column-right right [header]=\"rightTitleSignal()\">\n <dbx-widget-view [config]=\"widgetConfigSignal()\"></dbx-widget-view>\n </dbx-two-column-right>\n</dbx-two-column>\n", styles: [".dbx-firebase-development-popup-content{height:400px;overflow:hidden}\n"] }]
|
|
1956
1813
|
}], ctorParameters: () => [] });
|
|
@@ -1972,15 +1829,15 @@ class DbxFirebaseDevelopmentPopupComponent extends AbstractPopupDirective {
|
|
|
1972
1829
|
reopen = () => {
|
|
1973
1830
|
DbxFirebaseDevelopmentPopupComponent.openPopup(this.popupService, this.popup.key);
|
|
1974
1831
|
};
|
|
1975
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1976
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
1832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1833
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: DbxFirebaseDevelopmentPopupComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "content", first: true, predicate: DbxFirebaseDevelopmentPopupContentComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1977
1834
|
<dbx-popup-content>
|
|
1978
1835
|
<dbx-popup-controls [header]="header" controls></dbx-popup-controls>
|
|
1979
1836
|
<dbx-firebase-development-popup-content (shouldClose)="closePopup()"></dbx-firebase-development-popup-content>
|
|
1980
1837
|
</dbx-popup-content>
|
|
1981
1838
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxPopupContentComponent, selector: "dbx-popup-content" }, { kind: "component", type: DbxPopupControlsComponent, selector: "dbx-popup-controls", inputs: ["header"] }, { kind: "component", type: DbxFirebaseDevelopmentPopupContentComponent, selector: "dbx-firebase-development-popup-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1982
1839
|
}
|
|
1983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentPopupComponent, decorators: [{
|
|
1984
1841
|
type: Component,
|
|
1985
1842
|
args: [{
|
|
1986
1843
|
template: `
|
|
@@ -1993,7 +1850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1993
1850
|
standalone: true,
|
|
1994
1851
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1995
1852
|
}]
|
|
1996
|
-
}] });
|
|
1853
|
+
}], propDecorators: { content: [{ type: i0.ViewChild, args: [i0.forwardRef(() => DbxFirebaseDevelopmentPopupContentComponent), { isSignal: true }] }] } });
|
|
1997
1854
|
|
|
1998
1855
|
/**
|
|
1999
1856
|
* Corresponds to the enabled value on the DbxFirebaseDevelopmentService.
|
|
@@ -2006,10 +1863,10 @@ const DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN = new InjectionToken('DefaultDb
|
|
|
2006
1863
|
*/
|
|
2007
1864
|
class DbxFirebaseDevelopmentService {
|
|
2008
1865
|
enabled = inject(DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, { optional: true }) ?? false;
|
|
2009
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2010
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1866
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1867
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentService });
|
|
2011
1868
|
}
|
|
2012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentService, decorators: [{
|
|
2013
1870
|
type: Injectable
|
|
2014
1871
|
}] });
|
|
2015
1872
|
|
|
@@ -2071,10 +1928,10 @@ class DbxFirebaseDevelopmentDirective {
|
|
|
2071
1928
|
});
|
|
2072
1929
|
}
|
|
2073
1930
|
}
|
|
2074
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2075
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1932
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDevelopmentDirective, isStandalone: true, selector: "[dbxFirebaseDevelopment]", host: { listeners: { "window:keydown": "handleKeyboardEvent($event)" } }, ngImport: i0 });
|
|
2076
1933
|
}
|
|
2077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentDirective, decorators: [{
|
|
2078
1935
|
type: Directive,
|
|
2079
1936
|
args: [{
|
|
2080
1937
|
selector: '[dbxFirebaseDevelopment]',
|
|
@@ -2085,7 +1942,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2085
1942
|
args: ['window:keydown', ['$event']]
|
|
2086
1943
|
}] } });
|
|
2087
1944
|
|
|
2088
|
-
const importsAndExports$
|
|
1945
|
+
const importsAndExports$2 = [
|
|
2089
1946
|
//
|
|
2090
1947
|
DbxFirebaseDevelopmentPopupContentFormComponent,
|
|
2091
1948
|
DbxFirebaseDevelopmentDirective,
|
|
@@ -2100,8 +1957,8 @@ const importsAndExports$6 = [
|
|
|
2100
1957
|
* Contains components related to logging in.
|
|
2101
1958
|
*/
|
|
2102
1959
|
class DbxFirebaseDevelopmentModule {
|
|
2103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2104
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1960
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1961
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentModule, imports: [
|
|
2105
1962
|
//
|
|
2106
1963
|
DbxFirebaseDevelopmentPopupContentFormComponent,
|
|
2107
1964
|
DbxFirebaseDevelopmentDirective,
|
|
@@ -2120,7 +1977,7 @@ class DbxFirebaseDevelopmentModule {
|
|
|
2120
1977
|
DbxFirebaseDevelopmentSchedulerListComponent,
|
|
2121
1978
|
DbxFirebaseDevelopmentSchedulerListViewComponent,
|
|
2122
1979
|
DbxFirebaseDevelopmentSchedulerListViewItemComponent] });
|
|
2123
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1980
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentModule, imports: [
|
|
2124
1981
|
//
|
|
2125
1982
|
DbxFirebaseDevelopmentPopupContentFormComponent,
|
|
2126
1983
|
DbxFirebaseDevelopmentPopupComponent,
|
|
@@ -2130,11 +1987,11 @@ class DbxFirebaseDevelopmentModule {
|
|
|
2130
1987
|
DbxFirebaseDevelopmentSchedulerListViewComponent,
|
|
2131
1988
|
DbxFirebaseDevelopmentSchedulerListViewItemComponent] });
|
|
2132
1989
|
}
|
|
2133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDevelopmentModule, decorators: [{
|
|
2134
1991
|
type: NgModule,
|
|
2135
1992
|
args: [{
|
|
2136
|
-
imports: importsAndExports$
|
|
2137
|
-
exports: importsAndExports$
|
|
1993
|
+
imports: importsAndExports$2,
|
|
1994
|
+
exports: importsAndExports$2
|
|
2138
1995
|
}]
|
|
2139
1996
|
}] });
|
|
2140
1997
|
|
|
@@ -2165,17 +2022,11 @@ function provideDbxFirebaseDevelopment(config) {
|
|
|
2165
2022
|
DbxFirebaseDevelopmentSchedulerService,
|
|
2166
2023
|
DbxFirebaseDevelopmentWidgetService,
|
|
2167
2024
|
// service initialization
|
|
2168
|
-
{
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
scheduler.init();
|
|
2174
|
-
};
|
|
2175
|
-
},
|
|
2176
|
-
deps: [DbxFirebaseDevelopmentSchedulerService],
|
|
2177
|
-
multi: true
|
|
2178
|
-
}
|
|
2025
|
+
provideAppInitializer(() => {
|
|
2026
|
+
const scheduler = inject(DbxFirebaseDevelopmentSchedulerService);
|
|
2027
|
+
// initialize the scheduler
|
|
2028
|
+
scheduler.init();
|
|
2029
|
+
})
|
|
2179
2030
|
];
|
|
2180
2031
|
return makeEnvironmentProviders(providers);
|
|
2181
2032
|
}
|
|
@@ -2314,29 +2165,6 @@ function provideDbxFirebaseApp(config) {
|
|
|
2314
2165
|
}
|
|
2315
2166
|
// TODO: Providers now need to be initialized/registered in the bootstrap section as additional providers/config and not imported as modules this way
|
|
2316
2167
|
|
|
2317
|
-
/**
|
|
2318
|
-
* Default provider module.
|
|
2319
|
-
*
|
|
2320
|
-
* @deprecated use provideDbxFirebaseApp() instead
|
|
2321
|
-
*/
|
|
2322
|
-
class DbxFirebaseDefaultFirebaseProvidersModule {
|
|
2323
|
-
static forRoot(dbxFirebaseOptions) {
|
|
2324
|
-
return {
|
|
2325
|
-
ngModule: DbxFirebaseDefaultFirebaseProvidersModule,
|
|
2326
|
-
providers: [provideDbxFirebaseApp({ dbxFirebaseAppOptions: dbxFirebaseOptions })]
|
|
2327
|
-
};
|
|
2328
|
-
}
|
|
2329
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDefaultFirebaseProvidersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2330
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDefaultFirebaseProvidersModule });
|
|
2331
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDefaultFirebaseProvidersModule });
|
|
2332
|
-
}
|
|
2333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseDefaultFirebaseProvidersModule, decorators: [{
|
|
2334
|
-
type: NgModule,
|
|
2335
|
-
args: [{
|
|
2336
|
-
providers: []
|
|
2337
|
-
}]
|
|
2338
|
-
}] });
|
|
2339
|
-
|
|
2340
2168
|
/**
|
|
2341
2169
|
* Creates EnvironmentProviders for the DbxFirebaseEmulatorService.
|
|
2342
2170
|
*
|
|
@@ -2367,26 +2195,6 @@ function provideDbxFirebaseEmulator(config) {
|
|
|
2367
2195
|
return makeEnvironmentProviders(providers);
|
|
2368
2196
|
}
|
|
2369
2197
|
|
|
2370
|
-
/**
|
|
2371
|
-
* Used to configure the DbxFirebaseEmulatorsConfig provider.
|
|
2372
|
-
*
|
|
2373
|
-
* @deprecated use provideDbxFirebaseEmulator instead.
|
|
2374
|
-
*/
|
|
2375
|
-
class DbxFirebaseEmulatorModule {
|
|
2376
|
-
static forRoot(config) {
|
|
2377
|
-
return {
|
|
2378
|
-
ngModule: DbxFirebaseEmulatorModule,
|
|
2379
|
-
providers: [provideDbxFirebaseEmulator(config)]
|
|
2380
|
-
};
|
|
2381
|
-
}
|
|
2382
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseEmulatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2383
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseEmulatorModule });
|
|
2384
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseEmulatorModule });
|
|
2385
|
-
}
|
|
2386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseEmulatorModule, decorators: [{
|
|
2387
|
-
type: NgModule
|
|
2388
|
-
}] });
|
|
2389
|
-
|
|
2390
2198
|
/**
|
|
2391
2199
|
* Token to access the FirestoreContext value.
|
|
2392
2200
|
*/
|
|
@@ -2474,35 +2282,15 @@ function provideDbxFirestoreCollection(config) {
|
|
|
2474
2282
|
return makeEnvironmentProviders(providers);
|
|
2475
2283
|
}
|
|
2476
2284
|
|
|
2477
|
-
/**
|
|
2478
|
-
* Used to initialize the FirestoreCollection for a DbxFirebase app.
|
|
2479
|
-
*
|
|
2480
|
-
* @deprecated use provideDbxFirestoreCollection() instead.
|
|
2481
|
-
*/
|
|
2482
|
-
class DbxFirebaseFirestoreCollectionModule {
|
|
2483
|
-
static forRoot(config) {
|
|
2484
|
-
return {
|
|
2485
|
-
ngModule: DbxFirebaseFirestoreCollectionModule,
|
|
2486
|
-
providers: [provideDbxFirestoreCollection(config)]
|
|
2487
|
-
};
|
|
2488
|
-
}
|
|
2489
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFirestoreCollectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2490
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFirestoreCollectionModule });
|
|
2491
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFirestoreCollectionModule });
|
|
2492
|
-
}
|
|
2493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFirestoreCollectionModule, decorators: [{
|
|
2494
|
-
type: NgModule
|
|
2495
|
-
}] });
|
|
2496
|
-
|
|
2497
2285
|
/**
|
|
2498
2286
|
* Service that provides access to the app's FirestoreContext.
|
|
2499
2287
|
*/
|
|
2500
2288
|
class DbxFirestoreContextService {
|
|
2501
2289
|
firestoreContext = inject(DBX_FIRESTORE_CONTEXT_TOKEN);
|
|
2502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2503
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2290
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirestoreContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2291
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirestoreContextService, providedIn: 'root' });
|
|
2504
2292
|
}
|
|
2505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirestoreContextService, decorators: [{
|
|
2506
2294
|
type: Injectable,
|
|
2507
2295
|
args: [{
|
|
2508
2296
|
providedIn: 'root'
|
|
@@ -2559,26 +2347,6 @@ function provideDbxFirebaseFunctions(config) {
|
|
|
2559
2347
|
return makeEnvironmentProviders(providers);
|
|
2560
2348
|
}
|
|
2561
2349
|
|
|
2562
|
-
/**
|
|
2563
|
-
* Used to initialize the LazyFirebaseFunctions type for a DbxFirebase app.
|
|
2564
|
-
*
|
|
2565
|
-
* @deprecated use provideDbxFirebaseFunctions() instead.
|
|
2566
|
-
*/
|
|
2567
|
-
class DbxFirebaseFunctionsModule {
|
|
2568
|
-
static forRoot(config) {
|
|
2569
|
-
return {
|
|
2570
|
-
ngModule: DbxFirebaseFunctionsModule,
|
|
2571
|
-
providers: [provideDbxFirebaseFunctions(config)]
|
|
2572
|
-
};
|
|
2573
|
-
}
|
|
2574
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFunctionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2575
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFunctionsModule });
|
|
2576
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFunctionsModule });
|
|
2577
|
-
}
|
|
2578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseFunctionsModule, decorators: [{
|
|
2579
|
-
type: NgModule
|
|
2580
|
-
}] });
|
|
2581
|
-
|
|
2582
2350
|
function dbxFirebaseCollectionChangeWatcher(store, initialMode) {
|
|
2583
2351
|
const _mode = new BehaviorSubject(initialMode ?? 'off');
|
|
2584
2352
|
const _sub = new SubscriptionObject();
|
|
@@ -3172,10 +2940,10 @@ class DbxFirebaseModelTypesService {
|
|
|
3172
2940
|
instancePairsForKeys(keys) {
|
|
3173
2941
|
return dbxFirebaseModelTypesServiceInstancePairForKeysFactory(this)(keys);
|
|
3174
2942
|
}
|
|
3175
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3176
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2943
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypesService, deps: [{ token: DbxFirebaseModelTypesServiceConfig }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2944
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypesService });
|
|
3177
2945
|
}
|
|
3178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypesService, decorators: [{
|
|
3179
2947
|
type: Injectable
|
|
3180
2948
|
}], ctorParameters: () => [{ type: DbxFirebaseModelTypesServiceConfig, decorators: [{
|
|
3181
2949
|
type: Inject,
|
|
@@ -3268,10 +3036,10 @@ class DbxFirebaseModelTrackerService {
|
|
|
3268
3036
|
const historyKeys$ = this.loadHistoryKeys();
|
|
3269
3037
|
return historyKeys$.pipe(switchMap((x) => this.dbxFirebaseModelTypesService.instancePairsForKeys(x)));
|
|
3270
3038
|
}
|
|
3271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3272
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3039
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTrackerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3040
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTrackerService, providedIn: 'root' });
|
|
3273
3041
|
}
|
|
3274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTrackerService, decorators: [{
|
|
3275
3043
|
type: Injectable,
|
|
3276
3044
|
args: [{
|
|
3277
3045
|
providedIn: 'root'
|
|
@@ -3288,10 +3056,10 @@ class DbxFirebaseModelTypeInstanceListComponent extends AbstractDbxSelectionList
|
|
|
3288
3056
|
defaultSelectionMode: 'view'
|
|
3289
3057
|
});
|
|
3290
3058
|
}
|
|
3291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3292
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3059
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypeInstanceListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3060
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseModelTypeInstanceListComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list", providers: provideDbxListViewWrapper(DbxFirebaseModelTypeInstanceListComponent), usesInheritance: true, ngImport: i0, template: "\n <dbx-list [state]=\"currentState$\" [config]=\"configSignal()\" [hasMore]=\"hasMore()\" [disabled]=\"disabled()\" [selectionMode]=\"selectionModeSignal()\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n <ng-content end select=\"[end]\"></ng-content>\n </dbx-list>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxListWrapperComponentImportsModule }, { kind: "component", type: i1$1.DbxListComponent, selector: "dbx-list", inputs: ["padded", "state", "config", "disabled", "selectionMode", "hasMore"], outputs: ["contentScrolled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3293
3061
|
}
|
|
3294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypeInstanceListComponent, decorators: [{
|
|
3295
3063
|
type: Component,
|
|
3296
3064
|
args: [{
|
|
3297
3065
|
selector: 'dbx-firebase-model-type-instance-list',
|
|
@@ -3307,10 +3075,10 @@ class DbxFirebaseModelTypeInstanceListViewComponent extends AbstractDbxSelection
|
|
|
3307
3075
|
componentClass: DbxFirebaseModelTypeInstanceListViewItemComponent,
|
|
3308
3076
|
mapValuesToItemValues: (x) => of(x.map((y) => ({ itemValue: y, icon: y.displayInfo.icon ?? y.icon, anchor: y.segueRef })))
|
|
3309
3077
|
};
|
|
3310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3311
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3078
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3079
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseModelTypeInstanceListViewComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list-view", providers: provideDbxListView(DbxFirebaseModelTypeInstanceListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3312
3080
|
}
|
|
3313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewComponent, decorators: [{
|
|
3314
3082
|
type: Component,
|
|
3315
3083
|
args: [{
|
|
3316
3084
|
selector: 'dbx-firebase-model-type-instance-list-view',
|
|
@@ -3323,12 +3091,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3323
3091
|
}] });
|
|
3324
3092
|
class DbxFirebaseModelTypeInstanceListViewItemComponent extends AbstractDbxValueListViewItemComponent {
|
|
3325
3093
|
title = this.itemValue.displayInfo.title;
|
|
3326
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3327
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3094
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3095
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseModelTypeInstanceListViewItemComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list-view-item", usesInheritance: true, ngImport: i0, template: `
|
|
3328
3096
|
<span>{{ title }}</span>
|
|
3329
3097
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3330
3098
|
}
|
|
3331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewItemComponent, decorators: [{
|
|
3332
3100
|
type: Component,
|
|
3333
3101
|
args: [{
|
|
3334
3102
|
selector: 'dbx-firebase-model-type-instance-list-view-item',
|
|
@@ -3342,18 +3110,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3342
3110
|
|
|
3343
3111
|
class DbxFirebaseModelHistoryComponent {
|
|
3344
3112
|
dbxFirebaseModelTrackerService = inject(DbxFirebaseModelTrackerService);
|
|
3345
|
-
anchorForItem = input();
|
|
3346
|
-
historyFilter = input();
|
|
3113
|
+
anchorForItem = input(...(ngDevMode ? [undefined, { debugName: "anchorForItem" }] : []));
|
|
3114
|
+
historyFilter = input(...(ngDevMode ? [undefined, { debugName: "historyFilter" }] : []));
|
|
3347
3115
|
historyPairs$ = toObservable(this.historyFilter).pipe(switchMap((x) => this.dbxFirebaseModelTrackerService.filterHistoryPairs(x)), shareReplay(1));
|
|
3348
3116
|
state = loadingStateFromObs(this.historyPairs$);
|
|
3349
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3350
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
3117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseModelHistoryComponent, isStandalone: true, selector: "dbx-firebase-model-history", inputs: { anchorForItem: { classPropertyName: "anchorForItem", publicName: "anchorForItem", isSignal: true, isRequired: false, transformFunction: null }, historyFilter: { classPropertyName: "historyFilter", publicName: "historyFilter", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3351
3119
|
<dbx-firebase-model-type-instance-list [state]="state" dbxListItemModifier [dbxListItemAnchorModifier]="anchorForItem()">
|
|
3352
3120
|
<ng-content empty select="[empty]"></ng-content>
|
|
3353
3121
|
</dbx-firebase-model-type-instance-list>
|
|
3354
3122
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseModelTypeInstanceListComponent, selector: "dbx-firebase-model-type-instance-list" }, { kind: "directive", type: DbxListItemAnchorModifierDirective, selector: "[dbxListItemAnchorModifier]", inputs: ["dbxListItemAnchorModifier"] }, { kind: "directive", type: DbxValueListItemModifierDirective, selector: "dbxListItemModifier,[dbxListItemModifier]", inputs: ["dbxListItemModifier"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3355
3123
|
}
|
|
3356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelHistoryComponent, decorators: [{
|
|
3357
3125
|
type: Component,
|
|
3358
3126
|
args: [{
|
|
3359
3127
|
selector: 'dbx-firebase-model-history',
|
|
@@ -3366,7 +3134,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3366
3134
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3367
3135
|
standalone: true
|
|
3368
3136
|
}]
|
|
3369
|
-
}] });
|
|
3137
|
+
}], propDecorators: { anchorForItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchorForItem", required: false }] }], historyFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "historyFilter", required: false }] }] } });
|
|
3370
3138
|
|
|
3371
3139
|
const DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY = 'history';
|
|
3372
3140
|
class DbxFirebaseModelHistoryPopoverComponent extends AbstractPopoverDirective {
|
|
@@ -3392,10 +3160,10 @@ class DbxFirebaseModelHistoryPopoverComponent extends AbstractPopoverDirective {
|
|
|
3392
3160
|
emptyText = this.config.emptyText ?? 'History is empty.';
|
|
3393
3161
|
historyFilter = this.config.historyFilter;
|
|
3394
3162
|
anchorForItem = this.config.anchorForItem;
|
|
3395
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3396
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelHistoryPopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3164
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseModelHistoryPopoverComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-history [historyFilter]=\"historyFilter\" [anchorForItem]=\"anchorForItem\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-model-history>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", dependencies: [{ kind: "component", type: DbxPopoverContentComponent, selector: "dbx-popover-content" }, { kind: "component", type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { kind: "directive", type: DbxPopoverScrollContentDirective, selector: "dbx-popover-scroll-content,[dbxPopoverScrollContent],.dbx-popover-scroll-content" }, { kind: "component", type: DbxFirebaseModelHistoryComponent, selector: "dbx-firebase-model-history", inputs: ["anchorForItem", "historyFilter"] }, { kind: "component", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3397
3165
|
}
|
|
3398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelHistoryPopoverComponent, decorators: [{
|
|
3399
3167
|
type: Component,
|
|
3400
3168
|
args: [{ imports: [DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxFirebaseModelHistoryComponent, DbxListEmptyContentComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-history [historyFilter]=\"historyFilter\" [anchorForItem]=\"anchorForItem\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-model-history>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
3401
3169
|
}] });
|
|
@@ -3403,7 +3171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3403
3171
|
class DbxFirebaseModelHistoryPopoverButtonComponent extends AbstractPopoverRefDirective {
|
|
3404
3172
|
_dbxPopoverService = inject(DbxPopoverService);
|
|
3405
3173
|
buttonElement = viewChild.required('button', { read: ElementRef });
|
|
3406
|
-
config = input();
|
|
3174
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
3407
3175
|
_makePopoverRef(origin) {
|
|
3408
3176
|
const config = this.config();
|
|
3409
3177
|
if (!origin) {
|
|
@@ -3418,12 +3186,12 @@ class DbxFirebaseModelHistoryPopoverButtonComponent extends AbstractPopoverRefDi
|
|
|
3418
3186
|
const origin = this.buttonElement();
|
|
3419
3187
|
this.showPopover(origin);
|
|
3420
3188
|
}
|
|
3421
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3422
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
3189
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelHistoryPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3190
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: DbxFirebaseModelHistoryPopoverButtonComponent, isStandalone: true, selector: "dbx-firebase-model-history-popover-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3423
3191
|
<dbx-icon-button #button (buttonClick)="showHistoryPopover()" icon="history"></dbx-icon-button>
|
|
3424
3192
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxIconButtonComponent, selector: "dbx-icon-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3425
3193
|
}
|
|
3426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelHistoryPopoverButtonComponent, decorators: [{
|
|
3427
3195
|
type: Component,
|
|
3428
3196
|
args: [{
|
|
3429
3197
|
selector: 'dbx-firebase-model-history-popover-button',
|
|
@@ -3434,28 +3202,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3434
3202
|
imports: [DbxIconButtonComponent],
|
|
3435
3203
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
3436
3204
|
}]
|
|
3437
|
-
}] });
|
|
3438
|
-
|
|
3439
|
-
const importsAndExports$5 = [DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent];
|
|
3440
|
-
/**
|
|
3441
|
-
* @deprecated import standalone components individually instead.
|
|
3442
|
-
*
|
|
3443
|
-
* @see DbxFirebaseModelHistoryComponent
|
|
3444
|
-
* @see DbxFirebaseModelHistoryPopoverButtonComponent
|
|
3445
|
-
* @see DbxFirebaseModelHistoryPopoverComponent
|
|
3446
|
-
*/
|
|
3447
|
-
class DbxFirebaseModelHistoryModule {
|
|
3448
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3449
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, imports: [DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent], exports: [DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent] });
|
|
3450
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, imports: [importsAndExports$5] });
|
|
3451
|
-
}
|
|
3452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelHistoryModule, decorators: [{
|
|
3453
|
-
type: NgModule,
|
|
3454
|
-
args: [{
|
|
3455
|
-
imports: importsAndExports$5,
|
|
3456
|
-
exports: importsAndExports$5
|
|
3457
|
-
}]
|
|
3458
|
-
}] });
|
|
3205
|
+
}], propDecorators: { buttonElement: [{ type: i0.ViewChild, args: ['button', { ...{ read: ElementRef }, isSignal: true }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }] } });
|
|
3459
3206
|
|
|
3460
3207
|
/**
|
|
3461
3208
|
* Configures a SourceSelectLoadSource using the DbxFirebaseModelTrackerService to load models of a specific identity.
|
|
@@ -3504,7 +3251,8 @@ class DbxFirebaseModelEntitiesWidgetService {
|
|
|
3504
3251
|
_sortPriorityMap = cachedGetter(() => {
|
|
3505
3252
|
return new Map(mapIterable(this._entries.values(), (entry) => [entry.identity, entry.sortPriority ?? -1]));
|
|
3506
3253
|
});
|
|
3507
|
-
constructor(
|
|
3254
|
+
constructor() {
|
|
3255
|
+
const initialConfig = inject(DbxFirebaseModelEntitiesWidgetServiceConfig, { optional: true });
|
|
3508
3256
|
this._commonComponentClass = initialConfig?.commonComponentClass;
|
|
3509
3257
|
this._debugComponentClass = initialConfig?.debugComponentClass;
|
|
3510
3258
|
if (initialConfig?.entries) {
|
|
@@ -3565,17 +3313,12 @@ class DbxFirebaseModelEntitiesWidgetService {
|
|
|
3565
3313
|
getSortPriorityMap() {
|
|
3566
3314
|
return this._sortPriorityMap();
|
|
3567
3315
|
}
|
|
3568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3569
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3317
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesWidgetService });
|
|
3570
3318
|
}
|
|
3571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesWidgetService, decorators: [{
|
|
3572
3320
|
type: Injectable
|
|
3573
|
-
}], ctorParameters: () => [
|
|
3574
|
-
type: Optional
|
|
3575
|
-
}, {
|
|
3576
|
-
type: Inject,
|
|
3577
|
-
args: [DbxFirebaseModelEntitiesWidgetServiceConfig]
|
|
3578
|
-
}] }] });
|
|
3321
|
+
}], ctorParameters: () => [] });
|
|
3579
3322
|
|
|
3580
3323
|
/**
|
|
3581
3324
|
* Injection token for providing DbxFirebaseModelEntityWithStore context to dynamically loaded widgets.
|
|
@@ -3631,7 +3374,7 @@ class DbxFirebaseModelEntitiesEntityComponent {
|
|
|
3631
3374
|
widgetInjectionConfigFactory = dbxFirebaseModelEntityWidgetInjectionConfigFactory();
|
|
3632
3375
|
entitiesWidgetService = inject(DbxFirebaseModelEntitiesWidgetService);
|
|
3633
3376
|
dbxFirebaseModelTypesService = inject(DbxFirebaseModelTypesService);
|
|
3634
|
-
entity = input.required();
|
|
3377
|
+
entity = input.required(...(ngDevMode ? [{ debugName: "entity" }] : []));
|
|
3635
3378
|
entity$ = toObservable(this.entity);
|
|
3636
3379
|
currentEntityWithStore$ = this.entity$.pipe(map((x) => {
|
|
3637
3380
|
let result;
|
|
@@ -3675,43 +3418,43 @@ class DbxFirebaseModelEntitiesEntityComponent {
|
|
|
3675
3418
|
displayNameSignal = toSignal(this.displayName$);
|
|
3676
3419
|
displayInfoSignal = toSignal(this.displayInfo$);
|
|
3677
3420
|
modelIdentitySignal = toSignal(this.modelIdentity$);
|
|
3678
|
-
modelTypeSignal = computed(() => this.modelIdentitySignal()?.modelType);
|
|
3421
|
+
modelTypeSignal = computed(() => this.modelIdentitySignal()?.modelType, ...(ngDevMode ? [{ debugName: "modelTypeSignal" }] : []));
|
|
3679
3422
|
widgetInjectionConfigSignal = toSignal(this.widgetInjectionConfig$);
|
|
3680
|
-
entityWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.entityComponentConfig);
|
|
3681
|
-
commonWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.commonComponentConfig);
|
|
3682
|
-
debugWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.debugComponentConfig);
|
|
3423
|
+
entityWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.entityComponentConfig, ...(ngDevMode ? [{ debugName: "entityWidgetConfigSignal" }] : []));
|
|
3424
|
+
commonWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.commonComponentConfig, ...(ngDevMode ? [{ debugName: "commonWidgetConfigSignal" }] : []));
|
|
3425
|
+
debugWidgetConfigSignal = computed(() => this.widgetInjectionConfigSignal()?.debugComponentConfig, ...(ngDevMode ? [{ debugName: "debugWidgetConfigSignal" }] : []));
|
|
3683
3426
|
loadingContext = cleanLoadingContext({ obs: this.loadingState$ });
|
|
3684
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3685
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesEntityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3428
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseModelEntitiesEntityComponent, isStandalone: true, selector: "dbx-firebase-model-entities-entity", inputs: { entity: { classPropertyName: "entity", publicName: "entity", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>\n @if (displayInfoSignal(); as displayInfo) {\n <div class=\"dbx-list-two-line-item\">\n <div class=\"item-left\">\n <span class=\"dbx-pb2 dbx-flex-bar\">\n @if (displayInfo.icon) {\n <mat-icon class=\"dbx-button-spacer\">{{ displayInfo.icon }}</mat-icon>\n }\n <span>{{ displayInfo.title }}</span>\n </span>\n <span>\n <span class=\"dbx-hint dbx-small\">{{ modelTypeSignal() }}</span>\n @if (displayNameSignal(); as displayName) {\n <span class=\"dbx-small dbx-u dbx-pl2\">{{ displayName }}</span>\n }\n </span>\n </div>\n </div>\n }\n </mat-panel-title>\n </mat-expansion-panel-header>\n <ng-template matExpansionPanelContent>\n <div class=\"dbx-firebase-model-entities-entity-panel-content\">\n <dbx-loading [context]=\"loadingContext\">\n @if (entityWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-entity-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (commonWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-common-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (debugWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-debug-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n </dbx-loading>\n </div>\n </ng-template>\n</mat-expansion-panel>\n", dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: MatExpansionPanelContent, selector: "ng-template[matExpansionPanelContent]" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3686
3429
|
}
|
|
3687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesEntityComponent, decorators: [{
|
|
3688
3431
|
type: Component,
|
|
3689
|
-
args: [{ selector: 'dbx-firebase-model-entities-entity', imports: [DbxInjectionComponent, DbxLoadingComponent, MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle,
|
|
3690
|
-
}] });
|
|
3432
|
+
args: [{ selector: 'dbx-firebase-model-entities-entity', imports: [DbxInjectionComponent, DbxLoadingComponent, MatExpansionPanel, MatExpansionPanelHeader, MatExpansionPanelTitle, MatExpansionPanelContent, MatIcon], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>\n @if (displayInfoSignal(); as displayInfo) {\n <div class=\"dbx-list-two-line-item\">\n <div class=\"item-left\">\n <span class=\"dbx-pb2 dbx-flex-bar\">\n @if (displayInfo.icon) {\n <mat-icon class=\"dbx-button-spacer\">{{ displayInfo.icon }}</mat-icon>\n }\n <span>{{ displayInfo.title }}</span>\n </span>\n <span>\n <span class=\"dbx-hint dbx-small\">{{ modelTypeSignal() }}</span>\n @if (displayNameSignal(); as displayName) {\n <span class=\"dbx-small dbx-u dbx-pl2\">{{ displayName }}</span>\n }\n </span>\n </div>\n </div>\n }\n </mat-panel-title>\n </mat-expansion-panel-header>\n <ng-template matExpansionPanelContent>\n <div class=\"dbx-firebase-model-entities-entity-panel-content\">\n <dbx-loading [context]=\"loadingContext\">\n @if (entityWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-entity-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (commonWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-common-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n @if (debugWidgetConfigSignal(); as config) {\n <div class=\"dbx-pb3 dbx-firebase-model-entities-debug-content\">\n <dbx-injection [config]=\"config\"></dbx-injection>\n </div>\n }\n </dbx-loading>\n </div>\n </ng-template>\n</mat-expansion-panel>\n" }]
|
|
3433
|
+
}], propDecorators: { entity: [{ type: i0.Input, args: [{ isSignal: true, alias: "entity", required: true }] }] } });
|
|
3691
3434
|
|
|
3692
3435
|
class DbxFirebaseModelEntitiesComponent {
|
|
3693
3436
|
entitiesWidgetService = inject(DbxFirebaseModelEntitiesWidgetService);
|
|
3694
3437
|
/**
|
|
3695
3438
|
* Whether the accordion should allow multiple expanded panels.
|
|
3696
3439
|
*/
|
|
3697
|
-
multi = input(true);
|
|
3440
|
+
multi = input(true, ...(ngDevMode ? [{ debugName: "multi" }] : []));
|
|
3698
3441
|
/**
|
|
3699
3442
|
* If true, will only show entities that have a registered widget entry.
|
|
3700
3443
|
*
|
|
3701
3444
|
* Defaults to true.
|
|
3702
3445
|
*/
|
|
3703
|
-
onlyShowRegisteredTypes = input(true);
|
|
3446
|
+
onlyShowRegisteredTypes = input(true, ...(ngDevMode ? [{ debugName: "onlyShowRegisteredTypes" }] : []));
|
|
3704
3447
|
/**
|
|
3705
3448
|
* If true, will show unregistered entities, even if onlyShowRegisteredTypes is true.
|
|
3706
3449
|
*/
|
|
3707
|
-
showUnregisteredTypesSignal = signal(undefined);
|
|
3450
|
+
showUnregisteredTypesSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "showUnregisteredTypesSignal" }] : []));
|
|
3708
3451
|
onlyShowRegisteredTypesSignal = computed(() => {
|
|
3709
3452
|
const onlyShowRegisteredTypes = this.onlyShowRegisteredTypes();
|
|
3710
3453
|
const showUnregisteredTypes = this.showUnregisteredTypesSignal();
|
|
3711
3454
|
return !showUnregisteredTypes && onlyShowRegisteredTypes;
|
|
3712
|
-
});
|
|
3455
|
+
}, ...(ngDevMode ? [{ debugName: "onlyShowRegisteredTypesSignal" }] : []));
|
|
3713
3456
|
onlyShowRegisteredTypes$ = toObservable(this.onlyShowRegisteredTypesSignal).pipe(distinctUntilChanged(), shareReplay(1));
|
|
3714
|
-
entities = input();
|
|
3457
|
+
entities = input(...(ngDevMode ? [undefined, { debugName: "entities" }] : []));
|
|
3715
3458
|
entities$ = toObservable(this.entities).pipe(switchMapMaybe(), map((x) => x ?? beginLoading()), shareReplay(1));
|
|
3716
3459
|
allEntitiesState$ = this.entities$.pipe(mapLoadingStateValueWithOperator(switchMap((entities) => {
|
|
3717
3460
|
const sortPriorityMap = this.entitiesWidgetService.getSortPriorityMap();
|
|
@@ -3737,19 +3480,19 @@ class DbxFirebaseModelEntitiesComponent {
|
|
|
3737
3480
|
})), shareReplay(1));
|
|
3738
3481
|
allEntities$ = this.allEntitiesState$.pipe(valueFromFinishedLoadingState(), shareReplay(1));
|
|
3739
3482
|
allEntitiesSignal = toSignal(this.allEntities$, { initialValue: { entities: [], registeredEntities: [], unregisteredEntities: [], onlyShowRegisteredTypes: false } });
|
|
3740
|
-
entitiesWithKeysSignal = computed(() => this.allEntitiesSignal()?.entities);
|
|
3741
|
-
unregisteredEntitiesCountSignal = computed(() => this.allEntitiesSignal()?.unregisteredEntities?.length ?? 0);
|
|
3483
|
+
entitiesWithKeysSignal = computed(() => this.allEntitiesSignal()?.entities, ...(ngDevMode ? [{ debugName: "entitiesWithKeysSignal" }] : []));
|
|
3484
|
+
unregisteredEntitiesCountSignal = computed(() => this.allEntitiesSignal()?.unregisteredEntities?.length ?? 0, ...(ngDevMode ? [{ debugName: "unregisteredEntitiesCountSignal" }] : []));
|
|
3742
3485
|
showViewUnregisteredEntitiesButtonSignal = computed(() => {
|
|
3743
3486
|
const { onlyShowRegisteredTypes, unregisteredEntities } = this.allEntitiesSignal() ?? {};
|
|
3744
3487
|
return onlyShowRegisteredTypes && Boolean(unregisteredEntities?.length);
|
|
3745
|
-
});
|
|
3746
|
-
hasNoEntitiesSignal = computed(() => !this.entitiesWithKeysSignal()?.length);
|
|
3488
|
+
}, ...(ngDevMode ? [{ debugName: "showViewUnregisteredEntitiesButtonSignal" }] : []));
|
|
3489
|
+
hasNoEntitiesSignal = computed(() => !this.entitiesWithKeysSignal()?.length, ...(ngDevMode ? [{ debugName: "hasNoEntitiesSignal" }] : []));
|
|
3747
3490
|
context = cleanLoadingContext({ obs: this.allEntitiesState$ });
|
|
3748
3491
|
clickShowUnregisteredEntities() {
|
|
3749
3492
|
this.showUnregisteredTypesSignal.set(true);
|
|
3750
3493
|
}
|
|
3751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3752
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3494
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3495
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseModelEntitiesComponent, isStandalone: true, selector: "dbx-firebase-model-entities", inputs: { multi: { classPropertyName: "multi", publicName: "multi", isSignal: true, isRequired: false, transformFunction: null }, onlyShowRegisteredTypes: { classPropertyName: "onlyShowRegisteredTypes", publicName: "onlyShowRegisteredTypes", isSignal: true, isRequired: false, transformFunction: null }, entities: { classPropertyName: "entities", publicName: "entities", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3753
3496
|
<dbx-loading [linear]="true" [context]="context">
|
|
3754
3497
|
<mat-accordion class="dbx-firebase-model-entities-accordion" [multi]="multi()">
|
|
3755
3498
|
@for (entity of entitiesWithKeysSignal(); track entity.key) {
|
|
@@ -3769,7 +3512,7 @@ class DbxFirebaseModelEntitiesComponent {
|
|
|
3769
3512
|
</dbx-loading>
|
|
3770
3513
|
`, isInline: true, dependencies: [{ kind: "directive", type: MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }, { kind: "component", type: DbxFirebaseModelEntitiesEntityComponent, selector: "dbx-firebase-model-entities-entity", inputs: ["entity"] }, { kind: "component", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content" }, { kind: "component", type: DbxIconButtonComponent, selector: "dbx-icon-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3771
3514
|
}
|
|
3772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesComponent, decorators: [{
|
|
3773
3516
|
type: Component,
|
|
3774
3517
|
args: [{
|
|
3775
3518
|
selector: 'dbx-firebase-model-entities',
|
|
@@ -3796,7 +3539,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3796
3539
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3797
3540
|
standalone: true
|
|
3798
3541
|
}]
|
|
3799
|
-
}] });
|
|
3542
|
+
}], propDecorators: { multi: [{ type: i0.Input, args: [{ isSignal: true, alias: "multi", required: false }] }], onlyShowRegisteredTypes: [{ type: i0.Input, args: [{ isSignal: true, alias: "onlyShowRegisteredTypes", required: false }] }], entities: [{ type: i0.Input, args: [{ isSignal: true, alias: "entities", required: false }] }] } });
|
|
3800
3543
|
|
|
3801
3544
|
const DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY = 'entities';
|
|
3802
3545
|
class DbxFirebaseModelEntitiesPopoverComponent extends AbstractPopoverDirective {
|
|
@@ -3828,24 +3571,24 @@ class DbxFirebaseModelEntitiesPopoverComponent extends AbstractPopoverDirective
|
|
|
3828
3571
|
header = this.config.header ?? 'Entities';
|
|
3829
3572
|
emptyText = this.config.emptyText ?? 'No entities found in current context.';
|
|
3830
3573
|
onlyShowRegisteredTypes = this.config.onlyShowRegisteredTypes;
|
|
3831
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3832
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3574
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3575
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseModelEntitiesPopoverComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-entities [entities]=\"entities$\" [onlyShowRegisteredTypes]=\"onlyShowRegisteredTypes\">\n <p empty>{{ emptyText }}</p>\n </dbx-firebase-model-entities>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", dependencies: [{ kind: "component", type: DbxPopoverContentComponent, selector: "dbx-popover-content" }, { kind: "component", type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { kind: "directive", type: DbxPopoverScrollContentDirective, selector: "dbx-popover-scroll-content,[dbxPopoverScrollContent],.dbx-popover-scroll-content" }, { kind: "component", type: DbxFirebaseModelEntitiesComponent, selector: "dbx-firebase-model-entities", inputs: ["multi", "onlyShowRegisteredTypes", "entities"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3833
3576
|
}
|
|
3834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverComponent, decorators: [{
|
|
3835
3578
|
type: Component,
|
|
3836
|
-
args: [{ imports: [DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxFirebaseModelEntitiesComponent
|
|
3579
|
+
args: [{ imports: [DbxPopoverContentComponent, DbxPopoverHeaderComponent, DbxPopoverScrollContentDirective, DbxFirebaseModelEntitiesComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-model-entities [entities]=\"entities$\" [onlyShowRegisteredTypes]=\"onlyShowRegisteredTypes\">\n <p empty>{{ emptyText }}</p>\n </dbx-firebase-model-entities>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
3837
3580
|
}] });
|
|
3838
3581
|
|
|
3839
3582
|
class DbxFirebaseModelEntitiesPopoverButtonComponent extends AbstractPopoverRefDirective {
|
|
3840
3583
|
_dbxPopoverService = inject(DbxPopoverService);
|
|
3841
3584
|
entitiesSource = inject(DbxFirebaseModelEntitiesSource);
|
|
3842
3585
|
buttonElement = viewChild.required('button', { read: ElementRef });
|
|
3843
|
-
config = input();
|
|
3586
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
3844
3587
|
buttonDisplaySignal = computed(() => {
|
|
3845
3588
|
const config = this.config();
|
|
3846
3589
|
return config?.buttonDisplay ?? { icon: config?.icon ?? 'data_object' };
|
|
3847
|
-
});
|
|
3848
|
-
buttonStyleSignal = computed(() => this.config()?.buttonStyle);
|
|
3590
|
+
}, ...(ngDevMode ? [{ debugName: "buttonDisplaySignal" }] : []));
|
|
3591
|
+
buttonStyleSignal = computed(() => this.config()?.buttonStyle, ...(ngDevMode ? [{ debugName: "buttonStyleSignal" }] : []));
|
|
3849
3592
|
_makePopoverRef(origin) {
|
|
3850
3593
|
if (!origin) {
|
|
3851
3594
|
throw new Error('Missing origin.');
|
|
@@ -3862,12 +3605,12 @@ class DbxFirebaseModelEntitiesPopoverButtonComponent extends AbstractPopoverRefD
|
|
|
3862
3605
|
const origin = this.buttonElement();
|
|
3863
3606
|
this.showPopover(origin);
|
|
3864
3607
|
}
|
|
3865
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3866
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
3608
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3609
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: DbxFirebaseModelEntitiesPopoverButtonComponent, isStandalone: true, selector: "dbx-firebase-model-entities-popover-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3867
3610
|
<dbx-button #button (buttonClick)="showEntitiesPopover()" [buttonStyle]="buttonStyleSignal()" [buttonDisplay]="buttonDisplaySignal()"></dbx-button>
|
|
3868
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3611
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3869
3612
|
}
|
|
3870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesPopoverButtonComponent, decorators: [{
|
|
3871
3614
|
type: Component,
|
|
3872
3615
|
args: [{
|
|
3873
3616
|
selector: 'dbx-firebase-model-entities-popover-button',
|
|
@@ -3878,7 +3621,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3878
3621
|
imports: [DbxButtonComponent],
|
|
3879
3622
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
3880
3623
|
}]
|
|
3881
|
-
}] });
|
|
3624
|
+
}], propDecorators: { buttonElement: [{ type: i0.ViewChild, args: ['button', { ...{ read: ElementRef }, isSignal: true }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }] } });
|
|
3882
3625
|
|
|
3883
3626
|
/**
|
|
3884
3627
|
* Creates EnvironmentProviders for DbxFirebaseModelEntitiesWidgetService.
|
|
@@ -3939,10 +3682,10 @@ class DbxFirebaseDocumentStoreContextStore extends ComponentStore {
|
|
|
3939
3682
|
// MARK: State Changes
|
|
3940
3683
|
addStore = this.updater(addStore);
|
|
3941
3684
|
removeStore = this.updater(removeStore);
|
|
3942
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3943
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3686
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextStore });
|
|
3944
3687
|
}
|
|
3945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextStore, decorators: [{
|
|
3946
3689
|
type: Injectable
|
|
3947
3690
|
}], ctorParameters: () => [] });
|
|
3948
3691
|
function addStore(state, store) {
|
|
@@ -3986,8 +3729,8 @@ const dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory = (storeContextS
|
|
|
3986
3729
|
return source;
|
|
3987
3730
|
};
|
|
3988
3731
|
class DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective {
|
|
3989
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3990
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3733
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreContextModelEntitiesSource]", providers: [
|
|
3991
3734
|
{
|
|
3992
3735
|
provide: DbxFirebaseModelEntitiesSource,
|
|
3993
3736
|
useFactory: dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory,
|
|
@@ -3995,7 +3738,7 @@ class DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective {
|
|
|
3995
3738
|
}
|
|
3996
3739
|
], ngImport: i0 });
|
|
3997
3740
|
}
|
|
3998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, decorators: [{
|
|
3999
3742
|
type: Directive,
|
|
4000
3743
|
args: [{
|
|
4001
3744
|
selector: '[dbxFirebaseDocumentStoreContextModelEntitiesSource]',
|
|
@@ -4017,10 +3760,10 @@ class AbstractDbxFirebaseModelEntityWidgetDirective {
|
|
|
4017
3760
|
entityData = inject(DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN);
|
|
4018
3761
|
store = this.entityData.store;
|
|
4019
3762
|
data$ = this.store.data$;
|
|
4020
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4021
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3763
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseModelEntityWidgetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3764
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxFirebaseModelEntityWidgetDirective, isStandalone: true, ngImport: i0 });
|
|
4022
3765
|
}
|
|
4023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseModelEntityWidgetDirective, decorators: [{
|
|
4024
3767
|
type: Directive,
|
|
4025
3768
|
args: [{}]
|
|
4026
3769
|
}] });
|
|
@@ -4030,19 +3773,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4030
3773
|
*/
|
|
4031
3774
|
class DbxFirebaseModelKeyComponent {
|
|
4032
3775
|
dbxFirebaseModelTypesService = inject(DbxFirebaseModelTypesService);
|
|
4033
|
-
modelKey = input();
|
|
3776
|
+
modelKey = input(...(ngDevMode ? [undefined, { debugName: "modelKey" }] : []));
|
|
4034
3777
|
modelKeyIdSignal = computed(() => {
|
|
4035
3778
|
const modelKey = this.modelKey();
|
|
4036
3779
|
return modelKey ? firestoreModelId(modelKey) : undefined;
|
|
4037
|
-
});
|
|
3780
|
+
}, ...(ngDevMode ? [{ debugName: "modelKeyIdSignal" }] : []));
|
|
4038
3781
|
oneWayFlatModelKeySignal = computed(() => {
|
|
4039
3782
|
const modelKey = this.modelKey();
|
|
4040
3783
|
return modelKey ? flatFirestoreModelKey(modelKey) : undefined;
|
|
4041
|
-
});
|
|
3784
|
+
}, ...(ngDevMode ? [{ debugName: "oneWayFlatModelKeySignal" }] : []));
|
|
4042
3785
|
twoWayFlatModelKeySignal = computed(() => {
|
|
4043
3786
|
const modelKey = this.modelKey();
|
|
4044
3787
|
return modelKey ? twoWayFlatFirestoreModelKey(modelKey) : undefined;
|
|
4045
|
-
});
|
|
3788
|
+
}, ...(ngDevMode ? [{ debugName: "twoWayFlatModelKeySignal" }] : []));
|
|
4046
3789
|
// Convert signal to observable for types service
|
|
4047
3790
|
modelKey$ = toObservable(this.modelKey);
|
|
4048
3791
|
modelTypeInstance$ = this.modelKey$.pipe(switchMap((key) => {
|
|
@@ -4057,16 +3800,16 @@ class DbxFirebaseModelKeyComponent {
|
|
|
4057
3800
|
modelTypeInstanceSignal = toSignal(this.modelTypeInstance$);
|
|
4058
3801
|
modelIdentitySignal = toSignal(this.modelIdentity$);
|
|
4059
3802
|
typeInfoSignal = toSignal(this.typeInfo$);
|
|
4060
|
-
typeCanSegueToView = computed(() => this.typeInfoSignal()?.canSegueToView ?? false);
|
|
3803
|
+
typeCanSegueToView = computed(() => this.typeInfoSignal()?.canSegueToView ?? false, ...(ngDevMode ? [{ debugName: "typeCanSegueToView" }] : []));
|
|
4061
3804
|
sref$ = this.modelTypeInstance$.pipe(switchMap((x) => x?.segueRef$ ?? of(undefined)));
|
|
4062
3805
|
srefSignal = toSignal(this.sref$);
|
|
4063
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4064
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3806
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelKeyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3807
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseModelKeyComponent, isStandalone: true, selector: "dbx-firebase-model-key", inputs: { modelKey: { classPropertyName: "modelKey", publicName: "modelKey", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"dbx-firebase-model-key\">\n @if (modelKey(); as key) {\n <!-- Key Data -->\n <dbx-detail-block icon=\"key\" header=\"Model Key\">\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ key }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ modelKeyIdSignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"oneWayFlatModelKeySignal()\">(Flat) {{ oneWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"twoWayFlatModelKeySignal()\">(Encoded Flat) {{ twoWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n\n <!-- Type Info -->\n @if (typeInfoSignal(); as typeInfo) {\n <!-- Model Meta Data -->\n <div>\n <dbx-detail-block [icon]=\"typeInfo.icon\" header=\"Model Type\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.modelType }}</dbx-click-to-copy-text>\n @if (typeInfo.icon) {\n <dbx-click-to-copy-text [copyText]=\"typeInfo.icon\" class=\"dbx-block\">\n Icon:\n <span class=\"dbx-u\">{{ typeInfo.icon }}</span>\n </dbx-click-to-copy-text>\n } @else {\n <span class=\"dbx-notice\">No Icon For Type</span>\n }\n </dbx-detail-block>\n <dbx-detail-block icon=\"dataset\" header=\"Collection Name\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.identity.collectionName }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n </div>\n\n <!-- Segue Info -->\n @if (typeCanSegueToView()) {\n <dbx-detail-block icon=\"arrow_forward\" header=\"Segue To View\">\n <div class=\"dbx-hint dbx-small\">This model has a unique view within the app.</div>\n <dbx-anchor [anchor]=\"srefSignal()\"><dbx-button text=\"Go To View\"></dbx-button></dbx-anchor>\n </dbx-detail-block>\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Segue View\">\n <span>This type provides no information for segue directly.</span>\n </dbx-detail-block>\n }\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Type Info\">\n <span>There is no type info registered for this model type.</span>\n </dbx-detail-block>\n }\n } @else {\n <div class=\"dbx-firebase-model-key-empty\">No model key provided</div>\n }\n</div>\n", dependencies: [{ kind: "component", type: DbxDetailBlockComponent, selector: "dbx-detail-block", inputs: ["icon", "header", "alignHeader", "bigHeader"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }, { kind: "component", type: DbxClickToCopyTextComponent, selector: "dbx-click-to-copy-text", inputs: ["copyText", "highlighted", "clipboardSnackbarMessagesConfig", "clipboardSnackbarMessagesEnabled", "clickToCopyIcon", "clickIconToCopyOnly"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
|
|
4065
3808
|
}
|
|
4066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelKeyComponent, decorators: [{
|
|
4067
3810
|
type: Component,
|
|
4068
|
-
args: [{ selector: 'dbx-firebase-model-key', standalone: true, imports: [
|
|
4069
|
-
}] });
|
|
3811
|
+
args: [{ selector: 'dbx-firebase-model-key', standalone: true, imports: [DbxDetailBlockComponent, DbxButtonComponent, DbxClickToCopyTextComponent, DbxAnchorComponent], template: "<div class=\"dbx-firebase-model-key\">\n @if (modelKey(); as key) {\n <!-- Key Data -->\n <dbx-detail-block icon=\"key\" header=\"Model Key\">\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ key }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\">{{ modelKeyIdSignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"oneWayFlatModelKeySignal()\">(Flat) {{ oneWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n <dbx-click-to-copy-text [highlighted]=\"true\" class=\"dbx-block\" [copyText]=\"twoWayFlatModelKeySignal()\">(Encoded Flat) {{ twoWayFlatModelKeySignal() }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n\n <!-- Type Info -->\n @if (typeInfoSignal(); as typeInfo) {\n <!-- Model Meta Data -->\n <div>\n <dbx-detail-block [icon]=\"typeInfo.icon\" header=\"Model Type\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.modelType }}</dbx-click-to-copy-text>\n @if (typeInfo.icon) {\n <dbx-click-to-copy-text [copyText]=\"typeInfo.icon\" class=\"dbx-block\">\n Icon:\n <span class=\"dbx-u\">{{ typeInfo.icon }}</span>\n </dbx-click-to-copy-text>\n } @else {\n <span class=\"dbx-notice\">No Icon For Type</span>\n }\n </dbx-detail-block>\n <dbx-detail-block icon=\"dataset\" header=\"Collection Name\">\n <dbx-click-to-copy-text class=\"dbx-block\">{{ typeInfo.identity.collectionName }}</dbx-click-to-copy-text>\n </dbx-detail-block>\n </div>\n\n <!-- Segue Info -->\n @if (typeCanSegueToView()) {\n <dbx-detail-block icon=\"arrow_forward\" header=\"Segue To View\">\n <div class=\"dbx-hint dbx-small\">This model has a unique view within the app.</div>\n <dbx-anchor [anchor]=\"srefSignal()\"><dbx-button text=\"Go To View\"></dbx-button></dbx-anchor>\n </dbx-detail-block>\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Segue View\">\n <span>This type provides no information for segue directly.</span>\n </dbx-detail-block>\n }\n } @else {\n <dbx-detail-block class=\"dbx-warn\" icon=\"warning\" header=\"No Type Info\">\n <span>There is no type info registered for this model type.</span>\n </dbx-detail-block>\n }\n } @else {\n <div class=\"dbx-firebase-model-key-empty\">No model key provided</div>\n }\n</div>\n" }]
|
|
3812
|
+
}], propDecorators: { modelKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "modelKey", required: false }] }] } });
|
|
4070
3813
|
|
|
4071
3814
|
/**
|
|
4072
3815
|
* A debug widget component that displays entity data and metadata.
|
|
@@ -4087,26 +3830,26 @@ class DbxFirebaseModelEntitiesDebugWidgetComponent extends AbstractDbxFirebaseMo
|
|
|
4087
3830
|
};
|
|
4088
3831
|
}
|
|
4089
3832
|
return content;
|
|
4090
|
-
});
|
|
3833
|
+
}, ...(ngDevMode ? [{ debugName: "contentSignal" }] : []));
|
|
4091
3834
|
context = cleanLoadingContext(this.store.dataLoadingState$);
|
|
4092
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4093
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3835
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesDebugWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3836
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseModelEntitiesDebugWidgetComponent, isStandalone: true, selector: "dbx-firebase-model-entities-debug-widget", usesInheritance: true, ngImport: i0, template: "<div class=\"dbx-firebase-model-entities-debug-widget\">\n <!-- Model Key Section -->\n <div class=\"dbx-debug-section\">\n <h4>Model Key Information</h4>\n @if (currentKey(); as key) {\n <dbx-firebase-model-key [modelKey]=\"key\"></dbx-firebase-model-key>\n }\n </div>\n\n <!-- Document Data Section -->\n <div class=\"dbx-debug-section\">\n <h4>Document Data</h4>\n <dbx-loading [context]=\"context\">\n @if (currentData(); as data) {\n <dbx-download-text-view [showTitle]=\"false\" [content]=\"contentSignal()\"></dbx-download-text-view>\n } @else {\n <p class=\"dbx-empty\">No data available</p>\n }\n </dbx-loading>\n </div>\n</div>\n", dependencies: [{ kind: "component", type: DbxFirebaseModelKeyComponent, selector: "dbx-firebase-model-key", inputs: ["modelKey"] }, { kind: "component", type: DbxDownloadTextViewComponent, selector: "dbx-download-text-view", inputs: ["showDownloadButton", "loadingText", "linear", "showTitle", "showPreview", "showExpandPreviewButton", "expandPreview", "content", "contentState"], outputs: ["expandPreviewChange"] }, { kind: "component", type: DbxLoadingComponent, selector: "dbx-loading", inputs: ["padding", "show", "text", "mode", "color", "diameter", "linear", "loading", "error", "context"] }] });
|
|
4094
3837
|
}
|
|
4095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelEntitiesDebugWidgetComponent, decorators: [{
|
|
4096
3839
|
type: Component,
|
|
4097
|
-
args: [{ selector: 'dbx-firebase-model-entities-debug-widget', standalone: true, imports: [DbxFirebaseModelKeyComponent,
|
|
3840
|
+
args: [{ selector: 'dbx-firebase-model-entities-debug-widget', standalone: true, imports: [DbxFirebaseModelKeyComponent, DbxDownloadTextViewComponent, DbxLoadingComponent], template: "<div class=\"dbx-firebase-model-entities-debug-widget\">\n <!-- Model Key Section -->\n <div class=\"dbx-debug-section\">\n <h4>Model Key Information</h4>\n @if (currentKey(); as key) {\n <dbx-firebase-model-key [modelKey]=\"key\"></dbx-firebase-model-key>\n }\n </div>\n\n <!-- Document Data Section -->\n <div class=\"dbx-debug-section\">\n <h4>Document Data</h4>\n <dbx-loading [context]=\"context\">\n @if (currentData(); as data) {\n <dbx-download-text-view [showTitle]=\"false\" [content]=\"contentSignal()\"></dbx-download-text-view>\n } @else {\n <p class=\"dbx-empty\">No data available</p>\n }\n </dbx-loading>\n </div>\n</div>\n" }]
|
|
4098
3841
|
}] });
|
|
4099
3842
|
|
|
4100
3843
|
/**
|
|
4101
3844
|
* Abstract directive that contains a DbxFirebaseDocumentStore and provides an interface for communicating with other directives.
|
|
4102
3845
|
*/
|
|
4103
3846
|
class DbxFirebaseDocumentStoreDirective {
|
|
4104
|
-
storeName = model(undefined);
|
|
4105
|
-
documentId = model(undefined);
|
|
4106
|
-
key = model(undefined);
|
|
4107
|
-
flatKey = model(undefined);
|
|
4108
|
-
ref = model(undefined);
|
|
4109
|
-
streamMode = model(FirestoreAccessorStreamMode.STREAM);
|
|
3847
|
+
storeName = model(undefined, ...(ngDevMode ? [{ debugName: "storeName" }] : []));
|
|
3848
|
+
documentId = model(undefined, ...(ngDevMode ? [{ debugName: "documentId" }] : []));
|
|
3849
|
+
key = model(undefined, ...(ngDevMode ? [{ debugName: "key" }] : []));
|
|
3850
|
+
flatKey = model(undefined, ...(ngDevMode ? [{ debugName: "flatKey" }] : []));
|
|
3851
|
+
ref = model(undefined, ...(ngDevMode ? [{ debugName: "ref" }] : []));
|
|
3852
|
+
streamMode = model(FirestoreAccessorStreamMode.STREAM, ...(ngDevMode ? [{ debugName: "streamMode" }] : []));
|
|
4110
3853
|
_storeName$ = toObservable(this.storeName).pipe(skipInitialMaybe());
|
|
4111
3854
|
_documentId$ = toObservable(this.documentId).pipe(skipInitialMaybe());
|
|
4112
3855
|
_key$ = toObservable(this.key).pipe(skipInitialMaybe());
|
|
@@ -4178,12 +3921,12 @@ class DbxFirebaseDocumentStoreDirective {
|
|
|
4178
3921
|
// we assume that the input model key is a TwoWayFlatFirestoreModelKey, since the TwoWayFlatFirestoreModelKey is safe to encode in the url
|
|
4179
3922
|
return keyFromParams.subscribe((x) => this.setFlatKey(x));
|
|
4180
3923
|
}
|
|
4181
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4182
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3924
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
3925
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseDocumentStoreDirective, isStandalone: true, inputs: { storeName: { classPropertyName: "storeName", publicName: "storeName", isSignal: true, isRequired: false, transformFunction: null }, documentId: { classPropertyName: "documentId", publicName: "documentId", isSignal: true, isRequired: false, transformFunction: null }, key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, flatKey: { classPropertyName: "flatKey", publicName: "flatKey", isSignal: true, isRequired: false, transformFunction: null }, ref: { classPropertyName: "ref", publicName: "ref", isSignal: true, isRequired: false, transformFunction: null }, streamMode: { classPropertyName: "streamMode", publicName: "streamMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { storeName: "storeNameChange", documentId: "documentIdChange", key: "keyChange", flatKey: "flatKeyChange", ref: "refChange", streamMode: "streamModeChange" }, ngImport: i0 });
|
|
4183
3926
|
}
|
|
4184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreDirective, decorators: [{
|
|
4185
3928
|
type: Directive
|
|
4186
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
3929
|
+
}], ctorParameters: () => [{ type: undefined }], propDecorators: { storeName: [{ type: i0.Input, args: [{ isSignal: true, alias: "storeName", required: false }] }, { type: i0.Output, args: ["storeNameChange"] }], documentId: [{ type: i0.Input, args: [{ isSignal: true, alias: "documentId", required: false }] }, { type: i0.Output, args: ["documentIdChange"] }], key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }, { type: i0.Output, args: ["keyChange"] }], flatKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "flatKey", required: false }] }, { type: i0.Output, args: ["flatKeyChange"] }], ref: [{ type: i0.Input, args: [{ isSignal: true, alias: "ref", required: false }] }, { type: i0.Output, args: ["refChange"] }], streamMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "streamMode", required: false }] }, { type: i0.Output, args: ["streamModeChange"] }] } });
|
|
4187
3930
|
function provideDbxFirebaseDocumentStoreDirective(sourceType, storeType) {
|
|
4188
3931
|
const providers = [
|
|
4189
3932
|
{
|
|
@@ -4206,7 +3949,7 @@ class DbxFirebaseModelViewedEventDirective {
|
|
|
4206
3949
|
dbxFirebaseDocumentStoreDirective = inject(DbxFirebaseDocumentStoreDirective);
|
|
4207
3950
|
dbxModelObjectStateService = inject(DbxModelObjectStateService);
|
|
4208
3951
|
dbxFirebaseModelTypesService = inject(DbxFirebaseModelTypesService);
|
|
4209
|
-
modelViewContext = input(undefined, { alias: 'dbxFirebaseModelViewedEvent' });
|
|
3952
|
+
modelViewContext = input(undefined, { ...(ngDevMode ? { debugName: "modelViewContext" } : {}), alias: 'dbxFirebaseModelViewedEvent' });
|
|
4210
3953
|
constructor() {
|
|
4211
3954
|
cleanSubscription(this.dbxFirebaseDocumentStoreDirective.data$
|
|
4212
3955
|
.pipe(
|
|
@@ -4225,50 +3968,28 @@ class DbxFirebaseModelViewedEventDirective {
|
|
|
4225
3968
|
this.dbxModelObjectStateService.emitModelViewEvent({ modelKeyTypeNamePair, context });
|
|
4226
3969
|
}));
|
|
4227
3970
|
}
|
|
4228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4229
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
3971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelViewedEventDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3972
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseModelViewedEventDirective, isStandalone: true, selector: "[dbxFirebaseModelViewedEvent]", inputs: { modelViewContext: { classPropertyName: "modelViewContext", publicName: "dbxFirebaseModelViewedEvent", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4230
3973
|
}
|
|
4231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelViewedEventDirective, decorators: [{
|
|
4232
3975
|
type: Directive,
|
|
4233
3976
|
args: [{
|
|
4234
3977
|
selector: '[dbxFirebaseModelViewedEvent]',
|
|
4235
3978
|
standalone: true
|
|
4236
3979
|
}]
|
|
4237
|
-
}], ctorParameters: () => [] });
|
|
4238
|
-
|
|
4239
|
-
const importsAndExports$4 = [DbxFirebaseModelViewedEventDirective, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent];
|
|
4240
|
-
/**
|
|
4241
|
-
* @deprecated import independent components instead
|
|
4242
|
-
*
|
|
4243
|
-
* @see DbxFirebaseModelViewedEventDirective
|
|
4244
|
-
* @see DbxFirebaseModelTypeInstanceListComponent
|
|
4245
|
-
* @see DbxFirebaseModelTypeInstanceListViewComponent
|
|
4246
|
-
* @see DbxFirebaseModelTypeInstanceListViewItemComponent
|
|
4247
|
-
*/
|
|
4248
|
-
class DbxFirebaseModelTypesModule {
|
|
4249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelTypesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4250
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelTypesModule, imports: [DbxFirebaseModelViewedEventDirective, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent], exports: [DbxFirebaseModelViewedEventDirective, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent] });
|
|
4251
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelTypesModule, imports: [DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent] });
|
|
4252
|
-
}
|
|
4253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseModelTypesModule, decorators: [{
|
|
4254
|
-
type: NgModule,
|
|
4255
|
-
args: [{
|
|
4256
|
-
imports: importsAndExports$4,
|
|
4257
|
-
exports: importsAndExports$4
|
|
4258
|
-
}]
|
|
4259
|
-
}] });
|
|
3980
|
+
}], ctorParameters: () => [], propDecorators: { modelViewContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFirebaseModelViewedEvent", required: false }] }] } });
|
|
4260
3981
|
|
|
4261
3982
|
/**
|
|
4262
3983
|
* Abstract directive that contains a DbxFirebaseCollectionStore and provides an interface for communicating with other directives.
|
|
4263
3984
|
*/
|
|
4264
3985
|
class DbxFirebaseCollectionStoreDirective {
|
|
4265
|
-
collectionMode = model('query');
|
|
4266
|
-
collectionKeys = model(undefined);
|
|
4267
|
-
collectionRefs = model(undefined);
|
|
4268
|
-
maxPages = model(undefined);
|
|
4269
|
-
itemsPerPage = model(undefined);
|
|
4270
|
-
constraints = model(undefined);
|
|
4271
|
-
waitForNonNullConstraints = model(undefined);
|
|
3986
|
+
collectionMode = model('query', ...(ngDevMode ? [{ debugName: "collectionMode" }] : []));
|
|
3987
|
+
collectionKeys = model(undefined, ...(ngDevMode ? [{ debugName: "collectionKeys" }] : []));
|
|
3988
|
+
collectionRefs = model(undefined, ...(ngDevMode ? [{ debugName: "collectionRefs" }] : []));
|
|
3989
|
+
maxPages = model(undefined, ...(ngDevMode ? [{ debugName: "maxPages" }] : []));
|
|
3990
|
+
itemsPerPage = model(undefined, ...(ngDevMode ? [{ debugName: "itemsPerPage" }] : []));
|
|
3991
|
+
constraints = model(undefined, ...(ngDevMode ? [{ debugName: "constraints" }] : []));
|
|
3992
|
+
waitForNonNullConstraints = model(undefined, ...(ngDevMode ? [{ debugName: "waitForNonNullConstraints" }] : []));
|
|
4272
3993
|
_collectionMode = toObservable(this.collectionMode).pipe(skipInitialMaybe());
|
|
4273
3994
|
_collectionKeys = toObservable(this.collectionKeys).pipe(skipInitialMaybe());
|
|
4274
3995
|
_collectionRefs = toObservable(this.collectionRefs).pipe(skipInitialMaybe());
|
|
@@ -4328,12 +4049,12 @@ class DbxFirebaseCollectionStoreDirective {
|
|
|
4328
4049
|
restart() {
|
|
4329
4050
|
this.store.restart();
|
|
4330
4051
|
}
|
|
4331
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4332
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionStoreDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4053
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseCollectionStoreDirective, isStandalone: true, inputs: { collectionMode: { classPropertyName: "collectionMode", publicName: "collectionMode", isSignal: true, isRequired: false, transformFunction: null }, collectionKeys: { classPropertyName: "collectionKeys", publicName: "collectionKeys", isSignal: true, isRequired: false, transformFunction: null }, collectionRefs: { classPropertyName: "collectionRefs", publicName: "collectionRefs", isSignal: true, isRequired: false, transformFunction: null }, maxPages: { classPropertyName: "maxPages", publicName: "maxPages", isSignal: true, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, constraints: { classPropertyName: "constraints", publicName: "constraints", isSignal: true, isRequired: false, transformFunction: null }, waitForNonNullConstraints: { classPropertyName: "waitForNonNullConstraints", publicName: "waitForNonNullConstraints", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { collectionMode: "collectionModeChange", collectionKeys: "collectionKeysChange", collectionRefs: "collectionRefsChange", maxPages: "maxPagesChange", itemsPerPage: "itemsPerPageChange", constraints: "constraintsChange", waitForNonNullConstraints: "waitForNonNullConstraintsChange" }, ngImport: i0 });
|
|
4333
4054
|
}
|
|
4334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionStoreDirective, decorators: [{
|
|
4335
4056
|
type: Directive
|
|
4336
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
4057
|
+
}], ctorParameters: () => [{ type: undefined }], propDecorators: { collectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionMode", required: false }] }, { type: i0.Output, args: ["collectionModeChange"] }], collectionKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionKeys", required: false }] }, { type: i0.Output, args: ["collectionKeysChange"] }], collectionRefs: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionRefs", required: false }] }, { type: i0.Output, args: ["collectionRefsChange"] }], maxPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxPages", required: false }] }, { type: i0.Output, args: ["maxPagesChange"] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: false }] }, { type: i0.Output, args: ["itemsPerPageChange"] }], constraints: [{ type: i0.Input, args: [{ isSignal: true, alias: "constraints", required: false }] }, { type: i0.Output, args: ["constraintsChange"] }], waitForNonNullConstraints: [{ type: i0.Input, args: [{ isSignal: true, alias: "waitForNonNullConstraints", required: false }] }, { type: i0.Output, args: ["waitForNonNullConstraintsChange"] }] } });
|
|
4337
4058
|
function provideDbxFirebaseCollectionStoreDirective(sourceType, storeType) {
|
|
4338
4059
|
const providers = [
|
|
4339
4060
|
{
|
|
@@ -4352,7 +4073,7 @@ function provideDbxFirebaseCollectionStoreDirective(sourceType, storeType) {
|
|
|
4352
4073
|
*/
|
|
4353
4074
|
class DbxFirebaseCollectionChangeDirective {
|
|
4354
4075
|
dbxFirebaseCollectionStoreDirective = inject((DbxFirebaseCollectionStoreDirective));
|
|
4355
|
-
mode = input('off', { alias: 'dbxFirebaseCollectionChange', transform: (x) => x || 'off' });
|
|
4076
|
+
mode = input('off', { ...(ngDevMode ? { debugName: "mode" } : {}), alias: 'dbxFirebaseCollectionChange', transform: (x) => x || 'off' });
|
|
4356
4077
|
_watcher = clean(dbxFirebaseCollectionChangeWatcher(this.dbxFirebaseCollectionStoreDirective.store));
|
|
4357
4078
|
_trigger = clean(dbxFirebaseCollectionChangeTriggerForWatcher(this._watcher, () => this.restart()));
|
|
4358
4079
|
mode$ = this._watcher.mode$;
|
|
@@ -4362,7 +4083,7 @@ class DbxFirebaseCollectionChangeDirective {
|
|
|
4362
4083
|
trigger$ = this._watcher.trigger$;
|
|
4363
4084
|
modeEffect = effect(() => {
|
|
4364
4085
|
this._watcher.setMode(this.mode());
|
|
4365
|
-
}, {
|
|
4086
|
+
}, ...(ngDevMode ? [{ debugName: "modeEffect" }] : []));
|
|
4366
4087
|
get store() {
|
|
4367
4088
|
return this._watcher.store;
|
|
4368
4089
|
}
|
|
@@ -4372,16 +4093,16 @@ class DbxFirebaseCollectionChangeDirective {
|
|
|
4372
4093
|
restart() {
|
|
4373
4094
|
this.dbxFirebaseCollectionStoreDirective.store.restart();
|
|
4374
4095
|
}
|
|
4375
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4376
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4096
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4097
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseCollectionChangeDirective, isStandalone: true, selector: "[dbxFirebaseCollectionChange]", inputs: { mode: { classPropertyName: "mode", publicName: "dbxFirebaseCollectionChange", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4377
4098
|
}
|
|
4378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionChangeDirective, decorators: [{
|
|
4379
4100
|
type: Directive,
|
|
4380
4101
|
args: [{
|
|
4381
4102
|
selector: '[dbxFirebaseCollectionChange]',
|
|
4382
4103
|
standalone: true
|
|
4383
4104
|
}]
|
|
4384
|
-
}], ctorParameters: () => [] });
|
|
4105
|
+
}], ctorParameters: () => [], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFirebaseCollectionChange", required: false }] }] } });
|
|
4385
4106
|
|
|
4386
4107
|
/**
|
|
4387
4108
|
* Structural directive that displays the content when the target change is detected.
|
|
@@ -4390,7 +4111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4390
4111
|
*/
|
|
4391
4112
|
class DbxFirebaseCollectionHasChangeDirective extends AbstractIfDirective {
|
|
4392
4113
|
directive = inject(DbxFirebaseCollectionChangeDirective);
|
|
4393
|
-
mode = input('addedAndRemoved', { alias: 'dbxFirebaseCollectionHasChange', transform: (x) => x || 'addedAndRemoved' });
|
|
4114
|
+
mode = input('addedAndRemoved', { ...(ngDevMode ? { debugName: "mode" } : {}), alias: 'dbxFirebaseCollectionHasChange', transform: (x) => x || 'addedAndRemoved' });
|
|
4394
4115
|
show$ = combineLatest([toObservable(this.mode), this.directive.event$]).pipe(map(([mode, event]) => {
|
|
4395
4116
|
let show = false;
|
|
4396
4117
|
if (event.type !== 'none') {
|
|
@@ -4408,16 +4129,16 @@ class DbxFirebaseCollectionHasChangeDirective extends AbstractIfDirective {
|
|
|
4408
4129
|
}
|
|
4409
4130
|
return show;
|
|
4410
4131
|
}), shareReplay(1));
|
|
4411
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4412
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionHasChangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4133
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseCollectionHasChangeDirective, isStandalone: true, selector: "[dbxFirebaseCollectionHasChange]", inputs: { mode: { classPropertyName: "mode", publicName: "dbxFirebaseCollectionHasChange", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4413
4134
|
}
|
|
4414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionHasChangeDirective, decorators: [{
|
|
4415
4136
|
type: Directive,
|
|
4416
4137
|
args: [{
|
|
4417
4138
|
selector: '[dbxFirebaseCollectionHasChange]',
|
|
4418
4139
|
standalone: true
|
|
4419
4140
|
}]
|
|
4420
|
-
}] });
|
|
4141
|
+
}], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFirebaseCollectionHasChange", required: false }] }] } });
|
|
4421
4142
|
|
|
4422
4143
|
/**
|
|
4423
4144
|
* Directive that connects a host DbxListView to a DbxFirebaseCollectionStoreDirective to pass data for rendering items from a collection and query parameters.
|
|
@@ -4433,10 +4154,10 @@ class DbxFirebaseCollectionListDirective {
|
|
|
4433
4154
|
}));
|
|
4434
4155
|
}
|
|
4435
4156
|
}
|
|
4436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4158
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseCollectionListDirective, isStandalone: true, selector: "[dbxFirebaseCollectionList]", ngImport: i0 });
|
|
4438
4159
|
}
|
|
4439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionListDirective, decorators: [{
|
|
4440
4161
|
type: Directive,
|
|
4441
4162
|
args: [{
|
|
4442
4163
|
selector: '[dbxFirebaseCollectionList]',
|
|
@@ -4465,10 +4186,10 @@ function provideDbxFirebaseDocumentStoreTwoWayKeyProvider(sourceType) {
|
|
|
4465
4186
|
class DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective {
|
|
4466
4187
|
dbxFirebaseDocumentStoreDirective = inject(DbxFirebaseDocumentStoreDirective, { host: true });
|
|
4467
4188
|
twoWayFlatKey$ = this.dbxFirebaseDocumentStoreDirective.twoWayFlatKey$;
|
|
4468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4469
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4189
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4190
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreTwoWayModelKeySource]", providers: provideDbxFirebaseDocumentStoreTwoWayKeyProvider(DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective), ngImport: i0 });
|
|
4470
4191
|
}
|
|
4471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, decorators: [{
|
|
4472
4193
|
type: Directive,
|
|
4473
4194
|
args: [{
|
|
4474
4195
|
selector: '[dbxFirebaseDocumentStoreTwoWayModelKeySource]',
|
|
@@ -4486,10 +4207,10 @@ class DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective {
|
|
|
4486
4207
|
constructor() {
|
|
4487
4208
|
cleanSubscription(this.dbxFirebaseDocumentStoreDirective.store.setId(this.dbxFirebaseDocumentStoreTwoWayKeyProvider.twoWayFlatKey$));
|
|
4488
4209
|
}
|
|
4489
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4490
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4211
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]", ngImport: i0 });
|
|
4491
4212
|
}
|
|
4492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, decorators: [{
|
|
4493
4214
|
type: Directive,
|
|
4494
4215
|
args: [{
|
|
4495
4216
|
selector: '[dbxFirebaseDocumentStoreIdFromTwoWayModelKey]',
|
|
@@ -4497,17 +4218,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
4497
4218
|
}]
|
|
4498
4219
|
}], ctorParameters: () => [] });
|
|
4499
4220
|
|
|
4500
|
-
const importsAndExports$
|
|
4221
|
+
const importsAndExports$1 = [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective];
|
|
4501
4222
|
class DbxFirebaseModelStoreModule {
|
|
4502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4503
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4504
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4224
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelStoreModule, imports: [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective], exports: [DbxFirebaseCollectionListDirective, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective] });
|
|
4225
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelStoreModule });
|
|
4505
4226
|
}
|
|
4506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelStoreModule, decorators: [{
|
|
4507
4228
|
type: NgModule,
|
|
4508
4229
|
args: [{
|
|
4509
|
-
imports: importsAndExports$
|
|
4510
|
-
exports: importsAndExports$
|
|
4230
|
+
imports: importsAndExports$1,
|
|
4231
|
+
exports: importsAndExports$1
|
|
4511
4232
|
}]
|
|
4512
4233
|
}] });
|
|
4513
4234
|
|
|
@@ -4577,10 +4298,10 @@ class AbstractDbxFirebaseCollectionStore extends LockSetComponentStore {
|
|
|
4577
4298
|
loadAllResults() {
|
|
4578
4299
|
return this.loader$.pipe(switchMap((x) => x.loadAllResults()));
|
|
4579
4300
|
}
|
|
4580
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4581
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseCollectionStore, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4302
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseCollectionStore });
|
|
4582
4303
|
}
|
|
4583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseCollectionStore, decorators: [{
|
|
4584
4305
|
type: Injectable
|
|
4585
4306
|
}] });
|
|
4586
4307
|
|
|
@@ -4658,6 +4379,8 @@ function linkDocumentStoreToParentContextStores(store) {
|
|
|
4658
4379
|
}
|
|
4659
4380
|
|
|
4660
4381
|
class AbstractDbxFirebaseDocumentStore extends LockSetComponentStore {
|
|
4382
|
+
// NOTE: Injection does not occur here, but we need @Injectable to compile properly for Angular usage
|
|
4383
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
4661
4384
|
constructor(initialState) {
|
|
4662
4385
|
super(initialState);
|
|
4663
4386
|
linkDocumentStoreToParentContextStores(this);
|
|
@@ -4697,7 +4420,7 @@ class AbstractDbxFirebaseDocumentStore extends LockSetComponentStore {
|
|
|
4697
4420
|
*/
|
|
4698
4421
|
hasRef$ = this.currentDocument$.pipe(map((x) => x?.documentRef != null), distinctUntilChanged(), shareReplay(1));
|
|
4699
4422
|
document$ = this.currentDocument$.pipe(filterMaybe(), distinctUntilChanged(), shareReplay(1));
|
|
4700
|
-
documentLoadingState$ = this.currentDocument$.pipe(map((x) => (x ? successResult(x) : beginLoading())),
|
|
4423
|
+
documentLoadingState$ = this.currentDocument$.pipe(map((x) => (x ? successResult(x) : beginLoading())), shareReplay(1));
|
|
4701
4424
|
currentId$ = this.currentDocument$.pipe(map((x) => x?.id), shareReplay(1));
|
|
4702
4425
|
currentKey$ = this.currentDocument$.pipe(map((x) => x?.key), shareReplay(1));
|
|
4703
4426
|
id$ = this.document$.pipe(map((x) => x.id), shareReplay(1));
|
|
@@ -4769,10 +4492,10 @@ class AbstractDbxFirebaseDocumentStore extends LockSetComponentStore {
|
|
|
4769
4492
|
clearRefs = this.updater((state) => ({ ...state, id: undefined, key: undefined, ref: undefined }));
|
|
4770
4493
|
setFirestoreCollection = this.updater((state, firestoreCollection) => ({ ...state, firestoreCollection }));
|
|
4771
4494
|
setFirestoreCollectionLike = this.updater((state, firestoreCollectionLike) => ({ ...state, firestoreCollectionLike }));
|
|
4772
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4773
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4495
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseDocumentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4496
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseDocumentStore });
|
|
4774
4497
|
}
|
|
4775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseDocumentStore, decorators: [{
|
|
4776
4499
|
type: Injectable
|
|
4777
4500
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
4778
4501
|
type: Inject,
|
|
@@ -4942,6 +4665,7 @@ function setParentStoreEffect(store) {
|
|
|
4942
4665
|
*/
|
|
4943
4666
|
class AbstractDbxFirebaseCollectionWithParentStore extends AbstractDbxFirebaseCollectionStore {
|
|
4944
4667
|
// NOTE: Injection does not occur here, but we need @Injectable to compile properly for Angular usage
|
|
4668
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
4945
4669
|
constructor(state, defaultSourceMode) {
|
|
4946
4670
|
super(state);
|
|
4947
4671
|
this.setSourceMode(defaultSourceMode || 'parent');
|
|
@@ -4994,10 +4718,10 @@ class AbstractDbxFirebaseCollectionWithParentStore extends AbstractDbxFirebaseCo
|
|
|
4994
4718
|
*/
|
|
4995
4719
|
_setParentDocument = this.updater((state, parent) => ({ ...state, parent }));
|
|
4996
4720
|
_setParent = this._setParentDocument;
|
|
4997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4998
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4721
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseCollectionWithParentStore, deps: [{ token: null, optional: true }, { token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4722
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseCollectionWithParentStore });
|
|
4999
4723
|
}
|
|
5000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseCollectionWithParentStore, decorators: [{
|
|
5001
4725
|
type: Injectable
|
|
5002
4726
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5003
4727
|
type: Inject,
|
|
@@ -5055,10 +4779,10 @@ class AbstractDbxFirebaseDocumentWithParentStore extends AbstractDbxFirebaseDocu
|
|
|
5055
4779
|
* Sets the parent on the current state.
|
|
5056
4780
|
*/
|
|
5057
4781
|
_setParentDocument = this.updater((state, parent) => ({ ...state, parent }));
|
|
5058
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5059
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4782
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseDocumentWithParentStore, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
4783
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseDocumentWithParentStore });
|
|
5060
4784
|
}
|
|
5061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseDocumentWithParentStore, decorators: [{
|
|
5062
4786
|
type: Injectable
|
|
5063
4787
|
}] });
|
|
5064
4788
|
/**
|
|
@@ -5107,7 +4831,7 @@ class AbstractSingleItemDbxFirebaseDocument extends AbstractDbxFirebaseDocumentW
|
|
|
5107
4831
|
* Abstract directive that contains a DbxFirebaseCollectionWithParentStore and provides an interface for communicating with other directives.
|
|
5108
4832
|
*/
|
|
5109
4833
|
class DbxFirebaseCollectionWithParentStoreDirective extends DbxFirebaseCollectionStoreDirective {
|
|
5110
|
-
sourceMode = model(undefined);
|
|
4834
|
+
sourceMode = model(undefined, ...(ngDevMode ? [{ debugName: "sourceMode" }] : []));
|
|
5111
4835
|
_sourceMode$ = toObservable(this.sourceMode).pipe(skipInitialMaybe());
|
|
5112
4836
|
constructor(store) {
|
|
5113
4837
|
super(store);
|
|
@@ -5120,12 +4844,12 @@ class DbxFirebaseCollectionWithParentStoreDirective extends DbxFirebaseCollectio
|
|
|
5120
4844
|
setSourceMode(sourceMode) {
|
|
5121
4845
|
this.sourceMode.set(sourceMode);
|
|
5122
4846
|
}
|
|
5123
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5124
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
4847
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionWithParentStoreDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4848
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseCollectionWithParentStoreDirective, isStandalone: true, inputs: { sourceMode: { classPropertyName: "sourceMode", publicName: "sourceMode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sourceMode: "sourceModeChange" }, usesInheritance: true, ngImport: i0 });
|
|
5125
4849
|
}
|
|
5126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseCollectionWithParentStoreDirective, decorators: [{
|
|
5127
4851
|
type: Directive
|
|
5128
|
-
}], ctorParameters: () => [{ type: undefined }] });
|
|
4852
|
+
}], ctorParameters: () => [{ type: undefined }], propDecorators: { sourceMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceMode", required: false }] }, { type: i0.Output, args: ["sourceModeChange"] }] } });
|
|
5129
4853
|
function provideDbxFirebaseCollectionWithParentStoreDirective(sourceType, storeType) {
|
|
5130
4854
|
const providers = [
|
|
5131
4855
|
...provideDbxFirebaseCollectionStoreDirective(sourceType, storeType),
|
|
@@ -5141,10 +4865,10 @@ function provideDbxFirebaseCollectionWithParentStoreDirective(sourceType, storeT
|
|
|
5141
4865
|
* Directive that provides a DbxFirebaseDocumentStoreContextStore.
|
|
5142
4866
|
*/
|
|
5143
4867
|
class DbxFirebaseDocumentStoreContextStoreDirective {
|
|
5144
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5145
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4868
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4869
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseDocumentStoreContextStoreDirective, isStandalone: true, selector: "[dbxFirebaseDocumentStoreContextStore]", providers: provideDbxFirebaseDocumentStoreContextStore(), ngImport: i0 });
|
|
5146
4870
|
}
|
|
5147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseDocumentStoreContextStoreDirective, decorators: [{
|
|
5148
4872
|
type: Directive,
|
|
5149
4873
|
args: [{
|
|
5150
4874
|
selector: '[dbxFirebaseDocumentStoreContextStore]',
|
|
@@ -5154,41 +4878,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5154
4878
|
}] });
|
|
5155
4879
|
|
|
5156
4880
|
class SystemStateCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
5157
|
-
constructor(
|
|
5158
|
-
super({ firestoreCollection:
|
|
4881
|
+
constructor() {
|
|
4882
|
+
super({ firestoreCollection: inject(SystemStateFirestoreCollections).systemStateCollection });
|
|
5159
4883
|
}
|
|
5160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5161
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemStateCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4885
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemStateCollectionStore });
|
|
5162
4886
|
}
|
|
5163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemStateCollectionStore, decorators: [{
|
|
5164
4888
|
type: Injectable
|
|
5165
|
-
}], ctorParameters: () => [
|
|
4889
|
+
}], ctorParameters: () => [] });
|
|
5166
4890
|
|
|
5167
4891
|
class DbxFirebaseSystemStateCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective {
|
|
5168
|
-
constructor(
|
|
5169
|
-
super(
|
|
4892
|
+
constructor() {
|
|
4893
|
+
super(inject(SystemStateCollectionStore));
|
|
5170
4894
|
}
|
|
5171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5172
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseSystemStateCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4896
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseSystemStateCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseSystemStateCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseSystemStateCollectionStoreDirective, SystemStateCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
5173
4897
|
}
|
|
5174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseSystemStateCollectionStoreDirective, decorators: [{
|
|
5175
4899
|
type: Directive,
|
|
5176
4900
|
args: [{
|
|
5177
4901
|
selector: '[dbxFirebaseSystemStateCollection]',
|
|
5178
4902
|
providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseSystemStateCollectionStoreDirective, SystemStateCollectionStore)
|
|
5179
4903
|
}]
|
|
5180
|
-
}], ctorParameters: () => [
|
|
4904
|
+
}], ctorParameters: () => [] });
|
|
5181
4905
|
|
|
5182
4906
|
class SystemStateDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
5183
|
-
constructor(
|
|
5184
|
-
super({ firestoreCollection:
|
|
4907
|
+
constructor() {
|
|
4908
|
+
super({ firestoreCollection: inject(SystemStateFirestoreCollections).systemStateCollection });
|
|
5185
4909
|
}
|
|
5186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5187
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4910
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemStateDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4911
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemStateDocumentStore });
|
|
5188
4912
|
}
|
|
5189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: SystemStateDocumentStore, decorators: [{
|
|
5190
4914
|
type: Injectable
|
|
5191
|
-
}], ctorParameters: () => [
|
|
4915
|
+
}], ctorParameters: () => [] });
|
|
5192
4916
|
|
|
5193
4917
|
/**
|
|
5194
4918
|
* Abstract class used for accessing a SystemStateDocumentStore's data.
|
|
@@ -5204,10 +4928,10 @@ class AbstractSystemStateDocumentStoreAccessor {
|
|
|
5204
4928
|
constructor(type) {
|
|
5205
4929
|
this.systemStateDocumentStore.setId(type);
|
|
5206
4930
|
}
|
|
5207
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5208
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractSystemStateDocumentStoreAccessor, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4932
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractSystemStateDocumentStoreAccessor });
|
|
5209
4933
|
}
|
|
5210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractSystemStateDocumentStoreAccessor, decorators: [{
|
|
5211
4935
|
type: Injectable
|
|
5212
4936
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5213
4937
|
type: Inject,
|
|
@@ -5220,10 +4944,10 @@ class DbxFirebaseSystemStateDocumentStoreDirective extends DbxFirebaseDocumentSt
|
|
|
5220
4944
|
constructor() {
|
|
5221
4945
|
super(inject((SystemStateDocumentStore)));
|
|
5222
4946
|
}
|
|
5223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5224
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4947
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseSystemStateDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4948
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseSystemStateDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseSystemStateDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseSystemStateDocumentStoreDirective, SystemStateDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
5225
4949
|
}
|
|
5226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseSystemStateDocumentStoreDirective, decorators: [{
|
|
5227
4951
|
type: Directive,
|
|
5228
4952
|
args: [{
|
|
5229
4953
|
selector: '[dbxFirebaseSystemStateDocument]',
|
|
@@ -5232,14 +4956,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5232
4956
|
}], ctorParameters: () => [] });
|
|
5233
4957
|
|
|
5234
4958
|
class DbxFirebaseModelModule {
|
|
5235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5236
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5237
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4959
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4960
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelModule, exports: [DbxFirebaseModelStoreModule] });
|
|
4961
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelModule, imports: [DbxFirebaseModelStoreModule] });
|
|
5238
4962
|
}
|
|
5239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModelModule, decorators: [{
|
|
5240
4964
|
type: NgModule,
|
|
5241
4965
|
args: [{
|
|
5242
|
-
exports: [DbxFirebaseModelStoreModule
|
|
4966
|
+
exports: [DbxFirebaseModelStoreModule]
|
|
5243
4967
|
}]
|
|
5244
4968
|
}] });
|
|
5245
4969
|
|
|
@@ -5261,10 +4985,10 @@ class DbxFirebaseNotificationTemplateService {
|
|
|
5261
4985
|
date
|
|
5262
4986
|
};
|
|
5263
4987
|
}
|
|
5264
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5265
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4988
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4989
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationTemplateService });
|
|
5266
4990
|
}
|
|
5267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationTemplateService, decorators: [{
|
|
5268
4992
|
type: Injectable
|
|
5269
4993
|
}] });
|
|
5270
4994
|
|
|
@@ -5275,10 +4999,10 @@ class DbxFirebaseNotificationItemListComponent extends AbstractDbxSelectionListW
|
|
|
5275
4999
|
defaultSelectionMode: 'view'
|
|
5276
5000
|
});
|
|
5277
5001
|
}
|
|
5278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5279
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5002
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5003
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationItemListComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-list", providers: provideDbxListViewWrapper(DbxFirebaseNotificationItemListComponent), usesInheritance: true, ngImport: i0, template: "\n <dbx-list [state]=\"currentState$\" [config]=\"configSignal()\" [hasMore]=\"hasMore()\" [disabled]=\"disabled()\" [selectionMode]=\"selectionModeSignal()\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n <ng-content end select=\"[end]\"></ng-content>\n </dbx-list>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxListWrapperComponentImportsModule }, { kind: "component", type: i1$1.DbxListComponent, selector: "dbx-list", inputs: ["padded", "state", "config", "disabled", "selectionMode", "hasMore"], outputs: ["contentScrolled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5280
5004
|
}
|
|
5281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemListComponent, decorators: [{
|
|
5282
5006
|
type: Component,
|
|
5283
5007
|
args: [{
|
|
5284
5008
|
selector: 'dbx-firebase-notificationitem-list',
|
|
@@ -5294,10 +5018,10 @@ class DbxFirebaseNotificationItemListViewComponent extends AbstractDbxSelectionL
|
|
|
5294
5018
|
componentClass: DbxFirebaseNotificationItemListViewItemComponent,
|
|
5295
5019
|
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, icon: y.icon, itemValue: y })))
|
|
5296
5020
|
};
|
|
5297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5298
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5021
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5022
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationItemListViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-list-view", providers: provideDbxListView(DbxFirebaseNotificationItemListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5299
5023
|
}
|
|
5300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemListViewComponent, decorators: [{
|
|
5301
5025
|
type: Component,
|
|
5302
5026
|
args: [{
|
|
5303
5027
|
selector: 'dbx-firebase-notificationitem-list-view',
|
|
@@ -5320,8 +5044,8 @@ class DbxFirebaseNotificationItemListViewItemComponent extends AbstractDbxValueL
|
|
|
5320
5044
|
get date() {
|
|
5321
5045
|
return this.pairGetter().date;
|
|
5322
5046
|
}
|
|
5323
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5324
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5047
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemListViewItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5048
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationItemListViewItemComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
5325
5049
|
<div class="dbx-list-item-padded dbx-list-two-line-item dbx-firebase-notificationitem-list-view-item">
|
|
5326
5050
|
<div class="item-left">
|
|
5327
5051
|
<span class="notificationitem-subject">{{ subject }}</span>
|
|
@@ -5331,7 +5055,7 @@ class DbxFirebaseNotificationItemListViewItemComponent extends AbstractDbxValueL
|
|
|
5331
5055
|
</div>
|
|
5332
5056
|
`, isInline: true, dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }, { kind: "pipe", type: CutTextPipe, name: "cutText" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5333
5057
|
}
|
|
5334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemListViewItemComponent, decorators: [{
|
|
5335
5059
|
type: Component,
|
|
5336
5060
|
args: [{
|
|
5337
5061
|
template: `
|
|
@@ -5350,16 +5074,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5350
5074
|
}] });
|
|
5351
5075
|
|
|
5352
5076
|
class DbxFirebaseNotificationItemContentComponent {
|
|
5353
|
-
subject = input();
|
|
5354
|
-
message = input();
|
|
5355
|
-
date = input();
|
|
5356
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5357
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
5077
|
+
subject = input(...(ngDevMode ? [undefined, { debugName: "subject" }] : []));
|
|
5078
|
+
message = input(...(ngDevMode ? [undefined, { debugName: "message" }] : []));
|
|
5079
|
+
date = input(...(ngDevMode ? [undefined, { debugName: "date" }] : []));
|
|
5080
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5081
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseNotificationItemContentComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-content", inputs: { subject: { classPropertyName: "subject", publicName: "subject", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"dbx-firebase-notificationitem-content\">\n <div class=\"notificationitem-header dbx-pb2\">\n @if (subject()) {\n <div class=\"notificationitem-subject dbx-pb1\">{{ subject() }}</div>\n }\n <ng-content select=\"[header]\"></ng-content>\n @if (date()) {\n <div class=\"notificationitem-date dbx-label dbx-small\">{{ date() | date: 'medium' }}</div>\n }\n </div>\n <ng-content select=\"[premessage]\"></ng-content>\n <div class=\"notificationitem-message\">{{ message() }}</div>\n <ng-content></ng-content>\n</div>\n", styles: [".dbx-firebase-notificationitem-content .notificationitem-subject{font-size:1.25em}\n"], dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5358
5082
|
}
|
|
5359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemContentComponent, decorators: [{
|
|
5360
5084
|
type: Component,
|
|
5361
5085
|
args: [{ selector: 'dbx-firebase-notificationitem-content', imports: [DatePipe], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"dbx-firebase-notificationitem-content\">\n <div class=\"notificationitem-header dbx-pb2\">\n @if (subject()) {\n <div class=\"notificationitem-subject dbx-pb1\">{{ subject() }}</div>\n }\n <ng-content select=\"[header]\"></ng-content>\n @if (date()) {\n <div class=\"notificationitem-date dbx-label dbx-small\">{{ date() | date: 'medium' }}</div>\n }\n </div>\n <ng-content select=\"[premessage]\"></ng-content>\n <div class=\"notificationitem-message\">{{ message() }}</div>\n <ng-content></ng-content>\n</div>\n", styles: [".dbx-firebase-notificationitem-content .notificationitem-subject{font-size:1.25em}\n"] }]
|
|
5362
|
-
}] });
|
|
5086
|
+
}], propDecorators: { subject: [{ type: i0.Input, args: [{ isSignal: true, alias: "subject", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }] } });
|
|
5363
5087
|
|
|
5364
5088
|
/**
|
|
5365
5089
|
* Prefix used by all widgets.
|
|
@@ -5415,15 +5139,15 @@ class DbxFirebaseNotificationItemWidgetService {
|
|
|
5415
5139
|
type: DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE
|
|
5416
5140
|
}, override);
|
|
5417
5141
|
}
|
|
5418
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5419
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemWidgetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5143
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemWidgetService });
|
|
5420
5144
|
}
|
|
5421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemWidgetService, decorators: [{
|
|
5422
5146
|
type: Injectable
|
|
5423
5147
|
}] });
|
|
5424
5148
|
|
|
5425
5149
|
class DbxFirebaseNotificationItemViewComponent {
|
|
5426
|
-
item = input();
|
|
5150
|
+
item = input(...(ngDevMode ? [undefined, { debugName: "item" }] : []));
|
|
5427
5151
|
configSignal = computed(() => {
|
|
5428
5152
|
const data = this.item();
|
|
5429
5153
|
let config = undefined;
|
|
@@ -5436,13 +5160,13 @@ class DbxFirebaseNotificationItemViewComponent {
|
|
|
5436
5160
|
};
|
|
5437
5161
|
}
|
|
5438
5162
|
return config;
|
|
5439
|
-
});
|
|
5440
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5441
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
5163
|
+
}, ...(ngDevMode ? [{ debugName: "configSignal" }] : []));
|
|
5164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5165
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseNotificationItemViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-view", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
5442
5166
|
<dbx-widget-view [config]="configSignal()"></dbx-widget-view>
|
|
5443
5167
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxWidgetViewComponent, selector: "dbx-widget-view", inputs: ["config"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5444
5168
|
}
|
|
5445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemViewComponent, decorators: [{
|
|
5446
5170
|
type: Component,
|
|
5447
5171
|
args: [{
|
|
5448
5172
|
selector: 'dbx-firebase-notificationitem-view',
|
|
@@ -5453,16 +5177,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5453
5177
|
imports: [DbxWidgetViewComponent],
|
|
5454
5178
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5455
5179
|
}]
|
|
5456
|
-
}] });
|
|
5180
|
+
}], propDecorators: { item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: false }] }] } });
|
|
5457
5181
|
|
|
5458
5182
|
class AbstractDbxFirebaseNotificationItemWidgetComponent extends AbstractDbxWidgetComponent {
|
|
5459
5183
|
get notificationItem() {
|
|
5460
5184
|
return this.data;
|
|
5461
5185
|
}
|
|
5462
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5463
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseNotificationItemWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5187
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: AbstractDbxFirebaseNotificationItemWidgetComponent, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5464
5188
|
}
|
|
5465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: AbstractDbxFirebaseNotificationItemWidgetComponent, decorators: [{
|
|
5466
5190
|
type: Directive
|
|
5467
5191
|
}] });
|
|
5468
5192
|
|
|
@@ -5476,10 +5200,10 @@ class DbxFirebaseNotificationItemDefaultViewComponent extends AbstractDbxFirebas
|
|
|
5476
5200
|
get date() {
|
|
5477
5201
|
return this.notificationItem.cat;
|
|
5478
5202
|
}
|
|
5479
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5480
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5203
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemDefaultViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5204
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationItemDefaultViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-view-default", usesInheritance: true, ngImport: i0, template: '<dbx-firebase-notificationitem-content [subject]="subject" [message]="message" [date]="date"></dbx-firebase-notificationitem-content>', isInline: true, dependencies: [{ kind: "component", type: DbxFirebaseNotificationItemContentComponent, selector: "dbx-firebase-notificationitem-content", inputs: ["subject", "message", "date"] }] });
|
|
5481
5205
|
}
|
|
5482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemDefaultViewComponent, decorators: [{
|
|
5483
5207
|
type: Component,
|
|
5484
5208
|
args: [{
|
|
5485
5209
|
selector: 'dbx-firebase-notificationitem-view-default',
|
|
@@ -5511,10 +5235,10 @@ class DbxFirebaseNotificationItemStorePopoverComponent extends AbstractPopoverDi
|
|
|
5511
5235
|
emptyText = this.params.header ?? 'There are no notifications.';
|
|
5512
5236
|
makeNotificationItemAnchor = this.params.makeNotificationItemAnchor;
|
|
5513
5237
|
notificationItemsLoadingState$ = this.params.notificationItemsLoadingState$;
|
|
5514
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5515
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5239
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationItemStorePopoverComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-notificationitem-list [state]=\"notificationItemsLoadingState$\" dbxListItemModifier [dbxListItemAnchorModifier]=\"makeNotificationItemAnchor\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-notificationitem-list>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n", dependencies: [{ kind: "ngmodule", type: DbxPopoverInteractionModule }, { kind: "component", type: i1$1.DbxPopoverContentComponent, selector: "dbx-popover-content" }, { kind: "component", type: i1$1.DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: ["header", "icon"] }, { kind: "directive", type: i1$1.DbxPopoverScrollContentDirective, selector: "dbx-popover-scroll-content,[dbxPopoverScrollContent],.dbx-popover-scroll-content" }, { kind: "ngmodule", type: DbxListModifierModule }, { kind: "directive", type: i1$1.DbxValueListItemModifierDirective, selector: "dbxListItemModifier,[dbxListItemModifier]", inputs: ["dbxListItemModifier"] }, { kind: "component", type: DbxFirebaseNotificationItemListComponent, selector: "dbx-firebase-notificationitem-list" }, { kind: "component", type: DbxListEmptyContentComponent, selector: "dbx-list-empty-content" }, { kind: "directive", type: DbxListItemAnchorModifierDirective, selector: "[dbxListItemAnchorModifier]", inputs: ["dbxListItemAnchorModifier"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5516
5240
|
}
|
|
5517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverComponent, decorators: [{
|
|
5518
5242
|
type: Component,
|
|
5519
5243
|
args: [{ imports: [DbxPopoverInteractionModule, DbxListModifierModule, DbxFirebaseNotificationItemListComponent, DbxListEmptyContentComponent, DbxListItemAnchorModifierDirective], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<dbx-popover-content>\n <!-- Header -->\n <dbx-popover-header [icon]=\"icon\" [header]=\"header\"></dbx-popover-header>\n <!-- Content -->\n <dbx-popover-scroll-content>\n <dbx-firebase-notificationitem-list [state]=\"notificationItemsLoadingState$\" dbxListItemModifier [dbxListItemAnchorModifier]=\"makeNotificationItemAnchor\">\n <dbx-list-empty-content empty>\n <p>{{ emptyText }}</p>\n </dbx-list-empty-content>\n </dbx-firebase-notificationitem-list>\n </dbx-popover-scroll-content>\n</dbx-popover-content>\n" }]
|
|
5520
5244
|
}] });
|
|
@@ -5538,18 +5262,18 @@ class DbxFirebaseNotificationItemStore extends ComponentStore {
|
|
|
5538
5262
|
// MARK: State Changes
|
|
5539
5263
|
setItems = this.updater((state, items) => ({ ...state, items }));
|
|
5540
5264
|
setSelectedId = this.updater((state, selectedId) => ({ ...state, selectedId }));
|
|
5541
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5542
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5265
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5266
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStore });
|
|
5543
5267
|
}
|
|
5544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStore, decorators: [{
|
|
5545
5269
|
type: Injectable
|
|
5546
5270
|
}], ctorParameters: () => [] });
|
|
5547
5271
|
|
|
5548
5272
|
class DbxFirebaseNotificationItemStorePopoverButtonComponent extends AbstractPopoverRefDirective {
|
|
5549
5273
|
_dbxPopoverService = inject(DbxPopoverService);
|
|
5550
5274
|
_dbxFirebaseNotificationItemStore = inject(DbxFirebaseNotificationItemStore, { optional: true });
|
|
5551
|
-
buttonElement = viewChild('button', { read: ElementRef });
|
|
5552
|
-
config = input();
|
|
5275
|
+
buttonElement = viewChild('button', { ...(ngDevMode ? { debugName: "buttonElement" } : {}), read: ElementRef });
|
|
5276
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
5553
5277
|
showNotificationsPopover() {
|
|
5554
5278
|
const origin = this.buttonElement()?.nativeElement;
|
|
5555
5279
|
this.showPopover(origin);
|
|
@@ -5569,12 +5293,12 @@ class DbxFirebaseNotificationItemStorePopoverButtonComponent extends AbstractPop
|
|
|
5569
5293
|
...config
|
|
5570
5294
|
});
|
|
5571
5295
|
}
|
|
5572
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5573
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
5296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5297
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: DbxFirebaseNotificationItemStorePopoverButtonComponent, isStandalone: true, selector: "dbx-firebase-notification-item-store-popover-button", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonElement", first: true, predicate: ["button"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5574
5298
|
<dbx-icon-button #button (buttonClick)="showNotificationsPopover()" icon="notifications"></dbx-icon-button>
|
|
5575
5299
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxIconButtonComponent, selector: "dbx-icon-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5576
5300
|
}
|
|
5577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationItemStorePopoverButtonComponent, decorators: [{
|
|
5578
5302
|
type: Component,
|
|
5579
5303
|
args: [{
|
|
5580
5304
|
selector: 'dbx-firebase-notification-item-store-popover-button',
|
|
@@ -5585,7 +5309,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
5585
5309
|
imports: [DbxIconButtonComponent],
|
|
5586
5310
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5587
5311
|
}]
|
|
5588
|
-
}] });
|
|
5312
|
+
}], propDecorators: { buttonElement: [{ type: i0.ViewChild, args: ['button', { ...{ read: ElementRef }, isSignal: true }] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }] } });
|
|
5589
5313
|
|
|
5590
5314
|
class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
5591
5315
|
notificationFunctions = inject(NotificationFunctions);
|
|
@@ -5596,17 +5320,18 @@ class NotificationBoxDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
5596
5320
|
recipients$ = this.data$.pipe(map((x) => x.r), shareReplay(1));
|
|
5597
5321
|
updateNotificationBox = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationBox.updateNotificationBox.update);
|
|
5598
5322
|
updateNotificationBoxRecipient = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationBox.updateNotificationBox.recipient);
|
|
5599
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5600
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationBoxDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5324
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationBoxDocumentStore });
|
|
5601
5325
|
}
|
|
5602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationBoxDocumentStore, decorators: [{
|
|
5603
5327
|
type: Injectable
|
|
5604
5328
|
}], ctorParameters: () => [] });
|
|
5605
5329
|
|
|
5606
5330
|
class NotificationDocumentStore extends AbstractDbxFirebaseDocumentWithParentStore {
|
|
5607
5331
|
notificationFunctions = inject(NotificationFunctions);
|
|
5608
|
-
constructor(
|
|
5609
|
-
super({ collectionFactory:
|
|
5332
|
+
constructor() {
|
|
5333
|
+
super({ collectionFactory: inject(NotificationFirestoreCollections).notificationCollectionFactory, firestoreCollectionLike: inject(NotificationFirestoreCollections).notificationCollectionGroup });
|
|
5334
|
+
const parent = inject(NotificationBoxDocumentStore, { optional: true });
|
|
5610
5335
|
if (parent) {
|
|
5611
5336
|
this.setParentStore(parent);
|
|
5612
5337
|
}
|
|
@@ -5617,132 +5342,130 @@ class NotificationDocumentStore extends AbstractDbxFirebaseDocumentWithParentSto
|
|
|
5617
5342
|
sendAttemptsCount$ = this.data$.pipe(map((x) => x.a), distinctUntilChanged(), shareReplay(1));
|
|
5618
5343
|
isUnique$ = this.data$.pipe(map((x) => x.ut), distinctUntilChanged(), shareReplay(1));
|
|
5619
5344
|
sendNotification = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notification.updateNotification.send);
|
|
5620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5621
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5345
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5346
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationDocumentStore });
|
|
5622
5347
|
}
|
|
5623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationDocumentStore, decorators: [{
|
|
5624
5349
|
type: Injectable
|
|
5625
|
-
}], ctorParameters: () => [
|
|
5626
|
-
type: Optional
|
|
5627
|
-
}] }] });
|
|
5350
|
+
}], ctorParameters: () => [] });
|
|
5628
5351
|
|
|
5629
5352
|
class DbxFirebaseNotificationDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective {
|
|
5630
|
-
constructor(
|
|
5631
|
-
super(
|
|
5353
|
+
constructor() {
|
|
5354
|
+
super(inject(NotificationDocumentStore));
|
|
5632
5355
|
}
|
|
5633
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5634
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5356
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5357
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationDocumentStoreDirective, NotificationDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
5635
5358
|
}
|
|
5636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationDocumentStoreDirective, decorators: [{
|
|
5637
5360
|
type: Directive,
|
|
5638
5361
|
args: [{
|
|
5639
5362
|
selector: '[dbxFirebaseNotificationDocument]',
|
|
5640
5363
|
providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationDocumentStoreDirective, NotificationDocumentStore),
|
|
5641
5364
|
standalone: true
|
|
5642
5365
|
}]
|
|
5643
|
-
}], ctorParameters: () => [
|
|
5366
|
+
}], ctorParameters: () => [] });
|
|
5644
5367
|
|
|
5645
5368
|
class NotificationCollectionStore extends AbstractDbxFirebaseCollectionWithParentStore {
|
|
5646
|
-
constructor(
|
|
5647
|
-
super({ collectionFactory:
|
|
5369
|
+
constructor(parent) {
|
|
5370
|
+
super({ collectionFactory: inject(NotificationFirestoreCollections).notificationCollectionFactory, collectionGroup: inject(NotificationFirestoreCollections).notificationCollectionGroup });
|
|
5648
5371
|
if (parent) {
|
|
5649
5372
|
this.setParentStore(parent);
|
|
5650
5373
|
}
|
|
5651
5374
|
}
|
|
5652
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5653
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationCollectionStore, deps: [{ token: NotificationBoxDocumentStore, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5376
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationCollectionStore });
|
|
5654
5377
|
}
|
|
5655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationCollectionStore, decorators: [{
|
|
5656
5379
|
type: Injectable
|
|
5657
|
-
}], ctorParameters: () => [{ type:
|
|
5380
|
+
}], ctorParameters: () => [{ type: NotificationBoxDocumentStore, decorators: [{
|
|
5658
5381
|
type: Optional
|
|
5659
5382
|
}] }] });
|
|
5660
5383
|
|
|
5661
5384
|
class DbxFirebaseNotificationCollectionStoreDirective extends DbxFirebaseCollectionWithParentStoreDirective {
|
|
5662
|
-
constructor(
|
|
5663
|
-
super(
|
|
5385
|
+
constructor() {
|
|
5386
|
+
super(inject(NotificationCollectionStore));
|
|
5664
5387
|
}
|
|
5665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5666
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5389
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationCollection]", providers: provideDbxFirebaseCollectionWithParentStoreDirective(DbxFirebaseNotificationCollectionStoreDirective, NotificationCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
5667
5390
|
}
|
|
5668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationCollectionStoreDirective, decorators: [{
|
|
5669
5392
|
type: Directive,
|
|
5670
5393
|
args: [{
|
|
5671
5394
|
selector: '[dbxFirebaseNotificationCollection]',
|
|
5672
5395
|
providers: provideDbxFirebaseCollectionWithParentStoreDirective(DbxFirebaseNotificationCollectionStoreDirective, NotificationCollectionStore),
|
|
5673
5396
|
standalone: true
|
|
5674
5397
|
}]
|
|
5675
|
-
}], ctorParameters: () => [
|
|
5398
|
+
}], ctorParameters: () => [] });
|
|
5676
5399
|
|
|
5677
5400
|
class DbxFirebaseNotificationBoxDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective {
|
|
5678
|
-
constructor(
|
|
5679
|
-
super(
|
|
5401
|
+
constructor() {
|
|
5402
|
+
super(inject(NotificationBoxDocumentStore));
|
|
5680
5403
|
}
|
|
5681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5682
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5404
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationBoxDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5405
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationBoxDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationBoxDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationBoxDocumentStoreDirective, NotificationBoxDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
5683
5406
|
}
|
|
5684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationBoxDocumentStoreDirective, decorators: [{
|
|
5685
5408
|
type: Directive,
|
|
5686
5409
|
args: [{
|
|
5687
5410
|
selector: '[dbxFirebaseNotificationBoxDocument]',
|
|
5688
5411
|
providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationBoxDocumentStoreDirective, NotificationBoxDocumentStore),
|
|
5689
5412
|
standalone: true
|
|
5690
5413
|
}]
|
|
5691
|
-
}], ctorParameters: () => [
|
|
5414
|
+
}], ctorParameters: () => [] });
|
|
5692
5415
|
|
|
5693
5416
|
class NotificationBoxCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
5694
|
-
constructor(
|
|
5695
|
-
super({ firestoreCollection:
|
|
5417
|
+
constructor() {
|
|
5418
|
+
super({ firestoreCollection: inject(NotificationFirestoreCollections).notificationBoxCollection });
|
|
5696
5419
|
}
|
|
5697
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5698
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationBoxCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5421
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationBoxCollectionStore });
|
|
5699
5422
|
}
|
|
5700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationBoxCollectionStore, decorators: [{
|
|
5701
5424
|
type: Injectable
|
|
5702
|
-
}], ctorParameters: () => [
|
|
5425
|
+
}], ctorParameters: () => [] });
|
|
5703
5426
|
|
|
5704
5427
|
class DbxFirebaseNotificationBoxCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective {
|
|
5705
|
-
constructor(
|
|
5706
|
-
super(
|
|
5428
|
+
constructor() {
|
|
5429
|
+
super(inject(NotificationBoxCollectionStore));
|
|
5707
5430
|
}
|
|
5708
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5709
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5431
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationBoxCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5432
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationBoxCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationBoxCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationBoxCollectionStoreDirective, NotificationBoxCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
5710
5433
|
}
|
|
5711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationBoxCollectionStoreDirective, decorators: [{
|
|
5712
5435
|
type: Directive,
|
|
5713
5436
|
args: [{
|
|
5714
5437
|
selector: '[dbxFirebaseNotificationBoxCollection]',
|
|
5715
5438
|
providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationBoxCollectionStoreDirective, NotificationBoxCollectionStore),
|
|
5716
5439
|
standalone: true
|
|
5717
5440
|
}]
|
|
5718
|
-
}], ctorParameters: () => [
|
|
5441
|
+
}], ctorParameters: () => [] });
|
|
5719
5442
|
|
|
5720
5443
|
class NotificationSummaryCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
5721
|
-
constructor(
|
|
5722
|
-
super({ firestoreCollection:
|
|
5444
|
+
constructor() {
|
|
5445
|
+
super({ firestoreCollection: inject(NotificationFirestoreCollections).notificationSummaryCollection });
|
|
5723
5446
|
}
|
|
5724
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5725
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationSummaryCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5448
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationSummaryCollectionStore });
|
|
5726
5449
|
}
|
|
5727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationSummaryCollectionStore, decorators: [{
|
|
5728
5451
|
type: Injectable
|
|
5729
|
-
}], ctorParameters: () => [
|
|
5452
|
+
}], ctorParameters: () => [] });
|
|
5730
5453
|
|
|
5731
5454
|
class DbxFirebaseNotificationSummaryCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective {
|
|
5732
|
-
constructor(
|
|
5733
|
-
super(
|
|
5455
|
+
constructor() {
|
|
5456
|
+
super(inject(NotificationSummaryCollectionStore));
|
|
5734
5457
|
}
|
|
5735
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5736
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5458
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationSummaryCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5459
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationSummaryCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationSummaryCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationSummaryCollectionStoreDirective, NotificationSummaryCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
5737
5460
|
}
|
|
5738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationSummaryCollectionStoreDirective, decorators: [{
|
|
5739
5462
|
type: Directive,
|
|
5740
5463
|
args: [{
|
|
5741
5464
|
selector: '[dbxFirebaseNotificationSummaryCollection]',
|
|
5742
5465
|
providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationSummaryCollectionStoreDirective, NotificationSummaryCollectionStore),
|
|
5743
5466
|
standalone: true
|
|
5744
5467
|
}]
|
|
5745
|
-
}], ctorParameters: () => [
|
|
5468
|
+
}], ctorParameters: () => [] });
|
|
5746
5469
|
|
|
5747
5470
|
class NotificationSummaryDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
5748
5471
|
notificationFunctions = inject(NotificationFunctions);
|
|
@@ -5764,55 +5487,55 @@ class NotificationSummaryDocumentStore extends AbstractDbxFirebaseDocumentStore
|
|
|
5764
5487
|
return combineLatest([asObservable(checkLastReadIfCreatedBeforeObs), this.notificationItems$]).pipe(map(([c, items]) => unreadNotificationItems(items, c)));
|
|
5765
5488
|
}
|
|
5766
5489
|
updateNotificationSummary = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationSummary.updateNotificationSummary.update);
|
|
5767
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5768
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5490
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationSummaryDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5491
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationSummaryDocumentStore });
|
|
5769
5492
|
}
|
|
5770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationSummaryDocumentStore, decorators: [{
|
|
5771
5494
|
type: Injectable
|
|
5772
5495
|
}], ctorParameters: () => [] });
|
|
5773
5496
|
|
|
5774
5497
|
class DbxFirebaseNotificationSummaryDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective {
|
|
5775
|
-
constructor(
|
|
5776
|
-
super(
|
|
5498
|
+
constructor() {
|
|
5499
|
+
super(inject(NotificationSummaryDocumentStore));
|
|
5777
5500
|
}
|
|
5778
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5779
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5501
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationSummaryDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5502
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationSummaryDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationSummaryDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationSummaryDocumentStoreDirective, NotificationSummaryDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
5780
5503
|
}
|
|
5781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationSummaryDocumentStoreDirective, decorators: [{
|
|
5782
5505
|
type: Directive,
|
|
5783
5506
|
args: [{
|
|
5784
5507
|
selector: '[dbxFirebaseNotificationSummaryDocument]',
|
|
5785
5508
|
providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationSummaryDocumentStoreDirective, NotificationSummaryDocumentStore),
|
|
5786
5509
|
standalone: true
|
|
5787
5510
|
}]
|
|
5788
|
-
}], ctorParameters: () => [
|
|
5511
|
+
}], ctorParameters: () => [] });
|
|
5789
5512
|
|
|
5790
5513
|
class NotificationUserCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
5791
|
-
constructor(
|
|
5792
|
-
super({ firestoreCollection:
|
|
5514
|
+
constructor() {
|
|
5515
|
+
super({ firestoreCollection: inject(NotificationFirestoreCollections).notificationUserCollection });
|
|
5793
5516
|
}
|
|
5794
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5795
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationUserCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5518
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationUserCollectionStore });
|
|
5796
5519
|
}
|
|
5797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationUserCollectionStore, decorators: [{
|
|
5798
5521
|
type: Injectable
|
|
5799
|
-
}], ctorParameters: () => [
|
|
5522
|
+
}], ctorParameters: () => [] });
|
|
5800
5523
|
|
|
5801
5524
|
class DbxFirebaseNotificationUserCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective {
|
|
5802
|
-
constructor(
|
|
5803
|
-
super(
|
|
5525
|
+
constructor() {
|
|
5526
|
+
super(inject(NotificationUserCollectionStore));
|
|
5804
5527
|
}
|
|
5805
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5806
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5528
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationUserCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5529
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationUserCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationUserCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationUserCollectionStoreDirective, NotificationUserCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
5807
5530
|
}
|
|
5808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationUserCollectionStoreDirective, decorators: [{
|
|
5809
5532
|
type: Directive,
|
|
5810
5533
|
args: [{
|
|
5811
5534
|
selector: '[dbxFirebaseNotificationUserCollection]',
|
|
5812
5535
|
providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseNotificationUserCollectionStoreDirective, NotificationUserCollectionStore),
|
|
5813
5536
|
standalone: true
|
|
5814
5537
|
}]
|
|
5815
|
-
}], ctorParameters: () => [
|
|
5538
|
+
}], ctorParameters: () => [] });
|
|
5816
5539
|
|
|
5817
5540
|
class NotificationUserDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
5818
5541
|
notificationFunctions = inject(NotificationFunctions);
|
|
@@ -5821,121 +5544,28 @@ class NotificationUserDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
5821
5544
|
}
|
|
5822
5545
|
updateNotificationUser = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationUser.updateNotificationUser.update);
|
|
5823
5546
|
resyncNotificationUser = firebaseDocumentStoreUpdateFunction(this, this.notificationFunctions.notificationUser.updateNotificationUser.resync);
|
|
5824
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5825
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5547
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationUserDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5548
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationUserDocumentStore });
|
|
5826
5549
|
}
|
|
5827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NotificationUserDocumentStore, decorators: [{
|
|
5828
5551
|
type: Injectable
|
|
5829
5552
|
}], ctorParameters: () => [] });
|
|
5830
5553
|
|
|
5831
5554
|
class DbxFirebaseNotificationUserDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective {
|
|
5832
|
-
constructor(
|
|
5833
|
-
super(
|
|
5555
|
+
constructor() {
|
|
5556
|
+
super(inject(NotificationUserDocumentStore));
|
|
5834
5557
|
}
|
|
5835
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5836
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5558
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationUserDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5559
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseNotificationUserDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseNotificationUserDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationUserDocumentStoreDirective, NotificationUserDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
5837
5560
|
}
|
|
5838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseNotificationUserDocumentStoreDirective, decorators: [{
|
|
5839
5562
|
type: Directive,
|
|
5840
5563
|
args: [{
|
|
5841
5564
|
selector: '[dbxFirebaseNotificationUserDocument]',
|
|
5842
5565
|
providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseNotificationUserDocumentStoreDirective, NotificationUserDocumentStore),
|
|
5843
5566
|
standalone: true
|
|
5844
5567
|
}]
|
|
5845
|
-
}], ctorParameters: () => [
|
|
5846
|
-
|
|
5847
|
-
const importsAndExports$2 = [
|
|
5848
|
-
// components
|
|
5849
|
-
DbxFirebaseNotificationItemListComponent,
|
|
5850
|
-
DbxFirebaseNotificationItemListViewComponent,
|
|
5851
|
-
DbxFirebaseNotificationItemListViewItemComponent,
|
|
5852
|
-
DbxFirebaseNotificationItemContentComponent,
|
|
5853
|
-
DbxFirebaseNotificationItemViewComponent,
|
|
5854
|
-
DbxFirebaseNotificationItemDefaultViewComponent,
|
|
5855
|
-
// container
|
|
5856
|
-
DbxFirebaseNotificationItemStorePopoverButtonComponent,
|
|
5857
|
-
DbxFirebaseNotificationItemStorePopoverComponent,
|
|
5858
|
-
// stores
|
|
5859
|
-
DbxFirebaseNotificationBoxCollectionStoreDirective,
|
|
5860
|
-
DbxFirebaseNotificationBoxDocumentStoreDirective,
|
|
5861
|
-
DbxFirebaseNotificationSummaryCollectionStoreDirective,
|
|
5862
|
-
DbxFirebaseNotificationSummaryDocumentStoreDirective,
|
|
5863
|
-
DbxFirebaseNotificationUserCollectionStoreDirective,
|
|
5864
|
-
DbxFirebaseNotificationUserDocumentStoreDirective
|
|
5865
|
-
];
|
|
5866
|
-
/**
|
|
5867
|
-
* Used to initialize the DbxFirebaseNotificationModule.
|
|
5868
|
-
*
|
|
5869
|
-
* @deprecated import independent components instead
|
|
5870
|
-
*
|
|
5871
|
-
* @see DbxFirebaseNotificationItemListComponent
|
|
5872
|
-
* @see DbxFirebaseNotificationItemListViewComponent
|
|
5873
|
-
* @see DbxFirebaseNotificationItemListViewItemComponent
|
|
5874
|
-
* @see DbxFirebaseNotificationItemContentComponent
|
|
5875
|
-
* @see DbxFirebaseNotificationItemViewComponent
|
|
5876
|
-
* @see DbxFirebaseNotificationItemDefaultViewComponent
|
|
5877
|
-
* @see DbxFirebaseNotificationItemStorePopoverButtonComponent
|
|
5878
|
-
* @see DbxFirebaseNotificationItemStorePopoverComponent
|
|
5879
|
-
* @see DbxFirebaseNotificationBoxCollectionStoreDirective
|
|
5880
|
-
* @see DbxFirebaseNotificationBoxDocumentStoreDirective
|
|
5881
|
-
* @see DbxFirebaseNotificationSummaryCollectionStoreDirective
|
|
5882
|
-
* @see DbxFirebaseNotificationSummaryDocumentStoreDirective
|
|
5883
|
-
* @see DbxFirebaseNotificationUserCollectionStoreDirective
|
|
5884
|
-
* @see DbxFirebaseNotificationUserDocumentStoreDirective
|
|
5885
|
-
*/
|
|
5886
|
-
class DbxFirebaseNotificationModule {
|
|
5887
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5888
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationModule, imports: [
|
|
5889
|
-
// components
|
|
5890
|
-
DbxFirebaseNotificationItemListComponent,
|
|
5891
|
-
DbxFirebaseNotificationItemListViewComponent,
|
|
5892
|
-
DbxFirebaseNotificationItemListViewItemComponent,
|
|
5893
|
-
DbxFirebaseNotificationItemContentComponent,
|
|
5894
|
-
DbxFirebaseNotificationItemViewComponent,
|
|
5895
|
-
DbxFirebaseNotificationItemDefaultViewComponent,
|
|
5896
|
-
// container
|
|
5897
|
-
DbxFirebaseNotificationItemStorePopoverButtonComponent,
|
|
5898
|
-
DbxFirebaseNotificationItemStorePopoverComponent,
|
|
5899
|
-
// stores
|
|
5900
|
-
DbxFirebaseNotificationBoxCollectionStoreDirective,
|
|
5901
|
-
DbxFirebaseNotificationBoxDocumentStoreDirective,
|
|
5902
|
-
DbxFirebaseNotificationSummaryCollectionStoreDirective,
|
|
5903
|
-
DbxFirebaseNotificationSummaryDocumentStoreDirective,
|
|
5904
|
-
DbxFirebaseNotificationUserCollectionStoreDirective,
|
|
5905
|
-
DbxFirebaseNotificationUserDocumentStoreDirective], exports: [
|
|
5906
|
-
// components
|
|
5907
|
-
DbxFirebaseNotificationItemListComponent,
|
|
5908
|
-
DbxFirebaseNotificationItemListViewComponent,
|
|
5909
|
-
DbxFirebaseNotificationItemListViewItemComponent,
|
|
5910
|
-
DbxFirebaseNotificationItemContentComponent,
|
|
5911
|
-
DbxFirebaseNotificationItemViewComponent,
|
|
5912
|
-
DbxFirebaseNotificationItemDefaultViewComponent,
|
|
5913
|
-
// container
|
|
5914
|
-
DbxFirebaseNotificationItemStorePopoverButtonComponent,
|
|
5915
|
-
DbxFirebaseNotificationItemStorePopoverComponent,
|
|
5916
|
-
// stores
|
|
5917
|
-
DbxFirebaseNotificationBoxCollectionStoreDirective,
|
|
5918
|
-
DbxFirebaseNotificationBoxDocumentStoreDirective,
|
|
5919
|
-
DbxFirebaseNotificationSummaryCollectionStoreDirective,
|
|
5920
|
-
DbxFirebaseNotificationSummaryDocumentStoreDirective,
|
|
5921
|
-
DbxFirebaseNotificationUserCollectionStoreDirective,
|
|
5922
|
-
DbxFirebaseNotificationUserDocumentStoreDirective] });
|
|
5923
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationModule, imports: [
|
|
5924
|
-
// components
|
|
5925
|
-
DbxFirebaseNotificationItemListComponent,
|
|
5926
|
-
DbxFirebaseNotificationItemListViewComponent,
|
|
5927
|
-
DbxFirebaseNotificationItemViewComponent,
|
|
5928
|
-
// container
|
|
5929
|
-
DbxFirebaseNotificationItemStorePopoverButtonComponent,
|
|
5930
|
-
DbxFirebaseNotificationItemStorePopoverComponent] });
|
|
5931
|
-
}
|
|
5932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseNotificationModule, decorators: [{
|
|
5933
|
-
type: NgModule,
|
|
5934
|
-
args: [{
|
|
5935
|
-
imports: importsAndExports$2,
|
|
5936
|
-
exports: importsAndExports$2
|
|
5937
|
-
}]
|
|
5938
|
-
}] });
|
|
5568
|
+
}], ctorParameters: () => [] });
|
|
5939
5569
|
|
|
5940
5570
|
/**
|
|
5941
5571
|
* Creates EnvironmentProviders that provides a DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationItemWidgetService and AppNotificationTemplateTypeInfoRecordService.
|
|
@@ -5959,22 +5589,16 @@ function provideDbxFirebaseNotifications(config) {
|
|
|
5959
5589
|
useClass: DbxFirebaseNotificationTemplateService
|
|
5960
5590
|
},
|
|
5961
5591
|
// service initialization
|
|
5962
|
-
{
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
}
|
|
5973
|
-
};
|
|
5974
|
-
},
|
|
5975
|
-
deps: [DbxFirebaseNotificationItemWidgetService],
|
|
5976
|
-
multi: true
|
|
5977
|
-
}
|
|
5592
|
+
provideAppInitializer(() => {
|
|
5593
|
+
const dbxFirebaseNotificationItemWidgetService = inject(DbxFirebaseNotificationItemWidgetService);
|
|
5594
|
+
// register the default widget
|
|
5595
|
+
if (config.defaultNotificationItemWidget !== false) {
|
|
5596
|
+
const widget = config.defaultNotificationItemWidget ?? DbxFirebaseNotificationItemDefaultViewComponent;
|
|
5597
|
+
dbxFirebaseNotificationItemWidgetService.registerDefaultWidget({
|
|
5598
|
+
componentClass: widget
|
|
5599
|
+
});
|
|
5600
|
+
}
|
|
5601
|
+
})
|
|
5978
5602
|
];
|
|
5979
5603
|
return makeEnvironmentProviders(providers);
|
|
5980
5604
|
}
|
|
@@ -6057,10 +5681,10 @@ class DbxFirebaseStorageFileDownloadStorage {
|
|
|
6057
5681
|
const storageKey = `sf_dl_cache_${uid}`;
|
|
6058
5682
|
return storageKey;
|
|
6059
5683
|
}
|
|
6060
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6061
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5684
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadStorage, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5685
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadStorage });
|
|
6062
5686
|
}
|
|
6063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadStorage, decorators: [{
|
|
6064
5688
|
type: Injectable
|
|
6065
5689
|
}] });
|
|
6066
5690
|
|
|
@@ -6208,10 +5832,10 @@ class DbxFirebaseStorageFileDownloadService {
|
|
|
6208
5832
|
};
|
|
6209
5833
|
});
|
|
6210
5834
|
}
|
|
6211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6212
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5835
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5836
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadService });
|
|
6213
5837
|
}
|
|
6214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadService, decorators: [{
|
|
6215
5839
|
type: Injectable
|
|
6216
5840
|
}] });
|
|
6217
5841
|
|
|
@@ -6222,31 +5846,31 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6222
5846
|
/**
|
|
6223
5847
|
* The StorageFileKey to set up the download button for.
|
|
6224
5848
|
*/
|
|
6225
|
-
storageFileKey = input();
|
|
5849
|
+
storageFileKey = input(...(ngDevMode ? [undefined, { debugName: "storageFileKey" }] : []));
|
|
6226
5850
|
/**
|
|
6227
5851
|
* The download URL to use for the download button.
|
|
6228
5852
|
*/
|
|
6229
|
-
storageFileDownloadUrl = input();
|
|
5853
|
+
storageFileDownloadUrl = input(...(ngDevMode ? [undefined, { debugName: "storageFileDownloadUrl" }] : []));
|
|
6230
5854
|
/**
|
|
6231
5855
|
* The MIME type to use the embed component.
|
|
6232
5856
|
*/
|
|
6233
|
-
embedMimeType = input();
|
|
5857
|
+
embedMimeType = input(...(ngDevMode ? [undefined, { debugName: "embedMimeType" }] : []));
|
|
6234
5858
|
/**
|
|
6235
5859
|
* Whether or not to show a preview button.
|
|
6236
5860
|
*
|
|
6237
5861
|
* Defaults to true.
|
|
6238
5862
|
*/
|
|
6239
|
-
showPreviewButton = input(true);
|
|
5863
|
+
showPreviewButton = input(true, ...(ngDevMode ? [{ debugName: "showPreviewButton" }] : []));
|
|
6240
5864
|
/**
|
|
6241
5865
|
* Whether or not to pre-load the download URL from the source.
|
|
6242
5866
|
*/
|
|
6243
|
-
preload = input(undefined);
|
|
5867
|
+
preload = input(undefined, ...(ngDevMode ? [{ debugName: "preload" }] : []));
|
|
6244
5868
|
/**
|
|
6245
5869
|
* Output event emitted when the download details change.
|
|
6246
5870
|
*/
|
|
6247
5871
|
downloadDetailsChange = output();
|
|
6248
|
-
config = input();
|
|
6249
|
-
source = input();
|
|
5872
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
5873
|
+
source = input(...(ngDevMode ? [undefined, { debugName: "source" }] : []));
|
|
6250
5874
|
source$ = toObservable(this.source);
|
|
6251
5875
|
configSignal = computed(() => {
|
|
6252
5876
|
const config = this.config();
|
|
@@ -6261,23 +5885,23 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6261
5885
|
previewText: config?.previewText ?? 'View File'
|
|
6262
5886
|
};
|
|
6263
5887
|
return result;
|
|
6264
|
-
});
|
|
5888
|
+
}, ...(ngDevMode ? [{ debugName: "configSignal" }] : []));
|
|
6265
5889
|
preloadSignal = computed(() => {
|
|
6266
5890
|
const preload = this.preload();
|
|
6267
5891
|
const source = this.source();
|
|
6268
5892
|
const config = this.configSignal();
|
|
6269
5893
|
return preload ?? source?.preload ?? config.preload ?? false;
|
|
6270
|
-
});
|
|
6271
|
-
downloadUrlSignal = signal(undefined);
|
|
6272
|
-
downloadMimeTypeSignal = signal(undefined);
|
|
6273
|
-
downloadUrlExpiresAtSignal = signal(undefined);
|
|
5894
|
+
}, ...(ngDevMode ? [{ debugName: "preloadSignal" }] : []));
|
|
5895
|
+
downloadUrlSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "downloadUrlSignal" }] : []));
|
|
5896
|
+
downloadMimeTypeSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "downloadMimeTypeSignal" }] : []));
|
|
5897
|
+
downloadUrlExpiresAtSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "downloadUrlExpiresAtSignal" }] : []));
|
|
6274
5898
|
storageFileKeyFromInput$ = toObservable(this.storageFileKey).pipe(distinctUntilChanged(), shareReplay(1));
|
|
6275
5899
|
storageFileKeyFromSource$ = this.source$.pipe(map((source) => source?.storageFileKey), maybeValueFromObservableOrValue(), distinctUntilChanged(), shareReplay(1));
|
|
6276
5900
|
storageFileKey$ = combineLatest([this.storageFileKeyFromInput$, this.storageFileKeyFromSource$]).pipe(map(([storageFileKeyFromInput, storageFileKeyFromSource]) => {
|
|
6277
5901
|
return storageFileKeyFromInput ?? storageFileKeyFromSource;
|
|
6278
5902
|
}), distinctUntilChanged(), shareReplay(1));
|
|
6279
5903
|
storageFileKeySignal = toSignal(this.storageFileKey$);
|
|
6280
|
-
hasDownloadUrlSignal = computed(() => Boolean(this.downloadUrlSignal()));
|
|
5904
|
+
hasDownloadUrlSignal = computed(() => Boolean(this.downloadUrlSignal()), ...(ngDevMode ? [{ debugName: "hasDownloadUrlSignal" }] : []));
|
|
6281
5905
|
buttonStyleSignal = computed(() => {
|
|
6282
5906
|
const config = this.configSignal();
|
|
6283
5907
|
const result = {
|
|
@@ -6285,7 +5909,7 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6285
5909
|
...config.buttonStyle
|
|
6286
5910
|
};
|
|
6287
5911
|
return result;
|
|
6288
|
-
});
|
|
5912
|
+
}, ...(ngDevMode ? [{ debugName: "buttonStyleSignal" }] : []));
|
|
6289
5913
|
previewButtonStyleSignal = computed(() => {
|
|
6290
5914
|
const config = this.configSignal();
|
|
6291
5915
|
const result = {
|
|
@@ -6293,25 +5917,25 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6293
5917
|
...config.previewButtonStyle
|
|
6294
5918
|
};
|
|
6295
5919
|
return result;
|
|
6296
|
-
});
|
|
5920
|
+
}, ...(ngDevMode ? [{ debugName: "previewButtonStyleSignal" }] : []));
|
|
6297
5921
|
iconSignal = computed(() => {
|
|
6298
5922
|
const config = this.configSignal();
|
|
6299
5923
|
const hasDownloadUrl = this.hasDownloadUrlSignal();
|
|
6300
5924
|
return hasDownloadUrl ? (config.downloadReadyIcon ?? config.icon) : config.icon;
|
|
6301
|
-
});
|
|
5925
|
+
}, ...(ngDevMode ? [{ debugName: "iconSignal" }] : []));
|
|
6302
5926
|
textSignal = computed(() => {
|
|
6303
5927
|
const config = this.configSignal();
|
|
6304
5928
|
const hasDownloadUrl = this.hasDownloadUrlSignal();
|
|
6305
5929
|
return hasDownloadUrl ? (config.downloadReadyText ?? config.text) : config.text;
|
|
6306
|
-
});
|
|
5930
|
+
}, ...(ngDevMode ? [{ debugName: "textSignal" }] : []));
|
|
6307
5931
|
previewIconSignal = computed(() => {
|
|
6308
5932
|
const config = this.configSignal();
|
|
6309
5933
|
return config.previewIcon;
|
|
6310
|
-
});
|
|
5934
|
+
}, ...(ngDevMode ? [{ debugName: "previewIconSignal" }] : []));
|
|
6311
5935
|
previewTextSignal = computed(() => {
|
|
6312
5936
|
const config = this.configSignal();
|
|
6313
5937
|
return config.previewText;
|
|
6314
|
-
});
|
|
5938
|
+
}, ...(ngDevMode ? [{ debugName: "previewTextSignal" }] : []));
|
|
6315
5939
|
anchorSignal = computed(() => {
|
|
6316
5940
|
const downloadUrl = this.downloadUrlSignal();
|
|
6317
5941
|
let result;
|
|
@@ -6321,25 +5945,23 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6321
5945
|
};
|
|
6322
5946
|
}
|
|
6323
5947
|
return result;
|
|
6324
|
-
});
|
|
5948
|
+
}, ...(ngDevMode ? [{ debugName: "anchorSignal" }] : []));
|
|
6325
5949
|
storageFileDownloadUrlEffect = effect(() => {
|
|
6326
5950
|
const downloadUrl = this.storageFileDownloadUrl();
|
|
6327
5951
|
if (downloadUrl || downloadUrl === null) {
|
|
6328
5952
|
this.downloadUrlSignal.set(downloadUrl);
|
|
6329
5953
|
}
|
|
6330
|
-
}, {
|
|
6331
|
-
allowSignalWrites: true
|
|
6332
|
-
});
|
|
5954
|
+
}, { ...(ngDevMode ? { debugName: "storageFileDownloadUrlEffect" } : {}), allowSignalWrites: true });
|
|
6333
5955
|
// Preview
|
|
6334
5956
|
showPreviewButtonSignal = computed(() => {
|
|
6335
5957
|
const config = this.configSignal();
|
|
6336
5958
|
const hasDownloadUrl = this.hasDownloadUrlSignal();
|
|
6337
5959
|
return hasDownloadUrl && (config.showPreviewButton ?? true);
|
|
6338
|
-
});
|
|
5960
|
+
}, ...(ngDevMode ? [{ debugName: "showPreviewButtonSignal" }] : []));
|
|
6339
5961
|
openCustomPreviewSignal = computed(() => {
|
|
6340
5962
|
const config = this.configSignal();
|
|
6341
5963
|
return config.openCustomPreview;
|
|
6342
|
-
});
|
|
5964
|
+
}, ...(ngDevMode ? [{ debugName: "openCustomPreviewSignal" }] : []));
|
|
6343
5965
|
handleOpenPreviewDialog = () => {
|
|
6344
5966
|
const openPreview = this.openCustomPreviewSignal();
|
|
6345
5967
|
const srcUrl = this.downloadUrlSignal();
|
|
@@ -6363,9 +5985,7 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6363
5985
|
this.downloadMimeTypeSignal.set(cachedPair.mimeType);
|
|
6364
5986
|
this.downloadUrlExpiresAtSignal.set(cachedPair.expiresAt);
|
|
6365
5987
|
}
|
|
6366
|
-
}, {
|
|
6367
|
-
allowSignalWrites: true
|
|
6368
|
-
});
|
|
5988
|
+
}, { ...(ngDevMode ? { debugName: "cachedUrlEffect" } : {}), allowSignalWrites: true });
|
|
6369
5989
|
// Expiration Effect
|
|
6370
5990
|
downloadUrlExpiresAtDate$ = toObservable(this.downloadUrlExpiresAtSignal).pipe(map(dateFromDateOrTimeSecondsNumber), distinctUntilChanged(isSameDate), shareReplay(1));
|
|
6371
5991
|
downloadUrlExpiresAtDateSignal = toSignal(this.downloadUrlExpiresAtDate$);
|
|
@@ -6387,9 +6007,7 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6387
6007
|
this.downloadMimeTypeSignal.set(undefined);
|
|
6388
6008
|
this.downloadUrlExpiresAtSignal.set(undefined);
|
|
6389
6009
|
}
|
|
6390
|
-
}, {
|
|
6391
|
-
allowSignalWrites: true
|
|
6392
|
-
});
|
|
6010
|
+
}, { ...(ngDevMode ? { debugName: "downloadUrlHasExpiredEffect" } : {}), allowSignalWrites: true });
|
|
6393
6011
|
// Output Effect
|
|
6394
6012
|
downloadDetailsSignal = computed(() => {
|
|
6395
6013
|
const downloadUrl = this.downloadUrlSignal();
|
|
@@ -6403,20 +6021,18 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6403
6021
|
}
|
|
6404
6022
|
: undefined;
|
|
6405
6023
|
return details;
|
|
6406
|
-
});
|
|
6024
|
+
}, ...(ngDevMode ? [{ debugName: "downloadDetailsSignal" }] : []));
|
|
6407
6025
|
downloadDetailsChangedEffect = effect(() => {
|
|
6408
6026
|
const details = this.downloadDetailsSignal();
|
|
6409
6027
|
this.downloadDetailsChange.emit(details);
|
|
6410
|
-
});
|
|
6028
|
+
}, ...(ngDevMode ? [{ debugName: "downloadDetailsChangedEffect" }] : []));
|
|
6411
6029
|
sourceDownloadDetailsChangeCallbackEffect = effect(() => {
|
|
6412
6030
|
const details = this.downloadDetailsSignal();
|
|
6413
6031
|
const source = this.source();
|
|
6414
6032
|
if (source?.downloadDetailsChangeCallback) {
|
|
6415
6033
|
source.downloadDetailsChangeCallback(details);
|
|
6416
6034
|
}
|
|
6417
|
-
}, {
|
|
6418
|
-
allowSignalWrites: true
|
|
6419
|
-
});
|
|
6035
|
+
}, { ...(ngDevMode ? { debugName: "sourceDownloadDetailsChangeCallbackEffect" } : {}), allowSignalWrites: true });
|
|
6420
6036
|
// Handlers
|
|
6421
6037
|
handleGetDownloadUrl = (value, context) => {
|
|
6422
6038
|
const source = this.source();
|
|
@@ -6448,8 +6064,8 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6448
6064
|
handleGetDownloadUrlError(error);
|
|
6449
6065
|
}
|
|
6450
6066
|
};
|
|
6451
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6452
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
6067
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6068
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: DbxFirebaseStorageFileDownloadButtonComponent, isStandalone: true, selector: "dbx-firebase-storagefile-download-button", inputs: { storageFileKey: { classPropertyName: "storageFileKey", publicName: "storageFileKey", isSignal: true, isRequired: false, transformFunction: null }, storageFileDownloadUrl: { classPropertyName: "storageFileDownloadUrl", publicName: "storageFileDownloadUrl", isSignal: true, isRequired: false, transformFunction: null }, embedMimeType: { classPropertyName: "embedMimeType", publicName: "embedMimeType", isSignal: true, isRequired: false, transformFunction: null }, showPreviewButton: { classPropertyName: "showPreviewButton", publicName: "showPreviewButton", isSignal: true, isRequired: false, transformFunction: null }, preload: { classPropertyName: "preload", publicName: "preload", isSignal: true, isRequired: false, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { downloadDetailsChange: "downloadDetailsChange" }, ngImport: i0, template: `
|
|
6453
6069
|
<dbx-anchor dbxActionAnchor [anchor]="anchorSignal()" dbxAction [dbxActionAutoTrigger]="preloadSignal()" dbxActionSnackbarError [dbxActionDisabled]="!storageFileKeySignal()" [dbxActionValue]="storageFileKeySignal()" [dbxActionHandler]="handleGetDownloadUrl" [dbxActionSuccessHandler]="handleGetDownloadUrlSuccess" [dbxActionErrorHandler]="handleGetDownloadUrlError">
|
|
6454
6070
|
<dbx-button dbxActionButton [buttonStyle]="buttonStyleSignal()" [icon]="iconSignal()" [text]="textSignal()"></dbx-button>
|
|
6455
6071
|
</dbx-anchor>
|
|
@@ -6459,9 +6075,9 @@ class DbxFirebaseStorageFileDownloadButtonComponent {
|
|
|
6459
6075
|
<dbx-button dbxActionButton [buttonStyle]="previewButtonStyleSignal()" [icon]="previewIconSignal()" [text]="previewTextSignal()"></dbx-button>
|
|
6460
6076
|
</ng-container>
|
|
6461
6077
|
}
|
|
6462
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]
|
|
6078
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "mode"] }, { kind: "ngmodule", type: DbxActionModule }, { kind: "directive", type: i2.DbxActionDirective, selector: "dbx-action,[dbxAction]", exportAs: ["action", "dbxAction"] }, { kind: "directive", type: i2.DbxActionHandlerDirective, selector: "[dbxActionHandler]", inputs: ["dbxActionHandler"] }, { kind: "directive", type: i2.DbxActionHandlerValueDirective, selector: "[dbxActionHandlerValue]", inputs: ["dbxActionHandlerValue"] }, { kind: "directive", type: i2.DbxActionDisabledDirective, selector: "[dbxActionDisabled]", inputs: ["dbxActionDisabled"] }, { kind: "directive", type: i2.DbxActionAutoTriggerDirective, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: ["triggerDebounce", "triggerThrottle", "triggerErrorThrottle", "maxErrorsForThrottle", "triggerLimit", "dbxActionAutoTrigger", "useFastTriggerPreset", "useInstantTriggerPreset"] }, { kind: "directive", type: i2.DbxActionValueDirective, selector: "dbxActionValue,[dbxActionValue]", inputs: ["dbxActionValue"] }, { kind: "directive", type: i2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { kind: "directive", type: i2.DbxActionErrorHandlerDirective, selector: "[dbxActionErrorHandler]", inputs: ["dbxActionErrorHandler"] }, { kind: "directive", type: i2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { kind: "directive", type: DbxActionSnackbarErrorDirective, selector: "[dbxActionSnackbarError]", inputs: ["dbxActionSnackbarError"] }, { kind: "directive", type: DbxActionDialogDirective, selector: "[dbxActionDialog]", inputs: ["dbxActionDialog", "dbxActionDialogIsModified", "dbxActionDialogIsEqual"], exportAs: ["dbxActionDialog"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6463
6079
|
}
|
|
6464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDownloadButtonComponent, decorators: [{
|
|
6465
6081
|
type: Component,
|
|
6466
6082
|
args: [{
|
|
6467
6083
|
selector: 'dbx-firebase-storagefile-download-button',
|
|
@@ -6480,7 +6096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6480
6096
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6481
6097
|
standalone: true
|
|
6482
6098
|
}]
|
|
6483
|
-
}] });
|
|
6099
|
+
}], propDecorators: { storageFileKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "storageFileKey", required: false }] }], storageFileDownloadUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "storageFileDownloadUrl", required: false }] }], embedMimeType: [{ type: i0.Input, args: [{ isSignal: true, alias: "embedMimeType", required: false }] }], showPreviewButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPreviewButton", required: false }] }], preload: [{ type: i0.Input, args: [{ isSignal: true, alias: "preload", required: false }] }], downloadDetailsChange: [{ type: i0.Output, args: ["downloadDetailsChange"] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], source: [{ type: i0.Input, args: [{ isSignal: true, alias: "source", required: false }] }] } });
|
|
6484
6100
|
|
|
6485
6101
|
/**
|
|
6486
6102
|
* Store used for selecting a specific NotificationItem from a list of notification items.
|
|
@@ -6532,10 +6148,10 @@ class DbxFirebaseStorageFileUploadStore extends ComponentStore {
|
|
|
6532
6148
|
* Sets the upload result.
|
|
6533
6149
|
*/
|
|
6534
6150
|
setUploadResult = this.updater((state, uploadResult) => ({ ...state, isUploadHandlerWorking: false, uploadProgress: undefined, uploadResult }));
|
|
6535
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6536
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6152
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadStore });
|
|
6537
6153
|
}
|
|
6538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadStore, decorators: [{
|
|
6539
6155
|
type: Injectable
|
|
6540
6156
|
}], ctorParameters: () => [] });
|
|
6541
6157
|
|
|
@@ -6819,7 +6435,7 @@ class DbxFirebaseStorageFileUploadActionHandlerDirective {
|
|
|
6819
6435
|
*
|
|
6820
6436
|
* Defaults to false.
|
|
6821
6437
|
*/
|
|
6822
|
-
triggerOnFiles = input(false);
|
|
6438
|
+
triggerOnFiles = input(false, ...(ngDevMode ? [{ debugName: "triggerOnFiles" }] : []));
|
|
6823
6439
|
triggerOnFiles$ = toObservable(this.triggerOnFiles);
|
|
6824
6440
|
/**
|
|
6825
6441
|
* Uploading of all/any files should be cancelled if any file fails to upload.
|
|
@@ -6828,14 +6444,14 @@ class DbxFirebaseStorageFileUploadActionHandlerDirective {
|
|
|
6828
6444
|
*
|
|
6829
6445
|
* Defaults to false.
|
|
6830
6446
|
*/
|
|
6831
|
-
cancelUploadsOnUploadError = input(false);
|
|
6447
|
+
cancelUploadsOnUploadError = input(false, ...(ngDevMode ? [{ debugName: "cancelUploadsOnUploadError" }] : []));
|
|
6832
6448
|
/**
|
|
6833
6449
|
* The upload should fail if any file fails to upload, rather than if all files fail to upload.
|
|
6834
6450
|
*
|
|
6835
6451
|
* Defaults to false.
|
|
6836
6452
|
*/
|
|
6837
|
-
actionFailureOnUploadError = input(false);
|
|
6838
|
-
uploadHandler = input.required({ alias: 'dbxFirebaseStorageFileUploadActionHandler' });
|
|
6453
|
+
actionFailureOnUploadError = input(false, ...(ngDevMode ? [{ debugName: "actionFailureOnUploadError" }] : []));
|
|
6454
|
+
uploadHandler = input.required({ ...(ngDevMode ? { debugName: "uploadHandler" } : {}), alias: 'dbxFirebaseStorageFileUploadActionHandler' });
|
|
6839
6455
|
_uploadHandlerEffect = effect(() => {
|
|
6840
6456
|
const uploadHandler = this.uploadHandler();
|
|
6841
6457
|
let handlerFunction;
|
|
@@ -6869,7 +6485,7 @@ class DbxFirebaseStorageFileUploadActionHandlerDirective {
|
|
|
6869
6485
|
handlerFunction = undefined;
|
|
6870
6486
|
}
|
|
6871
6487
|
this._dbxActionHandlerInstance.setHandlerFunction(handlerFunction);
|
|
6872
|
-
});
|
|
6488
|
+
}, ...(ngDevMode ? [{ debugName: "_uploadHandlerEffect" }] : []));
|
|
6873
6489
|
files$ = this.uploadStore.files$;
|
|
6874
6490
|
uploadHandler$ = toObservable(this.uploadHandler);
|
|
6875
6491
|
constructor() {
|
|
@@ -6898,46 +6514,46 @@ class DbxFirebaseStorageFileUploadActionHandlerDirective {
|
|
|
6898
6514
|
// sync progress amount
|
|
6899
6515
|
this.source.setWorkProgress(this.uploadStore.latestProgressEvent$.pipe(throttleTime(100, undefined, { leading: true, trailing: true }), map((x) => x?.overallProgress), distinctUntilChanged()));
|
|
6900
6516
|
}
|
|
6901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6902
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
6517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadActionHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6518
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseStorageFileUploadActionHandlerDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadActionHandler]", inputs: { triggerOnFiles: { classPropertyName: "triggerOnFiles", publicName: "triggerOnFiles", isSignal: true, isRequired: false, transformFunction: null }, cancelUploadsOnUploadError: { classPropertyName: "cancelUploadsOnUploadError", publicName: "cancelUploadsOnUploadError", isSignal: true, isRequired: false, transformFunction: null }, actionFailureOnUploadError: { classPropertyName: "actionFailureOnUploadError", publicName: "actionFailureOnUploadError", isSignal: true, isRequired: false, transformFunction: null }, uploadHandler: { classPropertyName: "uploadHandler", publicName: "dbxFirebaseStorageFileUploadActionHandler", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
6903
6519
|
}
|
|
6904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadActionHandlerDirective, decorators: [{
|
|
6905
6521
|
type: Directive,
|
|
6906
6522
|
args: [{
|
|
6907
6523
|
selector: '[dbxFirebaseStorageFileUploadActionHandler]',
|
|
6908
6524
|
standalone: true
|
|
6909
6525
|
}]
|
|
6910
|
-
}], ctorParameters: () => [] });
|
|
6526
|
+
}], ctorParameters: () => [], propDecorators: { triggerOnFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerOnFiles", required: false }] }], cancelUploadsOnUploadError: [{ type: i0.Input, args: [{ isSignal: true, alias: "cancelUploadsOnUploadError", required: false }] }], actionFailureOnUploadError: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionFailureOnUploadError", required: false }] }], uploadHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFirebaseStorageFileUploadActionHandler", required: true }] }] } });
|
|
6911
6527
|
|
|
6912
6528
|
class StorageFileCollectionStore extends AbstractDbxFirebaseCollectionStore {
|
|
6913
6529
|
storageFileFunctions = inject(StorageFileFunctions);
|
|
6914
|
-
constructor(
|
|
6915
|
-
super({ firestoreCollection:
|
|
6530
|
+
constructor() {
|
|
6531
|
+
super({ firestoreCollection: inject(StorageFileFirestoreCollections).storageFileCollection });
|
|
6916
6532
|
}
|
|
6917
6533
|
initializeAllStorageFilesFromUpload = firebaseCollectionStoreCreateFunction(this, this.storageFileFunctions.storageFile.createStorageFile.allFromUpload);
|
|
6918
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6919
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6534
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileCollectionStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6535
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileCollectionStore });
|
|
6920
6536
|
}
|
|
6921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileCollectionStore, decorators: [{
|
|
6922
6538
|
type: Injectable
|
|
6923
|
-
}], ctorParameters: () => [
|
|
6539
|
+
}], ctorParameters: () => [] });
|
|
6924
6540
|
|
|
6925
6541
|
class DbxFirebaseStorageFileCollectionStoreDirective extends DbxFirebaseCollectionStoreDirective {
|
|
6926
|
-
constructor(
|
|
6927
|
-
super(
|
|
6542
|
+
constructor() {
|
|
6543
|
+
super(inject(StorageFileCollectionStore));
|
|
6928
6544
|
this.setConstraints([]);
|
|
6929
6545
|
}
|
|
6930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6931
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileCollectionStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6547
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseStorageFileCollectionStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileCollection]", providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseStorageFileCollectionStoreDirective, StorageFileCollectionStore), usesInheritance: true, ngImport: i0 });
|
|
6932
6548
|
}
|
|
6933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileCollectionStoreDirective, decorators: [{
|
|
6934
6550
|
type: Directive,
|
|
6935
6551
|
args: [{
|
|
6936
6552
|
selector: '[dbxFirebaseStorageFileCollection]',
|
|
6937
6553
|
providers: provideDbxFirebaseCollectionStoreDirective(DbxFirebaseStorageFileCollectionStoreDirective, StorageFileCollectionStore),
|
|
6938
6554
|
standalone: true
|
|
6939
6555
|
}]
|
|
6940
|
-
}], ctorParameters: () => [
|
|
6556
|
+
}], ctorParameters: () => [] });
|
|
6941
6557
|
|
|
6942
6558
|
class StorageFileDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
6943
6559
|
storageFileFunctions = inject(StorageFileFunctions);
|
|
@@ -6951,28 +6567,28 @@ class StorageFileDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
6951
6567
|
processStorageFile = firebaseDocumentStoreUpdateFunction(this, this.storageFileFunctions.storageFile.updateStorageFile.process);
|
|
6952
6568
|
deleteStorageFile = firebaseDocumentStoreDeleteFunction(this, this.storageFileFunctions.storageFile.deleteStorageFile.delete);
|
|
6953
6569
|
downloadStorageFile = firebaseDocumentStoreReadFunction(this, this.storageFileFunctions.storageFile.readStorageFile.download);
|
|
6954
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6955
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6571
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileDocumentStore });
|
|
6956
6572
|
}
|
|
6957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileDocumentStore, decorators: [{
|
|
6958
6574
|
type: Injectable
|
|
6959
6575
|
}], ctorParameters: () => [] });
|
|
6960
6576
|
|
|
6961
6577
|
class DbxFirebaseStorageFileDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective {
|
|
6962
|
-
constructor(
|
|
6963
|
-
super(
|
|
6578
|
+
constructor() {
|
|
6579
|
+
super(inject(StorageFileDocumentStore));
|
|
6964
6580
|
}
|
|
6965
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6966
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6581
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6582
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseStorageFileDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseStorageFileDocumentStoreDirective, StorageFileDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
6967
6583
|
}
|
|
6968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileDocumentStoreDirective, decorators: [{
|
|
6969
6585
|
type: Directive,
|
|
6970
6586
|
args: [{
|
|
6971
6587
|
selector: '[dbxFirebaseStorageFileDocument]',
|
|
6972
6588
|
providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseStorageFileDocumentStoreDirective, StorageFileDocumentStore),
|
|
6973
6589
|
standalone: true
|
|
6974
6590
|
}]
|
|
6975
|
-
}], ctorParameters: () => [
|
|
6591
|
+
}], ctorParameters: () => [] });
|
|
6976
6592
|
|
|
6977
6593
|
class StorageFileGroupDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
6978
6594
|
storageFileFunctions = inject(StorageFileFunctions);
|
|
@@ -6981,28 +6597,28 @@ class StorageFileGroupDocumentStore extends AbstractDbxFirebaseDocumentStore {
|
|
|
6981
6597
|
}
|
|
6982
6598
|
updateStorageFileGroup = firebaseDocumentStoreUpdateFunction(this, this.storageFileFunctions.storageFileGroup.updateStorageFileGroup.update);
|
|
6983
6599
|
regenerateStorageFileGroupContent = firebaseDocumentStoreCrudFunction(this.storageFileFunctions.storageFileGroup.updateStorageFileGroup.regenerateContent);
|
|
6984
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6985
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileGroupDocumentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6601
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileGroupDocumentStore });
|
|
6986
6602
|
}
|
|
6987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: StorageFileGroupDocumentStore, decorators: [{
|
|
6988
6604
|
type: Injectable
|
|
6989
6605
|
}], ctorParameters: () => [] });
|
|
6990
6606
|
|
|
6991
6607
|
class DbxFirebaseStorageFileGroupDocumentStoreDirective extends DbxFirebaseDocumentStoreDirective {
|
|
6992
|
-
constructor(
|
|
6993
|
-
super(
|
|
6608
|
+
constructor() {
|
|
6609
|
+
super(inject(StorageFileGroupDocumentStore));
|
|
6994
6610
|
}
|
|
6995
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6996
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6611
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileGroupDocumentStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6612
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseStorageFileGroupDocumentStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileGroupDocument]", providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseStorageFileGroupDocumentStoreDirective, StorageFileGroupDocumentStore), usesInheritance: true, ngImport: i0 });
|
|
6997
6613
|
}
|
|
6998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileGroupDocumentStoreDirective, decorators: [{
|
|
6999
6615
|
type: Directive,
|
|
7000
6616
|
args: [{
|
|
7001
6617
|
selector: '[dbxFirebaseStorageFileGroupDocument]',
|
|
7002
6618
|
providers: provideDbxFirebaseDocumentStoreDirective(DbxFirebaseStorageFileGroupDocumentStoreDirective, StorageFileGroupDocumentStore),
|
|
7003
6619
|
standalone: true
|
|
7004
6620
|
}]
|
|
7005
|
-
}], ctorParameters: () => [
|
|
6621
|
+
}], ctorParameters: () => [] });
|
|
7006
6622
|
|
|
7007
6623
|
/**
|
|
7008
6624
|
* Directive that passes the upload result to a StorageFileDocumentStore to initialize the document immediately.
|
|
@@ -7012,7 +6628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7012
6628
|
class DbxFirebaseStorageFileUploadInitializeDocumentDirective {
|
|
7013
6629
|
uploadStore = inject(DbxFirebaseStorageFileUploadStore);
|
|
7014
6630
|
storageFileDocumentStore = inject(StorageFileDocumentStore);
|
|
7015
|
-
initializeWithExpediteProcessing = input();
|
|
6631
|
+
initializeWithExpediteProcessing = input(...(ngDevMode ? [undefined, { debugName: "initializeWithExpediteProcessing" }] : []));
|
|
7016
6632
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
7017
6633
|
_dbxActionHandlerInstance = clean(new DbxActionHandlerInstance(this.source));
|
|
7018
6634
|
constructor() {
|
|
@@ -7034,35 +6650,35 @@ class DbxFirebaseStorageFileUploadInitializeDocumentDirective {
|
|
|
7034
6650
|
});
|
|
7035
6651
|
this._dbxActionHandlerInstance.init();
|
|
7036
6652
|
}
|
|
7037
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7038
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
6653
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadInitializeDocumentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6654
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseStorageFileUploadInitializeDocumentDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadInitializeDocument]", inputs: { initializeWithExpediteProcessing: { classPropertyName: "initializeWithExpediteProcessing", publicName: "initializeWithExpediteProcessing", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dbxFirebaseStorageFileUploadInitializeDocument"], ngImport: i0 });
|
|
7039
6655
|
}
|
|
7040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadInitializeDocumentDirective, decorators: [{
|
|
7041
6657
|
type: Directive,
|
|
7042
6658
|
args: [{
|
|
7043
6659
|
selector: '[dbxFirebaseStorageFileUploadInitializeDocument]',
|
|
7044
6660
|
exportAs: 'dbxFirebaseStorageFileUploadInitializeDocument',
|
|
7045
6661
|
standalone: true
|
|
7046
6662
|
}]
|
|
7047
|
-
}], ctorParameters: () => [] });
|
|
6663
|
+
}], ctorParameters: () => [], propDecorators: { initializeWithExpediteProcessing: [{ type: i0.Input, args: [{ isSignal: true, alias: "initializeWithExpediteProcessing", required: false }] }] } });
|
|
7048
6664
|
|
|
7049
6665
|
/**
|
|
7050
6666
|
* Directive that provides a DbxFirebaseStorageFileUploadStore, and sync's the inputs to the store.
|
|
7051
6667
|
*/
|
|
7052
6668
|
class DbxFirebaseStorageFileUploadStoreDirective {
|
|
7053
6669
|
uploadStore = inject(DbxFirebaseStorageFileUploadStore);
|
|
7054
|
-
multipleUpload = input();
|
|
7055
|
-
fileTypesAccepted = input();
|
|
6670
|
+
multipleUpload = input(...(ngDevMode ? [undefined, { debugName: "multipleUpload" }] : []));
|
|
6671
|
+
fileTypesAccepted = input(...(ngDevMode ? [undefined, { debugName: "fileTypesAccepted" }] : []));
|
|
7056
6672
|
fileTypesAccepted$ = toObservable(this.fileTypesAccepted).pipe(skipAllInitialMaybe(), shareReplay(1));
|
|
7057
6673
|
isMultiUploadAllowed$ = toObservable(this.multipleUpload).pipe(skipAllInitialMaybe(), shareReplay(1));
|
|
7058
6674
|
constructor() {
|
|
7059
6675
|
cleanSubscription(this.fileTypesAccepted$.subscribe((x) => this.uploadStore.setFileTypesAccepted(x)));
|
|
7060
6676
|
cleanSubscription(this.isMultiUploadAllowed$.subscribe((x) => this.uploadStore.setIsMultiUploadAllowed(x)));
|
|
7061
6677
|
}
|
|
7062
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7063
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
6678
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6679
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: DbxFirebaseStorageFileUploadStoreDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadStore]", inputs: { multipleUpload: { classPropertyName: "multipleUpload", publicName: "multipleUpload", isSignal: true, isRequired: false, transformFunction: null }, fileTypesAccepted: { classPropertyName: "fileTypesAccepted", publicName: "fileTypesAccepted", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DbxFirebaseStorageFileUploadStore], exportAs: ["dbxFirebaseStorageFileUploadStore"], ngImport: i0 });
|
|
7064
6680
|
}
|
|
7065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadStoreDirective, decorators: [{
|
|
7066
6682
|
type: Directive,
|
|
7067
6683
|
args: [{
|
|
7068
6684
|
selector: '[dbxFirebaseStorageFileUploadStore]',
|
|
@@ -7070,7 +6686,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7070
6686
|
providers: [DbxFirebaseStorageFileUploadStore],
|
|
7071
6687
|
standalone: true
|
|
7072
6688
|
}]
|
|
7073
|
-
}], ctorParameters: () => [] });
|
|
6689
|
+
}], ctorParameters: () => [], propDecorators: { multipleUpload: [{ type: i0.Input, args: [{ isSignal: true, alias: "multipleUpload", required: false }] }], fileTypesAccepted: [{ type: i0.Input, args: [{ isSignal: true, alias: "fileTypesAccepted", required: false }] }] } });
|
|
7074
6690
|
|
|
7075
6691
|
/**
|
|
7076
6692
|
* Directive that syncs a DbxFirebaseStorageFileUploadStore's configuration to a DbxFileUploadComponent.
|
|
@@ -7083,10 +6699,10 @@ class DbxFirebaseStorageFileUploadSyncDirective {
|
|
|
7083
6699
|
cleanSubscription(this.uploadStore.isMultiUploadAllowed$.subscribe((x) => this.uploadComponent.setMultiple(x)));
|
|
7084
6700
|
cleanSubscription(this.uploadComponent.filesChanged.subscribe((files) => this.uploadStore.setFiles(files.matchResult.accepted)));
|
|
7085
6701
|
}
|
|
7086
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7087
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
6702
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadSyncDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6703
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: DbxFirebaseStorageFileUploadSyncDirective, isStandalone: true, selector: "[dbxFirebaseStorageFileUploadSync]", exportAs: ["dbxFirebaseStorageFileUploadSync"], ngImport: i0 });
|
|
7088
6704
|
}
|
|
7089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadSyncDirective, decorators: [{
|
|
7090
6706
|
type: Directive,
|
|
7091
6707
|
args: [{
|
|
7092
6708
|
selector: '[dbxFirebaseStorageFileUploadSync]',
|
|
@@ -7095,7 +6711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7095
6711
|
}]
|
|
7096
6712
|
}], ctorParameters: () => [] });
|
|
7097
6713
|
|
|
7098
|
-
const importsAndExports
|
|
6714
|
+
const importsAndExports = [
|
|
7099
6715
|
// dbx-core/dbx-web modules/components
|
|
7100
6716
|
DbxActionModule,
|
|
7101
6717
|
DbxLoadingComponent,
|
|
@@ -7124,8 +6740,8 @@ const importsAndExports$1 = [
|
|
|
7124
6740
|
* - DbxFirebaseStorageFileUploadStore
|
|
7125
6741
|
*/
|
|
7126
6742
|
class DbxFirebaseStorageFileUploadModule {
|
|
7127
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7128
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
6743
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6744
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, imports: [
|
|
7129
6745
|
// dbx-core/dbx-web modules/components
|
|
7130
6746
|
DbxActionModule,
|
|
7131
6747
|
DbxLoadingComponent,
|
|
@@ -7156,7 +6772,7 @@ class DbxFirebaseStorageFileUploadModule {
|
|
|
7156
6772
|
// stores
|
|
7157
6773
|
DbxFirebaseStorageFileCollectionStoreDirective,
|
|
7158
6774
|
DbxFirebaseStorageFileDocumentStoreDirective] });
|
|
7159
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6775
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, imports: [
|
|
7160
6776
|
// dbx-core/dbx-web modules/components
|
|
7161
6777
|
DbxActionModule,
|
|
7162
6778
|
DbxLoadingComponent,
|
|
@@ -7164,11 +6780,11 @@ class DbxFirebaseStorageFileUploadModule {
|
|
|
7164
6780
|
// dbx-core/dbx-web modules/components
|
|
7165
6781
|
DbxActionModule] });
|
|
7166
6782
|
}
|
|
7167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageFileUploadModule, decorators: [{
|
|
7168
6784
|
type: NgModule,
|
|
7169
6785
|
args: [{
|
|
7170
|
-
imports: importsAndExports
|
|
7171
|
-
exports: importsAndExports
|
|
6786
|
+
imports: importsAndExports,
|
|
6787
|
+
exports: importsAndExports
|
|
7172
6788
|
}]
|
|
7173
6789
|
}] });
|
|
7174
6790
|
|
|
@@ -7210,10 +6826,10 @@ class FlatFirestoreModelKeyPipe {
|
|
|
7210
6826
|
return '';
|
|
7211
6827
|
}
|
|
7212
6828
|
}
|
|
7213
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7214
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
6829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: FlatFirestoreModelKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6830
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: FlatFirestoreModelKeyPipe, isStandalone: true, name: "flatFirestoreModelKey" });
|
|
7215
6831
|
}
|
|
7216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: FlatFirestoreModelKeyPipe, decorators: [{
|
|
7217
6833
|
type: Pipe,
|
|
7218
6834
|
args: [{ name: 'flatFirestoreModelKey', standalone: true }]
|
|
7219
6835
|
}] });
|
|
@@ -7227,33 +6843,14 @@ class TwoWayFlatFirestoreModelKeyPipe {
|
|
|
7227
6843
|
return '';
|
|
7228
6844
|
}
|
|
7229
6845
|
}
|
|
7230
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7231
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
6846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6847
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, isStandalone: true, name: "twoWayFlatFirestoreModelKey" });
|
|
7232
6848
|
}
|
|
7233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: TwoWayFlatFirestoreModelKeyPipe, decorators: [{
|
|
7234
6850
|
type: Pipe,
|
|
7235
6851
|
args: [{ name: 'twoWayFlatFirestoreModelKey', standalone: true }]
|
|
7236
6852
|
}] });
|
|
7237
6853
|
|
|
7238
|
-
const importsAndExports = [FlatFirestoreModelKeyPipe, TwoWayFlatFirestoreModelKeyPipe];
|
|
7239
|
-
/**
|
|
7240
|
-
* Imports and exports all DbxFirebasePipe components.
|
|
7241
|
-
*
|
|
7242
|
-
* @deprecated consider importing the individual pipes instead.
|
|
7243
|
-
*/
|
|
7244
|
-
class DbxFirebasePipeModule {
|
|
7245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7246
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule, imports: [FlatFirestoreModelKeyPipe, TwoWayFlatFirestoreModelKeyPipe], exports: [FlatFirestoreModelKeyPipe, TwoWayFlatFirestoreModelKeyPipe] });
|
|
7247
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule });
|
|
7248
|
-
}
|
|
7249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebasePipeModule, decorators: [{
|
|
7250
|
-
type: NgModule,
|
|
7251
|
-
args: [{
|
|
7252
|
-
imports: importsAndExports,
|
|
7253
|
-
exports: importsAndExports
|
|
7254
|
-
}]
|
|
7255
|
-
}] });
|
|
7256
|
-
|
|
7257
6854
|
const DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY = 'id';
|
|
7258
6855
|
const DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY = 'key';
|
|
7259
6856
|
const DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE = '0';
|
|
@@ -7339,10 +6936,10 @@ class DbxFirebaseStorageService {
|
|
|
7339
6936
|
folder(path) {
|
|
7340
6937
|
return this.storageContext.folder(path);
|
|
7341
6938
|
}
|
|
7342
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7343
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6940
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageService, providedIn: 'root' });
|
|
7344
6941
|
}
|
|
7345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseStorageService, decorators: [{
|
|
7346
6943
|
type: Injectable,
|
|
7347
6944
|
args: [{
|
|
7348
6945
|
providedIn: 'root'
|
|
@@ -7387,31 +6984,12 @@ function providedDbxFirebaseStorage(config) {
|
|
|
7387
6984
|
return makeEnvironmentProviders(providers);
|
|
7388
6985
|
}
|
|
7389
6986
|
|
|
7390
|
-
/**
|
|
7391
|
-
* @deprecated use providedDbxFirebaseStorage() instead.
|
|
7392
|
-
*/
|
|
7393
|
-
class DbxFirebaseStorageModule {
|
|
7394
|
-
static forRoot(config) {
|
|
7395
|
-
return {
|
|
7396
|
-
ngModule: DbxFirebaseStorageModule,
|
|
7397
|
-
providers: [providedDbxFirebaseStorage(config)]
|
|
7398
|
-
};
|
|
7399
|
-
}
|
|
7400
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseStorageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7401
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseStorageModule });
|
|
7402
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseStorageModule });
|
|
7403
|
-
}
|
|
7404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DbxFirebaseStorageModule, decorators: [{
|
|
7405
|
-
type: NgModule,
|
|
7406
|
-
args: [{}]
|
|
7407
|
-
}] });
|
|
7408
|
-
|
|
7409
6987
|
class DbxFirebaseModule {
|
|
7410
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7411
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7412
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6988
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6989
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModule, exports: [DbxFirebaseModelModule] });
|
|
6990
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModule, imports: [DbxFirebaseModelModule] });
|
|
7413
6991
|
}
|
|
7414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: DbxFirebaseModule, decorators: [{
|
|
7415
6993
|
type: NgModule,
|
|
7416
6994
|
args: [{
|
|
7417
6995
|
exports: [DbxFirebaseModelModule]
|
|
@@ -7473,5 +7051,5 @@ function provideDbxFirebase(config) {
|
|
|
7473
7051
|
* Generated bundle index. Do not edit.
|
|
7474
7052
|
*/
|
|
7475
7053
|
|
|
7476
|
-
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE, DBX_FIREBASE_LOGIN_COMPONENTS, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN, DBX_FIREBASE_STORAGEFILE_DOWNLOAD_STORAGE_ACCESSOR_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_TOKEN, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_NOTIFICATION_ITEM_STORE_POPOVER_KEY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN, DEFAULT_FIREBASE_COLLECTION_CHANGE_TRIGGER_FUNCTION, DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY, DEFAULT_FIREBASE_DEVELOPMENT_SCHEDULER_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY, DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthLoginService, DbxFirebaseAuthModule, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDefaultFirebaseProvidersModule, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, DbxFirebaseEmulatorModule, DbxFirebaseEmulatorService, DbxFirebaseFirestoreCollectionModule, DbxFirebaseFunctionsModule, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginModule, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseModelContextService, DbxFirebaseModelEntitiesComponent, DbxFirebaseModelEntitiesDebugWidgetComponent, DbxFirebaseModelEntitiesPopoverButtonComponent, DbxFirebaseModelEntitiesPopoverComponent, DbxFirebaseModelEntitiesSource, DbxFirebaseModelEntitiesWidgetService, DbxFirebaseModelEntitiesWidgetServiceConfig, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryModule, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelKeyComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesModule, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModelViewedEventDirective, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationCollectionStoreDirective, DbxFirebaseNotificationDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationModule, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebasePipeModule, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageModule, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FlatFirestoreModelKeyPipe, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, importsAndExports$1 as importsAndExports, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, modelDoesNotExistError, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseEmulator, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
7054
|
+
export { AbstractConfiguredDbxFirebaseLoginButtonDirective, AbstractDbxFirebaseCollectionStore, AbstractDbxFirebaseCollectionWithParentStore, AbstractDbxFirebaseDocumentStore, AbstractDbxFirebaseDocumentWithParentStore, AbstractDbxFirebaseModelEntityWidgetDirective, AbstractDbxFirebaseNotificationItemWidgetComponent, AbstractRootSingleItemDbxFirebaseDocument, AbstractSingleItemDbxFirebaseDocument, AbstractSystemStateDocumentStoreAccessor, DBX_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_COMPONENT_CONFIGURATION, DBX_FIREBASE_APP_OPTIONS_TOKEN, DBX_FIREBASE_DOCUMENT_STORE_CONTEXT_STORE_TOKEN, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_ID_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_FIREBASE_ID_ROUTER_PARAM_DEFAULT_USE_PARAM_VALUE, DBX_FIREBASE_MODEL_DOES_NOT_EXIST_ERROR, DBX_FIREBASE_MODEL_ENTITY_WITH_STORE_TOKEN, DBX_FIREBASE_STORAGEFILE_DOWNLOAD_STORAGE_ACCESSOR_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_CONFIG_TOKEN, DBX_FIREBASE_STORAGE_CONTEXT_TOKEN, DBX_FIRESTORE_CONTEXT_TOKEN, DEFAULT_CONFIGURED_DBX_FIREBASE_LOGIN_BUTTON_TEMPLATE, DEFAULT_DBX_FIREBASE_ANALYTICS_USER_PROPERTIES_FACTORY, DEFAULT_DBX_FIREBASE_AUTH_SERVICE_DELEGATE, DEFAULT_DBX_FIREBASE_MODEL_ENTITIES_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_MODEL_HISTORY_COMPONENT_POPOVER_KEY, DEFAULT_DBX_FIREBASE_NOTIFICATION_ITEM_STORE_POPOVER_KEY, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG, DEFAULT_FIREBASE_AUTH_LOGIN_PASSWORD_CONFIG_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_PROVIDERS_TOKEN, DEFAULT_FIREBASE_AUTH_LOGIN_TERMS_COMPONENT_CLASS_TOKEN, DEFAULT_FIREBASE_COLLECTION_CHANGE_TRIGGER_FUNCTION, DEFAULT_FIREBASE_DEVELOPMENT_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_POPUP_KEY, DEFAULT_FIREBASE_DEVELOPMENT_SCHEDULER_ENABLED_TOKEN, DEFAULT_FIREBASE_DEVELOPMENT_WIDGET_PROVIDERS_TOKEN, DEFAULT_FIREBASE_LOGIN_METHOD_CATEGORY, DEFAULT_FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE, DEVELOPMENT_FIREBASE_SERVER_SCHEDULER_WIDGET_KEY, DbxFirebaseAnalyticsUserEventsListenerService, DbxFirebaseAnalyticsUserSource, DbxFirebaseAppCheckHttpInterceptor, DbxFirebaseAuthLoginService, DbxFirebaseAuthService, DbxFirebaseAuthServiceDelegate, DbxFirebaseCollectionChangeDirective, DbxFirebaseCollectionChangeTriggerInstance, DbxFirebaseCollectionHasChangeDirective, DbxFirebaseCollectionListDirective, DbxFirebaseCollectionLoaderInstance, DbxFirebaseCollectionStoreDirective, DbxFirebaseCollectionWithParentStoreDirective, DbxFirebaseDevelopmentDirective, DbxFirebaseDevelopmentModule, DbxFirebaseDevelopmentPopupComponent, DbxFirebaseDevelopmentPopupContentComponent, DbxFirebaseDevelopmentPopupContentFormComponent, DbxFirebaseDevelopmentSchedulerListComponent, DbxFirebaseDevelopmentSchedulerListViewComponent, DbxFirebaseDevelopmentSchedulerListViewItemComponent, DbxFirebaseDevelopmentSchedulerService, DbxFirebaseDevelopmentSchedulerWidgetComponent, DbxFirebaseDevelopmentService, DbxFirebaseDevelopmentWidgetService, DbxFirebaseDocumentLoaderInstance, DbxFirebaseDocumentStoreContextModelEntitiesSourceDirective, DbxFirebaseDocumentStoreContextStore, DbxFirebaseDocumentStoreContextStoreDirective, DbxFirebaseDocumentStoreDirective, DbxFirebaseDocumentStoreIdFromTwoWayModelKeyDirective, DbxFirebaseDocumentStoreTwoWayKeyProvider, DbxFirebaseDocumentStoreTwoWayModelKeySourceDirective, DbxFirebaseEmailFormComponent, DbxFirebaseEmailRecoveryFormComponent, DbxFirebaseEmulatorService, DbxFirebaseLoginAnonymousComponent, DbxFirebaseLoginAppleComponent, DbxFirebaseLoginButtonComponent, DbxFirebaseLoginButtonContainerComponent, DbxFirebaseLoginComponent, DbxFirebaseLoginContext, DbxFirebaseLoginContextBackButtonComponent, DbxFirebaseLoginContextDirective, DbxFirebaseLoginEmailComponent, DbxFirebaseLoginEmailContentComponent, DbxFirebaseLoginFacebookComponent, DbxFirebaseLoginGitHubComponent, DbxFirebaseLoginGoogleComponent, DbxFirebaseLoginListComponent, DbxFirebaseLoginMicrosoftComponent, DbxFirebaseLoginTermsComponent, DbxFirebaseLoginTermsSimpleComponent, DbxFirebaseLoginTwitterComponent, DbxFirebaseModelContextService, DbxFirebaseModelEntitiesComponent, DbxFirebaseModelEntitiesDebugWidgetComponent, DbxFirebaseModelEntitiesPopoverButtonComponent, DbxFirebaseModelEntitiesPopoverComponent, DbxFirebaseModelEntitiesSource, DbxFirebaseModelEntitiesWidgetService, DbxFirebaseModelEntitiesWidgetServiceConfig, DbxFirebaseModelHistoryComponent, DbxFirebaseModelHistoryPopoverButtonComponent, DbxFirebaseModelHistoryPopoverComponent, DbxFirebaseModelKeyComponent, DbxFirebaseModelModule, DbxFirebaseModelStoreModule, DbxFirebaseModelTrackerService, DbxFirebaseModelTypeInstanceListComponent, DbxFirebaseModelTypeInstanceListViewComponent, DbxFirebaseModelTypeInstanceListViewItemComponent, DbxFirebaseModelTypesService, DbxFirebaseModelTypesServiceConfig, DbxFirebaseModelViewedEventDirective, DbxFirebaseModule, DbxFirebaseNotificationBoxCollectionStoreDirective, DbxFirebaseNotificationBoxDocumentStoreDirective, DbxFirebaseNotificationCollectionStoreDirective, DbxFirebaseNotificationDocumentStoreDirective, DbxFirebaseNotificationItemContentComponent, DbxFirebaseNotificationItemDefaultViewComponent, DbxFirebaseNotificationItemListComponent, DbxFirebaseNotificationItemListViewComponent, DbxFirebaseNotificationItemListViewItemComponent, DbxFirebaseNotificationItemStore, DbxFirebaseNotificationItemStorePopoverButtonComponent, DbxFirebaseNotificationItemStorePopoverComponent, DbxFirebaseNotificationItemViewComponent, DbxFirebaseNotificationItemWidgetService, DbxFirebaseNotificationSummaryCollectionStoreDirective, DbxFirebaseNotificationSummaryDocumentStoreDirective, DbxFirebaseNotificationTemplateService, DbxFirebaseNotificationUserCollectionStoreDirective, DbxFirebaseNotificationUserDocumentStoreDirective, DbxFirebaseParsedEmulatorsConfig, DbxFirebaseRegisterComponent, DbxFirebaseRegisterEmailComponent, DbxFirebaseStorageFileCollectionStoreDirective, DbxFirebaseStorageFileDocumentStoreDirective, DbxFirebaseStorageFileDownloadButtonComponent, DbxFirebaseStorageFileDownloadService, DbxFirebaseStorageFileDownloadStorage, DbxFirebaseStorageFileGroupDocumentStoreDirective, DbxFirebaseStorageFileUploadActionHandlerDirective, DbxFirebaseStorageFileUploadInitializeDocumentDirective, DbxFirebaseStorageFileUploadModule, DbxFirebaseStorageFileUploadStore, DbxFirebaseStorageFileUploadStoreDirective, DbxFirebaseStorageFileUploadSyncDirective, DbxFirebaseStorageService, DbxFirebaseSystemStateCollectionStoreDirective, DbxFirebaseSystemStateDocumentStoreDirective, DbxFirestoreContextService, DbxLimitedFirebaseDocumentLoaderInstance, FIREBASE_NOTIFICATION_ITEM_WIDGET_TYPE_PREFIX, FlatFirestoreModelKeyPipe, NotificationBoxCollectionStore, NotificationBoxDocumentStore, NotificationCollectionStore, NotificationDocumentStore, NotificationSummaryCollectionStore, NotificationSummaryDocumentStore, NotificationUserCollectionStore, NotificationUserDocumentStore, OAUTH_FIREBASE_LOGIN_METHOD_CATEGORY, StorageFileCollectionStore, StorageFileDocumentStore, StorageFileGroupDocumentStore, StorageFileUploadFilesError, SystemStateCollectionStore, SystemStateDocumentStore, TwoWayFlatFirestoreModelKeyPipe, authRolesObsWithClaimsService, authUserInfoFromAuthUser, authUserStateFromFirebaseAuthServiceFunction, dbxFirebaseAuthContextInfo, dbxFirebaseCollectionChangeTrigger, dbxFirebaseCollectionChangeTriggerForStore, dbxFirebaseCollectionChangeTriggerForWatcher, dbxFirebaseCollectionChangeWatcher, dbxFirebaseCollectionLoaderInstance, dbxFirebaseCollectionLoaderInstanceWithCollection, dbxFirebaseDocumentLoaderInstance, dbxFirebaseDocumentLoaderInstanceWithAccessor, dbxFirebaseDocumentStoreContextModelEntitiesSourceFactory, dbxFirebaseIdRouteParamRedirect, dbxFirebaseInContextFirebaseModelServiceInstance, dbxFirebaseInContextFirebaseModelServiceInstanceFactory, dbxFirebaseKeyRouteParamRedirect, dbxFirebaseModelContextServiceInfoInstanceFactory, dbxFirebaseModelEntityWidgetInjectionConfigFactory, dbxFirebaseModelTypesServiceInstance, dbxFirebaseModelTypesServiceInstancePairForKeysFactory, dbxFirebaseSourceSelectLoadSource, dbxFirebaseStorageFileDownloadServiceCustomSourceFromObs, dbxFirebaseStorageProvidersContextConfigFactory, dbxLimitedFirebaseDocumentLoaderInstance, dbxLimitedFirebaseDocumentLoaderInstanceWithAccessor, dbxWidgetTypeForNotificationTemplateType, defaultDbxFirebaseAuthServiceDelegateWithClaimsService, defaultDbxFirebaseStorageFileDownloadStorageAccessorFactory, developmentFirebaseServerSchedulerWidgetEntry, enableAppCheckDebugTokenGeneration, firebaseAuthTokenFromUser, firebaseCollectionStoreCreateFunction, firebaseCollectionStoreCrudFunction, firebaseContextServiceEntityMap, firebaseDocumentStoreCreateFunction, firebaseDocumentStoreCrudFunction, firebaseDocumentStoreDeleteFunction, firebaseDocumentStoreReadFunction, firebaseDocumentStoreUpdateFunction, importsAndExports, isDbxFirebaseModelEntityWithStore, linkDocumentStoreToParentContextStores, modelDoesNotExistError, provideDbxFirebase, provideDbxFirebaseAnalyticsUserEventsListenerService, provideDbxFirebaseApp, provideDbxFirebaseAuth, provideDbxFirebaseCollectionStoreDirective, provideDbxFirebaseCollectionWithParentStoreDirective, provideDbxFirebaseDevelopment, provideDbxFirebaseDocumentStoreContextStore, provideDbxFirebaseDocumentStoreDirective, provideDbxFirebaseDocumentStoreTwoWayKeyProvider, provideDbxFirebaseEmulator, provideDbxFirebaseFunctions, provideDbxFirebaseLogin, provideDbxFirebaseModelContextService, provideDbxFirebaseModelEntitiesWidgetService, provideDbxFirebaseNotifications, provideDbxFirebaseStorageFileService, provideDbxFirestoreCollection, provideNotificationFirestoreCollections, provideStorageFileFirestoreCollections, provideSystemStateFirestoreCollections, providedDbxFirebaseStorage, readDbxAnalyticsUserPropertiesFromAuthUserInfo, readValueFromIdToken, setParentStoreEffect, stateFromTokenForLoggedInUserFunction, storageFileUploadFiles, storageFileUploadHandler };
|
|
7477
7055
|
//# sourceMappingURL=dereekb-dbx-firebase.mjs.map
|