@sumaris-net/ngx-components 2.0.0-rc9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/esm2020/public_api.mjs +35 -22
- package/esm2020/src/app/admin/admin-routing.module.mjs +6 -6
- package/esm2020/src/app/admin/admin.module.mjs +6 -6
- package/esm2020/src/app/admin/services/person.service.mjs +3 -3
- package/esm2020/src/app/admin/services/validator/person.validator.mjs +3 -3
- package/esm2020/src/app/admin/users/users.mjs +233 -0
- package/esm2020/src/app/admin/users/users.module.mjs +54 -0
- package/esm2020/src/app/core/about/about.modal.mjs +71 -0
- package/esm2020/src/app/core/about/about.module.mjs +34 -0
- package/esm2020/src/app/core/account/account.module.mjs +43 -0
- package/esm2020/src/app/core/account/account.page.mjs +239 -0
- package/esm2020/src/app/core/auth/auth.form.mjs +131 -0
- package/esm2020/src/app/core/auth/auth.modal.mjs +72 -0
- package/esm2020/src/app/core/auth/auth.module.mjs +47 -0
- package/esm2020/src/app/core/core.module.mjs +86 -125
- package/esm2020/src/app/core/core.testing.module.mjs +7 -7
- package/esm2020/src/app/core/form/{form-buttons-bar.component.mjs → buttons/form-buttons-bar.component.mjs} +7 -7
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.module.mjs +35 -0
- package/esm2020/src/app/core/form/entity/editor.class.mjs +675 -0
- package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +421 -0
- package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +646 -0
- package/esm2020/src/app/core/form/{entity-metadata.component.mjs → entity/entity-metadata.component.mjs} +6 -6
- package/esm2020/src/app/core/form/entity/entity.module.mjs +38 -0
- package/esm2020/src/app/core/form/form.class.mjs +4 -4
- package/esm2020/src/app/core/form/form.module.mjs +66 -0
- package/esm2020/src/app/core/form/list/list.form.mjs +222 -0
- package/esm2020/src/app/core/form/list/list.module.mjs +35 -0
- package/esm2020/src/app/core/form/properties/properties.form.mjs +3 -3
- package/esm2020/src/app/core/form/properties/properties.module.mjs +35 -0
- package/esm2020/src/app/core/form/properties/property.validator.mjs +4 -4
- package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +3 -3
- package/esm2020/src/app/core/form/properties/testing/properties-form.testing.module.mjs +4 -4
- package/esm2020/src/app/core/{text-popover → form/text-popover}/testing/text-popover.testing.mjs +4 -4
- package/esm2020/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +45 -0
- package/esm2020/src/app/core/form/text-popover/text-form.component.mjs +89 -0
- package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +105 -0
- package/esm2020/src/app/core/form/text-popover/text-popover.module.mjs +40 -0
- package/esm2020/src/app/core/graphql/graphql.module.mjs +4 -4
- package/esm2020/src/app/core/graphql/graphql.service.mjs +12 -7
- package/esm2020/src/app/core/graphql/graphql.utils.mjs +2 -2
- package/esm2020/src/app/core/home/home.mjs +8 -8
- package/esm2020/src/app/core/home/home.module.mjs +48 -0
- package/esm2020/src/app/core/icon/icon.component.mjs +3 -3
- package/esm2020/src/app/core/icon/icon.module.mjs +4 -4
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +3 -3
- package/esm2020/src/app/core/install/install-upgrade-card.module.mjs +17 -15
- package/esm2020/src/app/core/menu/menu.component.mjs +5 -5
- package/esm2020/src/app/core/menu/menu.module.mjs +9 -10
- package/esm2020/src/app/core/menu/menu.service.mjs +3 -3
- package/esm2020/src/app/core/offline/update-offline-mode-card.component.mjs +3 -3
- package/esm2020/src/app/core/offline/update-offline-mode-card.module.mjs +35 -0
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +55 -11
- package/esm2020/src/app/core/peer/select-peer.module.mjs +17 -10
- package/esm2020/src/app/core/register/register-confirm.page.mjs +81 -0
- package/esm2020/src/app/core/register/register.form.mjs +181 -0
- package/esm2020/src/app/core/register/register.modal.mjs +52 -0
- package/esm2020/src/app/core/register/register.module.mjs +17 -15
- package/esm2020/src/app/core/services/account.service.mjs +22 -23
- package/esm2020/src/app/core/services/auth-guard.service.mjs +6 -6
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +3 -3
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +8 -8
- package/esm2020/src/app/core/services/base58.mjs +2 -2
- package/esm2020/src/app/core/services/config.service.mjs +4 -4
- package/esm2020/src/app/core/services/crypto.service.mjs +82 -97
- package/esm2020/src/app/core/services/local-settings.service.mjs +8 -10
- package/esm2020/src/app/core/services/model/entity.decorators.mjs +44 -54
- package/esm2020/src/app/core/services/model/peer.model.mjs +3 -3
- package/esm2020/src/app/core/services/network.service.mjs +7 -7
- package/esm2020/src/app/core/services/pipes/account.pipes.mjs +8 -8
- package/esm2020/src/app/core/services/pipes/department-to-string.pipe.mjs +4 -4
- package/esm2020/src/app/core/services/pipes/person-to-string.pipe.mjs +4 -4
- package/esm2020/src/app/core/services/pipes/usage-mode.pipes.mjs +8 -8
- package/esm2020/src/app/core/services/platform.service.mjs +9 -10
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +3 -3
- package/esm2020/src/app/core/services/storage/entity-store.class.mjs +4 -4
- package/esm2020/src/app/core/services/testing/referential.validator.mjs +3 -3
- package/esm2020/src/app/core/services/validator/account.validator.mjs +3 -3
- package/esm2020/src/app/core/services/validator/base.validator.class.mjs +3 -3
- package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +3 -3
- package/esm2020/src/app/core/services/validator/user-settings.validator.mjs +3 -3
- package/esm2020/src/app/core/settings/settings.module.mjs +34 -0
- package/esm2020/src/app/core/settings/settings.page.mjs +12 -9
- package/esm2020/src/app/core/table/actions-column.component.mjs +3 -3
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +13 -8
- package/esm2020/src/app/core/table/memory-table.class.mjs +3 -3
- package/esm2020/src/app/core/table/table-select-columns.component.mjs +3 -3
- package/esm2020/src/app/core/table/table.class.mjs +11 -16
- package/esm2020/src/app/core/table/table.module.mjs +40 -0
- package/esm2020/src/app/core/table/testing/table.testing.mjs +8 -8
- package/esm2020/src/app/core/table/testing/table.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/audio/audio.mjs +3 -3
- package/esm2020/src/app/shared/audio/audio.testing.mjs +3 -3
- package/esm2020/src/app/shared/audio/audio.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/capacitor/keyboard.mjs +3 -3
- package/esm2020/src/app/shared/constants.mjs +4 -2
- package/esm2020/src/app/shared/dates.mjs +20 -14
- package/esm2020/src/app/shared/debug/debug.component.mjs +3 -3
- package/esm2020/src/app/shared/debug/debug.module.mjs +4 -4
- package/esm2020/src/app/shared/directives/autofocus.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/autotitle.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/directives.module.mjs +4 -4
- package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/ng-var.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/resizable/resizable.component.mjs +3 -3
- package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +3 -3
- package/esm2020/src/app/shared/directives/resizable/resizable.module.mjs +4 -4
- package/esm2020/src/app/shared/file/file.service.mjs +5 -5
- package/esm2020/src/app/shared/form/field.component.mjs +3 -3
- package/esm2020/src/app/shared/form/loading-spinner.mjs +3 -3
- package/esm2020/src/app/shared/gesture/gesture-config.mjs +3 -3
- package/esm2020/src/app/shared/guard/component-dirty.guard.mjs +3 -3
- package/esm2020/src/app/shared/help/help.modal.mjs +3 -3
- package/esm2020/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +3 -3
- package/esm2020/src/app/shared/hotkeys/hotkeys.service.mjs +3 -3
- package/esm2020/src/app/shared/hotkeys/shared-hotkeys.module.mjs +4 -4
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +134 -60
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +19 -7
- package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +3 -3
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +13 -7
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/image/image.module.mjs +5 -5
- package/esm2020/src/app/shared/image/image.service.mjs +3 -3
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +7 -6
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +4 -4
- package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +3 -3
- package/esm2020/src/app/shared/material/badge/badge.directive.mjs +3 -3
- package/esm2020/src/app/shared/material/badge/badge.module.mjs +4 -4
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +3 -3
- package/esm2020/src/app/shared/material/boolean/boolean.module.mjs +4 -4
- package/esm2020/src/app/shared/material/boolean/material.boolean.mjs +5 -5
- package/esm2020/src/app/shared/material/chips/chips.module.mjs +4 -4
- package/esm2020/src/app/shared/material/chips/material.chips.mjs +5 -5
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +3 -3
- package/esm2020/src/app/shared/material/datetime/datetime.module.mjs +4 -4
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +7 -8
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +6 -6
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +7 -8
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +5 -7
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +7 -8
- package/esm2020/src/app/shared/material/duration/duration.module.mjs +4 -4
- package/esm2020/src/app/shared/material/duration/material.duration.mjs +3 -3
- package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +3 -3
- package/esm2020/src/app/shared/material/latlong/material.latlong.module.mjs +4 -4
- package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +3 -3
- package/esm2020/src/app/shared/material/material.module.mjs +4 -4
- package/esm2020/src/app/shared/material/material.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/numpad.append-to-input.directive.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.component.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.container.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.content.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.directive.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.dom-service.mjs +3 -3
- package/esm2020/src/app/shared/material/numpad/numpad.module.mjs +4 -4
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +3 -3
- package/esm2020/src/app/shared/material/paginator/material.paginator-i18n.mjs +3 -3
- package/esm2020/src/app/shared/material/stepper/material.stepper-i18n.mjs +3 -3
- package/esm2020/src/app/shared/material/swipe/material.swipe.mjs +3 -3
- package/esm2020/src/app/shared/material/swipe/swipe.module.mjs +4 -4
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +7 -8
- package/esm2020/src/app/shared/modules.mjs +11 -0
- package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +24 -24
- package/esm2020/src/app/shared/pipes/colors.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/date-diff-duration.pipe.mjs +8 -9
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/date-from-now.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/duration.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/file-size.pipe.mjs +3 -3
- package/esm2020/src/app/shared/pipes/form.pipes.mjs +18 -18
- package/esm2020/src/app/shared/pipes/highlight.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/latlong-format.pipe.mjs +9 -9
- package/esm2020/src/app/shared/pipes/maps.pipe.mjs +12 -12
- package/esm2020/src/app/shared/pipes/math.pipes.mjs +12 -12
- package/esm2020/src/app/shared/pipes/ng-init.pipe.mjs +3 -3
- package/esm2020/src/app/shared/pipes/number-format.pipe.mjs +4 -4
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +14 -6
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +7 -7
- package/esm2020/src/app/shared/pipes/string.pipes.mjs +43 -17
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +8 -8
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +3 -3
- package/esm2020/src/app/shared/services/progress-bar.service.mjs +3 -3
- package/esm2020/src/app/shared/services/storage/storage.service.mjs +3 -3
- package/esm2020/src/app/shared/services/translate-context.service.mjs +3 -3
- package/esm2020/src/app/shared/shared-routing.module.mjs +7 -7
- package/esm2020/src/app/shared/shared.module.mjs +9 -5
- package/esm2020/src/app/shared/shared.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/testing/observable.test.mjs +6 -7
- package/esm2020/src/app/shared/testing/tests.page.mjs +3 -3
- package/esm2020/src/app/shared/toast/toast.testing.mjs +3 -3
- package/esm2020/src/app/shared/toast/toast.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/toast/toasts.mjs +1 -1
- package/esm2020/src/app/shared/toolbar/modal-toolbar.mjs +3 -3
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +3 -3
- package/esm2020/src/app/shared/toolbar/toolbar.module.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +3 -3
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +4 -4
- package/esm2020/src/app/shared/upload-file/upload-file-popover.component.mjs +5 -5
- package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +3 -3
- package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +3 -3
- package/esm2020/src/app/shared/validator/validators.mjs +4 -5
- package/esm2020/src/app/social/job/job.module.mjs +4 -4
- package/esm2020/src/app/social/job/job.service.mjs +3 -3
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +3 -3
- package/esm2020/src/app/social/job/progression/job-progression.list.mjs +3 -3
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +3 -3
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +3 -3
- package/esm2020/src/app/social/job/testing/job.testing.module.mjs +4 -4
- package/esm2020/src/app/social/message/message.form.mjs +3 -3
- package/esm2020/src/app/social/message/message.modal.mjs +3 -3
- package/esm2020/src/app/social/message/message.module.mjs +4 -4
- package/esm2020/src/app/social/message/message.service.mjs +3 -3
- package/esm2020/src/app/social/social.module.mjs +4 -4
- package/esm2020/src/app/social/social.testing.module.mjs +4 -4
- package/esm2020/src/app/social/user-event/notification/user-event-notification.icon.mjs +3 -3
- package/esm2020/src/app/social/user-event/notification/user-event-notification.list.mjs +6 -6
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +13 -12
- package/esm2020/src/app/social/user-event/testing/user-event.testing.module.mjs +4 -4
- package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +3 -3
- package/esm2020/src/app/social/user-event/user-event.module.mjs +4 -4
- package/esm2020/src/app/social/user-event/user-event.service.mjs +6 -8
- package/fesm2015/sumaris-net.ngx-components.mjs +10181 -9595
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +10395 -9817
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +2 -1
- package/public_api.d.ts +34 -21
- package/src/app/admin/admin.module.d.ts +1 -1
- package/src/app/admin/users/{list/users.d.ts → users.d.ts} +11 -11
- package/src/app/admin/users/users.module.d.ts +13 -0
- package/src/app/core/about/{modal-about.d.ts → about.modal.d.ts} +1 -1
- package/src/app/core/about/about.module.d.ts +10 -0
- package/src/app/core/account/account.module.d.ts +11 -0
- package/src/app/core/account/{account.d.ts → account.page.d.ts} +5 -1
- package/src/app/core/auth/{form/form-auth.d.ts → auth.form.d.ts} +9 -9
- package/src/app/core/auth/{modal/modal-auth.d.ts → auth.modal.d.ts} +4 -4
- package/src/app/core/auth/auth.module.d.ts +11 -0
- package/src/app/core/core.module.d.ts +20 -29
- package/src/app/core/core.testing.module.d.ts +1 -1
- package/src/app/core/form/{form-buttons-bar.component.d.ts → buttons/form-buttons-bar.component.d.ts} +2 -2
- package/src/app/core/form/buttons/form-buttons-bar.module.d.ts +9 -0
- package/src/app/core/form/{editor.class.d.ts → entity/editor.class.d.ts} +9 -9
- package/src/app/core/form/{entity-editor-modal.class.d.ts → entity/entity-editor-modal.class.d.ts} +7 -7
- package/src/app/core/form/{entity-editor.class.d.ts → entity/entity-editor.class.d.ts} +10 -10
- package/src/app/core/form/{entity-metadata.component.d.ts → entity/entity-metadata.component.d.ts} +1 -1
- package/src/app/core/form/entity/entity.module.d.ts +10 -0
- package/src/app/core/form/form.module.d.ts +13 -0
- package/src/app/core/form/{list.form.d.ts → list/list.form.d.ts} +3 -3
- package/src/app/core/form/list/list.module.d.ts +9 -0
- package/src/app/core/form/properties/properties.module.d.ts +9 -0
- package/src/app/core/{text-popover → form/text-popover}/testing/text-popover.testing.d.ts +0 -0
- package/src/app/core/{text-popover → form/text-popover}/testing/text-popover.testing.module.d.ts +0 -0
- package/src/app/core/{text-popover → form/text-popover}/text-form.component.d.ts +4 -3
- package/src/app/core/{text-popover → form/text-popover}/text-popover.component.d.ts +7 -2
- package/src/app/core/form/text-popover/text-popover.module.d.ts +10 -0
- package/src/app/core/home/home.module.d.ts +12 -0
- package/src/app/core/install/install-upgrade-card.module.d.ts +6 -7
- package/src/app/core/menu/menu.component.d.ts +1 -1
- package/src/app/core/offline/update-offline-mode-card.module.d.ts +9 -0
- package/src/app/core/peer/select-peer.modal.d.ts +19 -5
- package/src/app/core/peer/select-peer.module.d.ts +6 -4
- package/src/app/core/register/{confirm/confirm.d.ts → register-confirm.page.d.ts} +4 -4
- package/src/app/core/register/{form/form-register.d.ts → register.form.d.ts} +7 -7
- package/src/app/core/register/{modal/modal-register.d.ts → register.modal.d.ts} +2 -2
- package/src/app/core/register/register.module.d.ts +6 -6
- package/src/app/core/services/account.service.d.ts +8 -9
- package/src/app/core/services/base-graphql-service.class.d.ts +9 -8
- package/src/app/core/services/crypto.service.d.ts +23 -18
- package/src/app/core/services/model/entity.decorators.d.ts +1 -9
- package/src/app/core/services/network.service.d.ts +3 -4
- package/src/app/core/settings/settings.module.d.ts +10 -0
- package/src/app/core/settings/settings.page.d.ts +2 -4
- package/src/app/core/table/entities-table-datasource.class.d.ts +1 -0
- package/src/app/core/table/table.class.d.ts +2 -6
- package/src/app/core/table/table.module.d.ts +10 -0
- package/src/app/shared/constants.d.ts +1 -1
- package/src/app/shared/dates.d.ts +5 -3
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +39 -17
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +6 -4
- package/src/app/shared/image/gallery/testing/gallery.testing.d.ts +1 -0
- package/src/app/shared/material/datetime/testing/mat-date.test.d.ts +1 -0
- package/src/app/shared/material/swipe/testing/swipe.test.d.ts +2 -3
- package/src/app/shared/modules.d.ts +8 -0
- package/src/app/shared/pipes/pipes.module.d.ts +1 -1
- package/src/app/shared/pipes/string.pipes.d.ts +10 -0
- package/src/app/shared/shared.module.d.ts +2 -1
- package/src/assets/i18n/fr.json +4 -1
- package/src/theme/_ngx-components.scss +22 -4
- package/esm2020/src/app/admin/users/list/users.mjs +0 -233
- package/esm2020/src/app/admin/users/list/users.module.mjs +0 -58
- package/esm2020/src/app/core/about/modal-about.mjs +0 -71
- package/esm2020/src/app/core/account/account.mjs +0 -230
- package/esm2020/src/app/core/auth/form/form-auth.mjs +0 -131
- package/esm2020/src/app/core/auth/modal/modal-auth.mjs +0 -72
- package/esm2020/src/app/core/form/editor.class.mjs +0 -675
- package/esm2020/src/app/core/form/entity-editor-modal.class.mjs +0 -421
- package/esm2020/src/app/core/form/entity-editor.class.mjs +0 -646
- package/esm2020/src/app/core/form/list.form.mjs +0 -222
- package/esm2020/src/app/core/register/confirm/confirm.mjs +0 -81
- package/esm2020/src/app/core/register/form/form-register.mjs +0 -181
- package/esm2020/src/app/core/register/modal/modal-register.mjs +0 -52
- package/esm2020/src/app/core/text-popover/testing/text-popover.testing.module.mjs +0 -45
- package/esm2020/src/app/core/text-popover/text-form.component.mjs +0 -84
- package/esm2020/src/app/core/text-popover/text-popover.component.mjs +0 -92
- package/esm2020/src/app/vendor.mjs +0 -16
- package/src/app/admin/users/list/users.module.d.ts +0 -14
- package/src/app/vendor.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumaris-net/ngx-components",
|
|
3
3
|
"description": "SUMARiS Angular components",
|
|
4
|
-
"version": "2.0.0
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
+
"@noble/ed25519": "^1.7.1",
|
|
12
13
|
"clone": "~2.1.2",
|
|
13
14
|
"tslib": "~2.3.1"
|
|
14
15
|
},
|
package/public_api.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export * from './src/app/shared/upload-file/upload-file-popover.component';
|
|
|
48
48
|
export * from './src/app/shared/upload-file/upload-file.component';
|
|
49
49
|
export * from './src/app/shared/image/gallery/image-gallery.component';
|
|
50
50
|
export * from './src/app/shared/image/gallery/image-gallery.module';
|
|
51
|
+
export * from './src/app/shared/image/image.model';
|
|
51
52
|
export * from './src/app/shared/image/image.module';
|
|
52
53
|
export * from './src/app/shared/directives/directives.module';
|
|
53
54
|
export * from './src/app/shared/directives/autofocus.directive';
|
|
@@ -130,7 +131,6 @@ export * from './src/app/core/services/pipes/account.pipes';
|
|
|
130
131
|
export * from './src/app/core/services/pipes/department-to-string.pipe';
|
|
131
132
|
export * from './src/app/core/services/pipes/person-to-string.pipe';
|
|
132
133
|
export * from './src/app/core/services/pipes/usage-mode.pipes';
|
|
133
|
-
export * from './src/app/vendor';
|
|
134
134
|
export * from './src/app/core/services/platform.service';
|
|
135
135
|
export * from './src/app/core/services/network.service';
|
|
136
136
|
export * from './src/app/core/services/config.service';
|
|
@@ -145,33 +145,47 @@ export * from './src/app/core/services/base-entity-service.class';
|
|
|
145
145
|
export * from './src/app/core/services/storage/entities-storage.service';
|
|
146
146
|
export * from './src/app/core/services/storage/entity-store.class';
|
|
147
147
|
export * from './src/app/core/services/validator/base.validator.class';
|
|
148
|
-
export * from './src/app/core/form/editor.class';
|
|
149
|
-
export * from './src/app/core/form/entity-editor.class';
|
|
150
|
-
export * from './src/app/core/form/entity-editor-modal.class';
|
|
151
|
-
export * from './src/app/core/form/entity-metadata.component';
|
|
152
148
|
export * from './src/app/core/form/form.class';
|
|
153
149
|
export * from './src/app/core/form/form.utils';
|
|
154
|
-
export * from './src/app/core/form/form
|
|
155
|
-
export * from './src/app/core/form/
|
|
150
|
+
export * from './src/app/core/form/form.module';
|
|
151
|
+
export * from './src/app/core/form/buttons/form-buttons-bar.component';
|
|
152
|
+
export * from './src/app/core/form/buttons/form-buttons-bar.module';
|
|
153
|
+
export * from './src/app/core/form/entity/editor.class';
|
|
154
|
+
export * from './src/app/core/form/entity/entity-editor.class';
|
|
155
|
+
export * from './src/app/core/form/entity/entity-editor-modal.class';
|
|
156
|
+
export * from './src/app/core/form/entity/entity-metadata.component';
|
|
157
|
+
export * from './src/app/core/form/entity/entity.module';
|
|
158
|
+
export * from './src/app/core/form/list/list.form';
|
|
159
|
+
export * from './src/app/core/form/list/list.module';
|
|
156
160
|
export * from './src/app/core/form/properties/properties.form';
|
|
161
|
+
export * from './src/app/core/form/properties/properties.module';
|
|
162
|
+
export * from './src/app/core/form/text-popover/text-form.component';
|
|
163
|
+
export * from './src/app/core/form/text-popover/text-popover.component';
|
|
164
|
+
export * from './src/app/core/form/text-popover/text-popover.module';
|
|
157
165
|
export * from './src/app/core/table/table.class';
|
|
158
166
|
export * from './src/app/core/table/table.utils';
|
|
167
|
+
export * from './src/app/core/table/table.module';
|
|
159
168
|
export * from './src/app/core/table/memory-table.class';
|
|
160
169
|
export * from './src/app/core/table/entities-table-datasource.class';
|
|
161
170
|
export * from './src/app/core/table/table-select-columns.component';
|
|
162
171
|
export * from './src/app/core/table/actions-column.component';
|
|
163
|
-
export * from './src/app/core/icon/icon.module';
|
|
164
172
|
export * from './src/app/core/icon/icon.component';
|
|
173
|
+
export * from './src/app/core/icon/icon.module';
|
|
165
174
|
export * from './src/app/core/home/home';
|
|
175
|
+
export * from './src/app/core/home/home.module';
|
|
166
176
|
export * from './src/app/core/settings/settings.page';
|
|
167
|
-
export * from './src/app/core/
|
|
168
|
-
export * from './src/app/core/
|
|
169
|
-
export * from './src/app/core/
|
|
170
|
-
export * from './src/app/core/
|
|
171
|
-
export * from './src/app/core/
|
|
172
|
-
export * from './src/app/core/
|
|
177
|
+
export * from './src/app/core/settings/settings.module';
|
|
178
|
+
export * from './src/app/core/account/account.page';
|
|
179
|
+
export * from './src/app/core/account/account.module';
|
|
180
|
+
export * from './src/app/core/auth/auth.form';
|
|
181
|
+
export * from './src/app/core/auth/auth.modal';
|
|
182
|
+
export * from './src/app/core/auth/auth.module';
|
|
183
|
+
export * from './src/app/core/register/register-confirm.page';
|
|
184
|
+
export * from './src/app/core/register/register.form';
|
|
185
|
+
export * from './src/app/core/register/register.modal';
|
|
173
186
|
export * from './src/app/core/register/register.module';
|
|
174
|
-
export * from './src/app/core/about/modal
|
|
187
|
+
export * from './src/app/core/about/about.modal';
|
|
188
|
+
export * from './src/app/core/about/about.module';
|
|
175
189
|
export * from './src/app/core/peer/select-peer.modal';
|
|
176
190
|
export * from './src/app/core/peer/select-peer.module';
|
|
177
191
|
export * from './src/app/core/install/install-upgrade-card.component';
|
|
@@ -180,9 +194,8 @@ export * from './src/app/core/menu/menu.component';
|
|
|
180
194
|
export * from './src/app/core/menu/menu.model';
|
|
181
195
|
export * from './src/app/core/menu/menu.module';
|
|
182
196
|
export * from './src/app/core/menu/menu.service';
|
|
183
|
-
export * from './src/app/core/text-popover/text-form.component';
|
|
184
|
-
export * from './src/app/core/text-popover/text-popover.component';
|
|
185
197
|
export * from './src/app/core/offline/update-offline-mode-card.component';
|
|
198
|
+
export * from './src/app/core/offline/update-offline-mode-card.module';
|
|
186
199
|
export { EntityClass, EntityClasses } from './src/app/core/services/model/entity.decorators';
|
|
187
200
|
export * from './src/app/social/social.module';
|
|
188
201
|
export * from './src/app/social/social.errors';
|
|
@@ -205,8 +218,8 @@ export { AdminRoutingModule } from './src/app/admin/admin-routing.module';
|
|
|
205
218
|
export * from './src/app/admin/services/filter/person.filter';
|
|
206
219
|
export * from './src/app/admin/services/validator/person.validator';
|
|
207
220
|
export * from './src/app/admin/services/person.service';
|
|
208
|
-
export * from './src/app/admin/users/
|
|
209
|
-
export * from './src/app/admin/users/
|
|
221
|
+
export * from './src/app/admin/users/users.module';
|
|
222
|
+
export * from './src/app/admin/users/users';
|
|
210
223
|
export * from './src/app/shared/testing/tests.page';
|
|
211
224
|
export * from './src/app/shared/material/material.testing.module';
|
|
212
225
|
export * from './src/app/shared/material/autocomplete/testing/autocomplete.test';
|
|
@@ -233,8 +246,8 @@ export * from './src/app/core/services/testing/referential.validator';
|
|
|
233
246
|
export * from './src/app/core/services/errors';
|
|
234
247
|
export * from './src/app/core/table/testing/table.testing.module';
|
|
235
248
|
export * from './src/app/core/table/testing/table.testing';
|
|
236
|
-
export * from './src/app/core/text-popover/testing/text-popover.testing.module';
|
|
237
|
-
export * from './src/app/core/text-popover/testing/text-popover.testing';
|
|
249
|
+
export * from './src/app/core/form/text-popover/testing/text-popover.testing.module';
|
|
250
|
+
export * from './src/app/core/form/text-popover/testing/text-popover.testing';
|
|
238
251
|
export * from './src/app/core/form/properties/testing/properties-form.test';
|
|
239
252
|
export * from './src/app/core/form/properties/testing/properties-form.testing.module';
|
|
240
253
|
export { suggestFromArray } from "./src/app/shared/services";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/common";
|
|
3
3
|
import * as i2 from "../core/core.module";
|
|
4
|
-
import * as i3 from "./users/
|
|
4
|
+
import * as i3 from "./users/users.module";
|
|
5
5
|
export declare class AdminModule {
|
|
6
6
|
constructor();
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { Person } from '
|
|
3
|
-
import { PersonService } from '
|
|
4
|
-
import { AccountService } from '
|
|
2
|
+
import { Person } from '../../core/services/model/person.model';
|
|
3
|
+
import { PersonService } from '../services/person.service';
|
|
4
|
+
import { AccountService } from '../../core/services/account.service';
|
|
5
5
|
import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
6
|
-
import { AppTable } from '
|
|
6
|
+
import { AppTable } from '../../core/table/table.class';
|
|
7
7
|
import { ValidatorService } from '@e-is/ngx-material-table';
|
|
8
|
-
import { FormFieldDefinition } from '
|
|
9
|
-
import { PersonFilter } from '
|
|
10
|
-
import { ConfigService } from '
|
|
8
|
+
import { FormFieldDefinition } from '../../shared/form/field.model';
|
|
9
|
+
import { PersonFilter } from '../services/filter/person.filter';
|
|
10
|
+
import { ConfigService } from '../../core/services/config.service';
|
|
11
11
|
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
12
|
-
import { MessageService } from '
|
|
12
|
+
import { MessageService } from '../../social/message/message.service';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class UsersPage extends AppTable<Person, PersonFilter> implements OnInit {
|
|
15
15
|
protected accountService: AccountService;
|
|
@@ -21,9 +21,9 @@ export declare class UsersPage extends AppTable<Person, PersonFilter> implements
|
|
|
21
21
|
readonly canEdit: boolean;
|
|
22
22
|
readonly canSendMessage: boolean;
|
|
23
23
|
readonly filterForm: UntypedFormGroup;
|
|
24
|
-
readonly profiles: import("
|
|
25
|
-
readonly statusList: readonly import("
|
|
26
|
-
readonly statusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<import("
|
|
24
|
+
readonly profiles: import("../../core/services/model/person.model").UserProfileLabel[];
|
|
25
|
+
readonly statusList: readonly import("../../core/services/model/referential.model").IStatus[];
|
|
26
|
+
readonly statusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<import("../../core/services/model/referential.model").IStatus>>;
|
|
27
27
|
additionalFields: FormFieldDefinition[];
|
|
28
28
|
filterCriteriaCount: number;
|
|
29
29
|
set showUsernameColumn(value: boolean);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./users";
|
|
3
|
+
import * as i2 from "ngx-jdenticon";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "../../core/core.module";
|
|
6
|
+
import * as i5 from "../../social/social.module";
|
|
7
|
+
import * as i6 from "../../shared/material/material.module";
|
|
8
|
+
import * as i7 from "../../shared/debug/debug.module";
|
|
9
|
+
export declare class AdminUsersModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdminUsersModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdminUsersModule, [typeof i1.UsersPage], [typeof i2.NgxJdenticonModule, typeof i3.TranslateModule, typeof i4.CoreModule, typeof i5.SocialModule, typeof i6.SharedMaterialModule, typeof i7.SharedDebugModule], [typeof i5.SocialModule, typeof i3.TranslateModule, typeof i1.UsersPage]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdminUsersModule>;
|
|
13
|
+
}
|
|
@@ -28,5 +28,5 @@ export declare class AboutModal implements OnDestroy {
|
|
|
28
28
|
close(): Promise<void>;
|
|
29
29
|
protected setConfig(config?: Configuration): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<AboutModal, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AboutModal, "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AboutModal, "app-about-modal", never, {}, {}, never, never, false>;
|
|
32
32
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./about.modal";
|
|
3
|
+
import * as i2 from "../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ionic/angular";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
export declare class AppAboutModalModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAboutModalModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAboutModalModule, [typeof i1.AboutModal], [typeof i2.SharedModule, typeof i3.IonicModule, typeof i4.TranslateModule], [typeof i4.TranslateModule, typeof i1.AboutModal]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppAboutModalModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./account.page";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../shared/shared.module";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "../form/buttons/form-buttons-bar.module";
|
|
7
|
+
export declare class AppAccountModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAccountModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAccountModule, [typeof i1.AccountPage], [typeof i2.CommonModule, typeof i3.SharedModule, typeof i4.TranslateModule, typeof i5.AppFormButtonsBarModule], [typeof i4.TranslateModule, typeof i1.AccountPage]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppAccountModule>;
|
|
11
|
+
}
|
|
@@ -13,6 +13,7 @@ import { LocaleConfig } from '../services/model/settings.model';
|
|
|
13
13
|
import { Router } from '@angular/router';
|
|
14
14
|
import { CanLeave } from '../../shared/guard/component-dirty.guard';
|
|
15
15
|
import { NetworkService } from '../services/network.service';
|
|
16
|
+
import { MatTabGroup } from '@angular/material/tabs';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare class AccountPage extends AppForm<Account> implements OnDestroy, CanLeave {
|
|
18
19
|
formBuilder: UntypedFormBuilder;
|
|
@@ -24,6 +25,7 @@ export declare class AccountPage extends AppForm<Account> implements OnDestroy,
|
|
|
24
25
|
protected translate: TranslateService;
|
|
25
26
|
protected settings: LocalSettingsService;
|
|
26
27
|
protected cd: ChangeDetectorRef;
|
|
28
|
+
selectedTabIndex: number;
|
|
27
29
|
isLogin: boolean;
|
|
28
30
|
changesSubscription: Subscription;
|
|
29
31
|
networkSubscription: Subscription;
|
|
@@ -36,7 +38,9 @@ export declare class AccountPage extends AppForm<Account> implements OnDestroy,
|
|
|
36
38
|
latLongFormats: import("../../shared/material/latlong/latlong.utils").LatLongPattern[];
|
|
37
39
|
saving: boolean;
|
|
38
40
|
submitted: boolean;
|
|
41
|
+
tabGroup: MatTabGroup;
|
|
39
42
|
constructor(injector: Injector, formBuilder: UntypedFormBuilder, accountService: AccountService, network: NetworkService, router: Router, validatorService: AccountValidatorService, settingsValidatorService: UserSettingsValidatorService, translate: TranslateService, settings: LocalSettingsService, cd: ChangeDetectorRef, locales: any);
|
|
43
|
+
ngOnInit(): void;
|
|
40
44
|
ngOnDestroy(): void;
|
|
41
45
|
onLogin(account: Account): void;
|
|
42
46
|
onLogout(): void;
|
|
@@ -49,5 +53,5 @@ export declare class AccountPage extends AppForm<Account> implements OnDestroy,
|
|
|
49
53
|
cancel(): Promise<void>;
|
|
50
54
|
protected markForCheck(): void;
|
|
51
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccountPage, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccountPage, "app-page
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountPage, "app-account-page", never, {}, {}, never, never, false>;
|
|
53
57
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { ModalController } from '@ionic/angular';
|
|
4
|
-
import { AuthData } from '
|
|
5
|
-
import { NetworkService } from '
|
|
6
|
-
import { LocalSettingsService } from '
|
|
7
|
-
import { PlatformService } from '
|
|
8
|
-
import { AppForm } from '
|
|
9
|
-
import { ConfigService } from '
|
|
4
|
+
import { AuthData } from '../services/account.service';
|
|
5
|
+
import { NetworkService } from '../services/network.service';
|
|
6
|
+
import { LocalSettingsService } from '../services/local-settings.service';
|
|
7
|
+
import { PlatformService } from '../services/platform.service';
|
|
8
|
+
import { AppForm } from '../form/form.class';
|
|
9
|
+
import { ConfigService } from '../services/config.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class AppAuthForm extends AppForm<AuthData> implements OnInit {
|
|
12
12
|
private configService;
|
|
13
13
|
private modalCtrl;
|
|
14
14
|
network: NetworkService;
|
|
@@ -31,6 +31,6 @@ export declare class AuthForm extends AppForm<AuthData> implements OnInit {
|
|
|
31
31
|
doSubmit(event?: Event): Promise<void>;
|
|
32
32
|
register(): void;
|
|
33
33
|
protected markForCheck(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAuthForm, [null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppAuthForm, "app-auth-form", never, {}, { "onCancel": "onCancel"; "onSubmit": "onSubmit"; }, never, never, false>;
|
|
36
36
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
|
-
import { AccountService } from '
|
|
3
|
+
import { AccountService } from '../services/account.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class AppAuthModal implements OnInit {
|
|
6
6
|
private accountService;
|
|
7
7
|
private viewCtrl;
|
|
8
8
|
private cd;
|
|
@@ -19,6 +19,6 @@ export declare class AuthModal implements OnInit {
|
|
|
19
19
|
protected markAsLoaded(opts?: {
|
|
20
20
|
emitEvent?: boolean;
|
|
21
21
|
}): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAuthModal, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppAuthModal, "ng-component", never, {}, {}, never, never, false>;
|
|
24
24
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./auth.form";
|
|
3
|
+
import * as i2 from "./auth.modal";
|
|
4
|
+
import * as i3 from "../../shared/shared.module";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "../register/register.module";
|
|
7
|
+
export declare class AppAuthModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppAuthModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAuthModule, [typeof i1.AppAuthForm, typeof i2.AppAuthModal], [typeof i3.SharedModule, typeof i4.TranslateModule, typeof i5.AppRegisterModule], [typeof i4.TranslateModule, typeof i1.AppAuthForm, typeof i2.AppAuthModal]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppAuthModule>;
|
|
11
|
+
}
|
|
@@ -4,37 +4,28 @@ import * as i1 from "./services/pipes/usage-mode.pipes";
|
|
|
4
4
|
import * as i2 from "./services/pipes/person-to-string.pipe";
|
|
5
5
|
import * as i3 from "./services/pipes/account.pipes";
|
|
6
6
|
import * as i4 from "./services/pipes/department-to-string.pipe";
|
|
7
|
-
import * as i5 from "
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "
|
|
10
|
-
import * as i8 from "
|
|
11
|
-
import * as i9 from "
|
|
12
|
-
import * as i10 from "./
|
|
13
|
-
import * as i11 from "./
|
|
14
|
-
import * as i12 from "./
|
|
15
|
-
import * as i13 from "./
|
|
16
|
-
import * as i14 from "./
|
|
17
|
-
import * as i15 from "./
|
|
18
|
-
import * as i16 from "./
|
|
19
|
-
import * as i17 from "./
|
|
20
|
-
import * as i18 from "./
|
|
21
|
-
import * as i19 from "./
|
|
22
|
-
import * as i20 from "
|
|
23
|
-
import * as i21 from "
|
|
24
|
-
import * as i22 from "
|
|
25
|
-
import * as i23 from "
|
|
26
|
-
import * as i24 from "ionic-cache";
|
|
27
|
-
import * as i25 from "@ionic/storage-angular";
|
|
28
|
-
import * as i26 from "ngx-jdenticon";
|
|
29
|
-
import * as i27 from "./graphql/graphql.module";
|
|
30
|
-
import * as i28 from "./menu/menu.module";
|
|
31
|
-
import * as i29 from "./icon/icon.module";
|
|
32
|
-
import * as i30 from "./register/register.module";
|
|
33
|
-
import * as i31 from "./peer/select-peer.module";
|
|
34
|
-
import * as i32 from "./install/install-upgrade-card.module";
|
|
7
|
+
import * as i5 from "../shared/shared.module";
|
|
8
|
+
import * as i6 from "@angular/router";
|
|
9
|
+
import * as i7 from "@angular/common/http";
|
|
10
|
+
import * as i8 from "ionic-cache";
|
|
11
|
+
import * as i9 from "@ionic/storage-angular";
|
|
12
|
+
import * as i10 from "./graphql/graphql.module";
|
|
13
|
+
import * as i11 from "./menu/menu.module";
|
|
14
|
+
import * as i12 from "./icon/icon.module";
|
|
15
|
+
import * as i13 from "./account/account.module";
|
|
16
|
+
import * as i14 from "./register/register.module";
|
|
17
|
+
import * as i15 from "./auth/auth.module";
|
|
18
|
+
import * as i16 from "./home/home.module";
|
|
19
|
+
import * as i17 from "./about/about.module";
|
|
20
|
+
import * as i18 from "./settings/settings.module";
|
|
21
|
+
import * as i19 from "./peer/select-peer.module";
|
|
22
|
+
import * as i20 from "./form/form.module";
|
|
23
|
+
import * as i21 from "./table/table.module";
|
|
24
|
+
import * as i22 from "./install/install-upgrade-card.module";
|
|
25
|
+
import * as i23 from "./offline/update-offline-mode-card.module";
|
|
35
26
|
export declare class CoreModule {
|
|
36
27
|
static forRoot(): ModuleWithProviders<CoreModule>;
|
|
37
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof i1.IsOnFieldModePipe, typeof i1.IsNotOnFieldModePipe, typeof i2.PersonToStringPipe, typeof i3.IsLoginAccountPipe, typeof i3.AccountToStringPipe, typeof i4.DepartmentToStringPipe, typeof i5.
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof i1.IsOnFieldModePipe, typeof i1.IsNotOnFieldModePipe, typeof i2.PersonToStringPipe, typeof i3.IsLoginAccountPipe, typeof i3.AccountToStringPipe, typeof i4.DepartmentToStringPipe], [typeof i5.SharedModule, typeof i6.RouterModule, typeof i7.HttpClientModule, typeof i8.CacheModule, typeof i9.IonicStorageModule, typeof i10.AppGraphQLModule, typeof i11.AppMenuModule, typeof i12.AppIconModule, typeof i13.AppAccountModule, typeof i14.AppRegisterModule, typeof i15.AppAuthModule, typeof i16.AppHomePageModule, typeof i17.AppAboutModalModule, typeof i18.AppSettingsPageModule, typeof i19.AppSelectPeerModule, typeof i20.AppFormModule, typeof i21.AppTableModule, typeof i22.AppInstallUpgradeCardModule, typeof i23.AppUpdateOfflineModeCardModule], [typeof i5.SharedModule, typeof i6.RouterModule, typeof i10.AppGraphQLModule, typeof i11.AppMenuModule, typeof i14.AppRegisterModule, typeof i15.AppAuthModule, typeof i16.AppHomePageModule, typeof i17.AppAboutModalModule, typeof i18.AppSettingsPageModule, typeof i12.AppIconModule, typeof i19.AppSelectPeerModule, typeof i20.AppFormModule, typeof i21.AppTableModule, typeof i22.AppInstallUpgradeCardModule, typeof i23.AppUpdateOfflineModeCardModule, typeof i1.IsOnFieldModePipe, typeof i1.IsNotOnFieldModePipe, typeof i2.PersonToStringPipe, typeof i3.IsLoginAccountPipe, typeof i3.AccountToStringPipe, typeof i4.DepartmentToStringPipe]>;
|
|
39
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
|
|
40
31
|
}
|
|
@@ -4,7 +4,7 @@ import * as i1 from "@angular/common";
|
|
|
4
4
|
import * as i2 from "@ngx-translate/core";
|
|
5
5
|
import * as i3 from "@angular/router";
|
|
6
6
|
import * as i4 from "./table/testing/table.testing.module";
|
|
7
|
-
import * as i5 from "./text-popover/testing/text-popover.testing.module";
|
|
7
|
+
import * as i5 from "./form/text-popover/testing/text-popover.testing.module";
|
|
8
8
|
import * as i6 from "./form/properties/testing/properties-form.testing.module";
|
|
9
9
|
export declare const CORE_TESTING_PAGES: TestingPage[];
|
|
10
10
|
export declare class CoreTestingModule {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Hotkeys } from '
|
|
3
|
-
import { MenuService } from '
|
|
2
|
+
import { Hotkeys } from '../../../shared/hotkeys/hotkeys.service';
|
|
3
|
+
import { MenuService } from '../../menu/menu.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare abstract class FormButtonsBarToken {
|
|
6
6
|
abstract onCancel: EventEmitter<Event>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form-buttons-bar.component";
|
|
3
|
+
import * as i2 from "../../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class AppFormButtonsBarModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormButtonsBarModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppFormButtonsBarModule, [typeof i1.FormButtonsBarComponent], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.FormButtonsBarComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppFormButtonsBarModule>;
|
|
9
|
+
}
|
|
@@ -4,16 +4,16 @@ import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
|
|
|
4
4
|
import { AlertController, IonContent, ToastController } from '@ionic/angular';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { BehaviorSubject, Subject, Subscription, TeardownLogic } from 'rxjs';
|
|
7
|
-
import { AppTable } from '
|
|
8
|
-
import { AppForm } from '
|
|
9
|
-
import { FormButtonsBarToken } from '
|
|
10
|
-
import { IAppForm, IAppFormGetter } from '
|
|
11
|
-
import { ShowToastOptions } from '
|
|
12
|
-
import { HammerSwipeEvent } from '
|
|
13
|
-
import { ToolbarToken } from '
|
|
14
|
-
import { CanLeave } from '
|
|
7
|
+
import { AppTable } from '../../table/table.class';
|
|
8
|
+
import { AppForm } from '../form.class';
|
|
9
|
+
import { FormButtonsBarToken } from '../buttons/form-buttons-bar.component';
|
|
10
|
+
import { IAppForm, IAppFormGetter } from '../form.utils';
|
|
11
|
+
import { ShowToastOptions } from '../../../shared/toast/toasts';
|
|
12
|
+
import { HammerSwipeEvent } from '../../../shared/gesture/hammer.utils';
|
|
13
|
+
import { ToolbarToken } from '../../../shared/toolbar/toolbar';
|
|
14
|
+
import { CanLeave } from '../../../shared/guard/component-dirty.guard';
|
|
15
15
|
import { AbstractControl } from '@angular/forms';
|
|
16
|
-
import { WaitForOptions } from '
|
|
16
|
+
import { WaitForOptions } from '../../../shared/observables';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
18
|
export interface IAppEditor extends CanLeave, IAppForm {
|
|
19
19
|
save(event?: Event, options?: any): Promise<boolean>;
|
package/src/app/core/form/{entity-editor-modal.class.d.ts → entity/entity-editor-modal.class.d.ts}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
3
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
-
import { LocalSettingsService } from '
|
|
5
|
-
import { Entity } from '
|
|
6
|
-
import { UsageMode } from '
|
|
4
|
+
import { LocalSettingsService } from '../../services/local-settings.service';
|
|
5
|
+
import { Entity } from '../../services/model/entity.model';
|
|
6
|
+
import { UsageMode } from '../../services/model/settings.model';
|
|
7
7
|
import { FormGroup } from '@angular/forms';
|
|
8
8
|
import { AppTabEditor, AppTabEditorOptions } from './editor.class';
|
|
9
|
-
import { DateFormatPipe } from '
|
|
10
|
-
import { Environment } from '
|
|
11
|
-
import { WaitForOptions } from '
|
|
12
|
-
import { FormErrorTranslator } from '
|
|
9
|
+
import { DateFormatPipe } from '../../../shared/pipes/date-format.pipe';
|
|
10
|
+
import { Environment } from '../../../../environments/environment.class';
|
|
11
|
+
import { WaitForOptions } from '../../../shared/observables';
|
|
12
|
+
import { FormErrorTranslator } from '../../../shared/validator/form-error-adapter.class';
|
|
13
13
|
import { AppErrorWithDetails } from './entity-editor.class';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export interface IEntityEditorModalOptions<T extends Entity<T, ID> = Entity<any, any>, ID = number> {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { AddToPageHistoryOptions, LocalSettingsService } from '
|
|
4
|
-
import { Entity } from '
|
|
5
|
-
import { UsageMode } from '
|
|
3
|
+
import { AddToPageHistoryOptions, LocalSettingsService } from '../../services/local-settings.service';
|
|
4
|
+
import { Entity } from '../../services/model/entity.model';
|
|
5
|
+
import { UsageMode } from '../../services/model/settings.model';
|
|
6
6
|
import { FormGroup } from '@angular/forms';
|
|
7
7
|
import { AppTabEditor, AppTabEditorOptions, IAppTabEditor } from './editor.class';
|
|
8
|
-
import { EntityServiceLoadOptions, IEntityService } from '
|
|
9
|
-
import { DateFormatPipe } from '
|
|
10
|
-
import { Environment } from '
|
|
11
|
-
import { HistoryPageReference } from '
|
|
12
|
-
import { WaitForOptions } from '
|
|
13
|
-
import { FormErrorTranslator } from '
|
|
14
|
-
import { FormErrors } from '
|
|
8
|
+
import { EntityServiceLoadOptions, IEntityService } from '../../../shared/services/entity-service.class';
|
|
9
|
+
import { DateFormatPipe } from '../../../shared/pipes/date-format.pipe';
|
|
10
|
+
import { Environment } from '../../../../environments/environment.class';
|
|
11
|
+
import { HistoryPageReference } from '../../services/model/history.model';
|
|
12
|
+
import { WaitForOptions } from '../../../shared/observables';
|
|
13
|
+
import { FormErrorTranslator } from '../../../shared/validator/form-error-adapter.class';
|
|
14
|
+
import { FormErrors } from '../../../shared/forms';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
export interface IAppEntityEditor extends IAppTabEditor {
|
|
17
17
|
usageMode: UsageMode;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./entity-metadata.component";
|
|
3
|
+
import * as i2 from "../../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "ngx-jdenticon";
|
|
6
|
+
export declare class AppEntityFormModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppEntityFormModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppEntityFormModule, [typeof i1.EntityMetadataComponent], [typeof i2.SharedModule, typeof i3.TranslateModule, typeof i4.NgxJdenticonModule], [typeof i3.TranslateModule, typeof i1.EntityMetadataComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppEntityFormModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../../shared/shared.module";
|
|
3
|
+
import * as i2 from "@ngx-translate/core";
|
|
4
|
+
import * as i3 from "./entity/entity.module";
|
|
5
|
+
import * as i4 from "./list/list.module";
|
|
6
|
+
import * as i5 from "./properties/properties.module";
|
|
7
|
+
import * as i6 from "./text-popover/text-popover.module";
|
|
8
|
+
import * as i7 from "./buttons/form-buttons-bar.module";
|
|
9
|
+
export declare class AppFormModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppFormModule, never, [typeof i1.SharedModule, typeof i2.TranslateModule, typeof i3.AppEntityFormModule, typeof i4.AppListFormModule, typeof i5.AppPropertiesFormModule, typeof i6.AppTextPopoverModule, typeof i7.AppFormButtonsBarModule], [typeof i2.TranslateModule, typeof i3.AppEntityFormModule, typeof i4.AppListFormModule, typeof i5.AppPropertiesFormModule, typeof i6.AppTextPopoverModule, typeof i7.AppFormButtonsBarModule]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppFormModule>;
|
|
13
|
+
}
|
|
@@ -2,9 +2,9 @@ import { ChangeDetectorRef, EventEmitter, Injector, OnInit } from '@angular/core
|
|
|
2
2
|
import { AbstractControl, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { DateAdapter } from '@angular/material/core';
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
|
-
import { LocalSettingsService } from '
|
|
6
|
-
import { AppForm } from '
|
|
7
|
-
import { FormArrayHelper, FormArrayHelperOptions } from '
|
|
5
|
+
import { LocalSettingsService } from '../../services/local-settings.service';
|
|
6
|
+
import { AppForm } from '../form.class';
|
|
7
|
+
import { FormArrayHelper, FormArrayHelperOptions } from '../form.utils';
|
|
8
8
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import { Color } from '@ionic/core';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./list.form";
|
|
3
|
+
import * as i2 from "../../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class AppListFormModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppListFormModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppListFormModule, [typeof i1.AppListForm], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.AppListForm]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppListFormModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./properties.form";
|
|
3
|
+
import * as i2 from "../../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class AppPropertiesFormModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppPropertiesFormModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppPropertiesFormModule, [typeof i1.AppPropertiesForm], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.AppPropertiesForm]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AppPropertiesFormModule>;
|
|
9
|
+
}
|
|
File without changes
|
package/src/app/core/{text-popover → form/text-popover}/testing/text-popover.testing.module.d.ts
RENAMED
|
File without changes
|