@sumaris-net/ngx-components 18.12.0 → 18.12.1
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/esm2022/public_api.mjs +380 -0
- package/esm2022/src/app/admin/admin-routing.module.mjs +34 -0
- package/esm2022/src/app/admin/admin.module.mjs +32 -0
- package/esm2022/src/app/admin/services/filter/person.filter.mjs +76 -0
- package/esm2022/src/app/admin/services/person.service.mjs +184 -0
- package/esm2022/src/app/admin/services/validator/person.validator.mjs +72 -0
- package/esm2022/src/app/admin/users/users.mjs +379 -0
- package/esm2022/src/app/admin/users/users.module.mjs +56 -0
- package/esm2022/src/app/core/about/about.modal.mjs +86 -0
- package/esm2022/src/app/core/about/about.module.mjs +22 -0
- package/esm2022/src/app/core/account/account.module.mjs +75 -0
- package/esm2022/src/app/core/account/account.page.mjs +364 -0
- package/esm2022/src/app/core/account/new-token.form.mjs +106 -0
- package/esm2022/src/app/core/account/new-token.modal.mjs +66 -0
- package/esm2022/src/app/core/account/password/change-password.form.mjs +63 -0
- package/esm2022/src/app/core/account/password/change-password.module.mjs +22 -0
- package/esm2022/src/app/core/account/password/change-password.page.mjs +150 -0
- package/esm2022/src/app/core/account/token.table.mjs +157 -0
- package/esm2022/src/app/core/auth/auth.form.mjs +159 -0
- package/esm2022/src/app/core/auth/auth.modal.mjs +76 -0
- package/esm2022/src/app/core/auth/auth.module.mjs +56 -0
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +89 -0
- package/esm2022/src/app/core/core.module.mjs +151 -0
- package/esm2022/src/app/core/core.testing.module.mjs +107 -0
- package/esm2022/src/app/core/form/array/form-array.mjs +328 -0
- package/esm2022/src/app/core/form/array/testing/form-array-test.module.mjs +23 -0
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +94 -0
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +108 -0
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +31 -0
- package/esm2022/src/app/core/form/entity/editor.class.mjs +268 -0
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +420 -0
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +741 -0
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +24 -0
- package/esm2022/src/app/core/form/entity/entity.module.mjs +32 -0
- package/esm2022/src/app/core/form/entity/tab-editor.class.mjs +190 -0
- package/esm2022/src/app/core/form/form-container.class.mjs +340 -0
- package/esm2022/src/app/core/form/form.class.mjs +337 -0
- package/esm2022/src/app/core/form/form.module.mjs +70 -0
- package/esm2022/src/app/core/form/form.utils.mjs +205 -0
- package/esm2022/src/app/core/form/list/list.form.mjs +235 -0
- package/esm2022/src/app/core/form/list/list.module.mjs +31 -0
- package/esm2022/src/app/core/form/properties/properties.form.mjs +317 -0
- package/esm2022/src/app/core/form/properties/properties.module.mjs +37 -0
- package/esm2022/src/app/core/form/properties/properties.table.mjs +264 -0
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +304 -0
- package/esm2022/src/app/core/form/properties/property.validator.mjs +70 -0
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +104 -0
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +23 -0
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +73 -0
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +30 -0
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +161 -0
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +31 -0
- package/esm2022/src/app/core/form/username/username.form.mjs +55 -0
- package/esm2022/src/app/core/form/username/username.module.mjs +20 -0
- package/esm2022/src/app/core/graphql/graphql.module.mjs +14 -0
- package/esm2022/src/app/core/graphql/graphql.service.mjs +781 -0
- package/esm2022/src/app/core/graphql/graphql.utils.mjs +119 -0
- package/esm2022/src/app/core/home/home.mjs +382 -0
- package/esm2022/src/app/core/home/home.module.mjs +46 -0
- package/esm2022/src/app/core/icon/icon.component.mjs +40 -0
- package/esm2022/src/app/core/icon/icon.module.mjs +20 -0
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +394 -0
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +31 -0
- package/esm2022/src/app/core/menu/menu.component.mjs +258 -0
- package/esm2022/src/app/core/menu/menu.model.mjs +272 -0
- package/esm2022/src/app/core/menu/menu.module.mjs +47 -0
- package/esm2022/src/app/core/menu/menu.service.mjs +666 -0
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +109 -0
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +50 -0
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +158 -0
- package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +60 -0
- package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +28 -0
- package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +31 -0
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +344 -0
- package/esm2022/src/app/core/peer/select-peer.module.mjs +36 -0
- package/esm2022/src/app/core/register/register-confirm.page.mjs +90 -0
- package/esm2022/src/app/core/register/register.form.mjs +194 -0
- package/esm2022/src/app/core/register/register.modal.mjs +55 -0
- package/esm2022/src/app/core/register/register.module.mjs +23 -0
- package/esm2022/src/app/core/services/account.service.mjs +1358 -0
- package/esm2022/src/app/core/services/auth-guard.service.mjs +74 -0
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +485 -0
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +230 -0
- package/esm2022/src/app/core/services/base58.mjs +83 -0
- package/esm2022/src/app/core/services/config/core.config.mjs +258 -0
- package/esm2022/src/app/core/services/config.service.mjs +384 -0
- package/esm2022/src/app/core/services/crypto.service.mjs +107 -0
- package/esm2022/src/app/core/services/errors.mjs +54 -0
- package/esm2022/src/app/core/services/local-settings.service.mjs +516 -0
- package/esm2022/src/app/core/services/model/account.model.mjs +178 -0
- package/esm2022/src/app/core/services/model/config.model.mjs +107 -0
- package/esm2022/src/app/core/services/model/department.model.mjs +35 -0
- package/esm2022/src/app/core/services/model/entity.decorators.mjs +97 -0
- package/esm2022/src/app/core/services/model/entity.model.mjs +338 -0
- package/esm2022/src/app/core/services/model/filter.model.mjs +93 -0
- package/esm2022/src/app/core/services/model/history.model.mjs +2 -0
- package/esm2022/src/app/core/services/model/model.enum.mjs +11 -0
- package/esm2022/src/app/core/services/model/node-feature.model.mjs +31 -0
- package/esm2022/src/app/core/services/model/peer.model.mjs +113 -0
- package/esm2022/src/app/core/services/model/person.model.mjs +114 -0
- package/esm2022/src/app/core/services/model/referential.model.mjs +205 -0
- package/esm2022/src/app/core/services/model/settings.model.mjs +6 -0
- package/esm2022/src/app/core/services/model/token.model.mjs +57 -0
- package/esm2022/src/app/core/services/model/tree-item-entity.model.mjs +195 -0
- package/esm2022/src/app/core/services/network.service.mjs +638 -0
- package/esm2022/src/app/core/services/network.types.mjs +2 -0
- package/esm2022/src/app/core/services/network.utils.mjs +35 -0
- package/esm2022/src/app/core/services/pipes/account.pipes.mjs +38 -0
- package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +23 -0
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +23 -0
- package/esm2022/src/app/core/services/pipes/pipes.module.mjs +54 -0
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +21 -0
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +37 -0
- package/esm2022/src/app/core/services/platform.service.mjs +627 -0
- package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +427 -0
- package/esm2022/src/app/core/services/storage/entity-store.class.mjs +450 -0
- package/esm2022/src/app/core/services/testing/referential-filter.model.mjs +25 -0
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +46 -0
- package/esm2022/src/app/core/services/validator/account.validator.mjs +45 -0
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +49 -0
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +57 -0
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +27 -0
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +55 -0
- package/esm2022/src/app/core/settings/settings.module.mjs +23 -0
- package/esm2022/src/app/core/settings/settings.page.mjs +403 -0
- package/esm2022/src/app/core/table/async-table.class.mjs +1811 -0
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +130 -0
- package/esm2022/src/app/core/table/column/nav-actions-column.component.mjs +117 -0
- package/esm2022/src/app/core/table/column/row-field.component.mjs +116 -0
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +404 -0
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +405 -0
- package/esm2022/src/app/core/table/memory-table.class.mjs +57 -0
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +46 -0
- package/esm2022/src/app/core/table/table.class.mjs +1867 -0
- package/esm2022/src/app/core/table/table.model.mjs +21 -0
- package/esm2022/src/app/core/table/table.module.mjs +51 -0
- package/esm2022/src/app/core/table/table.pipes.mjs +77 -0
- package/esm2022/src/app/core/table/table.utils.mjs +34 -0
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +32 -0
- package/esm2022/src/app/core/table/testing/table.testing.mjs +329 -0
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +25 -0
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +25 -0
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +273 -0
- package/esm2022/src/app/shared/alerts.mjs +243 -0
- package/esm2022/src/app/shared/audio/audio.mjs +255 -0
- package/esm2022/src/app/shared/audio/audio.testing.mjs +32 -0
- package/esm2022/src/app/shared/audio/audio.testing.module.mjs +30 -0
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +42 -0
- package/esm2022/src/app/shared/capacitor/plugins.mjs +9 -0
- package/esm2022/src/app/shared/constants.mjs +16 -0
- package/esm2022/src/app/shared/dates.mjs +180 -0
- package/esm2022/src/app/shared/debug/debug-service.class.mjs +3 -0
- package/esm2022/src/app/shared/debug/debug.component.mjs +44 -0
- package/esm2022/src/app/shared/debug/debug.module.mjs +23 -0
- package/esm2022/src/app/shared/directives/autofocus.directive.mjs +91 -0
- package/esm2022/src/app/shared/directives/autoresize.directive.mjs +75 -0
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +30 -0
- package/esm2022/src/app/shared/directives/directives.module.mjs +24 -0
- package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +52 -0
- package/esm2022/src/app/shared/directives/ng-var.directive.mjs +33 -0
- package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +62 -0
- package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +45 -0
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +17 -0
- package/esm2022/src/app/shared/directives/throttled-click.directive.mjs +43 -0
- package/esm2022/src/app/shared/events.mjs +64 -0
- package/esm2022/src/app/shared/file/csv.utils.mjs +97 -0
- package/esm2022/src/app/shared/file/file.service.mjs +118 -0
- package/esm2022/src/app/shared/file/file.utils.mjs +117 -0
- package/esm2022/src/app/shared/file/images.utils.mjs +186 -0
- package/esm2022/src/app/shared/file/json.utils.mjs +58 -0
- package/esm2022/src/app/shared/file/uri.utils.mjs +29 -0
- package/esm2022/src/app/shared/file/url.utils.mjs +164 -0
- package/esm2022/src/app/shared/focusable.mjs +6 -0
- package/esm2022/src/app/shared/form/field.component.mjs +393 -0
- package/esm2022/src/app/shared/form/field.model.mjs +82 -0
- package/esm2022/src/app/shared/form/loading-spinner.mjs +35 -0
- package/esm2022/src/app/shared/forms.mjs +510 -0
- package/esm2022/src/app/shared/functions.mjs +672 -0
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +86 -0
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +46 -0
- package/esm2022/src/app/shared/gesture/hammer.utils.mjs +2 -0
- package/esm2022/src/app/shared/graph/colors.utils.mjs +60 -0
- package/esm2022/src/app/shared/graph/graph-colors.mjs +214 -0
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +65 -0
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +23 -0
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +147 -0
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +24 -0
- package/esm2022/src/app/shared/http/http.utils.mjs +56 -0
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +443 -0
- package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +62 -0
- package/esm2022/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +26 -0
- package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +87 -0
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +37 -0
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +59 -0
- package/esm2022/src/app/shared/image/image.model.mjs +2 -0
- package/esm2022/src/app/shared/image/image.module.mjs +24 -0
- package/esm2022/src/app/shared/image/image.service.mjs +109 -0
- package/esm2022/src/app/shared/inputs.mjs +279 -0
- package/esm2022/src/app/shared/interceptors/progess.interceptor.mjs +27 -0
- package/esm2022/src/app/shared/logging/log-level.model.mjs +48 -0
- package/esm2022/src/app/shared/logging/logger.model.mjs +47 -0
- package/esm2022/src/app/shared/logging/logging-service.class.mjs +125 -0
- package/esm2022/src/app/shared/logging/logging-service.config.mjs +2 -0
- package/esm2022/src/app/shared/logging/logging-service.module.mjs +30 -0
- package/esm2022/src/app/shared/markdown/markdown.component.mjs +321 -0
- package/esm2022/src/app/shared/markdown/markdown.directive.mjs +34 -0
- package/esm2022/src/app/shared/markdown/markdown.modal.mjs +99 -0
- package/esm2022/src/app/shared/markdown/markdown.module.mjs +87 -0
- package/esm2022/src/app/shared/markdown/markdown.service.mjs +204 -0
- package/esm2022/src/app/shared/markdown/markdown.utils.mjs +87 -0
- package/esm2022/src/app/shared/markdown/testing/markdown.test.mjs +55 -0
- package/esm2022/src/app/shared/markdown/testing/markdown.testing.module.mjs +30 -0
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.config.mjs +46 -0
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +1313 -0
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +79 -0
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +18 -0
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +242 -0
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +251 -0
- package/esm2022/src/app/shared/material/badge/badge.module.mjs +20 -0
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +42 -0
- package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +67 -0
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +371 -0
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +72 -0
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +71 -0
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +836 -0
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +151 -0
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +76 -0
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +471 -0
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +457 -0
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +693 -0
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +136 -0
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +127 -0
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +118 -0
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +61 -0
- package/esm2022/src/app/shared/material/duration/duration.utils.mjs +16 -0
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +283 -0
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +85 -0
- package/esm2022/src/app/shared/material/latlong/latlong.utils.mjs +319 -0
- package/esm2022/src/app/shared/material/latlong/material.latlong-input.mjs +432 -0
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +231 -0
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +68 -0
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +137 -0
- package/esm2022/src/app/shared/material/material.animations.mjs +200 -0
- package/esm2022/src/app/shared/material/material.config.mjs +3 -0
- package/esm2022/src/app/shared/material/material.module.mjs +229 -0
- package/esm2022/src/app/shared/material/material.testing.module.mjs +245 -0
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +51 -0
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +23 -0
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +379 -0
- package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +52 -0
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +67 -0
- package/esm2022/src/app/shared/material/test/test-component.mjs +264 -0
- package/esm2022/src/app/shared/material/testing/common.test.mjs +111 -0
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +42 -0
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +205 -0
- package/esm2022/src/app/shared/material/text/text-form.module.mjs +63 -0
- package/esm2022/src/app/shared/modules.mjs +12 -0
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +303 -0
- package/esm2022/src/app/shared/named-filter/named-filter.model.mjs +49 -0
- package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +24 -0
- package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +69 -0
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +74 -0
- package/esm2022/src/app/shared/named-filter/testing/named-filter.testing.module.mjs +28 -0
- package/esm2022/src/app/shared/observables.mjs +100 -0
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +217 -0
- package/esm2022/src/app/shared/pipes/badge.pipes.mjs +24 -0
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +29 -0
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +50 -0
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +72 -0
- package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +28 -0
- package/esm2022/src/app/shared/pipes/dates.pipe.mjs +18 -0
- package/esm2022/src/app/shared/pipes/display-with.pipe.mjs +23 -0
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +34 -0
- package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +53 -0
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +219 -0
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +50 -0
- package/esm2022/src/app/shared/pipes/html.pipes.mjs +69 -0
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +42 -0
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +65 -0
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +67 -0
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +77 -0
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +19 -0
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +17 -0
- package/esm2022/src/app/shared/pipes/observable.pipes.mjs +61 -0
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +285 -0
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +135 -0
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +179 -0
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +183 -0
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +44 -0
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +74 -0
- package/esm2022/src/app/shared/pipes/url.pipes.mjs +43 -0
- package/esm2022/src/app/shared/platforms.mjs +81 -0
- package/esm2022/src/app/shared/print/print.service.mjs +305 -0
- package/esm2022/src/app/shared/regexps.mjs +96 -0
- package/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +217 -0
- package/esm2022/src/app/shared/rx-state/rx-state.module.mjs +19 -0
- package/esm2022/src/app/shared/rx-state/rx-state.types.mjs +2 -0
- package/esm2022/src/app/shared/services/entity-service.class.mjs +10 -0
- package/esm2022/src/app/shared/services/job.utils.mjs +92 -0
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +353 -0
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +31 -0
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +118 -0
- package/esm2022/src/app/shared/services/startable-service.class.mjs +107 -0
- package/esm2022/src/app/shared/services/translate-context.service.mjs +107 -0
- package/esm2022/src/app/shared/services/validator-service.class.mjs +2 -0
- package/esm2022/src/app/shared/services.mjs +85 -0
- package/esm2022/src/app/shared/shared-routing.module.mjs +72 -0
- package/esm2022/src/app/shared/shared.module.mjs +229 -0
- package/esm2022/src/app/shared/shared.testing.module.mjs +108 -0
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +279 -0
- package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +42 -0
- package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +27 -0
- package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +25 -0
- package/esm2022/src/app/shared/storage/storage.service.mjs +134 -0
- package/esm2022/src/app/shared/storage/storage.utils.mjs +13 -0
- package/esm2022/src/app/shared/testing/maskito.test.mjs +41 -0
- package/esm2022/src/app/shared/testing/observable.test.mjs +94 -0
- package/esm2022/src/app/shared/testing/tests.page.mjs +37 -0
- package/esm2022/src/app/shared/toast/toast.testing.mjs +54 -0
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +31 -0
- package/esm2022/src/app/shared/toast/toasts.mjs +134 -0
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +62 -0
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +267 -0
- package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +26 -0
- package/esm2022/src/app/shared/types.mjs +2 -0
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +59 -0
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +30 -0
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +109 -0
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +216 -0
- package/esm2022/src/app/shared/upload-file/upload-file.model.mjs +26 -0
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +114 -0
- package/esm2022/src/app/shared/validator/validators.mjs +621 -0
- package/esm2022/src/app/shared/version/versions.mjs +81 -0
- package/esm2022/src/app/social/job/job.module.mjs +23 -0
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +35 -0
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +235 -0
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +47 -0
- package/esm2022/src/app/social/job/progression/job-progression.model.mjs +29 -0
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +91 -0
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +38 -0
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +34 -0
- package/esm2022/src/app/social/job/testing/job.testing.module.mjs +22 -0
- package/esm2022/src/app/social/message/message.form.mjs +141 -0
- package/esm2022/src/app/social/message/message.modal.mjs +110 -0
- package/esm2022/src/app/social/message/message.model.mjs +75 -0
- package/esm2022/src/app/social/message/message.module.mjs +22 -0
- package/esm2022/src/app/social/message/message.service.mjs +110 -0
- package/esm2022/src/app/social/social.errors.mjs +10 -0
- package/esm2022/src/app/social/social.module.mjs +22 -0
- package/esm2022/src/app/social/social.testing.module.mjs +40 -0
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +127 -0
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +260 -0
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +257 -0
- package/esm2022/src/app/social/user-event/testing/user-event.testing.model.mjs +129 -0
- package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +22 -0
- package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +128 -0
- package/esm2022/src/app/social/user-event/user-event.model.mjs +2 -0
- package/esm2022/src/app/social/user-event/user-event.module.mjs +23 -0
- package/esm2022/src/app/social/user-event/user-event.service.mjs +512 -0
- package/esm2022/src/environments/environment.class.mjs +65 -0
- package/esm2022/src/environments/environment.loader.mjs +77 -0
- package/esm2022/src/environments/environment.mjs +109 -0
- package/esm2022/sumaris-net.ngx-components.mjs +5 -0
- package/fesm2022/sumaris-net.ngx-components.mjs +48742 -0
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +19 -132
- package/public_api.d.ts +344 -0
- package/src/app/admin/admin-routing.module.d.ts +9 -0
- package/src/app/admin/admin.module.d.ts +10 -0
- package/src/app/admin/services/filter/person.filter.d.ts +22 -0
- package/src/app/admin/services/person.service.d.ts +37 -0
- package/src/app/admin/services/validator/person.validator.d.ts +23 -0
- package/src/app/admin/users/users.d.ts +61 -0
- package/src/app/admin/users/users.module.d.ts +14 -0
- package/src/app/core/about/about.modal.d.ts +32 -0
- package/src/app/core/about/about.module.d.ts +11 -0
- package/src/app/core/account/account.module.d.ts +18 -0
- package/src/app/core/account/account.page.d.ts +83 -0
- package/src/app/core/account/new-token.form.d.ts +29 -0
- package/src/app/core/account/new-token.modal.d.ts +29 -0
- package/src/app/core/account/password/change-password.form.d.ts +19 -0
- package/src/app/core/account/password/change-password.module.d.ts +11 -0
- package/src/app/core/account/password/change-password.page.d.ts +36 -0
- package/src/app/core/account/token.table.d.ts +27 -0
- package/src/app/core/auth/auth.form.d.ts +38 -0
- package/src/app/core/auth/auth.modal.d.ts +24 -0
- package/src/app/core/auth/auth.module.d.ts +13 -0
- package/src/app/core/auth/reset-password.modal.d.ts +29 -0
- package/src/app/core/core.module.d.ts +28 -0
- package/src/app/core/core.testing.module.d.ts +15 -0
- package/src/app/core/form/array/form-array.d.ts +137 -0
- package/src/app/core/form/array/testing/form-array-test.module.d.ts +12 -0
- package/src/app/core/form/array/testing/form-array.test.d.ts +26 -0
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +37 -0
- package/src/app/core/form/buttons/form-buttons-bar.module.d.ts +9 -0
- package/src/app/core/form/entity/editor.class.d.ts +84 -0
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +126 -0
- package/src/app/core/form/entity/entity-editor.class.d.ts +204 -0
- package/src/app/core/form/entity/entity-metadata.component.d.ts +13 -0
- package/src/app/core/form/entity/entity.module.d.ts +10 -0
- package/src/app/core/form/entity/tab-editor.class.d.ts +66 -0
- package/src/app/core/form/form-container.class.d.ts +127 -0
- package/src/app/core/form/form.class.d.ts +144 -0
- package/src/app/core/form/form.module.d.ts +14 -0
- package/src/app/core/form/form.utils.d.ts +260 -0
- package/src/app/core/form/list/list.form.d.ts +81 -0
- package/src/app/core/form/list/list.module.d.ts +9 -0
- package/src/app/core/form/properties/properties.form.d.ts +92 -0
- package/src/app/core/form/properties/properties.module.d.ts +11 -0
- package/src/app/core/form/properties/properties.table.d.ts +72 -0
- package/src/app/core/form/properties/properties.utils.d.ts +59 -0
- package/src/app/core/form/properties/property.validator.d.ts +27 -0
- package/src/app/core/form/properties/testing/properties-form.test.d.ts +22 -0
- package/src/app/core/form/properties/testing/properties-form.testing.module.d.ts +12 -0
- package/src/app/core/form/text-popover/testing/text-popover.testing.d.ts +16 -0
- package/src/app/core/form/text-popover/testing/text-popover.testing.module.d.ts +11 -0
- package/src/app/core/form/text-popover/text-popover.component.d.ts +80 -0
- package/src/app/core/form/text-popover/text-popover.module.d.ts +9 -0
- package/src/app/core/form/username/username.form.d.ts +19 -0
- package/src/app/core/form/username/username.module.d.ts +9 -0
- package/src/app/core/graphql/graphql.module.d.ts +7 -0
- package/src/app/core/graphql/graphql.service.d.ts +142 -0
- package/src/app/core/graphql/graphql.utils.d.ts +47 -0
- package/src/app/core/home/home.d.ts +109 -0
- package/src/app/core/home/home.module.d.ts +14 -0
- package/src/app/core/icon/icon.component.d.ts +13 -0
- package/src/app/core/icon/icon.module.d.ts +9 -0
- package/src/app/core/install/install-upgrade-card.component.d.ts +63 -0
- package/src/app/core/install/install-upgrade-card.module.d.ts +9 -0
- package/src/app/core/menu/menu.component.d.ts +66 -0
- package/src/app/core/menu/menu.model.d.ts +144 -0
- package/src/app/core/menu/menu.module.d.ts +12 -0
- package/src/app/core/menu/menu.service.d.ts +93 -0
- package/src/app/core/menu/sub-menu-tab.directive.d.ts +29 -0
- package/src/app/core/menu/testing/menu-other.testing.d.ts +15 -0
- package/src/app/core/menu/testing/menu.testing.d.ts +51 -0
- package/src/app/core/menu/testing/menu.testing.module.d.ts +12 -0
- package/src/app/core/offline/update-offline-mode-card.component.d.ts +11 -0
- package/src/app/core/offline/update-offline-mode-card.module.d.ts +9 -0
- package/src/app/core/peer/select-peer.modal.d.ts +101 -0
- package/src/app/core/peer/select-peer.module.d.ts +12 -0
- package/src/app/core/register/register-confirm.page.d.ts +24 -0
- package/src/app/core/register/register.form.d.ts +49 -0
- package/src/app/core/register/register.modal.d.ts +14 -0
- package/src/app/core/register/register.module.d.ts +12 -0
- package/src/app/core/services/account.service.d.ts +207 -0
- package/src/app/core/services/auth-guard.service.d.ts +17 -0
- package/src/app/core/services/base-entity-service.class.d.ts +135 -0
- package/src/app/core/services/base-graphql-service.class.d.ts +77 -0
- package/src/app/core/services/base58.d.ts +7 -0
- package/src/app/core/services/config/core.config.d.ts +46 -0
- package/src/app/core/services/config.service.d.ts +63 -0
- package/src/app/core/services/crypto.service.d.ts +44 -0
- package/src/app/core/services/errors.d.ts +65 -0
- package/src/app/core/services/local-settings.service.d.ts +99 -0
- package/src/app/core/services/model/account.model.d.ts +56 -0
- package/src/app/core/services/model/config.model.d.ts +36 -0
- package/src/app/core/services/model/department.model.d.ts +11 -0
- package/src/app/core/services/model/entity.decorators.d.ts +17 -0
- package/src/app/core/services/model/entity.model.d.ts +133 -0
- package/src/app/core/services/model/filter.model.d.ts +37 -0
- package/src/app/core/services/model/history.model.d.ts +20 -0
- package/src/app/core/services/model/model.enum.d.ts +7 -0
- package/src/app/core/services/model/node-feature.model.d.ts +14 -0
- package/src/app/core/services/model/peer.model.d.ts +35 -0
- package/src/app/core/services/model/person.model.d.ts +37 -0
- package/src/app/core/services/model/referential.model.d.ts +84 -0
- package/src/app/core/services/model/settings.model.d.ts +29 -0
- package/src/app/core/services/model/token.model.d.ts +22 -0
- package/src/app/core/services/model/tree-item-entity.model.d.ts +53 -0
- package/src/app/core/services/network.service.d.ts +159 -0
- package/src/app/core/services/network.types.d.ts +4 -0
- package/src/app/core/services/network.utils.d.ts +38 -0
- package/src/app/core/services/pipes/account.pipes.d.ts +15 -0
- package/src/app/core/services/pipes/department-to-string.pipe.d.ts +9 -0
- package/src/app/core/services/pipes/person-to-string.pipe.d.ts +11 -0
- package/src/app/core/services/pipes/pipes.module.d.ts +11 -0
- package/src/app/core/services/pipes/referential-to-string.pipe.d.ts +13 -0
- package/src/app/core/services/pipes/usage-mode.pipes.d.ts +15 -0
- package/src/app/core/services/platform.service.d.ts +110 -0
- package/src/app/core/services/storage/entities-storage.service.d.ts +108 -0
- package/src/app/core/services/storage/entity-store.class.d.ts +113 -0
- package/src/app/core/services/testing/referential-filter.model.d.ts +9 -0
- package/src/app/core/services/testing/referential.validator.d.ts +22 -0
- package/src/app/core/services/validator/account.validator.d.ts +24 -0
- package/src/app/core/services/validator/base.validator.class.d.ts +21 -0
- package/src/app/core/services/validator/local-settings.validator.d.ts +18 -0
- package/src/app/core/services/validator/user-settings.validator.d.ts +10 -0
- package/src/app/core/services/validator/user-token.validator.d.ts +13 -0
- package/src/app/core/settings/settings.module.d.ts +12 -0
- package/src/app/core/settings/settings.page.d.ts +88 -0
- package/src/app/core/table/async-table.class.d.ts +395 -0
- package/src/app/core/table/column/actions-column.component.d.ts +62 -0
- package/src/app/core/table/column/nav-actions-column.component.d.ts +46 -0
- package/src/app/core/table/column/row-field.component.d.ts +40 -0
- package/src/app/core/table/entities-async-table-datasource.class.d.ts +100 -0
- package/src/app/core/table/entities-table-datasource.class.d.ts +103 -0
- package/src/app/core/table/memory-table.class.d.ts +25 -0
- package/src/app/core/table/table-select-columns.component.d.ts +22 -0
- package/src/app/core/table/table.class.d.ts +400 -0
- package/src/app/core/table/table.model.d.ts +31 -0
- package/src/app/core/table/table.module.d.ts +14 -0
- package/src/app/core/table/table.pipes.d.ts +29 -0
- package/src/app/core/table/table.utils.d.ts +13 -0
- package/src/app/core/table/testing/table-validator.service.d.ts +17 -0
- package/src/app/core/table/testing/table.testing.d.ts +54 -0
- package/src/app/core/table/testing/table.testing.module.d.ts +14 -0
- package/src/app/core/table/testing/table2-validator.service.d.ts +15 -0
- package/src/app/core/table/testing/table2.testing.d.ts +48 -0
- package/src/app/shared/alerts.d.ts +55 -0
- package/src/app/shared/audio/audio.d.ts +45 -0
- package/src/app/shared/audio/audio.testing.d.ts +13 -0
- package/src/app/shared/audio/audio.testing.module.d.ts +11 -0
- package/src/app/shared/capacitor/keyboard.d.ts +16 -0
- package/src/app/shared/capacitor/plugins.d.ts +7 -0
- package/src/app/shared/constants.d.ts +13 -0
- package/src/app/shared/dates.d.ts +61 -0
- package/src/app/shared/debug/debug-service.class.d.ts +5 -0
- package/src/app/shared/debug/debug.component.d.ts +14 -0
- package/src/app/shared/debug/debug.module.d.ts +12 -0
- package/src/app/shared/directives/autofocus.directive.d.ts +18 -0
- package/src/app/shared/directives/autoresize.directive.d.ts +20 -0
- package/src/app/shared/directives/autotitle.directive.d.ts +11 -0
- package/src/app/shared/directives/directives.module.d.ts +14 -0
- package/src/app/shared/directives/drag-and-drop.directive.d.ts +17 -0
- package/src/app/shared/directives/ng-var.directive.d.ts +12 -0
- package/src/app/shared/directives/resizable/resizable.component.d.ts +21 -0
- package/src/app/shared/directives/resizable/resizable.directive.d.ts +12 -0
- package/src/app/shared/directives/resizable/resizable.module.d.ts +8 -0
- package/src/app/shared/directives/throttled-click.directive.d.ts +16 -0
- package/src/app/shared/events.d.ts +29 -0
- package/src/app/shared/file/csv.utils.d.ts +30 -0
- package/src/app/shared/file/file.service.d.ts +23 -0
- package/src/app/shared/file/file.utils.d.ts +20 -0
- package/src/app/shared/file/images.utils.d.ts +36 -0
- package/src/app/shared/file/json.utils.d.ts +19 -0
- package/src/app/shared/file/uri.utils.d.ts +8 -0
- package/src/app/shared/file/url.utils.d.ts +77 -0
- package/src/app/shared/focusable.d.ts +4 -0
- package/src/app/shared/form/field.component.d.ts +85 -0
- package/src/app/shared/form/field.model.d.ts +82 -0
- package/src/app/shared/form/loading-spinner.d.ts +8 -0
- package/src/app/shared/forms.d.ts +135 -0
- package/src/app/shared/functions.d.ts +206 -0
- package/src/app/shared/geolocation/geolocation.utils.d.ts +19 -0
- package/src/app/shared/gesture/gesture-config.d.ts +15 -0
- package/src/app/shared/gesture/hammer.utils.d.ts +16 -0
- package/src/app/shared/graph/colors.utils.d.ts +17 -0
- package/src/app/shared/graph/graph-colors.d.ts +63 -0
- package/src/app/shared/guard/component-dirty.guard.d.ts +14 -0
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.d.ts +8 -0
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +48 -0
- package/src/app/shared/hotkeys/shared-hotkeys.module.d.ts +11 -0
- package/src/app/shared/http/http.utils.d.ts +28 -0
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +137 -0
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +15 -0
- package/src/app/shared/image/gallery/testing/gallegry.model.testing.d.ts +12 -0
- package/src/app/shared/image/gallery/testing/gallery.service.testing.d.ts +33 -0
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +16 -0
- package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +13 -0
- package/src/app/shared/image/image.model.d.ts +7 -0
- package/src/app/shared/image/image.module.d.ts +8 -0
- package/src/app/shared/image/image.service.d.ts +36 -0
- package/src/app/shared/inputs.d.ts +36 -0
- package/src/app/shared/interceptors/progess.interceptor.d.ts +8 -0
- package/src/app/shared/logging/log-level.model.d.ts +38 -0
- package/src/app/shared/logging/logger.model.d.ts +68 -0
- package/src/app/shared/logging/logging-service.class.d.ts +39 -0
- package/src/app/shared/logging/logging-service.config.d.ts +25 -0
- package/src/app/shared/logging/logging-service.module.d.ts +9 -0
- package/src/app/shared/markdown/markdown.component.d.ts +86 -0
- package/src/app/shared/markdown/markdown.directive.d.ts +13 -0
- package/src/app/shared/markdown/markdown.modal.d.ts +49 -0
- package/src/app/shared/markdown/markdown.module.d.ts +17 -0
- package/src/app/shared/markdown/markdown.service.d.ts +37 -0
- package/src/app/shared/markdown/markdown.utils.d.ts +26 -0
- package/src/app/shared/markdown/testing/markdown.test.d.ts +18 -0
- package/src/app/shared/markdown/testing/markdown.testing.module.d.ts +12 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.config.d.ts +74 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +211 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.module.d.ts +22 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.utils.d.ts +5 -0
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +48 -0
- package/src/app/shared/material/badge/badge.directive.d.ts +43 -0
- package/src/app/shared/material/badge/badge.module.d.ts +10 -0
- package/src/app/shared/material/badge/badge.test.d.ts +21 -0
- package/src/app/shared/material/boolean/boolean.module.d.ts +20 -0
- package/src/app/shared/material/boolean/material.boolean.d.ts +93 -0
- package/src/app/shared/material/boolean/testing/boolean.test.page.d.ts +26 -0
- package/src/app/shared/material/chips/chips.module.d.ts +21 -0
- package/src/app/shared/material/chips/material.chips.d.ts +164 -0
- package/src/app/shared/material/chips/testing/chips.test.d.ts +32 -0
- package/src/app/shared/material/datetime/datetime.module.d.ts +24 -0
- package/src/app/shared/material/datetime/material.date.d.ts +90 -0
- package/src/app/shared/material/datetime/material.dateshort.d.ts +89 -0
- package/src/app/shared/material/datetime/material.datetime.d.ts +116 -0
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +37 -0
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +32 -0
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.d.ts +31 -0
- package/src/app/shared/material/duration/duration.module.d.ts +18 -0
- package/src/app/shared/material/duration/duration.utils.d.ts +2 -0
- package/src/app/shared/material/duration/material.duration.d.ts +64 -0
- package/src/app/shared/material/duration/testing/mat-duration.test.d.ts +23 -0
- package/src/app/shared/material/latlong/latlong.utils.d.ts +59 -0
- package/src/app/shared/material/latlong/material.latlong-input.d.ts +85 -0
- package/src/app/shared/material/latlong/material.latlong.d.ts +90 -0
- package/src/app/shared/material/latlong/material.latlong.module.d.ts +21 -0
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +28 -0
- package/src/app/shared/material/material.animations.d.ts +8 -0
- package/src/app/shared/material/material.config.d.ts +3 -0
- package/src/app/shared/material/material.module.d.ts +45 -0
- package/src/app/shared/material/material.testing.module.d.ts +32 -0
- package/src/app/shared/material/paginator/material.paginator-i18n.d.ts +12 -0
- package/src/app/shared/material/stepper/material.stepper-i18n.d.ts +10 -0
- package/src/app/shared/material/swipe/material.swipe.d.ts +89 -0
- package/src/app/shared/material/swipe/swipe.module.d.ts +16 -0
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +22 -0
- package/src/app/shared/material/test/test-component.d.ts +75 -0
- package/src/app/shared/material/testing/common.test.d.ts +25 -0
- package/src/app/shared/material/text/testing/text-form.testing.d.ts +19 -0
- package/src/app/shared/material/text/text-form.component.d.ts +66 -0
- package/src/app/shared/material/text/text-form.module.d.ts +16 -0
- package/src/app/shared/modules.d.ts +9 -0
- package/src/app/shared/named-filter/named-filter-selector.component.d.ts +62 -0
- package/src/app/shared/named-filter/named-filter.model.d.ts +32 -0
- package/src/app/shared/named-filter/named-filter.module.d.ts +13 -0
- package/src/app/shared/named-filter/named-filter.service.d.ts +32 -0
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.d.ts +34 -0
- package/src/app/shared/named-filter/testing/named-filter.testing.module.d.ts +10 -0
- package/src/app/shared/observables.d.ts +30 -0
- package/src/app/shared/pipes/arrays.pipe.d.ts +82 -0
- package/src/app/shared/pipes/badge.pipes.d.ts +7 -0
- package/src/app/shared/pipes/colors.pipe.d.ts +9 -0
- package/src/app/shared/pipes/date-diff-duration.pipe.d.ts +25 -0
- package/src/app/shared/pipes/date-format.pipe.d.ts +35 -0
- package/src/app/shared/pipes/date-from-now.pipe.d.ts +12 -0
- package/src/app/shared/pipes/dates.pipe.d.ts +10 -0
- package/src/app/shared/pipes/display-with.pipe.d.ts +8 -0
- package/src/app/shared/pipes/duration.pipe.d.ts +23 -0
- package/src/app/shared/pipes/file-size.pipe.d.ts +30 -0
- package/src/app/shared/pipes/form.pipes.d.ts +69 -0
- package/src/app/shared/pipes/highlight.pipe.d.ts +11 -0
- package/src/app/shared/pipes/html.pipes.d.ts +22 -0
- package/src/app/shared/pipes/latlong-format.pipe.d.ts +20 -0
- package/src/app/shared/pipes/maps.pipe.d.ts +23 -0
- package/src/app/shared/pipes/maskito.pipe.d.ts +14 -0
- package/src/app/shared/pipes/math.pipes.d.ts +26 -0
- package/src/app/shared/pipes/ng-init.pipe.d.ts +8 -0
- package/src/app/shared/pipes/number-format.pipe.d.ts +9 -0
- package/src/app/shared/pipes/observable.pipes.d.ts +25 -0
- package/src/app/shared/pipes/pipes.module.d.ts +35 -0
- package/src/app/shared/pipes/property.pipes.d.ts +41 -0
- package/src/app/shared/pipes/selection.pipes.d.ts +62 -0
- package/src/app/shared/pipes/string.pipes.d.ts +68 -0
- package/src/app/shared/pipes/translate-context.pipe.d.ts +17 -0
- package/src/app/shared/pipes/types.pipes.d.ts +30 -0
- package/src/app/shared/pipes/url.pipes.d.ts +27 -0
- package/src/app/shared/platforms.d.ts +16 -0
- package/src/app/shared/print/print.service.d.ts +94 -0
- package/src/app/shared/regexps.d.ts +32 -0
- package/src/app/shared/rx-state/rx-state.decorators.d.ts +43 -0
- package/src/app/shared/rx-state/rx-state.module.d.ts +10 -0
- package/src/app/shared/rx-state/rx-state.types.d.ts +4 -0
- package/src/app/shared/services/entity-service.class.d.ts +75 -0
- package/src/app/shared/services/job.utils.d.ts +20 -0
- package/src/app/shared/services/memory-entity-service.class.d.ts +79 -0
- package/src/app/shared/services/progress-bar.service.d.ts +20 -0
- package/src/app/shared/services/startable-observable-service.class.d.ts +36 -0
- package/src/app/shared/services/startable-service.class.d.ts +37 -0
- package/src/app/shared/services/translate-context.service.d.ts +29 -0
- package/src/app/shared/services/validator-service.class.d.ts +11 -0
- package/src/app/shared/services.d.ts +17 -0
- package/src/app/shared/shared-routing.module.d.ts +23 -0
- package/src/app/shared/shared.module.d.ts +33 -0
- package/src/app/shared/shared.testing.module.d.ts +20 -0
- package/src/app/shared/storage/storage-explorer.component.d.ts +59 -0
- package/src/app/shared/storage/storage-explorer.module.d.ts +13 -0
- package/src/app/shared/storage/storage-explorer.testing-routing.module.d.ts +9 -0
- package/src/app/shared/storage/storage-explorer.testing.module.d.ts +10 -0
- package/src/app/shared/storage/storage.service.d.ts +22 -0
- package/src/app/shared/storage/storage.utils.d.ts +19 -0
- package/src/app/shared/testing/maskito.test.d.ts +10 -0
- package/src/app/shared/testing/observable.test.d.ts +25 -0
- package/src/app/shared/testing/tests.page.d.ts +20 -0
- package/src/app/shared/toast/toast.testing.d.ts +15 -0
- package/src/app/shared/toast/toast.testing.module.d.ts +12 -0
- package/src/app/shared/toast/toasts.d.ts +16 -0
- package/src/app/shared/toolbar/modal-toolbar.d.ts +21 -0
- package/src/app/shared/toolbar/toolbar.d.ts +70 -0
- package/src/app/shared/toolbar/toolbar.module.d.ts +16 -0
- package/src/app/shared/types.d.ts +36 -0
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +21 -0
- package/src/app/shared/upload-file/testing/upload-file.testing.module.d.ts +11 -0
- package/src/app/shared/upload-file/upload-file-popover.component.d.ts +41 -0
- package/src/app/shared/upload-file/upload-file.component.d.ts +50 -0
- package/src/app/shared/upload-file/upload-file.model.d.ts +30 -0
- package/src/app/shared/validator/form-error-adapter.class.d.ts +33 -0
- package/src/app/shared/validator/validators.d.ts +139 -0
- package/src/app/shared/version/versions.d.ts +26 -0
- package/src/app/social/job/job.module.d.ts +12 -0
- package/src/app/social/job/progression/job-progression.component.d.ts +23 -0
- package/src/app/social/job/progression/job-progression.icon.d.ts +62 -0
- package/src/app/social/job/progression/job-progression.list.d.ts +19 -0
- package/src/app/social/job/progression/job-progression.model.d.ts +10 -0
- package/src/app/social/job/progression/job-progression.service.d.ts +33 -0
- package/src/app/social/job/testing/job-progression.testing.d.ts +13 -0
- package/src/app/social/job/testing/job-progression.testing.service.d.ts +9 -0
- package/src/app/social/job/testing/job.testing.module.d.ts +11 -0
- package/src/app/social/message/message.form.d.ts +36 -0
- package/src/app/social/message/message.modal.d.ts +43 -0
- package/src/app/social/message/message.model.d.ts +33 -0
- package/src/app/social/message/message.module.d.ts +12 -0
- package/src/app/social/message/message.service.d.ts +32 -0
- package/src/app/social/social.errors.d.ts +9 -0
- package/src/app/social/social.module.d.ts +20 -0
- package/src/app/social/social.testing.module.d.ts +13 -0
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +32 -0
- package/src/app/social/user-event/notification/user-event-notification.list.d.ts +71 -0
- package/src/app/social/user-event/testing/user-event.testing.d.ts +35 -0
- package/src/app/social/user-event/testing/user-event.testing.model.d.ts +42 -0
- package/src/app/social/user-event/testing/user-event.testing.module.d.ts +11 -0
- package/src/app/social/user-event/testing/user-event.testing.service.d.ts +42 -0
- package/src/app/social/user-event/user-event.model.d.ts +44 -0
- package/src/app/social/user-event/user-event.module.d.ts +13 -0
- package/src/app/social/user-event/user-event.service.d.ts +124 -0
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +75 -0
- package/src/environments/environment.d.ts +2 -0
- package/src/environments/environment.loader.d.ts +24 -0
- package/.editorconfig +0 -24
- package/.eslintrc.json +0 -95
- package/.gitattribute +0 -1
- package/.github/CONTRIBUTING.md +0 -10
- package/.github/ISSUE_TEMPLATE.md +0 -6
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -10
- package/.github/github_disclaimer.md +0 -14
- package/.gitlab-ci.yml +0 -46
- package/.graphqlconfig +0 -15
- package/.prettierignore +0 -9
- package/.prettierrc.json +0 -17
- package/angular.json +0 -236
- package/capacitor.config.ts +0 -49
- package/graphql.config.yml +0 -13
- package/ionic.config.json +0 -7
- package/karma.conf.js +0 -38
- package/ng-package.json +0 -21
- package/ngcc.config.js +0 -9
- package/public_api.ts +0 -426
- package/resources/README.md +0 -7
- package/resources/icon/TODO.md +0 -11
- package/resources/icon.png +0 -0
- package/resources/icon.png.md5 +0 -1
- package/resources/icon.xcf +0 -0
- package/resources/ios/icon/icon-1024.png +0 -0
- package/resources/ios/icon/icon-108@2x.png +0 -0
- package/resources/ios/icon/icon-20.png +0 -0
- package/resources/ios/icon/icon-20@2x.png +0 -0
- package/resources/ios/icon/icon-20@3x.png +0 -0
- package/resources/ios/icon/icon-24@2x.png +0 -0
- package/resources/ios/icon/icon-27.5@2x.png +0 -0
- package/resources/ios/icon/icon-29.png +0 -0
- package/resources/ios/icon/icon-29@2x.png +0 -0
- package/resources/ios/icon/icon-29@3x.png +0 -0
- package/resources/ios/icon/icon-40.png +0 -0
- package/resources/ios/icon/icon-40@2x.png +0 -0
- package/resources/ios/icon/icon-40@3x.png +0 -0
- package/resources/ios/icon/icon-44@2x.png +0 -0
- package/resources/ios/icon/icon-50.png +0 -0
- package/resources/ios/icon/icon-50@2x.png +0 -0
- package/resources/ios/icon/icon-60.png +0 -0
- package/resources/ios/icon/icon-60@2x.png +0 -0
- package/resources/ios/icon/icon-60@3x.png +0 -0
- package/resources/ios/icon/icon-72.png +0 -0
- package/resources/ios/icon/icon-72@2x.png +0 -0
- package/resources/ios/icon/icon-76.png +0 -0
- package/resources/ios/icon/icon-76@2x.png +0 -0
- package/resources/ios/icon/icon-83.5@2x.png +0 -0
- package/resources/ios/icon/icon-86@2x.png +0 -0
- package/resources/ios/icon/icon-98@2x.png +0 -0
- package/resources/ios/icon/icon-small.png +0 -0
- package/resources/ios/icon/icon-small@2x.png +0 -0
- package/resources/ios/icon/icon-small@3x.png +0 -0
- package/resources/ios/icon/icon.png +0 -0
- package/resources/ios/icon/icon@2x.png +0 -0
- package/resources/ios/splash/Default-1792h~iphone.png +0 -0
- package/resources/ios/splash/Default-2436h.png +0 -0
- package/resources/ios/splash/Default-2688h~iphone.png +0 -0
- package/resources/ios/splash/Default-568h@2x~iphone.png +0 -0
- package/resources/ios/splash/Default-667h.png +0 -0
- package/resources/ios/splash/Default-736h.png +0 -0
- package/resources/ios/splash/Default-Landscape-1792h~iphone.png +0 -0
- package/resources/ios/splash/Default-Landscape-2436h.png +0 -0
- package/resources/ios/splash/Default-Landscape-2688h~iphone.png +0 -0
- package/resources/ios/splash/Default-Landscape-736h.png +0 -0
- package/resources/ios/splash/Default-Landscape@2x~ipad.png +0 -0
- package/resources/ios/splash/Default-Landscape@~ipadpro.png +0 -0
- package/resources/ios/splash/Default-Landscape~ipad.png +0 -0
- package/resources/ios/splash/Default-Portrait@2x~ipad.png +0 -0
- package/resources/ios/splash/Default-Portrait@~ipadpro.png +0 -0
- package/resources/ios/splash/Default-Portrait~ipad.png +0 -0
- package/resources/ios/splash/Default@2x~iphone.png +0 -0
- package/resources/ios/splash/Default@2x~universal~anyany.png +0 -0
- package/resources/ios/splash/Default~iphone.png +0 -0
- package/resources/splash.png +0 -0
- package/resources/splash.png.md5 +0 -1
- package/scripts/build-android.sh +0 -18
- package/scripts/docker-start.sh +0 -6
- package/scripts/emulate-android.sh +0 -17
- package/scripts/env-android.sh +0 -83
- package/scripts/env-clean.sh +0 -23
- package/scripts/env-global.sh +0 -154
- package/scripts/install-android-sdk-tools.sh +0 -73
- package/scripts/ionic-update.sh +0 -24
- package/scripts/node/build-i18n.js +0 -37
- package/scripts/node/playground.ts +0 -9
- package/scripts/node/resources.js +0 -108
- package/scripts/release.sh +0 -162
- package/scripts/run-android.sh +0 -59
- package/scripts/test.sh +0 -19
- package/src/app/admin/admin-routing.module.ts +0 -26
- package/src/app/admin/admin.module.ts +0 -20
- package/src/app/admin/services/filter/person.filter.ts +0 -86
- package/src/app/admin/services/person.service.ts +0 -244
- package/src/app/admin/services/validator/person.validator.ts +0 -86
- package/src/app/admin/users/users.html +0 -613
- package/src/app/admin/users/users.module.ts +0 -32
- package/src/app/admin/users/users.scss +0 -80
- package/src/app/admin/users/users.ts +0 -387
- package/src/app/app-routing.module.ts +0 -165
- package/src/app/app.component.html +0 -14
- package/src/app/app.component.scss +0 -4
- package/src/app/app.component.ts +0 -252
- package/src/app/app.module.ts +0 -355
- package/src/app/core/about/about.modal.html +0 -145
- package/src/app/core/about/about.modal.scss +0 -22
- package/src/app/core/about/about.modal.ts +0 -69
- package/src/app/core/about/about.module.ts +0 -14
- package/src/app/core/account/account.module.ts +0 -43
- package/src/app/core/account/account.page.html +0 -329
- package/src/app/core/account/account.page.scss +0 -20
- package/src/app/core/account/account.page.ts +0 -389
- package/src/app/core/account/new-token.form.html +0 -90
- package/src/app/core/account/new-token.form.ts +0 -99
- package/src/app/core/account/new-token.modal.html +0 -52
- package/src/app/core/account/new-token.modal.ts +0 -68
- package/src/app/core/account/password/change-password.form.html +0 -62
- package/src/app/core/account/password/change-password.form.scss +0 -0
- package/src/app/core/account/password/change-password.form.ts +0 -58
- package/src/app/core/account/password/change-password.module.ts +0 -14
- package/src/app/core/account/password/change-password.page.html +0 -41
- package/src/app/core/account/password/change-password.page.scss +0 -49
- package/src/app/core/account/password/change-password.page.ts +0 -158
- package/src/app/core/account/token.table.html +0 -160
- package/src/app/core/account/token.table.scss +0 -7
- package/src/app/core/account/token.table.ts +0 -160
- package/src/app/core/auth/auth.form.html +0 -108
- package/src/app/core/auth/auth.form.scss +0 -0
- package/src/app/core/auth/auth.form.ts +0 -165
- package/src/app/core/auth/auth.modal.html +0 -50
- package/src/app/core/auth/auth.modal.scss +0 -0
- package/src/app/core/auth/auth.modal.ts +0 -78
- package/src/app/core/auth/auth.module.ts +0 -35
- package/src/app/core/auth/reset-password.modal.html +0 -59
- package/src/app/core/auth/reset-password.modal.ts +0 -83
- package/src/app/core/core.module.ts +0 -72
- package/src/app/core/core.testing.module.ts +0 -80
- package/src/app/core/form/array/form-array.ts +0 -409
- package/src/app/core/form/array/testing/form-array-test.module.ts +0 -15
- package/src/app/core/form/array/testing/form-array.test.html +0 -196
- package/src/app/core/form/array/testing/form-array.test.ts +0 -119
- package/src/app/core/form/buttons/form-buttons-bar.component.html +0 -82
- package/src/app/core/form/buttons/form-buttons-bar.component.scss +0 -19
- package/src/app/core/form/buttons/form-buttons-bar.component.ts +0 -89
- package/src/app/core/form/buttons/form-buttons-bar.module.ts +0 -20
- package/src/app/core/form/entity/editor.class.ts +0 -295
- package/src/app/core/form/entity/entity-editor-modal.class.ts +0 -494
- package/src/app/core/form/entity/entity-editor.class.ts +0 -894
- package/src/app/core/form/entity/entity-metadata.component.html +0 -57
- package/src/app/core/form/entity/entity-metadata.component.scss +0 -40
- package/src/app/core/form/entity/entity-metadata.component.ts +0 -18
- package/src/app/core/form/entity/entity.module.ts +0 -20
- package/src/app/core/form/entity/tab-editor.class.ts +0 -224
- package/src/app/core/form/form-container.class.ts +0 -380
- package/src/app/core/form/form.class.ts +0 -377
- package/src/app/core/form/form.module.ts +0 -38
- package/src/app/core/form/form.utils.ts +0 -305
- package/src/app/core/form/list/list.form.html +0 -68
- package/src/app/core/form/list/list.form.scss +0 -40
- package/src/app/core/form/list/list.form.ts +0 -266
- package/src/app/core/form/list/list.module.ts +0 -20
- package/src/app/core/form/properties/properties.form.html +0 -160
- package/src/app/core/form/properties/properties.form.scss +0 -21
- package/src/app/core/form/properties/properties.form.ts +0 -331
- package/src/app/core/form/properties/properties.module.ts +0 -24
- package/src/app/core/form/properties/properties.table.html +0 -228
- package/src/app/core/form/properties/properties.table.scss +0 -0
- package/src/app/core/form/properties/properties.table.ts +0 -275
- package/src/app/core/form/properties/properties.utils.ts +0 -391
- package/src/app/core/form/properties/property.validator.ts +0 -82
- package/src/app/core/form/properties/testing/properties-form.test.html +0 -23
- package/src/app/core/form/properties/testing/properties-form.test.ts +0 -109
- package/src/app/core/form/properties/testing/properties-form.testing.module.ts +0 -14
- package/src/app/core/form/text-popover/testing/text-popover.testing.html +0 -50
- package/src/app/core/form/text-popover/testing/text-popover.testing.module.ts +0 -21
- package/src/app/core/form/text-popover/testing/text-popover.testing.ts +0 -76
- package/src/app/core/form/text-popover/text-popover.component.html +0 -89
- package/src/app/core/form/text-popover/text-popover.component.scss +0 -7
- package/src/app/core/form/text-popover/text-popover.component.ts +0 -176
- package/src/app/core/form/text-popover/text-popover.module.ts +0 -19
- package/src/app/core/form/username/username.form.html +0 -27
- package/src/app/core/form/username/username.form.ts +0 -44
- package/src/app/core/form/username/username.module.ts +0 -12
- package/src/app/core/graphql/graphql.module.ts +0 -7
- package/src/app/core/graphql/graphql.service.ts +0 -962
- package/src/app/core/graphql/graphql.utils.ts +0 -166
- package/src/app/core/home/home.html +0 -295
- package/src/app/core/home/home.module.ts +0 -27
- package/src/app/core/home/home.scss +0 -279
- package/src/app/core/home/home.ts +0 -422
- package/src/app/core/icon/icon.component.html +0 -19
- package/src/app/core/icon/icon.component.ts +0 -22
- package/src/app/core/icon/icon.module.ts +0 -13
- package/src/app/core/install/install-upgrade-card.component.html +0 -144
- package/src/app/core/install/install-upgrade-card.component.scss +0 -3
- package/src/app/core/install/install-upgrade-card.component.ts +0 -445
- package/src/app/core/install/install-upgrade-card.module.ts +0 -18
- package/src/app/core/menu/menu.component.html +0 -219
- package/src/app/core/menu/menu.component.scss +0 -304
- package/src/app/core/menu/menu.component.ts +0 -251
- package/src/app/core/menu/menu.filter.ts +0 -28
- package/src/app/core/menu/menu.model.ts +0 -356
- package/src/app/core/menu/menu.module.ts +0 -27
- package/src/app/core/menu/menu.service.ts +0 -727
- package/src/app/core/menu/sub-menu-tab.directive.ts +0 -99
- package/src/app/core/menu/testing/menu-other.testing.ts +0 -57
- package/src/app/core/menu/testing/menu.testing.html +0 -143
- package/src/app/core/menu/testing/menu.testing.module.ts +0 -52
- package/src/app/core/menu/testing/menu.testing.scss +0 -5
- package/src/app/core/menu/testing/menu.testing.ts +0 -175
- package/src/app/core/offline/update-offline-mode-card.component.html +0 -39
- package/src/app/core/offline/update-offline-mode-card.component.scss +0 -3
- package/src/app/core/offline/update-offline-mode-card.component.ts +0 -23
- package/src/app/core/offline/update-offline-mode-card.module.ts +0 -20
- package/src/app/core/peer/select-peer.modal.html +0 -317
- package/src/app/core/peer/select-peer.modal.scss +0 -41
- package/src/app/core/peer/select-peer.modal.ts +0 -366
- package/src/app/core/peer/select-peer.module.ts +0 -23
- package/src/app/core/register/register-confirm.page.html +0 -51
- package/src/app/core/register/register-confirm.page.scss +0 -56
- package/src/app/core/register/register-confirm.page.ts +0 -90
- package/src/app/core/register/register.form.html +0 -143
- package/src/app/core/register/register.form.scss +0 -10
- package/src/app/core/register/register.form.ts +0 -218
- package/src/app/core/register/register.modal.html +0 -66
- package/src/app/core/register/register.modal.ts +0 -50
- package/src/app/core/register/register.module.ts +0 -15
- package/src/app/core/services/account.service.ts +0 -1567
- package/src/app/core/services/auth-guard.service.ts +0 -70
- package/src/app/core/services/base-entity-service.class.ts +0 -659
- package/src/app/core/services/base-graphql-service.class.ts +0 -319
- package/src/app/core/services/base58.ts +0 -90
- package/src/app/core/services/config/core.config.ts +0 -263
- package/src/app/core/services/config.service.ts +0 -425
- package/src/app/core/services/crypto.service.ts +0 -126
- package/src/app/core/services/errors.ts +0 -80
- package/src/app/core/services/local-settings.service.spec.ts +0 -39
- package/src/app/core/services/local-settings.service.ts +0 -605
- package/src/app/core/services/model/account.model.ts +0 -188
- package/src/app/core/services/model/config.model.ts +0 -116
- package/src/app/core/services/model/department.model.ts +0 -34
- package/src/app/core/services/model/entity.decorators.ts +0 -110
- package/src/app/core/services/model/entity.model.ts +0 -409
- package/src/app/core/services/model/filter.model.ts +0 -127
- package/src/app/core/services/model/history.model.ts +0 -25
- package/src/app/core/services/model/model.enum.ts +0 -10
- package/src/app/core/services/model/node-feature.model.ts +0 -31
- package/src/app/core/services/model/peer.model.ts +0 -119
- package/src/app/core/services/model/person.model.ts +0 -122
- package/src/app/core/services/model/referential.model.ts +0 -253
- package/src/app/core/services/model/settings.model.ts +0 -37
- package/src/app/core/services/model/token.model.ts +0 -60
- package/src/app/core/services/model/tree-item-entity.model.ts +0 -230
- package/src/app/core/services/network.service.spec.ts +0 -47
- package/src/app/core/services/network.service.ts +0 -761
- package/src/app/core/services/network.types.ts +0 -7
- package/src/app/core/services/network.utils.ts +0 -83
- package/src/app/core/services/pipes/account.pipes.ts +0 -22
- package/src/app/core/services/pipes/department-to-string.pipe.ts +0 -13
- package/src/app/core/services/pipes/person-to-string.pipe.ts +0 -13
- package/src/app/core/services/pipes/pipes.module.ts +0 -30
- package/src/app/core/services/pipes/referential-to-string.pipe.ts +0 -18
- package/src/app/core/services/pipes/usage-mode.pipes.ts +0 -23
- package/src/app/core/services/platform.service.spec.ts +0 -50
- package/src/app/core/services/platform.service.ts +0 -694
- package/src/app/core/services/storage/entities-storage.service.ts +0 -557
- package/src/app/core/services/storage/entity-store.class.ts +0 -589
- package/src/app/core/services/testing/local-settings.config.ts +0 -35
- package/src/app/core/services/testing/referential-filter.model.ts +0 -28
- package/src/app/core/services/testing/referential.validator.ts +0 -58
- package/src/app/core/services/testing/user-settings.config.ts +0 -77
- package/src/app/core/services/validator/account.validator.ts +0 -50
- package/src/app/core/services/validator/base.validator.class.ts +0 -51
- package/src/app/core/services/validator/local-settings.validator.ts +0 -59
- package/src/app/core/services/validator/user-settings.validator.ts +0 -22
- package/src/app/core/services/validator/user-token.validator.ts +0 -54
- package/src/app/core/settings/settings.module.ts +0 -15
- package/src/app/core/settings/settings.page.html +0 -300
- package/src/app/core/settings/settings.page.ts +0 -455
- package/src/app/core/table/async-table.class.ts +0 -2019
- package/src/app/core/table/column/actions-column.component.html +0 -219
- package/src/app/core/table/column/actions-column.component.scss +0 -17
- package/src/app/core/table/column/actions-column.component.ts +0 -83
- package/src/app/core/table/column/nav-actions-column.component.html +0 -119
- package/src/app/core/table/column/nav-actions-column.component.ts +0 -108
- package/src/app/core/table/column/row-field.component.html +0 -43
- package/src/app/core/table/column/row-field.component.scss +0 -0
- package/src/app/core/table/column/row-field.component.ts +0 -63
- package/src/app/core/table/entities-async-table-datasource.class.ts +0 -501
- package/src/app/core/table/entities-table-datasource.class.ts +0 -499
- package/src/app/core/table/memory-table.class.ts +0 -56
- package/src/app/core/table/table-select-columns.component.html +0 -56
- package/src/app/core/table/table-select-columns.component.ts +0 -49
- package/src/app/core/table/table.class.ts +0 -2080
- package/src/app/core/table/table.model.ts +0 -39
- package/src/app/core/table/table.module.ts +0 -28
- package/src/app/core/table/table.pipes.ts +0 -87
- package/src/app/core/table/table.utils.ts +0 -42
- package/src/app/core/table/testing/multi-table.testing.html +0 -456
- package/src/app/core/table/testing/multi-table.testing.ts +0 -263
- package/src/app/core/table/testing/table-validator.service.ts +0 -29
- package/src/app/core/table/testing/table.testing.html +0 -556
- package/src/app/core/table/testing/table.testing.module.ts +0 -16
- package/src/app/core/table/testing/table.testing.scss +0 -32
- package/src/app/core/table/testing/table.testing.ts +0 -329
- package/src/app/core/table/testing/table2-validator.service.ts +0 -19
- package/src/app/core/table/testing/table2.testing.html +0 -470
- package/src/app/core/table/testing/table2.testing.scss +0 -25
- package/src/app/core/table/testing/table2.testing.ts +0 -274
- package/src/app/shared/alerts.ts +0 -296
- package/src/app/shared/audio/audio.testing.html +0 -29
- package/src/app/shared/audio/audio.testing.module.ts +0 -21
- package/src/app/shared/audio/audio.testing.ts +0 -27
- package/src/app/shared/audio/audio.ts +0 -273
- package/src/app/shared/base64.utils.ts +0 -66
- package/src/app/shared/capacitor/keyboard.ts +0 -38
- package/src/app/shared/capacitor/plugins.ts +0 -12
- package/src/app/shared/constants.ts +0 -19
- package/src/app/shared/dates.ts +0 -206
- package/src/app/shared/debug/debug-service.class.ts +0 -7
- package/src/app/shared/debug/debug.component.html +0 -13
- package/src/app/shared/debug/debug.component.scss +0 -21
- package/src/app/shared/debug/debug.component.spec.ts +0 -24
- package/src/app/shared/debug/debug.component.ts +0 -25
- package/src/app/shared/debug/debug.module.ts +0 -14
- package/src/app/shared/directives/autofocus.directive.ts +0 -93
- package/src/app/shared/directives/autoresize.directive.ts +0 -67
- package/src/app/shared/directives/autotitle.directive.ts +0 -17
- package/src/app/shared/directives/directives.module.ts +0 -16
- package/src/app/shared/directives/drag-and-drop.directive.ts +0 -46
- package/src/app/shared/directives/ng-var.directive.ts +0 -31
- package/src/app/shared/directives/resizable/resizable.component.ts +0 -48
- package/src/app/shared/directives/resizable/resizable.directive.ts +0 -43
- package/src/app/shared/directives/resizable/resizable.module.ts +0 -9
- package/src/app/shared/directives/resizable/resizable.style.scss +0 -37
- package/src/app/shared/directives/resizable/resizable.template.html +0 -6
- package/src/app/shared/directives/throttled-click.directive.ts +0 -36
- package/src/app/shared/events.ts +0 -93
- package/src/app/shared/file/csv.utils.ts +0 -123
- package/src/app/shared/file/file.service.ts +0 -129
- package/src/app/shared/file/file.utils.ts +0 -142
- package/src/app/shared/file/images.utils.ts +0 -214
- package/src/app/shared/file/json.utils.ts +0 -82
- package/src/app/shared/file/uri.utils.ts +0 -31
- package/src/app/shared/file/url.utils.ts +0 -163
- package/src/app/shared/focusable.ts +0 -8
- package/src/app/shared/form/field.component.html +0 -380
- package/src/app/shared/form/field.component.scss +0 -7
- package/src/app/shared/form/field.component.ts +0 -344
- package/src/app/shared/form/field.model.ts +0 -158
- package/src/app/shared/form/loading-spinner.ts +0 -16
- package/src/app/shared/forms.ts +0 -577
- package/src/app/shared/functions.spec.ts +0 -197
- package/src/app/shared/functions.ts +0 -694
- package/src/app/shared/geolocation/geolocation.utils.ts +0 -105
- package/src/app/shared/gesture/gesture-config.ts +0 -43
- package/src/app/shared/gesture/hammer.utils.ts +0 -14
- package/src/app/shared/graph/colors.utils.ts +0 -69
- package/src/app/shared/graph/graph-colors.ts +0 -270
- package/src/app/shared/guard/component-dirty.guard.ts +0 -67
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.html +0 -11
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.scss +0 -37
- package/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.ts +0 -14
- package/src/app/shared/hotkeys/hotkeys.service.ts +0 -165
- package/src/app/shared/hotkeys/shared-hotkeys.module.ts +0 -15
- package/src/app/shared/http/http.utils.ts +0 -95
- package/src/app/shared/image/gallery/image-gallery.component.html +0 -282
- package/src/app/shared/image/gallery/image-gallery.component.scss +0 -218
- package/src/app/shared/image/gallery/image-gallery.component.ts +0 -434
- package/src/app/shared/image/gallery/image-gallery.module.ts +0 -35
- package/src/app/shared/image/gallery/testing/gallegry.model.testing.ts +0 -23
- package/src/app/shared/image/gallery/testing/gallery.service.testing.ts +0 -99
- package/src/app/shared/image/gallery/testing/gallery.testing.html +0 -27
- package/src/app/shared/image/gallery/testing/gallery.testing.module.ts +0 -39
- package/src/app/shared/image/gallery/testing/gallery.testing.ts +0 -34
- package/src/app/shared/image/image.model.ts +0 -8
- package/src/app/shared/image/image.module.ts +0 -12
- package/src/app/shared/image/image.service.ts +0 -111
- package/src/app/shared/image/image.testing.module.ts +0 -16
- package/src/app/shared/inputs.ts +0 -330
- package/src/app/shared/interceptors/progess.interceptor.ts +0 -24
- package/src/app/shared/logging/log-level.model.ts +0 -53
- package/src/app/shared/logging/logger.model.ts +0 -117
- package/src/app/shared/logging/logging-service.class.ts +0 -131
- package/src/app/shared/logging/logging-service.config.ts +0 -29
- package/src/app/shared/logging/logging-service.module.ts +0 -19
- package/src/app/shared/markdown/markdown.component.html +0 -55
- package/src/app/shared/markdown/markdown.component.scss +0 -75
- package/src/app/shared/markdown/markdown.component.ts +0 -350
- package/src/app/shared/markdown/markdown.directive.ts +0 -28
- package/src/app/shared/markdown/markdown.modal.html +0 -42
- package/src/app/shared/markdown/markdown.modal.ts +0 -91
- package/src/app/shared/markdown/markdown.module.ts +0 -65
- package/src/app/shared/markdown/markdown.service.ts +0 -234
- package/src/app/shared/markdown/markdown.utils.ts +0 -90
- package/src/app/shared/markdown/testing/markdown.test.html +0 -50
- package/src/app/shared/markdown/testing/markdown.test.ts +0 -49
- package/src/app/shared/markdown/testing/markdown.testing.module.ts +0 -22
- package/src/app/shared/material/autocomplete/material.autocomplete.config.ts +0 -127
- package/src/app/shared/material/autocomplete/material.autocomplete.html +0 -400
- package/src/app/shared/material/autocomplete/material.autocomplete.module.ts +0 -41
- package/src/app/shared/material/autocomplete/material.autocomplete.scss +0 -54
- package/src/app/shared/material/autocomplete/material.autocomplete.ts +0 -1375
- package/src/app/shared/material/autocomplete/material.autocomplete.utils.ts +0 -21
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.html +0 -1164
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.spec.ts +0 -33
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.ts +0 -272
- package/src/app/shared/material/badge/badge.directive.ts +0 -217
- package/src/app/shared/material/badge/badge.module.ts +0 -12
- package/src/app/shared/material/badge/badge.test.html +0 -275
- package/src/app/shared/material/badge/badge.test.ts +0 -34
- package/src/app/shared/material/boolean/boolean.module.ts +0 -36
- package/src/app/shared/material/boolean/material.boolean.html +0 -271
- package/src/app/shared/material/boolean/material.boolean.scss +0 -27
- package/src/app/shared/material/boolean/material.boolean.ts +0 -343
- package/src/app/shared/material/boolean/testing/boolean.test.page.html +0 -469
- package/src/app/shared/material/boolean/testing/boolean.test.page.ts +0 -66
- package/src/app/shared/material/chips/chips.module.ts +0 -38
- package/src/app/shared/material/chips/material.chips.html +0 -233
- package/src/app/shared/material/chips/material.chips.scss +0 -67
- package/src/app/shared/material/chips/material.chips.ts +0 -834
- package/src/app/shared/material/chips/testing/chips.test.html +0 -207
- package/src/app/shared/material/chips/testing/chips.test.ts +0 -169
- package/src/app/shared/material/datetime/datetime.module.ts +0 -42
- package/src/app/shared/material/datetime/material.date.html +0 -186
- package/src/app/shared/material/datetime/material.date.scss +0 -17
- package/src/app/shared/material/datetime/material.date.ts +0 -512
- package/src/app/shared/material/datetime/material.dateshort.html +0 -194
- package/src/app/shared/material/datetime/material.dateshort.scss +0 -23
- package/src/app/shared/material/datetime/material.dateshort.ts +0 -497
- package/src/app/shared/material/datetime/material.datetime.html +0 -325
- package/src/app/shared/material/datetime/material.datetime.scss +0 -87
- package/src/app/shared/material/datetime/material.datetime.ts +0 -758
- package/src/app/shared/material/datetime/testing/mat-date-time.test.html +0 -794
- package/src/app/shared/material/datetime/testing/mat-date-time.test.ts +0 -155
- package/src/app/shared/material/datetime/testing/mat-date.test.html +0 -564
- package/src/app/shared/material/datetime/testing/mat-date.test.ts +0 -145
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.html +0 -530
- package/src/app/shared/material/datetime/testing/mat-dateshort.test.ts +0 -133
- package/src/app/shared/material/duration/duration.module.ts +0 -33
- package/src/app/shared/material/duration/duration.utils.ts +0 -18
- package/src/app/shared/material/duration/material.duration.html +0 -116
- package/src/app/shared/material/duration/material.duration.scss +0 -28
- package/src/app/shared/material/duration/material.duration.ts +0 -308
- package/src/app/shared/material/duration/testing/mat-duration.test.html +0 -170
- package/src/app/shared/material/duration/testing/mat-duration.test.ts +0 -88
- package/src/app/shared/material/latlong/latlong.utils.ts +0 -376
- package/src/app/shared/material/latlong/material.latlong-input.html +0 -95
- package/src/app/shared/material/latlong/material.latlong-input.scss +0 -66
- package/src/app/shared/material/latlong/material.latlong-input.ts +0 -445
- package/src/app/shared/material/latlong/material.latlong.html +0 -90
- package/src/app/shared/material/latlong/material.latlong.module.ts +0 -37
- package/src/app/shared/material/latlong/material.latlong.scss +0 -0
- package/src/app/shared/material/latlong/material.latlong.ts +0 -203
- package/src/app/shared/material/latlong/testing/latlong.test.html +0 -1008
- package/src/app/shared/material/latlong/testing/latlong.test.ts +0 -144
- package/src/app/shared/material/material.animations.ts +0 -269
- package/src/app/shared/material/material.config.ts +0 -5
- package/src/app/shared/material/material.module.ts +0 -94
- package/src/app/shared/material/material.testing.module.ts +0 -192
- package/src/app/shared/material/memory/memory.utils.ts +0 -57
- package/src/app/shared/material/numpad/numpad.animation.ts +0 -1
- package/src/app/shared/material/numpad/numpad.append-to-input.directive.ts +0 -110
- package/src/app/shared/material/numpad/numpad.component.ts +0 -73
- package/src/app/shared/material/numpad/numpad.container.html +0 -37
- package/src/app/shared/material/numpad/numpad.container.scss +0 -55
- package/src/app/shared/material/numpad/numpad.container.ts +0 -152
- package/src/app/shared/material/numpad/numpad.content.html +0 -13
- package/src/app/shared/material/numpad/numpad.content.ts +0 -10
- package/src/app/shared/material/numpad/numpad.directive.ts +0 -159
- package/src/app/shared/material/numpad/numpad.dom-service.ts +0 -35
- package/src/app/shared/material/numpad/numpad.model.ts +0 -53
- package/src/app/shared/material/numpad/numpad.module.ts +0 -18
- package/src/app/shared/material/numpad/testing/numpad.test.html +0 -146
- package/src/app/shared/material/numpad/testing/numpad.test.ts +0 -44
- package/src/app/shared/material/paginator/material.paginator-i18n.ts +0 -47
- package/src/app/shared/material/stepper/material.stepper-i18n.ts +0 -17
- package/src/app/shared/material/swipe/material.swipe.html +0 -85
- package/src/app/shared/material/swipe/material.swipe.scss +0 -55
- package/src/app/shared/material/swipe/material.swipe.ts +0 -366
- package/src/app/shared/material/swipe/swipe.module.ts +0 -29
- package/src/app/shared/material/swipe/testing/swipe.test.html +0 -112
- package/src/app/shared/material/swipe/testing/swipe.test.ts +0 -74
- package/src/app/shared/material/test/test-component.css +0 -22
- package/src/app/shared/material/test/test-component.html +0 -40
- package/src/app/shared/material/test/test-component.ts +0 -295
- package/src/app/shared/material/testing/common.test.html +0 -227
- package/src/app/shared/material/testing/common.test.ts +0 -126
- package/src/app/shared/material/text/testing/text-form.testing.html +0 -213
- package/src/app/shared/material/text/testing/text-form.testing.ts +0 -30
- package/src/app/shared/material/text/text-form.component.html +0 -63
- package/src/app/shared/material/text/text-form.component.scss +0 -8
- package/src/app/shared/material/text/text-form.component.ts +0 -177
- package/src/app/shared/material/text/text-form.module.ts +0 -36
- package/src/app/shared/modules.ts +0 -12
- package/src/app/shared/named-filter/named-filter-selector.component.html +0 -77
- package/src/app/shared/named-filter/named-filter-selector.component.scss +0 -3
- package/src/app/shared/named-filter/named-filter-selector.component.ts +0 -287
- package/src/app/shared/named-filter/named-filter.model.ts +0 -64
- package/src/app/shared/named-filter/named-filter.module.ts +0 -15
- package/src/app/shared/named-filter/named-filter.service.ts +0 -100
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.html +0 -61
- package/src/app/shared/named-filter/testing/named-filter-selector.testing.ts +0 -80
- package/src/app/shared/named-filter/testing/named-filter.testing.module.ts +0 -20
- package/src/app/shared/named-filter/testing/named-filter.testing.service.ts +0 -83
- package/src/app/shared/observables.ts +0 -139
- package/src/app/shared/pipes/arrays.pipe.ts +0 -153
- package/src/app/shared/pipes/badge.pipes.ts +0 -17
- package/src/app/shared/pipes/colors.pipe.ts +0 -24
- package/src/app/shared/pipes/date-diff-duration.pipe.ts +0 -53
- package/src/app/shared/pipes/date-format.pipe.ts +0 -73
- package/src/app/shared/pipes/date-from-now.pipe.ts +0 -17
- package/src/app/shared/pipes/dates.pipe.ts +0 -13
- package/src/app/shared/pipes/display-with.pipe.ts +0 -13
- package/src/app/shared/pipes/duration.pipe.spec.ts +0 -41
- package/src/app/shared/pipes/duration.pipe.ts +0 -28
- package/src/app/shared/pipes/file-size.pipe.ts +0 -50
- package/src/app/shared/pipes/form.pipes.ts +0 -209
- package/src/app/shared/pipes/highlight.pipe.ts +0 -41
- package/src/app/shared/pipes/html.pipes.ts +0 -49
- package/src/app/shared/pipes/latlong-format.pipe.ts +0 -28
- package/src/app/shared/pipes/maps.pipe.ts +0 -41
- package/src/app/shared/pipes/maskito.pipe.ts +0 -68
- package/src/app/shared/pipes/math.pipes.ts +0 -46
- package/src/app/shared/pipes/ng-init.pipe.ts +0 -13
- package/src/app/shared/pipes/number-format.pipe.ts +0 -11
- package/src/app/shared/pipes/observable.pipes.ts +0 -45
- package/src/app/shared/pipes/pipes.module.ts +0 -162
- package/src/app/shared/pipes/property.pipes.ts +0 -115
- package/src/app/shared/pipes/selection.pipes.ts +0 -165
- package/src/app/shared/pipes/string.pipes.ts +0 -128
- package/src/app/shared/pipes/translate-context.pipe.ts +0 -27
- package/src/app/shared/pipes/types.pipes.ts +0 -52
- package/src/app/shared/pipes/url.pipes.ts +0 -36
- package/src/app/shared/platforms.ts +0 -99
- package/src/app/shared/print/print.service.ts +0 -337
- package/src/app/shared/regexps.ts +0 -112
- package/src/app/shared/rx-state/rx-state.decorators.ts +0 -281
- package/src/app/shared/rx-state/rx-state.module.ts +0 -11
- package/src/app/shared/rx-state/rx-state.types.ts +0 -5
- package/src/app/shared/services/entity-service.class.ts +0 -120
- package/src/app/shared/services/job.utils.ts +0 -124
- package/src/app/shared/services/memory-entity-service.class.ts +0 -435
- package/src/app/shared/services/progress-bar.service.ts +0 -40
- package/src/app/shared/services/startable-observable-service.class.ts +0 -129
- package/src/app/shared/services/startable-service.class.ts +0 -120
- package/src/app/shared/services/storage.utils.ts +0 -53
- package/src/app/shared/services/translate-context.service.ts +0 -112
- package/src/app/shared/services/validator-service.class.ts +0 -13
- package/src/app/shared/services.ts +0 -134
- package/src/app/shared/shared-routing.module.ts +0 -69
- package/src/app/shared/shared.module.spec.ts +0 -13
- package/src/app/shared/shared.module.ts +0 -168
- package/src/app/shared/shared.testing.module.ts +0 -61
- package/src/app/shared/storage/storage-explorer.component.html +0 -160
- package/src/app/shared/storage/storage-explorer.component.scss +0 -37
- package/src/app/shared/storage/storage-explorer.component.spec.ts +0 -24
- package/src/app/shared/storage/storage-explorer.component.ts +0 -268
- package/src/app/shared/storage/storage-explorer.module.ts +0 -24
- package/src/app/shared/storage/storage-explorer.testing-routing.module.ts +0 -19
- package/src/app/shared/storage/storage-explorer.testing.module.ts +0 -19
- package/src/app/shared/storage/storage.service.ts +0 -131
- package/src/app/shared/storage/storage.utils.ts +0 -25
- package/src/app/shared/testing/maskito.test.html +0 -40
- package/src/app/shared/testing/maskito.test.ts +0 -33
- package/src/app/shared/testing/observable.test.html +0 -53
- package/src/app/shared/testing/observable.test.scss +0 -3
- package/src/app/shared/testing/observable.test.ts +0 -101
- package/src/app/shared/testing/tests.page.html +0 -22
- package/src/app/shared/testing/tests.page.ts +0 -32
- package/src/app/shared/toast/toast.testing.html +0 -50
- package/src/app/shared/toast/toast.testing.module.ts +0 -22
- package/src/app/shared/toast/toast.testing.ts +0 -52
- package/src/app/shared/toast/toasts.ts +0 -161
- package/src/app/shared/toolbar/modal-toolbar.html +0 -30
- package/src/app/shared/toolbar/modal-toolbar.scss +0 -0
- package/src/app/shared/toolbar/modal-toolbar.ts +0 -64
- package/src/app/shared/toolbar/toolbar.html +0 -68
- package/src/app/shared/toolbar/toolbar.module.ts +0 -18
- package/src/app/shared/toolbar/toolbar.scss +0 -0
- package/src/app/shared/toolbar/toolbar.ts +0 -262
- package/src/app/shared/types.ts +0 -44
- package/src/app/shared/upload-file/testing/upload-file.testing.html +0 -30
- package/src/app/shared/upload-file/testing/upload-file.testing.module.ts +0 -21
- package/src/app/shared/upload-file/testing/upload-file.testing.ts +0 -65
- package/src/app/shared/upload-file/upload-file-popover.component.html +0 -46
- package/src/app/shared/upload-file/upload-file-popover.component.scss +0 -6
- package/src/app/shared/upload-file/upload-file-popover.component.ts +0 -115
- package/src/app/shared/upload-file/upload-file.component.html +0 -57
- package/src/app/shared/upload-file/upload-file.component.scss +0 -60
- package/src/app/shared/upload-file/upload-file.component.ts +0 -222
- package/src/app/shared/upload-file/upload-file.model.ts +0 -40
- package/src/app/shared/validator/form-error-adapter.class.ts +0 -136
- package/src/app/shared/validator/validators.ts +0 -725
- package/src/app/shared/version/versions.ts +0 -89
- package/src/app/social/job/job.module.ts +0 -14
- package/src/app/social/job/progression/job-progression.component.html +0 -19
- package/src/app/social/job/progression/job-progression.component.scss +0 -15
- package/src/app/social/job/progression/job-progression.component.ts +0 -39
- package/src/app/social/job/progression/job-progression.icon.html +0 -30
- package/src/app/social/job/progression/job-progression.icon.scss +0 -7
- package/src/app/social/job/progression/job-progression.icon.ts +0 -276
- package/src/app/social/job/progression/job-progression.list.html +0 -25
- package/src/app/social/job/progression/job-progression.list.scss +0 -17
- package/src/app/social/job/progression/job-progression.list.ts +0 -40
- package/src/app/social/job/progression/job-progression.model.ts +0 -26
- package/src/app/social/job/progression/job-progression.service.ts +0 -97
- package/src/app/social/job/testing/job-progression.testing.html +0 -11
- package/src/app/social/job/testing/job-progression.testing.service.ts +0 -33
- package/src/app/social/job/testing/job-progression.testing.ts +0 -28
- package/src/app/social/job/testing/job.testing.module.ts +0 -13
- package/src/app/social/message/message.form.html +0 -71
- package/src/app/social/message/message.form.scss +0 -6
- package/src/app/social/message/message.form.ts +0 -128
- package/src/app/social/message/message.modal.html +0 -68
- package/src/app/social/message/message.modal.ts +0 -117
- package/src/app/social/message/message.model.ts +0 -78
- package/src/app/social/message/message.module.ts +0 -14
- package/src/app/social/message/message.service.ts +0 -104
- package/src/app/social/social.errors.ts +0 -10
- package/src/app/social/social.module.ts +0 -23
- package/src/app/social/social.testing.module.ts +0 -33
- package/src/app/social/user-event/notification/user-event-notification.icon.html +0 -17
- package/src/app/social/user-event/notification/user-event-notification.icon.ts +0 -112
- package/src/app/social/user-event/notification/user-event-notification.list.html +0 -142
- package/src/app/social/user-event/notification/user-event-notification.list.scss +0 -73
- package/src/app/social/user-event/notification/user-event-notification.list.ts +0 -270
- package/src/app/social/user-event/testing/user-event.testing.html +0 -26
- package/src/app/social/user-event/testing/user-event.testing.model.ts +0 -142
- package/src/app/social/user-event/testing/user-event.testing.module.ts +0 -13
- package/src/app/social/user-event/testing/user-event.testing.service.ts +0 -161
- package/src/app/social/user-event/testing/user-event.testing.ts +0 -282
- package/src/app/social/user-event/user-event.model.ts +0 -55
- package/src/app/social/user-event/user-event.module.ts +0 -15
- package/src/app/social/user-event/user-event.service.ts +0 -686
- package/src/browserslist +0 -9
- package/src/environments/environment.class.ts +0 -106
- package/src/environments/environment.loader.ts +0 -90
- package/src/environments/environment.prod.ts +0 -49
- package/src/environments/environment.test.ts +0 -92
- package/src/environments/environment.ts +0 -126
- package/src/favicon.ico +0 -0
- package/src/global.scss +0 -13
- package/src/index.html +0 -76
- package/src/main.ts +0 -18
- package/src/polyfills.ts +0 -34
- package/src/schema.graphql +0 -4381
- package/src/service-worker.js +0 -31
- package/src/test.ts +0 -30
- package/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -47
- package/tsconfig.spec.json +0 -18
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, numberAttribute, Optional, Output, ViewChild, } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR, Validators } from '@angular/forms';
|
|
3
|
+
import { isBlankString, isNilOrBlank, isNotNil, isNotNilBoolean, isNotNilOrBlank, joinPropertiesPath, toBoolean } from '../functions';
|
|
4
|
+
import { FormFieldDefinitionUtils } from './field.model';
|
|
5
|
+
import { getColorContrast } from '../graph/colors.utils';
|
|
6
|
+
import { asInputElement, filterNumberInput, selectInputContentFromEvent } from '../inputs';
|
|
7
|
+
import { toDateISOString } from '../dates';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@ngx-translate/core";
|
|
10
|
+
import * as i2 from "@angular/forms";
|
|
11
|
+
import * as i3 from "@angular/common";
|
|
12
|
+
import * as i4 from "@ionic/angular";
|
|
13
|
+
import * as i5 from "ngx-color-picker";
|
|
14
|
+
import * as i6 from "@angular/material/form-field";
|
|
15
|
+
import * as i7 from "@angular/material/input";
|
|
16
|
+
import * as i8 from "@angular/material/icon";
|
|
17
|
+
import * as i9 from "@angular/material/button";
|
|
18
|
+
import * as i10 from "@angular/material/select";
|
|
19
|
+
import * as i11 from "@angular/material/core";
|
|
20
|
+
import * as i12 from "../material/autocomplete/material.autocomplete";
|
|
21
|
+
import * as i13 from "../material/datetime/material.date";
|
|
22
|
+
import * as i14 from "../material/datetime/material.datetime";
|
|
23
|
+
import * as i15 from "../material/boolean/material.boolean";
|
|
24
|
+
import * as i16 from "../material/chips/material.chips";
|
|
25
|
+
import * as i17 from "../directives/autofocus.directive";
|
|
26
|
+
import * as i18 from "../pipes/string.pipes";
|
|
27
|
+
import * as i19 from "../pipes/form.pipes";
|
|
28
|
+
import * as i20 from "../pipes/colors.pipe";
|
|
29
|
+
import * as i21 from "../pipes/types.pipes";
|
|
30
|
+
const noop = () => { };
|
|
31
|
+
export class AppFormField {
|
|
32
|
+
translate;
|
|
33
|
+
cd;
|
|
34
|
+
injector;
|
|
35
|
+
formGroupDir;
|
|
36
|
+
_onChangeCallback = noop;
|
|
37
|
+
_onTouchedCallback = noop;
|
|
38
|
+
_definition;
|
|
39
|
+
_values;
|
|
40
|
+
type;
|
|
41
|
+
numberInputStep;
|
|
42
|
+
set definition(value) {
|
|
43
|
+
if (!value || this._definition === value)
|
|
44
|
+
return; // Skip is same or nil
|
|
45
|
+
this._definition = value;
|
|
46
|
+
this._onDefinitionChanged(value);
|
|
47
|
+
}
|
|
48
|
+
get definition() {
|
|
49
|
+
return this._definition;
|
|
50
|
+
}
|
|
51
|
+
readonly = false;
|
|
52
|
+
disabled;
|
|
53
|
+
formControl;
|
|
54
|
+
formControlName;
|
|
55
|
+
placeholder;
|
|
56
|
+
compact = false;
|
|
57
|
+
required;
|
|
58
|
+
hideRequiredMarker = false;
|
|
59
|
+
floatLabel = 'auto';
|
|
60
|
+
label = null;
|
|
61
|
+
appearance;
|
|
62
|
+
subscriptSizing;
|
|
63
|
+
tabindex;
|
|
64
|
+
autofocus;
|
|
65
|
+
clearable;
|
|
66
|
+
chipColor = null;
|
|
67
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
68
|
+
classList;
|
|
69
|
+
debug = false;
|
|
70
|
+
panelClass;
|
|
71
|
+
panelWidth;
|
|
72
|
+
onKeyupEnter = new EventEmitter();
|
|
73
|
+
get value() {
|
|
74
|
+
return this.formControl.value;
|
|
75
|
+
}
|
|
76
|
+
matInput;
|
|
77
|
+
autocompleteField;
|
|
78
|
+
constructor(translate, cd, injector, formGroupDir) {
|
|
79
|
+
this.translate = translate;
|
|
80
|
+
this.cd = cd;
|
|
81
|
+
this.injector = injector;
|
|
82
|
+
this.formGroupDir = formGroupDir;
|
|
83
|
+
}
|
|
84
|
+
ngOnInit() {
|
|
85
|
+
this.checkAndResolveFormControl();
|
|
86
|
+
if (!this._definition)
|
|
87
|
+
throw new Error("Missing mandatory attribute 'definition' in <app-form-field>.");
|
|
88
|
+
if (typeof this._definition !== 'object')
|
|
89
|
+
throw new Error("Invalid attribute 'definition' in <app-form-field>. Should be an object.");
|
|
90
|
+
this._onDefinitionChanged(this._definition, { emitEvent: false });
|
|
91
|
+
}
|
|
92
|
+
writeValue(obj) {
|
|
93
|
+
if ((this.type === 'integer' || this.type === 'double') && Number.isNaN(obj)) {
|
|
94
|
+
// DEBUG
|
|
95
|
+
//if (this.debug) console.debug("WARN: trying to set NaN value, in an <app-form-field>! Reset to null");
|
|
96
|
+
obj = null;
|
|
97
|
+
}
|
|
98
|
+
else if (this.type === 'boolean' && typeof obj === 'string') {
|
|
99
|
+
obj = obj !== 'false';
|
|
100
|
+
}
|
|
101
|
+
else if (this.type === 'date') {
|
|
102
|
+
obj = toDateISOString(obj);
|
|
103
|
+
}
|
|
104
|
+
else if (this.type === 'enums' && isNotNil(obj)) {
|
|
105
|
+
let changes = false;
|
|
106
|
+
if (!Array.isArray(obj)) {
|
|
107
|
+
// Convert string to array
|
|
108
|
+
if (typeof obj === 'string') {
|
|
109
|
+
obj = obj.trim().split(/[|,]+/);
|
|
110
|
+
changes = true;
|
|
111
|
+
}
|
|
112
|
+
// Convert object to array
|
|
113
|
+
else if (typeof obj === 'object') {
|
|
114
|
+
obj = [obj];
|
|
115
|
+
changes = true;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
const updatedArray = (obj || [])
|
|
119
|
+
.map((item) => {
|
|
120
|
+
if (typeof item === 'string') {
|
|
121
|
+
changes = true;
|
|
122
|
+
return this._values.find((v) => v.key === item.trim());
|
|
123
|
+
}
|
|
124
|
+
return item;
|
|
125
|
+
})
|
|
126
|
+
.filter(isNotNil);
|
|
127
|
+
if (changes) {
|
|
128
|
+
obj = updatedArray;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
else if (this.type === 'entity' && isNilOrBlank(obj)) {
|
|
132
|
+
obj = null;
|
|
133
|
+
}
|
|
134
|
+
else if (this.type === 'entities' && isNotNil(obj)) {
|
|
135
|
+
let changes = false;
|
|
136
|
+
if (!Array.isArray(obj)) {
|
|
137
|
+
// Convert string to array
|
|
138
|
+
if (typeof obj === 'string') {
|
|
139
|
+
obj = obj.trim();
|
|
140
|
+
if (obj.startsWith('[') && obj.endsWith(']')) {
|
|
141
|
+
obj = JSON.parse(obj);
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
obj = obj.split(/[|,]+/);
|
|
145
|
+
}
|
|
146
|
+
changes = true;
|
|
147
|
+
}
|
|
148
|
+
// Convert object to array
|
|
149
|
+
else if (typeof obj === 'object') {
|
|
150
|
+
obj = [obj];
|
|
151
|
+
changes = true;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
const updatedArray = (obj || [])
|
|
155
|
+
.map((item) => {
|
|
156
|
+
if (typeof item === 'string' && item.startsWith('{') && item.endsWith('}')) {
|
|
157
|
+
item = JSON.parse(item);
|
|
158
|
+
changes = true;
|
|
159
|
+
return item;
|
|
160
|
+
}
|
|
161
|
+
return item;
|
|
162
|
+
})
|
|
163
|
+
.filter(isNotNilOrBlank);
|
|
164
|
+
if (changes) {
|
|
165
|
+
obj = updatedArray;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
if (obj !== this.formControl.value) {
|
|
169
|
+
// DEBUG
|
|
170
|
+
//if (this.debug) console.debug("Set <app-form-field> value: ", obj);
|
|
171
|
+
this.formControl.patchValue(obj, { emitEvent: false });
|
|
172
|
+
this._onChangeCallback(obj);
|
|
173
|
+
}
|
|
174
|
+
this.cd.markForCheck();
|
|
175
|
+
}
|
|
176
|
+
registerOnChange(fn) {
|
|
177
|
+
this._onChangeCallback = fn;
|
|
178
|
+
}
|
|
179
|
+
registerOnTouched(fn) {
|
|
180
|
+
this._onTouchedCallback = fn;
|
|
181
|
+
}
|
|
182
|
+
setDisabledState(isDisabled) {
|
|
183
|
+
if (this.disabled === isDisabled)
|
|
184
|
+
return;
|
|
185
|
+
this.disabled = isDisabled;
|
|
186
|
+
this.cd.markForCheck();
|
|
187
|
+
}
|
|
188
|
+
markAsTouched() {
|
|
189
|
+
if (this.formControl.touched) {
|
|
190
|
+
this.cd.markForCheck();
|
|
191
|
+
this._onTouchedCallback();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
filterAlphanumericalInput(event) {
|
|
195
|
+
if (event.code === 'Enter' && this.onKeyupEnter.observed) {
|
|
196
|
+
this.onKeyupEnter.emit(event);
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
// Add features (e.g. check against a pattern)
|
|
200
|
+
}
|
|
201
|
+
focus() {
|
|
202
|
+
if (this.matInput)
|
|
203
|
+
this.matInput.nativeElement.focus();
|
|
204
|
+
else if (this.autocompleteField)
|
|
205
|
+
this.autocompleteField.focus();
|
|
206
|
+
}
|
|
207
|
+
filterNumberInput = filterNumberInput;
|
|
208
|
+
selectInputContentFromEvent = selectInputContentFromEvent;
|
|
209
|
+
getDisplayValueFn(definition) {
|
|
210
|
+
if (definition.autocomplete && definition.autocomplete.displayWith) {
|
|
211
|
+
return (obj) => definition.autocomplete.displayWith(obj);
|
|
212
|
+
}
|
|
213
|
+
const attributes = (definition.autocomplete && definition.autocomplete.attributes) || ['label', 'name'];
|
|
214
|
+
return (obj) => obj && joinPropertiesPath(obj, attributes);
|
|
215
|
+
}
|
|
216
|
+
getColorContrast(color) {
|
|
217
|
+
return isNotNilOrBlank(color) ? getColorContrast(color, true) : undefined;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Allow to reload values, if not detected
|
|
221
|
+
*
|
|
222
|
+
* @param value
|
|
223
|
+
*/
|
|
224
|
+
reloadItems(value) {
|
|
225
|
+
if (!this._definition)
|
|
226
|
+
return;
|
|
227
|
+
this._onDefinitionChanged(this._definition);
|
|
228
|
+
if (this.autocompleteField) {
|
|
229
|
+
setTimeout(() => this.autocompleteField?.reloadItems(value));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/* -- protected method -- */
|
|
233
|
+
computeNumberInputStep(definition) {
|
|
234
|
+
if (definition.maximumNumberDecimals > 0) {
|
|
235
|
+
let step = '0.';
|
|
236
|
+
if (definition.maximumNumberDecimals > 1) {
|
|
237
|
+
for (let i = 0; i < definition.maximumNumberDecimals - 1; i++) {
|
|
238
|
+
step += '0';
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
step += '1';
|
|
242
|
+
return step;
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
return '1';
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
checkAndResolveFormControl() {
|
|
249
|
+
if (this.formControl)
|
|
250
|
+
return; // OK, there is a control
|
|
251
|
+
if (this.formGroupDir) {
|
|
252
|
+
// Try to find using definition.key, as formControlName
|
|
253
|
+
if (!this.formControlName && this._definition.key) {
|
|
254
|
+
this.formControlName = this._definition.key;
|
|
255
|
+
}
|
|
256
|
+
const formControlName = (this.formGroupDir.directives || []).find((d) => this.formControlName && d.name === this.formControlName);
|
|
257
|
+
this.formControl = formControlName && formControlName.control;
|
|
258
|
+
if (!this.formControl) {
|
|
259
|
+
this.formControl = this.formGroupDir.form.get(this.formControlName);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
if (!this.formControl) {
|
|
263
|
+
throw new Error("Missing attribute 'formControl' or 'formControlName' in <app-form-field> component.");
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
_onDefinitionChanged(definition, opts) {
|
|
267
|
+
this.type = definition.type;
|
|
268
|
+
if (!this.type)
|
|
269
|
+
throw new Error("Invalid attribute 'definition' in <app-form-field>. Missing type !");
|
|
270
|
+
this.placeholder = this.placeholder || (this._definition.label && this.translate.instant(this._definition.label));
|
|
271
|
+
this.required = isNotNilBoolean(this.required)
|
|
272
|
+
? this.required
|
|
273
|
+
: this._definition.required || this.formControl?.validator === Validators.required || isBlankString(this.required);
|
|
274
|
+
this.disabled = toBoolean(this.disabled, toBoolean(this._definition.disabled, false));
|
|
275
|
+
// double
|
|
276
|
+
if (this.type === 'double') {
|
|
277
|
+
this.numberInputStep = this.computeNumberInputStep(definition);
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
this.numberInputStep = null;
|
|
281
|
+
}
|
|
282
|
+
// enum (or enums)
|
|
283
|
+
if (this.type === 'enum' || this.type === 'enums') {
|
|
284
|
+
// Resolve enum values
|
|
285
|
+
this._values = FormFieldDefinitionUtils.getEnumValues(this.injector, definition.values);
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
this._values = [];
|
|
289
|
+
}
|
|
290
|
+
// Repaint
|
|
291
|
+
if (!opts || opts.emitEvent !== false) {
|
|
292
|
+
this.cd.markForCheck();
|
|
293
|
+
}
|
|
294
|
+
// Recompute tab index, because if type changed, then matInput can have changed
|
|
295
|
+
this.updateTabIndex(100);
|
|
296
|
+
}
|
|
297
|
+
updateTabIndex(timeout) {
|
|
298
|
+
if (this.tabindex && this.tabindex !== -1) {
|
|
299
|
+
setTimeout(() => {
|
|
300
|
+
const element = asInputElement(this.matInput);
|
|
301
|
+
if (element) {
|
|
302
|
+
element.tabIndex = this.tabindex;
|
|
303
|
+
this.cd.markForCheck();
|
|
304
|
+
}
|
|
305
|
+
else if (this.autocompleteField) {
|
|
306
|
+
this.autocompleteField.tabindex = this.tabindex;
|
|
307
|
+
}
|
|
308
|
+
}, timeout || 0);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppFormField, deps: [{ token: i1.TranslateService }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: i2.FormGroupDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: AppFormField, selector: "app-form-field", inputs: { definition: "definition", readonly: ["readonly", "readonly", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], formControl: "formControl", formControlName: "formControlName", placeholder: "placeholder", compact: ["compact", "compact", booleanAttribute], required: ["required", "required", booleanAttribute], hideRequiredMarker: ["hideRequiredMarker", "hideRequiredMarker", booleanAttribute], floatLabel: "floatLabel", label: "label", appearance: "appearance", subscriptSizing: "subscriptSizing", tabindex: ["tabindex", "tabindex", numberAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], chipColor: "chipColor", classList: ["class", "classList"], debug: ["debug", "debug", booleanAttribute], panelClass: "panelClass", panelWidth: "panelWidth" }, outputs: { onKeyupEnter: "keyup.enter" }, providers: [
|
|
313
|
+
{
|
|
314
|
+
provide: NG_VALUE_ACCESSOR,
|
|
315
|
+
useExisting: forwardRef(() => AppFormField),
|
|
316
|
+
multi: true,
|
|
317
|
+
},
|
|
318
|
+
], viewQueries: [{ propertyName: "matInput", first: true, predicate: ["matInput"], descendants: true }, { propertyName: "autocompleteField", first: true, predicate: ["autocompleteField"], descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <!-- integer -->\n <mat-form-field\n *ngSwitchCase=\"'integer'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n\n <input\n matInput\n #matInput\n type=\"number\"\n autocomplete=\"off\"\n [readonly]=\"readonly\"\n [min]=\"definition.minValue\"\n [max]=\"definition.maxValue\"\n pattern=\"-?[0-9]*\"\n step=\"1\"\n [appAutofocus]=\"autofocus\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n (keypress)=\"filterNumberInput($event, false)\"\n [formControl]=\"formControl\"\n [required]=\"required\"\n [tabIndex]=\"tabindex\"\n (click)=\"selectInputContentFromEvent($event)\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('min')\">\n {{ (compact ? 'ERROR.FIELD_MIN_COMPACT' : 'ERROR.FIELD_MIN') | translate: formControl.errors['min'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('max')\">\n {{ (compact ? 'ERROR.FIELD_MAX_COMPACT' : 'ERROR.FIELD_MAX') | translate: formControl.errors['max'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('pattern')\">\n {{ 'ERROR.FIELD_NOT_VALID_INTEGER' | translate }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('integer')\">\n {{ 'ERROR.FIELD_NOT_VALID_INTEGER' | translate }}\n </mat-error>\n\n <button\n matSuffix\n *ngIf=\"clearable\"\n mat-icon-button\n tabindex=\"-1\"\n type=\"button\"\n (click)=\"formControl.reset()\"\n [hidden]=\"formControl.disabled || (formControl | formGetValue | isNilOrBlank)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-form-field>\n\n <!-- double -->\n <mat-form-field\n *ngSwitchCase=\"'double'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n\n <input\n matInput\n #matInput\n type=\"number\"\n decimal=\"true\"\n autocomplete=\"off\"\n [min]=\"definition.minValue\"\n [max]=\"definition.maxValue\"\n [appAutofocus]=\"autofocus\"\n [readonly]=\"readonly\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n [step]=\"numberInputStep\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n (keypress)=\"filterNumberInput($event, true)\"\n [formControl]=\"formControl\"\n [required]=\"required\"\n [tabIndex]=\"tabindex\"\n (click)=\"selectInputContentFromEvent($event)\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('decimal')\" translate>ERROR.FIELD_NOT_VALID_DECIMAL</mat-error>\n <mat-error *ngIf=\"formControl.hasError('min')\">\n {{ (compact ? 'ERROR.FIELD_MIN_COMPACT' : 'ERROR.FIELD_MIN') | translate: formControl.errors['min'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('max')\">\n {{ (compact ? 'ERROR.FIELD_MAX_COMPACT' : 'ERROR.FIELD_MAX') | translate: formControl.errors['max'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('maxDecimals')\">\n {{\n (compact ? 'ERROR.FIELD_MAXIMUM_DECIMALS_COMPACT' : 'ERROR.FIELD_MAXIMUM_DECIMALS')\n | translate: { maxDecimals: definition.maximumNumberDecimals }\n }}\n </mat-error>\n\n <button\n matSuffix\n *ngIf=\"clearable\"\n mat-icon-button\n tabindex=\"-1\"\n type=\"button\"\n (click)=\"formControl.reset()\"\n [hidden]=\"formControl.disabled || (formControl | formGetValue | isNilOrBlank)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-form-field>\n\n <!-- boolean -->\n <mat-boolean-field\n *ngSwitchCase=\"'boolean'\"\n #matInput\n [class]=\"classList\"\n [formControl]=\"formControl\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [required]=\"required\"\n [compact]=\"compact\"\n [tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n >\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-boolean-field>\n\n <!-- date -->\n <mat-date-field\n *ngSwitchCase=\"'date'\"\n #matInput\n [class]=\"classList\"\n [formControl]=\"formControl\"\n [placeholder]=\"compact ? ('COMMON.DATE_PLACEHOLDER' | translate) : placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [required]=\"required\"\n [clearable]=\"clearable\"\n [readonly]=\"readonly\"\n [compact]=\"compact\"\n [tabindex]=\"tabindex\"\n [autofocus]=\"autofocus\"\n >\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-date-field>\n\n <!-- date time -->\n <mat-date-time-field\n *ngSwitchCase=\"'dateTime'\"\n #matInput\n [class]=\"classList\"\n [formControl]=\"formControl\"\n [placeholder]=\"compact ? ('COMMON.DATE_TIME_PLACEHOLDER' | translate) : placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [required]=\"required\"\n [clearable]=\"clearable\"\n [readonly]=\"readonly\"\n [compact]=\"compact\"\n [tabindex]=\"tabindex\"\n [autofocus]=\"autofocus\"\n >\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-date-time-field>\n\n <!-- enum -->\n <mat-form-field\n *ngSwitchCase=\"'enum'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n [class.mat-form-field-disabled]=\"readonly\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n @if (readonly) {\n <input matInput hidden type=\"text\" readonly=\"true\" [formControl]=\"formControl\" />\n <ion-text>{{ formControl.value }}</ion-text>\n } @else {\n <mat-select\n [formControl]=\"formControl\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n >\n <mat-option *ngFor=\"let item of _values\" [value]=\"item.key\">{{ item.value | translate }}</mat-option>\n </mat-select>\n }\n\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n </mat-form-field>\n\n <!-- multi enum -->\n <mat-chips-field\n *ngSwitchCase=\"'enums'\"\n [class]=\"classList\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [formControl]=\"formControl\"\n [clearable]=\"clearable\"\n [items]=\"_values\"\n [displayAttributes]=\"definition.autocomplete?.attributes || ['key', 'value']\"\n [config]=\"definition.autocomplete\"\n [showAllOnFocus]=\"true\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [chipColor]=\"chipColor | matColor\"\n >\n <ng-content select=\"[matPrefix]\"></ng-content>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-chips-field>\n\n <!-- color -->\n <mat-form-field\n *ngSwitchCase=\"'color'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n <ion-icon margin-right name=\"color-fill\" matPrefix></ion-icon>\n\n <input\n matInput\n autocomplete=\"off\"\n [appAutofocus]=\"autofocus\"\n [formControl]=\"formControl\"\n [style.color]=\"getColorContrast(formControl.value)\"\n [style.background]=\"formControl.value\"\n [colorPicker]=\"formControl.value\"\n (colorPickerChange)=\"writeValue($event)\"\n [cpSaveClickOutside]=\"true\"\n cpPosition=\"top\"\n cpOutputFormat=\"hex\"\n [cpOKButton]=\"false\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n </mat-form-field>\n\n <!-- string -->\n <mat-form-field\n *ngSwitchCase=\"'string'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n <input\n matInput\n #matInput\n autocomplete=\"off\"\n [appAutofocus]=\"autofocus\"\n [formControl]=\"formControl\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [tabIndex]=\"tabindex\"\n (click)=\"selectInputContentFromEvent($event)\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n (keypress)=\"filterAlphanumericalInput($event)\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n\n <button\n matSuffix\n *ngIf=\"clearable\"\n mat-icon-button\n tabindex=\"-1\"\n type=\"button\"\n (click)=\"formControl.reset()\"\n [hidden]=\"formControl.disabled || (formControl | formGetValue | isNilOrBlank)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-form-field>\n\n <!-- auto-complete -->\n <mat-autocomplete-field\n *ngSwitchCase=\"'entity'\"\n #autocompleteField\n [class]=\"classList\"\n [autofocus]=\"autofocus\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [formControl]=\"formControl\"\n [config]=\"definition.autocomplete\"\n [required]=\"required\"\n [hideRequiredMarker]=\"hideRequiredMarker\"\n [tabindex]=\"tabindex\"\n [clearable]=\"clearable\"\n [readonly]=\"readonly\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n [displayWith]=\"getDisplayValueFn(definition)\"\n [panelClass]=\"panelClass\"\n [panelWidth]=\"panelWidth\"\n >\n <ng-content select=\"[matPrefix]\"></ng-content>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </mat-autocomplete-field>\n\n <!-- multi auto-complete -->\n <mat-chips-field\n *ngSwitchCase=\"'entities'\"\n [class]=\"classList\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [formControl]=\"formControl\"\n [config]=\"definition.autocomplete\"\n [required]=\"required\"\n [chipColor]=\"chipColor | matColor\"\n [clearable]=\"clearable\"\n [displayWith]=\"getDisplayValueFn(definition)\"\n [readonly]=\"readonly\"\n [panelClass]=\"panelClass\"\n [panelWidth]=\"panelWidth\"\n >\n <ng-content select=\"[matPrefix]\"></ng-content>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-chips-field>\n\n <!-- other -->\n <div *ngSwitchDefault>\n <mat-error *ngIf=\"type\">\n Unknown type {{ type }} for option {{ definition.key }}. Please report this error.\n </mat-error>\n <mat-error *ngIf=\"!type\">Error on option field. Please check console log for details.</mat-error>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:inline-block;position:relative}button[hidden]{display:none}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i4.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i4.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i5.ColorPickerDirective, selector: "[colorPicker]", inputs: ["colorPicker", "cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpEyeDropper", "cpPresetLabel", "cpPresetColors", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "cpArrowPosition", "cpExtraTemplate"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i6.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i6.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i9.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i10.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i11.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i12.MatAutocompleteField, selector: "mat-autocomplete-field", inputs: ["equals", "logPrefix", "formControl", "formControlName", "floatLabel", "label", "appearance", "subscriptSizing", "placeholder", "suggestFn", "required", "hideRequiredMarker", "mobile", "clearable", "debounceTime", "displaySeparator", "displayWith", "displayAttributes", "displayColumnSizes", "displayColumnNames", "highlightAccent", "showAllOnFocus", "showPanelOnFocus", "reloadItemsOnFocus", "clearInvalidValueOnBlur", "autofocus", "config", "i18nPrefix", "noResultMessage", "panelClass", "panelWidth", "disableRipple", "matAutocompletePosition", "multiple", "fetchMoreThreshold", "suggestLengthThreshold", "showLoadingSpinner", "debug", "showSearchBar", "stickySearchBar", "applyImplicitValue", "dropButtonTitle", "clearButtonTitle", "trimSearchText", "splitSearchText", "selectInputContentOnFocus", "selectInputContentOnFocusDelay", "previewImplicitValue", "showFavorites", "toggleFavoriteTitle", "favoriteItems", "colSizes", "class", "filter", "readonly", "tabindex", "items"], outputs: ["click", "blur", "focus", "dropButtonClick", "keydown.escape", "keydown.backspace", "keyup.enter", "selectionChange", "openedChange", "toggleFavorite"] }, { kind: "component", type: i13.MatDate, selector: "mat-date-field", inputs: ["formControl", "formControlName", "placeholder", "floatLabel", "mobile", "compact", "autofocus", "clearable", "required", "startDate", "timezone", "datePickerFilter", "appearance", "subscriptSizing", "readonly", "tabindex"] }, { kind: "component", type: i14.MatDateTime, selector: "mat-date-time-field", inputs: ["placeholder", "floatLabel", "mobile", "compact", "autofocus", "clearable", "startDate", "datePickerFilter", "allowNoTime", "appearance", "subscriptSizing", "formControl", "formControlName", "required", "readonly", "tabindex"] }, { kind: "component", type: i15.MatBooleanField, selector: "mat-boolean-field", inputs: ["disabled", "formControl", "formControlName", "placeholder", "floatLabel", "appearance", "subscriptSizing", "readonly", "required", "compact", "autofocus", "style", "buttonsColCount", "class", "yesLabel", "noLabel", "showButtonIcons", "yesIcon", "noIcon", "clearable", "labelPosition", "tabindex", "showRadio", "value"], outputs: ["keyup.enter", "focus", "blur"] }, { kind: "component", type: i16.MatChipsField, selector: "mat-chips-field", inputs: ["equals", "logPrefix", "formControl", "formControlName", "floatLabel", "placeholder", "suggestFn", "required", "mobile", "readonly", "clearable", "debounceTime", "displaySeparator", "displayWith", "displayAttributes", "displayColumnSizes", "displayColumnNames", "highlightAccent", "showAllOnFocus", "showPanelOnFocus", "autofocus", "config", "i18nPrefix", "noResultMessage", "panelClass", "panelWidth", "disableRipple", "matAutocompletePosition", "itemSize", "fetchMoreThreshold", "suggestLengthThreshold", "showLoadingSpinner", "chipColor", "debug", "applyImplicitValue", "dropButtonTitle", "clearButtonTitle", "trimSearchText", "hideRequiredMarker", "colSizes", "separatorKeysCodes", "appearance", "subscriptSizing", "class", "filter", "tabindex", "items"], outputs: ["click", "blur", "focus", "dropButtonClick", "keydown.escape", "keyup.enter"] }, { kind: "directive", type: i17.AutofocusDirective, selector: "[autofocus], input[appAutofocus]", inputs: ["appAutofocus", "autofocusDelay"] }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "pipe", type: i18.IsNilOrBlankPipe, name: "isNilOrBlank" }, { kind: "pipe", type: i19.FormGetValuePipe, name: "formGetValue" }, { kind: "pipe", type: i20.MatColorPipe, name: "matColor" }, { kind: "pipe", type: i21.AsFloatLabelTypePipe, name: "asFloatLabelType" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
319
|
+
}
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AppFormField, decorators: [{
|
|
321
|
+
type: Component,
|
|
322
|
+
args: [{ selector: 'app-form-field', providers: [
|
|
323
|
+
{
|
|
324
|
+
provide: NG_VALUE_ACCESSOR,
|
|
325
|
+
useExisting: forwardRef(() => AppFormField),
|
|
326
|
+
multi: true,
|
|
327
|
+
},
|
|
328
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"type\">\n <!-- integer -->\n <mat-form-field\n *ngSwitchCase=\"'integer'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n\n <input\n matInput\n #matInput\n type=\"number\"\n autocomplete=\"off\"\n [readonly]=\"readonly\"\n [min]=\"definition.minValue\"\n [max]=\"definition.maxValue\"\n pattern=\"-?[0-9]*\"\n step=\"1\"\n [appAutofocus]=\"autofocus\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n (keypress)=\"filterNumberInput($event, false)\"\n [formControl]=\"formControl\"\n [required]=\"required\"\n [tabIndex]=\"tabindex\"\n (click)=\"selectInputContentFromEvent($event)\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('min')\">\n {{ (compact ? 'ERROR.FIELD_MIN_COMPACT' : 'ERROR.FIELD_MIN') | translate: formControl.errors['min'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('max')\">\n {{ (compact ? 'ERROR.FIELD_MAX_COMPACT' : 'ERROR.FIELD_MAX') | translate: formControl.errors['max'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('pattern')\">\n {{ 'ERROR.FIELD_NOT_VALID_INTEGER' | translate }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('integer')\">\n {{ 'ERROR.FIELD_NOT_VALID_INTEGER' | translate }}\n </mat-error>\n\n <button\n matSuffix\n *ngIf=\"clearable\"\n mat-icon-button\n tabindex=\"-1\"\n type=\"button\"\n (click)=\"formControl.reset()\"\n [hidden]=\"formControl.disabled || (formControl | formGetValue | isNilOrBlank)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-form-field>\n\n <!-- double -->\n <mat-form-field\n *ngSwitchCase=\"'double'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n\n <input\n matInput\n #matInput\n type=\"number\"\n decimal=\"true\"\n autocomplete=\"off\"\n [min]=\"definition.minValue\"\n [max]=\"definition.maxValue\"\n [appAutofocus]=\"autofocus\"\n [readonly]=\"readonly\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n [step]=\"numberInputStep\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n (keypress)=\"filterNumberInput($event, true)\"\n [formControl]=\"formControl\"\n [required]=\"required\"\n [tabIndex]=\"tabindex\"\n (click)=\"selectInputContentFromEvent($event)\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('decimal')\" translate>ERROR.FIELD_NOT_VALID_DECIMAL</mat-error>\n <mat-error *ngIf=\"formControl.hasError('min')\">\n {{ (compact ? 'ERROR.FIELD_MIN_COMPACT' : 'ERROR.FIELD_MIN') | translate: formControl.errors['min'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('max')\">\n {{ (compact ? 'ERROR.FIELD_MAX_COMPACT' : 'ERROR.FIELD_MAX') | translate: formControl.errors['max'] }}\n </mat-error>\n <mat-error *ngIf=\"formControl.hasError('maxDecimals')\">\n {{\n (compact ? 'ERROR.FIELD_MAXIMUM_DECIMALS_COMPACT' : 'ERROR.FIELD_MAXIMUM_DECIMALS')\n | translate: { maxDecimals: definition.maximumNumberDecimals }\n }}\n </mat-error>\n\n <button\n matSuffix\n *ngIf=\"clearable\"\n mat-icon-button\n tabindex=\"-1\"\n type=\"button\"\n (click)=\"formControl.reset()\"\n [hidden]=\"formControl.disabled || (formControl | formGetValue | isNilOrBlank)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-form-field>\n\n <!-- boolean -->\n <mat-boolean-field\n *ngSwitchCase=\"'boolean'\"\n #matInput\n [class]=\"classList\"\n [formControl]=\"formControl\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [required]=\"required\"\n [compact]=\"compact\"\n [tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n >\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-boolean-field>\n\n <!-- date -->\n <mat-date-field\n *ngSwitchCase=\"'date'\"\n #matInput\n [class]=\"classList\"\n [formControl]=\"formControl\"\n [placeholder]=\"compact ? ('COMMON.DATE_PLACEHOLDER' | translate) : placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [required]=\"required\"\n [clearable]=\"clearable\"\n [readonly]=\"readonly\"\n [compact]=\"compact\"\n [tabindex]=\"tabindex\"\n [autofocus]=\"autofocus\"\n >\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-date-field>\n\n <!-- date time -->\n <mat-date-time-field\n *ngSwitchCase=\"'dateTime'\"\n #matInput\n [class]=\"classList\"\n [formControl]=\"formControl\"\n [placeholder]=\"compact ? ('COMMON.DATE_TIME_PLACEHOLDER' | translate) : placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [required]=\"required\"\n [clearable]=\"clearable\"\n [readonly]=\"readonly\"\n [compact]=\"compact\"\n [tabindex]=\"tabindex\"\n [autofocus]=\"autofocus\"\n >\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-date-time-field>\n\n <!-- enum -->\n <mat-form-field\n *ngSwitchCase=\"'enum'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n [class.mat-form-field-disabled]=\"readonly\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n @if (readonly) {\n <input matInput hidden type=\"text\" readonly=\"true\" [formControl]=\"formControl\" />\n <ion-text>{{ formControl.value }}</ion-text>\n } @else {\n <mat-select\n [formControl]=\"formControl\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n >\n <mat-option *ngFor=\"let item of _values\" [value]=\"item.key\">{{ item.value | translate }}</mat-option>\n </mat-select>\n }\n\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n </mat-form-field>\n\n <!-- multi enum -->\n <mat-chips-field\n *ngSwitchCase=\"'enums'\"\n [class]=\"classList\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [formControl]=\"formControl\"\n [clearable]=\"clearable\"\n [items]=\"_values\"\n [displayAttributes]=\"definition.autocomplete?.attributes || ['key', 'value']\"\n [config]=\"definition.autocomplete\"\n [showAllOnFocus]=\"true\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [chipColor]=\"chipColor | matColor\"\n >\n <ng-content select=\"[matPrefix]\"></ng-content>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-chips-field>\n\n <!-- color -->\n <mat-form-field\n *ngSwitchCase=\"'color'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n <ion-icon margin-right name=\"color-fill\" matPrefix></ion-icon>\n\n <input\n matInput\n autocomplete=\"off\"\n [appAutofocus]=\"autofocus\"\n [formControl]=\"formControl\"\n [style.color]=\"getColorContrast(formControl.value)\"\n [style.background]=\"formControl.value\"\n [colorPicker]=\"formControl.value\"\n (colorPickerChange)=\"writeValue($event)\"\n [cpSaveClickOutside]=\"true\"\n cpPosition=\"top\"\n cpOutputFormat=\"hex\"\n [cpOKButton]=\"false\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n </mat-form-field>\n\n <!-- string -->\n <mat-form-field\n *ngSwitchCase=\"'string'\"\n [floatLabel]=\"floatLabel | asFloatLabelType\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [class]=\"classList\"\n >\n @if (placeholder && floatLabel !== 'never') {\n <mat-label>{{ placeholder }}</mat-label>\n }\n <input\n matInput\n #matInput\n autocomplete=\"off\"\n [appAutofocus]=\"autofocus\"\n [formControl]=\"formControl\"\n [placeholder]=\"floatLabel === 'never' ? placeholder : null\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [tabIndex]=\"tabindex\"\n (click)=\"selectInputContentFromEvent($event)\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n (keypress)=\"filterAlphanumericalInput($event)\"\n />\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n\n <button\n matSuffix\n *ngIf=\"clearable\"\n mat-icon-button\n tabindex=\"-1\"\n type=\"button\"\n (click)=\"formControl.reset()\"\n [hidden]=\"formControl.disabled || (formControl | formGetValue | isNilOrBlank)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-form-field>\n\n <!-- auto-complete -->\n <mat-autocomplete-field\n *ngSwitchCase=\"'entity'\"\n #autocompleteField\n [class]=\"classList\"\n [autofocus]=\"autofocus\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [formControl]=\"formControl\"\n [config]=\"definition.autocomplete\"\n [required]=\"required\"\n [hideRequiredMarker]=\"hideRequiredMarker\"\n [tabindex]=\"tabindex\"\n [clearable]=\"clearable\"\n [readonly]=\"readonly\"\n (keyup.enter)=\"onKeyupEnter.emit($event)\"\n [displayWith]=\"getDisplayValueFn(definition)\"\n [panelClass]=\"panelClass\"\n [panelWidth]=\"panelWidth\"\n >\n <ng-content select=\"[matPrefix]\"></ng-content>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </mat-autocomplete-field>\n\n <!-- multi auto-complete -->\n <mat-chips-field\n *ngSwitchCase=\"'entities'\"\n [class]=\"classList\"\n [placeholder]=\"placeholder\"\n [floatLabel]=\"floatLabel\"\n [appearance]=\"appearance\"\n [subscriptSizing]=\"subscriptSizing\"\n [formControl]=\"formControl\"\n [config]=\"definition.autocomplete\"\n [required]=\"required\"\n [chipColor]=\"chipColor | matColor\"\n [clearable]=\"clearable\"\n [displayWith]=\"getDisplayValueFn(definition)\"\n [readonly]=\"readonly\"\n [panelClass]=\"panelClass\"\n [panelWidth]=\"panelWidth\"\n >\n <ng-content select=\"[matPrefix]\"></ng-content>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </mat-chips-field>\n\n <!-- other -->\n <div *ngSwitchDefault>\n <mat-error *ngIf=\"type\">\n Unknown type {{ type }} for option {{ definition.key }}. Please report this error.\n </mat-error>\n <mat-error *ngIf=\"!type\">Error on option field. Please check console log for details.</mat-error>\n <div matSuffix>\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:inline-block;position:relative}button[hidden]{display:none}\n"] }]
|
|
329
|
+
}], ctorParameters: () => [{ type: i1.TranslateService }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: i2.FormGroupDirective, decorators: [{
|
|
330
|
+
type: Optional
|
|
331
|
+
}] }], propDecorators: { definition: [{
|
|
332
|
+
type: Input
|
|
333
|
+
}], readonly: [{
|
|
334
|
+
type: Input,
|
|
335
|
+
args: [{ transform: booleanAttribute }]
|
|
336
|
+
}], disabled: [{
|
|
337
|
+
type: Input,
|
|
338
|
+
args: [{ transform: booleanAttribute }]
|
|
339
|
+
}], formControl: [{
|
|
340
|
+
type: Input
|
|
341
|
+
}], formControlName: [{
|
|
342
|
+
type: Input
|
|
343
|
+
}], placeholder: [{
|
|
344
|
+
type: Input
|
|
345
|
+
}], compact: [{
|
|
346
|
+
type: Input,
|
|
347
|
+
args: [{ transform: booleanAttribute }]
|
|
348
|
+
}], required: [{
|
|
349
|
+
type: Input,
|
|
350
|
+
args: [{ transform: booleanAttribute }]
|
|
351
|
+
}], hideRequiredMarker: [{
|
|
352
|
+
type: Input,
|
|
353
|
+
args: [{ transform: booleanAttribute }]
|
|
354
|
+
}], floatLabel: [{
|
|
355
|
+
type: Input
|
|
356
|
+
}], label: [{
|
|
357
|
+
type: Input
|
|
358
|
+
}], appearance: [{
|
|
359
|
+
type: Input
|
|
360
|
+
}], subscriptSizing: [{
|
|
361
|
+
type: Input
|
|
362
|
+
}], tabindex: [{
|
|
363
|
+
type: Input,
|
|
364
|
+
args: [{ transform: numberAttribute }]
|
|
365
|
+
}], autofocus: [{
|
|
366
|
+
type: Input,
|
|
367
|
+
args: [{ transform: booleanAttribute }]
|
|
368
|
+
}], clearable: [{
|
|
369
|
+
type: Input,
|
|
370
|
+
args: [{ transform: booleanAttribute }]
|
|
371
|
+
}], chipColor: [{
|
|
372
|
+
type: Input
|
|
373
|
+
}], classList: [{
|
|
374
|
+
type: Input,
|
|
375
|
+
args: ['class']
|
|
376
|
+
}], debug: [{
|
|
377
|
+
type: Input,
|
|
378
|
+
args: [{ transform: booleanAttribute }]
|
|
379
|
+
}], panelClass: [{
|
|
380
|
+
type: Input
|
|
381
|
+
}], panelWidth: [{
|
|
382
|
+
type: Input
|
|
383
|
+
}], onKeyupEnter: [{
|
|
384
|
+
type: Output,
|
|
385
|
+
args: ['keyup.enter']
|
|
386
|
+
}], matInput: [{
|
|
387
|
+
type: ViewChild,
|
|
388
|
+
args: ['matInput']
|
|
389
|
+
}], autocompleteField: [{
|
|
390
|
+
type: ViewChild,
|
|
391
|
+
args: ['autocompleteField']
|
|
392
|
+
}] } });
|
|
393
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9zaGFyZWQvZm9ybS9maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL3NoYXJlZC9mb3JtL2ZpZWxkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsdUJBQXVCLEVBRXZCLFNBQVMsRUFFVCxZQUFZLEVBQ1osVUFBVSxFQUVWLEtBQUssRUFDTCxlQUFlLEVBRWYsUUFBUSxFQUNSLE1BQU0sRUFDTixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUE0QyxpQkFBaUIsRUFBc0IsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0gsT0FBTyxFQUFFLGFBQWEsRUFBRSxZQUFZLEVBQUUsUUFBUSxFQUFFLGVBQWUsRUFBRSxlQUFlLEVBQUUsa0JBQWtCLEVBQUUsU0FBUyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3RJLE9BQU8sRUFBcUQsd0JBQXdCLEVBQ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uICAgICAgaWYgKCFBcnJheS5pc0FycmF5KG9iaikpIHtcbiAgICAgICAgLy8gQ29udmVydCBzdHJpbmcgdG8gYXJyYXlcbiAgICAgICAgaWYgKHR5cGVvZiBvYmogPT09ICdzdHJpbmcnKSB7XG4gICAgICAgICAgb2JqID0gb2JqLnRyaW0oKS5zcGxpdCgvW3wsXSsvKTtcbiAgICAgICAgICBjaGFuZ2VzID0gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgICAvLyBDb252ZXJ0IG9iamVjdCB0byBhcnJheVxuICAgICAgICBlbHNlIGlmICh0eXBlb2Ygb2JqID09PSAnb2JqZWN0Jykge1xuICAgICAgICAgIG9iaiA9IFtvYmpdO1xuICAgICAgICAgIGNoYW5nZXMgPSB0cnVlO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgICBjb25zdCB1cGRhdGVkQXJyYXkgPSAob2JqIHx8IFtdKVxuICAgICAgICAubWFwKChpdGVtKSA9PiB7XG4gICAgICAgICAgaWYgKHR5cGVvZiBpdGVtID09PSAnc3RyaW5nJykge1xuICAgICAgICAgICAgY2hhbmdlcyA9IHRydWU7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5fdmFsdWVzLmZpbmQoKHYpID0+IHYua2V5ID09PSBpdGVtLnRyaW0oKSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiBpdGVtO1xuICAgICAgICB9KVxuICAgICAgICAuZmlsdGVyKGlzTm90TmlsKTtcbiAgICAgIGlmIChjaGFuZ2VzKSB7XG4gICAgICAgIG9iaiA9IHVwZGF0ZWRBcnJheTtcbiAgICAgIH1cbiAgICB9IGVsc2UgaWYgKHRoaXMudHlwZSA9PT0gJ2VudGl0eScgJiYgaXNOaWxPckJsYW5rKG9iaikpIHtcbiAgICAgIG9iaiA9IG51bGw7XG4gICAgfSBlbHNlIGlmICh0aGlzLnR5cGUgPT09ICdlbnRpdGllcycgJiYgaXNOb3ROaWwob2JqKSkge1xuICAgICAgbGV0IGNoYW5nZXMgPSBmYWxzZTtcblxuICAgICAgaWYgKCFBcnJheS5pc0FycmF5KG9iaikpIHtcbiAgICAgICAgLy8gQ29udmVydCBzdHJpbmcgdG8gYXJyYXlcbiAgICAgICAgaWYgKHR5cGVvZiBvYmogPT09ICdzdHJpbmcnKSB7XG4gICAgICAgICAgb2JqID0gb2JqLnRyaW0oKTtcbiAgICAgICAgICBpZiAob2JqLnN0YXJ0c1dpdGgoJ1snKSAmJiBvYmouZW5kc1dpdGgoJ10nKSkge1xuICAgICAgICAgICAgb2JqID0gSlNPTi5wYXJzZShvYmopO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBvYmogPSBvYmouc3BsaXQoL1t8LF0rLyk7XG4gICAgICAgICAgfVxuICAgICAgICAgIGNoYW5nZXMgPSB0cnVlO1xuICAgICAgICB9XG4gICAgICAgIC8vIENvbnZlcnQgb2JqZWN0IHRvIGFycmF5XG4gICAgICAgIGVsc2UgaWYgKHR5cGVvZiBvYmogPT09ICdvYmplY3QnKSB7XG4gICAgICAgICAgb2JqID0gW29ial07XG4gICAgICAgICAgY2hhbmdlcyA9IHRydWU7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgIGNvbnN0IHVwZGF0ZWRBcnJheSA9IChvYmogfHwgW10pXG4gICAgICAgIC5tYXAoKGl0ZW0pID0+IHtcbiAgICAgICAgICBpZiAodHlwZW9mIGl0ZW0gPT09ICdzdHJpbmcnICYmIGl0ZW0uc3RhcnRzV2l0aCgneycpICYmIGl0ZW0uZW5kc1dpdGgoJ30nKSkge1xuICAgICAgICAgICAgaXRlbSA9IEpTT04ucGFyc2UoaXRlbSk7XG4gICAgICAgICAgICBjaGFuZ2VzID0gdHJ1ZTtcbiAgICAgICAgICAgIHJldHVybiBpdGVtO1xuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gaXRlbTtcbiAgICAgICAgfSlcbiAgICAgICAgLmZpbHRlcihpc05vdE5pbE9yQmxhbmspO1xuICAgICAgaWYgKG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