@sumaris-net/ngx-components 2.18.0-beta8 → 2.21.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/README.md +3 -0
- package/doc/build.md +14 -14
- package/doc/changelog.md +1386 -88
- package/doc/feed/feed-en.json +26 -0
- package/doc/feed/feed-fr.json +28 -0
- package/fesm2022/sumaris-net.ngx-components.mjs +32441 -22724
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +42 -39
- package/src/assets/environments/environment-test.json +2 -2
- package/src/assets/i18n/en-US.json +143 -45
- package/src/assets/i18n/en.json +142 -43
- package/src/assets/i18n/fr.json +147 -47
- package/src/assets/manifest.json +1 -1
- package/src/theme/_icons.scss +8 -12
- package/src/theme/_ionic.globals.scss +8 -1
- package/src/theme/_markdown.scss +1 -1
- package/src/theme/_material.globals.scss +4 -1
- package/src/theme/_material.scss +60 -17
- package/src/theme/_mixins.scss +39 -4
- package/src/theme/_ngx-components.forms.scss +115 -89
- package/src/theme/_ngx-components.globals.scss +4 -1
- package/src/theme/_ngx-components.scss +162 -110
- package/src/theme/_ngx-components.table.scss +105 -44
- package/src/theme/_ngx-components.tabs.scss +46 -14
- package/src/theme/_responsive.scss +15 -0
- package/src/theme/_roboto.scss +3 -0
- package/src/theme/_theme.scss +11 -14
- package/src/theme/_theme.variables.scss +7 -3
- package/src/theme/ionic/ionic.functions.color.scss +13 -5
- package/src/theme/ionic/ionic.globals.scss +4 -4
- package/src/theme/ionic/ionic.theme.default.scss +2 -0
- package/types/sumaris-net.ngx-components.d.ts +14132 -0
- package/esm2022/public_api.mjs +0 -358
- package/esm2022/src/app/admin/admin-routing.module.mjs +0 -34
- package/esm2022/src/app/admin/admin.module.mjs +0 -32
- package/esm2022/src/app/admin/services/filter/person.filter.mjs +0 -69
- package/esm2022/src/app/admin/services/person.service.mjs +0 -174
- package/esm2022/src/app/admin/services/validator/person.validator.mjs +0 -72
- package/esm2022/src/app/admin/users/users.mjs +0 -267
- package/esm2022/src/app/admin/users/users.module.mjs +0 -56
- package/esm2022/src/app/core/about/about.modal.mjs +0 -84
- package/esm2022/src/app/core/about/about.module.mjs +0 -21
- package/esm2022/src/app/core/account/account.module.mjs +0 -68
- package/esm2022/src/app/core/account/account.page.mjs +0 -351
- package/esm2022/src/app/core/account/new-token.modal.mjs +0 -132
- package/esm2022/src/app/core/account/password/change-password.form.mjs +0 -60
- package/esm2022/src/app/core/account/password/change-password.module.mjs +0 -22
- package/esm2022/src/app/core/account/password/change-password.page.mjs +0 -144
- package/esm2022/src/app/core/account/token.table.mjs +0 -152
- package/esm2022/src/app/core/auth/auth.form.mjs +0 -159
- package/esm2022/src/app/core/auth/auth.modal.mjs +0 -76
- package/esm2022/src/app/core/auth/auth.module.mjs +0 -56
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +0 -77
- package/esm2022/src/app/core/core.module.mjs +0 -151
- package/esm2022/src/app/core/core.testing.module.mjs +0 -107
- package/esm2022/src/app/core/form/array/form-array.mjs +0 -325
- package/esm2022/src/app/core/form/array/testing/form-array-test.module.mjs +0 -23
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +0 -94
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +0 -108
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +0 -31
- package/esm2022/src/app/core/form/entity/editor.class.mjs +0 -265
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +0 -420
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +0 -731
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +0 -24
- package/esm2022/src/app/core/form/entity/entity.module.mjs +0 -32
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +0 -194
- package/esm2022/src/app/core/form/form-container.class.mjs +0 -327
- package/esm2022/src/app/core/form/form.class.mjs +0 -336
- package/esm2022/src/app/core/form/form.module.mjs +0 -70
- package/esm2022/src/app/core/form/form.utils.mjs +0 -197
- package/esm2022/src/app/core/form/list/list.form.mjs +0 -235
- package/esm2022/src/app/core/form/list/list.module.mjs +0 -31
- package/esm2022/src/app/core/form/properties/properties.form.mjs +0 -225
- package/esm2022/src/app/core/form/properties/properties.module.mjs +0 -37
- package/esm2022/src/app/core/form/properties/properties.table.mjs +0 -268
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +0 -60
- package/esm2022/src/app/core/form/properties/property.validator.mjs +0 -38
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +0 -95
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +0 -23
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +0 -73
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +0 -30
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +0 -152
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +0 -31
- package/esm2022/src/app/core/form/username/username.form.mjs +0 -52
- package/esm2022/src/app/core/form/username/username.module.mjs +0 -20
- package/esm2022/src/app/core/graphql/graphql.module.mjs +0 -14
- package/esm2022/src/app/core/graphql/graphql.service.mjs +0 -783
- package/esm2022/src/app/core/graphql/graphql.utils.mjs +0 -119
- package/esm2022/src/app/core/home/home.mjs +0 -311
- package/esm2022/src/app/core/home/home.module.mjs +0 -42
- package/esm2022/src/app/core/icon/icon.component.mjs +0 -40
- package/esm2022/src/app/core/icon/icon.module.mjs +0 -20
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +0 -354
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +0 -31
- package/esm2022/src/app/core/menu/menu.component.mjs +0 -263
- package/esm2022/src/app/core/menu/menu.model.mjs +0 -272
- package/esm2022/src/app/core/menu/menu.module.mjs +0 -47
- package/esm2022/src/app/core/menu/menu.service.mjs +0 -655
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +0 -109
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +0 -49
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +0 -157
- package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +0 -60
- package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +0 -28
- package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +0 -31
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +0 -203
- package/esm2022/src/app/core/peer/select-peer.module.mjs +0 -30
- package/esm2022/src/app/core/register/register-confirm.page.mjs +0 -90
- package/esm2022/src/app/core/register/register.form.mjs +0 -194
- package/esm2022/src/app/core/register/register.modal.mjs +0 -55
- package/esm2022/src/app/core/register/register.module.mjs +0 -23
- package/esm2022/src/app/core/services/account.service.mjs +0 -1346
- package/esm2022/src/app/core/services/auth-guard.service.mjs +0 -74
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +0 -473
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +0 -230
- package/esm2022/src/app/core/services/base58.mjs +0 -83
- package/esm2022/src/app/core/services/config/core.config.mjs +0 -233
- package/esm2022/src/app/core/services/config.service.mjs +0 -384
- package/esm2022/src/app/core/services/crypto.service.mjs +0 -107
- package/esm2022/src/app/core/services/errors.mjs +0 -52
- package/esm2022/src/app/core/services/local-settings.service.mjs +0 -482
- package/esm2022/src/app/core/services/model/account.model.mjs +0 -150
- package/esm2022/src/app/core/services/model/config.model.mjs +0 -107
- package/esm2022/src/app/core/services/model/department.model.mjs +0 -35
- package/esm2022/src/app/core/services/model/entity.decorators.mjs +0 -97
- package/esm2022/src/app/core/services/model/entity.model.mjs +0 -224
- package/esm2022/src/app/core/services/model/filter.model.mjs +0 -93
- package/esm2022/src/app/core/services/model/history.model.mjs +0 -2
- package/esm2022/src/app/core/services/model/model.enum.mjs +0 -11
- package/esm2022/src/app/core/services/model/peer.model.mjs +0 -93
- package/esm2022/src/app/core/services/model/person.model.mjs +0 -114
- package/esm2022/src/app/core/services/model/referential.model.mjs +0 -202
- package/esm2022/src/app/core/services/model/settings.model.mjs +0 -4
- package/esm2022/src/app/core/services/model/token.model.mjs +0 -56
- package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +0 -195
- package/esm2022/src/app/core/services/network.service.mjs +0 -631
- package/esm2022/src/app/core/services/network.types.mjs +0 -20
- package/esm2022/src/app/core/services/network.utils.mjs +0 -15
- package/esm2022/src/app/core/services/pipes/account.pipes.mjs +0 -38
- package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +0 -23
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +0 -23
- package/esm2022/src/app/core/services/pipes/pipes.module.mjs +0 -54
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +0 -21
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +0 -37
- package/esm2022/src/app/core/services/platform.service.mjs +0 -583
- package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +0 -427
- package/esm2022/src/app/core/services/storage/entity-store.class.mjs +0 -449
- package/esm2022/src/app/core/services/testing/referential-filter.model.mjs +0 -25
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +0 -46
- package/esm2022/src/app/core/services/validator/account.validator.mjs +0 -45
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +0 -49
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +0 -81
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +0 -27
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +0 -55
- package/esm2022/src/app/core/settings/settings.module.mjs +0 -22
- package/esm2022/src/app/core/settings/settings.page.mjs +0 -341
- package/esm2022/src/app/core/table/async-table.class.mjs +0 -1753
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +0 -127
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +0 -117
- package/esm2022/src/app/core/table/column/row-field.component.mjs +0 -116
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +0 -384
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +0 -401
- package/esm2022/src/app/core/table/memory-table.class.mjs +0 -57
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +0 -46
- package/esm2022/src/app/core/table/table.class.mjs +0 -1816
- package/esm2022/src/app/core/table/table.model.mjs +0 -16
- package/esm2022/src/app/core/table/table.module.mjs +0 -51
- package/esm2022/src/app/core/table/table.pipes.mjs +0 -77
- package/esm2022/src/app/core/table/table.utils.mjs +0 -31
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +0 -32
- package/esm2022/src/app/core/table/testing/table.testing.mjs +0 -329
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +0 -25
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +0 -25
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +0 -273
- package/esm2022/src/app/shared/alerts.mjs +0 -243
- package/esm2022/src/app/shared/audio/audio.mjs +0 -249
- package/esm2022/src/app/shared/audio/audio.testing.mjs +0 -32
- package/esm2022/src/app/shared/audio/audio.testing.module.mjs +0 -30
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +0 -42
- package/esm2022/src/app/shared/capacitor/plugins.mjs +0 -9
- package/esm2022/src/app/shared/constants.mjs +0 -16
- package/esm2022/src/app/shared/dates.mjs +0 -151
- package/esm2022/src/app/shared/debug/debug-service.class.mjs +0 -3
- package/esm2022/src/app/shared/debug/debug.component.mjs +0 -40
- package/esm2022/src/app/shared/debug/debug.module.mjs +0 -23
- package/esm2022/src/app/shared/directives/autofocus.directive.mjs +0 -91
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +0 -32
- package/esm2022/src/app/shared/directives/directives.module.mjs +0 -22
- package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +0 -52
- package/esm2022/src/app/shared/directives/ng-var.directive.mjs +0 -33
- package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +0 -62
- package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +0 -45
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +0 -17
- package/esm2022/src/app/shared/events.mjs +0 -63
- package/esm2022/src/app/shared/file/csv.utils.mjs +0 -92
- package/esm2022/src/app/shared/file/file.service.mjs +0 -118
- package/esm2022/src/app/shared/file/file.utils.mjs +0 -115
- package/esm2022/src/app/shared/file/images.utils.mjs +0 -186
- package/esm2022/src/app/shared/file/json.utils.mjs +0 -58
- package/esm2022/src/app/shared/file/uri.utils.mjs +0 -24
- package/esm2022/src/app/shared/focusable.mjs +0 -6
- package/esm2022/src/app/shared/form/field.component.mjs +0 -379
- package/esm2022/src/app/shared/form/field.model.mjs +0 -25
- package/esm2022/src/app/shared/form/loading-spinner.mjs +0 -35
- package/esm2022/src/app/shared/forms.mjs +0 -459
- package/esm2022/src/app/shared/functions.mjs +0 -551
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +0 -82
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +0 -46
- package/esm2022/src/app/shared/gesture/hammer.utils.mjs +0 -2
- package/esm2022/src/app/shared/graph/colors.utils.mjs +0 -60
- package/esm2022/src/app/shared/graph/graph-colors.mjs +0 -213
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +0 -59
- package/esm2022/src/app/shared/help/help.modal.mjs +0 -63
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +0 -23
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +0 -112
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +0 -24
- package/esm2022/src/app/shared/http/http.utils.mjs +0 -56
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +0 -388
- package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +0 -62
- package/esm2022/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +0 -26
- package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +0 -87
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +0 -37
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +0 -59
- package/esm2022/src/app/shared/image/image.model.mjs +0 -2
- package/esm2022/src/app/shared/image/image.module.mjs +0 -24
- package/esm2022/src/app/shared/image/image.service.mjs +0 -106
- package/esm2022/src/app/shared/inputs.mjs +0 -263
- package/esm2022/src/app/shared/interceptors/progess.interceptor.mjs +0 -27
- package/esm2022/src/app/shared/logging/log-level.model.mjs +0 -48
- package/esm2022/src/app/shared/logging/logger.model.mjs +0 -47
- package/esm2022/src/app/shared/logging/logging-service.class.mjs +0 -125
- package/esm2022/src/app/shared/logging/logging-service.config.mjs +0 -2
- package/esm2022/src/app/shared/logging/logging-service.module.mjs +0 -30
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +0 -46
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +0 -1071
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +0 -79
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +0 -18
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +0 -231
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +0 -251
- package/esm2022/src/app/shared/material/badge/badge.module.mjs +0 -20
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +0 -42
- package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +0 -71
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +0 -376
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +0 -61
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +0 -75
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +0 -779
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +0 -147
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +0 -76
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +0 -471
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +0 -457
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +0 -681
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +0 -136
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +0 -127
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +0 -118
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +0 -65
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +0 -33
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +0 -274
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +0 -80
- package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +0 -313
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +0 -381
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +0 -67
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +0 -118
- package/esm2022/src/app/shared/material/material.animations.mjs +0 -143
- package/esm2022/src/app/shared/material/material.config.mjs +0 -3
- package/esm2022/src/app/shared/material/material.module.mjs +0 -229
- package/esm2022/src/app/shared/material/material.testing.module.mjs +0 -234
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +0 -51
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +0 -23
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +0 -375
- package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +0 -52
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +0 -67
- package/esm2022/src/app/shared/material/testing/common.test.mjs +0 -111
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +0 -42
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +0 -204
- package/esm2022/src/app/shared/material/text/text-form.module.mjs +0 -63
- package/esm2022/src/app/shared/modules.mjs +0 -12
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +0 -303
- package/esm2022/src/app/shared/named-filter/named-filter.model.mjs +0 -49
- package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +0 -24
- package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +0 -69
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +0 -74
- package/esm2022/src/app/shared/named-filter/testing/named-filter.testing.module.mjs +0 -28
- package/esm2022/src/app/shared/observables.mjs +0 -100
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +0 -156
- package/esm2022/src/app/shared/pipes/badge.pipes.mjs +0 -24
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +0 -29
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +0 -49
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +0 -72
- package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +0 -28
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +0 -36
- package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +0 -53
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +0 -219
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +0 -48
- package/esm2022/src/app/shared/pipes/html.pipes.mjs +0 -52
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +0 -42
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +0 -63
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +0 -67
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +0 -59
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +0 -19
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +0 -30
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +0 -236
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +0 -136
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +0 -180
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +0 -136
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +0 -44
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +0 -74
- package/esm2022/src/app/shared/platforms.mjs +0 -45
- package/esm2022/src/app/shared/rx-state.module.mjs +0 -19
- package/esm2022/src/app/shared/services/entity-service.class.mjs +0 -7
- package/esm2022/src/app/shared/services/job.utils.mjs +0 -92
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +0 -349
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +0 -31
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +0 -118
- package/esm2022/src/app/shared/services/startable-service.class.mjs +0 -107
- package/esm2022/src/app/shared/services/translate-context.service.mjs +0 -107
- package/esm2022/src/app/shared/services/validator-service.class.mjs +0 -2
- package/esm2022/src/app/shared/services.mjs +0 -62
- package/esm2022/src/app/shared/shared-routing.module.mjs +0 -72
- package/esm2022/src/app/shared/shared.module.mjs +0 -234
- package/esm2022/src/app/shared/shared.testing.module.mjs +0 -100
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +0 -279
- package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +0 -42
- package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +0 -27
- package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +0 -25
- package/esm2022/src/app/shared/storage/storage.service.mjs +0 -134
- package/esm2022/src/app/shared/storage/storage.utils.mjs +0 -13
- package/esm2022/src/app/shared/testing/maskito.test.mjs +0 -41
- package/esm2022/src/app/shared/testing/observable.test.mjs +0 -94
- package/esm2022/src/app/shared/testing/tests.page.mjs +0 -37
- package/esm2022/src/app/shared/toast/toast.testing.mjs +0 -52
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +0 -30
- package/esm2022/src/app/shared/toast/toasts.mjs +0 -144
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +0 -62
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +0 -263
- package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +0 -26
- package/esm2022/src/app/shared/types.mjs +0 -2
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +0 -59
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +0 -30
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +0 -106
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +0 -213
- package/esm2022/src/app/shared/upload-file/upload-file.model.mjs +0 -26
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +0 -114
- package/esm2022/src/app/shared/validator/validators.mjs +0 -601
- package/esm2022/src/app/shared/version/versions.mjs +0 -81
- package/esm2022/src/app/social/job/job.module.mjs +0 -23
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +0 -35
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +0 -235
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +0 -47
- package/esm2022/src/app/social/job/progression/job-progression.model.mjs +0 -29
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +0 -91
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +0 -38
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +0 -34
- package/esm2022/src/app/social/job/testing/job.testing.module.mjs +0 -22
- package/esm2022/src/app/social/message/message.form.mjs +0 -140
- package/esm2022/src/app/social/message/message.modal.mjs +0 -110
- package/esm2022/src/app/social/message/message.model.mjs +0 -75
- package/esm2022/src/app/social/message/message.module.mjs +0 -22
- package/esm2022/src/app/social/message/message.service.mjs +0 -110
- package/esm2022/src/app/social/social.errors.mjs +0 -10
- package/esm2022/src/app/social/social.module.mjs +0 -22
- package/esm2022/src/app/social/social.testing.module.mjs +0 -40
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +0 -127
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +0 -260
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +0 -257
- package/esm2022/src/app/social/user-event/testing/user-event.testing.model.mjs +0 -129
- package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +0 -22
- package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +0 -128
- package/esm2022/src/app/social/user-event/user-event.model.mjs +0 -2
- package/esm2022/src/app/social/user-event/user-event.module.mjs +0 -23
- package/esm2022/src/app/social/user-event/user-event.service.mjs +0 -509
- package/esm2022/src/environments/environment.class.mjs +0 -57
- package/esm2022/src/environments/environment.loader.mjs +0 -77
- package/esm2022/src/environments/environment.mjs +0 -105
- package/esm2022/sumaris-net.ngx-components.mjs +0 -5
- package/index.d.ts +0 -5
- package/public_api.d.ts +0 -322
- package/src/app/admin/admin-routing.module.d.ts +0 -9
- package/src/app/admin/admin.module.d.ts +0 -10
- package/src/app/admin/services/filter/person.filter.d.ts +0 -21
- package/src/app/admin/services/person.service.d.ts +0 -49
- package/src/app/admin/services/validator/person.validator.d.ts +0 -23
- package/src/app/admin/users/users.d.ts +0 -45
- package/src/app/admin/users/users.module.d.ts +0 -14
- package/src/app/core/about/about.modal.d.ts +0 -32
- package/src/app/core/about/about.module.d.ts +0 -10
- package/src/app/core/account/account.module.d.ts +0 -16
- package/src/app/core/account/account.page.d.ts +0 -80
- package/src/app/core/account/new-token.modal.d.ts +0 -41
- package/src/app/core/account/password/change-password.form.d.ts +0 -19
- package/src/app/core/account/password/change-password.module.d.ts +0 -11
- package/src/app/core/account/password/change-password.page.d.ts +0 -36
- package/src/app/core/account/token.table.d.ts +0 -27
- package/src/app/core/auth/auth.form.d.ts +0 -38
- package/src/app/core/auth/auth.modal.d.ts +0 -24
- package/src/app/core/auth/auth.module.d.ts +0 -13
- package/src/app/core/auth/reset-password.modal.d.ts +0 -26
- package/src/app/core/core.module.d.ts +0 -28
- package/src/app/core/core.testing.module.d.ts +0 -15
- package/src/app/core/form/array/form-array.d.ts +0 -136
- package/src/app/core/form/array/testing/form-array-test.module.d.ts +0 -12
- package/src/app/core/form/array/testing/form-array.test.d.ts +0 -26
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +0 -37
- package/src/app/core/form/buttons/form-buttons-bar.module.d.ts +0 -9
- package/src/app/core/form/entity/editor.class.d.ts +0 -83
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +0 -126
- package/src/app/core/form/entity/entity-editor.class.d.ts +0 -204
- package/src/app/core/form/entity/entity-metadata.component.d.ts +0 -13
- package/src/app/core/form/entity/entity.module.d.ts +0 -10
- package/src/app/core/form/entity/tab-editor.class.d.ts +0 -70
- package/src/app/core/form/form-container.class.d.ts +0 -126
- package/src/app/core/form/form.class.d.ts +0 -144
- package/src/app/core/form/form.module.d.ts +0 -14
- package/src/app/core/form/form.utils.d.ts +0 -251
- package/src/app/core/form/list/list.form.d.ts +0 -81
- package/src/app/core/form/list/list.module.d.ts +0 -9
- package/src/app/core/form/properties/properties.form.d.ts +0 -66
- package/src/app/core/form/properties/properties.module.d.ts +0 -11
- package/src/app/core/form/properties/properties.table.d.ts +0 -78
- package/src/app/core/form/properties/properties.utils.d.ts +0 -27
- package/src/app/core/form/properties/property.validator.d.ts +0 -19
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +0 -19
- package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +0 -12
- package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +0 -16
- package/src/app/core/form/text-popover/testing/text-popover.testing.module.d.ts +0 -11
- package/src/app/core/form/text-popover/text-popover.component.d.ts +0 -71
- package/src/app/core/form/text-popover/text-popover.module.d.ts +0 -9
- package/src/app/core/form/username/username.form.d.ts +0 -19
- package/src/app/core/form/username/username.module.d.ts +0 -9
- package/src/app/core/graphql/graphql.module.d.ts +0 -7
- package/src/app/core/graphql/graphql.service.d.ts +0 -147
- package/src/app/core/graphql/graphql.utils.d.ts +0 -42
- package/src/app/core/home/home.d.ts +0 -94
- package/src/app/core/home/home.module.d.ts +0 -13
- package/src/app/core/icon/icon.component.d.ts +0 -13
- package/src/app/core/icon/icon.module.d.ts +0 -9
- package/src/app/core/install/install-upgrade-card.component.d.ts +0 -64
- package/src/app/core/install/install-upgrade-card.module.d.ts +0 -9
- package/src/app/core/menu/menu.component.d.ts +0 -69
- package/src/app/core/menu/menu.model.d.ts +0 -144
- package/src/app/core/menu/menu.module.d.ts +0 -12
- package/src/app/core/menu/menu.service.d.ts +0 -94
- package/src/app/core/menu/sub-menu-tab.directive.d.ts +0 -29
- package/src/app/core/menu/testing/menu-other.testing.d.ts +0 -15
- package/src/app/core/menu/testing/menu.testing.d.ts +0 -51
- package/src/app/core/menu/testing/menu.testing.module.d.ts +0 -12
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +0 -11
- package/src/app/core/offline/update-offline-mode-card.module.d.ts +0 -9
- package/src/app/core/peer/select-peer.modal.d.ts +0 -60
- package/src/app/core/peer/select-peer.module.d.ts +0 -10
- package/src/app/core/register/register-confirm.page.d.ts +0 -24
- package/src/app/core/register/register.form.d.ts +0 -49
- package/src/app/core/register/register.modal.d.ts +0 -14
- package/src/app/core/register/register.module.d.ts +0 -12
- package/src/app/core/services/account.service.d.ts +0 -205
- package/src/app/core/services/auth-guard.service.d.ts +0 -17
- package/src/app/core/services/base-entity-service.class.d.ts +0 -123
- package/src/app/core/services/base-graphql-service.class.d.ts +0 -77
- package/src/app/core/services/base58.d.ts +0 -7
- package/src/app/core/services/config/core.config.d.ts +0 -41
- package/src/app/core/services/config.service.d.ts +0 -63
- package/src/app/core/services/crypto.service.d.ts +0 -44
- package/src/app/core/services/errors.d.ts +0 -63
- package/src/app/core/services/local-settings.service.d.ts +0 -95
- package/src/app/core/services/model/account.model.d.ts +0 -41
- package/src/app/core/services/model/config.model.d.ts +0 -36
- package/src/app/core/services/model/department.model.d.ts +0 -11
- package/src/app/core/services/model/entity.decorators.d.ts +0 -17
- package/src/app/core/services/model/entity.model.d.ts +0 -87
- package/src/app/core/services/model/filter.model.d.ts +0 -37
- package/src/app/core/services/model/history.model.d.ts +0 -20
- package/src/app/core/services/model/model.enum.d.ts +0 -7
- package/src/app/core/services/model/peer.model.d.ts +0 -30
- package/src/app/core/services/model/person.model.d.ts +0 -37
- package/src/app/core/services/model/referential.model.d.ts +0 -83
- package/src/app/core/services/model/settings.model.d.ts +0 -28
- package/src/app/core/services/model/token.model.d.ts +0 -22
- package/src/app/core/services/model/tree-item-entity.model.d.ts +0 -53
- package/src/app/core/services/network.service.d.ts +0 -151
- package/src/app/core/services/network.types.d.ts +0 -5
- package/src/app/core/services/network.utils.d.ts +0 -31
- package/src/app/core/services/pipes/account.pipes.d.ts +0 -15
- package/src/app/core/services/pipes/department-to-string.pipe.d.ts +0 -9
- package/src/app/core/services/pipes/person-to-string.pipe.d.ts +0 -11
- package/src/app/core/services/pipes/pipes.module.d.ts +0 -11
- package/src/app/core/services/pipes/referential-to-string.pipe.d.ts +0 -13
- package/src/app/core/services/pipes/usage-mode.pipes.d.ts +0 -15
- package/src/app/core/services/platform.service.d.ts +0 -100
- package/src/app/core/services/storage/entities-storage.service.d.ts +0 -108
- package/src/app/core/services/storage/entity-store.class.d.ts +0 -113
- package/src/app/core/services/testing/referential-filter.model.d.ts +0 -9
- package/src/app/core/services/testing/referential.validator.d.ts +0 -22
- package/src/app/core/services/validator/account.validator.d.ts +0 -24
- package/src/app/core/services/validator/base.validator.class.d.ts +0 -21
- package/src/app/core/services/validator/local-settings.validator.d.ts +0 -22
- package/src/app/core/services/validator/user-settings.validator.d.ts +0 -10
- package/src/app/core/services/validator/user-token.validator.d.ts +0 -13
- package/src/app/core/settings/settings.module.d.ts +0 -11
- package/src/app/core/settings/settings.page.d.ts +0 -81
- package/src/app/core/table/async-table.class.d.ts +0 -389
- package/src/app/core/table/column/actions-column.component.d.ts +0 -59
- package/src/app/core/table/column/nav-actions-column.component.d.ts +0 -46
- package/src/app/core/table/column/row-field.component.d.ts +0 -40
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +0 -81
- package/src/app/core/table/entities-table-datasource.class.d.ts +0 -95
- package/src/app/core/table/memory-table.class.d.ts +0 -25
- package/src/app/core/table/table-select-columns.component.d.ts +0 -22
- package/src/app/core/table/table.class.d.ts +0 -394
- package/src/app/core/table/table.model.d.ts +0 -26
- package/src/app/core/table/table.module.d.ts +0 -14
- package/src/app/core/table/table.pipes.d.ts +0 -28
- package/src/app/core/table/table.utils.d.ts +0 -11
- package/src/app/core/table/testing/table-validator.service.d.ts +0 -17
- package/src/app/core/table/testing/table.testing.d.ts +0 -54
- package/src/app/core/table/testing/table.testing.module.d.ts +0 -14
- package/src/app/core/table/testing/table2-validator.service.d.ts +0 -15
- package/src/app/core/table/testing/table2.testing.d.ts +0 -48
- package/src/app/shared/alerts.d.ts +0 -55
- package/src/app/shared/audio/audio.d.ts +0 -44
- package/src/app/shared/audio/audio.testing.d.ts +0 -13
- package/src/app/shared/audio/audio.testing.module.d.ts +0 -11
- package/src/app/shared/capacitor/keyboard.d.ts +0 -16
- package/src/app/shared/capacitor/plugins.d.ts +0 -7
- package/src/app/shared/constants.d.ts +0 -13
- package/src/app/shared/dates.d.ts +0 -48
- package/src/app/shared/debug/debug-service.class.d.ts +0 -5
- package/src/app/shared/debug/debug.component.d.ts +0 -13
- package/src/app/shared/debug/debug.module.d.ts +0 -12
- package/src/app/shared/directives/autofocus.directive.d.ts +0 -18
- package/src/app/shared/directives/autotitle.directive.d.ts +0 -10
- package/src/app/shared/directives/directives.module.d.ts +0 -12
- package/src/app/shared/directives/drag-and-drop.directive.d.ts +0 -17
- package/src/app/shared/directives/ng-var.directive.d.ts +0 -12
- package/src/app/shared/directives/resizable/resizable.component.d.ts +0 -21
- package/src/app/shared/directives/resizable/resizable.directive.d.ts +0 -12
- package/src/app/shared/directives/resizable/resizable.module.d.ts +0 -8
- package/src/app/shared/events.d.ts +0 -28
- package/src/app/shared/file/csv.utils.d.ts +0 -24
- package/src/app/shared/file/file.service.d.ts +0 -23
- package/src/app/shared/file/file.utils.d.ts +0 -20
- package/src/app/shared/file/images.utils.d.ts +0 -36
- package/src/app/shared/file/json.utils.d.ts +0 -19
- package/src/app/shared/file/uri.utils.d.ts +0 -8
- package/src/app/shared/focusable.d.ts +0 -4
- package/src/app/shared/form/field.component.d.ts +0 -74
- package/src/app/shared/form/field.model.d.ts +0 -39
- package/src/app/shared/form/loading-spinner.d.ts +0 -8
- package/src/app/shared/forms.d.ts +0 -103
- package/src/app/shared/functions.d.ts +0 -152
- package/src/app/shared/geolocation/geolocation.utils.d.ts +0 -19
- package/src/app/shared/gesture/gesture-config.d.ts +0 -15
- package/src/app/shared/gesture/hammer.utils.d.ts +0 -16
- package/src/app/shared/graph/colors.utils.d.ts +0 -17
- package/src/app/shared/graph/graph-colors.d.ts +0 -63
- package/src/app/shared/guard/component-dirty.guard.d.ts +0 -14
- package/src/app/shared/help/help.modal.d.ts +0 -33
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +0 -8
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +0 -42
- package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +0 -11
- package/src/app/shared/http/http.utils.d.ts +0 -28
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +0 -98
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +0 -15
- package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +0 -12
- package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +0 -33
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +0 -16
- package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +0 -13
- package/src/app/shared/image/image.model.d.ts +0 -5
- package/src/app/shared/image/image.module.d.ts +0 -8
- package/src/app/shared/image/image.service.d.ts +0 -32
- package/src/app/shared/inputs.d.ts +0 -34
- package/src/app/shared/interceptors/progess.interceptor.d.ts +0 -8
- package/src/app/shared/logging/log-level.model.d.ts +0 -38
- package/src/app/shared/logging/logger.model.d.ts +0 -68
- package/src/app/shared/logging/logging-service.class.d.ts +0 -39
- package/src/app/shared/logging/logging-service.config.d.ts +0 -25
- package/src/app/shared/logging/logging-service.module.d.ts +0 -9
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +0 -55
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +0 -180
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +0 -22
- package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +0 -5
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +0 -46
- package/src/app/shared/material/badge/badge.directive.d.ts +0 -43
- package/src/app/shared/material/badge/badge.module.d.ts +0 -10
- package/src/app/shared/material/badge/badge.test.d.ts +0 -21
- package/src/app/shared/material/boolean/boolean.module.d.ts +0 -21
- package/src/app/shared/material/boolean/material.boolean.d.ts +0 -93
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +0 -22
- package/src/app/shared/material/chips/chips.module.d.ts +0 -22
- package/src/app/shared/material/chips/material.chips.d.ts +0 -150
- package/src/app/shared/material/chips/testing/chips.test.d.ts +0 -32
- package/src/app/shared/material/datetime/datetime.module.d.ts +0 -24
- package/src/app/shared/material/datetime/material.date.d.ts +0 -90
- package/src/app/shared/material/datetime/material.dateshort.d.ts +0 -89
- package/src/app/shared/material/datetime/material.datetime.d.ts +0 -121
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +0 -37
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +0 -32
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +0 -31
- package/src/app/shared/material/duration/duration.module.d.ts +0 -19
- package/src/app/shared/material/duration/duration.utils.d.ts +0 -3
- package/src/app/shared/material/duration/material.duration.d.ts +0 -58
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +0 -22
- package/src/app/shared/material/latlong/latlong.utils.d.ts +0 -21
- package/src/app/shared/material/latlong/material.latlong.d.ts +0 -70
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +0 -20
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +0 -27
- package/src/app/shared/material/material.animations.d.ts +0 -6
- package/src/app/shared/material/material.config.d.ts +0 -3
- package/src/app/shared/material/material.module.d.ts +0 -45
- package/src/app/shared/material/material.testing.module.d.ts +0 -31
- package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +0 -12
- package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +0 -10
- package/src/app/shared/material/swipe/material.swipe.d.ts +0 -90
- package/src/app/shared/material/swipe/swipe.module.d.ts +0 -16
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +0 -22
- package/src/app/shared/material/testing/common.test.d.ts +0 -25
- package/src/app/shared/material/text/testing/text-form.testing.d.ts +0 -19
- package/src/app/shared/material/text/text-form.component.d.ts +0 -66
- package/src/app/shared/material/text/text-form.module.d.ts +0 -16
- package/src/app/shared/modules.d.ts +0 -9
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +0 -60
- package/src/app/shared/named-filter/named-filter.model.d.ts +0 -32
- package/src/app/shared/named-filter/named-filter.module.d.ts +0 -13
- package/src/app/shared/named-filter/named-filter.service.d.ts +0 -32
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +0 -34
- package/src/app/shared/named-filter/testing/named-filter.testing.module.d.ts +0 -10
- package/src/app/shared/observables.d.ts +0 -30
- package/src/app/shared/pipes/arrays.pipe.d.ts +0 -59
- package/src/app/shared/pipes/badge.pipes.d.ts +0 -7
- package/src/app/shared/pipes/colors.pipe.d.ts +0 -9
- package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +0 -23
- package/src/app/shared/pipes/date-format.pipe.d.ts +0 -35
- package/src/app/shared/pipes/date-from-now.pipe.d.ts +0 -12
- package/src/app/shared/pipes/duration.pipe.d.ts +0 -13
- package/src/app/shared/pipes/file-size.pipe.d.ts +0 -30
- package/src/app/shared/pipes/form.pipes.d.ts +0 -69
- package/src/app/shared/pipes/highlight.pipe.d.ts +0 -11
- package/src/app/shared/pipes/html.pipes.d.ts +0 -15
- package/src/app/shared/pipes/latlong-format.pipe.d.ts +0 -20
- package/src/app/shared/pipes/maps.pipe.d.ts +0 -22
- package/src/app/shared/pipes/maskito.pipe.d.ts +0 -14
- package/src/app/shared/pipes/math.pipes.d.ts +0 -20
- package/src/app/shared/pipes/ng-init.pipe.d.ts +0 -8
- package/src/app/shared/pipes/number-format.pipe.d.ts +0 -10
- package/src/app/shared/pipes/pipes.module.d.ts +0 -31
- package/src/app/shared/pipes/property.pipes.d.ts +0 -47
- package/src/app/shared/pipes/selection.pipes.d.ts +0 -62
- package/src/app/shared/pipes/string.pipes.d.ts +0 -53
- package/src/app/shared/pipes/translate-context.pipe.d.ts +0 -17
- package/src/app/shared/pipes/types.pipes.d.ts +0 -30
- package/src/app/shared/platforms.d.ts +0 -8
- package/src/app/shared/rx-state.module.d.ts +0 -10
- package/src/app/shared/services/entity-service.class.d.ts +0 -71
- package/src/app/shared/services/job.utils.d.ts +0 -20
- package/src/app/shared/services/memory-entity-service.class.d.ts +0 -78
- package/src/app/shared/services/progress-bar.service.d.ts +0 -20
- package/src/app/shared/services/startable-observable-service.class.d.ts +0 -36
- package/src/app/shared/services/startable-service.class.d.ts +0 -37
- package/src/app/shared/services/translate-context.service.d.ts +0 -29
- package/src/app/shared/services/validator-service.class.d.ts +0 -11
- package/src/app/shared/services.d.ts +0 -10
- package/src/app/shared/shared-routing.module.d.ts +0 -23
- package/src/app/shared/shared.module.d.ts +0 -34
- package/src/app/shared/shared.testing.module.d.ts +0 -19
- package/src/app/shared/storage/storage-explorer.component.d.ts +0 -59
- package/src/app/shared/storage/storage-explorer.module.d.ts +0 -13
- package/src/app/shared/storage/storage-explorer.testing-routing.module.d.ts +0 -9
- package/src/app/shared/storage/storage-explorer.testing.module.d.ts +0 -10
- package/src/app/shared/storage/storage.service.d.ts +0 -22
- package/src/app/shared/storage/storage.utils.d.ts +0 -19
- package/src/app/shared/testing/maskito.test.d.ts +0 -10
- package/src/app/shared/testing/observable.test.d.ts +0 -25
- package/src/app/shared/testing/tests.page.d.ts +0 -20
- package/src/app/shared/toast/toast.testing.d.ts +0 -15
- package/src/app/shared/toast/toast.testing.module.d.ts +0 -11
- package/src/app/shared/toast/toasts.d.ts +0 -17
- package/src/app/shared/toolbar/modal-toolbar.d.ts +0 -21
- package/src/app/shared/toolbar/toolbar.d.ts +0 -68
- package/src/app/shared/toolbar/toolbar.module.d.ts +0 -16
- package/src/app/shared/types.d.ts +0 -31
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +0 -21
- package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +0 -11
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +0 -39
- package/src/app/shared/upload-file/upload-file.component.d.ts +0 -49
- package/src/app/shared/upload-file/upload-file.model.d.ts +0 -30
- package/src/app/shared/validator/form-error-adapter.class.d.ts +0 -33
- package/src/app/shared/validator/validators.d.ts +0 -130
- package/src/app/shared/version/versions.d.ts +0 -26
- package/src/app/social/job/job.module.d.ts +0 -12
- package/src/app/social/job/progression/job-progression.component.d.ts +0 -23
- package/src/app/social/job/progression/job-progression.icon.d.ts +0 -62
- package/src/app/social/job/progression/job-progression.list.d.ts +0 -19
- package/src/app/social/job/progression/job-progression.model.d.ts +0 -10
- package/src/app/social/job/progression/job-progression.service.d.ts +0 -33
- package/src/app/social/job/testing/job-progression.testing.d.ts +0 -13
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +0 -9
- package/src/app/social/job/testing/job.testing.module.d.ts +0 -11
- package/src/app/social/message/message.form.d.ts +0 -36
- package/src/app/social/message/message.modal.d.ts +0 -43
- package/src/app/social/message/message.model.d.ts +0 -33
- package/src/app/social/message/message.module.d.ts +0 -12
- package/src/app/social/message/message.service.d.ts +0 -32
- package/src/app/social/social.errors.d.ts +0 -9
- package/src/app/social/social.module.d.ts +0 -20
- package/src/app/social/social.testing.module.d.ts +0 -13
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +0 -32
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +0 -71
- package/src/app/social/user-event/testing/user-event.testing.d.ts +0 -35
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +0 -42
- package/src/app/social/user-event/testing/user-event.testing.module.d.ts +0 -11
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +0 -42
- package/src/app/social/user-event/user-event.model.d.ts +0 -44
- package/src/app/social/user-event/user-event.module.d.ts +0 -13
- package/src/app/social/user-event/user-event.service.d.ts +0 -129
- package/src/environments/environment.class.d.ts +0 -68
- package/src/environments/environment.d.ts +0 -2
- package/src/environments/environment.loader.d.ts +0 -24
- package/src/theme/_globals.scss +0 -5
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./update-offline-mode-card.component";
|
|
3
|
-
import * as i2 from "../../shared/shared.module";
|
|
4
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
-
export declare class AppUpdateOfflineModeCardModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppUpdateOfflineModeCardModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppUpdateOfflineModeCardModule, [typeof i1.AppUpdateOfflineModeCard], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.AppUpdateOfflineModeCard]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AppUpdateOfflineModeCardModule>;
|
|
9
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ModalController, PopoverController } from '@ionic/angular';
|
|
3
|
-
import { Peer } from '../services/model/peer.model';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { Environment } from '../../../environments/environment.class';
|
|
7
|
-
import { TextPopoverOptions } from '../form/text-popover/text-popover.component';
|
|
8
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
9
|
-
import { ILoggingService } from '../../shared/logging/logger.model';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export interface ISelectPeerModalOptions {
|
|
12
|
-
canCancel: boolean;
|
|
13
|
-
allowSelectDownPeer: boolean;
|
|
14
|
-
onRefresh: EventEmitter<Event>;
|
|
15
|
-
showSetManuallyButton: boolean;
|
|
16
|
-
selectedPeer?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare class SelectPeerModal implements OnDestroy, ISelectPeerModalOptions {
|
|
19
|
-
private modalCtrl;
|
|
20
|
-
private popoverController;
|
|
21
|
-
private translate;
|
|
22
|
-
private http;
|
|
23
|
-
private cd;
|
|
24
|
-
protected environment: Environment;
|
|
25
|
-
protected loggingService?: ILoggingService;
|
|
26
|
-
private _subscription;
|
|
27
|
-
private readonly _logger;
|
|
28
|
-
protected loading: boolean;
|
|
29
|
-
protected mobile: boolean;
|
|
30
|
-
protected $peers: Subject<Peer[]>;
|
|
31
|
-
protected peerMinVersion: string;
|
|
32
|
-
protected peerDefaultPrefix: string;
|
|
33
|
-
selectedPeer: string;
|
|
34
|
-
canCancel: boolean;
|
|
35
|
-
allowSelectDownPeer: boolean;
|
|
36
|
-
showSetManuallyButton: boolean;
|
|
37
|
-
onRefresh: EventEmitter<Event>;
|
|
38
|
-
constructor(modalCtrl: ModalController, popoverController: PopoverController, translate: TranslateService, http: HttpClient, cd: ChangeDetectorRef, environment: Environment, loggingService?: ILoggingService);
|
|
39
|
-
set peers(peers: Observable<Peer[]>);
|
|
40
|
-
cancel(): void;
|
|
41
|
-
ngOnDestroy(): void;
|
|
42
|
-
selectPeer(peer: Peer): void;
|
|
43
|
-
/**
|
|
44
|
-
* Check the min pod version, defined by the app
|
|
45
|
-
*
|
|
46
|
-
* @param peer
|
|
47
|
-
*/
|
|
48
|
-
isCompatible(peer: Peer): boolean;
|
|
49
|
-
refresh(event: Event): void;
|
|
50
|
-
clickSetManually(event?: Event): Promise<void>;
|
|
51
|
-
refreshPeers(peers: Peer[]): Promise<void>;
|
|
52
|
-
protected refreshPeer(peer: Peer): Promise<Peer>;
|
|
53
|
-
protected openPeerUrlPopover(event: Event, opts?: Partial<TextPopoverOptions>): Promise<any>;
|
|
54
|
-
protected markForCheck(): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectPeerModal, [null, null, null, null, null, null, { optional: true; }]>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectPeerModal, "select-peer-modal", never, { "selectedPeer": { "alias": "selectedPeer"; "required": false; }; "canCancel": { "alias": "canCancel"; "required": false; }; "allowSelectDownPeer": { "alias": "allowSelectDownPeer"; "required": false; }; "showSetManuallyButton": { "alias": "showSetManuallyButton"; "required": false; }; "onRefresh": { "alias": "onRefresh"; "required": false; }; }, {}, never, never, false, never>;
|
|
57
|
-
static ngAcceptInputType_canCancel: unknown;
|
|
58
|
-
static ngAcceptInputType_allowSelectDownPeer: unknown;
|
|
59
|
-
static ngAcceptInputType_showSetManuallyButton: unknown;
|
|
60
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./select-peer.modal";
|
|
3
|
-
import * as i2 from "../../shared/shared.module";
|
|
4
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
-
import * as i4 from "../form/text-popover/text-popover.module";
|
|
6
|
-
export declare class AppSelectPeerModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppSelectPeerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppSelectPeerModule, [typeof i1.SelectPeerModal], [typeof i2.SharedModule, typeof i3.TranslateModule, typeof i4.AppTextPopoverModule], [typeof i3.TranslateModule, typeof i1.SelectPeerModal]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AppSelectPeerModule>;
|
|
10
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { AccountService } from '../services/account.service';
|
|
5
|
-
import { ConfigService } from '../services/config.service';
|
|
6
|
-
import { PlatformService } from '../services/platform.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class RegisterConfirmPage implements OnDestroy {
|
|
9
|
-
private platform;
|
|
10
|
-
private accountService;
|
|
11
|
-
private activatedRoute;
|
|
12
|
-
private configService;
|
|
13
|
-
subscriptions: Subscription[];
|
|
14
|
-
isLogin: boolean;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
error: string;
|
|
17
|
-
email: string;
|
|
18
|
-
contentStyle: {};
|
|
19
|
-
constructor(platform: PlatformService, accountService: AccountService, activatedRoute: ActivatedRoute, configService: ConfigService);
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
doConfirm(email: string, code: string): any;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterConfirmPage, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterConfirmPage, "app-register-confirm-page", never, {}, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { AsyncValidatorFn, UntypedFormBuilder, UntypedFormGroup, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { AccountService, RegisterData } from '../services/account.service';
|
|
4
|
-
import { referentialToString } from '../services/model/referential.model';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { AccountValidatorService } from '../services/validator/account.validator';
|
|
7
|
-
import { FormFieldDefinition } from '../../shared/form/field.model';
|
|
8
|
-
import { LocalSettingsService } from '../services/local-settings.service';
|
|
9
|
-
import { Environment } from '../../../environments/environment.class';
|
|
10
|
-
import { MatAutocompleteConfigHolder } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class RegisterForm implements OnInit {
|
|
13
|
-
private accountService;
|
|
14
|
-
private accountValidatorService;
|
|
15
|
-
formBuilder: UntypedFormBuilder;
|
|
16
|
-
protected environment: Environment;
|
|
17
|
-
protected settings?: LocalSettingsService;
|
|
18
|
-
protected debug: boolean;
|
|
19
|
-
autocompleteHelper: MatAutocompleteConfigHolder;
|
|
20
|
-
additionalFields: FormFieldDefinition[];
|
|
21
|
-
form: UntypedFormGroup;
|
|
22
|
-
forms: UntypedFormGroup[];
|
|
23
|
-
subscriptions: Subscription[];
|
|
24
|
-
error: string;
|
|
25
|
-
sending: boolean;
|
|
26
|
-
showPwd: boolean;
|
|
27
|
-
showConfirmPwd: boolean;
|
|
28
|
-
private stepper;
|
|
29
|
-
onCancel: EventEmitter<any>;
|
|
30
|
-
onSubmit: EventEmitter<RegisterData>;
|
|
31
|
-
constructor(accountService: AccountService, accountValidatorService: AccountValidatorService, formBuilder: UntypedFormBuilder, environment: Environment, settings?: LocalSettingsService);
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
get value(): RegisterData;
|
|
34
|
-
get valid(): boolean;
|
|
35
|
-
isEnd(): boolean;
|
|
36
|
-
isBeginning(): boolean;
|
|
37
|
-
slidePrev(): void;
|
|
38
|
-
slideNext(event?: Event): void;
|
|
39
|
-
equalsValidator(otherControlName: string): ValidatorFn;
|
|
40
|
-
emailAvailability(accountService: AccountService): AsyncValidatorFn;
|
|
41
|
-
cancel(): void;
|
|
42
|
-
doSubmit(event?: any): void;
|
|
43
|
-
referentialToString: typeof referentialToString;
|
|
44
|
-
markAsTouched(): void;
|
|
45
|
-
disable(): void;
|
|
46
|
-
enable(): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterForm, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterForm, "app-register-form", never, {}, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
49
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ModalController } from '@ionic/angular';
|
|
2
|
-
import { AccountService } from '../services/account.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RegisterModal {
|
|
5
|
-
private accountService;
|
|
6
|
-
viewCtrl: ModalController;
|
|
7
|
-
sending: boolean;
|
|
8
|
-
private form;
|
|
9
|
-
constructor(accountService: AccountService, viewCtrl: ModalController);
|
|
10
|
-
cancel(): void;
|
|
11
|
-
doSubmit(event?: any): Promise<void>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RegisterModal, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RegisterModal, "app-register-modal", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./register.form";
|
|
3
|
-
import * as i2 from "./register.modal";
|
|
4
|
-
import * as i3 from "./register-confirm.page";
|
|
5
|
-
import * as i4 from "../../shared/shared.module";
|
|
6
|
-
import * as i5 from "@angular/router";
|
|
7
|
-
import * as i6 from "@ngx-translate/core";
|
|
8
|
-
export declare class AppRegisterModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppRegisterModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppRegisterModule, [typeof i1.RegisterForm, typeof i2.RegisterModal, typeof i3.RegisterConfirmPage], [typeof i4.SharedModule, typeof i5.RouterModule, typeof i6.TranslateModule], [typeof i6.TranslateModule, typeof i1.RegisterForm, typeof i2.RegisterModal, typeof i3.RegisterConfirmPage]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AppRegisterModule>;
|
|
12
|
-
}
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Keypair } from './crypto.service';
|
|
3
|
-
import { Department } from './model/department.model';
|
|
4
|
-
import { Account, UserSettings } from './model/account.model';
|
|
5
|
-
import { Person, UserProfileLabel } from './model/person.model';
|
|
6
|
-
import { LocalSettings, UsageMode } from './model/settings.model';
|
|
7
|
-
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
8
|
-
import { FetchPolicy } from '@apollo/client/core';
|
|
9
|
-
import { Storage } from '@ionic/storage-angular';
|
|
10
|
-
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
11
|
-
import { GraphqlService } from '../graphql/graphql.service';
|
|
12
|
-
import { LocalSettingsService } from './local-settings.service';
|
|
13
|
-
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
14
|
-
import { NetworkService } from './network.service';
|
|
15
|
-
import { AuthTokenType } from './network.types';
|
|
16
|
-
import { FileService } from '../../shared/file/file.service';
|
|
17
|
-
import { Referential } from './model/referential.model';
|
|
18
|
-
import { Environment } from '../../../environments/environment.class';
|
|
19
|
-
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
20
|
-
import { OverlayEventDetail } from '@ionic/core';
|
|
21
|
-
import { ToastController } from '@ionic/angular';
|
|
22
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
23
|
-
import { TokenScope, UserToken } from './model/token.model';
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
export declare interface AccountDetails {
|
|
26
|
-
loaded: boolean;
|
|
27
|
-
keypair: Keypair;
|
|
28
|
-
authToken: string;
|
|
29
|
-
authBasic?: string;
|
|
30
|
-
pubkey: string;
|
|
31
|
-
person: Person;
|
|
32
|
-
department: Department;
|
|
33
|
-
mainProfile: string;
|
|
34
|
-
}
|
|
35
|
-
export interface AuthData {
|
|
36
|
-
username: string;
|
|
37
|
-
password: string;
|
|
38
|
-
offline?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export interface RegisterData extends AuthData {
|
|
41
|
-
account: Account;
|
|
42
|
-
}
|
|
43
|
-
export interface ChangePasswordData {
|
|
44
|
-
password: string;
|
|
45
|
-
confirmPassword: string;
|
|
46
|
-
email: string;
|
|
47
|
-
}
|
|
48
|
-
export interface UserSettingsOptions {
|
|
49
|
-
options: FormFieldDefinitionMap;
|
|
50
|
-
}
|
|
51
|
-
export declare const APP_USER_SETTINGS_OPTIONS: InjectionToken<UserSettingsOptions>;
|
|
52
|
-
export declare const APP_USER_TOKEN_SCOPES: InjectionToken<TokenScope[]>;
|
|
53
|
-
export declare interface IsEmailExistsVariables {
|
|
54
|
-
email: string;
|
|
55
|
-
hash: string;
|
|
56
|
-
}
|
|
57
|
-
interface IAuthChallenge {
|
|
58
|
-
pubkey: string;
|
|
59
|
-
challenge: string;
|
|
60
|
-
signature: string;
|
|
61
|
-
}
|
|
62
|
-
export interface AccountWatchOptions {
|
|
63
|
-
intervalInSeconds?: number;
|
|
64
|
-
}
|
|
65
|
-
export declare class AccountService extends BaseGraphqlService<Account, any, number, Account> {
|
|
66
|
-
protected network: NetworkService;
|
|
67
|
-
protected graphql: GraphqlService;
|
|
68
|
-
protected settings: LocalSettingsService;
|
|
69
|
-
protected storage: Storage;
|
|
70
|
-
protected file: FileService;
|
|
71
|
-
private translate;
|
|
72
|
-
private toastController;
|
|
73
|
-
protected environment: Environment;
|
|
74
|
-
onLogin: Subject<Account>;
|
|
75
|
-
onWillLogout: Subject<Account>;
|
|
76
|
-
onLogout: Subject<void>;
|
|
77
|
-
onChange: Subject<Account>;
|
|
78
|
-
onAuthTokenChange: BehaviorSubject<string>;
|
|
79
|
-
onAuthBasicChange: BehaviorSubject<string>;
|
|
80
|
-
private _listenChangesSubscription;
|
|
81
|
-
private readonly _enableListenChanges;
|
|
82
|
-
private readonly _listenIntervalInSeconds;
|
|
83
|
-
private _cache;
|
|
84
|
-
private readonly _optionDefs;
|
|
85
|
-
private _$additionalFields;
|
|
86
|
-
private _tokenType$;
|
|
87
|
-
private _apiTokenEnabled;
|
|
88
|
-
get account(): Account;
|
|
89
|
-
get person(): Person;
|
|
90
|
-
get department(): Department;
|
|
91
|
-
get tokenType(): AuthTokenType;
|
|
92
|
-
set tokenType(value: AuthTokenType);
|
|
93
|
-
get apiTokenEnabled(): boolean;
|
|
94
|
-
set apiTokenEnabled(value: boolean);
|
|
95
|
-
constructor(network: NetworkService, graphql: GraphqlService, settings: LocalSettingsService, storage: Storage, file: FileService, translate: TranslateService, toastController: ToastController, environment: Environment, options: UserSettingsOptions);
|
|
96
|
-
ngOnStart(): Promise<Account>;
|
|
97
|
-
protected ngOnStop(): Promise<void>;
|
|
98
|
-
isLogin(): boolean;
|
|
99
|
-
isAuth(): boolean;
|
|
100
|
-
hasMinProfile(userProfile: UserProfileLabel): boolean;
|
|
101
|
-
hasExactProfile(label: UserProfileLabel): boolean;
|
|
102
|
-
hasProfileAndIsEnable(userProfile: UserProfileLabel): boolean;
|
|
103
|
-
isAdmin(): boolean;
|
|
104
|
-
isSupervisor(): boolean;
|
|
105
|
-
isUser(): boolean;
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated
|
|
108
|
-
* @param mode
|
|
109
|
-
*/
|
|
110
|
-
isUsageMode(mode: UsageMode): boolean;
|
|
111
|
-
isOnlyGuest(): boolean;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @param recorderDepartment
|
|
115
|
-
* @deprecated use ProgramRefService.canUserWriteEntity() instead
|
|
116
|
-
*/
|
|
117
|
-
canUserWriteDataForDepartment(recorderDepartment: Referential | any): boolean;
|
|
118
|
-
register(data: RegisterData): Promise<Account>;
|
|
119
|
-
authenticate(data?: AuthData): Promise<void>;
|
|
120
|
-
login(data: AuthData): Promise<Account>;
|
|
121
|
-
reload(opts?: {
|
|
122
|
-
showToast?: boolean;
|
|
123
|
-
}): Promise<Account>;
|
|
124
|
-
/**
|
|
125
|
-
* Create or update an user account, to the remote storage
|
|
126
|
-
*
|
|
127
|
-
* @param account
|
|
128
|
-
*/
|
|
129
|
-
save(account: Account): Promise<Account>;
|
|
130
|
-
logout(): Promise<void>;
|
|
131
|
-
/**
|
|
132
|
-
* Load a account
|
|
133
|
-
*
|
|
134
|
-
* @param opts
|
|
135
|
-
*/
|
|
136
|
-
load(opts?: {
|
|
137
|
-
offline?: boolean;
|
|
138
|
-
fetchPolicy?: FetchPolicy;
|
|
139
|
-
query?: any;
|
|
140
|
-
}): Promise<Account | undefined>;
|
|
141
|
-
generateToken(flags: number): Promise<string | undefined>;
|
|
142
|
-
/**
|
|
143
|
-
* Check if email is available for new account registration.
|
|
144
|
-
* Throw an error if not available
|
|
145
|
-
*
|
|
146
|
-
* @param email
|
|
147
|
-
*/
|
|
148
|
-
checkEmailAvailable(email: string): Promise<void>;
|
|
149
|
-
/**
|
|
150
|
-
* Check if email is exists in server.
|
|
151
|
-
*
|
|
152
|
-
* @param email
|
|
153
|
-
*/
|
|
154
|
-
isEmailExists(email: string): Promise<boolean>;
|
|
155
|
-
sendConfirmationEmail(email: string, locale?: string): Promise<boolean>;
|
|
156
|
-
confirmEmail(email: string, code: string): Promise<boolean>;
|
|
157
|
-
sendResetPasswordEmail(username: string, locale?: string): Promise<boolean>;
|
|
158
|
-
updatePubkey(data: AuthData): Promise<boolean>;
|
|
159
|
-
resetPubkey(data: AuthData, token: string): Promise<boolean>;
|
|
160
|
-
listenChanges(opts?: AccountWatchOptions): Subscription;
|
|
161
|
-
get additionalFields(): FormFieldDefinition[];
|
|
162
|
-
get $additionalFields(): Observable<FormFieldDefinition[]>;
|
|
163
|
-
getAdditionalField(key: string): FormFieldDefinition | undefined;
|
|
164
|
-
registerAdditionalField(field: FormFieldDefinition): void;
|
|
165
|
-
get optionDefs(): FormFieldDefinition[];
|
|
166
|
-
registerOption(def: FormFieldDefinition): void;
|
|
167
|
-
registerOptions(defs: FormFieldDefinition[]): void;
|
|
168
|
-
protected resetData(): void;
|
|
169
|
-
protected loadData(opts?: {
|
|
170
|
-
offline?: boolean;
|
|
171
|
-
fetchPolicy?: FetchPolicy;
|
|
172
|
-
}): Promise<Account>;
|
|
173
|
-
protected listenSettings(): Promise<void>;
|
|
174
|
-
protected restoreLocally(): Promise<Account | undefined>;
|
|
175
|
-
/**
|
|
176
|
-
* Save account into the local storage
|
|
177
|
-
*/
|
|
178
|
-
protected saveLocally(): Promise<void>;
|
|
179
|
-
saveLocalSettingsRemotely(source: LocalSettings): Promise<void>;
|
|
180
|
-
/**
|
|
181
|
-
* Create or update an user account
|
|
182
|
-
*
|
|
183
|
-
* @param account
|
|
184
|
-
* @param keyPair
|
|
185
|
-
*/
|
|
186
|
-
protected saveRemotely(account: Account, keyPair?: Keypair): Promise<Account>;
|
|
187
|
-
/**
|
|
188
|
-
* Create or update user settings
|
|
189
|
-
*
|
|
190
|
-
* @param settings
|
|
191
|
-
*/
|
|
192
|
-
protected saveSettingsRemotely(settings: UserSettings): Promise<void>;
|
|
193
|
-
protected authenticateAndGetToken(token?: string, counter?: number): Promise<string>;
|
|
194
|
-
protected getAuthChallenge(): Promise<IAuthChallenge>;
|
|
195
|
-
protected startListenRemoteChanges(opts?: AccountWatchOptions): Subscription;
|
|
196
|
-
protected stopListenRemoteChanges(): void;
|
|
197
|
-
protected watchChanges(opts?: AccountWatchOptions): Observable<Account>;
|
|
198
|
-
protected copyIdAndUpdateDate(source: Account | undefined, target: Account): void;
|
|
199
|
-
protected copyIdAndUpdateDateSettings(source: UserSettings | undefined, target: UserSettings): void;
|
|
200
|
-
protected copyIdAndUpdateDateToken(sources: UserToken[] | undefined, targets: UserToken[]): void;
|
|
201
|
-
protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
|
|
202
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountService, [null, null, null, null, null, { optional: true; }, { optional: true; }, null, { optional: true; }]>;
|
|
203
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AccountService>;
|
|
204
|
-
}
|
|
205
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ModalController } from '@ionic/angular';
|
|
4
|
-
import { AccountService } from './account.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AuthGuardService implements CanActivate {
|
|
7
|
-
private accountService;
|
|
8
|
-
private modalCtrl;
|
|
9
|
-
private router;
|
|
10
|
-
protected environment: any;
|
|
11
|
-
private readonly _debug;
|
|
12
|
-
constructor(accountService: AccountService, modalCtrl: ModalController, router: Router, environment: any);
|
|
13
|
-
canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
14
|
-
login(next?: ActivatedRouteSnapshot): Promise<boolean>;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuardService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuardService>;
|
|
17
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { InternalRefetchQueriesInclude, MutationUpdaterFn } from '@apollo/client/core';
|
|
3
|
-
import { SortDirection } from '@angular/material/sort';
|
|
4
|
-
import { BaseGraphqlService } from './base-graphql-service.class';
|
|
5
|
-
import { EntitiesServiceLoadOptions, EntitiesServiceWatchOptions, EntityServiceListenChangesOptions, IEntitiesService, IEntityService, LoadResult } from '../../shared/services/entity-service.class';
|
|
6
|
-
import { GraphqlService } from '../graphql/graphql.service';
|
|
7
|
-
import { PlatformService } from './platform.service';
|
|
8
|
-
import { Entity, EntityAsObjectOptions } from './model/entity.model';
|
|
9
|
-
import { FetchResult } from '@apollo/client/link/core';
|
|
10
|
-
import { EntityFilter } from './model/filter.model';
|
|
11
|
-
import { DocumentNode } from 'graphql';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export type MutableWatchQueriesUpdatePolicy = 'update-cache' | 'refetch-queries';
|
|
14
|
-
export interface BaseEntityGraphqlQueries {
|
|
15
|
-
load?: any;
|
|
16
|
-
loadAll: any;
|
|
17
|
-
loadAllWithTotal?: any;
|
|
18
|
-
countAll?: any;
|
|
19
|
-
}
|
|
20
|
-
export interface BaseEntityGraphqlMutations {
|
|
21
|
-
save?: any;
|
|
22
|
-
delete?: any;
|
|
23
|
-
saveAll?: any;
|
|
24
|
-
deleteAll?: any;
|
|
25
|
-
}
|
|
26
|
-
export interface BaseEntityGraphqlSubscriptions {
|
|
27
|
-
listenChanges?: any;
|
|
28
|
-
}
|
|
29
|
-
export interface BaseEntityServiceOptions<T extends Entity<any, ID>, ID = number, Q extends BaseEntityGraphqlQueries = BaseEntityGraphqlQueries, M extends BaseEntityGraphqlMutations = BaseEntityGraphqlMutations, S extends BaseEntityGraphqlSubscriptions = BaseEntityGraphqlSubscriptions> {
|
|
30
|
-
queries: Q;
|
|
31
|
-
mutations?: Partial<M>;
|
|
32
|
-
subscriptions?: Partial<S>;
|
|
33
|
-
equals?: (e1: T, e2: T) => boolean;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated Use 'equals' instead
|
|
36
|
-
*/
|
|
37
|
-
equalsFn?: (e1: T, e2: T) => boolean;
|
|
38
|
-
isNew?: (e: T) => boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated Use 'isNew' instead
|
|
41
|
-
*/
|
|
42
|
-
isNewFn?: (e: T) => boolean;
|
|
43
|
-
defaultSortBy?: keyof T;
|
|
44
|
-
defaultSortDirection?: SortDirection;
|
|
45
|
-
watchQueriesUpdatePolicy?: MutableWatchQueriesUpdatePolicy;
|
|
46
|
-
}
|
|
47
|
-
export interface EntitySaveOptions {
|
|
48
|
-
refetchQueries?: ((result: FetchResult<{
|
|
49
|
-
data: any;
|
|
50
|
-
}>) => InternalRefetchQueriesInclude) | InternalRefetchQueriesInclude;
|
|
51
|
-
awaitRefetchQueries?: boolean;
|
|
52
|
-
update?: MutationUpdaterFn<{
|
|
53
|
-
data: any;
|
|
54
|
-
}>;
|
|
55
|
-
}
|
|
56
|
-
export declare abstract class BaseEntityService<T extends Entity<T, ID>, F extends EntityFilter<F, T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, LO extends EntitiesServiceLoadOptions = EntitiesServiceLoadOptions, Q extends BaseEntityGraphqlQueries = BaseEntityGraphqlQueries, M extends BaseEntityGraphqlMutations = BaseEntityGraphqlMutations, S extends BaseEntityGraphqlSubscriptions = BaseEntityGraphqlSubscriptions> extends BaseGraphqlService<T, F, ID> implements IEntitiesService<T, F, WO>, IEntityService<T, ID, LO> {
|
|
57
|
-
protected graphql: GraphqlService;
|
|
58
|
-
protected platform: PlatformService;
|
|
59
|
-
protected dataType: new () => T;
|
|
60
|
-
protected filterType: new () => F;
|
|
61
|
-
protected readonly _typename: string;
|
|
62
|
-
protected readonly _logTypeName: string;
|
|
63
|
-
protected readonly queries: Q;
|
|
64
|
-
protected readonly mutations: Partial<M>;
|
|
65
|
-
protected readonly subscriptions: Partial<S>;
|
|
66
|
-
protected readonly _equalsFn: (e1: T, e2: T) => boolean;
|
|
67
|
-
protected readonly _isNewFn: (e: T) => boolean;
|
|
68
|
-
protected readonly defaultSortBy: keyof T;
|
|
69
|
-
protected readonly defaultSortDirection: SortDirection;
|
|
70
|
-
protected readonly watchQueriesUpdatePolicy: MutableWatchQueriesUpdatePolicy;
|
|
71
|
-
protected constructor(graphql: GraphqlService, platform: PlatformService, dataType: new () => T, filterType: new () => F, options: BaseEntityServiceOptions<T, ID, Q, M, S>);
|
|
72
|
-
watch(id: number, opts?: WO): Observable<T>;
|
|
73
|
-
load(id: ID, opts?: LO): Promise<T>;
|
|
74
|
-
watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, dataFilter?: F, opts?: WO): Observable<LoadResult<T>>;
|
|
75
|
-
loadAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>, opts?: LO & {
|
|
76
|
-
debug?: boolean;
|
|
77
|
-
}): Promise<LoadResult<T>>;
|
|
78
|
-
countAll(filter?: Partial<F>, opts?: LO): Promise<number>;
|
|
79
|
-
canUserWrite(data: T, opts?: any): boolean;
|
|
80
|
-
saveAll(entities: T[], opts?: EntitySaveOptions): Promise<T[]>;
|
|
81
|
-
/**
|
|
82
|
-
* Save a referential entity
|
|
83
|
-
*
|
|
84
|
-
* @param entity
|
|
85
|
-
* @param opts
|
|
86
|
-
*/
|
|
87
|
-
save(entity: T, opts?: EntitySaveOptions): Promise<T>;
|
|
88
|
-
/**
|
|
89
|
-
* Delete referential entities
|
|
90
|
-
*/
|
|
91
|
-
deleteAll(entities: T[], opts?: Partial<{
|
|
92
|
-
update: MutationUpdaterFn<any>;
|
|
93
|
-
}> | any): Promise<any>;
|
|
94
|
-
/**
|
|
95
|
-
* Delete a referential entity
|
|
96
|
-
*/
|
|
97
|
-
delete(entity: T, opts?: EntitySaveOptions | any): Promise<any>;
|
|
98
|
-
listenChanges(id: ID, opts?: EntityServiceListenChangesOptions): Observable<T>;
|
|
99
|
-
copyIdAndUpdateDate(source: T, target: T): void;
|
|
100
|
-
fromObject(source: any): T;
|
|
101
|
-
asFilter(source: any): F;
|
|
102
|
-
equals(d1: T, d2: T): boolean;
|
|
103
|
-
isNew(data: T): boolean;
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated Use equals() instead
|
|
106
|
-
*/
|
|
107
|
-
equalsFn(d1: T, d2: T): boolean;
|
|
108
|
-
/**
|
|
109
|
-
* @deprecated Use isNew() instead
|
|
110
|
-
* @param data
|
|
111
|
-
*/
|
|
112
|
-
isNewFn(data: T): boolean;
|
|
113
|
-
protected ngOnStart(): Promise<void>;
|
|
114
|
-
protected fillDefaultProperties(source: T): void;
|
|
115
|
-
protected asObject(source: T, opts?: EntityAsObjectOptions): any;
|
|
116
|
-
protected getRefetchQueriesForMutation(opts?: EntitySaveOptions): ((result: FetchResult<{
|
|
117
|
-
data: any;
|
|
118
|
-
}>) => InternalRefetchQueriesInclude) | InternalRefetchQueriesInclude;
|
|
119
|
-
protected getLoadQueries(): DocumentNode[];
|
|
120
|
-
protected getLoadQueryNames(): string[];
|
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseEntityService<any, any, any, any, any, any, any, any>, never>;
|
|
122
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseEntityService<any, any, any, any, any, any, any, any>, never, never, {}, {}, never, never, false, never>;
|
|
123
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { GraphqlService, MutateQueryOptions, WatchQueryOptions } from '../graphql/graphql.service';
|
|
2
|
-
import { Page } from '../../shared/services/entity-service.class';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FetchResult } from '@apollo/client/link/core';
|
|
5
|
-
import { ApolloCache, InternalRefetchQueriesInclude } from '@apollo/client/core';
|
|
6
|
-
import { QueryRef } from 'apollo-angular';
|
|
7
|
-
import { PureQueryOptions } from '@apollo/client/core/types';
|
|
8
|
-
import { DocumentNode } from 'graphql';
|
|
9
|
-
import { StartableService } from '../../shared/services/startable-service.class';
|
|
10
|
-
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
11
|
-
import { EmptyObject } from '../graphql/graphql.utils';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export interface QueryVariables<F = any> extends Partial<Page> {
|
|
14
|
-
filter?: F;
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}
|
|
17
|
-
export interface MutateQueryWithCacheUpdateOptions<T = any, V = EmptyObject> extends MutateQueryOptions<T, V> {
|
|
18
|
-
cacheInsert?: {
|
|
19
|
-
query: any;
|
|
20
|
-
fetchData: (variables: V, mutationResult: FetchResult<T>) => any;
|
|
21
|
-
}[];
|
|
22
|
-
cacheRemove?: {
|
|
23
|
-
query: any;
|
|
24
|
-
fetchIds: (variables: V) => number | number[];
|
|
25
|
-
}[];
|
|
26
|
-
}
|
|
27
|
-
export interface MutableWatchQueryOptions<D, T = any, V = EmptyObject> extends WatchQueryOptions<V> {
|
|
28
|
-
queryName: string;
|
|
29
|
-
arrayFieldName: keyof D;
|
|
30
|
-
totalFieldName?: keyof D;
|
|
31
|
-
insertFilterFn?: (data: T) => boolean;
|
|
32
|
-
sortFn?: (a: T, b: T) => number;
|
|
33
|
-
}
|
|
34
|
-
export interface MutableWatchQueryDescription<TData, TEntityClass = any, TVariables = EmptyObject> extends PureQueryOptions<TVariables, TData> {
|
|
35
|
-
id?: string;
|
|
36
|
-
query: DocumentNode | TypedDocumentNode<TData, TVariables>;
|
|
37
|
-
queryRef: QueryRef<TData, TVariables>;
|
|
38
|
-
variables: TVariables;
|
|
39
|
-
arrayFieldName: keyof TData;
|
|
40
|
-
totalFieldName?: keyof TData;
|
|
41
|
-
insertFilterFn?: (data: TEntityClass) => boolean;
|
|
42
|
-
sortFn?: (a: TEntityClass, b: TEntityClass) => number;
|
|
43
|
-
counter: number;
|
|
44
|
-
}
|
|
45
|
-
export interface FindMutableWatchQueriesOptions {
|
|
46
|
-
query?: DocumentNode;
|
|
47
|
-
queries?: DocumentNode[];
|
|
48
|
-
queryName?: string;
|
|
49
|
-
queryNames?: string[];
|
|
50
|
-
}
|
|
51
|
-
export declare class BaseGraphqlServiceOptions {
|
|
52
|
-
production?: boolean;
|
|
53
|
-
}
|
|
54
|
-
export declare abstract class BaseGraphqlService<T = any, F = any, ID = any, S = void> extends StartableService<S> {
|
|
55
|
-
protected graphql: GraphqlService;
|
|
56
|
-
protected _logPrefix: string;
|
|
57
|
-
protected _mutableWatchQueries: MutableWatchQueryDescription<any>[];
|
|
58
|
-
protected _mutableWatchQueriesMaxCount: number;
|
|
59
|
-
protected constructor(graphql: GraphqlService, options?: BaseGraphqlServiceOptions);
|
|
60
|
-
mutableWatchQuery<D, V = EmptyObject>(opts: MutableWatchQueryOptions<D, T, V>): Observable<D>;
|
|
61
|
-
insertIntoMutableCachedQueries(cache: ApolloCache<any>, opts: FindMutableWatchQueriesOptions & {
|
|
62
|
-
data: T[] | T;
|
|
63
|
-
}): void;
|
|
64
|
-
removeFromMutableCachedQueriesByIds(cache: ApolloCache<any>, opts: FindMutableWatchQueriesOptions & {
|
|
65
|
-
ids: ID | ID[];
|
|
66
|
-
}): number;
|
|
67
|
-
refetchMutableWatchQueries(opts: FindMutableWatchQueriesOptions & {
|
|
68
|
-
variables?: any;
|
|
69
|
-
}): Promise<void>;
|
|
70
|
-
protected computeMutableWatchQueryId<D, T, V = EmptyObject>(opts: MutableWatchQueryOptions<D, T, V>): string;
|
|
71
|
-
protected findMutableWatchQueries(opts: FindMutableWatchQueriesOptions): MutableWatchQueryDescription<any>[];
|
|
72
|
-
protected registerNewMutableWatchQuery(mutableQuery: MutableWatchQueryDescription<any>): void;
|
|
73
|
-
protected findRefetchQueries(opts: FindMutableWatchQueriesOptions): InternalRefetchQueriesInclude;
|
|
74
|
-
protected ngOnStart(): Promise<S>;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseGraphqlService<any, any, any, any>, [null, { optional: true; }]>;
|
|
76
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseGraphqlService<any, any, any, any>, never, never, {}, {}, never, never, false, never>;
|
|
77
|
-
}
|