@sumaris-net/ngx-components 18.23.63 → 21.0.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 +2 -0
- package/doc/build.md +3 -5
- package/fesm2022/sumaris-net.ngx-components.mjs +2382 -2150
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +15 -15
- package/src/assets/environments/environment-test.json +2 -2
- package/src/assets/i18n/fr.json +6 -5
- 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/_material.globals.scss +4 -1
- package/src/theme/_material.scss +16 -13
- package/src/theme/_mixins.scss +7 -1
- package/src/theme/_ngx-components.forms.scss +87 -84
- package/src/theme/_ngx-components.globals.scss +2 -0
- package/src/theme/_ngx-components.scss +19 -4
- package/src/theme/_ngx-components.table.scss +31 -26
- package/src/theme/_ngx-components.tabs.scss +16 -14
- package/src/theme/_responsive.scss +2 -0
- package/src/theme/_roboto.scss +3 -0
- package/src/theme/_theme.scss +11 -14
- package/src/theme/_theme.variables.scss +6 -1
- 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 -403
- 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/users/person.filter.mjs +0 -157
- package/esm2022/src/app/admin/users/person.service.mjs +0 -226
- package/esm2022/src/app/admin/users/person.validator.mjs +0 -78
- package/esm2022/src/app/admin/users/users-select.modal.mjs +0 -167
- package/esm2022/src/app/admin/users/users.mjs +0 -502
- package/esm2022/src/app/admin/users/users.module.mjs +0 -59
- package/esm2022/src/app/admin/users/users.utils.mjs +0 -29
- package/esm2022/src/app/core/about/about.modal.mjs +0 -119
- package/esm2022/src/app/core/about/about.module.mjs +0 -22
- package/esm2022/src/app/core/account/account.module.mjs +0 -75
- package/esm2022/src/app/core/account/account.page.mjs +0 -426
- package/esm2022/src/app/core/account/new-token.form.mjs +0 -109
- package/esm2022/src/app/core/account/new-token.modal.mjs +0 -66
- package/esm2022/src/app/core/account/password/change-password.form.mjs +0 -63
- 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 -150
- package/esm2022/src/app/core/account/token.table.mjs +0 -160
- 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 -89
- package/esm2022/src/app/core/core.module.mjs +0 -157
- package/esm2022/src/app/core/core.testing.module.mjs +0 -128
- package/esm2022/src/app/core/form/array/form-array.mjs +0 -328
- 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 -97
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +0 -111
- 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 -268
- 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 -748
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +0 -25
- package/esm2022/src/app/core/form/entity/entity.module.mjs +0 -33
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +0 -190
- package/esm2022/src/app/core/form/form-container.class.mjs +0 -347
- package/esm2022/src/app/core/form/form.class.mjs +0 -342
- package/esm2022/src/app/core/form/form.module.mjs +0 -77
- package/esm2022/src/app/core/form/form.utils.mjs +0 -238
- package/esm2022/src/app/core/form/list/list.form.mjs +0 -243
- package/esm2022/src/app/core/form/list/list.module.mjs +0 -31
- package/esm2022/src/app/core/form/properties/properties-file.service.mjs +0 -133
- package/esm2022/src/app/core/form/properties/properties.form.mjs +0 -397
- package/esm2022/src/app/core/form/properties/properties.module.mjs +0 -85
- package/esm2022/src/app/core/form/properties/properties.table.mjs +0 -267
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +0 -304
- package/esm2022/src/app/core/form/properties/property.validator.mjs +0 -70
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +0 -103
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +0 -23
- package/esm2022/src/app/core/form/text/testing/text-form.testing.mjs +0 -42
- package/esm2022/src/app/core/form/text/testing/text-form.testing.module.mjs +0 -25
- package/esm2022/src/app/core/form/text/text-form.component.mjs +0 -205
- package/esm2022/src/app/core/form/text/text-form.module.mjs +0 -31
- 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 -22
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +0 -164
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +0 -32
- package/esm2022/src/app/core/form/username/username.form.mjs +0 -55
- 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 -781
- package/esm2022/src/app/core/graphql/graphql.utils.mjs +0 -119
- package/esm2022/src/app/core/home/home.mjs +0 -472
- package/esm2022/src/app/core/home/home.module.mjs +0 -54
- 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 -394
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +0 -31
- package/esm2022/src/app/core/menu/menu.component.mjs +0 -273
- package/esm2022/src/app/core/menu/menu.model.mjs +0 -328
- package/esm2022/src/app/core/menu/menu.module.mjs +0 -47
- package/esm2022/src/app/core/menu/menu.service.mjs +0 -666
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +0 -113
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +0 -51
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +0 -165
- 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 -350
- package/esm2022/src/app/core/peer/select-peer.module.mjs +0 -36
- package/esm2022/src/app/core/register/register-confirm.page.mjs +0 -90
- package/esm2022/src/app/core/register/register.form.mjs +0 -197
- 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 -1403
- package/esm2022/src/app/core/services/auth-guard.service.mjs +0 -74
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +0 -499
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +0 -224
- package/esm2022/src/app/core/services/base58.mjs +0 -83
- package/esm2022/src/app/core/services/config/core.config.mjs +0 -293
- 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 -54
- package/esm2022/src/app/core/services/local-settings.service.mjs +0 -540
- package/esm2022/src/app/core/services/model/account.model.mjs +0 -192
- package/esm2022/src/app/core/services/model/config.model.mjs +0 -111
- 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 -347
- package/esm2022/src/app/core/services/model/filter.model.mjs +0 -169
- 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/node-feature.model.mjs +0 -31
- package/esm2022/src/app/core/services/model/peer.model.mjs +0 -114
- package/esm2022/src/app/core/services/model/person.model.mjs +0 -118
- package/esm2022/src/app/core/services/model/referential.model.mjs +0 -207
- package/esm2022/src/app/core/services/model/settings.model.mjs +0 -6
- package/esm2022/src/app/core/services/model/token.model.mjs +0 -57
- package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +0 -234
- package/esm2022/src/app/core/services/network.service.mjs +0 -759
- package/esm2022/src/app/core/services/network.types.mjs +0 -2
- package/esm2022/src/app/core/services/network.utils.mjs +0 -35
- 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 -58
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +0 -36
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +0 -37
- package/esm2022/src/app/core/services/platform.service.mjs +0 -780
- 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 -450
- 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 -46
- 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 -57
- 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 -23
- package/esm2022/src/app/core/settings/settings.page.mjs +0 -406
- package/esm2022/src/app/core/table/async-table.class.mjs +0 -1882
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +0 -137
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +0 -120
- 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 -415
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +0 -407
- 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 -1918
- package/esm2022/src/app/core/table/table.model.mjs +0 -21
- package/esm2022/src/app/core/table/table.module.mjs +0 -51
- package/esm2022/src/app/core/table/table.pipes.mjs +0 -76
- package/esm2022/src/app/core/table/table.utils.mjs +0 -34
- package/esm2022/src/app/core/table/testing/nested-table.testing.mjs +0 -326
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +0 -32
- package/esm2022/src/app/core/table/testing/table.testing.mjs +0 -342
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +0 -47
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +0 -25
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +0 -322
- package/esm2022/src/app/shared/alerts.mjs +0 -243
- package/esm2022/src/app/shared/audio/audio.mjs +0 -255
- 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/base64.utils.mjs +0 -59
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +0 -42
- package/esm2022/src/app/shared/capacitor/plugins.mjs +0 -10
- package/esm2022/src/app/shared/constants.mjs +0 -18
- package/esm2022/src/app/shared/dates.mjs +0 -212
- package/esm2022/src/app/shared/debug/debug-service.class.mjs +0 -3
- package/esm2022/src/app/shared/debug/debug.component.mjs +0 -44
- 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/autoresize.directive.mjs +0 -75
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +0 -30
- package/esm2022/src/app/shared/directives/autotooltip.directive.mjs +0 -35
- package/esm2022/src/app/shared/directives/cell-selection/cell-identifier.directive.mjs +0 -55
- package/esm2022/src/app/shared/directives/cell-selection/cell-selection.directive.mjs +0 -206
- package/esm2022/src/app/shared/directives/cell-selection/cell-selection.service.mjs +0 -204
- package/esm2022/src/app/shared/directives/directives.module.mjs +0 -53
- 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 -96
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +0 -17
- package/esm2022/src/app/shared/directives/throttled-click.directive.mjs +0 -43
- package/esm2022/src/app/shared/events.mjs +0 -64
- package/esm2022/src/app/shared/file/csv.utils.mjs +0 -97
- package/esm2022/src/app/shared/file/file.service.mjs +0 -118
- package/esm2022/src/app/shared/file/file.utils.mjs +0 -117
- 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 -29
- package/esm2022/src/app/shared/file/url.utils.mjs +0 -213
- package/esm2022/src/app/shared/focusable.mjs +0 -6
- package/esm2022/src/app/shared/form/field.component.mjs +0 -388
- package/esm2022/src/app/shared/form/field.model.mjs +0 -100
- package/esm2022/src/app/shared/form/loading-spinner.mjs +0 -35
- package/esm2022/src/app/shared/forms.mjs +0 -593
- package/esm2022/src/app/shared/functions.mjs +0 -825
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +0 -94
- 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 -85
- package/esm2022/src/app/shared/graph/graph-colors.mjs +0 -214
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +0 -68
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +0 -23
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +0 -147
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +0 -24
- package/esm2022/src/app/shared/html.utils.mjs +0 -35
- package/esm2022/src/app/shared/http/http.utils.mjs +0 -56
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +0 -452
- 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 -92
- 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 -117
- package/esm2022/src/app/shared/inputs.mjs +0 -281
- 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/markdown/markdown.component.mjs +0 -321
- package/esm2022/src/app/shared/markdown/markdown.directive.mjs +0 -34
- package/esm2022/src/app/shared/markdown/markdown.modal.mjs +0 -99
- package/esm2022/src/app/shared/markdown/markdown.module.mjs +0 -87
- package/esm2022/src/app/shared/markdown/markdown.service.mjs +0 -204
- package/esm2022/src/app/shared/markdown/markdown.utils.mjs +0 -87
- package/esm2022/src/app/shared/markdown/testing/markdown.test.mjs +0 -55
- package/esm2022/src/app/shared/markdown/testing/markdown.testing.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 -1356
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +0 -81
- 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 -242
- 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 -70
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +0 -374
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +0 -83
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +0 -74
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +0 -843
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +0 -151
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +0 -79
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +0 -473
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +0 -457
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +0 -850
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +0 -140
- 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 -61
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +0 -16
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +0 -283
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +0 -85
- package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +0 -319
- package/esm2022/src/app/shared/material/latlong/material.latlong-input.mjs +0 -471
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +0 -231
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +0 -68
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +0 -138
- package/esm2022/src/app/shared/material/material.animations.mjs +0 -200
- package/esm2022/src/app/shared/material/material.config.mjs +0 -3
- package/esm2022/src/app/shared/material/material.module.mjs +0 -224
- 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 -379
- 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/test/test-component.mjs +0 -264
- package/esm2022/src/app/shared/material/testing/common.test.mjs +0 -111
- package/esm2022/src/app/shared/modules.mjs +0 -12
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +0 -306
- 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 -104
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +0 -251
- package/esm2022/src/app/shared/pipes/badge.pipes.mjs +0 -25
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +0 -29
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +0 -50
- 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/date-from.pipe.mjs +0 -29
- package/esm2022/src/app/shared/pipes/dates.pipe.mjs +0 -18
- package/esm2022/src/app/shared/pipes/display-with.pipe.mjs +0 -23
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +0 -34
- 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 -50
- package/esm2022/src/app/shared/pipes/html.pipes.mjs +0 -102
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +0 -42
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +0 -65
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +0 -67
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +0 -77
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +0 -19
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +0 -17
- package/esm2022/src/app/shared/pipes/observable.pipes.mjs +0 -63
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +0 -304
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +0 -148
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +0 -177
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +0 -183
- 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/pipes/url.pipes.mjs +0 -35
- package/esm2022/src/app/shared/platforms.mjs +0 -81
- package/esm2022/src/app/shared/print/print.service.mjs +0 -305
- package/esm2022/src/app/shared/regexps.mjs +0 -103
- package/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +0 -193
- package/esm2022/src/app/shared/rx-state/rx-state.module.mjs +0 -19
- package/esm2022/src/app/shared/rx-state/rx-state.types.mjs +0 -2
- package/esm2022/src/app/shared/services/entity-service.class.mjs +0 -44
- package/esm2022/src/app/shared/services/job.utils.mjs +0 -92
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +0 -362
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +0 -31
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +0 -144
- package/esm2022/src/app/shared/services/startable-service.class.mjs +0 -118
- 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 -85
- package/esm2022/src/app/shared/shared-routing.module.mjs +0 -72
- package/esm2022/src/app/shared/shared.module.mjs +0 -229
- package/esm2022/src/app/shared/shared.testing.module.mjs +0 -108
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +0 -281
- 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 -54
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +0 -31
- package/esm2022/src/app/shared/toast/toasts.mjs +0 -134
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +0 -62
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +0 -272
- 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 -108
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +0 -216
- 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 -122
- package/esm2022/src/app/shared/validator/validators.mjs +0 -658
- package/esm2022/src/app/shared/version/versions.mjs +0 -81
- package/esm2022/src/app/social/config/social.config.mjs +0 -9
- package/esm2022/src/app/social/feed/feed.component.mjs +0 -317
- package/esm2022/src/app/social/feed/feed.directive.mjs +0 -151
- package/esm2022/src/app/social/feed/feed.model.mjs +0 -60
- package/esm2022/src/app/social/feed/feed.module.mjs +0 -24
- package/esm2022/src/app/social/feed/feed.page.mjs +0 -67
- package/esm2022/src/app/social/feed/feed.service.mjs +0 -222
- package/esm2022/src/app/social/feed/testing/feed.testing.mjs +0 -66
- package/esm2022/src/app/social/feed/testing/feed.testing.module.mjs +0 -23
- package/esm2022/src/app/social/job/job.module.mjs +0 -23
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +0 -38
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +0 -241
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +0 -50
- 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 -149
- package/esm2022/src/app/social/message/message.modal.mjs +0 -116
- package/esm2022/src/app/social/message/message.model.mjs +0 -86
- package/esm2022/src/app/social/message/message.module.mjs +0 -25
- package/esm2022/src/app/social/message/message.service.mjs +0 -198
- package/esm2022/src/app/social/social.errors.mjs +0 -11
- package/esm2022/src/app/social/social.module.mjs +0 -22
- package/esm2022/src/app/social/social.testing.module.mjs +0 -72
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +0 -191
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +0 -280
- package/esm2022/src/app/social/user-event/notification/user-event-notification.modal.mjs +0 -84
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +0 -273
- 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 -24
- package/esm2022/src/app/social/user-event/user-event.service.mjs +0 -512
- package/esm2022/src/environments/environment.class.mjs +0 -69
- package/esm2022/src/environments/environment.loader.mjs +0 -77
- package/esm2022/src/environments/environment.mjs +0 -133
- package/esm2022/sumaris-net.ngx-components.mjs +0 -5
- package/index.d.ts +0 -5
- package/public_api.d.ts +0 -364
- 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/users/person.filter.d.ts +0 -37
- package/src/app/admin/users/person.service.d.ts +0 -61
- package/src/app/admin/users/person.validator.d.ts +0 -23
- package/src/app/admin/users/users-select.modal.d.ts +0 -73
- package/src/app/admin/users/users.d.ts +0 -89
- package/src/app/admin/users/users.module.d.ts +0 -15
- package/src/app/admin/users/users.utils.d.ts +0 -6
- package/src/app/core/about/about.modal.d.ts +0 -44
- package/src/app/core/about/about.module.d.ts +0 -11
- package/src/app/core/account/account.module.d.ts +0 -18
- package/src/app/core/account/account.page.d.ts +0 -93
- package/src/app/core/account/new-token.form.d.ts +0 -30
- package/src/app/core/account/new-token.modal.d.ts +0 -29
- 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 -28
- 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 -29
- package/src/app/core/core.module.d.ts +0 -28
- package/src/app/core/core.testing.module.d.ts +0 -16
- package/src/app/core/form/array/form-array.d.ts +0 -147
- 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 -27
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +0 -38
- 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 -85
- 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 -211
- package/src/app/core/form/entity/entity-metadata.component.d.ts +0 -13
- package/src/app/core/form/entity/entity.module.d.ts +0 -11
- package/src/app/core/form/entity/tab-editor.class.d.ts +0 -66
- package/src/app/core/form/form-container.class.d.ts +0 -131
- package/src/app/core/form/form.class.d.ts +0 -148
- package/src/app/core/form/form.module.d.ts +0 -15
- package/src/app/core/form/form.utils.d.ts +0 -301
- package/src/app/core/form/list/list.form.d.ts +0 -83
- package/src/app/core/form/list/list.module.d.ts +0 -9
- package/src/app/core/form/properties/properties-file.service.d.ts +0 -26
- package/src/app/core/form/properties/properties.form.d.ts +0 -109
- package/src/app/core/form/properties/properties.module.d.ts +0 -18
- package/src/app/core/form/properties/properties.table.d.ts +0 -73
- package/src/app/core/form/properties/properties.utils.d.ts +0 -59
- package/src/app/core/form/properties/property.validator.d.ts +0 -27
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +0 -22
- package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +0 -12
- package/src/app/core/form/text/testing/text-form.testing.d.ts +0 -19
- package/src/app/core/form/text/testing/text-form.testing.module.d.ts +0 -14
- package/src/app/core/form/text/text-form.component.d.ts +0 -66
- package/src/app/core/form/text/text-form.module.d.ts +0 -9
- 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 -81
- package/src/app/core/form/text-popover/text-popover.module.d.ts +0 -10
- 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 -138
- package/src/app/core/graphql/graphql.utils.d.ts +0 -47
- package/src/app/core/home/home.d.ts +0 -135
- package/src/app/core/home/home.module.d.ts +0 -16
- 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 -63
- 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 -163
- package/src/app/core/menu/menu.module.d.ts +0 -12
- package/src/app/core/menu/menu.service.d.ts +0 -93
- 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 -53
- 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 -108
- package/src/app/core/peer/select-peer.module.d.ts +0 -12
- 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 -236
- package/src/app/core/services/auth-guard.service.d.ts +0 -17
- package/src/app/core/services/base-entity-service.class.d.ts +0 -134
- 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 -52
- 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 -65
- package/src/app/core/services/local-settings.service.d.ts +0 -130
- package/src/app/core/services/model/account.model.d.ts +0 -66
- package/src/app/core/services/model/config.model.d.ts +0 -37
- 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 -133
- 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/node-feature.model.d.ts +0 -14
- package/src/app/core/services/model/peer.model.d.ts +0 -35
- package/src/app/core/services/model/person.model.d.ts +0 -39
- package/src/app/core/services/model/referential.model.d.ts +0 -85
- package/src/app/core/services/model/settings.model.d.ts +0 -29
- 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 -62
- package/src/app/core/services/network.service.d.ts +0 -184
- package/src/app/core/services/network.types.d.ts +0 -4
- package/src/app/core/services/network.utils.d.ts +0 -39
- 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 -23
- package/src/app/core/services/pipes/usage-mode.pipes.d.ts +0 -15
- package/src/app/core/services/platform.service.d.ts +0 -126
- 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 -18
- 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 -12
- package/src/app/core/settings/settings.page.d.ts +0 -89
- package/src/app/core/table/async-table.class.d.ts +0 -443
- package/src/app/core/table/column/actions-column.component.d.ts +0 -65
- package/src/app/core/table/column/nav-actions-column.component.d.ts +0 -47
- package/src/app/core/table/column/row-field.component.d.ts +0 -41
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +0 -103
- package/src/app/core/table/entities-table-datasource.class.d.ts +0 -102
- 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 -427
- package/src/app/core/table/table.model.d.ts +0 -31
- package/src/app/core/table/table.module.d.ts +0 -14
- package/src/app/core/table/table.pipes.d.ts +0 -30
- package/src/app/core/table/table.utils.d.ts +0 -13
- package/src/app/core/table/testing/nested-table.testing.d.ts +0 -54
- package/src/app/core/table/testing/table-validator.service.d.ts +0 -17
- package/src/app/core/table/testing/table.testing.d.ts +0 -55
- package/src/app/core/table/testing/table.testing.module.d.ts +0 -17
- package/src/app/core/table/testing/table2-validator.service.d.ts +0 -15
- package/src/app/core/table/testing/table2.testing.d.ts +0 -53
- package/src/app/shared/alerts.d.ts +0 -55
- package/src/app/shared/audio/audio.d.ts +0 -45
- 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/base64.utils.d.ts +0 -7
- package/src/app/shared/capacitor/keyboard.d.ts +0 -16
- package/src/app/shared/capacitor/plugins.d.ts +0 -8
- package/src/app/shared/constants.d.ts +0 -15
- package/src/app/shared/dates.d.ts +0 -85
- package/src/app/shared/debug/debug-service.class.d.ts +0 -5
- package/src/app/shared/debug/debug.component.d.ts +0 -14
- 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/autoresize.directive.d.ts +0 -20
- package/src/app/shared/directives/autotitle.directive.d.ts +0 -11
- package/src/app/shared/directives/autotooltip.directive.d.ts +0 -14
- package/src/app/shared/directives/cell-selection/cell-identifier.directive.d.ts +0 -17
- package/src/app/shared/directives/cell-selection/cell-selection.directive.d.ts +0 -29
- package/src/app/shared/directives/cell-selection/cell-selection.service.d.ts +0 -67
- package/src/app/shared/directives/directives.module.d.ts +0 -15
- 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 -24
- package/src/app/shared/directives/resizable/resizable.module.d.ts +0 -8
- package/src/app/shared/directives/throttled-click.directive.d.ts +0 -16
- package/src/app/shared/events.d.ts +0 -29
- package/src/app/shared/file/csv.utils.d.ts +0 -30
- 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/file/url.utils.d.ts +0 -108
- package/src/app/shared/focusable.d.ts +0 -4
- package/src/app/shared/form/field.component.d.ts +0 -83
- package/src/app/shared/form/field.model.d.ts +0 -88
- package/src/app/shared/form/loading-spinner.d.ts +0 -8
- package/src/app/shared/forms.d.ts +0 -170
- package/src/app/shared/functions.d.ts +0 -296
- package/src/app/shared/geolocation/geolocation.utils.d.ts +0 -25
- 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 -34
- 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/hotkeys/dialog/hotkeys-dialog.component.d.ts +0 -8
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +0 -48
- package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +0 -11
- package/src/app/shared/html.utils.d.ts +0 -17
- package/src/app/shared/http/http.utils.d.ts +0 -28
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +0 -139
- 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 -7
- package/src/app/shared/image/image.module.d.ts +0 -8
- package/src/app/shared/image/image.service.d.ts +0 -37
- package/src/app/shared/inputs.d.ts +0 -37
- 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/markdown/markdown.component.d.ts +0 -86
- package/src/app/shared/markdown/markdown.directive.d.ts +0 -13
- package/src/app/shared/markdown/markdown.modal.d.ts +0 -49
- package/src/app/shared/markdown/markdown.module.d.ts +0 -17
- package/src/app/shared/markdown/markdown.service.d.ts +0 -37
- package/src/app/shared/markdown/markdown.utils.d.ts +0 -26
- package/src/app/shared/markdown/testing/markdown.test.d.ts +0 -18
- package/src/app/shared/markdown/testing/markdown.testing.module.d.ts +0 -12
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +0 -74
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +0 -224
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +0 -23
- 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 -48
- 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 -94
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +0 -31
- package/src/app/shared/material/chips/chips.module.d.ts +0 -22
- package/src/app/shared/material/chips/material.chips.d.ts +0 -167
- package/src/app/shared/material/chips/testing/chips.test.d.ts +0 -32
- package/src/app/shared/material/datetime/datetime.module.d.ts +0 -25
- 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 -136
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +0 -38
- 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 -18
- package/src/app/shared/material/duration/duration.utils.d.ts +0 -2
- package/src/app/shared/material/duration/material.duration.d.ts +0 -64
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +0 -23
- package/src/app/shared/material/latlong/latlong.utils.d.ts +0 -59
- package/src/app/shared/material/latlong/material.latlong-input.d.ts +0 -93
- package/src/app/shared/material/latlong/material.latlong.d.ts +0 -90
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +0 -21
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +0 -30
- package/src/app/shared/material/material.animations.d.ts +0 -8
- package/src/app/shared/material/material.config.d.ts +0 -3
- package/src/app/shared/material/material.module.d.ts +0 -44
- 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 -89
- 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/test/test-component.d.ts +0 -75
- package/src/app/shared/material/testing/common.test.d.ts +0 -25
- package/src/app/shared/modules.d.ts +0 -9
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +0 -63
- 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 -32
- package/src/app/shared/pipes/arrays.pipe.d.ts +0 -93
- 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 -25
- package/src/app/shared/pipes/date-format.pipe.d.ts +0 -35
- package/src/app/shared/pipes/date-from-now.pipe.d.ts +0 -14
- package/src/app/shared/pipes/date-from.pipe.d.ts +0 -14
- package/src/app/shared/pipes/dates.pipe.d.ts +0 -10
- package/src/app/shared/pipes/display-with.pipe.d.ts +0 -8
- package/src/app/shared/pipes/duration.pipe.d.ts +0 -23
- 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 -50
- package/src/app/shared/pipes/latlong-format.pipe.d.ts +0 -20
- package/src/app/shared/pipes/maps.pipe.d.ts +0 -23
- package/src/app/shared/pipes/maskito.pipe.d.ts +0 -14
- package/src/app/shared/pipes/math.pipes.d.ts +0 -26
- package/src/app/shared/pipes/ng-init.pipe.d.ts +0 -8
- package/src/app/shared/pipes/number-format.pipe.d.ts +0 -9
- package/src/app/shared/pipes/observable.pipes.d.ts +0 -25
- package/src/app/shared/pipes/pipes.module.d.ts +0 -36
- package/src/app/shared/pipes/property.pipes.d.ts +0 -46
- package/src/app/shared/pipes/selection.pipes.d.ts +0 -62
- package/src/app/shared/pipes/string.pipes.d.ts +0 -67
- 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/pipes/url.pipes.d.ts +0 -27
- package/src/app/shared/platforms.d.ts +0 -16
- package/src/app/shared/print/print.service.d.ts +0 -94
- package/src/app/shared/regexps.d.ts +0 -32
- package/src/app/shared/rx-state/rx-state.decorators.d.ts +0 -33
- package/src/app/shared/rx-state/rx-state.module.d.ts +0 -10
- package/src/app/shared/rx-state/rx-state.types.d.ts +0 -5
- package/src/app/shared/services/entity-service.class.d.ts +0 -117
- package/src/app/shared/services/job.utils.d.ts +0 -20
- package/src/app/shared/services/memory-entity-service.class.d.ts +0 -87
- package/src/app/shared/services/progress-bar.service.d.ts +0 -20
- package/src/app/shared/services/startable-observable-service.class.d.ts +0 -51
- package/src/app/shared/services/startable-service.class.d.ts +0 -38
- 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 -17
- package/src/app/shared/shared-routing.module.d.ts +0 -23
- package/src/app/shared/shared.module.d.ts +0 -33
- package/src/app/shared/shared.testing.module.d.ts +0 -20
- package/src/app/shared/storage/storage-explorer.component.d.ts +0 -60
- 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 -12
- package/src/app/shared/toast/toasts.d.ts +0 -16
- package/src/app/shared/toolbar/modal-toolbar.d.ts +0 -21
- package/src/app/shared/toolbar/toolbar.d.ts +0 -70
- package/src/app/shared/toolbar/toolbar.module.d.ts +0 -16
- package/src/app/shared/types.d.ts +0 -45
- 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 -41
- package/src/app/shared/upload-file/upload-file.component.d.ts +0 -50
- 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 -145
- package/src/app/shared/version/versions.d.ts +0 -26
- package/src/app/social/config/social.config.d.ts +0 -4
- package/src/app/social/feed/feed.component.d.ts +0 -91
- package/src/app/social/feed/feed.directive.d.ts +0 -32
- package/src/app/social/feed/feed.model.d.ts +0 -69
- package/src/app/social/feed/feed.module.d.ts +0 -13
- package/src/app/social/feed/feed.page.d.ts +0 -24
- package/src/app/social/feed/feed.service.d.ts +0 -85
- package/src/app/social/feed/testing/feed.testing.d.ts +0 -23
- package/src/app/social/feed/testing/feed.testing.module.d.ts +0 -12
- package/src/app/social/job/job.module.d.ts +0 -12
- package/src/app/social/job/progression/job-progression.component.d.ts +0 -24
- package/src/app/social/job/progression/job-progression.icon.d.ts +0 -63
- package/src/app/social/job/progression/job-progression.list.d.ts +0 -20
- 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 -47
- package/src/app/social/message/message.model.d.ts +0 -36
- package/src/app/social/message/message.module.d.ts +0 -14
- package/src/app/social/message/message.service.d.ts +0 -44
- package/src/app/social/social.errors.d.ts +0 -10
- package/src/app/social/social.module.d.ts +0 -20
- package/src/app/social/social.testing.module.d.ts +0 -14
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +0 -47
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +0 -77
- package/src/app/social/user-event/notification/user-event-notification.modal.d.ts +0 -37
- package/src/app/social/user-event/testing/user-event.testing.d.ts +0 -44
- 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 -41
- 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 -14
- package/src/app/social/user-event/user-event.service.d.ts +0 -124
- package/src/environments/environment.class.d.ts +0 -86
- 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,65 +0,0 @@
|
|
|
1
|
-
import { FormErrors } from '../../shared/forms';
|
|
2
|
-
export interface AppError {
|
|
3
|
-
code?: number;
|
|
4
|
-
message?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface AppErrorWithDetails extends AppError {
|
|
7
|
-
details: AppError & {
|
|
8
|
-
errors?: FormErrors;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare interface ServiceError {
|
|
12
|
-
code: number;
|
|
13
|
-
message: string;
|
|
14
|
-
reject?: (err: any) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const ErrorCodes: {
|
|
17
|
-
UNKNOWN_ERROR: number;
|
|
18
|
-
LOAD_ACCOUNT_ERROR: number;
|
|
19
|
-
BAD_PASSWORD: number;
|
|
20
|
-
UNKNOWN_ACCOUNT_EMAIL: number;
|
|
21
|
-
EMAIL_ALREADY_REGISTERED: number;
|
|
22
|
-
UNREACHABLE_NETWORK_ERROR: number;
|
|
23
|
-
UNKNOWN_NETWORK_ERROR: number;
|
|
24
|
-
SENT_CONFIRMATION_EMAIL_FAILED: number;
|
|
25
|
-
CONFIRM_EMAIL_FAILED: number;
|
|
26
|
-
SAVE_ACCOUNT_ERROR: number;
|
|
27
|
-
ACCOUNT_NOT_EXISTS: number;
|
|
28
|
-
SAVE_SETTINGS_ERROR: number;
|
|
29
|
-
SUBSCRIBE_ACCOUNT_ERROR: number;
|
|
30
|
-
ENTITY_STORAGE_MIGRATION_FAILED: number;
|
|
31
|
-
LOAD_DATA_ERROR: number;
|
|
32
|
-
SAVE_DATA_ERROR: number;
|
|
33
|
-
DELETE_DATA_ERROR: number;
|
|
34
|
-
SUBSCRIBE_DATA_ERROR: number;
|
|
35
|
-
LOAD_PERSONS_ERROR: number;
|
|
36
|
-
DATA_NOT_FOUND_ERROR: number;
|
|
37
|
-
TABLE_INVALID_ROW_ERROR: number;
|
|
38
|
-
TABLE_READ_ONLY: number;
|
|
39
|
-
UNAUTHORIZED: number;
|
|
40
|
-
INTERNAL_SERVER_ERROR: number;
|
|
41
|
-
AUTH_CHALLENGE_ERROR: number;
|
|
42
|
-
AUTH_SERVER_ERROR: number;
|
|
43
|
-
AUTH_SEND_RESET_PASSWORD_EMAIL_ERROR: number;
|
|
44
|
-
AUTH_RESET_PUBKEY_ERROR: number;
|
|
45
|
-
AUTH_UPDATE_PUBKEY_ERROR: number;
|
|
46
|
-
LOAD_CONFIG_ERROR: number;
|
|
47
|
-
SAVE_CONFIG_ERROR: number;
|
|
48
|
-
LOAD_TRASH_ENTITY_ERROR: number;
|
|
49
|
-
DELETE_TRASH_ENTITY_ERROR: number;
|
|
50
|
-
};
|
|
51
|
-
export declare const ServerErrorCodes: {
|
|
52
|
-
BAD_REQUEST: number;
|
|
53
|
-
UNAUTHORIZED: number;
|
|
54
|
-
FORBIDDEN: number;
|
|
55
|
-
NOT_FOUND: number;
|
|
56
|
-
INTERNAL_SERVER_ERROR: number;
|
|
57
|
-
DATA_LOCKED: number;
|
|
58
|
-
BAD_UPDATE_DATE: number;
|
|
59
|
-
DENY_DELETION: number;
|
|
60
|
-
DATA_NOT_UNIQUE: number;
|
|
61
|
-
INVALID_EMAIL_CONFIRMATION: number;
|
|
62
|
-
INVALID_QUERY_VARIABLES: number;
|
|
63
|
-
ACCOUNT_ALREADY_EXISTS: number;
|
|
64
|
-
BAD_APP_VERSION: number;
|
|
65
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
-
import { LocalSettings, OfflineFeature, UsageMode } from './model/settings.model';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Storage } from '@ionic/storage-angular';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import { Platform } from '@ionic/angular';
|
|
7
|
-
import { FormFieldDefinition, FormFieldDefinitionMap } from '../../shared/form/field.model';
|
|
8
|
-
import { Moment } from 'moment';
|
|
9
|
-
import { LatLongPattern } from '../../shared/material/latlong/latlong.utils';
|
|
10
|
-
import { Environment } from '../../../environments/environment.class';
|
|
11
|
-
import { HistoryPageReference } from './model/history.model';
|
|
12
|
-
import { StartableService } from '../../shared/services/startable-service.class';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare const SETTINGS_STORAGE_KEY = "settings";
|
|
15
|
-
export declare const SETTINGS_TRANSIENT_PROPERTIES: string[];
|
|
16
|
-
export interface LocalSettingsOptions {
|
|
17
|
-
serializeAsString?: boolean;
|
|
18
|
-
options: FormFieldDefinitionMap;
|
|
19
|
-
skipEmitPagesChanges?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare interface AddToPageHistoryOptions {
|
|
22
|
-
/**
|
|
23
|
-
* Represents a configuration option that determines whether query parameters
|
|
24
|
-
* should be removed from the path in a given URL or resource.
|
|
25
|
-
*
|
|
26
|
-
* When set to `true` (default), any query parameters appended to the path
|
|
27
|
-
* will be stripped or ignored during processing.
|
|
28
|
-
* When set to `false` or undefined, query parameters in the path
|
|
29
|
-
* will remain intact and be considered.
|
|
30
|
-
*
|
|
31
|
-
* Commonly used in scenarios where URL normalization or simplification is required.
|
|
32
|
-
*/
|
|
33
|
-
removePathQueryParams?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* A boolean flag indicating whether to remove the <small> HTML tag
|
|
36
|
-
* from the title. When set to true, any <small> tags within the title
|
|
37
|
-
* will be stripped or ignored. Defaults to undefined if not provided.
|
|
38
|
-
*/
|
|
39
|
-
removeTitleSmallTag?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies whether an event should be emitted or not.
|
|
42
|
-
*
|
|
43
|
-
* When set to `true`, the relevant event will be triggered.
|
|
44
|
-
* When set to `false` or omitted, no event will be emitted.
|
|
45
|
-
*
|
|
46
|
-
* Typically used to control the propagation of changes or actions
|
|
47
|
-
* to event listeners within a system or application.
|
|
48
|
-
*/
|
|
49
|
-
emitEvent?: boolean;
|
|
50
|
-
}
|
|
51
|
-
export declare const APP_LOCAL_SETTINGS: InjectionToken<Partial<LocalSettings>>;
|
|
52
|
-
export declare const APP_LOCAL_SETTINGS_OPTIONS: InjectionToken<LocalSettingsOptions>;
|
|
53
|
-
export declare class LocalSettingsService extends StartableService<LocalSettings> {
|
|
54
|
-
private translate;
|
|
55
|
-
private storage;
|
|
56
|
-
protected readonly environment: Environment;
|
|
57
|
-
private readonly defaultSettings;
|
|
58
|
-
private readonly _optionDefs;
|
|
59
|
-
private readonly _serializeAsString;
|
|
60
|
-
private readonly _skipEmitPagesChanges;
|
|
61
|
-
private _$storeLocallyEventEmitter;
|
|
62
|
-
readonly onChange: Subject<LocalSettings>;
|
|
63
|
-
readonly onStoredLocally: EventEmitter<LocalSettings>;
|
|
64
|
-
darkMode$: import("rxjs").Observable<boolean>;
|
|
65
|
-
locale$: import("rxjs").Observable<string>;
|
|
66
|
-
get settings(): LocalSettings;
|
|
67
|
-
get locale(): string;
|
|
68
|
-
get latLongFormat(): LatLongPattern;
|
|
69
|
-
get usageMode(): UsageMode;
|
|
70
|
-
set usageMode(value: UsageMode);
|
|
71
|
-
get mobile(): boolean;
|
|
72
|
-
set mobile(value: boolean);
|
|
73
|
-
get pageHistory(): HistoryPageReference[];
|
|
74
|
-
get allowDarkMode(): boolean;
|
|
75
|
-
get isDarkMode(): boolean;
|
|
76
|
-
constructor(platform: Platform, translate: TranslateService, storage: Storage, environment: Environment, defaultSettings: LocalSettings, options: LocalSettingsOptions);
|
|
77
|
-
ngOnStart(): Promise<LocalSettings>;
|
|
78
|
-
isUsageMode(mode: UsageMode): boolean;
|
|
79
|
-
isOnFieldMode(value?: UsageMode): boolean;
|
|
80
|
-
restoreLocally(): Promise<LocalSettings | undefined>;
|
|
81
|
-
setProperty<T = string>(keyOrDef: string | FormFieldDefinition, value: T, opts?: {
|
|
82
|
-
emitEvent?: boolean;
|
|
83
|
-
immediate?: boolean;
|
|
84
|
-
}): void;
|
|
85
|
-
getProperty(keyOrDef: string | FormFieldDefinition, defaultValue?: any): any;
|
|
86
|
-
getPropertyAsBoolean(definition: FormFieldDefinition, defaultValue?: boolean): boolean;
|
|
87
|
-
getPropertyAsInt(definition: FormFieldDefinition, defaultValue?: number): number;
|
|
88
|
-
getPropertyAsNumbers(definition: FormFieldDefinition, defaultValue?: number[]): number[];
|
|
89
|
-
getPropertyAsStrings(definition: FormFieldDefinition, defaultValue?: string[]): string[];
|
|
90
|
-
getPropertyAsObjects(definition: FormFieldDefinition, defaultValue?: any[]): any[];
|
|
91
|
-
apply(settings: Partial<LocalSettings>, opts?: {
|
|
92
|
-
emitEvent?: boolean;
|
|
93
|
-
persistImmediate?: boolean;
|
|
94
|
-
sanitize?: boolean;
|
|
95
|
-
}): Promise<void>;
|
|
96
|
-
applyProperty(key: keyof LocalSettings, value: any, opts?: {
|
|
97
|
-
emitEvent?: boolean;
|
|
98
|
-
persistImmediate?: boolean;
|
|
99
|
-
}): Promise<void>;
|
|
100
|
-
getPageSettings<T = any>(pageId: string, propertyName?: string): T;
|
|
101
|
-
savePageSetting(pageId: string, value: any, propertyName?: string, opts?: {
|
|
102
|
-
emitEvent?: boolean;
|
|
103
|
-
}): Promise<void>;
|
|
104
|
-
getOfflineFeature<F = any>(featureName: string): OfflineFeature<F>;
|
|
105
|
-
getOfflineFeatureLastSyncDate(featureName: string): Moment;
|
|
106
|
-
hasOfflineFeature(featureName?: string): boolean;
|
|
107
|
-
saveOfflineFeature(feature: OfflineFeature): void;
|
|
108
|
-
markOfflineFeatureAsSync(featureName: string): void;
|
|
109
|
-
removeOfflineFeatures(): void;
|
|
110
|
-
getFieldDisplayAttributes(fieldName: string, defaultAttributes?: string[]): string[];
|
|
111
|
-
getPageFieldDefaultValue(pageId: string, fieldName: string): any;
|
|
112
|
-
get optionDefs(): FormFieldDefinition[];
|
|
113
|
-
registerOption(def: FormFieldDefinition, opts?: {
|
|
114
|
-
replaceIfExists?: boolean;
|
|
115
|
-
}): void;
|
|
116
|
-
registerOptions(defs: FormFieldDefinition[]): void;
|
|
117
|
-
addToPageHistory(page: HistoryPageReference, opts?: AddToPageHistoryOptions, pageHistory?: HistoryPageReference[]): Promise<void>;
|
|
118
|
-
removePageHistory(path: string, opts?: {
|
|
119
|
-
emitEvent?: boolean;
|
|
120
|
-
persistImmediate?: boolean;
|
|
121
|
-
}, pageHistory?: HistoryPageReference[], // used for recursive call to children)
|
|
122
|
-
depth?: number): any;
|
|
123
|
-
clearPageHistory(): Promise<void>;
|
|
124
|
-
protected ngOnStop(): Promise<void>;
|
|
125
|
-
private resetData;
|
|
126
|
-
private storeLocally;
|
|
127
|
-
private fillPageHistoryDefaults;
|
|
128
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalSettingsService, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
129
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalSettingsService>;
|
|
130
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { LocalSettings } from './settings.model';
|
|
2
|
-
import { Person, UserProfileLabel } from './person.model';
|
|
3
|
-
import { Entity, EntityAsObjectOptions } from './entity.model';
|
|
4
|
-
import { LatLongPattern } from '../../../shared/material/latlong/latlong.utils';
|
|
5
|
-
import { UserToken } from './token.model';
|
|
6
|
-
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
7
|
-
/**
|
|
8
|
-
* A user account
|
|
9
|
-
*/
|
|
10
|
-
export declare class Account<T extends Account<any> = Account<any>> extends Person<T> {
|
|
11
|
-
static fromObject: (source: any, opts?: any) => Account;
|
|
12
|
-
settings: UserSettings;
|
|
13
|
-
tokens: UserToken[];
|
|
14
|
-
constructor();
|
|
15
|
-
asObject(opts?: EntityAsObjectOptions): any;
|
|
16
|
-
fromObject(source: any): void;
|
|
17
|
-
/**
|
|
18
|
-
* Convert into a Person. This will fill __typename with a right value, for data cache
|
|
19
|
-
*/
|
|
20
|
-
asPerson(): Person;
|
|
21
|
-
get displayName(): string;
|
|
22
|
-
}
|
|
23
|
-
export type AccountViewName = 'registration' | 'account' | 'users' | 'usersFilter';
|
|
24
|
-
export declare abstract class AccountUtils {
|
|
25
|
-
static accountToString: typeof accountToString;
|
|
26
|
-
static hasMinProfile(account: Account | null, userProfile: UserProfileLabel): boolean;
|
|
27
|
-
static hasExactProfile(account: Account | null, label: UserProfileLabel): boolean;
|
|
28
|
-
static hasProfileAndIsEnable(account: Account | null, userProfile: UserProfileLabel): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Determines whether an additional field is enabled for a particular account UI part (=the meta key).
|
|
31
|
-
*
|
|
32
|
-
* @param {FormFieldDefinition} field - The field definition object.
|
|
33
|
-
* @param {AccountViewName} viewName - The account view, to check the field's status.
|
|
34
|
-
* @return {boolean} Returns `true` if the field is enabled for the given account view, otherwise `false`.
|
|
35
|
-
*/
|
|
36
|
-
static isFieldEnableFor(field: FormFieldDefinition, viewName: AccountViewName): boolean;
|
|
37
|
-
static isFieldVisibleFor(field: FormFieldDefinition, viewName: AccountViewName): boolean;
|
|
38
|
-
}
|
|
39
|
-
export declare class UserSettings extends Entity<UserSettings> {
|
|
40
|
-
static SETTINGS_PROPERTIES: string[];
|
|
41
|
-
static fromObject: (source: any, opts?: any) => UserSettings;
|
|
42
|
-
locale: string;
|
|
43
|
-
latLongFormat: LatLongPattern;
|
|
44
|
-
content: any;
|
|
45
|
-
nonce: string;
|
|
46
|
-
constructor();
|
|
47
|
-
asObject(opts?: EntityAsObjectOptions): any;
|
|
48
|
-
fromObject(source: any, opts?: any): void;
|
|
49
|
-
/**
|
|
50
|
-
* Merges the given source object into the current instance.
|
|
51
|
-
*
|
|
52
|
-
* @param {S} source - The source object containing properties to merge.
|
|
53
|
-
* @param {Array<keyof S | string | number>} [includedProperties] - Optional array of property keys to be merged into the content map.
|
|
54
|
-
* @param {boolean} [resetContent] - Optional flag to reset existing content. False by default
|
|
55
|
-
* @return {boolean} - Returns true if any changes were made; otherwise, false.
|
|
56
|
-
*/
|
|
57
|
-
merge<S = LocalSettings>(source: S, includedProperties: (keyof S | string | number)[], resetContent?: boolean): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Transform user settings into local settings
|
|
60
|
-
* @param opts
|
|
61
|
-
*/
|
|
62
|
-
asLocalSettings(opts?: {
|
|
63
|
-
definitions?: FormFieldDefinition[];
|
|
64
|
-
}): Partial<LocalSettings>;
|
|
65
|
-
}
|
|
66
|
-
export declare function accountToString(data: Account): string;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
import { FormFieldDefinition } from '../../../shared/form/field.model';
|
|
3
|
-
import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
|
|
4
|
-
import { Department } from './department.model';
|
|
5
|
-
import { PropertyMap } from '../../../shared/types';
|
|
6
|
-
export declare class Software<T extends Software<any> = Software<any>> extends Entity<T, number> implements IEntity<T, number> {
|
|
7
|
-
static fromObject: (source: any, opts?: any) => Software;
|
|
8
|
-
label: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
comments: string;
|
|
12
|
-
creationDate: Date | Moment;
|
|
13
|
-
statusId: number;
|
|
14
|
-
properties: PropertyMap;
|
|
15
|
-
constructor(__typename?: string);
|
|
16
|
-
asObject(options?: EntityAsObjectOptions): any;
|
|
17
|
-
fromObject(source: any): void;
|
|
18
|
-
}
|
|
19
|
-
export declare class Configuration extends Software<Configuration> {
|
|
20
|
-
static fromObject: (source: any, opts?: any) => Configuration;
|
|
21
|
-
smallLogo: string;
|
|
22
|
-
largeLogo: string;
|
|
23
|
-
backgroundImages: string[];
|
|
24
|
-
partners: Department[];
|
|
25
|
-
constructor();
|
|
26
|
-
clone(): Configuration;
|
|
27
|
-
copy(target: Configuration): Configuration;
|
|
28
|
-
asObject(options?: EntityAsObjectOptions): any;
|
|
29
|
-
fromObject(source: any): void;
|
|
30
|
-
getPropertyAsBoolean(definition: FormFieldDefinition): boolean;
|
|
31
|
-
getPropertyAsInt(definition: FormFieldDefinition): number;
|
|
32
|
-
getPropertyAsNumber(definition: FormFieldDefinition): number;
|
|
33
|
-
getPropertyAsNumbers(definition: FormFieldDefinition): number[];
|
|
34
|
-
getPropertyAsStrings(definition: FormFieldDefinition): string[];
|
|
35
|
-
getProperty<T = string>(definition: FormFieldDefinition): T;
|
|
36
|
-
hasProperty<T = string>(definition: FormFieldDefinition): boolean;
|
|
37
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseReferential } from './referential.model';
|
|
2
|
-
export declare class Department extends BaseReferential<Department> {
|
|
3
|
-
static ENTITY_NAME: string;
|
|
4
|
-
static fromObject: (source: any, opts?: any) => Department;
|
|
5
|
-
logo: string;
|
|
6
|
-
siteUrl: string;
|
|
7
|
-
constructor();
|
|
8
|
-
fromObject(source: any): void;
|
|
9
|
-
}
|
|
10
|
-
export declare function departmentToString(obj: Department): string;
|
|
11
|
-
export declare function departmentsToString(data: Department[], separator?: string): string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Entity } from './entity.model';
|
|
2
|
-
import { Constructor } from '../../../shared/types';
|
|
3
|
-
export declare class EntityClasses {
|
|
4
|
-
static CLASSES_BY_NAME: Map<string, Constructor<any>>;
|
|
5
|
-
static register<T>(typename: string, entityClass: Constructor<T>): void;
|
|
6
|
-
static get<T extends Entity<T>>(entityName: string): Constructor<T>;
|
|
7
|
-
static fromObject<T extends Entity<T>>(value: any, opts?: {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
typename?: string;
|
|
10
|
-
entityName?: string;
|
|
11
|
-
}): T;
|
|
12
|
-
}
|
|
13
|
-
export type ClassDecorator<T> = <T extends Constructor<any>>(target: T) => void;
|
|
14
|
-
export declare function EntityClass(opts: {
|
|
15
|
-
typename: string;
|
|
16
|
-
fromObjectReuseStrategy?: 'default' | 'clone';
|
|
17
|
-
}): ClassDecorator<any>;
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
import { getPropertyByPath } from '../../../shared/functions';
|
|
3
|
-
import { FilterFn, KeyValueType, ObjectMap, ObjectMapEntry } from '../../../shared/types';
|
|
4
|
-
import { StoreObject } from '@apollo/client/core';
|
|
5
|
-
import { TreeItemEntityUtils } from './tree-item-entity.model';
|
|
6
|
-
import { SortDirection } from '@angular/material/sort';
|
|
7
|
-
import { AppPropertiesUtils } from '../../form/properties/properties.utils';
|
|
8
|
-
export declare interface Cloneable<T> {
|
|
9
|
-
clone(): T;
|
|
10
|
-
}
|
|
11
|
-
export declare function entityToString(obj: Entity<any> | any, properties?: string[]): string | undefined;
|
|
12
|
-
export interface EntityAsObjectOptions {
|
|
13
|
-
minify?: boolean;
|
|
14
|
-
keepTypename?: boolean;
|
|
15
|
-
keepLocalId?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IEntity<T, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends Cloneable<T> {
|
|
18
|
-
id: ID;
|
|
19
|
-
updateDate: Moment;
|
|
20
|
-
__typename: string;
|
|
21
|
-
equals(other: T): boolean;
|
|
22
|
-
clone(opts?: AO & FO): T;
|
|
23
|
-
copy(target: T, opts?: AO & FO): void;
|
|
24
|
-
asObject(opts?: AO): any;
|
|
25
|
-
fromObject(source: any, opts?: FO): void;
|
|
26
|
-
}
|
|
27
|
-
export type OmitFunctions<T> = {
|
|
28
|
-
[K in keyof T as T[K] extends Function ? never : K]: T[K];
|
|
29
|
-
};
|
|
30
|
-
export declare abstract class Entity<T extends Entity<T, ID, AO, FO>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> implements IEntity<T, ID, AO, FO> {
|
|
31
|
-
static TYPENAME: string;
|
|
32
|
-
id: ID;
|
|
33
|
-
updateDate: Moment;
|
|
34
|
-
__typename: string;
|
|
35
|
-
constructor(__typename?: string);
|
|
36
|
-
clone(opts?: AO & FO): T;
|
|
37
|
-
copy(target: T, opts?: AO & FO): void;
|
|
38
|
-
asObject(opts?: AO): StoreObject;
|
|
39
|
-
fromObject(source: any, opts?: FO): void;
|
|
40
|
-
equals(other: T): boolean;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated use standard instanceof instead
|
|
44
|
-
* @param obj
|
|
45
|
-
* @param constructor
|
|
46
|
-
*/
|
|
47
|
-
export declare function isInstanceOf<T>(obj: any, constructor: new (...args: any[]) => T): obj is T;
|
|
48
|
-
export declare abstract class EntityUtils {
|
|
49
|
-
static isEntity<T extends IEntity<any>>(obj: T | any): obj is T;
|
|
50
|
-
static isNotEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute?: keyof T): boolean;
|
|
51
|
-
static isEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute?: keyof T): boolean;
|
|
52
|
-
static equals<T extends IEntity<any> | any>(o1: T, o2: T, checkAttribute?: keyof T): boolean;
|
|
53
|
-
static getPropertyByPath: typeof getPropertyByPath;
|
|
54
|
-
static getArrayAsMap<T = any>(source?: ObjectMapEntry<T>[]): ObjectMap<T>;
|
|
55
|
-
static getMapAsArray<T = any>(source?: ObjectMap<T>): ObjectMapEntry<T>[];
|
|
56
|
-
static getPropertyArrayAsObject: typeof AppPropertiesUtils.arrayAsObject;
|
|
57
|
-
static copyIdAndUpdateDate<T extends Entity<any, any, any>>(source: T, target: T): void;
|
|
58
|
-
static fillLocalIds<T extends IEntity<T, any>>(items: T[], sequenceFactory: (firstEntity: T, incrementSize: number) => Promise<number>): Promise<void>;
|
|
59
|
-
static cleanIdAndUpdateDate<T extends IEntity<T, any>>(source: T, defaultValue?: any): void;
|
|
60
|
-
static cleanIdsAndUpdateDates<T extends IEntity<T, any>>(items: T[], defaultValue?: any): void;
|
|
61
|
-
static sort<T extends IEntity<T, any> | any>(data: T[], sortBy?: keyof T | string, sortDirection?: SortDirection): T[];
|
|
62
|
-
static sortComparator<T extends IEntity<T, any> | any>(sortBy?: keyof T | string, sortDirection?: SortDirection): (a: T, b: T) => number;
|
|
63
|
-
static compare<T extends IEntity<T, any>>(value1: T, value2: T, direction: 1 | -1, checkAttribute?: keyof T): number;
|
|
64
|
-
static compareValue<T>(value1: T, value2: T, direction: 1 | -1): number;
|
|
65
|
-
static filter<T extends IEntity<T, any> | any>(data: T[], searchAttribute: string, searchText: string): T[];
|
|
66
|
-
static searchTextFilter<T extends IEntity<T, any> | any>(searchAttribute: string | string[], searchText: string): FilterFn<T>;
|
|
67
|
-
/**
|
|
68
|
-
* Transform a batch entity tree into a array list. This method keep links parent/children.
|
|
69
|
-
*
|
|
70
|
-
* Method used to find batch without id (e.g. before local storage)
|
|
71
|
-
*
|
|
72
|
-
* @param source
|
|
73
|
-
*/
|
|
74
|
-
static treeToArray: typeof TreeItemEntityUtils.treeToArray;
|
|
75
|
-
static listOfTreeToArray: typeof TreeItemEntityUtils.listOfTreeToArray;
|
|
76
|
-
/**
|
|
77
|
-
* Fill parent attribute, of all children found in the tree
|
|
78
|
-
*
|
|
79
|
-
* @param source
|
|
80
|
-
*/
|
|
81
|
-
static treeFillParent: typeof TreeItemEntityUtils.treeFillParent;
|
|
82
|
-
static isLocal(entity: IEntity<any, any> | Entity<any, any>): boolean;
|
|
83
|
-
static isRemote(entity: IEntity<any, any> | Entity<any, any>): boolean;
|
|
84
|
-
static isLocalId(id: number): boolean;
|
|
85
|
-
static isRemoteId(id: number): boolean;
|
|
86
|
-
static getId<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(entity: T): ID;
|
|
87
|
-
static hasId<T extends IEntity<any, any> = IEntity<any, any>>(entity: T): boolean;
|
|
88
|
-
static hasNilId<T extends IEntity<any, any> = IEntity<any, any>>(entity: T): boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Splits an array of entities into a key-value map using an entity ID as the key.
|
|
91
|
-
*
|
|
92
|
-
* @param {Array<T>} entities - The array of entities to be split by their ID.
|
|
93
|
-
* @return {KeyValueType<T>} A key-value map with entity IDs as keys and entities as values.
|
|
94
|
-
*/
|
|
95
|
-
static splitById<T extends IEntity<T, ID>, ID = any>(entities: T[]): KeyValueType<T>;
|
|
96
|
-
/**
|
|
97
|
-
* Collects the IDs from an array of entities and returns them as an array.
|
|
98
|
-
*
|
|
99
|
-
* @param {T[]} entities - An array of entities from which to collect IDs.
|
|
100
|
-
* @return {ID[]} An array of IDs collected from the entities.
|
|
101
|
-
*/
|
|
102
|
-
static collectIds<T extends IEntity<T, ID>, ID = any>(entities: T[]): ID[];
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated Use collectIds() instead - will be remove in next major release
|
|
105
|
-
*/
|
|
106
|
-
static collectById<T extends IEntity<T, ID>, ID = any>(entities: T[]): ID[];
|
|
107
|
-
static arrayDistinctFilterFn<E extends IEntity<any, any>>(item: E, index: number, values: E[]): boolean;
|
|
108
|
-
static findById<E extends IEntity<any, ID> = IEntity<any, any>, ID = number>(items: E[], id: ID): E | undefined;
|
|
109
|
-
static fromObject<E extends IEntity<any, any>>(source: any, dataType: new () => E): E;
|
|
110
|
-
/**
|
|
111
|
-
* Recursively converts any object, entity, or array to a plain JavaScript object.
|
|
112
|
-
* This method handles entities by calling their asObject() method, processes arrays recursively,
|
|
113
|
-
* and provides protection against circular references.
|
|
114
|
-
*
|
|
115
|
-
* @param {any} source - The source object, entity, array, or primitive value to convert
|
|
116
|
-
* @param {any} [opts] - Optional configuration object passed to entity asObject() methods
|
|
117
|
-
* @param {WeakSet} [visited=new WeakSet()] - Internal parameter for circular reference detection
|
|
118
|
-
* @returns {any} A plain JavaScript object representation of the source
|
|
119
|
-
*
|
|
120
|
-
* @example
|
|
121
|
-
* // Convert a simple entity
|
|
122
|
-
* const plainObject = EntityUtils.asObject(myEntity);
|
|
123
|
-
*
|
|
124
|
-
* @example
|
|
125
|
-
* // Convert an array of entities
|
|
126
|
-
* const plainArray = EntityUtils.asObject([entity1, entity2]);
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* // Convert with options
|
|
130
|
-
* const result = EntityUtils.asObject(myEntity, { minify: true });
|
|
131
|
-
*/
|
|
132
|
-
static asObject(source: any, opts?: EntityAsObjectOptions, visited?: WeakSet<object>): any;
|
|
133
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
|
|
2
|
-
import { FilterFn } from '../../../shared/types';
|
|
3
|
-
export interface IEntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T extends IEntity<T, any>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends IEntity<F, ID, AO, FO> {
|
|
4
|
-
asPodObject(): any;
|
|
5
|
-
asFilterFn(): FilterFn<T>;
|
|
6
|
-
isEmpty(): boolean;
|
|
7
|
-
countNotEmptyCriteria(): number;
|
|
8
|
-
not?: F;
|
|
9
|
-
and?: F[];
|
|
10
|
-
or?: F[];
|
|
11
|
-
}
|
|
12
|
-
export declare abstract class EntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T extends IEntity<T, any>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends Entity<F, ID, AO, FO> implements IEntityFilter<F, T, ID, AO, FO> {
|
|
13
|
-
not?: F;
|
|
14
|
-
and?: F[];
|
|
15
|
-
or?: F[];
|
|
16
|
-
static composeAnd<F extends IEntityFilter<F, T, ID>, T extends IEntity<T, any>, ID = number>(...filters: F[]): FilterFn<T>;
|
|
17
|
-
static composeOr<F extends IEntityFilter<F, T, ID>, T extends IEntity<T, any>, ID = number>(...filters: F[]): FilterFn<T>;
|
|
18
|
-
static composeAndFns<T extends IEntity<T, any>>(...filterFns: FilterFn<T>[]): FilterFn<T>;
|
|
19
|
-
static composeOrFns<T extends IEntity<T, any>>(...filterFns: FilterFn<T>[]): FilterFn<T>;
|
|
20
|
-
constructor(__typename?: string);
|
|
21
|
-
create(): F;
|
|
22
|
-
/**
|
|
23
|
-
* Clean a filter, before sending to the pod (e.g convert dates, remove internal properties, etc.)
|
|
24
|
-
*/
|
|
25
|
-
asPodObject(): any;
|
|
26
|
-
isEmpty(): boolean;
|
|
27
|
-
countNotEmptyCriteria(): number;
|
|
28
|
-
asFilterFn(): FilterFn<T>;
|
|
29
|
-
asObject(opts?: AO): any;
|
|
30
|
-
fromObject(source: any, opts?: FO): void;
|
|
31
|
-
protected buildFilter(): FilterFn<T>[];
|
|
32
|
-
protected isCriteriaNotEmpty(key: string, value: any): boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare abstract class EntityFilterUtils {
|
|
35
|
-
static isEntityFilter<F extends EntityFilter<F, any>>(obj: Partial<F>): obj is F;
|
|
36
|
-
static fromObject<F>(source: any, filterType: new () => F): F;
|
|
37
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
export declare interface SynchronizationHistory {
|
|
3
|
-
name: string;
|
|
4
|
-
filter?: any;
|
|
5
|
-
execDate: string;
|
|
6
|
-
execDurationMs: number;
|
|
7
|
-
lastUpdateDate?: string;
|
|
8
|
-
children?: SynchronizationHistory[];
|
|
9
|
-
}
|
|
10
|
-
export interface HistoryPageReference {
|
|
11
|
-
title: string;
|
|
12
|
-
subtitle?: string;
|
|
13
|
-
path: string;
|
|
14
|
-
time?: Moment | string;
|
|
15
|
-
icon?: string;
|
|
16
|
-
matIcon?: string;
|
|
17
|
-
children?: HistoryPageReference[];
|
|
18
|
-
offline?: boolean;
|
|
19
|
-
onlinePeer?: string;
|
|
20
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Moment } from 'moment/moment';
|
|
2
|
-
import { Cloneable, Entity, EntityAsObjectOptions } from './entity.model';
|
|
3
|
-
export declare class NodeFeature extends Entity<NodeFeature> implements Cloneable<NodeFeature> {
|
|
4
|
-
static fromObject: (source: any, opts?: any) => NodeFeature;
|
|
5
|
-
label: string;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
logo: string;
|
|
9
|
-
creationDate: Moment;
|
|
10
|
-
statusId: number;
|
|
11
|
-
validityStatusId: number;
|
|
12
|
-
asObject(options?: EntityAsObjectOptions): any;
|
|
13
|
-
fromObject(source: any): void;
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Cloneable, Entity, EntityAsObjectOptions } from './entity.model';
|
|
2
|
-
import { NodeFeature } from './node-feature.model';
|
|
3
|
-
export declare class Peer extends Entity<Peer> implements Cloneable<Peer> {
|
|
4
|
-
static fromObject: (source: any, opts?: any) => Peer;
|
|
5
|
-
static parseUrl(peerUrl: string | URL): Peer;
|
|
6
|
-
static path(peer: Peer, ...paths: string[]): string;
|
|
7
|
-
static equals(p1: Peer, p2: Peer): boolean;
|
|
8
|
-
static countAllFeatures(peers: Peer[]): number;
|
|
9
|
-
dns: string;
|
|
10
|
-
ipv4: string;
|
|
11
|
-
ipv6: string;
|
|
12
|
-
port: number;
|
|
13
|
-
useSsl: boolean;
|
|
14
|
-
pubkey: string;
|
|
15
|
-
path?: string;
|
|
16
|
-
favicon: string;
|
|
17
|
-
status: 'UP' | 'DOWN';
|
|
18
|
-
softwareName: string;
|
|
19
|
-
softwareVersion: string;
|
|
20
|
-
label: string;
|
|
21
|
-
name: string;
|
|
22
|
-
registrationUri?: string;
|
|
23
|
-
registrationManager?: string;
|
|
24
|
-
features?: NodeFeature[];
|
|
25
|
-
constructor();
|
|
26
|
-
asObject(options?: EntityAsObjectOptions): any;
|
|
27
|
-
fromObject(source: any): void;
|
|
28
|
-
equals(other: Peer): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Return the peer URL (without trailing slash)
|
|
31
|
-
*/
|
|
32
|
-
get url(): string;
|
|
33
|
-
get hostAndPort(): string;
|
|
34
|
-
get reachable(): boolean;
|
|
35
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
import { ReferentialAsObjectOptions } from './referential.model';
|
|
3
|
-
import { Entity } from './entity.model';
|
|
4
|
-
import { Department } from './department.model';
|
|
5
|
-
export type UserProfileLabel = 'ADMIN' | 'USER' | 'SUPERVISOR' | 'GUEST';
|
|
6
|
-
export declare const PRIORITIZED_AUTHORITIES: Readonly<UserProfileLabel[]>;
|
|
7
|
-
export declare class Person<T extends Person<any> = Person<any>> extends Entity<T, number, ReferentialAsObjectOptions> {
|
|
8
|
-
static fromObject: (source: any, opts?: any) => Person;
|
|
9
|
-
firstName: string;
|
|
10
|
-
lastName: string;
|
|
11
|
-
email: string;
|
|
12
|
-
pubkey: string;
|
|
13
|
-
avatar: string;
|
|
14
|
-
creationDate: Date | Moment;
|
|
15
|
-
statusId: number;
|
|
16
|
-
department: Department;
|
|
17
|
-
username: string;
|
|
18
|
-
usernameExtranet: string;
|
|
19
|
-
profiles: string[];
|
|
20
|
-
mainProfile: string;
|
|
21
|
-
programs: any;
|
|
22
|
-
constructor(__typename?: string);
|
|
23
|
-
asObject(opts?: ReferentialAsObjectOptions): any;
|
|
24
|
-
fromObject(source: any): void;
|
|
25
|
-
equals(other: T): boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare class PersonUtils {
|
|
28
|
-
static DEFAULT_AVATAR_IMAGE: string;
|
|
29
|
-
static getMainProfile(profiles?: string[]): UserProfileLabel;
|
|
30
|
-
static getMainProfileIndex(profiles?: string[]): number;
|
|
31
|
-
static hasUpperOrEqualsProfile(actualProfiles: string[], expectedProfile: UserProfileLabel): boolean;
|
|
32
|
-
static personToString(obj: Person, opts?: {
|
|
33
|
-
withDepartment?: boolean;
|
|
34
|
-
}): string;
|
|
35
|
-
static personsToString(data: Person[], separator?: string, opts?: {
|
|
36
|
-
withDepartment?: boolean;
|
|
37
|
-
}): string;
|
|
38
|
-
static roleToProfile(role: string, defaultProfile?: UserProfileLabel): UserProfileLabel;
|
|
39
|
-
}
|