@sumaris-net/ngx-components 2.7.3-rc9 → 2.7.3
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/src/app/admin/admin-routing.module.mjs +4 -4
- package/esm2022/src/app/admin/admin.module.mjs +4 -4
- package/esm2022/src/app/admin/services/person.service.mjs +3 -3
- package/esm2022/src/app/admin/services/validator/person.validator.mjs +3 -3
- package/esm2022/src/app/admin/users/users.mjs +4 -4
- package/esm2022/src/app/admin/users/users.module.mjs +4 -4
- package/esm2022/src/app/core/about/about.modal.mjs +3 -3
- package/esm2022/src/app/core/about/about.module.mjs +4 -4
- package/esm2022/src/app/core/account/account.module.mjs +4 -4
- package/esm2022/src/app/core/account/account.page.mjs +3 -3
- package/esm2022/src/app/core/account/new-token.modal.mjs +3 -3
- package/esm2022/src/app/core/account/token.table.mjs +3 -3
- package/esm2022/src/app/core/auth/auth.form.mjs +3 -3
- package/esm2022/src/app/core/auth/auth.modal.mjs +3 -3
- package/esm2022/src/app/core/auth/auth.module.mjs +4 -4
- package/esm2022/src/app/core/core.module.mjs +4 -4
- package/esm2022/src/app/core/core.testing.module.mjs +4 -4
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +3 -3
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.module.mjs +4 -4
- package/esm2022/src/app/core/form/entity/editor.class.mjs +6 -6
- package/esm2022/src/app/core/form/entity/entity-editor-modal.class.mjs +3 -3
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +3 -3
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +3 -3
- package/esm2022/src/app/core/form/entity/entity.module.mjs +4 -4
- package/esm2022/src/app/core/form/form.class.mjs +3 -3
- package/esm2022/src/app/core/form/form.module.mjs +4 -4
- package/esm2022/src/app/core/form/list/list.form.mjs +3 -3
- package/esm2022/src/app/core/form/list/list.module.mjs +4 -4
- package/esm2022/src/app/core/form/properties/properties.form.mjs +3 -3
- package/esm2022/src/app/core/form/properties/properties.module.mjs +4 -4
- package/esm2022/src/app/core/form/properties/properties.table.mjs +6 -6
- package/esm2022/src/app/core/form/properties/property.validator.mjs +3 -3
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +3 -3
- package/esm2022/src/app/core/form/properties/testing/properties-form.testing.module.mjs +4 -4
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +3 -3
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.module.mjs +4 -4
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +3 -3
- package/esm2022/src/app/core/form/text-popover/text-popover.module.mjs +4 -4
- package/esm2022/src/app/core/graphql/graphql.module.mjs +4 -4
- package/esm2022/src/app/core/graphql/graphql.service.mjs +3 -3
- package/esm2022/src/app/core/home/home.mjs +5 -5
- package/esm2022/src/app/core/home/home.module.mjs +4 -4
- package/esm2022/src/app/core/icon/icon.component.mjs +3 -3
- package/esm2022/src/app/core/icon/icon.module.mjs +4 -4
- package/esm2022/src/app/core/install/install-upgrade-card.component.mjs +3 -3
- package/esm2022/src/app/core/install/install-upgrade-card.module.mjs +4 -4
- package/esm2022/src/app/core/menu/menu.component.mjs +5 -5
- package/esm2022/src/app/core/menu/menu.module.mjs +4 -4
- package/esm2022/src/app/core/menu/menu.service.mjs +3 -3
- package/esm2022/src/app/core/menu/sub-menu-tab.directive.mjs +3 -3
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +7 -6
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +42 -7
- package/esm2022/src/app/core/menu/testing/menu.testing.module.mjs +4 -4
- package/esm2022/src/app/core/offline/update-offline-mode-card.component.mjs +3 -3
- package/esm2022/src/app/core/offline/update-offline-mode-card.module.mjs +4 -4
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +3 -3
- package/esm2022/src/app/core/peer/select-peer.module.mjs +4 -4
- package/esm2022/src/app/core/register/register-confirm.page.mjs +3 -3
- package/esm2022/src/app/core/register/register.form.mjs +3 -3
- package/esm2022/src/app/core/register/register.modal.mjs +3 -3
- package/esm2022/src/app/core/register/register.module.mjs +4 -4
- package/esm2022/src/app/core/services/account.service.mjs +3 -3
- package/esm2022/src/app/core/services/auth-guard.service.mjs +3 -3
- package/esm2022/src/app/core/services/base-entity-service.class.mjs +3 -3
- package/esm2022/src/app/core/services/base-graphql-service.class.mjs +3 -3
- package/esm2022/src/app/core/services/config/core.config.mjs +7 -1
- package/esm2022/src/app/core/services/config.service.mjs +3 -3
- package/esm2022/src/app/core/services/crypto.service.mjs +3 -3
- package/esm2022/src/app/core/services/local-settings.service.mjs +17 -4
- package/esm2022/src/app/core/services/model/settings.model.mjs +1 -1
- package/esm2022/src/app/core/services/network.service.mjs +3 -3
- package/esm2022/src/app/core/services/pipes/account.pipes.mjs +8 -8
- package/esm2022/src/app/core/services/pipes/department-to-string.pipe.mjs +4 -4
- package/esm2022/src/app/core/services/pipes/person-to-string.pipe.mjs +4 -4
- package/esm2022/src/app/core/services/pipes/pipes.module.mjs +4 -4
- package/esm2022/src/app/core/services/pipes/referential-to-string.pipe.mjs +3 -3
- package/esm2022/src/app/core/services/pipes/usage-mode.pipes.mjs +8 -8
- package/esm2022/src/app/core/services/platform.service.mjs +3 -3
- package/esm2022/src/app/core/services/storage/entities-storage.service.mjs +3 -3
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +3 -3
- package/esm2022/src/app/core/services/validator/account.validator.mjs +3 -3
- package/esm2022/src/app/core/services/validator/base.validator.class.mjs +3 -3
- package/esm2022/src/app/core/services/validator/local-settings.validator.mjs +12 -10
- package/esm2022/src/app/core/services/validator/user-settings.validator.mjs +3 -3
- package/esm2022/src/app/core/services/validator/user-token.validator.mjs +3 -3
- package/esm2022/src/app/core/settings/settings.module.mjs +4 -4
- package/esm2022/src/app/core/settings/settings.page.mjs +13 -5
- package/esm2022/src/app/core/table/actions-column.component.mjs +3 -3
- package/esm2022/src/app/core/table/async-table.class.mjs +3 -3
- package/esm2022/src/app/core/table/entities-async-table-datasource.class.mjs +3 -3
- package/esm2022/src/app/core/table/entities-table-datasource.class.mjs +3 -3
- package/esm2022/src/app/core/table/memory-table.class.mjs +3 -3
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +3 -3
- package/esm2022/src/app/core/table/table.class.mjs +3 -3
- package/esm2022/src/app/core/table/table.module.mjs +4 -4
- package/esm2022/src/app/core/table/testing/table-validator.service.mjs +7 -4
- package/esm2022/src/app/core/table/testing/table.testing.mjs +42 -23
- package/esm2022/src/app/core/table/testing/table.testing.module.mjs +4 -4
- package/esm2022/src/app/core/table/testing/table2-validator.service.mjs +3 -3
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +4 -4
- package/esm2022/src/app/shared/audio/audio.mjs +3 -3
- package/esm2022/src/app/shared/audio/audio.testing.mjs +3 -3
- package/esm2022/src/app/shared/audio/audio.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/capacitor/keyboard.mjs +3 -3
- package/esm2022/src/app/shared/debug/debug.component.mjs +3 -3
- package/esm2022/src/app/shared/debug/debug.module.mjs +4 -4
- package/esm2022/src/app/shared/directives/autofocus.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/autotitle.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/directives.module.mjs +4 -4
- package/esm2022/src/app/shared/directives/drag-and-drop.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/ng-var.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.component.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.directive.mjs +3 -3
- package/esm2022/src/app/shared/directives/resizable/resizable.module.mjs +4 -4
- package/esm2022/src/app/shared/file/file.service.mjs +3 -3
- package/esm2022/src/app/shared/form/field.component.mjs +12 -9
- package/esm2022/src/app/shared/form/loading-spinner.mjs +3 -3
- package/esm2022/src/app/shared/gesture/gesture-config.mjs +3 -3
- package/esm2022/src/app/shared/guard/component-dirty.guard.mjs +3 -3
- package/esm2022/src/app/shared/help/help.modal.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/shared-hotkeys.module.mjs +4 -4
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +3 -3
- package/esm2022/src/app/shared/image/gallery/image-gallery.module.mjs +4 -4
- package/esm2022/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +3 -3
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +3 -3
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/image/image.module.mjs +4 -4
- package/esm2022/src/app/shared/image/image.service.mjs +3 -3
- package/esm2022/src/app/shared/logging/logging-service.class.mjs +3 -3
- package/esm2022/src/app/shared/logging/logging-service.module.mjs +4 -4
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +11 -8
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.module.mjs +4 -4
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +25 -21
- package/esm2022/src/app/shared/material/badge/badge.directive.mjs +3 -3
- package/esm2022/src/app/shared/material/badge/badge.module.mjs +4 -4
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +3 -3
- package/esm2022/src/app/shared/material/boolean/boolean.module.mjs +4 -4
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +5 -5
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +8 -5
- package/esm2022/src/app/shared/material/chips/chips.module.mjs +4 -4
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +6 -6
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +6 -5
- package/esm2022/src/app/shared/material/datetime/datetime.module.mjs +4 -4
- package/esm2022/src/app/shared/material/datetime/material.date.mjs +14 -6
- package/esm2022/src/app/shared/material/datetime/material.dateshort.mjs +5 -5
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +72 -43
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +18 -17
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +14 -13
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +11 -12
- package/esm2022/src/app/shared/material/duration/duration.module.mjs +4 -4
- package/esm2022/src/app/shared/material/duration/material.duration.mjs +11 -12
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +10 -11
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +18 -13
- package/esm2022/src/app/shared/material/latlong/material.latlong.module.mjs +4 -4
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +9 -5
- package/esm2022/src/app/shared/material/material.config.mjs +2 -1
- package/esm2022/src/app/shared/material/material.module.mjs +4 -4
- package/esm2022/src/app/shared/material/material.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/material/paginator/material.paginator-i18n.mjs +3 -3
- package/esm2022/src/app/shared/material/stepper/material.stepper-i18n.mjs +3 -3
- package/esm2022/src/app/shared/material/swipe/material.swipe.mjs +12 -12
- package/esm2022/src/app/shared/material/swipe/swipe.module.mjs +4 -4
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +3 -3
- package/esm2022/src/app/shared/material/testing/common.test.mjs +18 -14
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +7 -6
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +10 -6
- package/esm2022/src/app/shared/material/text/text-form.module.mjs +4 -4
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +3 -3
- package/esm2022/src/app/shared/named-filter/named-filter.module.mjs +4 -4
- package/esm2022/src/app/shared/named-filter/named-filter.service.mjs +3 -3
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +24 -24
- package/esm2022/src/app/shared/pipes/colors.pipe.mjs +3 -3
- package/esm2022/src/app/shared/pipes/date-diff-duration.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/date-format.pipe.mjs +6 -6
- package/esm2022/src/app/shared/pipes/date-from-now.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/file-size.pipe.mjs +3 -3
- package/esm2022/src/app/shared/pipes/form.pipes.mjs +18 -18
- package/esm2022/src/app/shared/pipes/highlight.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/latlong-format.pipe.mjs +9 -9
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +12 -12
- package/esm2022/src/app/shared/pipes/maskito.pipe.mjs +40 -19
- package/esm2022/src/app/shared/pipes/math.pipes.mjs +12 -12
- package/esm2022/src/app/shared/pipes/ng-init.pipe.mjs +3 -3
- package/esm2022/src/app/shared/pipes/number-format.pipe.mjs +4 -4
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +4 -4
- package/esm2022/src/app/shared/pipes/property.pipes.mjs +7 -7
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +34 -32
- package/esm2022/src/app/shared/pipes/translate-context.pipe.mjs +8 -8
- package/esm2022/src/app/shared/pipes/types.pipes.mjs +12 -12
- package/esm2022/src/app/shared/rx-state.module.mjs +4 -4
- package/esm2022/src/app/shared/services/memory-entity-service.class.mjs +3 -3
- package/esm2022/src/app/shared/services/progress-bar.service.mjs +3 -3
- package/esm2022/src/app/shared/services/startable-observable-service.class.mjs +3 -3
- package/esm2022/src/app/shared/services/startable-service.class.mjs +3 -3
- package/esm2022/src/app/shared/services/translate-context.service.mjs +3 -3
- package/esm2022/src/app/shared/shared-routing.module.mjs +7 -7
- package/esm2022/src/app/shared/shared.module.mjs +4 -4
- package/esm2022/src/app/shared/shared.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +3 -3
- package/esm2022/src/app/shared/storage/storage-explorer.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage-explorer.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/storage/storage.service.mjs +3 -3
- package/esm2022/src/app/shared/testing/observable.test.mjs +3 -3
- package/esm2022/src/app/shared/testing/tests.page.mjs +3 -3
- package/esm2022/src/app/shared/toast/toast.testing.mjs +3 -3
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +3 -3
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +3 -3
- package/esm2022/src/app/shared/toolbar/toolbar.module.mjs +4 -4
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +3 -3
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.module.mjs +4 -4
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +3 -3
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +3 -3
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +3 -3
- package/esm2022/src/app/social/job/job.module.mjs +4 -4
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +3 -3
- package/esm2022/src/app/social/job/progression/job-progression.icon.mjs +8 -4
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +3 -3
- package/esm2022/src/app/social/job/progression/job-progression.service.mjs +11 -7
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +3 -3
- package/esm2022/src/app/social/job/testing/job-progression.testing.service.mjs +3 -3
- package/esm2022/src/app/social/job/testing/job.testing.module.mjs +4 -4
- package/esm2022/src/app/social/message/message.form.mjs +3 -3
- package/esm2022/src/app/social/message/message.modal.mjs +3 -3
- package/esm2022/src/app/social/message/message.module.mjs +4 -4
- package/esm2022/src/app/social/message/message.service.mjs +3 -3
- package/esm2022/src/app/social/social.module.mjs +4 -4
- package/esm2022/src/app/social/social.testing.module.mjs +4 -4
- package/esm2022/src/app/social/user-event/notification/user-event-notification.icon.mjs +14 -12
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +3 -3
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +3 -3
- package/esm2022/src/app/social/user-event/testing/user-event.testing.module.mjs +4 -4
- package/esm2022/src/app/social/user-event/testing/user-event.testing.service.mjs +3 -3
- package/esm2022/src/app/social/user-event/user-event.module.mjs +4 -4
- package/esm2022/src/app/social/user-event/user-event.service.mjs +8 -6
- package/esm2022/src/environments/environment.class.mjs +4 -2
- package/esm2022/src/environments/environment.loader.mjs +3 -3
- package/esm2022/src/environments/environment.mjs +3 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +1367 -1174
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +11 -11
- package/src/app/core/menu/testing/menu-other.testing.d.ts +1 -1
- package/src/app/core/menu/testing/menu.testing.d.ts +10 -2
- package/src/app/core/services/config/core.config.d.ts +1 -0
- package/src/app/core/services/local-settings.service.d.ts +2 -0
- package/src/app/core/services/model/settings.model.d.ts +1 -0
- package/src/app/core/settings/settings.page.d.ts +2 -0
- package/src/app/shared/form/field.component.d.ts +5 -3
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -0
- package/src/app/shared/material/autocomplete/testing/autocomplete.test.d.ts +3 -2
- package/src/app/shared/material/datetime/material.date.d.ts +3 -2
- package/src/app/shared/material/datetime/material.dateshort.d.ts +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +25 -22
- package/src/app/shared/material/datetime/testing/mat-date-time.test.d.ts +2 -2
- package/src/app/shared/material/duration/material.duration.d.ts +1 -1
- package/src/app/shared/material/latlong/material.latlong.d.ts +5 -3
- package/src/app/shared/material/latlong/testing/latlong.test.d.ts +4 -0
- package/src/app/shared/material/material.config.d.ts +2 -1
- package/src/app/shared/material/text/text-form.component.d.ts +3 -1
- package/src/app/shared/pipes/string.pipes.d.ts +2 -1
- package/src/app/social/user-event/notification/user-event-notification.icon.d.ts +4 -4
- package/src/assets/i18n/en-US.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- package/src/assets/manifest.json +1 -1
- package/src/environments/environment.class.d.ts +2 -1
- package/src/theme/_ionic.globals.scss +4 -1
- package/src/theme/_material.globals.scss +1 -36
- package/src/theme/_material.scss +30 -8
- package/src/theme/_mixins.scss +20 -5
- package/src/theme/_ngx-components.forms.scss +203 -0
- package/src/theme/_ngx-components.globals.scss +10 -7
- package/src/theme/_ngx-components.scss +6 -198
- package/src/theme/_ngx-components.table.scss +137 -143
- package/src/theme/_ngx-components.tabs.scss +16 -1
- package/src/theme/_theme.scss +1 -0
- package/src/theme/_theme.variables.scss +170 -0
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.7.3
|
|
4
|
+
"version": "2.7.3",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -17,23 +17,23 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@noble/ed25519": "^1.7.3",
|
|
20
|
-
"@polkadot/util": "~12.
|
|
21
|
-
"@polkadot/util-crypto": "~12.
|
|
22
|
-
"@rx-angular/cdk": "~17.0.
|
|
23
|
-
"@rx-angular/state": "~17.0.
|
|
24
|
-
"@rx-angular/template": "~17.
|
|
20
|
+
"@polkadot/util": "~12.6.2",
|
|
21
|
+
"@polkadot/util-crypto": "~12.6.2",
|
|
22
|
+
"@rx-angular/cdk": "~17.0.1",
|
|
23
|
+
"@rx-angular/state": "~17.0.1",
|
|
24
|
+
"@rx-angular/template": "~17.1.0",
|
|
25
25
|
"clone": "~2.1.2",
|
|
26
|
-
"
|
|
27
|
-
"@maskito/
|
|
28
|
-
"@maskito/
|
|
29
|
-
"
|
|
26
|
+
"@maskito/angular": "~2.0.2",
|
|
27
|
+
"@maskito/core": "~2.0.2",
|
|
28
|
+
"@maskito/kit": "~2.0.2",
|
|
29
|
+
"tslib": "^2.3.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@apollo/client": "~3.8.10",
|
|
33
33
|
"@ionic/storage": "~4.0.0",
|
|
34
34
|
"d3": "~7.6.1",
|
|
35
35
|
"localforage": "~1.10.0",
|
|
36
|
-
"rxjs": "~7.
|
|
36
|
+
"rxjs": "~7.8.1"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
39
|
"@awesome-cordova-plugins/core": "~6.4.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MenuService } from '../menu.service';
|
|
2
1
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
2
|
import { AlertController, NavController } from '@ionic/angular';
|
|
4
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { MenuService } from '../menu.service';
|
|
5
5
|
import { MenuTestingPage } from './menu.testing';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class OtherMenuTestingPage extends MenuTestingPage {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MenuService } from '../menu.service';
|
|
3
3
|
import { AppTabEditor } from '../../form/entity/editor.class';
|
|
4
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import { AlertController, NavController } from '@ionic/angular';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import { Subject } from 'rxjs';
|
|
8
|
+
import { MatTabGroup } from '@angular/material/tabs';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnDestroy, AfterViewInit {
|
|
10
11
|
protected menuService: MenuService;
|
|
@@ -17,6 +18,12 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
|
|
|
17
18
|
protected showThirdTab: boolean;
|
|
18
19
|
protected $title: Subject<string>;
|
|
19
20
|
protected $secondTabTitle: Subject<string>;
|
|
21
|
+
protected _subSelectedTabIndex: number;
|
|
22
|
+
subTabCount: number;
|
|
23
|
+
set subSelectedTabIndex(value: number);
|
|
24
|
+
get subSelectedTabIndex(): number;
|
|
25
|
+
readonly subSelectedTabIndexChange: EventEmitter<number>;
|
|
26
|
+
subTabGroup: MatTabGroup;
|
|
20
27
|
protected set title(value: string);
|
|
21
28
|
protected set secondTabTitle(value: string);
|
|
22
29
|
constructor(route: ActivatedRoute, // Modal editor give 'null'
|
|
@@ -38,6 +45,7 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
|
|
|
38
45
|
protected getFirstInvalidTabIndex(): number;
|
|
39
46
|
protected getDefaultTitle(): string;
|
|
40
47
|
protected computeTitle(): Promise<string>;
|
|
48
|
+
setSubSelectedTabIndex(value: number): void;
|
|
41
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuTestingPage, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuTestingPage, "app-testing-menu", never, {}, {}, never, never, false, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuTestingPage, "app-testing-menu", never, { "subSelectedTabIndex": { "alias": "subSelectedTabIndex"; "required": false; }; }, { "subSelectedTabIndexChange": "subSelectedTabIndexChange"; }, never, never, false, never>;
|
|
43
51
|
}
|
|
@@ -24,6 +24,7 @@ export declare const CORE_CONFIG_OPTIONS: Readonly<{
|
|
|
24
24
|
COLOR_WARNING: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
25
25
|
COLOR_ACCENT: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
26
26
|
COLOR_DANGER: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
27
|
+
FORM_FIELD_BACKGROUND_COLOR: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
27
28
|
ANDROID_INSTALL_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
28
29
|
DB_TIMEZONE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
29
30
|
ACCOUNT_READONLY: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
@@ -40,6 +40,8 @@ export declare class LocalSettingsService extends StartableService<LocalSettings
|
|
|
40
40
|
get mobile(): boolean;
|
|
41
41
|
set mobile(value: boolean);
|
|
42
42
|
get pageHistory(): HistoryPageReference[];
|
|
43
|
+
get enableDarkMode(): boolean;
|
|
44
|
+
get isDarkMode(): boolean;
|
|
43
45
|
constructor(platform: Platform, translate: TranslateService, storage: Storage, environment: Environment, defaultSettings: LocalSettings, options: LocalSettingsOptions);
|
|
44
46
|
ngOnStart(): Promise<LocalSettings>;
|
|
45
47
|
isUsageMode(mode: UsageMode): boolean;
|
|
@@ -44,6 +44,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
44
44
|
get accountInheritance(): boolean;
|
|
45
45
|
get isLogin(): boolean;
|
|
46
46
|
get propertiesForm(): UntypedFormArray;
|
|
47
|
+
get darkMode(): boolean;
|
|
47
48
|
constructor(injector: Injector, platform: PlatformService, navController: NavController, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, translate: TranslateService, formBuilder: UntypedFormBuilder, accountService: AccountService, settings: LocalSettingsService, cd: ChangeDetectorRef, network: NetworkService, locales: LocaleConfig[], menuItems?: IMenuItem[]);
|
|
48
49
|
ngOnInit(): Promise<void>;
|
|
49
50
|
getPropertyDefinition(index: number): FormFieldDefinition;
|
|
@@ -62,6 +63,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
62
63
|
executeAction(event: Event, item: IMenuItem): Promise<void>;
|
|
63
64
|
protected getValue(): Promise<LocalSettings>;
|
|
64
65
|
protected getJsonValueToSave(): Promise<any>;
|
|
66
|
+
protected toggleDarkMode(): Promise<void>;
|
|
65
67
|
protected markForCheck(): void;
|
|
66
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPage, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
67
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsPage, "page-settings", never, {}, {}, never, never, false, never>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
|
|
3
|
-
import { DisplayFn, FormFieldDefinition, FormFieldType
|
|
3
|
+
import { AppFloatLabelType, DisplayFn, FormFieldDefinition, FormFieldType } from './field.model';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { filterNumberInput, selectInputContent } from '../inputs';
|
|
6
6
|
import { Property } from '../types';
|
|
7
7
|
import { ThemePalette } from '@angular/material/core';
|
|
8
8
|
import { PredefinedColors } from '@ionic/core';
|
|
9
9
|
import { MatAutocompleteField } from '../material/autocomplete/material.autocomplete';
|
|
10
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
12
13
|
protected translate: TranslateService;
|
|
@@ -29,12 +30,13 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
29
30
|
placeholder: string;
|
|
30
31
|
compact: boolean;
|
|
31
32
|
floatLabel: AppFloatLabelType;
|
|
33
|
+
appearance: MatFormFieldAppearance;
|
|
32
34
|
tabindex: number;
|
|
33
35
|
autofocus: boolean;
|
|
34
36
|
clearable: boolean;
|
|
35
37
|
chipColor: ThemePalette | PredefinedColors;
|
|
36
|
-
debug: boolean;
|
|
37
38
|
classList: string;
|
|
39
|
+
debug: boolean;
|
|
38
40
|
onKeyupEnter: EventEmitter<any>;
|
|
39
41
|
get value(): any;
|
|
40
42
|
matInput: ElementRef;
|
|
@@ -67,5 +69,5 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
67
69
|
}): void;
|
|
68
70
|
protected updateTabIndex(timeout?: number): void;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [null, null, null, { optional: true; }]>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false, never>;
|
|
71
73
|
}
|
|
@@ -112,6 +112,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
112
112
|
filterInputTextFocusEvent(event: FocusEvent): boolean;
|
|
113
113
|
protected filterInputTextBlurEvent(event: FocusEvent): void;
|
|
114
114
|
protected ionSearchBarChanged(event: Event): void;
|
|
115
|
+
ionSearchBarChanged1(event: any): void;
|
|
115
116
|
filterMatSelectFocusEvent(event: FocusEvent): void;
|
|
116
117
|
filterMatSelectBlurEvent(event: FocusEvent): boolean;
|
|
117
118
|
clearValue(event?: Event): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { MatAutocompleteField } from '../material.autocomplete';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
@@ -13,6 +13,7 @@ declare class EntityTestClass {
|
|
|
13
13
|
}
|
|
14
14
|
export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
|
|
15
15
|
protected formBuilder: UntypedFormBuilder;
|
|
16
|
+
private cd;
|
|
16
17
|
private _items;
|
|
17
18
|
private _$items;
|
|
18
19
|
form: UntypedFormGroup;
|
|
@@ -24,7 +25,7 @@ export declare class AutocompleteTestPage implements OnInit, AfterViewInit {
|
|
|
24
25
|
mode: 'mobile' | 'desktop' | 'memory' | 'temp';
|
|
25
26
|
farEntityField: MatAutocompleteField;
|
|
26
27
|
ionModal: IonModal;
|
|
27
|
-
constructor(formBuilder: UntypedFormBuilder);
|
|
28
|
+
constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
ngAfterViewInit(): void;
|
|
30
31
|
loadData(): Promise<void>;
|
|
@@ -58,9 +58,10 @@ export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, Contro
|
|
|
58
58
|
setDisabledState(isDisabled: boolean): void;
|
|
59
59
|
openDatePicker(): void;
|
|
60
60
|
focus(): void;
|
|
61
|
-
clear(): void;
|
|
61
|
+
clear(event: UIEvent): void;
|
|
62
62
|
protected _onDatePickerChange(event: MatDatepickerInputEvent<Moment>): void;
|
|
63
63
|
protected _openDatePickerIfMobile(event: Event): void;
|
|
64
|
+
protected _onBlur(): void;
|
|
64
65
|
protected _checkIfTouched(opts?: {
|
|
65
66
|
emitEvent?: boolean;
|
|
66
67
|
}): void;
|
|
@@ -73,5 +74,5 @@ export declare class MatDate implements OnInit, AfterViewInit, OnDestroy, Contro
|
|
|
73
74
|
private markForCheck;
|
|
74
75
|
private updateMaskOptions;
|
|
75
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDate, [null, null, null, null, { optional: true; }]>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDate, "mat-date-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDate, "mat-date-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
|
|
77
78
|
}
|
|
@@ -74,5 +74,5 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
74
74
|
private markForCheck;
|
|
75
75
|
private updateMaskOptions;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateShort, [null, null, null, null, { optional: true; }]>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateShort, "mat-date-short-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateShort, "mat-date-short-field", never, { "mobile": { "alias": "mobile"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["mat-error", "mat-hint", "mat-error", "mat-hint", "[matPrefix]", "[matSuffix]"], false, never>;
|
|
78
78
|
}
|
|
@@ -36,35 +36,38 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
36
36
|
private _formControl;
|
|
37
37
|
private _controlName;
|
|
38
38
|
private _required;
|
|
39
|
+
private _appearance;
|
|
39
40
|
private _subscriptSizing;
|
|
41
|
+
private readonly _defaultAppearance;
|
|
40
42
|
private readonly _defaultSubscriptSizing;
|
|
41
|
-
dateControl: UntypedFormControl;
|
|
42
|
-
timeControl: UntypedFormControl;
|
|
43
|
-
displayPattern: string;
|
|
44
|
-
datePattern: string;
|
|
45
|
-
timePattern: string;
|
|
46
|
-
locale: string;
|
|
47
|
-
maskitoDateOptions: MaskitoOptions;
|
|
48
|
-
maskitoTimeOptions: MaskitoOptions;
|
|
49
|
-
datePlaceholder: string;
|
|
50
|
-
timePlaceholder: string;
|
|
51
|
-
set subscriptSizing(value: SubscriptSizing);
|
|
52
|
-
get subscriptSizing(): SubscriptSizing;
|
|
53
|
-
set formControl(value: UntypedFormControl);
|
|
54
|
-
get formControl(): UntypedFormControl;
|
|
55
|
-
set formControlName(value: string);
|
|
56
|
-
get formControlName(): string;
|
|
57
|
-
set required(value: boolean | any);
|
|
58
|
-
get required(): boolean | any;
|
|
43
|
+
protected dateControl: UntypedFormControl;
|
|
44
|
+
protected timeControl: UntypedFormControl;
|
|
45
|
+
protected displayPattern: string;
|
|
46
|
+
protected datePattern: string;
|
|
47
|
+
protected timePattern: string;
|
|
48
|
+
protected locale: string;
|
|
49
|
+
protected maskitoDateOptions: MaskitoOptions;
|
|
50
|
+
protected maskitoTimeOptions: MaskitoOptions;
|
|
51
|
+
protected datePlaceholder: string;
|
|
52
|
+
protected timePlaceholder: string;
|
|
59
53
|
placeholder: string;
|
|
60
54
|
floatLabel: AppFloatLabelType;
|
|
61
|
-
appearance: MatFormFieldAppearance;
|
|
62
55
|
mobile: boolean;
|
|
63
56
|
compact: boolean;
|
|
64
57
|
autofocus: boolean;
|
|
65
58
|
startDate: Moment | null;
|
|
66
59
|
clearable: boolean;
|
|
67
60
|
datePickerFilter: DateFilterFn<Moment>;
|
|
61
|
+
set appearance(value: MatFormFieldAppearance);
|
|
62
|
+
get appearance(): MatFormFieldAppearance;
|
|
63
|
+
set subscriptSizing(value: SubscriptSizing);
|
|
64
|
+
get subscriptSizing(): SubscriptSizing;
|
|
65
|
+
set formControl(value: UntypedFormControl);
|
|
66
|
+
get formControl(): UntypedFormControl;
|
|
67
|
+
set formControlName(value: string);
|
|
68
|
+
get formControlName(): string;
|
|
69
|
+
set required(value: boolean | any);
|
|
70
|
+
get required(): boolean | any;
|
|
68
71
|
set readonly(value: boolean);
|
|
69
72
|
get readonly(): boolean;
|
|
70
73
|
set tabindex(value: number);
|
|
@@ -77,7 +80,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
77
80
|
matError: MatError;
|
|
78
81
|
constructor(dateAdapter: MomentDateAdapter, translate: TranslateService, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
|
|
79
82
|
ngOnInit(): void;
|
|
80
|
-
_getDisplayedMessages(): 'error' | 'hint';
|
|
81
83
|
ngAfterViewInit(): void;
|
|
82
84
|
ngOnDestroy(): void;
|
|
83
85
|
writeValue(value: any): void;
|
|
@@ -95,9 +97,10 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
95
97
|
protected _onTimePickerChange(timeStr: string): void;
|
|
96
98
|
protected _openDatePickerIfMobile(event?: Event, datePicker?: MatDatepicker<any>): void;
|
|
97
99
|
protected _openTimePickerIfMobile(event?: Event): void;
|
|
100
|
+
protected _onBlur(): void;
|
|
98
101
|
protected _checkIfTouched(): void;
|
|
99
102
|
protected _preventEvent(event?: Event): void;
|
|
100
|
-
private
|
|
103
|
+
private updateTranslations;
|
|
101
104
|
private onFormChange;
|
|
102
105
|
private emitChange;
|
|
103
106
|
private updateTabIndex;
|
|
@@ -107,6 +110,6 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
107
110
|
private updateDateMaskOptions;
|
|
108
111
|
private updateTimeMaskOptions;
|
|
109
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateTime, [null, null, null, null, { optional: true; }, null]>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateTime, "mat-date-time-field", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "datePickerFilter": { "alias": "datePickerFilter"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, ["matError"], ["mat-error", "mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']", "[matPrefix]"], false, never>;
|
|
111
114
|
}
|
|
112
115
|
export {};
|
|
@@ -16,12 +16,12 @@ export declare class DateTimeTestPage implements OnInit {
|
|
|
16
16
|
memoryTimer: Subscription;
|
|
17
17
|
form: UntypedFormGroup;
|
|
18
18
|
mode: 'mobile' | 'desktop' | 'memory' | 'temp';
|
|
19
|
-
|
|
19
|
+
appearance: MatFormFieldAppearance;
|
|
20
20
|
noTimeProperty: string;
|
|
21
21
|
constructor(platform: Platform, formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef);
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
toggleMode(value: any): void;
|
|
24
|
-
|
|
24
|
+
toggleAppearance(event: MatCheckboxChange): void;
|
|
25
25
|
loadData(): Promise<void>;
|
|
26
26
|
doSubmit(event: any): void;
|
|
27
27
|
log(message: string): void;
|
|
@@ -54,5 +54,5 @@ export declare class MatDuration implements OnInit, OnDestroy, ControlValueAcces
|
|
|
54
54
|
protected updateTabIndex(): void;
|
|
55
55
|
protected markForCheck(): void;
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDuration, [null, null, null, null, null, { optional: true; }]>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDuration, "mat-duration-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; }, {}, never, ["[matPrefix]", "mat-error"], false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDuration, "mat-duration-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; }, {}, never, ["[matPrefix]", "mat-error", "[matPrefix]", "mat-error"], false, never>;
|
|
58
58
|
}
|
|
@@ -15,7 +15,9 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
15
15
|
private _formatOptions;
|
|
16
16
|
private _disabling;
|
|
17
17
|
private _writing;
|
|
18
|
+
private _appearance;
|
|
18
19
|
private _subscriptSizing;
|
|
20
|
+
private readonly _defaultAppearance;
|
|
19
21
|
private readonly _defaultSubscriptSizing;
|
|
20
22
|
_readonly: boolean;
|
|
21
23
|
_formatFn: LatLongFormatFn;
|
|
@@ -31,13 +33,14 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
31
33
|
pattern: LatLongPattern;
|
|
32
34
|
required: boolean;
|
|
33
35
|
floatLabel: AppFloatLabelType;
|
|
34
|
-
appearance: MatFormFieldAppearance;
|
|
35
36
|
placeholder: string;
|
|
36
37
|
tabindex: number;
|
|
37
38
|
defaultSign: '-' | '+' | '+ ' | '- ';
|
|
38
39
|
maxDecimals: number;
|
|
39
40
|
placeholderChar: string;
|
|
40
41
|
autofocus: boolean;
|
|
42
|
+
set appearance(value: MatFormFieldAppearance);
|
|
43
|
+
get appearance(): MatFormFieldAppearance;
|
|
41
44
|
set readonly(value: boolean);
|
|
42
45
|
get readonly(): boolean;
|
|
43
46
|
set subscriptSizing(value: SubscriptSizing);
|
|
@@ -48,7 +51,6 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
48
51
|
matError: MatError;
|
|
49
52
|
constructor(formBuilder: UntypedFormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective, defaultOptions?: MatFormFieldDefaultOptions);
|
|
50
53
|
ngOnInit(): void;
|
|
51
|
-
_getDisplayedMessages(): 'error' | 'hint';
|
|
52
54
|
ngOnDestroy(): void;
|
|
53
55
|
writeValue(obj: any): void;
|
|
54
56
|
registerOnChange(fn: any): void;
|
|
@@ -69,5 +71,5 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
69
71
|
private checkIfTouched;
|
|
70
72
|
private markForCheck;
|
|
71
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatLatLongField, [null, null, { optional: true; }, null]>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatLatLongField, "mat-latlong-field", never, { "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "latLongPattern"; "required": false; }; "required": { "alias": "required"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatLatLongField, "mat-latlong-field", never, { "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "latLongPattern"; "required": false; }; "required": { "alias": "required"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "defaultSign": { "alias": "defaultSign"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "placeholderChar": { "alias": "placeholderChar"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["matError"], ["mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']", "[matPrefix]", "[matSuffix]"], false, never>;
|
|
73
75
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { PlatformService } from '../../../../core/services/platform.service';
|
|
4
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class LatLongTestPage implements OnInit {
|
|
6
8
|
protected formBuilder: UntypedFormBuilder;
|
|
@@ -8,12 +10,14 @@ export declare class LatLongTestPage implements OnInit {
|
|
|
8
10
|
form: UntypedFormGroup;
|
|
9
11
|
geoPositionMessage: string;
|
|
10
12
|
mode: string;
|
|
13
|
+
appearance: MatFormFieldAppearance;
|
|
11
14
|
constructor(formBuilder: UntypedFormBuilder, platform: PlatformService);
|
|
12
15
|
ngOnInit(): void;
|
|
13
16
|
toggleMode(value: any): void;
|
|
14
17
|
loadData(): Promise<void>;
|
|
15
18
|
doSubmit(event: any): void;
|
|
16
19
|
geoPosition(event: Event, controlName?: string): Promise<void>;
|
|
20
|
+
toggleAppearance(event: MatCheckboxChange): void;
|
|
17
21
|
stringify: {
|
|
18
22
|
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
19
23
|
(value: any, replacer?: (string | number)[], space?: string | number): string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { SubscriptSizing } from '@angular/material/form-field';
|
|
1
|
+
import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
|
|
2
2
|
export declare const MAT_FORM_FIELD_DEFAULT_SUBSCRIPT_SIZING: SubscriptSizing;
|
|
3
|
+
export declare const MAT_FORM_FIELD_DEFAULT_APPEARANCE: MatFormFieldAppearance;
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnInit } from '@
|
|
|
2
2
|
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
4
4
|
import { AppForm } from '../../../core/form/form.class';
|
|
5
|
+
import { AppFloatLabelType } from '../../form/field.model';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class TextForm extends AppForm<{
|
|
7
8
|
text: string;
|
|
@@ -20,6 +21,7 @@ export declare class TextForm extends AppForm<{
|
|
|
20
21
|
standalone: boolean;
|
|
21
22
|
formControl: UntypedFormControl;
|
|
22
23
|
formControlName: string;
|
|
24
|
+
floatLabel: AppFloatLabelType;
|
|
23
25
|
textAreaChanges: EventEmitter<string>;
|
|
24
26
|
textArea: ElementRef;
|
|
25
27
|
textInput: ElementRef;
|
|
@@ -41,5 +43,5 @@ export declare class TextForm extends AppForm<{
|
|
|
41
43
|
}): void;
|
|
42
44
|
private textFormValueChanged;
|
|
43
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextForm, [null, null, null, { optional: true; }]>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": { "alias": "showError"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "validator": { "alias": "validator"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, { "textAreaChanges": "textAreaChanges"; }, never, ["[matError]"], false, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": { "alias": "showError"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "validator": { "alias": "validator"; "required": false; }; "standalone": { "alias": "standalone"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; }, { "textAreaChanges": "textAreaChanges"; }, never, ["[matError]"], false, never>;
|
|
45
47
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DisplayFn } from '../form/field.model';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class IsNotNilOrBlankPipe implements PipeTransform {
|
|
4
5
|
transform(value: string): boolean;
|
|
@@ -31,7 +32,7 @@ export declare class IsNilPipe implements PipeTransform {
|
|
|
31
32
|
static ɵpipe: i0.ɵɵPipeDeclaration<IsNilPipe, "isNil", false>;
|
|
32
33
|
}
|
|
33
34
|
export declare class ToStringPipe implements PipeTransform {
|
|
34
|
-
transform(value: number): string;
|
|
35
|
+
transform(value: number | object, displayWith?: DisplayFn): string;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToStringPipe, never>;
|
|
36
37
|
static ɵpipe: i0.ɵɵPipeDeclaration<ToStringPipe, "toString", false>;
|
|
37
38
|
}
|
|
@@ -10,6 +10,9 @@ export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
|
10
10
|
protected accountService: AccountService;
|
|
11
11
|
protected popoverController: PopoverController;
|
|
12
12
|
private cd;
|
|
13
|
+
private _logPrefix;
|
|
14
|
+
private _readEvent;
|
|
15
|
+
private _readEvents;
|
|
13
16
|
debug: boolean;
|
|
14
17
|
titleI18n: string;
|
|
15
18
|
disabled: boolean;
|
|
@@ -19,13 +22,10 @@ export declare class UserEventNotificationIcon implements OnInit, OnDestroy {
|
|
|
19
22
|
footerActions: IUserEventAction[];
|
|
20
23
|
protected visible: boolean;
|
|
21
24
|
protected readonly countChanges$: Observable<number>;
|
|
22
|
-
private _logPrefix;
|
|
23
|
-
private _readEvent;
|
|
24
|
-
private _readEvents;
|
|
25
25
|
constructor(userEventService: IUserEventService<IUserEvent<any>, IUserEventFilter<any>>, accountService: AccountService, popoverController: PopoverController, cd: ChangeDetectorRef);
|
|
26
26
|
ngOnInit(): Promise<void>;
|
|
27
|
-
showList(event: Event): Promise<void>;
|
|
28
27
|
ngOnDestroy(): void;
|
|
28
|
+
showList(event: Event): Promise<void>;
|
|
29
29
|
protected setVisible(value: boolean): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserEventNotificationIcon, [{ optional: true; }, null, null, null]>;
|
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserEventNotificationIcon, "app-user-event-notification-icon", never, { "debug": { "alias": "debug"; "required": false; }; "titleI18n": { "alias": "titleI18n"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "autoHide": { "alias": "autoHide"; "required": false; }; "headerActions": { "alias": "headerActions"; "required": false; }; "footerActions": { "alias": "footerActions"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -370,6 +370,7 @@
|
|
|
370
370
|
"NETWORK_DIVIDER": "Network settings",
|
|
371
371
|
"PEER_URL": "Network node address",
|
|
372
372
|
"BTN_CHANGE_PEER": "See available nodes",
|
|
373
|
+
"BTN_DARK_MODE": "Light/dark theme",
|
|
373
374
|
"BTN_SHOW_MORE_HELP": "Show more parameters",
|
|
374
375
|
"BTN_CLEAR_CACHE": "Clear data cache",
|
|
375
376
|
"OFFLINE_MODE": "Force offline mode? (experimental)",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -370,6 +370,7 @@
|
|
|
370
370
|
"NETWORK_DIVIDER": "Network settings",
|
|
371
371
|
"PEER_URL": "Network node address",
|
|
372
372
|
"BTN_CHANGE_PEER": "See available nodes",
|
|
373
|
+
"BTN_DARK_MODE": "Light/dark theme",
|
|
373
374
|
"BTN_SHOW_MORE_HELP": "Show more parameters",
|
|
374
375
|
"BTN_CLEAR_CACHE": "Clear data cache",
|
|
375
376
|
"OFFLINE_MODE": "Force offline mode? (experimental)",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -370,6 +370,7 @@
|
|
|
370
370
|
"NETWORK_DIVIDER": "Paramètres réseau",
|
|
371
371
|
"PEER_URL": "Adresse du nœud réseau",
|
|
372
372
|
"BTN_CHANGE_PEER": "Voir les nœuds disponibles",
|
|
373
|
+
"BTN_DARK_MODE": "Mode sombre/clair",
|
|
373
374
|
"BTN_SHOW_MORE_HELP": "Afficher plus de paramètres",
|
|
374
375
|
"BTN_CLEAR_CACHE": "Vider le cache",
|
|
375
376
|
"OFFLINE_MODE": "Forcer le mode hors-ligne ?",
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "2.7.3
|
|
5
|
+
"version": "2.7.3",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -10,7 +10,6 @@ export declare class Environment {
|
|
|
10
10
|
production: boolean;
|
|
11
11
|
externalEnvironmentUrl?: string;
|
|
12
12
|
baseUrl: string;
|
|
13
|
-
useHash?: boolean;
|
|
14
13
|
connectionTimeout?: number;
|
|
15
14
|
sameUrlPeer?: boolean;
|
|
16
15
|
defaultPeer?: {
|
|
@@ -35,6 +34,8 @@ export declare class Environment {
|
|
|
35
34
|
defaultDepartmentId?: number;
|
|
36
35
|
defaultAppName?: string;
|
|
37
36
|
defaultAndroidInstallUrl?: string;
|
|
37
|
+
useHash?: boolean;
|
|
38
|
+
allowDarkMode?: boolean;
|
|
38
39
|
logging?: Partial<LoggingServiceConfig>;
|
|
39
40
|
cache?: Partial<CacheConfig>;
|
|
40
41
|
storage?: Partial<StorageConfig>;
|
|
@@ -54,7 +54,10 @@ $dark: #222428 !default;
|
|
|
54
54
|
$transparent: transparent;
|
|
55
55
|
|
|
56
56
|
// Main background color
|
|
57
|
-
$background-color: #fff
|
|
57
|
+
$background-color-value: #fff;
|
|
58
|
+
$background-color-rgb-value: 255, 255, 255;
|
|
59
|
+
$ion-toolbar-background: withesmoke !default;
|
|
60
|
+
|
|
58
61
|
// Text color
|
|
59
62
|
$dark-primary-text: rgba(black, 0.87);
|
|
60
63
|
$dark-secondary-text: rgba(black, 0.54);
|