@sumaris-net/ngx-components 2.5.16 → 2.6.0-rc1
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 +86 -0
- package/esm2020/public_api.mjs +13 -3
- package/esm2020/src/app/admin/admin-routing.module.mjs +5 -5
- package/esm2020/src/app/admin/admin.module.mjs +5 -5
- package/esm2020/src/app/admin/services/person.service.mjs +4 -4
- package/esm2020/src/app/admin/services/validator/person.validator.mjs +4 -4
- package/esm2020/src/app/admin/users/users.mjs +6 -6
- package/esm2020/src/app/admin/users/users.module.mjs +5 -5
- package/esm2020/src/app/core/about/about.modal.mjs +4 -4
- package/esm2020/src/app/core/about/about.module.mjs +5 -5
- package/esm2020/src/app/core/account/account.module.mjs +5 -5
- package/esm2020/src/app/core/account/account.page.mjs +25 -26
- package/esm2020/src/app/core/account/new-token.modal.mjs +4 -4
- package/esm2020/src/app/core/account/token.table.mjs +5 -5
- package/esm2020/src/app/core/auth/auth.form.mjs +4 -4
- package/esm2020/src/app/core/auth/auth.modal.mjs +4 -4
- package/esm2020/src/app/core/auth/auth.module.mjs +5 -5
- package/esm2020/src/app/core/core.module.mjs +14 -14
- package/esm2020/src/app/core/core.testing.module.mjs +5 -5
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.component.mjs +4 -4
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.module.mjs +5 -5
- package/esm2020/src/app/core/form/entity/editor.class.mjs +19 -15
- package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +11 -9
- package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +87 -68
- package/esm2020/src/app/core/form/entity/entity-metadata.component.mjs +4 -4
- package/esm2020/src/app/core/form/entity/entity.module.mjs +5 -5
- package/esm2020/src/app/core/form/form.class.mjs +6 -6
- package/esm2020/src/app/core/form/form.module.mjs +5 -5
- package/esm2020/src/app/core/form/form.utils.mjs +2 -2
- package/esm2020/src/app/core/form/list/list.form.mjs +4 -4
- package/esm2020/src/app/core/form/list/list.module.mjs +5 -5
- package/esm2020/src/app/core/form/properties/properties.form.mjs +9 -6
- package/esm2020/src/app/core/form/properties/properties.module.mjs +5 -5
- package/esm2020/src/app/core/form/properties/properties.table.mjs +8 -8
- package/esm2020/src/app/core/form/properties/property.validator.mjs +4 -4
- package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +4 -4
- package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +5 -5
- package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.mjs +40 -7
- package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +5 -5
- package/esm2020/src/app/core/form/text-popover/text-form.component.mjs +5 -5
- package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +46 -5
- package/esm2020/src/app/core/form/text-popover/text-popover.module.mjs +5 -5
- package/esm2020/src/app/core/graphql/graphql.module.mjs +5 -5
- package/esm2020/src/app/core/graphql/graphql.service.mjs +20 -7
- package/esm2020/src/app/core/graphql/graphql.utils.mjs +1 -1
- package/esm2020/src/app/core/home/home.mjs +5 -5
- package/esm2020/src/app/core/home/home.module.mjs +5 -5
- package/esm2020/src/app/core/icon/icon.component.mjs +4 -4
- package/esm2020/src/app/core/icon/icon.module.mjs +5 -5
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +17 -11
- package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +5 -5
- package/esm2020/src/app/core/menu/menu.component.mjs +18 -19
- package/esm2020/src/app/core/menu/menu.module.mjs +5 -5
- package/esm2020/src/app/core/menu/menu.service.mjs +4 -4
- package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +4 -4
- package/esm2020/src/app/core/offline/update-offline-mode-card.module.mjs +5 -5
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +17 -9
- package/esm2020/src/app/core/peer/select-peer.module.mjs +5 -5
- package/esm2020/src/app/core/register/register-confirm.page.mjs +5 -5
- package/esm2020/src/app/core/register/register.form.mjs +4 -4
- package/esm2020/src/app/core/register/register.modal.mjs +4 -4
- package/esm2020/src/app/core/register/register.module.mjs +5 -5
- package/esm2020/src/app/core/services/account.service.mjs +28 -8
- package/esm2020/src/app/core/services/auth-guard.service.mjs +8 -8
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +7 -4
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +4 -4
- package/esm2020/src/app/core/services/config.service.mjs +4 -4
- package/esm2020/src/app/core/services/crypto.service.mjs +4 -4
- package/esm2020/src/app/core/services/errors.mjs +2 -1
- package/esm2020/src/app/core/services/local-settings.service.mjs +15 -11
- package/esm2020/src/app/core/services/model/config.model.mjs +3 -3
- package/esm2020/src/app/core/services/model/entity.model.mjs +15 -4
- package/esm2020/src/app/core/services/model/referential.model.mjs +14 -3
- package/esm2020/src/app/core/services/network.service.mjs +35 -20
- package/esm2020/src/app/core/services/network.utils.mjs +10 -11
- package/esm2020/src/app/core/services/pipes/account.pipes.mjs +9 -9
- package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +5 -5
- package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +5 -5
- package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +12 -12
- package/esm2020/src/app/core/services/platform.service.mjs +37 -10
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +8 -7
- package/esm2020/src/app/core/services/storage/entity-store.class.mjs +1 -1
- package/esm2020/src/app/core/services/testing/referential.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/account.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/base.validator.class.mjs +4 -4
- package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +4 -4
- package/esm2020/src/app/core/services/validator/user-token.validator.mjs +4 -4
- package/esm2020/src/app/core/settings/settings.module.mjs +5 -5
- package/esm2020/src/app/core/settings/settings.page.mjs +46 -27
- package/esm2020/src/app/core/table/actions-column.component.mjs +11 -5
- package/esm2020/src/app/core/table/async-table.class.mjs +10 -6
- package/esm2020/src/app/core/table/entities-async-table-datasource.class.mjs +4 -4
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +4 -4
- package/esm2020/src/app/core/table/memory-table.class.mjs +4 -4
- package/esm2020/src/app/core/table/table-select-columns.component.mjs +4 -4
- package/esm2020/src/app/core/table/table.class.mjs +79 -32
- package/esm2020/src/app/core/table/table.module.mjs +5 -5
- package/esm2020/src/app/core/table/table.utils.mjs +18 -1
- package/esm2020/src/app/core/table/testing/table-validator.service.mjs +27 -0
- package/esm2020/src/app/core/table/testing/table.testing.mjs +29 -14
- package/esm2020/src/app/core/table/testing/table.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/alerts.mjs +3 -2
- package/esm2020/src/app/shared/audio/audio.mjs +62 -15
- package/esm2020/src/app/shared/audio/audio.testing.mjs +4 -4
- package/esm2020/src/app/shared/audio/audio.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/capacitor/keyboard.mjs +4 -4
- package/esm2020/src/app/shared/dates.mjs +1 -1
- package/esm2020/src/app/shared/debug/debug-service.class.mjs +3 -0
- package/esm2020/src/app/shared/debug/debug.component.mjs +5 -5
- package/esm2020/src/app/shared/debug/debug.module.mjs +5 -5
- package/esm2020/src/app/shared/directives/autofocus.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/autotitle.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/directives.module.mjs +5 -5
- package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/ng-var.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +4 -4
- package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +4 -4
- package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +5 -5
- package/esm2020/src/app/shared/file/file.service.mjs +4 -4
- package/esm2020/src/app/shared/file/json.utils.mjs +21 -3
- package/esm2020/src/app/shared/form/field.component.mjs +103 -40
- package/esm2020/src/app/shared/form/field.model.mjs +1 -1
- package/esm2020/src/app/shared/form/loading-spinner.mjs +4 -4
- package/esm2020/src/app/shared/functions.mjs +27 -12
- package/esm2020/src/app/shared/geolocation/geolocation.utils.mjs +46 -7
- package/esm2020/src/app/shared/gesture/gesture-config.mjs +4 -4
- package/esm2020/src/app/shared/graph/graph-colors.mjs +5 -1
- package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +4 -4
- package/esm2020/src/app/shared/help/help.modal.mjs +4 -4
- package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +4 -4
- package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +4 -4
- package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +5 -5
- package/esm2020/src/app/shared/http/http.utils.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +43 -33
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +7 -6
- package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/image/image.module.mjs +5 -5
- package/esm2020/src/app/shared/image/image.service.mjs +4 -4
- package/esm2020/src/app/shared/logging/log-level.model.mjs +48 -0
- package/esm2020/src/app/shared/logging/logger.model.mjs +47 -0
- package/esm2020/src/app/shared/logging/logging-service.class.mjs +121 -0
- package/esm2020/src/app/shared/logging/logging-service.config.mjs +2 -0
- package/esm2020/src/app/shared/logging/logging-service.module.mjs +30 -0
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +15 -14
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +5 -5
- package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +5 -5
- package/esm2020/src/app/shared/material/badge/badge.directive.mjs +130 -112
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +5 -5
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +27 -14
- package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +5 -5
- package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +6 -6
- package/esm2020/src/app/shared/material/chips/chips.module.mjs +5 -5
- package/esm2020/src/app/shared/material/chips/material.chips.mjs +4 -4
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +4 -4
- package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +5 -5
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +6 -6
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +6 -6
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +96 -33
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +4 -4
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +4 -4
- package/esm2020/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +4 -4
- package/esm2020/src/app/shared/material/duration/duration.module.mjs +5 -5
- package/esm2020/src/app/shared/material/duration/material.duration.mjs +4 -4
- package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +4 -4
- package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +5 -5
- package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +4 -4
- package/esm2020/src/app/shared/material/material.module.mjs +5 -5
- package/esm2020/src/app/shared/material/material.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +5 -5
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +4 -4
- package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +4 -4
- package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +4 -4
- package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +45 -35
- package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +7 -6
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +4 -4
- package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +47 -41
- package/esm2020/src/app/shared/pipes/colors.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +7 -7
- package/esm2020/src/app/shared/pipes/date-from-now.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/duration.pipe.mjs +6 -6
- package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/form.pipes.mjs +19 -19
- package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +10 -10
- package/esm2020/src/app/shared/pipes/maps.pipe.mjs +13 -13
- package/esm2020/src/app/shared/pipes/math.pipes.mjs +13 -13
- package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/number-format.pipe.mjs +5 -5
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +22 -9
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +8 -8
- package/esm2020/src/app/shared/pipes/string.pipes.mjs +28 -28
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +9 -9
- package/esm2020/src/app/shared/pipes/types.pipes.mjs +45 -0
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +4 -4
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +4 -4
- package/esm2020/src/app/shared/services/startable-service.class.mjs +6 -1
- package/esm2020/src/app/shared/services/translate-context.service.mjs +28 -4
- package/esm2020/src/app/shared/shared-routing.module.mjs +8 -8
- package/esm2020/src/app/shared/shared.module.mjs +7 -7
- package/esm2020/src/app/shared/shared.testing.module.mjs +20 -12
- package/esm2020/src/app/shared/storage/storage-explorer.component.mjs +268 -0
- package/esm2020/src/app/shared/storage/storage-explorer.module.mjs +60 -0
- package/esm2020/src/app/shared/storage/storage.service.mjs +132 -0
- package/esm2020/src/app/shared/storage/storage.utils.mjs +13 -0
- package/esm2020/src/app/shared/testing/observable.test.mjs +4 -4
- package/esm2020/src/app/shared/testing/tests.page.mjs +4 -4
- package/esm2020/src/app/shared/toast/toast.testing.mjs +6 -6
- package/esm2020/src/app/shared/toast/toast.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +4 -4
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +14 -13
- package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +5 -5
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +5 -5
- package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +4 -4
- package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +4 -4
- package/esm2020/src/app/shared/validator/validators.mjs +32 -2
- package/esm2020/src/app/social/job/job.module.mjs +5 -5
- package/esm2020/src/app/social/job/progression/job-progression.component.mjs +4 -4
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +4 -4
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +4 -4
- package/esm2020/src/app/social/job/progression/job-progression.service.mjs +4 -4
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +4 -4
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +4 -4
- package/esm2020/src/app/social/job/testing/job.testing.module.mjs +5 -5
- package/esm2020/src/app/social/message/message.form.mjs +4 -4
- package/esm2020/src/app/social/message/message.modal.mjs +4 -4
- package/esm2020/src/app/social/message/message.module.mjs +5 -5
- package/esm2020/src/app/social/message/message.service.mjs +4 -4
- package/esm2020/src/app/social/social.module.mjs +5 -5
- package/esm2020/src/app/social/social.testing.module.mjs +5 -5
- package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +5 -5
- package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +4 -4
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +4 -6
- package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +5 -5
- package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +4 -4
- package/esm2020/src/app/social/user-event/user-event.module.mjs +5 -5
- package/esm2020/src/app/social/user-event/user-event.service.mjs +4 -4
- package/esm2020/src/environments/environment.class.mjs +1 -1
- package/esm2020/src/environments/environment.mjs +15 -7
- package/fesm2015/sumaris-net.ngx-components.mjs +2892 -1561
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2815 -1526
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +10 -10
- package/public_api.d.ts +12 -2
- package/src/app/core/account/account.page.d.ts +3 -3
- package/src/app/core/core.module.d.ts +1 -1
- package/src/app/core/form/entity/editor.class.d.ts +6 -4
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +0 -1
- package/src/app/core/form/entity/entity-editor.class.d.ts +37 -31
- package/src/app/core/form/form.class.d.ts +1 -1
- package/src/app/core/form/properties/properties.form.d.ts +1 -0
- package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +6 -2
- package/src/app/core/form/text-popover/text-popover.component.d.ts +27 -2
- package/src/app/core/graphql/graphql.service.d.ts +1 -1
- package/src/app/core/graphql/graphql.utils.d.ts +1 -1
- package/src/app/core/menu/menu.component.d.ts +3 -4
- package/src/app/core/peer/select-peer.modal.d.ts +5 -2
- package/src/app/core/services/account.service.d.ts +5 -0
- package/src/app/core/services/base-entity-service.class.d.ts +1 -0
- package/src/app/core/services/errors.d.ts +1 -0
- package/src/app/core/services/local-settings.service.d.ts +5 -2
- package/src/app/core/services/model/entity.model.d.ts +3 -0
- package/src/app/core/services/model/referential.model.d.ts +6 -1
- package/src/app/core/services/network.service.d.ts +5 -2
- package/src/app/core/services/network.utils.d.ts +6 -7
- package/src/app/core/services/pipes/usage-mode.pipes.d.ts +8 -8
- package/src/app/core/services/platform.service.d.ts +9 -5
- package/src/app/core/services/storage/entities-storage.service.d.ts +1 -1
- package/src/app/core/services/storage/entity-store.class.d.ts +1 -1
- package/src/app/core/settings/settings.page.d.ts +9 -6
- package/src/app/core/table/actions-column.component.d.ts +6 -1
- package/src/app/core/table/table.class.d.ts +11 -11
- package/src/app/core/table/table.utils.d.ts +4 -0
- package/src/app/core/table/testing/table-validator.service.d.ts +17 -0
- package/src/app/core/table/testing/table.testing.d.ts +2 -0
- package/src/app/shared/alerts.d.ts +2 -1
- package/src/app/shared/audio/audio.d.ts +1 -0
- package/src/app/shared/dates.d.ts +1 -1
- package/src/app/shared/debug/debug-service.class.d.ts +5 -0
- package/src/app/shared/file/file.utils.d.ts +1 -1
- package/src/app/shared/file/json.utils.d.ts +5 -0
- package/src/app/shared/form/field.component.d.ts +16 -4
- package/src/app/shared/form/field.model.d.ts +1 -1
- package/src/app/shared/functions.d.ts +10 -8
- package/src/app/shared/geolocation/geolocation.utils.d.ts +9 -1
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +14 -17
- package/src/app/shared/logging/log-level.model.d.ts +38 -0
- package/src/app/shared/logging/logger.model.d.ts +68 -0
- package/src/app/shared/logging/logging-service.class.d.ts +39 -0
- package/src/app/shared/logging/logging-service.config.d.ts +25 -0
- package/src/app/shared/logging/logging-service.module.d.ts +9 -0
- package/src/app/shared/material/badge/badge.directive.d.ts +25 -18
- package/src/app/shared/material/badge/badge.test.d.ts +8 -0
- package/src/app/shared/material/datetime/material.datetime.d.ts +15 -5
- package/src/app/shared/material/swipe/material.swipe.d.ts +12 -12
- package/src/app/shared/pipes/arrays.pipe.d.ts +9 -9
- package/src/app/shared/pipes/duration.pipe.d.ts +2 -1
- package/src/app/shared/pipes/pipes.module.d.ts +5 -4
- package/src/app/shared/pipes/types.pipes.d.ts +18 -0
- package/src/app/shared/services/startable-service.class.d.ts +1 -0
- package/src/app/shared/services/translate-context.service.d.ts +2 -2
- package/src/app/shared/shared.testing.module.d.ts +2 -1
- package/src/app/shared/storage/storage-explorer.component.d.ts +58 -0
- package/src/app/shared/storage/storage-explorer.module.d.ts +16 -0
- package/src/app/shared/{services/storage → storage}/storage.service.d.ts +2 -2
- package/src/app/shared/toolbar/toolbar.d.ts +5 -4
- package/src/app/shared/validator/validators.d.ts +6 -0
- package/src/assets/i18n/en-US.json +23 -3
- package/src/assets/i18n/en.json +23 -3
- package/src/assets/i18n/fr.json +22 -8
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +4 -0
- package/src/theme/_ionic.globals.scss +7 -2
- package/src/theme/_ngx-components.scss +13 -3
- package/esm2020/src/app/shared/services/storage/storage.service.mjs +0 -132
- package/esm2020/src/app/shared/services/storage/storage.utils.mjs +0 -13
- /package/src/app/shared/{services/storage → storage}/storage.utils.d.ts +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { LogLevel } from './log-level.model';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { LoggingServiceConfig } from './logging-service.config';
|
|
4
|
+
import { AppColors } from '../types';
|
|
5
|
+
export interface ILoggingService {
|
|
6
|
+
configure(configuration: LoggingServiceConfig): Promise<void>;
|
|
7
|
+
getLogger(loggerName: string): ILogger;
|
|
8
|
+
}
|
|
9
|
+
export interface ILoggingAppender {
|
|
10
|
+
append(loggerName: string, level: LogLevel, message: string): any;
|
|
11
|
+
}
|
|
12
|
+
export interface ILogger {
|
|
13
|
+
/**
|
|
14
|
+
* Logs a message at level TRACE.
|
|
15
|
+
*
|
|
16
|
+
* @param methodName name of the method
|
|
17
|
+
* @param params optional parameters to be logged; objects will be formatted as JSON
|
|
18
|
+
*/
|
|
19
|
+
trace(methodName: string, ...params: any[]): void;
|
|
20
|
+
/**
|
|
21
|
+
* Logs a message at level DEBUG.
|
|
22
|
+
*
|
|
23
|
+
* @param methodName name of the method
|
|
24
|
+
* @param params optional parameters to be logged; objects will be formatted as JSON
|
|
25
|
+
*/
|
|
26
|
+
debug(methodName: string, ...params: any[]): void;
|
|
27
|
+
/**
|
|
28
|
+
* Logs a message at level INFO.
|
|
29
|
+
*
|
|
30
|
+
* @param methodName name of the method
|
|
31
|
+
* @param params optional parameters to be logged; objects will be formatted as JSON
|
|
32
|
+
*/
|
|
33
|
+
info(methodName: string, ...params: any[]): void;
|
|
34
|
+
/**
|
|
35
|
+
* Logs a message at level WARN.
|
|
36
|
+
*
|
|
37
|
+
* @param methodName name of the method
|
|
38
|
+
* @param params optional parameters to be logged; objects will be formatted as JSON
|
|
39
|
+
*/
|
|
40
|
+
warn(methodName: string, ...params: any[]): void;
|
|
41
|
+
/**
|
|
42
|
+
* Logs a message at level ERROR.
|
|
43
|
+
*
|
|
44
|
+
* @param methodName name of the method
|
|
45
|
+
* @param params optional parameters to be logged; objects will be formatted as JSON
|
|
46
|
+
*/
|
|
47
|
+
error(methodName: string, ...params: any[]): any;
|
|
48
|
+
/**
|
|
49
|
+
* Logs a message at level FATAL.
|
|
50
|
+
*
|
|
51
|
+
* @param methodName name of the method
|
|
52
|
+
* @param params optional parameters to be logged; objects will be formatted as JSON
|
|
53
|
+
*/
|
|
54
|
+
fatal(methodName: string, ...params: any[]): any;
|
|
55
|
+
}
|
|
56
|
+
export interface Log {
|
|
57
|
+
loggerName: string;
|
|
58
|
+
level: LogLevel;
|
|
59
|
+
message: string;
|
|
60
|
+
date: Moment;
|
|
61
|
+
}
|
|
62
|
+
export declare class LogUtils {
|
|
63
|
+
static fromObject(source: any): Log;
|
|
64
|
+
static asObject(source: Log): any;
|
|
65
|
+
static fromObjects(sources: any[]): Log[];
|
|
66
|
+
static levelToString(level: LogLevel): string;
|
|
67
|
+
static levelToColor(level: LogLevel): AppColors;
|
|
68
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ILogger, ILoggingAppender, ILoggingService, Log } from './logger.model';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { IStorage } from '../storage/storage.utils';
|
|
5
|
+
import { Environment } from '../../../environments/environment.class';
|
|
6
|
+
import { LoggingServiceConfig } from './logging-service.config';
|
|
7
|
+
import { LogLevel } from './log-level.model';
|
|
8
|
+
import { StartableService } from '../services/startable-service.class';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class Logger implements ILogger {
|
|
11
|
+
private _name;
|
|
12
|
+
private _appender;
|
|
13
|
+
constructor(_name: string, _appender: ILoggingAppender);
|
|
14
|
+
trace(methodName: string, ...params: any[]): void;
|
|
15
|
+
debug(methodName: string, ...params: any[]): void;
|
|
16
|
+
info(methodName: string, ...params: any[]): void;
|
|
17
|
+
warn(methodName: string, ...params: any[]): void;
|
|
18
|
+
error(methodName: string, ...params: any[]): void;
|
|
19
|
+
fatal(methodName: string, ...params: any[]): void;
|
|
20
|
+
private toString;
|
|
21
|
+
}
|
|
22
|
+
export declare const APP_LOGGING_SERVICE: InjectionToken<ILoggingService>;
|
|
23
|
+
export declare class LoggingService extends StartableService<void> implements ILoggingService, ILoggingAppender {
|
|
24
|
+
private storage;
|
|
25
|
+
protected environment: Environment;
|
|
26
|
+
_dataSubject: BehaviorSubject<Log[]>;
|
|
27
|
+
_debounceTimeMs: number;
|
|
28
|
+
_storageKey: string;
|
|
29
|
+
_maxMessages: number;
|
|
30
|
+
_saving: boolean;
|
|
31
|
+
constructor(storage: IStorage, environment: Environment);
|
|
32
|
+
configure(config: LoggingServiceConfig): Promise<void>;
|
|
33
|
+
protected ngOnStart(opts?: LoggingServiceConfig): Promise<void>;
|
|
34
|
+
getLogger(loggerName: string): ILogger;
|
|
35
|
+
append(loggerName: string, level: LogLevel, message: string): void;
|
|
36
|
+
protected storeLocally(): Promise<void>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoggingService>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface LoggingServiceConfig {
|
|
2
|
+
localStorageAppender?: {
|
|
3
|
+
/**
|
|
4
|
+
* Key which is used to store the messages in the local storage.
|
|
5
|
+
*
|
|
6
|
+
* Default: 'log'.
|
|
7
|
+
*/
|
|
8
|
+
localStorageKey: string;
|
|
9
|
+
/**
|
|
10
|
+
* Maximum number of log messages stored by the appender.
|
|
11
|
+
*
|
|
12
|
+
* Default: 250.
|
|
13
|
+
*/
|
|
14
|
+
maxMessages?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Threshold.
|
|
17
|
+
*
|
|
18
|
+
* Valid values are: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
|
|
19
|
+
*
|
|
20
|
+
* Default: WARN.
|
|
21
|
+
*/
|
|
22
|
+
threshold?: string;
|
|
23
|
+
debounceTimeMs?: number;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@ionic/angular";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class LoggingServiceModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingServiceModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoggingServiceModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LoggingServiceModule>;
|
|
9
|
+
}
|
|
@@ -1,30 +1,37 @@
|
|
|
1
|
-
import { ElementRef, NgZone,
|
|
2
|
-
import { MatBadge } from '@angular/material/badge';
|
|
1
|
+
import { AfterViewInit, ElementRef, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MatBadge, MatBadgePosition } from '@angular/material/badge';
|
|
3
3
|
import { AppColors } from '../../types';
|
|
4
4
|
import { AriaDescriber } from '@angular/cdk/a11y';
|
|
5
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare type MatBadgeFill = 'clear' | 'solid';
|
|
7
|
-
export declare class BadgeDirective extends MatBadge implements
|
|
8
|
+
export declare class BadgeDirective extends MatBadge implements AfterViewInit, OnChanges, OnDestroy {
|
|
8
9
|
protected el: ElementRef<HTMLElement>;
|
|
9
|
-
|
|
10
|
-
get
|
|
11
|
-
|
|
12
|
-
get
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
get
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
true: any;
|
|
11
|
+
get isOverlapHost(): boolean;
|
|
12
|
+
get isAboveHost(): boolean;
|
|
13
|
+
get isBelowHost(): boolean;
|
|
14
|
+
get isBeforeHost(): boolean;
|
|
15
|
+
get isAfterHost(): boolean;
|
|
16
|
+
get isSmallHost(): boolean;
|
|
17
|
+
get isMediumHost(): boolean;
|
|
18
|
+
get isLargeHost(): boolean;
|
|
19
|
+
get isHiddenHost(): boolean;
|
|
20
|
+
get isDisabledHost(): boolean;
|
|
21
|
+
appBadgeColor: AppColors;
|
|
22
|
+
appBadgeFill: MatBadgeFill;
|
|
23
|
+
appBadgeMatIcon: string;
|
|
24
|
+
appBadgeIcon: string;
|
|
25
|
+
appBadgeHidden: BooleanInput;
|
|
26
|
+
appBadgeOverlap: BooleanInput;
|
|
27
|
+
appBadgePosition: MatBadgePosition;
|
|
21
28
|
private _html;
|
|
22
|
-
private _subscription;
|
|
23
|
-
private _$update;
|
|
24
29
|
constructor(_ngZone: NgZone, el: ElementRef<HTMLElement>, _ariaDescriber: AriaDescriber, _renderer: Renderer2, _animationMode?: string | undefined);
|
|
25
30
|
ngOnInit(): void;
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
33
|
ngOnDestroy(): void;
|
|
27
34
|
private updateView;
|
|
28
35
|
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"; "
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[appBadge], [appBadgeIcon], [appBadgeMatIcon]", never, { "disabled": "matBadgeDisabled"; "color": "appBadgeColor"; "size": "appBadgeSize"; "fill": "appBadgeFill"; "hidden": "appBadgeHidden"; "overlap": "appBadgeOverlap"; "position": "appBadgePosition"; "appBadgeColor": "appBadgeColor"; "appBadgeFill": "appBadgeFill"; "appBadgeMatIcon": "appBadgeMatIcon"; "appBadgeIcon": "appBadgeIcon"; "appBadgeHidden": "appBadgeHidden"; "appBadgeOverlap": "appBadgeOverlap"; "appBadgePosition": "appBadgePosition"; }, {}, never, never, false>;
|
|
30
37
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import { MatBadgeFill } from './badge.directive';
|
|
3
4
|
import { MatBadgeSize } from '@angular/material/badge';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MatBadgeTestPage {
|
|
7
|
+
private cd;
|
|
8
|
+
userText: string;
|
|
9
|
+
matBadgeContent: string;
|
|
6
10
|
$icon: BehaviorSubject<string>;
|
|
7
11
|
$size: BehaviorSubject<MatBadgeSize>;
|
|
8
12
|
$fill: BehaviorSubject<MatBadgeFill>;
|
|
9
13
|
$color: BehaviorSubject<string>;
|
|
10
14
|
$hidden: BehaviorSubject<boolean>;
|
|
15
|
+
$overlap: BehaviorSubject<boolean>;
|
|
16
|
+
constructor(cd: ChangeDetectorRef);
|
|
17
|
+
onInputChanged(event: any): void;
|
|
18
|
+
onMatBadgeContentChanged(event: any): void;
|
|
11
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeTestPage, never>;
|
|
12
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatBadgeTestPage, "mat-badge-test", never, {}, {}, never, never, false>;
|
|
13
21
|
}
|
|
@@ -26,10 +26,14 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
26
26
|
private _onChangeCallback;
|
|
27
27
|
private _onTouchedCallback;
|
|
28
28
|
private _subscription;
|
|
29
|
+
private _controlSubscription;
|
|
29
30
|
private _writing;
|
|
30
31
|
private _disabling;
|
|
31
32
|
private _tabindex;
|
|
32
33
|
private _readonly;
|
|
34
|
+
private _formControl;
|
|
35
|
+
private _controlName;
|
|
36
|
+
private _required;
|
|
33
37
|
dayControl: UntypedFormControl;
|
|
34
38
|
hourControl: UntypedFormControl;
|
|
35
39
|
displayPattern: string;
|
|
@@ -37,12 +41,15 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
37
41
|
locale: string;
|
|
38
42
|
readonly dayMask: (string | RegExp)[];
|
|
39
43
|
readonly hourMask: (string | RegExp)[];
|
|
40
|
-
formControl: UntypedFormControl;
|
|
41
|
-
|
|
44
|
+
set formControl(value: UntypedFormControl);
|
|
45
|
+
get formControl(): UntypedFormControl;
|
|
46
|
+
set formControlName(value: string);
|
|
47
|
+
get formControlName(): string;
|
|
48
|
+
set required(value: boolean | any);
|
|
49
|
+
get required(): boolean | any;
|
|
42
50
|
placeholder: string;
|
|
43
51
|
floatLabel: FloatLabelType;
|
|
44
52
|
appearance: MatFormFieldAppearance;
|
|
45
|
-
required: boolean;
|
|
46
53
|
mobile: boolean;
|
|
47
54
|
compact: boolean;
|
|
48
55
|
placeholderChar: string;
|
|
@@ -71,8 +78,11 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
71
78
|
openTimePicker(event?: Event | Event): void;
|
|
72
79
|
focus(): void;
|
|
73
80
|
clear(): void;
|
|
81
|
+
protected _setFormControlName(controlName: string): void;
|
|
82
|
+
protected _setFormControl(control: UntypedFormControl): void;
|
|
83
|
+
protected _updateControlValidators(control: UntypedFormControl, required: boolean): void;
|
|
74
84
|
protected _onDatePickerChange(event: MatDatepickerInputEvent<Moment>): void;
|
|
75
|
-
|
|
85
|
+
protected _onTimePickerChange(timeStr: string): void;
|
|
76
86
|
protected _openDatePickerIfMobile(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
77
87
|
protected _openTimePickerIfMobile(event?: Event): void;
|
|
78
88
|
protected _checkIfTouched(): void;
|
|
@@ -85,6 +95,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
85
95
|
private markAsDirty;
|
|
86
96
|
private markForCheck;
|
|
87
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime, [null, null, null, null, { optional: true; }]>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "formControl": "formControl"; "formControlName": "formControlName"; "
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "formControl": "formControl"; "formControlName": "formControlName"; "required": "required"; "placeholder": "placeholder"; "floatLabel": "floatLabel"; "appearance": "appearance"; "mobile": "mobile"; "compact": "compact"; "placeholderChar": "placeholderChar"; "autofocus": "autofocus"; "startDate": "startDate"; "clearable": "clearable"; "datePickerFilter": "datePickerFilter"; "readonly": "readonly"; "tabindex": "tabindex"; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]"], false>;
|
|
89
99
|
}
|
|
90
100
|
export {};
|
|
@@ -4,8 +4,8 @@ import { BehaviorSubject, Observable } from 'rxjs';
|
|
|
4
4
|
import { InputElement, selectInputContent } from '../../inputs';
|
|
5
5
|
import { EqualsFn, DisplayFn } from '../../form/field.model';
|
|
6
6
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
7
|
-
import { IonSlides } from '@ionic/angular';
|
|
8
7
|
import { MatButton } from '@angular/material/button';
|
|
8
|
+
import { Swiper } from 'swiper/types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, ControlValueAccessor {
|
|
11
11
|
protected cd: ChangeDetectorRef;
|
|
@@ -17,14 +17,13 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
17
17
|
private _itemsSubscription;
|
|
18
18
|
private _writing;
|
|
19
19
|
private _tabindex;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
20
|
+
private _swiper;
|
|
21
|
+
protected previousDisabled: boolean;
|
|
22
|
+
protected nextDisabled: boolean;
|
|
23
|
+
protected showSlides: boolean;
|
|
24
|
+
protected $items: BehaviorSubject<any[]>;
|
|
25
|
+
protected $loaded: BehaviorSubject<boolean>;
|
|
26
|
+
protected swiperModules: ((opts: any) => void)[];
|
|
28
27
|
logPrefix: string;
|
|
29
28
|
formControl: UntypedFormControl;
|
|
30
29
|
formControlName: string;
|
|
@@ -49,7 +48,7 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
49
48
|
blurred: EventEmitter<FocusEvent>;
|
|
50
49
|
focused: EventEmitter<FocusEvent>;
|
|
51
50
|
fakeInput: ElementRef;
|
|
52
|
-
|
|
51
|
+
swiperRef: ElementRef | undefined;
|
|
53
52
|
prevButton: MatButton;
|
|
54
53
|
nextButton: MatButton;
|
|
55
54
|
get value(): any;
|
|
@@ -74,15 +73,16 @@ export declare class MatSwipeField implements OnInit, InputElement, OnDestroy, C
|
|
|
74
73
|
next(): void;
|
|
75
74
|
reachStart(reached: boolean): void;
|
|
76
75
|
reachEnd(reached: boolean): void;
|
|
77
|
-
|
|
76
|
+
swiperLoaded(): void;
|
|
78
77
|
slideChanged(): void;
|
|
78
|
+
private lockSwipes;
|
|
79
79
|
private loadItems;
|
|
80
80
|
private checkIfTouched;
|
|
81
81
|
private markForCheck;
|
|
82
82
|
private updateSlides;
|
|
83
83
|
private slideTo;
|
|
84
84
|
private updateButtons;
|
|
85
|
-
|
|
85
|
+
getSwiper(): Promise<Swiper>;
|
|
86
86
|
ready(): Promise<void>;
|
|
87
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSwipeField, [null, { optional: true; }]>;
|
|
88
88
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSwipeField, "mat-swipe-field", never, { "logPrefix": "logPrefix"; "formControl": "formControl"; "formControlName": "formControlName"; "floatLabel": "floatLabel"; "appearance": "appearance"; "placeholder": "placeholder"; "debug": "debug"; "required": "required"; "mobile": "mobile"; "clearable": "clearable"; "equals": "equals"; "displayWith": "displayWith"; "displayAttributes": "displayAttributes"; "appAutofocus": "appAutofocus"; "classList": "class"; "tabindex": "tabindex"; "items": "items"; }, { "onClick": "click"; "blurred": "blur"; "focused": "focus"; }, never, never, false>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class NotEmptyArrayPipe implements PipeTransform {
|
|
4
|
-
transform(val:
|
|
4
|
+
transform<T = any>(val: unknown | T[]): boolean;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotEmptyArrayPipe, never>;
|
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<NotEmptyArrayPipe, "isNotEmptyArray", false>;
|
|
7
7
|
}
|
|
8
8
|
export declare class EmptyArrayPipe implements PipeTransform {
|
|
9
|
-
transform(val:
|
|
9
|
+
transform<T = any>(val: unknown | T[]): boolean;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyArrayPipe, never>;
|
|
11
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<EmptyArrayPipe, "isEmptyArray", false>;
|
|
12
12
|
}
|
|
13
13
|
export declare class ArrayLengthPipe implements PipeTransform {
|
|
14
|
-
transform(val:
|
|
14
|
+
transform<T = any>(val: unknown | T[], args?: {
|
|
15
15
|
greaterThan?: number;
|
|
16
16
|
equals?: number;
|
|
17
17
|
lessThan?: number;
|
|
@@ -20,17 +20,17 @@ export declare class ArrayLengthPipe implements PipeTransform {
|
|
|
20
20
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayLengthPipe, "isArrayLength", false>;
|
|
21
21
|
}
|
|
22
22
|
export declare class ArrayFirstPipe implements PipeTransform {
|
|
23
|
-
transform<T>(val: T[]): T |
|
|
23
|
+
transform<T = any>(val: unknown | T[]): T | null;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFirstPipe, never>;
|
|
25
25
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFirstPipe, "arrayFirst", false>;
|
|
26
26
|
}
|
|
27
27
|
export declare class ArrayPluckPipe implements PipeTransform {
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @param
|
|
30
|
+
* @param val
|
|
31
31
|
* @param opts property to get, or options
|
|
32
32
|
*/
|
|
33
|
-
transform<T>(
|
|
33
|
+
transform<T = any>(val: unknown | T[], opts: string | string[] | {
|
|
34
34
|
property: string | string[];
|
|
35
35
|
omitNil?: boolean;
|
|
36
36
|
}): any[];
|
|
@@ -38,17 +38,17 @@ export declare class ArrayPluckPipe implements PipeTransform {
|
|
|
38
38
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayPluckPipe, "arrayPluck", false>;
|
|
39
39
|
}
|
|
40
40
|
export declare class ArrayIncludesPipe implements PipeTransform {
|
|
41
|
-
transform<T>(val: T[],
|
|
41
|
+
transform<T = any>(val: unknown | T[], searchElement: T, fromIndex?: number): boolean;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayIncludesPipe, never>;
|
|
43
43
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayIncludesPipe, "arrayIncludes", false>;
|
|
44
44
|
}
|
|
45
45
|
export declare class ArrayFilterPipe implements PipeTransform {
|
|
46
|
-
transform<T>(val: T[], filterFn: (T: any) => boolean): T[];
|
|
46
|
+
transform<T = any>(val: unknown | T[], filterFn: (T: any) => boolean): T[] | null;
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFilterPipe, never>;
|
|
48
48
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFilterPipe, "arrayFilter", false>;
|
|
49
49
|
}
|
|
50
50
|
export declare class ArrayJoinPipe implements PipeTransform {
|
|
51
|
-
transform<T>(val: T[], separator: string): string;
|
|
51
|
+
transform<T = any>(val: unknown | T[], separator: string): string;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayJoinPipe, never>;
|
|
53
53
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayJoinPipe, "arrayJoin", false>;
|
|
54
54
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { unitOfTime } from 'moment';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DurationPipe implements PipeTransform {
|
|
5
6
|
private translate;
|
|
6
7
|
protected dayUnit: string;
|
|
7
8
|
constructor(translate: TranslateService);
|
|
8
|
-
transform(value: number, args?: any): string;
|
|
9
|
+
transform(value: number, args?: unitOfTime.DurationConstructor | any): string;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DurationPipe, never>;
|
|
10
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<DurationPipe, "duration", false>;
|
|
11
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<DurationPipe>;
|
|
@@ -16,11 +16,12 @@ import * as i14 from "./translate-context.pipe";
|
|
|
16
16
|
import * as i15 from "./ng-init.pipe";
|
|
17
17
|
import * as i16 from "./form.pipes";
|
|
18
18
|
import * as i17 from "./colors.pipe";
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "@
|
|
21
|
-
import * as i20 from "@
|
|
19
|
+
import * as i18 from "./types.pipes";
|
|
20
|
+
import * as i19 from "@angular/common";
|
|
21
|
+
import * as i20 from "@ionic/angular";
|
|
22
|
+
import * as i21 from "@ngx-translate/core";
|
|
22
23
|
export declare class SharedPipesModule {
|
|
23
24
|
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 i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, 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
|
|
25
|
+
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.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, 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.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe], [typeof i19.CommonModule, typeof i20.IonicModule, typeof i21.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.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, 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, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe]>;
|
|
25
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
26
27
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AsAnyPipe implements PipeTransform {
|
|
5
|
+
transform<T = any>(value: unknown | any): T | null;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsAnyPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsAnyPipe, "asAny", false>;
|
|
8
|
+
}
|
|
9
|
+
export declare class AsArrayPipe implements PipeTransform {
|
|
10
|
+
transform<T = any>(value: unknown): T[] | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsArrayPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsArrayPipe, "asArray", false>;
|
|
13
|
+
}
|
|
14
|
+
export declare class AsObservablePipe implements PipeTransform {
|
|
15
|
+
transform<T = any>(value: unknown): Observable<T> | null;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsObservablePipe, never>;
|
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsObservablePipe, "asObservable", false>;
|
|
18
|
+
}
|
|
@@ -5,6 +5,7 @@ export interface IStartableService<T = any> {
|
|
|
5
5
|
stop(): Promise<void>;
|
|
6
6
|
ready(): Promise<T>;
|
|
7
7
|
}
|
|
8
|
+
export declare function isStartableService(data: any): data is IStartableService;
|
|
8
9
|
export declare abstract class StartableService<T = any, O = any> implements IStartableService<T> {
|
|
9
10
|
readonly startSubject: Subject<T>;
|
|
10
11
|
readonly stopSubject: Subject<void>;
|
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TranslateContextService {
|
|
5
5
|
protected translate: TranslateService;
|
|
6
6
|
constructor(translate: TranslateService);
|
|
7
|
-
get(key: string, context?: string, interpolateParams?: Object): Observable<any>;
|
|
8
|
-
instant(key: string, context?: string, interpolateParams?: Object): any;
|
|
7
|
+
get(key: string | string[], context?: string, interpolateParams?: Object): Observable<any>;
|
|
8
|
+
instant(key: string | string[], context?: string, interpolateParams?: Object): any;
|
|
9
9
|
/**
|
|
10
10
|
* Compute contextual i18n keys, using the context as suffix.<br>
|
|
11
11
|
* Suffix can be simple name (like 'aaa' - will return ['<key>.aaa']) or complexe (like 'aaa.bbb' - will return ['<key>.aaa.bbb', '<key>.aaa']
|
|
@@ -8,9 +8,10 @@ import * as i5 from "./toast/toast.testing.module";
|
|
|
8
8
|
import * as i6 from "./upload-file/testing/upload-file.testing.module";
|
|
9
9
|
import * as i7 from "./image/gallery/testing/gallery.testing.module";
|
|
10
10
|
import * as i8 from "./audio/audio.testing.module";
|
|
11
|
+
import * as i9 from "./storage/storage-explorer.module";
|
|
11
12
|
export declare const SHARED_TESTING_PAGES: TestingPage[];
|
|
12
13
|
export declare class SharedTestingModule {
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedTestingModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule], [typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule]>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.StorageExplorerModule], [typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.StorageExplorerModule]>;
|
|
15
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedTestingModule>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ChangeDetectorRef, InjectionToken, OnInit } from '@angular/core';
|
|
2
|
+
import { AlertController, IonModal, Platform, ToastController } from '@ionic/angular';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { IStorage } from './storage.utils';
|
|
5
|
+
import { IDebugDataService } from '../debug/debug-service.class';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import { Environment } from '../../../environments/environment.class';
|
|
8
|
+
import { Log, LogUtils } from '../logging/logger.model';
|
|
9
|
+
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
10
|
+
import { LogLevel } from '../logging/log-level.model';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
declare type StorageItemInfo = {
|
|
13
|
+
key: string;
|
|
14
|
+
type: 'array' | 'object' | 'string' | 'number';
|
|
15
|
+
total: number;
|
|
16
|
+
};
|
|
17
|
+
export declare const APP_STORAGE_EXPLORER_PROTECTED_KEYS: InjectionToken<string[]>;
|
|
18
|
+
export declare class StorageExplorerComponent implements OnInit {
|
|
19
|
+
protected platform: Platform;
|
|
20
|
+
protected toastController: ToastController;
|
|
21
|
+
protected alertCtrl: AlertController;
|
|
22
|
+
protected translate: TranslateService;
|
|
23
|
+
protected dateAdapter: MomentDateAdapter;
|
|
24
|
+
protected cd: ChangeDetectorRef;
|
|
25
|
+
protected readonly storage: IStorage;
|
|
26
|
+
protected readonly environment: Environment;
|
|
27
|
+
protected readonly debugDataService: IDebugDataService;
|
|
28
|
+
private readonly _protectedKeys;
|
|
29
|
+
private _logPrefix;
|
|
30
|
+
protected $loading: BehaviorSubject<boolean>;
|
|
31
|
+
protected $items: BehaviorSubject<StorageItemInfo[]>;
|
|
32
|
+
protected _logKey: string;
|
|
33
|
+
protected data: any;
|
|
34
|
+
protected logs: Log[];
|
|
35
|
+
protected key: string;
|
|
36
|
+
mobile: boolean;
|
|
37
|
+
showSendButton: boolean;
|
|
38
|
+
sendDataModal: IonModal;
|
|
39
|
+
viewDataModal: IonModal;
|
|
40
|
+
constructor(platform: Platform, toastController: ToastController, alertCtrl: AlertController, translate: TranslateService, dateAdapter: MomentDateAdapter, cd: ChangeDetectorRef, storage: IStorage, environment: Environment, debugDataService: IDebugDataService, _protectedKeys: string[]);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
sendDataClick(event: Event, key: string): Promise<void>;
|
|
43
|
+
viewDataClick(event: Event, key: string): Promise<void>;
|
|
44
|
+
sendData(key: string): Promise<void>;
|
|
45
|
+
downloadAsJson(key: string): Promise<void>;
|
|
46
|
+
copyToClipboard(key: string): Promise<void>;
|
|
47
|
+
protected start(): Promise<void>;
|
|
48
|
+
protected refresh(): Promise<void>;
|
|
49
|
+
protected toString(key: string, data: any, html?: boolean): string;
|
|
50
|
+
protected toLogs(data: any): Log[];
|
|
51
|
+
protected clear(key: string): Promise<void>;
|
|
52
|
+
protected trackByFn(index: number, item: StorageItemInfo): any;
|
|
53
|
+
protected levelToColor(level: LogLevel): string;
|
|
54
|
+
protected levelToString: typeof LogUtils.levelToString;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StorageExplorerComponent, "app-storage-explorer", never, { "mobile": "mobile"; "showSendButton": "showSendButton"; }, {}, never, never, false>;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestingPage } from '../testing/tests.page';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./storage-explorer.component";
|
|
4
|
+
import * as i2 from "@ionic/angular";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@ngx-translate/core";
|
|
7
|
+
import * as i5 from "@angular/router";
|
|
8
|
+
import * as i6 from "@rx-angular/template/for";
|
|
9
|
+
import * as i7 from "../pipes/pipes.module";
|
|
10
|
+
import * as i8 from "../material/material.module";
|
|
11
|
+
export declare const SHARED_STORAGE_TESTING_PAGES: TestingPage[];
|
|
12
|
+
export declare class StorageExplorerModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerModule, [typeof i1.StorageExplorerComponent], [typeof i2.IonicModule, typeof i3.CommonModule, typeof i4.TranslateModule, typeof i5.RouterModule, typeof i6.ForModule, typeof i7.SharedPipesModule, typeof i8.SharedMaterialModule], [typeof i1.StorageExplorerComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerModule>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Storage } from '@ionic/storage-angular';
|
|
2
2
|
import { IStorage } from './storage.utils';
|
|
3
|
-
import { StartableService } from '../startable-service.class';
|
|
3
|
+
import { StartableService } from '../services/startable-service.class';
|
|
4
4
|
import { Platform } from '@ionic/angular';
|
|
5
|
-
import { Environment } from '
|
|
5
|
+
import { Environment } from '../../../environments/environment.class';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class StorageService extends StartableService<Storage> implements IStorage<Storage> {
|
|
8
8
|
private platform;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { IProgressBarService } from '../services/progress-bar.service';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { IonMenuToggle, IonRouterOutlet, IonSearchbar } from '@ionic/angular';
|
|
4
|
+
import { IonMenuToggle, IonRouterOutlet, IonSearchbar, NavController } from '@ionic/angular';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import { HammerTapEvent } from '../gesture/hammer.utils';
|
|
7
7
|
import { AppColors } from '../types';
|
|
@@ -17,6 +17,7 @@ export declare abstract class ToolbarToken {
|
|
|
17
17
|
export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy {
|
|
18
18
|
private route;
|
|
19
19
|
private router;
|
|
20
|
+
private navController;
|
|
20
21
|
private routerOutlet;
|
|
21
22
|
private cd;
|
|
22
23
|
protected progressBarService: IProgressBarService;
|
|
@@ -47,7 +48,7 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
47
48
|
showSearchBar: boolean;
|
|
48
49
|
searchbar: IonSearchbar;
|
|
49
50
|
menuToggle: IonMenuToggle;
|
|
50
|
-
constructor(route: ActivatedRoute, router: Router, routerOutlet: IonRouterOutlet, cd: ChangeDetectorRef, progressBarService: IProgressBarService);
|
|
51
|
+
constructor(route: ActivatedRoute, router: Router, navController: NavController, routerOutlet: IonRouterOutlet, cd: ChangeDetectorRef, progressBarService: IProgressBarService);
|
|
51
52
|
ngOnInit(): void;
|
|
52
53
|
ngOnDestroy(): void;
|
|
53
54
|
toggleSearchBar(): Promise<void>;
|
|
@@ -57,6 +58,6 @@ export declare class ToolbarComponent implements ToolbarToken, OnInit, OnDestroy
|
|
|
57
58
|
tapValidate(event: HammerTapEvent): void;
|
|
58
59
|
protected ionSearchBarChanged(event: Event): void;
|
|
59
60
|
protected markForCheck(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, [null, null, null, null, { optional: true; }]>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "progressBarMode": "progressBarMode"; "title": "title"; "color": "color"; "class": "class"; "backHref": "backHref"; "defaultBackHref": "defaultBackHref"; "hasValidate": "hasValidate"; "hasClose": "hasClose"; "hasSearch": "hasSearch"; "canGoBack": "canGoBack"; "canShowMenu": "canShowMenu"; }, { "onValidate": "onValidate"; "onClose": "onClose"; "onValidateAndClose": "onValidateAndClose"; "onBackClick": "onBackClick"; "onSearch": "onSearch"; }, never, ["[slot=start]", "ion-title", "ion-buttons[slot=end]", "[slot=end]"], false>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "progressBarMode": "progressBarMode"; "title": "title"; "color": "color"; "class": "class"; "backHref": "backHref"; "defaultBackHref": "defaultBackHref"; "hasValidate": "hasValidate"; "hasClose": "hasClose"; "hasSearch": "hasSearch"; "canGoBack": "canGoBack"; "canShowMenu": "canShowMenu"; }, { "onValidate": "onValidate"; "onClose": "onClose"; "onValidateAndClose": "onValidateAndClose"; "onBackClick": "onBackClick"; "onSearch": "onSearch"; }, never, ["[slot=start]", "ion-title, ion-segment", "ion-buttons[slot=end]", "[slot=end]"], false>;
|
|
62
63
|
}
|