@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,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entity-metadata.component";
|
|
3
|
-
import * as i2 from "../../../shared/shared.module";
|
|
4
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
-
import * as i4 from "ngx-jdenticon";
|
|
6
|
-
import * as i5 from "../../services/pipes/pipes.module";
|
|
7
|
-
export declare class AppEntityFormModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppEntityFormModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppEntityFormModule, [typeof i1.EntityMetadataComponent], [typeof i2.SharedModule, typeof i3.TranslateModule, typeof i4.NgxJdenticonModule, typeof i5.CorePipesModule], [typeof i3.TranslateModule, typeof i1.EntityMetadataComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AppEntityFormModule>;
|
|
11
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
|
|
4
|
-
import { AlertController, NavController } from '@ionic/angular';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { HammerSwipeEvent } from '../../../shared/gesture/hammer.utils';
|
|
7
|
-
import { AppEditor, IAppEditor } from './editor.class';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export interface IAppTabEditor<T = any> extends IAppEditor<T> {
|
|
10
|
-
selectedTabIndex: number;
|
|
11
|
-
setSelectedTabIndex(value: number, opts?: {
|
|
12
|
-
emitEvent?: boolean;
|
|
13
|
-
realignInkBar?: boolean;
|
|
14
|
-
}): void;
|
|
15
|
-
unload(opts?: {
|
|
16
|
-
emitEvent?: boolean;
|
|
17
|
-
}): Promise<void>;
|
|
18
|
-
realignInkBar(): void;
|
|
19
|
-
}
|
|
20
|
-
export declare class AppTabEditorOptions {
|
|
21
|
-
/**
|
|
22
|
-
* Number of tab. 1 by default
|
|
23
|
-
*/
|
|
24
|
-
tabCount?: number;
|
|
25
|
-
/**
|
|
26
|
-
* '200ms' by default
|
|
27
|
-
*/
|
|
28
|
-
tabGroupAnimationDuration?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Should enable swipe between tab, on touch screen
|
|
31
|
-
*/
|
|
32
|
-
enableSwipe?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare abstract class AppTabEditor<T = any, ID = number, O = any> extends AppEditor<T, ID, O> implements IAppTabEditor<T>, OnInit, OnDestroy {
|
|
35
|
-
protected _selectedTabIndex: number;
|
|
36
|
-
protected tabCount: number;
|
|
37
|
-
protected enableSwipe: boolean;
|
|
38
|
-
protected tabGroupAnimationDuration: string;
|
|
39
|
-
queryTabIndexParamName: string;
|
|
40
|
-
set selectedTabIndex(value: number);
|
|
41
|
-
get selectedTabIndex(): number;
|
|
42
|
-
readonly selectedTabIndexChange: EventEmitter<number>;
|
|
43
|
-
tabGroup: MatTabGroup;
|
|
44
|
-
protected constructor(route: ActivatedRoute, // Modal editor give 'null'
|
|
45
|
-
router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, options?: AppTabEditorOptions);
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
setSelectedTabIndex(value: number, opts?: {
|
|
49
|
-
emitEvent?: boolean;
|
|
50
|
-
realignInkBar?: boolean;
|
|
51
|
-
}): void;
|
|
52
|
-
realignInkBar(): void;
|
|
53
|
-
onTabChange(event: MatTabChangeEvent, queryTabIndexParamName?: string): boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Action triggered when user swipes
|
|
56
|
-
*/
|
|
57
|
-
onSwipeTab(event: HammerSwipeEvent): boolean;
|
|
58
|
-
onSubTabChange(event: MatTabChangeEvent): void;
|
|
59
|
-
unload(opts?: {
|
|
60
|
-
emitEvent?: boolean;
|
|
61
|
-
}): Promise<void>;
|
|
62
|
-
protected abstract getFirstInvalidTabIndex(): number;
|
|
63
|
-
protected updateRoute(): Promise<boolean>;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppTabEditor<any, any, any>, [{ optional: true; }, null, null, null, null, { optional: true; }]>;
|
|
65
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AppTabEditor<any, any, any>, never, never, { "queryTabIndexParamName": { "alias": "queryTabIndexParamName"; "required": false; }; "selectedTabIndex": { "alias": "selectedTabIndex"; "required": false; }; }, { "selectedTabIndexChange": "selectedTabIndexChange"; }, never, never, false, never>;
|
|
66
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
3
|
-
import { IAppForm, IAppFormGetter } from './form.utils';
|
|
4
|
-
import { WaitForOptions } from '../../shared/observables';
|
|
5
|
-
import { AppTable } from '../table/table.class';
|
|
6
|
-
import { AppForm } from './form.class';
|
|
7
|
-
import { AppEditor } from './entity/editor.class';
|
|
8
|
-
import { AbstractControl } from '@angular/forms';
|
|
9
|
-
import { AppAsyncTable } from '../table/async-table.class';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export interface IAppFormContainer<T = any> extends IAppForm<T> {
|
|
12
|
-
children: IAppForm[];
|
|
13
|
-
tables: AppTable<any>[];
|
|
14
|
-
asyncTables: AppAsyncTable<any>[];
|
|
15
|
-
forms: AppForm<any>[];
|
|
16
|
-
editors: AppEditor<any>[];
|
|
17
|
-
addForm(path: string, form?: IAppForm | IAppFormGetter): void;
|
|
18
|
-
addForms(forms: (IAppForm | IAppFormGetter)[]): void;
|
|
19
|
-
removeForm(form: string | IAppForm | IAppFormGetter): IAppForm | IAppFormGetter;
|
|
20
|
-
}
|
|
21
|
-
export declare abstract class AppFormContainer<T = any> implements IAppFormContainer<T>, OnInit, OnDestroy {
|
|
22
|
-
private _children;
|
|
23
|
-
private _childrenPath;
|
|
24
|
-
private _subscription;
|
|
25
|
-
protected _logPrefix: string;
|
|
26
|
-
protected _enabled: boolean;
|
|
27
|
-
protected readonly destroySubject: Subject<void>;
|
|
28
|
-
readonly enabledSubject: BehaviorSubject<boolean>;
|
|
29
|
-
readonly readySubject: BehaviorSubject<boolean>;
|
|
30
|
-
readonly loadingSubject: BehaviorSubject<boolean>;
|
|
31
|
-
readonly dirtySubject: BehaviorSubject<boolean>;
|
|
32
|
-
readonly touchedSubject: BehaviorSubject<boolean>;
|
|
33
|
-
readonly errorSubject: BehaviorSubject<string>;
|
|
34
|
-
get children(): IAppForm[];
|
|
35
|
-
get tables(): AppTable<any>[];
|
|
36
|
-
get asyncTables(): AppAsyncTable<any>[];
|
|
37
|
-
get forms(): AppForm<any>[];
|
|
38
|
-
get editors(): AppEditor<any>[];
|
|
39
|
-
get error(): string;
|
|
40
|
-
set error(error: string);
|
|
41
|
-
get loading(): boolean;
|
|
42
|
-
get loaded(): boolean;
|
|
43
|
-
get dirty(): boolean;
|
|
44
|
-
get valid(): boolean;
|
|
45
|
-
get invalid(): boolean;
|
|
46
|
-
get pending(): boolean;
|
|
47
|
-
get empty(): boolean;
|
|
48
|
-
get touched(): boolean;
|
|
49
|
-
get untouched(): boolean;
|
|
50
|
-
get enabled(): boolean;
|
|
51
|
-
get disabled(): boolean;
|
|
52
|
-
get destroyed(): boolean;
|
|
53
|
-
debug: boolean;
|
|
54
|
-
protected constructor();
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
ngOnDestroy(): void;
|
|
57
|
-
addForm(path: string, form?: IAppForm | IAppFormGetter): void;
|
|
58
|
-
addForms(forms: (IAppForm | IAppFormGetter)[]): void;
|
|
59
|
-
removeForm(form: string | IAppForm | IAppFormGetter): IAppForm | IAppFormGetter;
|
|
60
|
-
disable(opts?: {
|
|
61
|
-
onlySelf?: boolean;
|
|
62
|
-
emitEvent?: boolean;
|
|
63
|
-
}): void;
|
|
64
|
-
enable(opts?: {
|
|
65
|
-
onlySelf?: boolean;
|
|
66
|
-
emitEvent?: boolean;
|
|
67
|
-
}): void;
|
|
68
|
-
markAsPristine(opts?: {
|
|
69
|
-
onlySelf?: boolean;
|
|
70
|
-
emitEvent?: boolean;
|
|
71
|
-
}): void;
|
|
72
|
-
markAsUntouched(opts?: {
|
|
73
|
-
onlySelf?: boolean;
|
|
74
|
-
emitEvent?: boolean;
|
|
75
|
-
}): void;
|
|
76
|
-
/**
|
|
77
|
-
* @deprecated prefer to use markAllAsTouched()
|
|
78
|
-
* @param opts
|
|
79
|
-
*/
|
|
80
|
-
markAsTouched(opts?: {
|
|
81
|
-
onlySelf?: boolean;
|
|
82
|
-
emitEvent?: boolean;
|
|
83
|
-
}): void;
|
|
84
|
-
markAllAsTouched(opts?: {
|
|
85
|
-
emitEvent?: boolean;
|
|
86
|
-
}): void;
|
|
87
|
-
markAsDirty(opts?: {
|
|
88
|
-
onlySelf?: boolean;
|
|
89
|
-
emitEvent?: boolean;
|
|
90
|
-
}): void;
|
|
91
|
-
markAsLoading(opts?: {
|
|
92
|
-
emitEvent?: boolean;
|
|
93
|
-
}): void;
|
|
94
|
-
markAsLoaded(opts?: {
|
|
95
|
-
onlySelf?: boolean;
|
|
96
|
-
emitEvent?: boolean;
|
|
97
|
-
}): void;
|
|
98
|
-
markAsReady(opts?: {
|
|
99
|
-
onlySelf?: boolean;
|
|
100
|
-
emitEvent?: boolean;
|
|
101
|
-
}): void;
|
|
102
|
-
markAsNotReady(opts?: {
|
|
103
|
-
onlySelf?: boolean;
|
|
104
|
-
emitEvent?: boolean;
|
|
105
|
-
}): void;
|
|
106
|
-
/**
|
|
107
|
-
* Wait form is ready
|
|
108
|
-
*
|
|
109
|
-
* @param opts
|
|
110
|
-
*/
|
|
111
|
-
ready(opts?: WaitForOptions): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Wait form is not busy (=loaded)
|
|
114
|
-
*
|
|
115
|
-
* @param opts
|
|
116
|
-
*/
|
|
117
|
-
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
118
|
-
logFormErrors(prefix?: string): void;
|
|
119
|
-
protected registerSubscription(sub: Subscription): void;
|
|
120
|
-
protected unregisterSubscription(sub: Subscription): void;
|
|
121
|
-
protected setError(value: string, opts?: {
|
|
122
|
-
emitEvent?: boolean;
|
|
123
|
-
}): void;
|
|
124
|
-
protected resetError(opts?: {
|
|
125
|
-
emitEvent?: boolean;
|
|
126
|
-
}): void;
|
|
127
|
-
protected markForCheck(): void;
|
|
128
|
-
protected logChildrenErrors(c: IAppForm | AbstractControl, prefix?: string, path?: string): void;
|
|
129
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormContainer<any>, never>;
|
|
130
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AppFormContainer<any>, never, never, { "debug": { "alias": "debug"; "required": false; }; }, {}, never, never, false, never>;
|
|
131
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
4
|
-
import { IAppForm } from './form.utils';
|
|
5
|
-
import { LocalSettingsService } from '../services/local-settings.service';
|
|
6
|
-
import { WaitForOptions } from '../../shared/observables';
|
|
7
|
-
import { FormErrorTranslateOptions, FormErrorTranslator, IFormPathTranslator } from '../../shared/validator/form-error-adapter.class';
|
|
8
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
9
|
-
import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete.config';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class AppForm<T> implements IAppForm<T>, OnInit, OnDestroy, IFormPathTranslator {
|
|
12
|
-
private _subscription;
|
|
13
|
-
protected _form: UntypedFormGroup;
|
|
14
|
-
protected _enabled: boolean;
|
|
15
|
-
protected errorTranslator: FormErrorTranslator;
|
|
16
|
-
protected i18nFieldPrefix: string;
|
|
17
|
-
protected readonly translate: TranslateService;
|
|
18
|
-
protected readonly settings: LocalSettingsService;
|
|
19
|
-
protected readonly destroySubject: Subject<void>;
|
|
20
|
-
readonly readySubject: BehaviorSubject<boolean>;
|
|
21
|
-
readonly loadingSubject: BehaviorSubject<boolean>;
|
|
22
|
-
readonly errorSubject: BehaviorSubject<string>;
|
|
23
|
-
readonly autocompleteHelper: MatAutocompleteConfigHolder;
|
|
24
|
-
readonly autocompleteFields: {
|
|
25
|
-
[key: string]: MatAutocompleteFieldConfig;
|
|
26
|
-
};
|
|
27
|
-
get error(): string;
|
|
28
|
-
set error(error: string);
|
|
29
|
-
get loading(): boolean;
|
|
30
|
-
get loaded(): boolean;
|
|
31
|
-
get value(): any;
|
|
32
|
-
set value(data: any);
|
|
33
|
-
get dirty(): boolean;
|
|
34
|
-
get invalid(): boolean;
|
|
35
|
-
get pending(): boolean;
|
|
36
|
-
get valid(): boolean;
|
|
37
|
-
get empty(): boolean;
|
|
38
|
-
get touched(): boolean;
|
|
39
|
-
get untouched(): boolean;
|
|
40
|
-
get enabled(): boolean;
|
|
41
|
-
get disabled(): boolean;
|
|
42
|
-
disable(opts?: {
|
|
43
|
-
onlySelf?: boolean;
|
|
44
|
-
emitEvent?: boolean;
|
|
45
|
-
}): void;
|
|
46
|
-
enable(opts?: {
|
|
47
|
-
onlySelf?: boolean;
|
|
48
|
-
emitEvent?: boolean;
|
|
49
|
-
}): void;
|
|
50
|
-
get destroyed(): boolean;
|
|
51
|
-
debug: boolean;
|
|
52
|
-
tabindex: number;
|
|
53
|
-
errorTranslateOptions: FormErrorTranslateOptions;
|
|
54
|
-
set form(value: UntypedFormGroup);
|
|
55
|
-
get form(): UntypedFormGroup;
|
|
56
|
-
onCancel: EventEmitter<any>;
|
|
57
|
-
onSubmit: EventEmitter<any>;
|
|
58
|
-
constructor(injector: Injector, form?: UntypedFormGroup);
|
|
59
|
-
ngOnInit(): void;
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
|
-
cancel(): Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @param event
|
|
65
|
-
* @param opts allow to skip validation check, using {checkValid: false}
|
|
66
|
-
*/
|
|
67
|
-
doSubmit(event: any, opts?: {
|
|
68
|
-
checkValid?: boolean;
|
|
69
|
-
}): Promise<void>;
|
|
70
|
-
setForm(form: UntypedFormGroup): void;
|
|
71
|
-
getValue(): Promise<T> | T;
|
|
72
|
-
setValue(data: T, opts?: {
|
|
73
|
-
emitEvent?: boolean;
|
|
74
|
-
onlySelf?: boolean;
|
|
75
|
-
}): Promise<void> | void;
|
|
76
|
-
reset(data?: T, opts?: {
|
|
77
|
-
emitEvent?: boolean;
|
|
78
|
-
onlySelf?: boolean;
|
|
79
|
-
}): void;
|
|
80
|
-
markAsPristine(opts?: {
|
|
81
|
-
onlySelf?: boolean;
|
|
82
|
-
emitEvent?: boolean;
|
|
83
|
-
}): void;
|
|
84
|
-
markAsUntouched(opts?: {
|
|
85
|
-
onlySelf?: boolean;
|
|
86
|
-
emitEvent?: boolean;
|
|
87
|
-
}): void;
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated prefer to use markAllAsTouched()
|
|
90
|
-
* @param opts
|
|
91
|
-
*/
|
|
92
|
-
markAsTouched(opts?: {
|
|
93
|
-
onlySelf?: boolean;
|
|
94
|
-
emitEvent?: boolean;
|
|
95
|
-
}): void;
|
|
96
|
-
markAllAsTouched(opts?: {
|
|
97
|
-
emitEvent?: boolean;
|
|
98
|
-
}): void;
|
|
99
|
-
markAsDirty(opts?: {
|
|
100
|
-
onlySelf?: boolean;
|
|
101
|
-
emitEvent?: boolean;
|
|
102
|
-
}): void;
|
|
103
|
-
markAsLoading(opts?: {
|
|
104
|
-
emitEvent?: boolean;
|
|
105
|
-
}): void;
|
|
106
|
-
markAsLoaded(opts?: {
|
|
107
|
-
emitEvent?: boolean;
|
|
108
|
-
}): void;
|
|
109
|
-
markAsReady(opts?: {
|
|
110
|
-
onlySelf?: boolean;
|
|
111
|
-
emitEvent?: boolean;
|
|
112
|
-
}): void;
|
|
113
|
-
markAsNotReady(opts?: {
|
|
114
|
-
onlySelf?: boolean;
|
|
115
|
-
emitEvent?: boolean;
|
|
116
|
-
}): void;
|
|
117
|
-
/**
|
|
118
|
-
* Wait form is ready
|
|
119
|
-
*
|
|
120
|
-
* @param opts
|
|
121
|
-
*/
|
|
122
|
-
ready(opts?: WaitForOptions): Promise<void>;
|
|
123
|
-
/**
|
|
124
|
-
* Wait form is not busy (=loaded)
|
|
125
|
-
*
|
|
126
|
-
* @param opts
|
|
127
|
-
*/
|
|
128
|
-
waitIdle(opts?: WaitForOptions): Promise<void>;
|
|
129
|
-
updateValueAndValidity(opts?: {
|
|
130
|
-
onlySelf?: boolean;
|
|
131
|
-
emitEvent?: boolean;
|
|
132
|
-
}): void;
|
|
133
|
-
translateFormPath(path: string): any;
|
|
134
|
-
protected getFormError(form?: UntypedFormGroup, opts?: FormErrorTranslateOptions): string;
|
|
135
|
-
protected getI18nFieldName(path: string): string;
|
|
136
|
-
protected registerSubscription(sub: Subscription): void;
|
|
137
|
-
protected unregisterSubscription(sub: Subscription): void;
|
|
138
|
-
protected registerAutocompleteField<E = any, EF = any>(fieldName: string, opts?: MatAutocompleteFieldAddOptions<E, EF>): MatAutocompleteFieldConfig<E, EF>;
|
|
139
|
-
protected setError(value: string, opts?: {
|
|
140
|
-
emitEvent?: boolean;
|
|
141
|
-
}): void;
|
|
142
|
-
protected markForCheck(): void;
|
|
143
|
-
private setLoading;
|
|
144
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppForm<any>, never>;
|
|
145
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AppForm<any>, never, never, { "debug": { "alias": "debug"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "errorTranslateOptions": { "alias": "errorTranslateOptions"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false, never>;
|
|
146
|
-
static ngAcceptInputType_debug: unknown;
|
|
147
|
-
static ngAcceptInputType_tabindex: unknown;
|
|
148
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../shared/shared.module";
|
|
3
|
-
import * as i2 from "@ngx-translate/core";
|
|
4
|
-
import * as i3 from "./entity/entity.module";
|
|
5
|
-
import * as i4 from "./list/list.module";
|
|
6
|
-
import * as i5 from "./properties/properties.module";
|
|
7
|
-
import * as i6 from "./text/text-form.module";
|
|
8
|
-
import * as i7 from "./text-popover/text-popover.module";
|
|
9
|
-
import * as i8 from "./buttons/form-buttons-bar.module";
|
|
10
|
-
import * as i9 from "./username/username.module";
|
|
11
|
-
export declare class AppFormModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppFormModule, never, [typeof i1.SharedModule, typeof i2.TranslateModule, typeof i3.AppEntityFormModule, typeof i4.AppListFormModule, typeof i5.AppPropertiesFormModule, typeof i6.AppTextFormModule, typeof i7.AppTextPopoverModule, typeof i8.AppFormButtonsBarModule, typeof i9.AppUsernameFormModule], [typeof i2.TranslateModule, typeof i3.AppEntityFormModule, typeof i4.AppListFormModule, typeof i5.AppPropertiesFormModule, typeof i6.AppTextFormModule, typeof i7.AppTextPopoverModule, typeof i8.AppFormButtonsBarModule]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AppFormModule>;
|
|
15
|
-
}
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { filterNumberInput, selectInputContent, selectInputContentFromEvent } from '../../shared/inputs';
|
|
3
|
-
import { WaitForOptions } from '../../shared/observables';
|
|
4
|
-
import { addValueInArray, clearValueInArray, copyEntity2Form, disableAndClearControl, disableAndClearControls, disableControl, disableControls, enableControl, enableControls, filterFormErrors, filterFormErrorsByPath, filterFormErrorsByPrefix, getControlFromPath, getFormErrors, getFormValueFromEntity, logFormErrors, markAllAsTouched, markAsUntouched, removeValueInArray, resizeArray, setControlEnabled, setControlsEnabled, setControlRequired, setFormErrors, updateValueAndValidity, waitIdle, waitWhilePending, adaptValueToControl } from '../../shared/forms';
|
|
5
|
-
export type IAppFormGetter = () => IAppForm;
|
|
6
|
-
export declare interface OnReady {
|
|
7
|
-
ngOnReady(): any;
|
|
8
|
-
}
|
|
9
|
-
export interface IAppForm<T = any> {
|
|
10
|
-
invalid: boolean;
|
|
11
|
-
valid: boolean;
|
|
12
|
-
dirty: boolean;
|
|
13
|
-
pending: boolean;
|
|
14
|
-
error: string;
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
touched: boolean;
|
|
18
|
-
untouched: boolean;
|
|
19
|
-
disable(opts?: {
|
|
20
|
-
onlySelf?: boolean;
|
|
21
|
-
emitEvent?: boolean;
|
|
22
|
-
}): void;
|
|
23
|
-
enable(opts?: {
|
|
24
|
-
onlySelf?: boolean;
|
|
25
|
-
emitEvent?: boolean;
|
|
26
|
-
}): void;
|
|
27
|
-
empty?: boolean;
|
|
28
|
-
loading?: boolean;
|
|
29
|
-
loaded?: boolean;
|
|
30
|
-
destroyed?: boolean;
|
|
31
|
-
ready(opts?: WaitForOptions): Promise<void>;
|
|
32
|
-
waitIdle(opts?: WaitForOptions): Promise<any>;
|
|
33
|
-
setValue?: (data: T, opts?: {
|
|
34
|
-
onlySelf?: boolean;
|
|
35
|
-
emitEvent?: boolean;
|
|
36
|
-
}) => Promise<void> | void;
|
|
37
|
-
patchValue?: (data: T, opts?: {
|
|
38
|
-
onlySelf?: boolean;
|
|
39
|
-
emitEvent?: boolean;
|
|
40
|
-
}) => Promise<void> | void;
|
|
41
|
-
reset?: (data?: T, opts?: {
|
|
42
|
-
onlySelf?: boolean;
|
|
43
|
-
emitEvent?: boolean;
|
|
44
|
-
}) => void;
|
|
45
|
-
getValue?: () => Promise<T> | T;
|
|
46
|
-
markAsPristine(opts?: {
|
|
47
|
-
onlySelf?: boolean;
|
|
48
|
-
emitEvent?: boolean;
|
|
49
|
-
}): void;
|
|
50
|
-
markAsUntouched(opts?: {
|
|
51
|
-
onlySelf?: boolean;
|
|
52
|
-
emitEvent?: boolean;
|
|
53
|
-
}): void;
|
|
54
|
-
markAsTouched(opts?: {
|
|
55
|
-
onlySelf?: boolean;
|
|
56
|
-
emitEvent?: boolean;
|
|
57
|
-
}): void;
|
|
58
|
-
markAllAsTouched(opts?: {
|
|
59
|
-
emitEvent?: boolean;
|
|
60
|
-
}): void;
|
|
61
|
-
markAsDirty(opts?: {
|
|
62
|
-
onlySelf?: boolean;
|
|
63
|
-
emitEvent?: boolean;
|
|
64
|
-
}): void;
|
|
65
|
-
markAsLoading(opts?: {
|
|
66
|
-
onlySelf?: boolean;
|
|
67
|
-
emitEvent?: boolean;
|
|
68
|
-
}): void;
|
|
69
|
-
markAsLoaded(opts?: {
|
|
70
|
-
onlySelf?: boolean;
|
|
71
|
-
emitEvent?: boolean;
|
|
72
|
-
}): void;
|
|
73
|
-
markAsReady(opts?: {
|
|
74
|
-
onlySelf?: boolean;
|
|
75
|
-
emitEvent?: boolean;
|
|
76
|
-
}): void;
|
|
77
|
-
markAsNotReady(opts?: {
|
|
78
|
-
onlySelf?: boolean;
|
|
79
|
-
emitEvent?: boolean;
|
|
80
|
-
}): void;
|
|
81
|
-
}
|
|
82
|
-
export interface CanSave {
|
|
83
|
-
dirty: boolean;
|
|
84
|
-
valid: boolean;
|
|
85
|
-
save(): Promise<boolean>;
|
|
86
|
-
}
|
|
87
|
-
export interface CanLeave extends CanSave {
|
|
88
|
-
cancel(event?: Event): Promise<void>;
|
|
89
|
-
deactivate?: (() => Promise<void>) | ((navigateForward: boolean) => Promise<void>);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* A form that do nothing
|
|
93
|
-
*/
|
|
94
|
-
export declare class AppNullForm implements IAppForm {
|
|
95
|
-
readonly invalid = false;
|
|
96
|
-
readonly valid = false;
|
|
97
|
-
readonly dirty = false;
|
|
98
|
-
readonly empty = true;
|
|
99
|
-
readonly pending = false;
|
|
100
|
-
readonly error: any;
|
|
101
|
-
readonly enabled = false;
|
|
102
|
-
readonly loading = false;
|
|
103
|
-
readonly touched = false;
|
|
104
|
-
get disabled(): boolean;
|
|
105
|
-
get untouched(): boolean;
|
|
106
|
-
disable(opts?: {
|
|
107
|
-
onlySelf?: boolean;
|
|
108
|
-
emitEvent?: boolean;
|
|
109
|
-
}): void;
|
|
110
|
-
enable(opts?: {
|
|
111
|
-
onlySelf?: boolean;
|
|
112
|
-
emitEvent?: boolean;
|
|
113
|
-
}): void;
|
|
114
|
-
markAsPristine(opts?: {
|
|
115
|
-
onlySelf?: boolean;
|
|
116
|
-
emitEvent?: boolean;
|
|
117
|
-
}): void;
|
|
118
|
-
markAsUntouched(opts?: {
|
|
119
|
-
onlySelf?: boolean;
|
|
120
|
-
emitEvent?: boolean;
|
|
121
|
-
}): void;
|
|
122
|
-
markAsTouched(opts?: {
|
|
123
|
-
onlySelf?: boolean;
|
|
124
|
-
emitEvent?: boolean;
|
|
125
|
-
}): void;
|
|
126
|
-
markAllAsTouched(opts?: {
|
|
127
|
-
emitEvent?: boolean;
|
|
128
|
-
}): void;
|
|
129
|
-
markAsDirty(opts?: {
|
|
130
|
-
onlySelf?: boolean;
|
|
131
|
-
emitEvent?: boolean;
|
|
132
|
-
}): void;
|
|
133
|
-
markAsLoading(opts?: {
|
|
134
|
-
onlySelf?: boolean;
|
|
135
|
-
emitEvent?: boolean;
|
|
136
|
-
}): void;
|
|
137
|
-
markAsLoaded(opts?: {
|
|
138
|
-
onlySelf?: boolean;
|
|
139
|
-
emitEvent?: boolean;
|
|
140
|
-
}): void;
|
|
141
|
-
markAsReady(opts?: {
|
|
142
|
-
onlySelf?: boolean;
|
|
143
|
-
emitEvent?: boolean;
|
|
144
|
-
}): void;
|
|
145
|
-
markAsNotReady(opts?: {
|
|
146
|
-
onlySelf?: boolean;
|
|
147
|
-
emitEvent?: boolean;
|
|
148
|
-
}): void;
|
|
149
|
-
waitIdle(opts?: WaitForOptions): Promise<any>;
|
|
150
|
-
ready(): Promise<any>;
|
|
151
|
-
}
|
|
152
|
-
export declare class AppFormProvider<F extends IAppForm = IAppForm> implements IAppForm {
|
|
153
|
-
private getterFn;
|
|
154
|
-
static NULL_FORM: AppNullForm;
|
|
155
|
-
constructor(getterFn: () => F);
|
|
156
|
-
private get delegate();
|
|
157
|
-
waitDelegate(opts?: WaitForOptions): Promise<F>;
|
|
158
|
-
get enabled(): boolean;
|
|
159
|
-
get disabled(): boolean;
|
|
160
|
-
get error(): string;
|
|
161
|
-
get invalid(): boolean;
|
|
162
|
-
get valid(): boolean;
|
|
163
|
-
get dirty(): boolean;
|
|
164
|
-
get empty(): boolean;
|
|
165
|
-
get pending(): boolean;
|
|
166
|
-
get loading(): boolean;
|
|
167
|
-
get touched(): boolean;
|
|
168
|
-
get untouched(): boolean;
|
|
169
|
-
ready(): Promise<any>;
|
|
170
|
-
waitIdle(opts?: WaitForOptions): Promise<any>;
|
|
171
|
-
disable(opts?: {
|
|
172
|
-
onlySelf?: boolean;
|
|
173
|
-
emitEvent?: boolean;
|
|
174
|
-
}): void;
|
|
175
|
-
enable(opts?: {
|
|
176
|
-
onlySelf?: boolean;
|
|
177
|
-
emitEvent?: boolean;
|
|
178
|
-
}): void;
|
|
179
|
-
markAsPristine(opts?: {
|
|
180
|
-
onlySelf?: boolean;
|
|
181
|
-
emitEvent?: boolean;
|
|
182
|
-
}): void;
|
|
183
|
-
markAsUntouched(opts?: {
|
|
184
|
-
onlySelf?: boolean;
|
|
185
|
-
emitEvent?: boolean;
|
|
186
|
-
}): void;
|
|
187
|
-
markAsTouched(opts?: {
|
|
188
|
-
onlySelf?: boolean;
|
|
189
|
-
emitEvent?: boolean;
|
|
190
|
-
}): void;
|
|
191
|
-
markAllAsTouched(opts?: {
|
|
192
|
-
emitEvent?: boolean;
|
|
193
|
-
}): void;
|
|
194
|
-
markAsDirty(opts?: {
|
|
195
|
-
onlySelf?: boolean;
|
|
196
|
-
emitEvent?: boolean;
|
|
197
|
-
}): void;
|
|
198
|
-
markAsLoading(opts?: {
|
|
199
|
-
onlySelf?: boolean;
|
|
200
|
-
emitEvent?: boolean;
|
|
201
|
-
}): void;
|
|
202
|
-
markAsLoaded(opts?: {
|
|
203
|
-
onlySelf?: boolean;
|
|
204
|
-
emitEvent?: boolean;
|
|
205
|
-
}): void;
|
|
206
|
-
markAsReady(opts?: {
|
|
207
|
-
onlySelf?: boolean;
|
|
208
|
-
emitEvent?: boolean;
|
|
209
|
-
}): void;
|
|
210
|
-
markAsNotReady(opts?: {
|
|
211
|
-
onlySelf?: boolean;
|
|
212
|
-
emitEvent?: boolean;
|
|
213
|
-
}): void;
|
|
214
|
-
save(): Promise<boolean>;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* Helper class, for angular forms
|
|
218
|
-
*/
|
|
219
|
-
export declare class AppFormUtils {
|
|
220
|
-
static copyEntity2Form: typeof copyEntity2Form;
|
|
221
|
-
static getFormValueFromEntity: typeof getFormValueFromEntity;
|
|
222
|
-
static getControlValueFromEntity: typeof adaptValueToControl;
|
|
223
|
-
/**
|
|
224
|
-
* Retrieves a control from the provided form/control structure using a dot-separated path.
|
|
225
|
-
*
|
|
226
|
-
* @param {AbstractControl} form - The root form group, form array, or control to start searching from.
|
|
227
|
-
* @param {string} path - The dot-separated path specifying the control. For example, 'groupName.controlName' or 'arrayName.0.controlName'.
|
|
228
|
-
* @param {boolean} [strict=true] - If true, throws an error if the full path cannot be resolved; if false, returns the last valid control encountered.
|
|
229
|
-
* @return {AbstractControl} - The control at the specified path or the closest valid control if strict mode is disabled.
|
|
230
|
-
* @throws {Error} - Throws an error if the path cannot be resolved and strict mode is enabled.
|
|
231
|
-
*/
|
|
232
|
-
static getControlFromPath: typeof getControlFromPath;
|
|
233
|
-
static filterNumberInput: typeof filterNumberInput;
|
|
234
|
-
static enableControls: typeof enableControls;
|
|
235
|
-
static enableControl: typeof enableControl;
|
|
236
|
-
static disableControl: typeof disableControl;
|
|
237
|
-
static disableControls: typeof disableControls;
|
|
238
|
-
static disableAndClearControl: typeof disableAndClearControl;
|
|
239
|
-
static disableAndClearControls: typeof disableAndClearControls;
|
|
240
|
-
static setControlEnabled: typeof setControlEnabled;
|
|
241
|
-
static setControlsEnabled: typeof setControlsEnabled;
|
|
242
|
-
static setControlRequired: typeof setControlRequired;
|
|
243
|
-
static selectInputContentFromEvent: typeof selectInputContentFromEvent;
|
|
244
|
-
static selectInputContent: typeof selectInputContent;
|
|
245
|
-
/**
|
|
246
|
-
* @deprecated use markAllAsTouched() instead (naming was wrong)
|
|
247
|
-
*/
|
|
248
|
-
static markAsTouched: typeof markAllAsTouched;
|
|
249
|
-
/**
|
|
250
|
-
* Marks the control and all its descendant controls as touched.
|
|
251
|
-
* See also:
|
|
252
|
-
* - `markAsTouched()`
|
|
253
|
-
*/
|
|
254
|
-
static markAllAsTouched: typeof markAllAsTouched;
|
|
255
|
-
static markAsUntouched: typeof markAsUntouched;
|
|
256
|
-
static waitWhilePending: typeof waitWhilePending;
|
|
257
|
-
static waitIdle: typeof waitIdle;
|
|
258
|
-
static updateValueAndValidity: typeof updateValueAndValidity;
|
|
259
|
-
static isForm(object: any): object is IAppForm;
|
|
260
|
-
static canSave(object: any): object is IAppForm & CanSave;
|
|
261
|
-
static addValueInArray: typeof addValueInArray;
|
|
262
|
-
static removeValueInArray: typeof removeValueInArray;
|
|
263
|
-
static resizeArray: typeof resizeArray;
|
|
264
|
-
static clearValueInArray: typeof clearValueInArray;
|
|
265
|
-
static calculatedSuffix: string;
|
|
266
|
-
static isControlHasInput: typeof isControlHasInput;
|
|
267
|
-
static setCalculatedValue: typeof setCalculatedValue;
|
|
268
|
-
static resetCalculatedValue: typeof resetCalculatedValue;
|
|
269
|
-
static logFormErrors: typeof logFormErrors;
|
|
270
|
-
static filterErrorsByPrefix: typeof filterFormErrorsByPrefix;
|
|
271
|
-
static filterErrorsByPath: typeof filterFormErrorsByPath;
|
|
272
|
-
static filterErrors: typeof filterFormErrors;
|
|
273
|
-
/**
|
|
274
|
-
* Retrieves all validation errors from a given form control, including its child controls if it is a form group or array.
|
|
275
|
-
*
|
|
276
|
-
* @param {AbstractControl} control - The form control to retrieve errors from. This can be a form group, a form array, or a simple form control.
|
|
277
|
-
* @param {Object} [opts] - Optional configurations for error retrieval.
|
|
278
|
-
* @param {string} [opts.controlName] - The name or path of the control being processed, used for structuring error keys in the result.
|
|
279
|
-
* @param {FormErrors} [opts.result] - The object to which errors will be added, allowing for aggregation and persistence between calls.
|
|
280
|
-
* @param {boolean} [opts.recursive=true] - Whether to recursively collect errors from child controls within a form group or array. Defaults to true.
|
|
281
|
-
* @return {FormErrors} The collected errors as a key-value object where keys represent control names or paths and values represent their respective errors. Returns `undefined` if the provided control is valid and has no errors.
|
|
282
|
-
*/
|
|
283
|
-
static getFormErrors: typeof getFormErrors;
|
|
284
|
-
/**
|
|
285
|
-
* Sets form errors on an AbstractControl, including nested controls within form groups or arrays.
|
|
286
|
-
*
|
|
287
|
-
* @param {AbstractControl} control - The form control, form group, or form array to apply the errors to.
|
|
288
|
-
* @param {FormErrors} errors - An object representing the errors to be set on the control or its children.
|
|
289
|
-
* @return {void} Does not return a value.
|
|
290
|
-
*/
|
|
291
|
-
static setFormErrors: typeof setFormErrors;
|
|
292
|
-
}
|
|
293
|
-
export declare function isControlHasInput(controls: {
|
|
294
|
-
[key: string]: AbstractControl;
|
|
295
|
-
}, controlName: string): boolean;
|
|
296
|
-
export declare function setCalculatedValue(controls: {
|
|
297
|
-
[key: string]: AbstractControl;
|
|
298
|
-
}, controlName: string, value: number | undefined): void;
|
|
299
|
-
export declare function resetCalculatedValue(controls: {
|
|
300
|
-
[key: string]: AbstractControl;
|
|
301
|
-
}, controlName: string): void;
|