@sumaris-net/ngx-components 2.0.0-rc1 → 2.0.0-rc4
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/doc/changelog.md +50 -0
- package/esm2020/public_api.mjs +9 -5
- package/esm2020/src/app/admin/admin-routing.module.mjs +5 -5
- package/esm2020/src/app/admin/admin.module.mjs +13 -28
- package/esm2020/src/app/admin/services/person.service.mjs +3 -3
- package/esm2020/src/app/admin/services/validator/person.validator.mjs +3 -3
- package/esm2020/src/app/admin/users/list/users.mjs +33 -27
- package/esm2020/src/app/admin/users/list/users.module.mjs +58 -0
- package/esm2020/src/app/core/about/modal-about.mjs +3 -3
- package/esm2020/src/app/core/account/account.mjs +3 -3
- package/esm2020/src/app/core/auth/form/form-auth.mjs +3 -3
- package/esm2020/src/app/core/auth/modal/modal-auth.mjs +3 -3
- package/esm2020/src/app/core/core.module.mjs +6 -6
- package/esm2020/src/app/core/core.testing.module.mjs +26 -12
- package/esm2020/src/app/core/form/editor.class.mjs +129 -62
- package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +25 -10
- package/esm2020/src/app/core/form/entity-editor.class.mjs +10 -33
- package/esm2020/src/app/core/form/entity-metadata.component.mjs +3 -3
- package/esm2020/src/app/core/form/form-buttons-bar.component.mjs +3 -3
- package/esm2020/src/app/core/form/form.class.mjs +10 -4
- package/esm2020/src/app/core/form/form.utils.mjs +39 -4
- package/esm2020/src/app/core/form/list.form.mjs +7 -6
- package/esm2020/src/app/core/form/properties/properties.form.mjs +129 -0
- package/esm2020/src/app/core/form/properties/property.validator.mjs +23 -0
- package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +90 -0
- package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +39 -0
- package/esm2020/src/app/core/graphql/graphql.module.mjs +4 -4
- package/esm2020/src/app/core/graphql/graphql.service.mjs +3 -3
- package/esm2020/src/app/core/graphql/graphql.utils.mjs +2 -2
- package/esm2020/src/app/core/home/home.mjs +3 -3
- package/esm2020/src/app/core/icon/icon.component.mjs +5 -5
- package/esm2020/src/app/core/icon/icon.module.mjs +4 -4
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +3 -3
- package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +4 -4
- package/esm2020/src/app/core/menu/menu.component.mjs +3 -3
- package/esm2020/src/app/core/menu/menu.module.mjs +4 -4
- package/esm2020/src/app/core/menu/menu.service.mjs +3 -3
- package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +3 -3
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +3 -3
- package/esm2020/src/app/core/peer/select-peer.module.mjs +4 -4
- package/esm2020/src/app/core/register/confirm/confirm.mjs +3 -3
- package/esm2020/src/app/core/register/form/form-register.mjs +3 -3
- package/esm2020/src/app/core/register/modal/modal-register.mjs +3 -3
- package/esm2020/src/app/core/register/register.module.mjs +4 -4
- package/esm2020/src/app/core/services/account.service.mjs +5 -5
- package/esm2020/src/app/core/services/auth-guard.service.mjs +3 -3
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +8 -9
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +3 -3
- package/esm2020/src/app/core/services/config.service.mjs +5 -5
- package/esm2020/src/app/core/services/crypto.service.mjs +3 -3
- package/esm2020/src/app/core/services/local-settings.service.mjs +3 -3
- package/esm2020/src/app/core/services/model/peer.model.mjs +3 -3
- package/esm2020/src/app/core/services/model/referential.model.mjs +11 -3
- package/esm2020/src/app/core/services/network.service.mjs +21 -28
- package/esm2020/src/app/core/services/pipes/account.pipes.mjs +8 -8
- package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +4 -4
- package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +4 -4
- package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +8 -8
- package/esm2020/src/app/core/services/platform.service.mjs +3 -3
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +3 -3
- package/esm2020/src/app/core/services/testing/referential.validator.mjs +3 -3
- package/esm2020/src/app/core/services/validator/account.validator.mjs +3 -3
- package/esm2020/src/app/core/services/validator/base.validator.class.mjs +3 -3
- package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +3 -3
- package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +3 -3
- package/esm2020/src/app/core/settings/settings.page.mjs +4 -4
- package/esm2020/src/app/core/table/actions-column.component.mjs +9 -9
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +74 -65
- package/esm2020/src/app/core/table/memory-table.class.mjs +3 -3
- package/esm2020/src/app/core/table/table-select-columns.component.mjs +3 -3
- package/esm2020/src/app/core/table/table.class.mjs +223 -208
- package/esm2020/src/app/core/table/table.utils.mjs +1 -1
- package/esm2020/src/app/core/table/testing/table.testing.mjs +5 -5
- package/esm2020/src/app/core/table/testing/table.testing.module.mjs +4 -4
- package/esm2020/src/app/core/text-popover/testing/text-popover.testing.mjs +3 -3
- package/esm2020/src/app/core/text-popover/testing/text-popover.testing.module.mjs +4 -4
- package/esm2020/src/app/core/text-popover/text-form.component.mjs +3 -3
- package/esm2020/src/app/core/text-popover/text-popover.component.mjs +3 -3
- package/esm2020/src/app/shared/audio/audio.mjs +4 -4
- package/esm2020/src/app/shared/audio/audio.testing.mjs +3 -3
- package/esm2020/src/app/shared/audio/audio.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/capacitor/keyboard.mjs +3 -3
- package/esm2020/src/app/shared/debug/debug.component.mjs +39 -0
- package/esm2020/src/app/shared/debug/debug.module.mjs +44 -0
- package/esm2020/src/app/shared/directives/autofocus.directive.mjs +6 -6
- package/esm2020/src/app/shared/directives/autotitle.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/directives.module.mjs +4 -4
- package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/ng-var.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +3 -3
- package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +4 -4
- package/esm2020/src/app/shared/events.mjs +2 -2
- package/esm2020/src/app/shared/file/file.service.mjs +5 -5
- package/esm2020/src/app/shared/form/field.component.mjs +10 -7
- package/esm2020/src/app/shared/form/loading-spinner.mjs +3 -3
- package/esm2020/src/app/shared/forms.mjs +21 -2
- package/esm2020/src/app/shared/functions.mjs +23 -10
- package/esm2020/src/app/shared/gesture/gesture-config.mjs +3 -3
- package/esm2020/src/app/shared/graph/graph-colors.mjs +17 -63
- package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +3 -3
- package/esm2020/src/app/shared/help/help.modal.mjs +3 -3
- package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +3 -3
- package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +3 -3
- package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +3 -3
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +3 -3
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +3 -3
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/image/image.module.mjs +4 -4
- package/esm2020/src/app/shared/image/image.service.mjs +3 -3
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +8 -10
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +4 -4
- package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +3 -3
- package/esm2020/src/app/shared/material/badge/badge.directive.mjs +157 -0
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +32 -0
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +26 -0
- package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +4 -4
- package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +3 -3
- package/esm2020/src/app/shared/material/chips/chips.module.mjs +4 -4
- package/esm2020/src/app/shared/material/chips/material.chips.mjs +11 -13
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +3 -3
- package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +4 -4
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +79 -83
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +5 -5
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +95 -77
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +5 -5
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +5 -5
- package/esm2020/src/app/shared/material/duration/duration.module.mjs +4 -4
- package/esm2020/src/app/shared/material/duration/material.duration.mjs +3 -3
- package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +3 -3
- package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +4 -4
- package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +3 -3
- package/esm2020/src/app/shared/material/material.animations.mjs +1 -1
- package/esm2020/src/app/shared/material/material.module.mjs +10 -10
- package/esm2020/src/app/shared/material/material.testing.module.mjs +24 -12
- package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +5 -5
- package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +3 -3
- package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +3 -3
- package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +3 -3
- package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +3 -3
- package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +4 -4
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +3 -3
- package/esm2020/src/app/shared/observables.mjs +29 -22
- package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +48 -27
- package/esm2020/src/app/shared/pipes/colors.pipe.mjs +3 -3
- package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/date-from-now.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/duration.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +3 -3
- package/esm2020/src/app/shared/pipes/form.pipes.mjs +18 -18
- package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +9 -9
- package/esm2020/src/app/shared/pipes/maps.pipe.mjs +12 -12
- package/esm2020/src/app/shared/pipes/math.pipes.mjs +12 -12
- package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +3 -3
- package/esm2020/src/app/shared/pipes/number-format.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +10 -6
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +7 -7
- package/esm2020/src/app/shared/pipes/string.pipes.mjs +15 -15
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +8 -8
- package/esm2020/src/app/shared/services/entity-service.class.mjs +1 -13
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +127 -43
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +3 -3
- package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +119 -0
- package/esm2020/src/app/shared/services/startable-service.class.mjs +42 -31
- package/esm2020/src/app/shared/services/storage/storage.service.mjs +3 -3
- package/esm2020/src/app/shared/services/translate-context.service.mjs +3 -3
- package/esm2020/src/app/shared/shared-routing.module.mjs +7 -7
- package/esm2020/src/app/shared/shared.module.mjs +4 -4
- package/esm2020/src/app/shared/shared.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/testing/observable.test.mjs +96 -0
- package/esm2020/src/app/shared/testing/tests.page.mjs +3 -3
- package/esm2020/src/app/shared/toast/toast.testing.mjs +10 -11
- package/esm2020/src/app/shared/toast/toast.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/toast/toasts.mjs +38 -15
- package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +5 -5
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +9 -9
- package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +3 -3
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +3 -3
- package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +3 -3
- package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +3 -3
- package/esm2020/src/app/social/job/job.module.mjs +9 -9
- package/esm2020/src/app/social/job/job.service.mjs +27 -15
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +210 -0
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +3 -3
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +33 -31
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +27 -5
- package/esm2020/src/app/social/job/testing/job.testing.module.mjs +4 -4
- package/esm2020/src/app/social/message/message.form.mjs +3 -3
- package/esm2020/src/app/social/message/message.modal.mjs +3 -3
- package/esm2020/src/app/social/message/message.module.mjs +4 -4
- package/esm2020/src/app/social/message/message.service.mjs +3 -3
- package/esm2020/src/app/social/social.module.mjs +5 -5
- package/esm2020/src/app/social/social.testing.module.mjs +4 -4
- package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +28 -17
- package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +6 -6
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +6 -6
- package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +4 -4
- package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +3 -3
- package/esm2020/src/app/social/user-event/user-event.module.mjs +9 -9
- package/esm2020/src/app/social/user-event/user-event.service.mjs +5 -5
- package/esm2020/src/app/vendor.mjs +6 -1
- package/fesm2015/sumaris-net.ngx-components.mjs +2692 -1945
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2512 -1718
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +6 -2
- package/public_api.d.ts +8 -4
- package/src/app/admin/admin.module.d.ts +4 -8
- package/src/app/admin/users/list/users.d.ts +1 -0
- package/src/app/admin/users/list/users.module.d.ts +14 -0
- package/src/app/core/core.module.d.ts +1 -1
- package/src/app/core/core.testing.module.d.ts +2 -1
- package/src/app/core/form/editor.class.d.ts +20 -6
- package/src/app/core/form/entity-editor-modal.class.d.ts +13 -4
- package/src/app/core/form/entity-editor.class.d.ts +4 -11
- package/src/app/core/form/form.class.d.ts +2 -0
- package/src/app/core/form/form.utils.d.ts +28 -2
- package/src/app/core/form/{properties.form.d.ts → properties/properties.form.d.ts} +13 -13
- package/src/app/core/form/properties/property.validator.d.ts +13 -0
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +19 -0
- package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +12 -0
- package/src/app/core/services/model/referential.model.d.ts +6 -1
- package/src/app/core/services/network.service.d.ts +6 -8
- package/src/app/core/table/entities-table-datasource.class.d.ts +22 -15
- package/src/app/core/table/table.class.d.ts +37 -47
- package/src/app/core/table/table.utils.d.ts +2 -1
- package/src/app/shared/debug/debug.component.d.ts +13 -0
- package/src/app/shared/debug/debug.module.d.ts +12 -0
- package/src/app/shared/events.d.ts +4 -4
- package/src/app/shared/form/field.component.d.ts +4 -1
- package/src/app/shared/forms.d.ts +8 -1
- package/src/app/shared/functions.d.ts +9 -4
- package/src/app/shared/graph/graph-colors.d.ts +8 -8
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +1 -1
- package/src/app/shared/material/badge/badge.directive.d.ts +28 -0
- package/src/app/shared/material/badge/badge.module.d.ts +10 -0
- package/src/app/shared/material/badge/badge.test.d.ts +12 -0
- package/src/app/shared/material/datetime/material.date.d.ts +12 -13
- package/src/app/shared/material/datetime/material.datetime.d.ts +14 -14
- package/src/app/shared/material/material.module.d.ts +2 -2
- package/src/app/shared/material/material.testing.module.d.ts +10 -9
- package/src/app/shared/observables.d.ts +1 -1
- package/src/app/shared/pipes/arrays.pipe.d.ts +12 -2
- package/src/app/shared/pipes/pipes.module.d.ts +1 -1
- package/src/app/shared/services/entity-service.class.d.ts +0 -11
- package/src/app/shared/services/memory-entity-service.class.d.ts +20 -6
- package/src/app/shared/services/startable-observable-service.class.d.ts +33 -0
- package/src/app/shared/services/startable-service.class.d.ts +12 -9
- package/src/app/shared/testing/observable.test.d.ts +25 -0
- package/src/app/shared/toast/toast.testing.d.ts +3 -5
- package/src/app/shared/toast/toasts.d.ts +5 -2
- package/src/app/social/job/job.module.d.ts +2 -2
- package/src/app/social/job/job.service.d.ts +10 -2
- package/src/app/social/job/progression/{job-progression.component.d.ts → job-progression.icon.d.ts} +5 -5
- package/src/app/social/job/testing/job-progression.testing.d.ts +7 -4
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +4 -0
- package/src/app/social/social.module.d.ts +1 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +8 -5
- package/src/app/social/user-event/testing/user-event.testing.d.ts +2 -2
- package/src/app/social/user-event/user-event.module.d.ts +1 -1
- package/src/app/social/user-event/user-event.service.d.ts +1 -1
- package/src/app/vendor.d.ts +2 -0
- package/src/theme/_ionic.globals.scss +4 -0
- package/src/theme/_material.globals.scss +3 -1
- package/src/theme/_material.scss +29 -4
- package/src/theme/_mixins.scss +3 -3
- package/src/theme/_ngx-components.scss +26 -0
- package/esm2020/src/app/core/form/properties.form.mjs +0 -126
- package/esm2020/src/app/shared/material/badge/badge-icon.directive.mjs +0 -143
- package/esm2020/src/app/shared/material/badge/badge-icon.module.mjs +0 -32
- package/esm2020/src/app/shared/material/badge/badge-icon.test.mjs +0 -27
- package/esm2020/src/app/social/job/progression/job-progression.component.mjs +0 -201
- package/src/app/shared/material/badge/badge-icon.directive.d.ts +0 -30
- package/src/app/shared/material/badge/badge-icon.module.d.ts +0 -10
- package/src/app/shared/material/badge/badge-icon.test.d.ts +0 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
|
-
import { ControlValueAccessor, UntypedFormBuilder, UntypedFormControl
|
|
3
|
+
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { Moment } from 'moment';
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
@@ -17,7 +17,7 @@ declare interface NgxTimePicker {
|
|
|
17
17
|
open(): any;
|
|
18
18
|
close(): any;
|
|
19
19
|
}
|
|
20
|
-
export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAccessor, InputElement {
|
|
20
|
+
export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, InputElement {
|
|
21
21
|
private dateAdapter;
|
|
22
22
|
private translate;
|
|
23
23
|
private formBuilder;
|
|
@@ -29,8 +29,7 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
|
|
|
29
29
|
private _writing;
|
|
30
30
|
private _disabling;
|
|
31
31
|
private _tabindex;
|
|
32
|
-
private
|
|
33
|
-
_readonly: boolean;
|
|
32
|
+
private _readonly;
|
|
34
33
|
dayControl: UntypedFormControl;
|
|
35
34
|
hourControl: UntypedFormControl;
|
|
36
35
|
displayPattern: string;
|
|
@@ -56,29 +55,30 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
|
|
|
56
55
|
set tabindex(value: number);
|
|
57
56
|
get tabindex(): number;
|
|
58
57
|
get value(): any;
|
|
58
|
+
get disabled(): boolean;
|
|
59
59
|
datePicker: MatDatepicker<Moment>;
|
|
60
60
|
timePicker: NgxTimePicker;
|
|
61
61
|
matInputs: QueryList<ElementRef>;
|
|
62
62
|
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
63
63
|
ngOnInit(): void;
|
|
64
|
+
ngAfterViewInit(): void;
|
|
64
65
|
ngOnDestroy(): void;
|
|
65
66
|
writeValue(value: any): void;
|
|
66
67
|
registerOnChange(fn: any): void;
|
|
67
68
|
registerOnTouched(fn: any): void;
|
|
68
69
|
setDisabledState(isDisabled: boolean): void;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
openDatePickerIfMobile(event: Event, datePicker?: MatDatepicker<any>): Promise<void>;
|
|
72
|
-
openDatePicker(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
73
|
-
openTimePickerIfMobile(event: Event): Promise<void>;
|
|
74
|
-
openTimePicker(event: Event): void;
|
|
75
|
-
preventEvent(event: Event): void;
|
|
70
|
+
openDatePicker(event?: UIEvent | Event, datePicker?: MatDatepicker<any>): void;
|
|
71
|
+
openTimePicker(event?: UIEvent | Event): void;
|
|
76
72
|
focus(): void;
|
|
77
73
|
clear(): void;
|
|
74
|
+
protected _onDatePickerChange(event: MatDatepickerInputEvent<Moment>): void;
|
|
75
|
+
onTimePickerChange(timeStr: string): void;
|
|
76
|
+
protected _openDatePickerIfMobile(event?: UIEvent, datePicker?: MatDatepicker<any>): void;
|
|
77
|
+
protected _openTimePickerIfMobile(event?: UIEvent): void;
|
|
78
|
+
protected _checkIfTouched(): void;
|
|
79
|
+
protected _preventEvent(event?: Event): void;
|
|
78
80
|
private updatePattern;
|
|
79
|
-
checkIfTouched(): void;
|
|
80
81
|
private onFormChange;
|
|
81
|
-
private waitKeyboardHide;
|
|
82
82
|
private emitChange;
|
|
83
83
|
private updateTabIndex;
|
|
84
84
|
private markAsTouched;
|
|
@@ -37,9 +37,9 @@ import * as i35 from "./boolean/boolean.module";
|
|
|
37
37
|
import * as i36 from "./numpad/numpad.module";
|
|
38
38
|
import * as i37 from "./swipe/swipe.module";
|
|
39
39
|
import * as i38 from "./chips/chips.module";
|
|
40
|
-
import * as i39 from "./badge/badge
|
|
40
|
+
import * as i39 from "./badge/badge.module";
|
|
41
41
|
export declare class SharedMaterialModule {
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMaterialModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMaterialModule, never, [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMaterialModule, never, [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule], [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule]>;
|
|
44
44
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMaterialModule>;
|
|
45
45
|
}
|
|
@@ -7,17 +7,18 @@ import * as i4 from "./latlong/testing/latlong.test";
|
|
|
7
7
|
import * as i5 from "./numpad/testing/numpad.test";
|
|
8
8
|
import * as i6 from "./swipe/testing/swipe.test";
|
|
9
9
|
import * as i7 from "./chips/testing/chips.test";
|
|
10
|
-
import * as i8 from "./badge/badge
|
|
11
|
-
import * as i9 from "
|
|
12
|
-
import * as i10 from "@
|
|
13
|
-
import * as i11 from "@angular
|
|
14
|
-
import * as i12 from "
|
|
15
|
-
import * as i13 from "
|
|
16
|
-
import * as i14 from "@
|
|
17
|
-
import * as i15 from "
|
|
10
|
+
import * as i8 from "./badge/badge.test";
|
|
11
|
+
import * as i9 from "../testing/observable.test";
|
|
12
|
+
import * as i10 from "@angular/common";
|
|
13
|
+
import * as i11 from "@ionic/angular";
|
|
14
|
+
import * as i12 from "@angular/forms";
|
|
15
|
+
import * as i13 from "./material.module";
|
|
16
|
+
import * as i14 from "@ngx-translate/core";
|
|
17
|
+
import * as i15 from "@angular/router";
|
|
18
|
+
import * as i16 from "../pipes/pipes.module";
|
|
18
19
|
export declare const SHARED_MATERIAL_TESTING_PAGES: TestingPage[];
|
|
19
20
|
export declare class MaterialTestingModule {
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTestingModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialTestingModule, [typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.AutocompleteTestPage, typeof i4.LatLongTestPage, typeof i5.NumpadTestPage, typeof i6.SwipeTestPage, typeof i7.ChipsTestPage, typeof i8.
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialTestingModule, [typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.AutocompleteTestPage, typeof i4.LatLongTestPage, typeof i5.NumpadTestPage, typeof i6.SwipeTestPage, typeof i7.ChipsTestPage, typeof i8.MatBadgeTestPage, typeof i9.ObservableTestPage], [typeof i10.CommonModule, typeof i11.IonicModule, typeof i12.ReactiveFormsModule, typeof i13.SharedMaterialModule, typeof i14.TranslateModule, typeof i15.RouterModule, typeof i16.SharedPipesModule], [typeof i13.SharedMaterialModule, typeof i15.RouterModule, typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.AutocompleteTestPage, typeof i4.LatLongTestPage, typeof i5.NumpadTestPage, typeof i6.SwipeTestPage, typeof i7.ChipsTestPage, typeof i9.ObservableTestPage]>;
|
|
22
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialTestingModule>;
|
|
23
24
|
}
|
|
@@ -3,7 +3,7 @@ import { Predicate } from '@angular/core';
|
|
|
3
3
|
export declare interface FirstOptions {
|
|
4
4
|
timeout?: number;
|
|
5
5
|
stop?: Observable<any>;
|
|
6
|
-
stopError?: boolean;
|
|
6
|
+
stopError?: boolean | string | Error;
|
|
7
7
|
}
|
|
8
8
|
export declare interface WaitForOptions extends FirstOptions {
|
|
9
9
|
dueTime?: number;
|
|
@@ -25,8 +25,13 @@ export declare class ArrayFirstPipe implements PipeTransform {
|
|
|
25
25
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFirstPipe, "arrayFirst", false>;
|
|
26
26
|
}
|
|
27
27
|
export declare class ArrayPluckPipe implements PipeTransform {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param values
|
|
31
|
+
* @param opts property to get, or options
|
|
32
|
+
*/
|
|
33
|
+
transform<T>(values: T[], opts: string | string[] | {
|
|
34
|
+
property: string | string[];
|
|
30
35
|
omitNil?: boolean;
|
|
31
36
|
}): any[];
|
|
32
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayPluckPipe, never>;
|
|
@@ -42,3 +47,8 @@ export declare class ArrayFilterPipe implements PipeTransform {
|
|
|
42
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFilterPipe, never>;
|
|
43
48
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFilterPipe, "arrayFilter", false>;
|
|
44
49
|
}
|
|
50
|
+
export declare class ArrayJoinPipe implements PipeTransform {
|
|
51
|
+
transform<T>(val: T[], separator: string): string;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayJoinPipe, never>;
|
|
53
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayJoinPipe, "arrayJoin", false>;
|
|
54
|
+
}
|
|
@@ -21,6 +21,6 @@ import * as i19 from "@ionic/angular";
|
|
|
21
21
|
import * as i20 from "@ngx-translate/core";
|
|
22
22
|
export declare class SharedPipesModule {
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe], [typeof i18.CommonModule, typeof i19.IonicModule, typeof i20.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i5.DateFromNowPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe]>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe], [typeof i18.CommonModule, typeof i19.IonicModule, typeof i20.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i5.DateFromNowPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe]>;
|
|
25
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
26
26
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { FetchPolicy, WatchQueryFetchPolicy } from '@apollo/client/core';
|
|
3
3
|
import { SortDirection } from '@angular/material/sort';
|
|
4
|
-
import { OnDestroy } from '@angular/core';
|
|
5
4
|
import { EmptyObject } from 'apollo-angular/types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
5
|
export declare interface Page {
|
|
8
6
|
offset: number;
|
|
9
7
|
size: number;
|
|
@@ -63,12 +61,3 @@ export declare type LoadResultByPageFn<T> = (offset: number, size: number) => Pr
|
|
|
63
61
|
export interface IEntityFullService<T, ID, F, O extends EntitiesServiceWatchOptions & EntityServiceLoadOptions> extends IEntityService<T, ID, O>, IEntitiesService<T, F, O> {
|
|
64
62
|
}
|
|
65
63
|
export declare function mergeLoadResult<T>(res1: LoadResult<T>, res2: LoadResult<T>): LoadResult<T>;
|
|
66
|
-
export declare abstract class EntitiesService<T, F, O extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions> implements IEntitiesService<T, F, O>, OnDestroy {
|
|
67
|
-
ngOnDestroy(): void;
|
|
68
|
-
abstract watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>, options?: O): Observable<LoadResult<T>>;
|
|
69
|
-
abstract saveAll(data: T[], options?: any): Promise<T[]>;
|
|
70
|
-
abstract deleteAll(data: T[], options?: any): Promise<any>;
|
|
71
|
-
abstract asFilter(filter: Partial<F>): F;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntitiesService<any, any, any>, never>;
|
|
73
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EntitiesService<any, any, any>, never, never, {}, {}, never, never, false>;
|
|
74
|
-
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import {
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { EntitiesServiceLoadOptions, EntitiesServiceWatchOptions, FilterFn, FilterFnFactory, IEntitiesService, LoadResult } from './entity-service.class';
|
|
3
3
|
import { SortDirection } from '@angular/material/sort';
|
|
4
4
|
import { OnDestroy } from '@angular/core';
|
|
5
5
|
import { IEntity } from '../../core/services/model/entity.model';
|
|
6
|
+
import { WaitForOptions } from '../observables';
|
|
7
|
+
import { StartableObservableService } from './startable-observable-service.class';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export interface InMemoryEntitiesServiceOptions<T, F> {
|
|
8
10
|
onSort?: (data: T[], sortBy?: string, sortDirection?: SortDirection) => T[];
|
|
@@ -15,14 +17,13 @@ export interface InMemoryEntitiesServiceOptions<T, F> {
|
|
|
15
17
|
[key: string]: string;
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
|
-
export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any, ID = number, O extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions> extends
|
|
20
|
+
export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any, ID = number, O extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions> extends StartableObservableService<T[], T[]> implements IEntitiesService<T, F, O>, OnDestroy {
|
|
19
21
|
protected dataType: new () => T;
|
|
20
22
|
protected filterType: new () => F;
|
|
21
23
|
debug: boolean;
|
|
22
|
-
dirty: boolean;
|
|
23
24
|
private _hiddenData;
|
|
24
|
-
|
|
25
|
-
private readonly
|
|
25
|
+
readonly dirtySubject: BehaviorSubject<boolean>;
|
|
26
|
+
private readonly savingSubject;
|
|
26
27
|
private readonly _sortFn;
|
|
27
28
|
private readonly _onLoad;
|
|
28
29
|
private readonly _onSaveFn;
|
|
@@ -31,7 +32,11 @@ export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any,
|
|
|
31
32
|
private readonly _sortByReplacement;
|
|
32
33
|
set value(data: T[]);
|
|
33
34
|
get value(): T[];
|
|
35
|
+
get saving(): boolean;
|
|
36
|
+
get dirty(): boolean;
|
|
34
37
|
constructor(dataType: new () => T, filterType: new () => F, options?: InMemoryEntitiesServiceOptions<T, F>);
|
|
38
|
+
protected ngOnStart(data?: T[]): Promise<T[]>;
|
|
39
|
+
protected ngOnStop(): Promise<void>;
|
|
35
40
|
ngOnDestroy(): void;
|
|
36
41
|
setValue(data: T[]): void;
|
|
37
42
|
loadAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: F, opts?: EntitiesServiceLoadOptions): Promise<LoadResult<T>>;
|
|
@@ -46,10 +51,19 @@ export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any,
|
|
|
46
51
|
* Count data stored by the service (without hidden data).
|
|
47
52
|
* @param opts
|
|
48
53
|
*/
|
|
54
|
+
/**
|
|
55
|
+
* Count data stored by the service (without hidden data).
|
|
56
|
+
* @param opts
|
|
57
|
+
* @deprecated TODO Please rename this getter into visibleCount (and create count = hiddenCount + visibleCount)
|
|
58
|
+
*/
|
|
49
59
|
get count(): number;
|
|
50
60
|
get hiddenCount(): number;
|
|
61
|
+
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
62
|
+
markAsDirty(): void;
|
|
63
|
+
markAsPristine(): void;
|
|
51
64
|
protected filter(data: T[], _filter: F, hiddenData: T[]): T[];
|
|
52
65
|
protected connect(): Observable<LoadResult<T>>;
|
|
66
|
+
protected waitWhileSaving(opts?: WaitForOptions): Promise<void>;
|
|
53
67
|
protected markAsSaving(): void;
|
|
54
68
|
protected markAsSaved(): void;
|
|
55
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<InMemoryEntitiesService<any, any, any, any>, never>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
2
|
+
import { IStartableService } from './startable-service.class';
|
|
3
|
+
/**
|
|
4
|
+
* Same as StartableService, bu with a dataSubject instead of a simple 'data' property
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class StartableObservableService<T = any, O = any> implements IStartableService<T> {
|
|
7
|
+
readonly dataSubject: BehaviorSubject<T>;
|
|
8
|
+
readonly startSubject: Subject<T>;
|
|
9
|
+
readonly stopSubject: Subject<void>;
|
|
10
|
+
protected _debug: boolean;
|
|
11
|
+
protected _startByReadyFunction: boolean;
|
|
12
|
+
private _started;
|
|
13
|
+
private _startPromise;
|
|
14
|
+
private _startPrerequisite;
|
|
15
|
+
private _subscription;
|
|
16
|
+
protected constructor(prerequisiteService?: {
|
|
17
|
+
ready: () => Promise<any>;
|
|
18
|
+
});
|
|
19
|
+
start(opts?: O): Promise<T>;
|
|
20
|
+
ready(): Promise<T>;
|
|
21
|
+
stop(): Promise<void>;
|
|
22
|
+
restart(opts?: O): Promise<T>;
|
|
23
|
+
get started(): boolean;
|
|
24
|
+
get starting(): boolean;
|
|
25
|
+
get stopped(): boolean;
|
|
26
|
+
protected get data(): T;
|
|
27
|
+
protected set data(value: T);
|
|
28
|
+
protected registerSubscription(sub: Subscription): void;
|
|
29
|
+
protected unregisterSubscription(sub: Subscription): void;
|
|
30
|
+
protected unsubscribe(): void;
|
|
31
|
+
protected ngOnStop(): Promise<void> | void;
|
|
32
|
+
protected abstract ngOnStart(opts?: O): Promise<T>;
|
|
33
|
+
}
|
|
@@ -5,8 +5,9 @@ export interface IStartableService<T = any> {
|
|
|
5
5
|
stop(): Promise<void>;
|
|
6
6
|
ready(): Promise<T>;
|
|
7
7
|
}
|
|
8
|
-
export declare abstract class StartableService<T = any> implements IStartableService<T> {
|
|
9
|
-
|
|
8
|
+
export declare abstract class StartableService<T = any, O = any> implements IStartableService<T> {
|
|
9
|
+
readonly startSubject: Subject<T>;
|
|
10
|
+
readonly stopSubject: Subject<void>;
|
|
10
11
|
protected _debug: boolean;
|
|
11
12
|
protected _startByReadyFunction: boolean;
|
|
12
13
|
protected _data: T;
|
|
@@ -14,17 +15,19 @@ export declare abstract class StartableService<T = any> implements IStartableSer
|
|
|
14
15
|
private _startPromise;
|
|
15
16
|
private _startPrerequisite;
|
|
16
17
|
private _subscription;
|
|
17
|
-
protected constructor(prerequisiteService
|
|
18
|
+
protected constructor(prerequisiteService?: {
|
|
18
19
|
ready: () => Promise<any>;
|
|
19
20
|
});
|
|
20
|
-
start(): Promise<T>;
|
|
21
|
+
start(opts?: O): Promise<T>;
|
|
22
|
+
ready(): Promise<T>;
|
|
21
23
|
stop(): Promise<void>;
|
|
22
|
-
restart(): Promise<T>;
|
|
24
|
+
restart(opts?: O): Promise<T>;
|
|
23
25
|
get started(): boolean;
|
|
24
26
|
get starting(): boolean;
|
|
25
|
-
|
|
26
|
-
protected registerSubscription(sub: Subscription):
|
|
27
|
+
get stopped(): boolean;
|
|
28
|
+
protected registerSubscription(sub: Subscription): void;
|
|
27
29
|
protected unregisterSubscription(sub: Subscription): void;
|
|
28
|
-
protected
|
|
29
|
-
protected
|
|
30
|
+
protected unsubscribe(): void;
|
|
31
|
+
protected ngOnStop(): Promise<void> | void;
|
|
32
|
+
protected abstract ngOnStart(opts?: O): Promise<T>;
|
|
30
33
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FirstOptions, WaitForOptions } from '../observables';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ObservableTestPage implements OnDestroy {
|
|
6
|
+
_stopSubject: Subject<void>;
|
|
7
|
+
$value: Subject<any>;
|
|
8
|
+
runningTaskCount: number;
|
|
9
|
+
taskId: number;
|
|
10
|
+
options: Partial<FirstOptions>;
|
|
11
|
+
resultDiv: ElementRef;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
setOptions(opts: any): void;
|
|
15
|
+
setOptionsError(errorMessage: any): void;
|
|
16
|
+
firstNotNilPromise(opts?: FirstOptions): Promise<void>;
|
|
17
|
+
waitForTrue(opts?: WaitForOptions): Promise<void>;
|
|
18
|
+
execute<T, O extends WaitForOptions = WaitForOptions>(fn: (o: Observable<any>, opts: O) => Promise<T>, opts?: O, logPrefix?: string): Promise<void>;
|
|
19
|
+
emit(value: any): void;
|
|
20
|
+
stop(): void;
|
|
21
|
+
log(message: string, ...args: any): void;
|
|
22
|
+
appendLog(message: string): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObservableTestPage, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObservableTestPage, "app-observable-test", never, {}, {}, never, never, false>;
|
|
25
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
2
|
import { ShowToastOptions } from './toasts';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ToastTestingPage {
|
|
6
|
-
private
|
|
7
|
-
private translate;
|
|
5
|
+
private injector;
|
|
8
6
|
readonly defaultOptions: ShowToastOptions;
|
|
9
|
-
constructor(
|
|
7
|
+
constructor(injector: Injector);
|
|
10
8
|
showToast(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
11
9
|
showInfo(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
12
10
|
showWarning(opts?: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ToastController } from '@ionic/angular';
|
|
1
|
+
import { AnimationController, ToastController } from '@ionic/angular';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { OverlayEventDetail, ToastOptions } from '@ionic/core';
|
|
3
|
+
import { AnimationBuilder, OverlayEventDetail, ToastOptions } from '@ionic/core';
|
|
4
|
+
import { Injector } from '@angular/core';
|
|
4
5
|
export declare interface ShowToastOptions extends ToastOptions {
|
|
5
6
|
type?: 'error' | 'warning' | 'info';
|
|
6
7
|
messageParams?: any;
|
|
@@ -10,5 +11,7 @@ export declare interface ShowToastOptions extends ToastOptions {
|
|
|
10
11
|
export declare class Toasts {
|
|
11
12
|
static counter: number;
|
|
12
13
|
static stackSize: number;
|
|
14
|
+
static showSimple<T = any>(injector: Injector, opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
13
15
|
static show<T = any>(toastController: ToastController, translate: TranslateService, opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
16
|
+
static createEnterAnimation(animationCtrl: AnimationController, currentOffset: number, opts: ShowToastOptions): AnimationBuilder;
|
|
14
17
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./progression/job-progression.
|
|
2
|
+
import * as i1 from "./progression/job-progression.icon";
|
|
3
3
|
import * as i2 from "./progression/job-progression.list";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "../../shared/shared.module";
|
|
6
6
|
import * as i5 from "@ngx-translate/core";
|
|
7
7
|
export declare class JobModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<JobModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<JobModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<JobModule, [typeof i1.JobProgressionIcon, typeof i2.JobProgressionList], [typeof i3.CommonModule, typeof i4.SharedModule, typeof i5.TranslateModule], [typeof i1.JobProgressionIcon]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<JobModule>;
|
|
11
11
|
}
|
|
@@ -4,10 +4,13 @@ import { BaseGraphqlService } from '../../core/services/base-graphql-service.cla
|
|
|
4
4
|
import { GraphqlService } from '../../core/graphql/graphql.service';
|
|
5
5
|
import { Environment } from '../../../environments/environment.class';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { FetchPolicy } from '@apollo/client/core';
|
|
7
|
+
import { FetchPolicy, WatchQueryFetchPolicy } from '@apollo/client/core';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const APP_JOB_PROGRESSION_SERVICE: InjectionToken<JobProgressionService>;
|
|
10
10
|
export interface IJobProgressionService {
|
|
11
|
+
watchAll(): Observable<JobProgression[]>;
|
|
12
|
+
addJob(id: number, job?: JobProgression): any;
|
|
13
|
+
removeJob(id: number): any;
|
|
11
14
|
listenChanges(id: number, options?: {
|
|
12
15
|
interval?: number;
|
|
13
16
|
fetchPolicy?: FetchPolicy;
|
|
@@ -17,6 +20,11 @@ export declare class JobProgressionService extends BaseGraphqlService<JobProgres
|
|
|
17
20
|
protected graphql: GraphqlService;
|
|
18
21
|
protected environment: Environment;
|
|
19
22
|
constructor(graphql: GraphqlService, environment: Environment);
|
|
23
|
+
watchAll(options?: {
|
|
24
|
+
fetchPolicy?: WatchQueryFetchPolicy;
|
|
25
|
+
}): Observable<JobProgression[]>;
|
|
26
|
+
addJob(id: number, job?: JobProgression): void;
|
|
27
|
+
removeJob(id: number): void;
|
|
20
28
|
listenChanges(id: number, options?: {
|
|
21
29
|
interval?: number;
|
|
22
30
|
fetchPolicy?: FetchPolicy;
|
package/src/app/social/job/progression/{job-progression.component.d.ts → job-progression.icon.d.ts}
RENAMED
|
@@ -11,13 +11,14 @@ export interface JobProgressionOptions {
|
|
|
11
11
|
autoRemove: boolean;
|
|
12
12
|
autoRemoveDelay: number;
|
|
13
13
|
}
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class JobProgressionIcon implements OnInit, OnDestroy {
|
|
15
15
|
protected jobProgressionService: IJobProgressionService;
|
|
16
16
|
protected popoverController: PopoverController;
|
|
17
17
|
protected cd: ChangeDetectorRef;
|
|
18
18
|
debug: boolean;
|
|
19
19
|
titleI18n: string;
|
|
20
20
|
options: JobProgressionOptions;
|
|
21
|
+
autoHide: boolean;
|
|
21
22
|
jobFinished: EventEmitter<number>;
|
|
22
23
|
visible: boolean;
|
|
23
24
|
disabled: boolean;
|
|
@@ -25,7 +26,6 @@ export declare class JobProgressionComponent implements OnInit, OnDestroy {
|
|
|
25
26
|
mode: ProgressSpinnerMode;
|
|
26
27
|
value: number;
|
|
27
28
|
jobProgressions: JobProgression[];
|
|
28
|
-
protected autoHide: boolean;
|
|
29
29
|
protected autoHideDelay: number;
|
|
30
30
|
protected autoRemove: boolean;
|
|
31
31
|
protected autoRemoveDelay: number;
|
|
@@ -35,13 +35,13 @@ export declare class JobProgressionComponent implements OnInit, OnDestroy {
|
|
|
35
35
|
private _logPrefix;
|
|
36
36
|
constructor(jobProgressionService: IJobProgressionService, popoverController: PopoverController, cd: ChangeDetectorRef);
|
|
37
37
|
ngOnInit(): void;
|
|
38
|
-
addJob(id: number): void;
|
|
38
|
+
addJob(id: number, job?: JobProgression): void;
|
|
39
39
|
removeJob(id: number): void;
|
|
40
40
|
getProgression(id: number): JobProgression | undefined;
|
|
41
41
|
updateValue(): void;
|
|
42
42
|
showList(event: Event): Promise<void>;
|
|
43
43
|
protected markForCheck(): void;
|
|
44
44
|
ngOnDestroy(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionIcon, [{ optional: true; }, null, null]>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionIcon, "app-job-progression-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "options": "options"; "autoHide": "autoHide"; }, { "jobFinished": "jobFinished"; }, never, never, false>;
|
|
47
47
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JobProgressionIcon, JobProgressionOptions } from '../progression/job-progression.icon';
|
|
2
2
|
import { JobProgression } from '../job.model';
|
|
3
|
+
import { JobProgressionService } from '../job.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class JobProgressionTestingPage {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
protected jobProgressionService: JobProgressionService;
|
|
7
|
+
jobProgressionIcon: JobProgressionIcon;
|
|
8
|
+
jobId: number;
|
|
7
9
|
job: JobProgression;
|
|
8
10
|
options: JobProgressionOptions;
|
|
9
|
-
constructor();
|
|
11
|
+
constructor(jobProgressionService: JobProgressionService);
|
|
10
12
|
incrementJob(value: number): void;
|
|
11
13
|
addJob(): void;
|
|
14
|
+
private createJob;
|
|
12
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<JobProgressionTestingPage, never>;
|
|
13
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<JobProgressionTestingPage, "job-progression-testing", never, {}, {}, never, never, false>;
|
|
14
17
|
}
|
|
@@ -4,6 +4,10 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
import { JobProgression } from '../job.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class JobProgressionTestService implements IJobProgressionService {
|
|
7
|
+
private jobsSubject;
|
|
8
|
+
addJob(id: number, job?: JobProgression): void;
|
|
9
|
+
removeJob(id: number): void;
|
|
10
|
+
watchAll(): Observable<JobProgression[]>;
|
|
7
11
|
listenChanges(id: number, options?: {
|
|
8
12
|
interval?: number;
|
|
9
13
|
fetchPolicy?: FetchPolicy;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { JobProgressionOptions } from './job/progression/job-progression.
|
|
2
|
+
import { JobProgressionOptions } from './job/progression/job-progression.icon';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "../core/core.module";
|
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { PopoverController } from '@ionic/angular';
|
|
4
4
|
import { IUserEventService } from '../user-event.service';
|
|
5
5
|
import { IUserEvent, IUserEventFilter } from '../user-event.model';
|
|
6
6
|
import { AccountService } from '../../../core/services/account.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class
|
|
8
|
+
export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
9
9
|
userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>;
|
|
10
10
|
protected accountService: AccountService;
|
|
11
11
|
protected popoverController: PopoverController;
|
|
12
|
+
private cd;
|
|
12
13
|
debug: boolean;
|
|
13
14
|
titleI18n: string;
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
filter: any;
|
|
17
|
+
autoHide: boolean;
|
|
18
|
+
visible: boolean;
|
|
16
19
|
get countChanges(): Observable<number>;
|
|
17
20
|
private _logPrefix;
|
|
18
21
|
private _readEvent;
|
|
19
22
|
private _readEvents;
|
|
20
|
-
constructor(userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>, accountService: AccountService, popoverController: PopoverController);
|
|
23
|
+
constructor(userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>, accountService: AccountService, popoverController: PopoverController, cd: ChangeDetectorRef);
|
|
21
24
|
ngOnInit(): Promise<void>;
|
|
22
25
|
showList(event: Event): Promise<void>;
|
|
23
26
|
ngOnDestroy(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserEventNotificationIcon, [{ optional: true; }, null, null, null]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventNotificationIcon, "app-user-event-notification-icon", never, { "debug": "debug"; "titleI18n": "titleI18n"; "disabled": "disabled"; "filter": "filter"; "autoHide": "autoHide"; }, {}, never, never, false>;
|
|
26
29
|
}
|
|
@@ -3,7 +3,7 @@ import { Router } from '@angular/router';
|
|
|
3
3
|
import { AlertController } from '@ionic/angular';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { UserEventTestService } from './user-event.testing.service';
|
|
6
|
-
import {
|
|
6
|
+
import { UserEventNotificationIcon } from '../notification/user-event-notification.icon';
|
|
7
7
|
import { UserEventTest } from './user-event.testing.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class UserEventTestingPage implements OnDestroy {
|
|
@@ -12,7 +12,7 @@ export declare class UserEventTestingPage implements OnDestroy {
|
|
|
12
12
|
protected alertController: AlertController;
|
|
13
13
|
protected translateService: TranslateService;
|
|
14
14
|
private _timerSubscription;
|
|
15
|
-
notification:
|
|
15
|
+
notification: UserEventNotificationIcon;
|
|
16
16
|
get timerStarted(): boolean;
|
|
17
17
|
constructor(userEventService: UserEventTestService, router: Router, alertController: AlertController, translateService: TranslateService);
|
|
18
18
|
ngOnDestroy(): void;
|
|
@@ -7,6 +7,6 @@ import * as i5 from "../../core/icon/icon.module";
|
|
|
7
7
|
import * as i6 from "ngx-jdenticon";
|
|
8
8
|
export declare class UserEventModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEventModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserEventModule, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserEventModule, [typeof i1.UserEventNotificationIcon, typeof i2.UserEventNotificationList], [typeof i3.CommonModule, typeof i4.SharedModule, typeof i5.AppIconModule, typeof i6.NgxJdenticonModule], [typeof i1.UserEventNotificationIcon]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserEventModule>;
|
|
12
12
|
}
|
|
@@ -12,7 +12,7 @@ import { BaseGraphqlService, BaseGraphqlServiceOptions } from '../../core/servic
|
|
|
12
12
|
import { Moment } from 'moment';
|
|
13
13
|
import { IStartableService } from '../../shared/services/startable-service.class';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const APP_USER_EVENT_SERVICE: InjectionToken<IUserEventService<any, any, number, UserEventWatchOptions, UserEventLoadOptions>>;
|
|
16
16
|
export declare interface UserEventLoadOptions extends EntitiesServiceLoadOptions {
|
|
17
17
|
withContent?: boolean;
|
|
18
18
|
}
|
package/src/app/vendor.d.ts
CHANGED
|
@@ -75,6 +75,10 @@ $ion-grid-padding: 16px !default;
|
|
|
75
75
|
$ion-padding: 16px !default;
|
|
76
76
|
$ion-margin: 16px !default;
|
|
77
77
|
|
|
78
|
+
// Default height
|
|
79
|
+
// --------------------------------------------------
|
|
80
|
+
$ion-toolbar-height: 56px !default;
|
|
81
|
+
|
|
78
82
|
// --------------------------------------------------
|
|
79
83
|
// Default General Colors
|
|
80
84
|
// --------------------------------------------------
|