@sumaris-net/ngx-components 2.0.0-rc1 → 2.0.0-rc11
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/README.md +3 -1
- package/doc/changelog.md +50 -0
- package/esm2020/public_api.mjs +49 -46
- 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 +4 -4
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +4 -4
- 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 +4 -4
- 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.config.mjs +1 -1
- 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 +176 -0
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +32 -0
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +28 -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 +25 -13
- 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 +2713 -2041
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2528 -1809
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +7 -3
- package/public_api.d.ts +48 -8
- 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 +19 -5
- package/src/app/core/form/entity-editor-modal.class.d.ts +17 -8
- 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/list.form.d.ts +1 -1
- 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/offline/update-offline-mode-card.component.d.ts +1 -1
- package/src/app/core/peer/select-peer.modal.d.ts +1 -1
- 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/actions-column.component.d.ts +1 -1
- package/src/app/core/table/entities-table-datasource.class.d.ts +22 -15
- package/src/app/core/table/table.class.d.ts +30 -40
- package/src/app/core/table/table.utils.d.ts +2 -1
- package/src/app/core/table/testing/table.testing.d.ts +1 -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/image-gallery.component.d.ts +1 -1
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +1 -1
- package/src/app/shared/material/badge/badge.directive.d.ts +30 -0
- package/src/app/shared/material/badge/badge.module.d.ts +10 -0
- package/src/app/shared/material/badge/badge.test.d.ts +13 -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/public_test_api.mjs +0 -46
- 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/public_test_api.d.ts +0 -37
- 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,5 +1,6 @@
|
|
|
1
1
|
import { Moment } from 'moment';
|
|
2
2
|
import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
|
|
3
|
+
import { IconRef } from '../../../shared/types';
|
|
3
4
|
export declare function referentialToString(obj: Referential | any, properties?: string[]): string | undefined;
|
|
4
5
|
export declare function referentialsToString(values: Referential[], properties?: string[], separator?: string): string;
|
|
5
6
|
export declare interface IStatus {
|
|
@@ -8,7 +9,7 @@ export declare interface IStatus {
|
|
|
8
9
|
label: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const StatusList: Readonly<IStatus[]>;
|
|
11
|
-
export declare const StatusById: Readonly<import("
|
|
12
|
+
export declare const StatusById: Readonly<import("../../../shared/types").KeyValueType<IStatus>>;
|
|
12
13
|
export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
|
|
13
14
|
label: string;
|
|
14
15
|
name: string;
|
|
@@ -16,6 +17,7 @@ export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any,
|
|
|
16
17
|
levelId?: number;
|
|
17
18
|
statusId: number;
|
|
18
19
|
entityName: string;
|
|
20
|
+
icon?: IconRef;
|
|
19
21
|
}
|
|
20
22
|
export declare abstract class BaseReferential<T extends BaseReferential<T, ID, AO>, ID = number, AO extends ReferentialAsObjectOptions = ReferentialAsObjectOptions, FO = any> extends Entity<T, ID, AO, FO> implements IReferentialRef<T, ID> {
|
|
21
23
|
label: string;
|
|
@@ -28,6 +30,7 @@ export declare abstract class BaseReferential<T extends BaseReferential<T, ID, A
|
|
|
28
30
|
levelId: number;
|
|
29
31
|
parentId: number;
|
|
30
32
|
entityName: string;
|
|
33
|
+
icon?: IconRef;
|
|
31
34
|
constructor(__typename?: string);
|
|
32
35
|
asObject(opts?: AO): any;
|
|
33
36
|
fromObject(source: any, opts?: FO): void;
|
|
@@ -44,6 +47,7 @@ export declare class ReferentialUtils {
|
|
|
44
47
|
}
|
|
45
48
|
export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
|
|
46
49
|
keepEntityName?: boolean;
|
|
50
|
+
keepIcon?: boolean;
|
|
47
51
|
}
|
|
48
52
|
/**
|
|
49
53
|
* Used to store an entity locally
|
|
@@ -61,6 +65,7 @@ export declare class ReferentialRef<T extends ReferentialRef<any, ID> = Referent
|
|
|
61
65
|
statusId: number;
|
|
62
66
|
levelId: number;
|
|
63
67
|
entityName: string;
|
|
68
|
+
icon?: IconRef;
|
|
64
69
|
constructor();
|
|
65
70
|
asObject(opts?: O): any;
|
|
66
71
|
fromObject(source: any, opts?: FO): void;
|
|
@@ -12,13 +12,13 @@ import { CacheService } from 'ionic-cache';
|
|
|
12
12
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
13
13
|
import { OverlayEventDetail } from '@ionic/core';
|
|
14
14
|
import { AppManifest, NodeInfo } from './network.utils';
|
|
15
|
-
import {
|
|
15
|
+
import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export declare type ConnectionType = 'none' | 'wifi' | 'ethernet' | 'cell' | 'unknown';
|
|
18
18
|
export declare type AuthTokenType = 'token' | 'basic' | 'basic-and-token';
|
|
19
19
|
export declare function getConnectionType(type: Connection): ConnectionType;
|
|
20
20
|
export declare type NetworkEventType = 'start' | 'peerChanged' | 'statusChanged' | 'resetCache' | 'beforeTryOnlineFinish';
|
|
21
|
-
export declare class NetworkService extends
|
|
21
|
+
export declare class NetworkService extends StartableObservableService<Peer, Peer> {
|
|
22
22
|
private _document;
|
|
23
23
|
private platform;
|
|
24
24
|
private modalCtrl;
|
|
@@ -38,7 +38,6 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
38
38
|
private _timerSubscription;
|
|
39
39
|
private readonly _timerRefreshPeriod;
|
|
40
40
|
private readonly _timerRefreshCondition;
|
|
41
|
-
private _startingPeer;
|
|
42
41
|
private _deviceConnectionType;
|
|
43
42
|
private _forceOffline;
|
|
44
43
|
private _listeners;
|
|
@@ -88,7 +87,7 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
88
87
|
nocache?: boolean;
|
|
89
88
|
}): Promise<AppManifest | undefined>;
|
|
90
89
|
getAppVersion(peer?: string | Peer, opts?: {
|
|
91
|
-
nocache
|
|
90
|
+
nocache: boolean;
|
|
92
91
|
}): Promise<string | undefined>;
|
|
93
92
|
computePeerPath(peer: string | Peer | undefined, path: string): string | undefined;
|
|
94
93
|
/**
|
|
@@ -104,9 +103,9 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
104
103
|
clearCache(opts?: {
|
|
105
104
|
emitEvent?: boolean;
|
|
106
105
|
}): Promise<void>;
|
|
107
|
-
protected ngOnStart(): Promise<Peer>;
|
|
108
|
-
protected ngOnAfterStart(): Promise<void>;
|
|
109
|
-
protected ngOnStop():
|
|
106
|
+
protected ngOnStart(peer?: Peer): Promise<Peer>;
|
|
107
|
+
protected ngOnAfterStart(peer: Peer): Promise<void>;
|
|
108
|
+
protected ngOnStop(): void;
|
|
110
109
|
/**
|
|
111
110
|
* Try to restore peer from the local storage
|
|
112
111
|
*/
|
|
@@ -139,7 +138,6 @@ export declare class NetworkService extends StartableService<Peer> {
|
|
|
139
138
|
}): Promise<T>;
|
|
140
139
|
protected getUri(path: string): string;
|
|
141
140
|
protected onDeviceConnectionChanged(connectionType?: string): void;
|
|
142
|
-
protected resetData(): void;
|
|
143
141
|
/**
|
|
144
142
|
* Get default peers, from environment
|
|
145
143
|
*/
|
|
@@ -18,7 +18,7 @@ export declare class ActionsColumnComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
optionsTitle: string;
|
|
19
19
|
classList: string;
|
|
20
20
|
cellTemplate: TemplateRef<any>;
|
|
21
|
-
optionsClick: EventEmitter<
|
|
21
|
+
optionsClick: EventEmitter<Event>;
|
|
22
22
|
cancelOrDeleteClick: EventEmitter<{
|
|
23
23
|
event: Event;
|
|
24
24
|
row: TableElement<any>;
|
|
@@ -18,14 +18,14 @@ export interface EntitiesTableDataSourceConfig<T extends Entity<T, ID>, ID = num
|
|
|
18
18
|
saveAllOptions?: SO;
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
}
|
|
21
|
-
export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any, V extends ValidatorService = ValidatorService, C extends EntitiesTableDataSourceConfig<T, ID, WO, SO> = EntitiesTableDataSourceConfig<T, ID, WO, SO>> extends TableDataSource<T, V, C> implements OnDestroy {
|
|
21
|
+
export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any, V extends ValidatorService = ValidatorService, C extends EntitiesTableDataSourceConfig<T, ID, WO, SO> = EntitiesTableDataSourceConfig<T, ID, WO, SO>, R extends TableElement<T> = TableElement<T>> extends TableDataSource<T, V, C, R> implements OnDestroy {
|
|
22
22
|
readonly dataService: IEntitiesService<T, F, WO>;
|
|
23
23
|
private readonly _entityName;
|
|
24
24
|
protected _debug: boolean;
|
|
25
25
|
protected _creating: boolean;
|
|
26
26
|
protected _saving: boolean;
|
|
27
|
-
protected _stopWatching$: Subject<void>;
|
|
28
27
|
protected _fetchMoreFn: FetchMoreFn<LoadResult<T>>;
|
|
28
|
+
protected _stopWatchSubject: Subject<void>;
|
|
29
29
|
loadingSubject: BehaviorSubject<boolean>;
|
|
30
30
|
/**
|
|
31
31
|
* @deprecated Use watchAllOptions or saveAllOptions
|
|
@@ -51,35 +51,42 @@ export declare class EntitiesTableDataSource<T extends IEntity<T, ID>, F = any,
|
|
|
51
51
|
* @param config Additional configuration for table.
|
|
52
52
|
*/
|
|
53
53
|
constructor(dataType: new () => T, dataService: IEntitiesService<T, F, WO>, validatorService?: V, options?: C);
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated use disconnect
|
|
56
|
+
*/
|
|
54
57
|
ngOnDestroy(): void;
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated use disconnect
|
|
60
|
+
*/
|
|
61
|
+
close(): void;
|
|
55
62
|
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>): Observable<LoadResult<T>>;
|
|
56
|
-
protected updateDatasourceFromRows(rows:
|
|
63
|
+
protected updateDatasourceFromRows(rows: R[]): void;
|
|
57
64
|
save(): Promise<boolean>;
|
|
58
65
|
updateDatasource(data: T[], opts?: {
|
|
59
66
|
emitEvent: boolean;
|
|
60
|
-
}):
|
|
61
|
-
connect(collectionViewer: CollectionViewer): Observable<
|
|
67
|
+
}): void;
|
|
68
|
+
connect(collectionViewer: CollectionViewer): Observable<R[] | ReadonlyArray<R>>;
|
|
62
69
|
disconnect(collectionViewer?: CollectionViewer): void;
|
|
63
70
|
waitIdle(debounceTimeMs?: number): Promise<any>;
|
|
64
|
-
confirmCreate(row:
|
|
65
|
-
confirmEdit(row:
|
|
66
|
-
startEdit(row:
|
|
71
|
+
confirmCreate(row: R): boolean;
|
|
72
|
+
confirmEdit(row: R): boolean;
|
|
73
|
+
startEdit(row: R): boolean;
|
|
67
74
|
handleError(error: any, message: string): Observable<LoadResult<T>>;
|
|
68
75
|
handleServiceError(error: any): void;
|
|
69
|
-
delete(id: number):
|
|
70
|
-
deleteAll(rows:
|
|
71
|
-
getRow(id: number):
|
|
72
|
-
getRows():
|
|
76
|
+
delete(id: number): boolean;
|
|
77
|
+
deleteAll(rows: R[]): Promise<any>;
|
|
78
|
+
getRow(id: number): R;
|
|
79
|
+
getRows(): R[];
|
|
73
80
|
hasSomeEditingRow(): boolean;
|
|
74
81
|
createNew(insertAt?: number, opts?: {
|
|
75
82
|
editing: boolean;
|
|
76
|
-
}): Promise<
|
|
83
|
+
}): Promise<R | undefined>;
|
|
77
84
|
getData(): T[];
|
|
78
85
|
fetchMore(opts?: {
|
|
79
86
|
emitEvent: boolean;
|
|
80
87
|
}): Promise<boolean>;
|
|
81
88
|
markAsLoading(): void;
|
|
82
89
|
markAsLoaded(): void;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntitiesTableDataSource<any, any, any, any, any, any, any>, never>;
|
|
84
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EntitiesTableDataSource<any, any, any, any, any, any, any>, never, never, {}, {}, never, never, false>;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntitiesTableDataSource<any, any, any, any, any, any, any, any>, never>;
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EntitiesTableDataSource<any, any, any, any, any, any, any, any>, never, never, {}, {}, never, never, false>;
|
|
85
92
|
}
|
|
@@ -14,13 +14,13 @@ import { Location } from '@angular/common';
|
|
|
14
14
|
import { IAppForm } from '../form/form.utils';
|
|
15
15
|
import { LocalSettingsService } from '../services/local-settings.service';
|
|
16
16
|
import { TranslateService } from '@ngx-translate/core';
|
|
17
|
+
import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
17
18
|
import { CompletableEvent } from '../../shared/events';
|
|
18
19
|
import { WaitForOptions } from '../../shared/observables';
|
|
19
20
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
20
21
|
import { CdkColumnDef } from '@angular/cdk/table';
|
|
21
22
|
import { LoadResult } from '../../shared/services/entity-service.class';
|
|
22
23
|
import { FormErrorTranslator, FormErrorTranslatorOptions, IFormControlPathTranslator } from '../../shared/validator/form-error-adapter.class';
|
|
23
|
-
import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
24
24
|
import * as i0 from "@angular/core";
|
|
25
25
|
export declare const SETTINGS_DISPLAY_COLUMNS = "displayColumns";
|
|
26
26
|
export declare const SETTINGS_SORTED_COLUMN = "sortedColumn";
|
|
@@ -74,6 +74,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
74
74
|
readonly readySubject: BehaviorSubject<boolean>;
|
|
75
75
|
readonly loadingSubject: BehaviorSubject<boolean>;
|
|
76
76
|
readonly savingSubject: BehaviorSubject<boolean>;
|
|
77
|
+
readonly touchedSubject: BehaviorSubject<boolean>;
|
|
77
78
|
readonly dirtySubject: BehaviorSubject<boolean>;
|
|
78
79
|
readonly errorSubject: BehaviorSubject<string>;
|
|
79
80
|
get error(): string;
|
|
@@ -125,6 +126,10 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
125
126
|
get filter(): F;
|
|
126
127
|
get empty(): boolean;
|
|
127
128
|
onRefresh: EventEmitter<any>;
|
|
129
|
+
onOpenIdAndRow: EventEmitter<{
|
|
130
|
+
id: ID;
|
|
131
|
+
row: TableElement<T>;
|
|
132
|
+
}>;
|
|
128
133
|
onOpenRow: EventEmitter<TableElement<T>>;
|
|
129
134
|
onNewRow: EventEmitter<any>;
|
|
130
135
|
onStartEditingRow: EventEmitter<TableElement<T>>;
|
|
@@ -151,6 +156,8 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
151
156
|
get valid(): boolean;
|
|
152
157
|
get invalid(): boolean;
|
|
153
158
|
get pending(): boolean;
|
|
159
|
+
get touched(): boolean;
|
|
160
|
+
get untouched(): boolean;
|
|
154
161
|
disable(opts?: {
|
|
155
162
|
onlySelf?: boolean;
|
|
156
163
|
emitEvent?: boolean;
|
|
@@ -212,6 +219,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
212
219
|
private _paginator;
|
|
213
220
|
set paginator(value: MatPaginator);
|
|
214
221
|
get paginator(): MatPaginator;
|
|
222
|
+
get destroyed(): boolean;
|
|
215
223
|
table: MatTable<T>;
|
|
216
224
|
childPaginator: MatPaginator;
|
|
217
225
|
sort: MatSort;
|
|
@@ -229,20 +237,20 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
229
237
|
setFilter(filter: F, opts?: {
|
|
230
238
|
emitEvent?: boolean;
|
|
231
239
|
}): void;
|
|
232
|
-
confirmAndAdd(event?: Event, row?: TableElement<T>): Promise<boolean>;
|
|
233
|
-
confirmAndBackward(event?: Event, row?: TableElement<T>):
|
|
234
|
-
confirmAndForward(event?: Event, row?: TableElement<T>): Promise<boolean>;
|
|
240
|
+
confirmAndAdd(event?: Event, row?: TableElement<T>): boolean | Promise<boolean>;
|
|
241
|
+
confirmAndBackward(event?: Event, row?: TableElement<T>): boolean;
|
|
242
|
+
confirmAndForward(event?: Event, row?: TableElement<T>): boolean | Promise<boolean>;
|
|
235
243
|
/**
|
|
236
244
|
* Confirm the creation of the given row, or if not specified the currently edited row
|
|
237
245
|
*
|
|
238
246
|
* @param event
|
|
239
247
|
* @param row
|
|
240
248
|
*/
|
|
241
|
-
confirmEditCreate(event?: Event, row?: TableElement<T>):
|
|
242
|
-
cancelOrDelete(event: Event
|
|
249
|
+
confirmEditCreate(event?: Event, row?: TableElement<T>): boolean;
|
|
250
|
+
cancelOrDelete(event: Event, row: TableElement<T>, opts?: {
|
|
243
251
|
interactive?: boolean;
|
|
244
252
|
keepEditing?: boolean;
|
|
245
|
-
}):
|
|
253
|
+
}): void;
|
|
246
254
|
addRow(event?: Event, insertAt?: number, opts?: {
|
|
247
255
|
focusColumn?: string;
|
|
248
256
|
editing?: boolean;
|
|
@@ -252,7 +260,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
252
260
|
}): Promise<boolean>;
|
|
253
261
|
cancel(event?: Event, opts?: {
|
|
254
262
|
interactive?: boolean;
|
|
255
|
-
}):
|
|
263
|
+
}): void;
|
|
256
264
|
duplicateRow(event?: Event, row?: TableElement<T>, opts?: {
|
|
257
265
|
skipProperties?: string[];
|
|
258
266
|
}): Promise<boolean>;
|
|
@@ -287,19 +295,19 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
287
295
|
* @param data
|
|
288
296
|
*/
|
|
289
297
|
selectRowByData(data: T): Promise<boolean>;
|
|
290
|
-
clickRow(event: Event | undefined, row: TableElement<T>):
|
|
291
|
-
moveRow(id: number, direction: number):
|
|
298
|
+
clickRow(event: Event | undefined, row: TableElement<T>): boolean;
|
|
299
|
+
moveRow(id: number, direction: number): void;
|
|
292
300
|
ready(opts?: WaitForOptions): Promise<void>;
|
|
293
301
|
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
294
302
|
openSelectColumnsModal(event?: Event): Promise<any>;
|
|
295
303
|
trackByFn(index: number, row: TableElement<T>): number;
|
|
296
304
|
doRefresh(event?: CompletableEvent): void;
|
|
297
305
|
getCurrentColumns(): ColumnItem[];
|
|
298
|
-
escapeEditingRow(event?: Event, row?: TableElement<T>):
|
|
306
|
+
escapeEditingRow(event?: Event, row?: TableElement<T>): void;
|
|
299
307
|
translateControlPath(path: string): string;
|
|
300
|
-
protected
|
|
308
|
+
protected editRow(event: Event | undefined, row: TableElement<T>, opts?: {
|
|
301
309
|
focusColumn?: string;
|
|
302
|
-
}):
|
|
310
|
+
}): boolean;
|
|
303
311
|
/**
|
|
304
312
|
* Try to select row, by row.id, or by data. WIll use EntityUtils.equals()
|
|
305
313
|
* @param id
|
|
@@ -325,8 +333,8 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
325
333
|
* @param row
|
|
326
334
|
* @protected
|
|
327
335
|
*/
|
|
328
|
-
protected
|
|
329
|
-
protected openNewRowDetail(event?:
|
|
336
|
+
protected openRow(id: ID, row: TableElement<T>): Promise<boolean>;
|
|
337
|
+
protected openNewRowDetail(event?: any): Promise<boolean>;
|
|
330
338
|
protected getRequiredColumns(): string[];
|
|
331
339
|
protected getUserColumns(): string[];
|
|
332
340
|
protected getSortedColumn(): MatSortable;
|
|
@@ -343,11 +351,11 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
343
351
|
protected registerAutocompleteField<E = any, EF = any>(fieldName: string, options?: MatAutocompleteFieldAddOptions<E, EF>): MatAutocompleteFieldConfig<E, EF>;
|
|
344
352
|
protected getI18nColumnName(columnName: string): string;
|
|
345
353
|
protected generateTableId(): string;
|
|
346
|
-
protected
|
|
354
|
+
protected addRowToTable(insertAt?: number, opts?: {
|
|
347
355
|
focusColumn?: string;
|
|
348
356
|
editing?: boolean;
|
|
349
357
|
emitEvent?: boolean;
|
|
350
|
-
}): Promise<TableElement<T
|
|
358
|
+
}): Promise<TableElement<T> | undefined>;
|
|
351
359
|
protected registerCellValueChanges(name: string, formPath?: string, emitInitialValue?: boolean): Observable<any>;
|
|
352
360
|
protected setShowColumn(columnName: string, show: boolean, opts?: {
|
|
353
361
|
emitEvent?: boolean;
|
|
@@ -379,30 +387,12 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
379
387
|
onlySelf?: boolean;
|
|
380
388
|
emitEVent?: boolean;
|
|
381
389
|
}): void;
|
|
382
|
-
/**
|
|
383
|
-
* @deprecated Use startEditRow instead
|
|
384
|
-
*/
|
|
385
|
-
protected editRow(event: Event | undefined, row: TableElement<T>, opts?: {
|
|
386
|
-
focusColumn?: string;
|
|
387
|
-
}): Promise<boolean>;
|
|
388
|
-
/**
|
|
389
|
-
* @deprecated use openRowDetail() instead)
|
|
390
|
-
*/
|
|
391
|
-
protected openRow(id: ID, row: TableElement<T>): Promise<boolean>;
|
|
392
|
-
/**
|
|
393
|
-
* @deprecated use createNewRow() instead
|
|
394
|
-
*/
|
|
395
|
-
protected addRowToTable(insertAt?: number, opts?: {
|
|
396
|
-
focusColumn?: string;
|
|
397
|
-
editing?: boolean;
|
|
398
|
-
emitEvent?: boolean;
|
|
399
|
-
}): Promise<TableElement<T>>;
|
|
400
390
|
private listenSortAndPaginationEvents;
|
|
401
|
-
private
|
|
391
|
+
private editRowById;
|
|
402
392
|
private setLoading;
|
|
403
|
-
private
|
|
404
|
-
private
|
|
405
|
-
private
|
|
393
|
+
private deleteNewRow;
|
|
394
|
+
private deleteExistingRow;
|
|
395
|
+
private cancelExistingRow;
|
|
406
396
|
private checkIfRowPristine;
|
|
407
397
|
private checkIfPristine;
|
|
408
398
|
private applyFilter;
|
|
@@ -410,5 +400,5 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
410
400
|
private startCellValueChanges;
|
|
411
401
|
private stopCellValueChanges;
|
|
412
402
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTable<any, any, any>, never>;
|
|
413
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AppTable<any, any, any>, never, never, { "settingsId": "settingsId"; "debug": "debug"; "i18nColumnPrefix": "i18nColumnPrefix"; "i18nColumnSuffix": "i18nColumnSuffix"; "autoLoad": "autoLoad"; "readOnly": "readOnly"; "inlineEdition": "inlineEdition"; "focusFirstColumn": "focusFirstColumn"; "confirmBeforeDelete": "confirmBeforeDelete"; "confirmBeforeCancel": "confirmBeforeCancel"; "undoableDeletion": "undoableDeletion"; "saveBeforeDelete": "saveBeforeDelete"; "keepEditedRowOnSave": "keepEditedRowOnSave"; "saveBeforeSort": "saveBeforeSort"; "saveBeforeFilter": "saveBeforeFilter"; "propagateRowError": "propagateRowError"; "defaultSortBy": "defaultSortBy"; "defaultSortDirection": "defaultSortDirection"; "defaultPageSize": "defaultPageSize"; "defaultPageSizeOptions": "defaultPageSizeOptions"; "focusColumn": "focusColumn"; "dataSource": "dataSource"; "filter": "filter"; "disabled": "disabled"; "paginator": "paginator"; }, { "onRefresh": "onRefresh"; "onOpenRow": "onOpenRow"; "onNewRow": "onNewRow"; "onStartEditingRow": "onStartEditingRow"; "onConfirmEditCreateRow": "onConfirmEditCreateRow"; "onCancelOrDeleteRow": "onCancelOrDeleteRow"; "onBeforeDeleteRows": "onBeforeDeleteRows"; "onBeforeCancelRows": "onBeforeCancelRows"; "onBeforeSave": "onBeforeSave"; "onAfterDeletedRows": "onAfterDeletedRows"; "onSort": "onSort"; "onDirty": "onDirty"; "onError": "onError"; }, never, never, false>;
|
|
403
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AppTable<any, any, any>, never, never, { "settingsId": "settingsId"; "debug": "debug"; "i18nColumnPrefix": "i18nColumnPrefix"; "i18nColumnSuffix": "i18nColumnSuffix"; "autoLoad": "autoLoad"; "readOnly": "readOnly"; "inlineEdition": "inlineEdition"; "focusFirstColumn": "focusFirstColumn"; "confirmBeforeDelete": "confirmBeforeDelete"; "confirmBeforeCancel": "confirmBeforeCancel"; "undoableDeletion": "undoableDeletion"; "saveBeforeDelete": "saveBeforeDelete"; "keepEditedRowOnSave": "keepEditedRowOnSave"; "saveBeforeSort": "saveBeforeSort"; "saveBeforeFilter": "saveBeforeFilter"; "propagateRowError": "propagateRowError"; "defaultSortBy": "defaultSortBy"; "defaultSortDirection": "defaultSortDirection"; "defaultPageSize": "defaultPageSize"; "defaultPageSizeOptions": "defaultPageSizeOptions"; "focusColumn": "focusColumn"; "dataSource": "dataSource"; "filter": "filter"; "disabled": "disabled"; "paginator": "paginator"; }, { "onRefresh": "onRefresh"; "onOpenIdAndRow": "onOpenIdAndRow"; "onOpenRow": "onOpenRow"; "onNewRow": "onNewRow"; "onStartEditingRow": "onStartEditingRow"; "onConfirmEditCreateRow": "onConfirmEditCreateRow"; "onCancelOrDeleteRow": "onCancelOrDeleteRow"; "onBeforeDeleteRows": "onBeforeDeleteRows"; "onBeforeCancelRows": "onBeforeCancelRows"; "onBeforeSave": "onBeforeSave"; "onAfterDeletedRows": "onAfterDeletedRows"; "onSort": "onSort"; "onDirty": "onDirty"; "onError": "onError"; }, never, never, false>;
|
|
414
404
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AppTable } from './table.class';
|
|
2
2
|
import { TableElement } from '@e-is/ngx-material-table';
|
|
3
|
+
import { AsyncTableElement } from '@e-is/ngx-material-table/src/app/ngx-material-table/async/async-table-element';
|
|
3
4
|
export declare class AppTableUtils {
|
|
4
5
|
static waitIdle(table: AppTable<any, any, any>): Promise<any>;
|
|
5
|
-
static logRowErrors(row: TableElement<any>, logPrefix?: string): void;
|
|
6
|
+
static logRowErrors(row: TableElement<any> | AsyncTableElement<any>, logPrefix?: string): void;
|
|
6
7
|
}
|
|
@@ -41,7 +41,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
41
41
|
}): Promise<boolean>;
|
|
42
42
|
clearControlValue(event: Event, formControl: AbstractControl): boolean;
|
|
43
43
|
applyFilterAndClosePanel(event?: Event): void;
|
|
44
|
-
resetFilter(event?:
|
|
44
|
+
resetFilter(event?: Event): void;
|
|
45
45
|
startTimer(): void;
|
|
46
46
|
stopTimer(): void;
|
|
47
47
|
protected generateData(offset?: number, size?: number): Referential[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
2
|
+
import { Environment } from '../../../environments/environment.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DebugComponent {
|
|
5
|
+
title: string;
|
|
6
|
+
enable: boolean;
|
|
7
|
+
expanded: boolean;
|
|
8
|
+
expansionPanel: MatExpansionPanel;
|
|
9
|
+
constructor(environment: Environment);
|
|
10
|
+
toggle(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebugComponent, [{ optional: true; }]>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DebugComponent, "app-debug", never, { "title": "title"; "enable": "enable"; "expanded": "expanded"; }, {}, never, ["*"], false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./debug.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/material/expansion";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@ngx-translate/core";
|
|
8
|
+
export declare class SharedDebugModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDebugModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDebugModule, [typeof i1.DebugComponent], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.MatExpansionModule, typeof i5.MatIconModule, typeof i6.TranslateModule, typeof i4.MatExpansionModule], [typeof i1.DebugComponent, typeof i6.TranslateModule]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDebugModule>;
|
|
12
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
export interface PromiseEventPayload<
|
|
4
|
-
success: (
|
|
3
|
+
export interface PromiseEventPayload<R = any> {
|
|
4
|
+
success: (R: any) => void;
|
|
5
5
|
error: (err: any) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare type PromiseEvent<
|
|
8
|
-
export declare function createPromiseEventEmitter<
|
|
7
|
+
export declare type PromiseEvent<R = any, D = void> = CustomEvent<PromiseEventPayload<R> & D>;
|
|
8
|
+
export declare function createPromiseEventEmitter<R = any, D = void>(): EventEmitter<PromiseEvent<R, D>>;
|
|
9
9
|
export declare function createPromiseEvent<T = void, D = void>(eventType: string, promise: PromiseEventPayload<T>, initArg?: CustomEventInit<D>): PromiseEvent<T, D>;
|
|
10
10
|
export declare function emitPromiseEvent<T = any, D = void>(emitter: EventEmitter<PromiseEvent<T, D>>, eventType: string, initArg?: CustomEventInit<D>): Promise<T>;
|
|
11
11
|
export interface CompletableEvent extends Event {
|
|
@@ -5,6 +5,8 @@ import { DisplayFn, FormFieldDefinition, FormFieldType } from './field.model';
|
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { filterNumberInput, selectInputContent } from '../inputs';
|
|
7
7
|
import { Property } from '../types';
|
|
8
|
+
import { ThemePalette } from '@angular/material/core';
|
|
9
|
+
import { PredefinedColors } from '@ionic/core';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
10
12
|
protected translate: TranslateService;
|
|
@@ -29,6 +31,7 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
29
31
|
floatLabel: FloatLabelType;
|
|
30
32
|
tabindex: number;
|
|
31
33
|
autofocus: boolean;
|
|
34
|
+
chipColor: ThemePalette | PredefinedColors;
|
|
32
35
|
classList: string;
|
|
33
36
|
onKeyupEnter: EventEmitter<any>;
|
|
34
37
|
get value(): any;
|
|
@@ -52,5 +55,5 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
52
55
|
protected checkAndResolveFormControl(): void;
|
|
53
56
|
protected updateTabIndex(): void;
|
|
54
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [null, null, null, { optional: true; }]>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": "definition"; "required": "required"; "readonly": "readonly"; "disabled": "disabled"; "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "compact": "compact"; "floatLabel": "floatLabel"; "tabindex": "tabindex"; "autofocus": "autofocus"; "classList": "class"; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": "definition"; "required": "required"; "readonly": "readonly"; "disabled": "disabled"; "formControl": "formControl"; "formControlName": "formControlName"; "placeholder": "placeholder"; "compact": "compact"; "floatLabel": "floatLabel"; "tabindex": "tabindex"; "autofocus": "autofocus"; "chipColor": "chipColor"; "classList": "class"; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false>;
|
|
56
59
|
}
|
|
@@ -36,9 +36,16 @@ export declare function disableControls(form: UntypedFormGroup, paths: string[],
|
|
|
36
36
|
onlySelf?: boolean;
|
|
37
37
|
emitEvent?: boolean;
|
|
38
38
|
}): void;
|
|
39
|
-
export declare function
|
|
39
|
+
export declare function pushValueInArray(arrayControl: UntypedFormArray, createControl: (value?: any) => AbstractControl, equals: (v1: any, v2: any) => boolean, isEmpty: (value: any) => boolean, value: any, options?: {
|
|
40
40
|
emitEvent: boolean;
|
|
41
41
|
}): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Patch an array using given default values. Each default value will be pass to the 'createControl()' function
|
|
44
|
+
* @param arrayControl
|
|
45
|
+
* @param createControl
|
|
46
|
+
* @param values
|
|
47
|
+
*/
|
|
48
|
+
export declare function patchValueInArray(arrayControl: UntypedFormArray, createControl: (value?: any) => AbstractControl, defaultValues: any[]): boolean;
|
|
42
49
|
export declare function resizeArray(arrayControl: UntypedFormArray, createControl: () => AbstractControl, length: number): boolean;
|
|
43
50
|
export declare function removeValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number): boolean;
|
|
44
51
|
export declare function clearValueInArray(arrayControl: UntypedFormArray, isEmpty: (value: any) => boolean, index: number): boolean;
|
|
@@ -18,7 +18,12 @@ export declare function arrayGroupBy<T = any, K extends keyof T = any, M extends
|
|
|
18
18
|
} = {
|
|
19
19
|
[key: string]: T[];
|
|
20
20
|
}>(obj: T[], key: keyof T): M;
|
|
21
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Remove duplicated value, in array. Will compute a unique key (from given properties, or given function)
|
|
23
|
+
* @param values
|
|
24
|
+
* @param propertiesOrKeyFn
|
|
25
|
+
*/
|
|
26
|
+
export declare function arrayDistinct<T = any>(values: T[], propertiesOrKeyFn?: string | string[] | ((obj: T) => string)): T[];
|
|
22
27
|
export declare function nullIfUndefined<T>(obj: T | null | undefined): T | null;
|
|
23
28
|
export declare function trimEmptyToNull<T>(str: string | null | undefined): string | null;
|
|
24
29
|
export declare function toBoolean(obj: boolean | null | undefined | string, defaultValue?: boolean): boolean;
|
|
@@ -51,16 +56,16 @@ export declare function suggestFromStringArray(values: string[], value: any, opt
|
|
|
51
56
|
}): string[];
|
|
52
57
|
export declare function joinPropertiesPath<T = any>(obj: T, properties: string[], separator?: string): string | undefined;
|
|
53
58
|
export declare function joinProperties<T = any, K extends keyof T = any>(obj: T, keys: K[], separator?: string): string | undefined;
|
|
54
|
-
export declare function propertyPathComparator<T = any>(path: string): (a: T, b: T) => number;
|
|
59
|
+
export declare function propertyPathComparator<T = any>(path: string | string[]): (a: T, b: T) => number;
|
|
55
60
|
export declare function propertyComparator<T = any, K extends keyof T = any>(key: K, defaultValue?: any): (a: T, b: T) => number;
|
|
56
61
|
export declare function propertiesPathComparator<T = any>(keys: string[], defaultValues?: any[]): (a: T, b: T) => number;
|
|
57
62
|
export declare function sort<T>(array: T[], attribute: string, opts?: Intl.CollatorOptions): T[];
|
|
58
63
|
export declare function isInt(value: string): boolean;
|
|
59
64
|
export declare function isNumber(value: string): boolean;
|
|
60
65
|
export declare function isNumberRange(value: string): boolean;
|
|
61
|
-
export declare function getPropertyByPath(obj: any, path: string, defaultValue?: any): any;
|
|
66
|
+
export declare function getPropertyByPath(obj: any, path: string | string[], defaultValue?: any): any;
|
|
62
67
|
export declare function getProperty<T = any, K extends keyof T = any>(obj: T, key: K): T[K];
|
|
63
|
-
export declare function getPropertyByPathAsString(obj: any, path: string): string | undefined;
|
|
68
|
+
export declare function getPropertyByPathAsString(obj: any, path: string | string[]): string | undefined;
|
|
64
69
|
export declare function sleep(ms: number): Promise<void>;
|
|
65
70
|
export declare function round(value: number | undefined | null): number;
|
|
66
71
|
export declare function equalsOrNil(value1: any, value2: any): boolean;
|
|
@@ -20,21 +20,20 @@ export declare class Color {
|
|
|
20
20
|
rgba(opacity?: number): string;
|
|
21
21
|
}
|
|
22
22
|
export declare interface ColorGradientOptions {
|
|
23
|
-
opacity?: number;
|
|
24
23
|
startColor?: number[];
|
|
25
24
|
mainColor?: number[];
|
|
26
25
|
mainColorIndex?: number;
|
|
27
26
|
endColor?: number[];
|
|
28
|
-
format?: 'rgb' | 'hex' | 'array';
|
|
29
27
|
}
|
|
30
28
|
export declare interface ColorScaleOptions extends ColorGradientOptions {
|
|
29
|
+
opacity?: number;
|
|
31
30
|
min?: number;
|
|
32
31
|
max?: number;
|
|
33
32
|
upperMax?: boolean;
|
|
34
33
|
}
|
|
35
34
|
export declare interface ColorScaleLegendItem {
|
|
36
|
-
label: string;
|
|
37
|
-
color:
|
|
35
|
+
label: string | number[];
|
|
36
|
+
color: Color;
|
|
38
37
|
}
|
|
39
38
|
export declare interface ColorScaleLegend {
|
|
40
39
|
items: ColorScaleLegendItem[];
|
|
@@ -43,7 +42,6 @@ export declare interface ColorScaleLegend {
|
|
|
43
42
|
* Helper class for colors scale
|
|
44
43
|
*/
|
|
45
44
|
export declare class ColorScale {
|
|
46
|
-
private colorArray;
|
|
47
45
|
static custom: (count: number, options?: ColorScaleOptions) => ColorScale;
|
|
48
46
|
static default(): ColorScale;
|
|
49
47
|
/**
|
|
@@ -56,8 +54,10 @@ export declare class ColorScale {
|
|
|
56
54
|
private _legendItems;
|
|
57
55
|
get min(): number;
|
|
58
56
|
get max(): number;
|
|
59
|
-
constructor(colorArray:
|
|
57
|
+
constructor(colorArray: number[][], options?: ColorScaleOptions);
|
|
60
58
|
get legend(): ColorScaleLegend;
|
|
61
|
-
getValueColor(value: number):
|
|
62
|
-
|
|
59
|
+
getValueColor(value: number): Color;
|
|
60
|
+
getLegendForValue(value: number): ColorScaleLegendItem;
|
|
61
|
+
getLegendAtIndex(index: number): ColorScaleLegendItem;
|
|
62
|
+
protected computeLegendItems(colorArray: number[][]): ColorScaleLegendItem[];
|
|
63
63
|
}
|
|
@@ -57,7 +57,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
57
57
|
ngOnInit(): void;
|
|
58
58
|
ngAfterContentChecked(): void;
|
|
59
59
|
ngOnDestroy(): void;
|
|
60
|
-
add(event?:
|
|
60
|
+
add(event?: Event): Promise<void>;
|
|
61
61
|
delete(event: Event, row: TableElement<T>): Promise<boolean>;
|
|
62
62
|
toggleViewMode(event?: Event): void;
|
|
63
63
|
trackByFn(index: number, row: TableElement<T>): number;
|
|
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class GalleryTestPage implements OnInit, OnDestroy {
|
|
7
7
|
protected dataService: ImageAttachmentService;
|
|
8
8
|
private _subscription;
|
|
9
|
-
readonly dataSource: EntitiesTableDataSource<ImageAttachment, ImageAttachmentFilter, number, import("@sumaris-net/ngx-components").EntitiesServiceWatchOptions, any, import("@e-is/ngx-material-table").ValidatorService, import("../../../../core/table/entities-table-datasource.class").EntitiesTableDataSourceConfig<ImageAttachment, number, import("@sumaris-net/ngx-components").EntitiesServiceWatchOptions, any>>;
|
|
9
|
+
readonly dataSource: EntitiesTableDataSource<ImageAttachment, ImageAttachmentFilter, number, import("@sumaris-net/ngx-components").EntitiesServiceWatchOptions, any, import("@e-is/ngx-material-table").ValidatorService, import("../../../../core/table/entities-table-datasource.class").EntitiesTableDataSourceConfig<ImageAttachment, number, import("@sumaris-net/ngx-components").EntitiesServiceWatchOptions, any>, import("@e-is/ngx-material-table").TableElement<ImageAttachment>>;
|
|
10
10
|
constructor(dataService: ImageAttachmentService);
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
@@ -2,7 +2,7 @@ import { LoadResult, SuggestService } from '../../services/entity-service.class'
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { DisplayFn, EqualsFn } from '../../form/field.model';
|
|
4
4
|
export declare interface MatAutocompleteFieldConfig<T = any, F = any> {
|
|
5
|
-
attributes
|
|
5
|
+
attributes?: string[];
|
|
6
6
|
suggestFn?: (value: any, options?: any) => Promise<T[] | LoadResult<T>>;
|
|
7
7
|
filter?: Partial<F>;
|
|
8
8
|
items?: Observable<T[]> | T[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { MatBadge } from '@angular/material/badge';
|
|
3
|
+
import { AppColors } from '../../types';
|
|
4
|
+
import { AriaDescriber } from '@angular/cdk/a11y';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare type MatBadgeFill = 'clear' | 'solid';
|
|
7
|
+
export declare class BadgeDirective extends MatBadge implements OnInit, OnDestroy {
|
|
8
|
+
protected el: ElementRef<HTMLElement>;
|
|
9
|
+
set appColor(value: AppColors);
|
|
10
|
+
get appColor(): AppColors;
|
|
11
|
+
set fill(value: MatBadgeFill);
|
|
12
|
+
get fill(): MatBadgeFill;
|
|
13
|
+
set matIcon(icon: string);
|
|
14
|
+
set ionIcon(icon: string);
|
|
15
|
+
set hidden(hidden: boolean);
|
|
16
|
+
get hidden(): boolean;
|
|
17
|
+
private _appColor;
|
|
18
|
+
private _fill;
|
|
19
|
+
private _matIcon;
|
|
20
|
+
private _ionIcon;
|
|
21
|
+
private _html;
|
|
22
|
+
private _subscription;
|
|
23
|
+
private _$update;
|
|
24
|
+
constructor(_ngZone: NgZone, el: ElementRef<HTMLElement>, _ariaDescriber: AriaDescriber, _renderer: Renderer2, _animationMode?: string | undefined);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
private updateView;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, [null, null, null, null, { optional: true; }]>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[appBadge], [appBadgeIcon], [appBadgeMatIcon]", never, { "disabled": "matBadgeDisabled"; "color": "appBadgeColor"; "size": "appBadgeSize"; "fill": "appBadgeFill"; "overlap": "appBadgeOverlap"; "hidden": "appBadgeHidden"; "appColor": "appBadgeColor"; "matIcon": "appBadgeMatIcon"; "ionIcon": "appBadgeIcon"; }, {}, never, never, false>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@angular/material/badge";
|
|
6
|
+
export declare class SharedBadgeModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedBadgeModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedBadgeModule, [typeof i1.BadgeDirective], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.MatBadgeModule], [typeof i1.BadgeDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedBadgeModule>;
|
|
10
|
+
}
|