@lenne.tech/ng-base 18.1.3 → 22.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +55 -0
- package/LICENSE +2 -2
- package/README.md +237 -44
- package/fesm2022/lenne.tech-ng-base-ai.mjs +771 -0
- package/fesm2022/lenne.tech-ng-base-ai.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-auth-provide.mjs +945 -0
- package/fesm2022/lenne.tech-ng-base-auth-provide.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-auth.mjs +454 -0
- package/fesm2022/lenne.tech-ng-base-auth.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-bug-report-dialog-BRzVmKJr.mjs +825 -0
- package/fesm2022/lenne.tech-ng-base-bug-bug-report-dialog-BRzVmKJr.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-bug-report-service-DWoTb_iw.mjs +351 -0
- package/fesm2022/lenne.tech-ng-base-bug-bug-report-service-DWoTb_iw.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-capture-engine-TkjMDdqj.mjs +1046 -0
- package/fesm2022/lenne.tech-ng-base-bug-capture-engine-TkjMDdqj.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-constants-Brm2KGHi.mjs +4 -0
- package/fesm2022/lenne.tech-ng-base-bug-constants-Brm2KGHi.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-messages-BsP4fRQU.mjs +179 -0
- package/fesm2022/lenne.tech-ng-base-bug-messages-BsP4fRQU.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-provide.mjs +26 -0
- package/fesm2022/lenne.tech-ng-base-bug-provide.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-report-Tzlhe1Cm.mjs +62 -0
- package/fesm2022/lenne.tech-ng-base-bug-report-Tzlhe1Cm.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug-server.mjs +818 -0
- package/fesm2022/lenne.tech-ng-base-bug-server.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-bug.mjs +196 -0
- package/fesm2022/lenne.tech-ng-base-bug.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-files-ui.mjs +445 -0
- package/fesm2022/lenne.tech-ng-base-files-ui.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-files.mjs +474 -0
- package/fesm2022/lenne.tech-ng-base-files.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-server.mjs +408 -0
- package/fesm2022/lenne.tech-ng-base-server.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-share.mjs +76 -0
- package/fesm2022/lenne.tech-ng-base-share.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-sync.mjs +1096 -0
- package/fesm2022/lenne.tech-ng-base-sync.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-testing.mjs +171 -0
- package/fesm2022/lenne.tech-ng-base-testing.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-ui-provide.mjs +124 -0
- package/fesm2022/lenne.tech-ng-base-ui-provide.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-ui.mjs +34645 -0
- package/fesm2022/lenne.tech-ng-base-ui.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-utils.mjs +287 -0
- package/fesm2022/lenne.tech-ng-base-utils.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base.mjs +615 -910
- package/fesm2022/lenne.tech-ng-base.mjs.map +1 -1
- package/i18n/auth/de.json +17 -0
- package/i18n/auth/en.json +17 -0
- package/i18n/bug/de.json +85 -0
- package/i18n/bug/en.json +85 -0
- package/i18n/de.json +8 -0
- package/i18n/en.json +8 -0
- package/i18n/files/de.json +27 -0
- package/i18n/files/en.json +27 -0
- package/i18n/share/de.json +8 -0
- package/i18n/share/en.json +8 -0
- package/i18n/ui/de.json +38 -0
- package/i18n/ui/en.json +38 -0
- package/package.json +127 -58
- package/types/lenne.tech-ng-base-ai.d.ts +845 -0
- package/types/lenne.tech-ng-base-auth-provide.d.ts +604 -0
- package/types/lenne.tech-ng-base-auth.d.ts +320 -0
- package/types/lenne.tech-ng-base-bug-provide.d.ts +272 -0
- package/types/lenne.tech-ng-base-bug-rolldown-runtime-C25Le4-w.d.ts +1 -0
- package/types/lenne.tech-ng-base-bug-server.d.ts +316 -0
- package/types/lenne.tech-ng-base-bug.d.ts +202 -0
- package/types/lenne.tech-ng-base-files-ui.d.ts +116 -0
- package/types/lenne.tech-ng-base-files.d.ts +288 -0
- package/types/lenne.tech-ng-base-server.d.ts +262 -0
- package/types/lenne.tech-ng-base-share.d.ts +21 -0
- package/types/lenne.tech-ng-base-sync.d.ts +380 -0
- package/types/lenne.tech-ng-base-testing.d.ts +327 -0
- package/types/lenne.tech-ng-base-ui-provide.d.ts +65 -0
- package/types/lenne.tech-ng-base-ui.d.ts +7744 -0
- package/types/lenne.tech-ng-base-utils.d.ts +150 -0
- package/types/lenne.tech-ng-base.d.ts +503 -0
- package/ui/styles/components/accordion.css +3 -0
- package/ui/styles/components/alert-dialog.css +4 -0
- package/ui/styles/components/alert.css +3 -0
- package/ui/styles/components/aspect-ratio.css +3 -0
- package/ui/styles/components/attachment.css +4 -0
- package/ui/styles/components/autocomplete.css +4 -0
- package/ui/styles/components/avatar.css +3 -0
- package/ui/styles/components/badge.css +3 -0
- package/ui/styles/components/breadcrumb.css +3 -0
- package/ui/styles/components/bubble.css +3 -0
- package/ui/styles/components/button-group.css +3 -0
- package/ui/styles/components/button.css +3 -0
- package/ui/styles/components/calendar.css +5 -0
- package/ui/styles/components/card.css +3 -0
- package/ui/styles/components/checkbox.css +3 -0
- package/ui/styles/components/code-block.css +4 -0
- package/ui/styles/components/collapsible.css +3 -0
- package/ui/styles/components/combobox.css +5 -0
- package/ui/styles/components/command.css +5 -0
- package/ui/styles/components/context-menu.css +3 -0
- package/ui/styles/components/date-picker.css +7 -0
- package/ui/styles/components/dialog.css +4 -0
- package/ui/styles/components/drawer.css +3 -0
- package/ui/styles/components/dropdown-menu.css +3 -0
- package/ui/styles/components/empty.css +3 -0
- package/ui/styles/components/field.css +5 -0
- package/ui/styles/components/hover-card.css +3 -0
- package/ui/styles/components/index.css +91 -0
- package/ui/styles/components/input-group.css +6 -0
- package/ui/styles/components/input-otp.css +3 -0
- package/ui/styles/components/input.css +3 -0
- package/ui/styles/components/item.css +4 -0
- package/ui/styles/components/kbd.css +3 -0
- package/ui/styles/components/label.css +3 -0
- package/ui/styles/components/lt-breadcrumb.css +3 -0
- package/ui/styles/components/lt-bug-attachments.css +5 -0
- package/ui/styles/components/lt-bug-journey-timeline.css +5 -0
- package/ui/styles/components/lt-bug-report-dialog.css +15 -0
- package/ui/styles/components/lt-bug-report.css +4 -0
- package/ui/styles/components/lt-color-mode-button.css +3 -0
- package/ui/styles/components/lt-confirm-dialog.css +4 -0
- package/ui/styles/components/lt-data-view.css +5 -0
- package/ui/styles/components/lt-date-picker.css +3 -0
- package/ui/styles/components/lt-date-time-picker.css +5 -0
- package/ui/styles/components/lt-enter-action.css +2 -0
- package/ui/styles/components/lt-footer.css +3 -0
- package/ui/styles/components/lt-form-field.css +4 -0
- package/ui/styles/components/lt-header.css +5 -0
- package/ui/styles/components/lt-imports.css +21 -0
- package/ui/styles/components/lt-navigation-menu.css +3 -0
- package/ui/styles/components/lt-notice.css +3 -0
- package/ui/styles/components/lt-overlay-defaults.css +3 -0
- package/ui/styles/components/lt-page-card.css +3 -0
- package/ui/styles/components/lt-page-title.css +2 -0
- package/ui/styles/components/lt-password-input.css +4 -0
- package/ui/styles/components/lt-readonly-field.css +2 -0
- package/ui/styles/components/lt-select.css +4 -0
- package/ui/styles/components/lt-text-field.css +5 -0
- package/ui/styles/components/lt-toolbar-item.css +2 -0
- package/ui/styles/components/lt-toolbar.css +3 -0
- package/ui/styles/components/lt-tus-upload-component.css +5 -0
- package/ui/styles/components/marker.css +3 -0
- package/ui/styles/components/menubar.css +3 -0
- package/ui/styles/components/message-scroller.css +4 -0
- package/ui/styles/components/message.css +3 -0
- package/ui/styles/components/native-select.css +3 -0
- package/ui/styles/components/navigation-menu.css +3 -0
- package/ui/styles/components/pagination.css +4 -0
- package/ui/styles/components/popover.css +3 -0
- package/ui/styles/components/progress.css +3 -0
- package/ui/styles/components/questionnaire.css +4 -0
- package/ui/styles/components/radio-group.css +3 -0
- package/ui/styles/components/resizable.css +3 -0
- package/ui/styles/components/select.css +3 -0
- package/ui/styles/components/separator.css +3 -0
- package/ui/styles/components/sheet.css +4 -0
- package/ui/styles/components/sidebar.css +9 -0
- package/ui/styles/components/skeleton.css +3 -0
- package/ui/styles/components/slider.css +3 -0
- package/ui/styles/components/sonner.css +4 -0
- package/ui/styles/components/spinner.css +3 -0
- package/ui/styles/components/switch.css +3 -0
- package/ui/styles/components/table.css +3 -0
- package/ui/styles/components/tabs.css +4 -0
- package/ui/styles/components/textarea.css +3 -0
- package/ui/styles/components/toggle-group.css +4 -0
- package/ui/styles/components/toggle.css +3 -0
- package/ui/styles/components/tooltip.css +3 -0
- package/ui/styles/components/trace.css +3 -0
- package/ui/styles/components/typography.css +3 -0
- package/ui/styles/components/utils.css +2 -0
- package/ui/styles/core.css +137 -0
- package/ui/styles/palette.css +94 -0
- package/ui/styles/theme.css +14 -0
- package/ui/styles/transitions.css +131 -0
- package/base-cms/index.d.ts +0 -5
- package/base-cms/interfaces/base-cms-module-config.interface.d.ts +0 -16
- package/base-cms/pages/base-cms/base-cms.component.d.ts +0 -92
- package/base-cms/public-api.d.ts +0 -5
- package/base-components/components/breadcrumb/breadcrumb.component.d.ts +0 -10
- package/base-components/components/change-password/change-password.component.d.ts +0 -24
- package/base-components/components/checkbox/checkbox.component.d.ts +0 -12
- package/base-components/components/delete-account/delete-account.component.d.ts +0 -15
- package/base-components/components/fab-button/fab-button.component.d.ts +0 -16
- package/base-components/components/input/input.component.d.ts +0 -27
- package/base-components/components/loading-bar/loading-bar.component.d.ts +0 -17
- package/base-components/components/model-form/model-form-base.component.d.ts +0 -64
- package/base-components/components/model-form/model-form.component.d.ts +0 -139
- package/base-components/components/model-form-sub/model-form-sub.component.d.ts +0 -56
- package/base-components/components/model-table/model-table.component.d.ts +0 -115
- package/base-components/components/refence-input/refence-input.component.d.ts +0 -84
- package/base-components/components/select/select.component.d.ts +0 -25
- package/base-components/components/skeleton-loader/skeleton-loader.component.d.ts +0 -10
- package/base-components/components/tags/tags.component.d.ts +0 -60
- package/base-components/components/textarea/textarea.component.d.ts +0 -21
- package/base-components/components/toast/toast.component.d.ts +0 -19
- package/base-components/components/upload-image/upload-image.component.d.ts +0 -111
- package/base-components/directives/back-button.directive.d.ts +0 -9
- package/base-components/directives/context-menu.directive.d.ts +0 -22
- package/base-components/directives/sort.directive.d.ts +0 -15
- package/base-components/directives/stop-propagation.directive.d.ts +0 -10
- package/base-components/index.d.ts +0 -5
- package/base-components/pipes/ellipses.pipe.d.ts +0 -10
- package/base-components/public-api.d.ts +0 -26
- package/base-prototype/index.d.ts +0 -5
- package/base-prototype/pages/email-verification/email-verification.component.d.ts +0 -18
- package/base-prototype/pages/forgot-password/forgot-password.component.d.ts +0 -26
- package/base-prototype/pages/login/login.component.d.ts +0 -33
- package/base-prototype/pages/profile/profile.component.d.ts +0 -24
- package/base-prototype/pages/register/register.component.d.ts +0 -31
- package/base-prototype/pages/set-password/set-password.component.d.ts +0 -29
- package/base-prototype/public-api.d.ts +0 -9
- package/esm2022/base-cms/interfaces/base-cms-module-config.interface.mjs +0 -3
- package/esm2022/base-cms/lenne.tech-ng-base-base-cms.mjs +0 -5
- package/esm2022/base-cms/pages/base-cms/base-cms.component.mjs +0 -238
- package/esm2022/base-cms/public-api.mjs +0 -8
- package/esm2022/base-components/components/breadcrumb/breadcrumb.component.mjs +0 -23
- package/esm2022/base-components/components/change-password/change-password.component.mjs +0 -97
- package/esm2022/base-components/components/checkbox/checkbox.component.mjs +0 -38
- package/esm2022/base-components/components/delete-account/delete-account.component.mjs +0 -59
- package/esm2022/base-components/components/fab-button/fab-button.component.mjs +0 -24
- package/esm2022/base-components/components/input/input.component.mjs +0 -75
- package/esm2022/base-components/components/loading-bar/loading-bar.component.mjs +0 -37
- package/esm2022/base-components/components/model-form/model-form-base.component.mjs +0 -145
- package/esm2022/base-components/components/model-form/model-form.component.mjs +0 -591
- package/esm2022/base-components/components/model-form-sub/model-form-sub.component.mjs +0 -117
- package/esm2022/base-components/components/model-table/model-table.component.mjs +0 -478
- package/esm2022/base-components/components/refence-input/refence-input.component.mjs +0 -278
- package/esm2022/base-components/components/select/select.component.mjs +0 -62
- package/esm2022/base-components/components/skeleton-loader/skeleton-loader.component.mjs +0 -33
- package/esm2022/base-components/components/tags/tags.component.mjs +0 -227
- package/esm2022/base-components/components/textarea/textarea.component.mjs +0 -79
- package/esm2022/base-components/components/toast/toast.component.mjs +0 -69
- package/esm2022/base-components/components/upload-image/upload-image.component.mjs +0 -346
- package/esm2022/base-components/directives/back-button.directive.mjs +0 -25
- package/esm2022/base-components/directives/context-menu.directive.mjs +0 -112
- package/esm2022/base-components/directives/sort.directive.mjs +0 -61
- package/esm2022/base-components/directives/stop-propagation.directive.mjs +0 -24
- package/esm2022/base-components/lenne.tech-ng-base-base-components.mjs +0 -5
- package/esm2022/base-components/pipes/ellipses.pipe.mjs +0 -23
- package/esm2022/base-components/public-api.mjs +0 -30
- package/esm2022/base-prototype/lenne.tech-ng-base-base-prototype.mjs +0 -5
- package/esm2022/base-prototype/pages/email-verification/email-verification.component.mjs +0 -60
- package/esm2022/base-prototype/pages/forgot-password/forgot-password.component.mjs +0 -78
- package/esm2022/base-prototype/pages/login/login.component.mjs +0 -114
- package/esm2022/base-prototype/pages/profile/profile.component.mjs +0 -87
- package/esm2022/base-prototype/pages/register/register.component.mjs +0 -100
- package/esm2022/base-prototype/pages/set-password/set-password.component.mjs +0 -91
- package/esm2022/base-prototype/public-api.mjs +0 -11
- package/esm2022/lenne.tech-ng-base.mjs +0 -5
- package/esm2022/public-api.mjs +0 -25
- package/esm2022/shared/classes/auth.class.mjs +0 -14
- package/esm2022/shared/classes/basic-user.class.mjs +0 -49
- package/esm2022/shared/classes/graphql-enum.class.mjs +0 -10
- package/esm2022/shared/classes/graphql-meta.class.mjs +0 -345
- package/esm2022/shared/classes/graphql-type.class.mjs +0 -14
- package/esm2022/shared/classes/helper.class.mjs +0 -307
- package/esm2022/shared/classes/sort.class.mjs +0 -38
- package/esm2022/shared/classes/standard.class.mjs +0 -40
- package/esm2022/shared/decorators/debounce.decorator.mjs +0 -12
- package/esm2022/shared/enums/comparison-operator.enum.mjs +0 -16
- package/esm2022/shared/enums/graphql-request-type.enum.mjs +0 -10
- package/esm2022/shared/enums/logical-operator.enum.mjs +0 -10
- package/esm2022/shared/enums/skeleton-type.enum.mjs +0 -7
- package/esm2022/shared/enums/sort-order.enum.mjs +0 -6
- package/esm2022/shared/enums/toast-type.enum.mjs +0 -8
- package/esm2022/shared/functions/ws-client.function.mjs +0 -39
- package/esm2022/shared/interfaces/base-module-config.interface.mjs +0 -3
- package/esm2022/shared/interfaces/breadcrumb.interface.mjs +0 -2
- package/esm2022/shared/interfaces/can-component-deactivate.interface.mjs +0 -2
- package/esm2022/shared/interfaces/cms-enum-values.interface.mjs +0 -2
- package/esm2022/shared/interfaces/cms-field-config.interface.mjs +0 -2
- package/esm2022/shared/interfaces/cms-model-config.interface.mjs +0 -2
- package/esm2022/shared/interfaces/cms-table-field.interface.mjs +0 -2
- package/esm2022/shared/interfaces/combined-filter-input.interface.mjs +0 -2
- package/esm2022/shared/interfaces/compress-options.interface.mjs +0 -2
- package/esm2022/shared/interfaces/cropping-options.interface.mjs +0 -2
- package/esm2022/shared/interfaces/field-object.interface.mjs +0 -2
- package/esm2022/shared/interfaces/field.interface.mjs +0 -2
- package/esm2022/shared/interfaces/filter-input.interface.mjs +0 -2
- package/esm2022/shared/interfaces/find-args.interface.mjs +0 -2
- package/esm2022/shared/interfaces/graphql-crud-type.interface.mjs +0 -2
- package/esm2022/shared/interfaces/graphql-fields-object.interface.mjs +0 -2
- package/esm2022/shared/interfaces/graphql-options.interface.mjs +0 -2
- package/esm2022/shared/interfaces/graphql-plus-options.interfacen.mjs +0 -2
- package/esm2022/shared/interfaces/graphql-type-collection.interface.mjs +0 -2
- package/esm2022/shared/interfaces/login-config.interface.mjs +0 -2
- package/esm2022/shared/interfaces/register-config.interface.mjs +0 -2
- package/esm2022/shared/interfaces/single-filter-input.interface.mjs +0 -2
- package/esm2022/shared/interfaces/sort-input.interface.mjs +0 -2
- package/esm2022/shared/interfaces/time-components.interface.mjs +0 -2
- package/esm2022/shared/interfaces/toast.interface.mjs +0 -2
- package/esm2022/shared/lenne.tech-ng-base-shared.mjs +0 -5
- package/esm2022/shared/public-api.mjs +0 -74
- package/esm2022/shared/services/auth.service.mjs +0 -152
- package/esm2022/shared/services/breadcrumb.service.mjs +0 -69
- package/esm2022/shared/services/cms.service.mjs +0 -82
- package/esm2022/shared/services/file.service.mjs +0 -86
- package/esm2022/shared/services/forms.service.mjs +0 -61
- package/esm2022/shared/services/graphql-meta.service.mjs +0 -132
- package/esm2022/shared/services/graphql-plus.service.mjs +0 -93
- package/esm2022/shared/services/graphql.service.mjs +0 -510
- package/esm2022/shared/services/image.service.mjs +0 -102
- package/esm2022/shared/services/loader.service.mjs +0 -78
- package/esm2022/shared/services/navigation.service.mjs +0 -38
- package/esm2022/shared/services/scroll.service.mjs +0 -207
- package/esm2022/shared/services/storage.service.mjs +0 -149
- package/esm2022/shared/services/toast.service.mjs +0 -39
- package/esm2022/shared/services/user.service.mjs +0 -160
- package/esm2022/shared/services/ws.service.mjs +0 -17
- package/esm2022/shared/types/graphql-fields.type.mjs +0 -2
- package/esm2022/shared/types/storage.type.mjs +0 -2
- package/esm2022/shared/validators/email.validator.mjs +0 -7
- package/esm2022/shared/validators/match.validator.mjs +0 -22
- package/esm2022/shared/validators/secure-password.validator.mjs +0 -7
- package/esm2022/src/base.module.mjs +0 -64
- package/esm2022/src/decorators/auto-unsubscribe.decorator.mjs +0 -23
- package/esm2022/src/directives/lazy-load.directive.mjs +0 -48
- package/esm2022/src/directives/match-height.directive.mjs +0 -92
- package/esm2022/src/directives/resizable.directive.mjs +0 -92
- package/esm2022/src/factories/apollo-options.factory.mjs +0 -108
- package/esm2022/src/functions/extract-files.function.mjs +0 -87
- package/esm2022/src/guards/auth.guard.mjs +0 -91
- package/esm2022/src/guards/can-deactivate.guard.mjs +0 -16
- package/esm2022/src/guards/logout.guard.mjs +0 -34
- package/esm2022/src/pipes/date-ago.pipe.mjs +0 -64
- package/esm2022/src/pipes/safe-html.pipe.mjs +0 -22
- package/esm2022/src/services/fullscreen.service.mjs +0 -51
- package/esm2022/src/services/seo.service.mjs +0 -117
- package/esm2022/src/services/theme.service.mjs +0 -44
- package/fesm2022/lenne.tech-ng-base-base-cms.mjs +0 -251
- package/fesm2022/lenne.tech-ng-base-base-cms.mjs.map +0 -1
- package/fesm2022/lenne.tech-ng-base-base-components.mjs +0 -2917
- package/fesm2022/lenne.tech-ng-base-base-components.mjs.map +0 -1
- package/fesm2022/lenne.tech-ng-base-base-prototype.mjs +0 -505
- package/fesm2022/lenne.tech-ng-base-base-prototype.mjs.map +0 -1
- package/fesm2022/lenne.tech-ng-base-shared.mjs +0 -2863
- package/fesm2022/lenne.tech-ng-base-shared.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/public-api.d.ts +0 -17
- package/shared/classes/auth.class.d.ts +0 -10
- package/shared/classes/basic-user.class.d.ts +0 -27
- package/shared/classes/graphql-enum.class.d.ts +0 -7
- package/shared/classes/graphql-meta.class.d.ts +0 -66
- package/shared/classes/graphql-type.class.d.ts +0 -13
- package/shared/classes/helper.class.d.ts +0 -99
- package/shared/classes/sort.class.d.ts +0 -12
- package/shared/classes/standard.class.d.ts +0 -32
- package/shared/decorators/debounce.decorator.d.ts +0 -1
- package/shared/enums/comparison-operator.enum.d.ts +0 -14
- package/shared/enums/graphql-request-type.enum.d.ts +0 -8
- package/shared/enums/logical-operator.enum.d.ts +0 -8
- package/shared/enums/skeleton-type.enum.d.ts +0 -5
- package/shared/enums/sort-order.enum.d.ts +0 -4
- package/shared/enums/toast-type.enum.d.ts +0 -6
- package/shared/functions/ws-client.function.d.ts +0 -5
- package/shared/index.d.ts +0 -5
- package/shared/interfaces/base-module-config.interface.d.ts +0 -61
- package/shared/interfaces/breadcrumb.interface.d.ts +0 -4
- package/shared/interfaces/can-component-deactivate.interface.d.ts +0 -7
- package/shared/interfaces/cms-enum-values.interface.d.ts +0 -4
- package/shared/interfaces/cms-field-config.interface.d.ts +0 -45
- package/shared/interfaces/cms-model-config.interface.d.ts +0 -14
- package/shared/interfaces/cms-table-field.interface.d.ts +0 -10
- package/shared/interfaces/combined-filter-input.interface.d.ts +0 -9
- package/shared/interfaces/compress-options.interface.d.ts +0 -15
- package/shared/interfaces/cropping-options.interface.d.ts +0 -12
- package/shared/interfaces/field-object.interface.d.ts +0 -6
- package/shared/interfaces/field.interface.d.ts +0 -5
- package/shared/interfaces/filter-input.interface.d.ts +0 -9
- package/shared/interfaces/find-args.interface.d.ts +0 -11
- package/shared/interfaces/graphql-crud-type.interface.d.ts +0 -7
- package/shared/interfaces/graphql-fields-object.interface.d.ts +0 -6
- package/shared/interfaces/graphql-options.interface.d.ts +0 -11
- package/shared/interfaces/graphql-plus-options.interfacen.d.ts +0 -9
- package/shared/interfaces/graphql-type-collection.interface.d.ts +0 -7
- package/shared/interfaces/login-config.interface.d.ts +0 -6
- package/shared/interfaces/register-config.interface.d.ts +0 -4
- package/shared/interfaces/single-filter-input.interface.d.ts +0 -11
- package/shared/interfaces/sort-input.interface.d.ts +0 -5
- package/shared/interfaces/time-components.interface.d.ts +0 -6
- package/shared/interfaces/toast.interface.d.ts +0 -8
- package/shared/public-api.d.ts +0 -65
- package/shared/services/auth.service.d.ts +0 -44
- package/shared/services/breadcrumb.service.d.ts +0 -32
- package/shared/services/cms.service.d.ts +0 -27
- package/shared/services/file.service.d.ts +0 -22
- package/shared/services/forms.service.d.ts +0 -14
- package/shared/services/graphql-meta.service.d.ts +0 -45
- package/shared/services/graphql-plus.service.d.ts +0 -27
- package/shared/services/graphql.service.d.ts +0 -71
- package/shared/services/image.service.d.ts +0 -27
- package/shared/services/loader.service.d.ts +0 -32
- package/shared/services/navigation.service.d.ts +0 -15
- package/shared/services/scroll.service.d.ts +0 -85
- package/shared/services/storage.service.d.ts +0 -49
- package/shared/services/toast.service.d.ts +0 -15
- package/shared/services/user.service.d.ts +0 -77
- package/shared/services/ws.service.d.ts +0 -8
- package/shared/types/graphql-fields.type.d.ts +0 -5
- package/shared/types/storage.type.d.ts +0 -4
- package/shared/validators/email.validator.d.ts +0 -1
- package/shared/validators/match.validator.d.ts +0 -4
- package/shared/validators/secure-password.validator.d.ts +0 -1
- package/src/base.module.d.ts +0 -16
- package/src/decorators/auto-unsubscribe.decorator.d.ts +0 -5
- package/src/directives/lazy-load.directive.d.ts +0 -17
- package/src/directives/match-height.directive.d.ts +0 -20
- package/src/directives/resizable.directive.d.ts +0 -26
- package/src/factories/apollo-options.factory.d.ts +0 -16
- package/src/functions/extract-files.function.d.ts +0 -15
- package/src/guards/auth.guard.d.ts +0 -27
- package/src/guards/can-deactivate.guard.d.ts +0 -10
- package/src/guards/logout.guard.d.ts +0 -16
- package/src/pipes/date-ago.pipe.d.ts +0 -34
- package/src/pipes/safe-html.pipe.d.ts +0 -13
- package/src/services/fullscreen.service.d.ts +0 -18
- package/src/services/seo.service.d.ts +0 -61
- package/src/services/theme.service.d.ts +0 -17
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { Standard } from './standard.class';
|
|
2
|
-
/**
|
|
3
|
-
* Helper class
|
|
4
|
-
*/
|
|
5
|
-
export declare class Helper {
|
|
6
|
-
/**
|
|
7
|
-
* Simple filter function for plain objects
|
|
8
|
-
*/
|
|
9
|
-
static filter<T = {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}>(objects: T[], filter: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}): T[];
|
|
14
|
-
/**
|
|
15
|
-
* Convert to a url/uri conform string
|
|
16
|
-
* Only:
|
|
17
|
-
* - lower case
|
|
18
|
-
* - chars, numbers and hyphens
|
|
19
|
-
*/
|
|
20
|
-
static urlString(str: any, options?: {
|
|
21
|
-
allowAll?: boolean;
|
|
22
|
-
}): string;
|
|
23
|
-
/**
|
|
24
|
-
* Simple map function
|
|
25
|
-
*/
|
|
26
|
-
static map<T = {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}>(source: Partial<T> | {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}, target: T, options?: {
|
|
31
|
-
funcAllowed?: boolean;
|
|
32
|
-
dateStringToDate?: boolean | string[];
|
|
33
|
-
}): T;
|
|
34
|
-
/**
|
|
35
|
-
* Create Object or Objects of specified type with specified data
|
|
36
|
-
*/
|
|
37
|
-
static maps<T extends Standard>(data: Partial<T> | Partial<T>[] | {
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
} | {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}[], targetClass: new (...args: any[]) => T): T[];
|
|
42
|
-
/**
|
|
43
|
-
* Get plain parameter
|
|
44
|
-
*/
|
|
45
|
-
static getPlainParameter(parameter: string): string;
|
|
46
|
-
/**
|
|
47
|
-
* Get ID of an url parameter
|
|
48
|
-
*/
|
|
49
|
-
static getParameterId(parameter: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* Delay
|
|
52
|
-
*/
|
|
53
|
-
static delay(ms: number): Promise<unknown>;
|
|
54
|
-
/**
|
|
55
|
-
* Deep freeze
|
|
56
|
-
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze#What_is_shallow_freeze
|
|
57
|
-
*/
|
|
58
|
-
static deepFreeze(object: any, preparedObjects?: any[]): any;
|
|
59
|
-
/**
|
|
60
|
-
* Generates an unique identifier with a specific length
|
|
61
|
-
*/
|
|
62
|
-
static getUID(length?: number): string;
|
|
63
|
-
/**
|
|
64
|
-
* Parse date string to date object
|
|
65
|
-
*/
|
|
66
|
-
static parseDate(dateString: string): string | Date;
|
|
67
|
-
/**
|
|
68
|
-
* Get browser name and version
|
|
69
|
-
*/
|
|
70
|
-
static getBrowser(): {
|
|
71
|
-
name: string;
|
|
72
|
-
version: any;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Whether first parameter is a deep subset of second parameter
|
|
76
|
-
* Hint: functions will be ignored
|
|
77
|
-
*/
|
|
78
|
-
static isSubset(a: any, b: any): boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Whether parameters are equal (have equal properties)
|
|
81
|
-
* Hint: functions will be ignored
|
|
82
|
-
*/
|
|
83
|
-
static isEqual(a: any, b: any): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* First level difference of two objects
|
|
86
|
-
* Hint: functions will be ignored and when an array or an object is different the hole array or object will used as property value
|
|
87
|
-
*
|
|
88
|
-
* @returns Record<string, any> Object with properties from first object
|
|
89
|
-
*/
|
|
90
|
-
static getDiff(a: Record<string, any>, b: Record<string, any>, clone?: boolean): {};
|
|
91
|
-
/**
|
|
92
|
-
* Check if propertie is type of HTMLCollection or NodeList
|
|
93
|
-
* See https://stackoverflow.com/a/7238344
|
|
94
|
-
*
|
|
95
|
-
* @param nodes
|
|
96
|
-
*/
|
|
97
|
-
static isNodeList(nodes: any): boolean;
|
|
98
|
-
static arrayBufferToBase64(buffer: any): string;
|
|
99
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Standard class
|
|
3
|
-
* Other classes should extend the Standard class, if they offer own functions
|
|
4
|
-
* If the extended class uses object properties with own map functions, it should implement its own map function
|
|
5
|
-
*/
|
|
6
|
-
export declare class Standard {
|
|
7
|
-
/**
|
|
8
|
-
* Static map method
|
|
9
|
-
*/
|
|
10
|
-
static map<T extends Standard>(this: new (...args: any[]) => T, data: Partial<T> | {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}, item?: T): T;
|
|
13
|
-
/**
|
|
14
|
-
* Map data into an object
|
|
15
|
-
*/
|
|
16
|
-
map(data: Partial<this> | {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}): this;
|
|
19
|
-
/**
|
|
20
|
-
* Clone object (and map additional data)
|
|
21
|
-
*/
|
|
22
|
-
clone(mapData?: Partial<this> | {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}): this;
|
|
25
|
-
/**
|
|
26
|
-
* Compare this with another object
|
|
27
|
-
* Hint: functions will be ignored and when an array or an object is different the hole array or object will used as property value
|
|
28
|
-
*
|
|
29
|
-
* @return Record<string, any> with properties of this object which are different
|
|
30
|
-
*/
|
|
31
|
-
getDiff(compare: Record<string, any>, clone?: boolean): {};
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function debounce(delay?: number): MethodDecorator;
|
package/shared/index.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { StorageType } from '../types/storage.type';
|
|
3
|
-
/**
|
|
4
|
-
* Configuration for base module
|
|
5
|
-
*/
|
|
6
|
-
export interface BaseModuleConfig {
|
|
7
|
-
/**
|
|
8
|
-
* URL to server API
|
|
9
|
-
* Default: 'localhost:3000'
|
|
10
|
-
*/
|
|
11
|
-
apiUrl?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Websocket URL to server API
|
|
14
|
-
*/
|
|
15
|
-
wsUrl?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Default redirect URL for AuthGuard
|
|
18
|
-
* Default: '/auth'
|
|
19
|
-
*/
|
|
20
|
-
authGuardRedirectUrl?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Whether logging is enabled or not
|
|
23
|
-
*/
|
|
24
|
-
logging?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Version of the App (for storage handling)
|
|
27
|
-
* Default: null
|
|
28
|
-
*/
|
|
29
|
-
version?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Prefix of the App (for storage handling)
|
|
32
|
-
* Default: null
|
|
33
|
-
*/
|
|
34
|
-
prefix?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Scroll detection offset for ScrollService
|
|
37
|
-
* Should be >= scrollOffset
|
|
38
|
-
* Default: 200
|
|
39
|
-
*/
|
|
40
|
-
scrollDetectionOffset?: number;
|
|
41
|
-
/**
|
|
42
|
-
* Scroll offset for ScrollService
|
|
43
|
-
* Default: 100
|
|
44
|
-
*/
|
|
45
|
-
scrollOffset?: number;
|
|
46
|
-
/**
|
|
47
|
-
* Sampling rate for scroll done detection
|
|
48
|
-
* Default: 100
|
|
49
|
-
*/
|
|
50
|
-
scrollSamplingRate?: number;
|
|
51
|
-
/**
|
|
52
|
-
* Type of storage: 'session' or 'local'
|
|
53
|
-
* Default: 'local'
|
|
54
|
-
*/
|
|
55
|
-
storageType?: StorageType;
|
|
56
|
-
/**
|
|
57
|
-
* Enable secure password transfer
|
|
58
|
-
*/
|
|
59
|
-
securePasswordTransfer?: boolean;
|
|
60
|
-
}
|
|
61
|
-
export declare const BASE_MODULE_CONFIG: InjectionToken<unknown>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { CMSEnumValues } from './cms-enum-values.interface';
|
|
3
|
-
import { CompressOptions } from './compress-options.interface';
|
|
4
|
-
import { CroppingOptions } from './cropping-options.interface';
|
|
5
|
-
export interface CMSFieldConfig {
|
|
6
|
-
label: string;
|
|
7
|
-
infoText?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
exclude?: boolean;
|
|
10
|
-
restricted?: boolean;
|
|
11
|
-
enumValues?: {
|
|
12
|
-
[key: string]: CMSEnumValues;
|
|
13
|
-
};
|
|
14
|
-
order?: number;
|
|
15
|
-
type?: string;
|
|
16
|
-
roles?: string[];
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
fields?: {
|
|
19
|
-
[key: string]: CMSFieldConfig;
|
|
20
|
-
};
|
|
21
|
-
method?: string;
|
|
22
|
-
patchField?: string;
|
|
23
|
-
useParamAsArg?: boolean;
|
|
24
|
-
searchable?: boolean;
|
|
25
|
-
creationLink?: string;
|
|
26
|
-
valueField?: string;
|
|
27
|
-
nameField?: string[] | string;
|
|
28
|
-
requestFields?: string[];
|
|
29
|
-
url?: string;
|
|
30
|
-
path?: string;
|
|
31
|
-
uploadPath?: string;
|
|
32
|
-
deletePath?: string;
|
|
33
|
-
dragText?: string;
|
|
34
|
-
validExtensions?: string[];
|
|
35
|
-
preButtonText?: string;
|
|
36
|
-
buttonText?: string;
|
|
37
|
-
supportText?: string;
|
|
38
|
-
releaseText?: string;
|
|
39
|
-
maxSize?: number;
|
|
40
|
-
croppingImage?: boolean;
|
|
41
|
-
croppingOptions?: CroppingOptions;
|
|
42
|
-
compressOptions?: CompressOptions;
|
|
43
|
-
imageMode?: 'base64' | 'file';
|
|
44
|
-
validators?: ValidatorFn[];
|
|
45
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CMSTableField } from './cms-table-field.interface';
|
|
2
|
-
export interface CMSModelConfig {
|
|
3
|
-
label: string;
|
|
4
|
-
customTemplateComponent?: any;
|
|
5
|
-
plural?: string;
|
|
6
|
-
export?: boolean;
|
|
7
|
-
import?: boolean;
|
|
8
|
-
queryName?: string;
|
|
9
|
-
tableFields?: CMSTableField;
|
|
10
|
-
restricted?: boolean;
|
|
11
|
-
exclude?: boolean;
|
|
12
|
-
roles?: string[];
|
|
13
|
-
order?: number;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LogicalOperatorEnum } from '../enums/logical-operator.enum';
|
|
2
|
-
import { FilterInput } from './filter-input.interface';
|
|
3
|
-
/**
|
|
4
|
-
* Combined filter input
|
|
5
|
-
*/
|
|
6
|
-
export interface CombinedFilterInput {
|
|
7
|
-
logicalOperator?: LogicalOperatorEnum;
|
|
8
|
-
filters?: FilterInput[];
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface CompressOptions {
|
|
2
|
-
strict?: boolean;
|
|
3
|
-
checkOrientation?: boolean;
|
|
4
|
-
maxWidth?: number;
|
|
5
|
-
maxHeight?: number;
|
|
6
|
-
minWidth?: number;
|
|
7
|
-
minHeight?: number;
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
resize?: 'contain' | 'cover' | 'none';
|
|
11
|
-
quality?: number;
|
|
12
|
-
mimeType?: string;
|
|
13
|
-
convertTypes?: string | string[];
|
|
14
|
-
convertSize?: number;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OutputFormat } from 'ngx-image-cropper/lib/interfaces/cropper-options.interface';
|
|
2
|
-
export interface CroppingOptions {
|
|
3
|
-
maintainAspectRatio?: boolean;
|
|
4
|
-
onlyScaleDown?: boolean;
|
|
5
|
-
aspectRatio?: number;
|
|
6
|
-
imageQuality?: number;
|
|
7
|
-
resizeToWidth?: number;
|
|
8
|
-
resizeToHeight?: number;
|
|
9
|
-
autoCrop?: boolean;
|
|
10
|
-
alignImage?: 'left' | 'center';
|
|
11
|
-
format?: OutputFormat;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SingleFilterInput } from './single-filter-input.interface';
|
|
2
|
-
import { CombinedFilterInput } from './combined-filter-input.interface';
|
|
3
|
-
/**
|
|
4
|
-
* Filter input
|
|
5
|
-
*/
|
|
6
|
-
export interface FilterInput {
|
|
7
|
-
combinedFilter?: CombinedFilterInput;
|
|
8
|
-
singleFilter?: SingleFilterInput;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FilterInput } from './filter-input.interface';
|
|
2
|
-
import { SortInput } from './sort-input.interface';
|
|
3
|
-
export interface FindArgs {
|
|
4
|
-
limit?: number;
|
|
5
|
-
offset?: number;
|
|
6
|
-
skip?: number;
|
|
7
|
-
sort?: SortInput[];
|
|
8
|
-
take?: number;
|
|
9
|
-
samples?: number;
|
|
10
|
-
filter?: FilterInput;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IGraphQLOptions } from './graphql-options.interface';
|
|
2
|
-
/**
|
|
3
|
-
* GraphQL extra options for errors and loading indicator
|
|
4
|
-
*/
|
|
5
|
-
export interface IGraphQLPlusOptions extends IGraphQLOptions {
|
|
6
|
-
ignoreErrors?: boolean;
|
|
7
|
-
excludedErrors?: string | string[];
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComparisonOperatorEnum } from '../enums/comparison-operator.enum';
|
|
2
|
-
/**
|
|
3
|
-
* Single filter input kjhg
|
|
4
|
-
*/
|
|
5
|
-
export interface SingleFilterInput {
|
|
6
|
-
field: string;
|
|
7
|
-
not?: boolean;
|
|
8
|
-
operator: ComparisonOperatorEnum;
|
|
9
|
-
options?: string;
|
|
10
|
-
value: any;
|
|
11
|
-
}
|
package/shared/public-api.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Exports for public API
|
|
3
|
-
*/
|
|
4
|
-
export * from './classes/basic-user.class';
|
|
5
|
-
export * from './classes/graphql-enum.class';
|
|
6
|
-
export * from './classes/graphql-meta.class';
|
|
7
|
-
export * from './classes/graphql-type.class';
|
|
8
|
-
export * from './classes/helper.class';
|
|
9
|
-
export * from './classes/standard.class';
|
|
10
|
-
export * from './classes/auth.class';
|
|
11
|
-
export * from './classes/sort.class';
|
|
12
|
-
export * from './decorators/debounce.decorator';
|
|
13
|
-
export * from './services/auth.service';
|
|
14
|
-
export * from './services/graphql.service';
|
|
15
|
-
export * from './services/graphql-meta.service';
|
|
16
|
-
export * from './services/graphql-plus.service';
|
|
17
|
-
export * from './services/forms.service';
|
|
18
|
-
export * from './services/storage.service';
|
|
19
|
-
export * from './services/ws.service';
|
|
20
|
-
export * from './services/user.service';
|
|
21
|
-
export * from './services/loader.service';
|
|
22
|
-
export * from './services/scroll.service';
|
|
23
|
-
export * from './services/image.service';
|
|
24
|
-
export * from './services/toast.service';
|
|
25
|
-
export * from './services/breadcrumb.service';
|
|
26
|
-
export * from './services/navigation.service';
|
|
27
|
-
export * from './services/cms.service';
|
|
28
|
-
export * from './services/file.service';
|
|
29
|
-
export * from './enums/comparison-operator.enum';
|
|
30
|
-
export * from './enums/graphql-request-type.enum';
|
|
31
|
-
export * from './enums/logical-operator.enum';
|
|
32
|
-
export * from './enums/sort-order.enum';
|
|
33
|
-
export * from './enums/toast-type.enum';
|
|
34
|
-
export * from './enums/skeleton-type.enum';
|
|
35
|
-
export * from './interfaces/base-module-config.interface';
|
|
36
|
-
export * from './interfaces/can-component-deactivate.interface';
|
|
37
|
-
export * from './interfaces/combined-filter-input.interface';
|
|
38
|
-
export * from './interfaces/field.interface';
|
|
39
|
-
export * from './interfaces/field-object.interface';
|
|
40
|
-
export * from './interfaces/filter-input.interface';
|
|
41
|
-
export * from './interfaces/graphql-options.interface';
|
|
42
|
-
export * from './interfaces/graphql-plus-options.interfacen';
|
|
43
|
-
export * from './interfaces/graphql-type-collection.interface';
|
|
44
|
-
export * from './interfaces/graphql-fields-object.interface';
|
|
45
|
-
export * from './interfaces/single-filter-input.interface';
|
|
46
|
-
export * from './interfaces/sort-input.interface';
|
|
47
|
-
export * from './interfaces/find-args.interface';
|
|
48
|
-
export * from './interfaces/time-components.interface';
|
|
49
|
-
export * from './interfaces/toast.interface';
|
|
50
|
-
export * from './interfaces/breadcrumb.interface';
|
|
51
|
-
export * from './interfaces/graphql-crud-type.interface';
|
|
52
|
-
export * from './interfaces/compress-options.interface';
|
|
53
|
-
export * from './interfaces/cropping-options.interface';
|
|
54
|
-
export * from './interfaces/cms-enum-values.interface';
|
|
55
|
-
export * from './interfaces/cms-field-config.interface';
|
|
56
|
-
export * from './interfaces/cms-model-config.interface';
|
|
57
|
-
export * from './interfaces/cms-table-field.interface';
|
|
58
|
-
export * from './interfaces/login-config.interface';
|
|
59
|
-
export * from './interfaces/register-config.interface';
|
|
60
|
-
export * from './types/storage.type';
|
|
61
|
-
export * from './types/graphql-fields.type';
|
|
62
|
-
export * from './validators/match.validator';
|
|
63
|
-
export * from './validators/email.validator';
|
|
64
|
-
export * from './validators/secure-password.validator';
|
|
65
|
-
export * from './functions/ws-client.function';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { BasicUser } from '../classes/basic-user.class';
|
|
4
|
-
import { StorageService } from './storage.service';
|
|
5
|
-
import { WsService } from './ws.service';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Authentication service
|
|
10
|
-
*/
|
|
11
|
-
export declare class AuthService {
|
|
12
|
-
private storageService;
|
|
13
|
-
private wsService;
|
|
14
|
-
private injector;
|
|
15
|
-
private router;
|
|
16
|
-
private _currentUser;
|
|
17
|
-
private _token;
|
|
18
|
-
private _refreshToken;
|
|
19
|
-
/**
|
|
20
|
-
* Constructor
|
|
21
|
-
*/
|
|
22
|
-
constructor(storageService: StorageService, wsService: WsService, injector: Injector, router: Router);
|
|
23
|
-
requestNewToken(): Observable<{
|
|
24
|
-
token: string;
|
|
25
|
-
refreshToken: string;
|
|
26
|
-
}>;
|
|
27
|
-
loadFromStorage(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Logout
|
|
30
|
-
*/
|
|
31
|
-
logout(redirect?: boolean): Observable<boolean>;
|
|
32
|
-
clearSession(redirect?: boolean): void;
|
|
33
|
-
get currentUser(): BasicUser;
|
|
34
|
-
set currentUser(user: BasicUser);
|
|
35
|
-
get currentUserObservable(): Observable<BasicUser>;
|
|
36
|
-
get token(): string;
|
|
37
|
-
set token(token: string);
|
|
38
|
-
get tokenObservable(): Observable<string>;
|
|
39
|
-
get refreshToken(): string;
|
|
40
|
-
set refreshToken(refreshToken: string);
|
|
41
|
-
get refreshTokenObservable(): Observable<string>;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
43
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
44
|
-
}
|