@lenne.tech/ng-base 18.1.2 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +55 -0
- package/LICENSE +2 -2
- package/README.md +237 -44
- package/fesm2022/lenne.tech-ng-base-ai.mjs +767 -0
- package/fesm2022/lenne.tech-ng-base-ai.mjs.map +1 -0
- package/fesm2022/lenne.tech-ng-base-auth-provide.mjs +939 -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 +34611 -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 -902
- 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 +830 -0
- package/types/lenne.tech-ng-base-auth-provide.d.ts +603 -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 +7732 -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 -109
- 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 -50
- package/src/services/theme.service.d.ts +0 -17
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Breadcrumb } from '../interfaces/breadcrumb.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BreadcrumbService {
|
|
5
|
-
private router;
|
|
6
|
-
private readonly _breadcrumbs;
|
|
7
|
-
set breadcrumbs(value: Breadcrumb[]);
|
|
8
|
-
get breadcrumbsObservable(): import("rxjs").Observable<Breadcrumb[]>;
|
|
9
|
-
constructor(router: Router);
|
|
10
|
-
/**
|
|
11
|
-
* Subscribe to route changes and add element to breadcrumb
|
|
12
|
-
*/
|
|
13
|
-
subscribeToRouteChanges(): void;
|
|
14
|
-
/**
|
|
15
|
-
* Add element to breadcrumb
|
|
16
|
-
*
|
|
17
|
-
* @param route
|
|
18
|
-
* @param parentUrl
|
|
19
|
-
* @param breadcrumbs
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
private addBreadcrumb;
|
|
23
|
-
/**
|
|
24
|
-
* Get label for breadcrumb
|
|
25
|
-
*
|
|
26
|
-
* @param data
|
|
27
|
-
* @private
|
|
28
|
-
*/
|
|
29
|
-
private getLabel;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
32
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { GraphQLService } from './graphql.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CmsService {
|
|
4
|
-
private graphQLService;
|
|
5
|
-
constructor(graphQLService: GraphQLService);
|
|
6
|
-
/**
|
|
7
|
-
* It calls the graphQLService to delete the object with the id of the object that is currently being edited
|
|
8
|
-
*/
|
|
9
|
-
deleteObject(id: string, modelName: string): Promise<unknown>;
|
|
10
|
-
/**
|
|
11
|
-
* It sends a GraphQL mutation to the server to duplicate the object
|
|
12
|
-
*/
|
|
13
|
-
duplicateObject(id: string, modelName: string): Promise<any>;
|
|
14
|
-
/**
|
|
15
|
-
* It takes a string, capitalizes the first letter, and returns the modified string
|
|
16
|
-
*
|
|
17
|
-
* @param value - The string to capitalize.
|
|
18
|
-
* @returns The first letter of the string is being capitalized and the rest of the string is being returned.
|
|
19
|
-
*/
|
|
20
|
-
capitalizeFirstLetter(value: string): string;
|
|
21
|
-
/**
|
|
22
|
-
* Transform first letter to lowercase
|
|
23
|
-
*/
|
|
24
|
-
lowerCaseFirstLetter(value: string): string;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CmsService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CmsService>;
|
|
27
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CompressOptions } from '../interfaces/compress-options.interface';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { AuthService } from '../services/auth.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FileService {
|
|
6
|
-
private authService;
|
|
7
|
-
private httpClient;
|
|
8
|
-
constructor(authService: AuthService, httpClient: HttpClient);
|
|
9
|
-
/**
|
|
10
|
-
* Compress file with options and return file
|
|
11
|
-
*/
|
|
12
|
-
compress(file: File, options?: CompressOptions): Promise<File>;
|
|
13
|
-
/**
|
|
14
|
-
* Upload file to server
|
|
15
|
-
*/
|
|
16
|
-
upload(url: string, path: string, file: File, compressOptions?: CompressOptions): Promise<{
|
|
17
|
-
id: string;
|
|
18
|
-
}>;
|
|
19
|
-
delete(url: string, path: string, id: string): Promise<unknown>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
|
|
22
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
2
|
-
import { ScrollService } from './scroll.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormsService {
|
|
5
|
-
private document;
|
|
6
|
-
private scrollService;
|
|
7
|
-
constructor(document: Document, scrollService: ScrollService);
|
|
8
|
-
validateAllFormFields(formGroup: any): void;
|
|
9
|
-
findInvalidControls(formGroup: UntypedFormGroup): string[];
|
|
10
|
-
private getInvalidControl;
|
|
11
|
-
scrollToInvalidControl(form: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormsService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormsService>;
|
|
14
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Apollo } from 'apollo-angular';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { GraphQLSchema, IntrospectionQuery } from 'graphql';
|
|
4
|
-
import { GraphQLMeta } from '../classes/graphql-meta.class';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* GraphQL meta service
|
|
8
|
-
*
|
|
9
|
-
* For collecting meta information of the GraphQL API
|
|
10
|
-
*/
|
|
11
|
-
export declare class GraphQLMetaService {
|
|
12
|
-
protected apollo: Apollo;
|
|
13
|
-
protected _frozenSchema: GraphQLSchema;
|
|
14
|
-
protected _frozenSchemaObservable: Observable<GraphQLSchema>;
|
|
15
|
-
protected _meta: GraphQLMeta;
|
|
16
|
-
protected _metaObservable: Observable<GraphQLMeta>;
|
|
17
|
-
protected _schemaObservable: Observable<GraphQLSchema>;
|
|
18
|
-
private _introspectionQuery;
|
|
19
|
-
/**
|
|
20
|
-
* Include services
|
|
21
|
-
*/
|
|
22
|
-
constructor(apollo: Apollo);
|
|
23
|
-
/**
|
|
24
|
-
* Getter of introspectionQuery
|
|
25
|
-
*/
|
|
26
|
-
get introspectionQuery(): IntrospectionQuery;
|
|
27
|
-
/**
|
|
28
|
-
* Get schema for API
|
|
29
|
-
* See https://www.apollographql.com/blog/three-ways-to-represent-your-graphql-schema-a41f4175100d
|
|
30
|
-
*/
|
|
31
|
-
getSchema(options?: {
|
|
32
|
-
cache?: boolean;
|
|
33
|
-
freeze?: boolean;
|
|
34
|
-
}): Observable<GraphQLSchema>;
|
|
35
|
-
/**
|
|
36
|
-
* Get meta for API
|
|
37
|
-
* See https://www.apollographql.com/blog/three-ways-to-represent-your-graphql-schema-a41f4175100d
|
|
38
|
-
*/
|
|
39
|
-
getMeta(options?: {
|
|
40
|
-
cache?: boolean;
|
|
41
|
-
log?: boolean;
|
|
42
|
-
}): Observable<GraphQLMeta>;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLMetaService, never>;
|
|
44
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLMetaService>;
|
|
45
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Apollo } from 'apollo-angular';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { GraphQLService } from './graphql.service';
|
|
4
|
-
import { GraphQLMetaService } from './graphql-meta.service';
|
|
5
|
-
import { IGraphQLPlusOptions } from '../interfaces/graphql-plus-options.interfacen';
|
|
6
|
-
import { LoaderService } from './loader.service';
|
|
7
|
-
import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* GraphQL plus service, for extra error handling and loading indication
|
|
11
|
-
*/
|
|
12
|
-
export declare class GraphQLPlusService extends GraphQLService {
|
|
13
|
-
protected apollo: Apollo;
|
|
14
|
-
protected graphqlMetaService: GraphQLMetaService;
|
|
15
|
-
protected loaderService: LoaderService;
|
|
16
|
-
protected moduleConfig: BaseModuleConfig;
|
|
17
|
-
/**
|
|
18
|
-
* Include services
|
|
19
|
-
*/
|
|
20
|
-
constructor(apollo: Apollo, graphqlMetaService: GraphQLMetaService, loaderService: LoaderService, moduleConfig: BaseModuleConfig);
|
|
21
|
-
graphQl(graphql: string, options?: IGraphQLPlusOptions): Observable<any>;
|
|
22
|
-
handleLoader(state: 'start' | 'stop', options: IGraphQLPlusOptions): void;
|
|
23
|
-
handleError(error: Error, excludedErrors?: any): void;
|
|
24
|
-
displayError(error: any): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLPlusService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLPlusService>;
|
|
27
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Apollo } from 'apollo-angular';
|
|
2
|
-
import { IGraphQLOptions } from '../interfaces/graphql-options.interface';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { GraphQLMetaService } from './graphql-meta.service';
|
|
5
|
-
import { GraphQLType } from '../classes/graphql-type.class';
|
|
6
|
-
import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* GraphQL service
|
|
10
|
-
*/
|
|
11
|
-
export declare class GraphQLService {
|
|
12
|
-
protected apollo: Apollo;
|
|
13
|
-
protected graphQLMetaService: GraphQLMetaService;
|
|
14
|
-
protected moduleConfig: BaseModuleConfig;
|
|
15
|
-
/**
|
|
16
|
-
* Include services
|
|
17
|
-
*/
|
|
18
|
-
constructor(apollo: Apollo, graphQLMetaService: GraphQLMetaService, moduleConfig: BaseModuleConfig);
|
|
19
|
-
/**
|
|
20
|
-
* GraphQL request
|
|
21
|
-
*/
|
|
22
|
-
graphQl(graphqlMethodName: string, options?: IGraphQLOptions): Observable<any>;
|
|
23
|
-
/**
|
|
24
|
-
* Get fields / args from IGraphQLTypeCollection
|
|
25
|
-
*/
|
|
26
|
-
protected graphQLTypeToStringArray(graphQLType: GraphQLType, current?: string, result?: any[], cacheNode?: any[]): any[];
|
|
27
|
-
/**
|
|
28
|
-
* Prepare arguments for GraphQL request
|
|
29
|
-
*/
|
|
30
|
-
protected prepareArguments(args: any, options?: {
|
|
31
|
-
allowed?: GraphQLType;
|
|
32
|
-
level?: number;
|
|
33
|
-
levelKey?: string;
|
|
34
|
-
parent?: string;
|
|
35
|
-
schemaArgs?: string[];
|
|
36
|
-
usedArgs?: string[];
|
|
37
|
-
variables?: {
|
|
38
|
-
[key: string]: {
|
|
39
|
-
type: string;
|
|
40
|
-
value: any;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}): {
|
|
44
|
-
argsString: string;
|
|
45
|
-
schemaArgs: string[];
|
|
46
|
-
usedArgs: string[];
|
|
47
|
-
variables: {
|
|
48
|
-
[key: string]: {
|
|
49
|
-
type: string;
|
|
50
|
-
value: any;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Prepare fields for GraphQL request
|
|
56
|
-
*/
|
|
57
|
-
protected prepareFields(fields: any, options?: {
|
|
58
|
-
allowed?: GraphQLType;
|
|
59
|
-
schemaFields?: string[];
|
|
60
|
-
usedFields?: string[];
|
|
61
|
-
parent?: string;
|
|
62
|
-
spaces?: number;
|
|
63
|
-
tab?: number;
|
|
64
|
-
}): {
|
|
65
|
-
schemaFields: string[];
|
|
66
|
-
fieldsString: string;
|
|
67
|
-
usedFields: string[];
|
|
68
|
-
};
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GraphQLService, never>;
|
|
70
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GraphQLService>;
|
|
71
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Image service
|
|
4
|
-
*/
|
|
5
|
-
export declare class ImageService {
|
|
6
|
-
/**
|
|
7
|
-
* Preaload images (for lazy handling)
|
|
8
|
-
*
|
|
9
|
-
* @param options
|
|
10
|
-
* @protected
|
|
11
|
-
*/
|
|
12
|
-
preLoadImages(options?: {
|
|
13
|
-
doneFunction?: () => Promise<any> | any | void;
|
|
14
|
-
elements?: Element | Element[] | HTMLCollectionOf<Element> | Node | NodeList | Document | HTMLElement | HTMLElement[];
|
|
15
|
-
regExp?: RegExp;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
/**
|
|
18
|
-
* Load image for image element
|
|
19
|
-
*
|
|
20
|
-
* @param imageElement
|
|
21
|
-
* @param src
|
|
22
|
-
* @protected
|
|
23
|
-
*/
|
|
24
|
-
loadImage(imageElement: HTMLImageElement, src?: string): Promise<unknown>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ImageService>;
|
|
27
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Loader service for loading indication
|
|
5
|
-
*/
|
|
6
|
-
export declare class LoaderService {
|
|
7
|
-
isLoading: BehaviorSubject<boolean>;
|
|
8
|
-
private lastStartTime;
|
|
9
|
-
/**
|
|
10
|
-
* Start loading manually
|
|
11
|
-
*/
|
|
12
|
-
start(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Stop loading manually
|
|
15
|
-
*
|
|
16
|
-
* @param duration
|
|
17
|
-
*/
|
|
18
|
-
stop(duration?: number): void;
|
|
19
|
-
/**
|
|
20
|
-
* Get loader as observable
|
|
21
|
-
*/
|
|
22
|
-
getAsObservable(): Observable<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Load until observable done
|
|
25
|
-
*
|
|
26
|
-
* @param observable
|
|
27
|
-
* @param duration
|
|
28
|
-
*/
|
|
29
|
-
loadUntilObservable(observable: Observable<unknown>, duration?: number): Observable<unknown>;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
32
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavigationService {
|
|
5
|
-
private router;
|
|
6
|
-
private location;
|
|
7
|
-
private history;
|
|
8
|
-
constructor(router: Router, location: Location);
|
|
9
|
-
/**
|
|
10
|
-
* If the history stack is empty, navigate to the home page, otherwise go back to the previous page
|
|
11
|
-
*/
|
|
12
|
-
back(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
15
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
|
|
3
|
-
import { ImageService } from './image.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Scroll service for autoscroll to specific fragments
|
|
7
|
-
*/
|
|
8
|
-
export declare class ScrollService {
|
|
9
|
-
protected router: Router;
|
|
10
|
-
protected moduleConfig: BaseModuleConfig;
|
|
11
|
-
protected imageService: ImageService;
|
|
12
|
-
/**
|
|
13
|
-
* Current scroll promise
|
|
14
|
-
*
|
|
15
|
-
* @protected
|
|
16
|
-
*/
|
|
17
|
-
protected scrollPromise: Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* Resolve function of current scroll promise
|
|
20
|
-
*
|
|
21
|
-
* @protected
|
|
22
|
-
*/
|
|
23
|
-
protected scrollPromiseResolve: (value: void | PromiseLike<void>) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Is a scroll listener set
|
|
26
|
-
*
|
|
27
|
-
* @protected
|
|
28
|
-
*/
|
|
29
|
-
protected scrollListener: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Current scroll timer;
|
|
32
|
-
*
|
|
33
|
-
* @protected
|
|
34
|
-
*/
|
|
35
|
-
protected scrollTimer: number;
|
|
36
|
-
/**
|
|
37
|
-
* Scroll offset
|
|
38
|
-
*/
|
|
39
|
-
protected readonly scrollOffset: number;
|
|
40
|
-
/**
|
|
41
|
-
* Detection offset
|
|
42
|
-
* Should be >= scrollOffset
|
|
43
|
-
*/
|
|
44
|
-
protected readonly detectionOffset: number;
|
|
45
|
-
/**
|
|
46
|
-
* Sampling rate for scroll done detection
|
|
47
|
-
*/
|
|
48
|
-
protected readonly scrollSamplingRate: number;
|
|
49
|
-
/**
|
|
50
|
-
* Initializer
|
|
51
|
-
*/
|
|
52
|
-
constructor(router: Router, moduleConfig: BaseModuleConfig, imageService: ImageService);
|
|
53
|
-
/**
|
|
54
|
-
* Scroll to structureElement with specific ID
|
|
55
|
-
*/
|
|
56
|
-
scrollTo(id: string, options?: {
|
|
57
|
-
checkUrl?: boolean;
|
|
58
|
-
loadImagesBefore?: boolean;
|
|
59
|
-
resetStyles?: boolean;
|
|
60
|
-
setOverflow?: boolean;
|
|
61
|
-
stopPropagation?: boolean;
|
|
62
|
-
}): Promise<boolean>;
|
|
63
|
-
/**
|
|
64
|
-
* Get last active structureElement
|
|
65
|
-
*/
|
|
66
|
-
getLastActiveElement(list?: any): string;
|
|
67
|
-
/**
|
|
68
|
-
* Check if ID is active
|
|
69
|
-
*/
|
|
70
|
-
isActive(id: any, list?: any, isFirst?: any): any;
|
|
71
|
-
/**
|
|
72
|
-
* Scroll done promise
|
|
73
|
-
*/
|
|
74
|
-
scrollDone(options?: {
|
|
75
|
-
doneFunction?: () => any | void;
|
|
76
|
-
}): Promise<any>;
|
|
77
|
-
/**
|
|
78
|
-
* Scroll done detecton
|
|
79
|
-
*
|
|
80
|
-
* @protected
|
|
81
|
-
*/
|
|
82
|
-
protected scrollDoneDetection(): Promise<void>;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollService, never>;
|
|
84
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollService>;
|
|
85
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Storage service for local data storage
|
|
5
|
-
*/
|
|
6
|
-
export declare class StorageService {
|
|
7
|
-
private moduleConfig;
|
|
8
|
-
private platformId;
|
|
9
|
-
/**
|
|
10
|
-
* Storage
|
|
11
|
-
*/
|
|
12
|
-
protected storage: any;
|
|
13
|
-
/**
|
|
14
|
-
* Prefix for storage keys
|
|
15
|
-
*/
|
|
16
|
-
protected prefix: string;
|
|
17
|
-
/**
|
|
18
|
-
* Initializations
|
|
19
|
-
*/
|
|
20
|
-
constructor(moduleConfig: BaseModuleConfig, platformId: object);
|
|
21
|
-
/**
|
|
22
|
-
* Save itemKeys
|
|
23
|
-
*
|
|
24
|
-
* If you want to save one item, use itemKeys and value parameters like these:
|
|
25
|
-
* save('KEY_OF_THE_ITEM', ITEM)
|
|
26
|
-
*
|
|
27
|
-
* If you want to save multiple items, use itemKeys only (value parameter will be ignored):
|
|
28
|
-
* save({'KEY_OF_ITEM_1': ITEM_1, 'KEY_OF_ITEM_2': ITEM_2, ...})
|
|
29
|
-
*/
|
|
30
|
-
save(itemKeys: string | {
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
}, value?: any): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Load items via key(s)
|
|
35
|
-
*/
|
|
36
|
-
load(itemKeys: string | string[]): any;
|
|
37
|
-
/**
|
|
38
|
-
* Remove item from storage
|
|
39
|
-
*
|
|
40
|
-
* @param itemKeys keys or key to remove
|
|
41
|
-
*/
|
|
42
|
-
remove(itemKeys: string | string[]): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Clear local storage
|
|
45
|
-
*/
|
|
46
|
-
reset(): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
48
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
49
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Toast } from '../interfaces/toast.interface';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ToastService {
|
|
4
|
-
private toastsObservables;
|
|
5
|
-
get toastsAsObservable(): import("rxjs").Observable<Toast[]>;
|
|
6
|
-
/**
|
|
7
|
-
* Show new toast
|
|
8
|
-
*
|
|
9
|
-
* @param toast
|
|
10
|
-
* @param duration
|
|
11
|
-
*/
|
|
12
|
-
show(toast: Toast, duration?: number): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
15
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Apollo } from 'apollo-angular';
|
|
2
|
-
import { Auth } from '../classes/auth.class';
|
|
3
|
-
import { AuthService } from './auth.service';
|
|
4
|
-
import { GraphQLMetaService } from './graphql-meta.service';
|
|
5
|
-
import { GraphQLPlusService } from './graphql-plus.service';
|
|
6
|
-
import { LoaderService } from './loader.service';
|
|
7
|
-
import { BaseModuleConfig } from '../interfaces/base-module-config.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class UserService extends GraphQLPlusService {
|
|
10
|
-
protected apollo: Apollo;
|
|
11
|
-
protected graphqlMetaService: GraphQLMetaService;
|
|
12
|
-
protected loaderService: LoaderService;
|
|
13
|
-
protected authService: AuthService;
|
|
14
|
-
protected moduleConfig: BaseModuleConfig;
|
|
15
|
-
constructor(apollo: Apollo, graphqlMetaService: GraphQLMetaService, loaderService: LoaderService, authService: AuthService, moduleConfig: BaseModuleConfig);
|
|
16
|
-
/**
|
|
17
|
-
* Login
|
|
18
|
-
*
|
|
19
|
-
* @param input
|
|
20
|
-
*/
|
|
21
|
-
login(input: {
|
|
22
|
-
email: string;
|
|
23
|
-
password: string;
|
|
24
|
-
}): import("rxjs").Observable<Auth>;
|
|
25
|
-
/**
|
|
26
|
-
* Register
|
|
27
|
-
*
|
|
28
|
-
* @param input
|
|
29
|
-
*/
|
|
30
|
-
register(input: {
|
|
31
|
-
firstName: string;
|
|
32
|
-
lastName: string;
|
|
33
|
-
email: string;
|
|
34
|
-
password: string;
|
|
35
|
-
}): import("rxjs").Observable<Auth>;
|
|
36
|
-
/**
|
|
37
|
-
* This function will make a GraphQL query to the server, and return the result
|
|
38
|
-
*
|
|
39
|
-
* @param id - The id of the user you want to get
|
|
40
|
-
* @returns A GraphQLRequest object.
|
|
41
|
-
*/
|
|
42
|
-
get(id: string): import("rxjs").Observable<any>;
|
|
43
|
-
/**
|
|
44
|
-
* Request password reset mail
|
|
45
|
-
*
|
|
46
|
-
* @param email
|
|
47
|
-
*/
|
|
48
|
-
requestPasswordResetMail(email: string): import("rxjs").Observable<any>;
|
|
49
|
-
/**
|
|
50
|
-
* Change password of current user
|
|
51
|
-
*
|
|
52
|
-
* @param id
|
|
53
|
-
* @param password
|
|
54
|
-
*/
|
|
55
|
-
changePassword(id: string, password: string): import("rxjs").Observable<any>;
|
|
56
|
-
/**
|
|
57
|
-
* Set new password by token
|
|
58
|
-
*
|
|
59
|
-
* @param token
|
|
60
|
-
* @param password
|
|
61
|
-
*/
|
|
62
|
-
resetPassword(token: string, password: string): import("rxjs").Observable<any>;
|
|
63
|
-
/**
|
|
64
|
-
* Delete user by id
|
|
65
|
-
*
|
|
66
|
-
* @param id
|
|
67
|
-
*/
|
|
68
|
-
delete(id: string): import("rxjs").Observable<any>;
|
|
69
|
-
/**
|
|
70
|
-
* Verify user by token
|
|
71
|
-
*
|
|
72
|
-
* @param token
|
|
73
|
-
*/
|
|
74
|
-
verifyUser(token: string): import("rxjs").Observable<any>;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
76
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
77
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RestartableClient } from '../functions/ws-client.function';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WsService {
|
|
4
|
-
client: RestartableClient;
|
|
5
|
-
reconnect(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WsService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WsService>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function fullEmail(): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function securePasswordValidator(): any;
|
package/src/base.module.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { BaseModuleConfig } from '@lenne.tech/ng-base/shared';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "apollo-angular";
|
|
5
|
-
/**
|
|
6
|
-
* Base module
|
|
7
|
-
*/
|
|
8
|
-
export declare class BaseModule {
|
|
9
|
-
/**
|
|
10
|
-
* Set configuration of base module in root module of the app
|
|
11
|
-
*/
|
|
12
|
-
static forRoot(baseModuleConfig?: BaseModuleConfig, AppAuthService?: any): ModuleWithProviders<BaseModule>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseModule, never, [typeof i1.ApolloModule], [typeof i1.ApolloModule]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaseModule>;
|
|
16
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Decorator for automatically unsubscribe subscriptions
|
|
3
|
-
* Inspired by https://codereacter.medium.com/angular-advanced-features-and-tips-you-may-not-know-about-cae3b8527184#9bd6
|
|
4
|
-
*/
|
|
5
|
-
export declare function AutoUnsubscribe(blackList?: string[]): (constructor: any) => void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Directive for lazy loading images
|
|
5
|
-
*/
|
|
6
|
-
export declare class LazyLoadDirective implements AfterViewInit {
|
|
7
|
-
private el;
|
|
8
|
-
srcAttr: any;
|
|
9
|
-
src: string;
|
|
10
|
-
constructor(el: ElementRef);
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
private canLazyLoad;
|
|
13
|
-
private lazyLoadImage;
|
|
14
|
-
private loadImage;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LazyLoadDirective, "img[ltLazyLoad]", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { ImageService } from '@lenne.tech/ng-base/shared';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Set same height (maximum) to different elements
|
|
6
|
-
*/
|
|
7
|
-
export declare class MatchHeightDirective implements AfterViewInit {
|
|
8
|
-
protected el: ElementRef;
|
|
9
|
-
protected imageService: ImageService;
|
|
10
|
-
ltMatchHeight: string | string[];
|
|
11
|
-
loadImages: boolean;
|
|
12
|
-
readonly isBrowser: boolean;
|
|
13
|
-
observer: MutationObserver;
|
|
14
|
-
constructor(el: ElementRef, imageService: ImageService, platformId: string);
|
|
15
|
-
onResize(): void;
|
|
16
|
-
ngAfterViewInit(): void;
|
|
17
|
-
matchHeight(parent: HTMLElement, target: string | string[]): Promise<void>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatchHeightDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatchHeightDirective, "[ltMatchHeight]", never, { "ltMatchHeight": { "alias": "ltMatchHeight"; "required": false; }; "loadImages": { "alias": "loadImages"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|