@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,115 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ComponentRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { CMSFieldConfig, CMSModelConfig, CmsService, CMSTableField, GraphQLMeta, GraphQLMetaService, GraphQLService, GraphQLType, ScrollService, StorageService, ToastService } from '@lenne.tech/ng-base/shared';
|
|
3
|
-
import { FormControl } from '@angular/forms';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ModelTableComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
7
|
-
private graphQLMetaService;
|
|
8
|
-
private graphQLService;
|
|
9
|
-
private cmsService;
|
|
10
|
-
private toastService;
|
|
11
|
-
private scrollService;
|
|
12
|
-
private storageService;
|
|
13
|
-
modelName: string;
|
|
14
|
-
objectId: string;
|
|
15
|
-
createMode: boolean;
|
|
16
|
-
logging: boolean;
|
|
17
|
-
create: boolean;
|
|
18
|
-
update: boolean;
|
|
19
|
-
delete: boolean;
|
|
20
|
-
import: boolean;
|
|
21
|
-
export: boolean;
|
|
22
|
-
duplicate: boolean;
|
|
23
|
-
modelConfig: CMSModelConfig;
|
|
24
|
-
config: {
|
|
25
|
-
[key: string]: CMSFieldConfig;
|
|
26
|
-
};
|
|
27
|
-
showFavButton: boolean;
|
|
28
|
-
idSelected: EventEmitter<string>;
|
|
29
|
-
createModeChanged: EventEmitter<boolean>;
|
|
30
|
-
customFormTemplate: ViewContainerRef;
|
|
31
|
-
uniqueField: string;
|
|
32
|
-
tableFields: CMSTableField;
|
|
33
|
-
meta: GraphQLMeta;
|
|
34
|
-
objects: any[];
|
|
35
|
-
availableFields: string[];
|
|
36
|
-
id: string;
|
|
37
|
-
queryName: string;
|
|
38
|
-
camelModelName: string;
|
|
39
|
-
possibleFields: Record<string, GraphQLType>;
|
|
40
|
-
componentRef: ComponentRef<any>;
|
|
41
|
-
totalCount: number;
|
|
42
|
-
selectedPageIndex: number;
|
|
43
|
-
pages: any[];
|
|
44
|
-
pageItemsLimitControl: FormControl<number>;
|
|
45
|
-
pageOptions: {
|
|
46
|
-
text: string;
|
|
47
|
-
value: number;
|
|
48
|
-
}[];
|
|
49
|
-
subscription: Subscription;
|
|
50
|
-
constructor(graphQLMetaService: GraphQLMetaService, graphQLService: GraphQLService, cmsService: CmsService, toastService: ToastService, scrollService: ScrollService, storageService: StorageService);
|
|
51
|
-
ngAfterViewInit(): void;
|
|
52
|
-
ngOnInit(): void;
|
|
53
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
|
-
/**
|
|
56
|
-
* We're using the `meta` service to get the fields that are available for the `find` query for the model we're working
|
|
57
|
-
* with. We're then using that information to populate the `availableFields` array
|
|
58
|
-
*/
|
|
59
|
-
init(): Promise<void>;
|
|
60
|
-
subscribeToPageItems(): void;
|
|
61
|
-
integrateCustomFormComponent(): void;
|
|
62
|
-
setChangesInComponentRef(): void;
|
|
63
|
-
/**
|
|
64
|
-
* When the user clicks the "Create New" button, the createModeChanged event is emitted, which is then handled by the
|
|
65
|
-
* parent component
|
|
66
|
-
*/
|
|
67
|
-
createNewObject(): void;
|
|
68
|
-
/**
|
|
69
|
-
* It loads the objects from the database and stores them in the objects variable
|
|
70
|
-
*
|
|
71
|
-
* @param fields - string[] - The fields you want to load from the database.
|
|
72
|
-
* @param skip
|
|
73
|
-
* @param limit
|
|
74
|
-
*/
|
|
75
|
-
loadObjects(fields: string[], skip?: number, limit?: number): Promise<any[]>;
|
|
76
|
-
/**
|
|
77
|
-
* If the update property is true, then set the selectedId property to the id of the object passed in, and emit the
|
|
78
|
-
* selectedId property
|
|
79
|
-
*/
|
|
80
|
-
selectId(object: any): void;
|
|
81
|
-
openNewTab(object: any): void;
|
|
82
|
-
/**
|
|
83
|
-
* It calls the duplicateObject function in the cmsService, passing in the id of the object to be duplicated and the
|
|
84
|
-
* modelName of the object
|
|
85
|
-
*/
|
|
86
|
-
duplicateObject(id: string): Promise<void>;
|
|
87
|
-
/**
|
|
88
|
-
* It calls the deleteObject function in the cmsService, passing in the id of the object to delete and the name of the
|
|
89
|
-
* model
|
|
90
|
-
*/
|
|
91
|
-
deleteObject(id: string): Promise<void>;
|
|
92
|
-
/**
|
|
93
|
-
* It takes a string, capitalizes the first letter, and returns the modified string
|
|
94
|
-
*/
|
|
95
|
-
capitalizeFirstLetter(value: string): string;
|
|
96
|
-
/**
|
|
97
|
-
* Kebab to camel case string
|
|
98
|
-
*/
|
|
99
|
-
kebabToCamelCase(str: string): string;
|
|
100
|
-
/**
|
|
101
|
-
* Import objects from json file
|
|
102
|
-
*/
|
|
103
|
-
processImport(event: any): void;
|
|
104
|
-
/**
|
|
105
|
-
* Export objects as json
|
|
106
|
-
*/
|
|
107
|
-
processExport(): Promise<void>;
|
|
108
|
-
/**
|
|
109
|
-
* Get all keys for request to export objects as json
|
|
110
|
-
*/
|
|
111
|
-
getAllKeys(): any[];
|
|
112
|
-
selectPage(i: number): Promise<void>;
|
|
113
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelTableComponent, never>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModelTableComponent, "base-model-table", never, { "modelName": { "alias": "modelName"; "required": false; }; "objectId": { "alias": "objectId"; "required": false; }; "createMode": { "alias": "createMode"; "required": false; }; "logging": { "alias": "logging"; "required": false; }; "create": { "alias": "create"; "required": false; }; "update": { "alias": "update"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "import": { "alias": "import"; "required": false; }; "export": { "alias": "export"; "required": false; }; "duplicate": { "alias": "duplicate"; "required": false; }; "modelConfig": { "alias": "modelConfig"; "required": false; }; "config": { "alias": "config"; "required": false; }; "showFavButton": { "alias": "showFavButton"; "required": false; }; }, { "idSelected": "idSelected"; "createModeChanged": "createModeChanged"; }, never, never, true, never>;
|
|
115
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { GraphQLService } from '@lenne.tech/ng-base/shared';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RefenceInputComponent implements OnInit, OnDestroy {
|
|
7
|
-
private graphQLService;
|
|
8
|
-
private router;
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
infoText: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
isList: boolean;
|
|
14
|
-
search: boolean;
|
|
15
|
-
useParamAsArg: boolean;
|
|
16
|
-
param: string;
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
autocomplete?: string;
|
|
19
|
-
tabIndex?: number;
|
|
20
|
-
control: any;
|
|
21
|
-
required: boolean;
|
|
22
|
-
method: string;
|
|
23
|
-
fields: string[];
|
|
24
|
-
valueField: string;
|
|
25
|
-
objectPath: string;
|
|
26
|
-
nameField: string[] | string;
|
|
27
|
-
creationLink: string;
|
|
28
|
-
objects: any[];
|
|
29
|
-
currentValue: any;
|
|
30
|
-
optionsForTagInput: any[];
|
|
31
|
-
selectedElement: HTMLElement;
|
|
32
|
-
subscription: Subscription;
|
|
33
|
-
constructor(graphQLService: GraphQLService, router: Router);
|
|
34
|
-
ngOnInit(): Promise<void>;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
/**
|
|
37
|
-
* Open creation link for new reference if enabled
|
|
38
|
-
*/
|
|
39
|
-
openLink(): void;
|
|
40
|
-
/**
|
|
41
|
-
* It gets the references from the GraphQL server and sets the value of the select
|
|
42
|
-
*/
|
|
43
|
-
getReferences(): void;
|
|
44
|
-
/**
|
|
45
|
-
* If the current value is not valid, set the control to an invalid state
|
|
46
|
-
*/
|
|
47
|
-
checkValidReference(): void;
|
|
48
|
-
/**
|
|
49
|
-
* If the user presses the enter key, mark the control as touched
|
|
50
|
-
*/
|
|
51
|
-
enterKey(event: any): void;
|
|
52
|
-
/**
|
|
53
|
-
* If the control has a value and the objects array is not empty, then find the object in the array that has the same
|
|
54
|
-
* value as the control's value and set the currentValue to the textField of that object. If the control has a value but
|
|
55
|
-
* the objects array is empty, then set the currentValue to the control's value
|
|
56
|
-
*/
|
|
57
|
-
setValue(): void;
|
|
58
|
-
/**
|
|
59
|
-
* It sets the value of the control to the id of the selected option
|
|
60
|
-
*/
|
|
61
|
-
set(id: string): void;
|
|
62
|
-
/**
|
|
63
|
-
* Filter options for drop down
|
|
64
|
-
*/
|
|
65
|
-
filterOptions(): any[];
|
|
66
|
-
/**
|
|
67
|
-
* It takes an array of objects and returns an array of objects with the text and value fields specified
|
|
68
|
-
*/
|
|
69
|
-
setObjectsAsOptions(): void;
|
|
70
|
-
/**
|
|
71
|
-
* Show dropdown focus
|
|
72
|
-
*/
|
|
73
|
-
onFocus(event?: any): void;
|
|
74
|
-
/**
|
|
75
|
-
* Prepare string function if name fields is an array
|
|
76
|
-
*/
|
|
77
|
-
prepareNameField(object: any): any;
|
|
78
|
-
/**
|
|
79
|
-
* Check function if name fields is an array
|
|
80
|
-
*/
|
|
81
|
-
checkForNameFields(object: any): any;
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RefenceInputComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RefenceInputComponent, "base-refence-input", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isList": { "alias": "isList"; "required": false; }; "search": { "alias": "search"; "required": false; }; "useParamAsArg": { "alias": "useParamAsArg"; "required": false; }; "param": { "alias": "param"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "control": { "alias": "control"; "required": false; }; "required": { "alias": "required"; "required": false; }; "method": { "alias": "method"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "nameField": { "alias": "nameField"; "required": false; }; "creationLink": { "alias": "creationLink"; "required": false; }; }, {}, never, never, true, never>;
|
|
84
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface Option {
|
|
4
|
-
text: string;
|
|
5
|
-
value: string | number;
|
|
6
|
-
}
|
|
7
|
-
export declare class SelectComponent implements OnInit {
|
|
8
|
-
select: ElementRef;
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
infoText: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
objectPath: string;
|
|
15
|
-
control: any;
|
|
16
|
-
tabIndex?: number;
|
|
17
|
-
required: boolean;
|
|
18
|
-
multiple: boolean;
|
|
19
|
-
search: boolean;
|
|
20
|
-
options: Option[];
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "base-select", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "control": { "alias": "control"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "search": { "alias": "search"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SkeletonType } from '@lenne.tech/ng-base/shared';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SkeletonLoaderComponent {
|
|
4
|
-
type: SkeletonType;
|
|
5
|
-
count: number;
|
|
6
|
-
size: number;
|
|
7
|
-
convertToArray(value: any): any;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "base-skeleton-loader", never, { "type": { "alias": "type"; "required": false; }; "count": { "alias": "count"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TagsComponent {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
infoText: string;
|
|
7
|
-
label?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
autocomplete?: string;
|
|
10
|
-
tabIndex?: number;
|
|
11
|
-
control: any;
|
|
12
|
-
options?: {
|
|
13
|
-
text: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}[];
|
|
16
|
-
custom: boolean;
|
|
17
|
-
removeByKey: boolean;
|
|
18
|
-
required: boolean;
|
|
19
|
-
objectPath: string;
|
|
20
|
-
validators: ValidatorFn[];
|
|
21
|
-
inputValue: string;
|
|
22
|
-
selectedElement: HTMLElement;
|
|
23
|
-
/**
|
|
24
|
-
* Convert id into text field
|
|
25
|
-
*/
|
|
26
|
-
getReadableTag(tag: string): string;
|
|
27
|
-
/**
|
|
28
|
-
* Listen to enter keys
|
|
29
|
-
*
|
|
30
|
-
* @param event
|
|
31
|
-
*/
|
|
32
|
-
enterKey(event: any): void;
|
|
33
|
-
/**
|
|
34
|
-
* Add new tag
|
|
35
|
-
*
|
|
36
|
-
* @param tag
|
|
37
|
-
* @param reset
|
|
38
|
-
* @param isOption
|
|
39
|
-
*/
|
|
40
|
-
addTag(tag: string, reset?: boolean, isOption?: boolean): void;
|
|
41
|
-
/**
|
|
42
|
-
* Remove tag
|
|
43
|
-
*
|
|
44
|
-
* @param tag
|
|
45
|
-
*/
|
|
46
|
-
removeTag(tag?: string): void;
|
|
47
|
-
/**
|
|
48
|
-
* Filter options for drop down
|
|
49
|
-
*/
|
|
50
|
-
filterOptions(): {
|
|
51
|
-
text: string;
|
|
52
|
-
value: string;
|
|
53
|
-
}[];
|
|
54
|
-
/**
|
|
55
|
-
* Show dropdown focus
|
|
56
|
-
*/
|
|
57
|
-
onFocus(event?: any): void;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagsComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "base-tags", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "control": { "alias": "control"; "required": false; }; "options": { "alias": "options"; "required": false; }; "custom": { "alias": "custom"; "required": false; }; "removeByKey": { "alias": "removeByKey"; "required": false; }; "required": { "alias": "required"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; }, {}, never, never, true, never>;
|
|
60
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TextareaComponent implements OnChanges {
|
|
4
|
-
textarea: ElementRef;
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
infoText: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
control: any;
|
|
11
|
-
rows: number;
|
|
12
|
-
required: boolean;
|
|
13
|
-
autoHeight: boolean;
|
|
14
|
-
tabIndex?: number;
|
|
15
|
-
objectPath: string;
|
|
16
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
-
adjustInitHeight(): void;
|
|
18
|
-
adjustHeight(event: any): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "base-textarea", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "control": { "alias": "control"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { Toast, ToastService, ToastType } from '@lenne.tech/ng-base/shared';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ToastComponent implements OnInit, OnDestroy {
|
|
6
|
-
private toastService;
|
|
7
|
-
toasts: Toast[];
|
|
8
|
-
ToastType: typeof ToastType;
|
|
9
|
-
subscriptions: Subscription;
|
|
10
|
-
position: 'top-right' | 'bottom-right' | 'bottom-left' | 'top-left';
|
|
11
|
-
constructor(toastService: ToastService);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
getDefaultTitle(toast: Toast): string;
|
|
15
|
-
getDefaultDescription(toast: Toast): string;
|
|
16
|
-
reload(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "base-toast", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { AuthService, CompressOptions, CroppingOptions, FileService, ToastService } from '@lenne.tech/ng-base/shared';
|
|
4
|
-
import { ImageCroppedEvent } from 'ngx-image-cropper';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UploadImageComponent implements OnInit {
|
|
7
|
-
private httpClient;
|
|
8
|
-
private authService;
|
|
9
|
-
private fileService;
|
|
10
|
-
private toastService;
|
|
11
|
-
fileInput: ElementRef;
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
infoText: string;
|
|
15
|
-
label?: string;
|
|
16
|
-
supportText: string;
|
|
17
|
-
required: boolean;
|
|
18
|
-
defaultDragText: string;
|
|
19
|
-
defaultReleaseText: string;
|
|
20
|
-
preButtonText: string;
|
|
21
|
-
buttonText: string;
|
|
22
|
-
validExtensions: string[];
|
|
23
|
-
control: any;
|
|
24
|
-
url: string;
|
|
25
|
-
uploadPath: string;
|
|
26
|
-
deletePath: string;
|
|
27
|
-
path: string;
|
|
28
|
-
compressOptions: CompressOptions;
|
|
29
|
-
maxSize: number;
|
|
30
|
-
uploadDirectly: boolean;
|
|
31
|
-
croppingImage: boolean;
|
|
32
|
-
croppingOptions: CroppingOptions;
|
|
33
|
-
objectPath: string;
|
|
34
|
-
mode: 'file' | 'base64';
|
|
35
|
-
imageUploaded: EventEmitter<any>;
|
|
36
|
-
imageDeleted: EventEmitter<any>;
|
|
37
|
-
fileChanged: EventEmitter<{
|
|
38
|
-
field: string;
|
|
39
|
-
file: File | null;
|
|
40
|
-
base64: string | null;
|
|
41
|
-
}>;
|
|
42
|
-
dragActive: boolean;
|
|
43
|
-
dragText: string;
|
|
44
|
-
selectedFile: File;
|
|
45
|
-
croppedFile: File;
|
|
46
|
-
fileUrl: string;
|
|
47
|
-
loading: boolean;
|
|
48
|
-
croppedInProgress: boolean;
|
|
49
|
-
fileEvent: any;
|
|
50
|
-
cOptions: CroppingOptions;
|
|
51
|
-
constructor(httpClient: HttpClient, authService: AuthService, fileService: FileService, toastService: ToastService);
|
|
52
|
-
ngOnInit(): void;
|
|
53
|
-
/**
|
|
54
|
-
* The dragOver function is called when the user drags a file over the dropzone. It prevents the default action of the
|
|
55
|
-
* event, and sets the dragText to 'Release to Upload' and the dragActive to true
|
|
56
|
-
*
|
|
57
|
-
* @param event - any - This is the event that is triggered when the user drags a file over the dropzone.
|
|
58
|
-
*/
|
|
59
|
-
dragOver(event: any): void;
|
|
60
|
-
/**
|
|
61
|
-
* When the user drags a file over the drop zone, the dragActive variable is set to true, which will change the color of
|
|
62
|
-
* the drop zone to green
|
|
63
|
-
*
|
|
64
|
-
* @param event - The event object that is passed to the dragLeave event.
|
|
65
|
-
*/
|
|
66
|
-
dragLeave(event: any): void;
|
|
67
|
-
/**
|
|
68
|
-
* The function takes an event as a parameter, prevents the default action of the event, sets the URL of the image to the
|
|
69
|
-
* file that was dragged and dropped, sets the text of the drag and drop area to the default text, and sets the
|
|
70
|
-
* dragActive variable to false
|
|
71
|
-
*
|
|
72
|
-
* @param event - any - This is the event that is triggered when the user drags and drops a file.
|
|
73
|
-
*/
|
|
74
|
-
drop(event: any): void;
|
|
75
|
-
/**
|
|
76
|
-
* It takes a file as an argument, checks if the file type is valid, and if it is, it creates a new FileReader object,
|
|
77
|
-
* sets the onload function to set the fileUrl to the result of the fileReader, sets the selectedFile to the file, and
|
|
78
|
-
* calls the upload function
|
|
79
|
-
*
|
|
80
|
-
* @param file - any - this is the file that is selected by the user.
|
|
81
|
-
*/
|
|
82
|
-
setUrl(file: File): void;
|
|
83
|
-
checkFile(file: File): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* The function takes an event as an argument, and then sets the url of the file to the first file in the event's
|
|
86
|
-
* target's files array
|
|
87
|
-
*
|
|
88
|
-
* @param event - any - The event that is triggered when the user selects a file.
|
|
89
|
-
*/
|
|
90
|
-
selectFile(event: any): void;
|
|
91
|
-
/**
|
|
92
|
-
* We create a new FormData object, append the selected file to it, and then send it to the server
|
|
93
|
-
*/
|
|
94
|
-
upload(): Promise<void>;
|
|
95
|
-
/**
|
|
96
|
-
* It deletes the file from the server and sets the selectedFile and fileUrl to null
|
|
97
|
-
*
|
|
98
|
-
* @param [id] - The id of the file to delete.
|
|
99
|
-
*/
|
|
100
|
-
deleteFile(id?: string): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* Convert a file into a BASE64 encoded string
|
|
103
|
-
*/
|
|
104
|
-
protected getBase64(file: any): Promise<string>;
|
|
105
|
-
base64ToFile(base64: string, fileName: string, fileType: string): Promise<File>;
|
|
106
|
-
imageCropped($event: ImageCroppedEvent, fileEvent: any): Promise<void>;
|
|
107
|
-
finishedCropping(): void;
|
|
108
|
-
loadImageFailed(): void;
|
|
109
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadImageComponent, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadImageComponent, "base-upload-image", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "infoText": { "alias": "infoText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "supportText": { "alias": "supportText"; "required": false; }; "required": { "alias": "required"; "required": false; }; "defaultDragText": { "alias": "defaultDragText"; "required": false; }; "defaultReleaseText": { "alias": "defaultReleaseText"; "required": false; }; "preButtonText": { "alias": "preButtonText"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "validExtensions": { "alias": "validExtensions"; "required": false; }; "control": { "alias": "control"; "required": false; }; "url": { "alias": "url"; "required": false; }; "uploadPath": { "alias": "uploadPath"; "required": false; }; "deletePath": { "alias": "deletePath"; "required": false; }; "path": { "alias": "path"; "required": false; }; "compressOptions": { "alias": "compressOptions"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "uploadDirectly": { "alias": "uploadDirectly"; "required": false; }; "croppingImage": { "alias": "croppingImage"; "required": false; }; "croppingOptions": { "alias": "croppingOptions"; "required": false; }; "objectPath": { "alias": "objectPath"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "imageUploaded": "imageUploaded"; "imageDeleted": "imageDeleted"; "fileChanged": "fileChanged"; }, never, never, true, never>;
|
|
111
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NavigationService } from '@lenne.tech/ng-base/shared';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BackButtonDirective {
|
|
4
|
-
private navigation;
|
|
5
|
-
constructor(navigation: NavigationService);
|
|
6
|
-
onClick(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackButtonDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BackButtonDirective, "[baseBackButton]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Directive vor context menu
|
|
5
|
-
* See https://stackblitz.com/edit/angular-custom-context-menu
|
|
6
|
-
*/
|
|
7
|
-
export declare class ContextMenuDirective implements OnInit {
|
|
8
|
-
private el;
|
|
9
|
-
contextMenuData?: any;
|
|
10
|
-
ltContextMenu: HTMLElement;
|
|
11
|
-
xGap: number;
|
|
12
|
-
yGap: number;
|
|
13
|
-
overflowSpace: number;
|
|
14
|
-
selectors: string;
|
|
15
|
-
clickedElement: Element;
|
|
16
|
-
previousDisplayStatus: string;
|
|
17
|
-
constructor(el: ElementRef);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
showContextMenu(event: any, show: boolean): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[ltContextMenu]", ["contextMenuData"], { "contextMenuData": { "alias": "contextMenuData"; "required": false; }; "ltContextMenu": { "alias": "ltContextMenu"; "required": false; }; "xGap": { "alias": "xGap"; "required": false; }; "yGap": { "alias": "yGap"; "required": false; }; "overflowSpace": { "alias": "overflowSpace"; "required": false; }; "selectors": { "alias": "selectors"; "required": false; }; }, { "clickedElement": "clickedElement"; }, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SortDirective {
|
|
4
|
-
private renderer;
|
|
5
|
-
private targetElem;
|
|
6
|
-
baseSort: Array<any>;
|
|
7
|
-
baseSorted: EventEmitter<any[]>;
|
|
8
|
-
constructor(renderer: Renderer2, targetElem: ElementRef, document: Document);
|
|
9
|
-
/**
|
|
10
|
-
* Sorts columns on click
|
|
11
|
-
*/
|
|
12
|
-
sortColumn(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[baseSort]", never, { "baseSort": { "alias": "baseSort"; "required": false; }; }, { "baseSorted": "baseSorted"; }, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Stops propagation of click events
|
|
4
|
-
* Inspired by https://stackoverflow.com/a/41001184
|
|
5
|
-
*/
|
|
6
|
-
export declare class StopPropagationDirective {
|
|
7
|
-
onClick(event: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[baseStopPropagation]", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Truncate string with ellipses
|
|
5
|
-
*/
|
|
6
|
-
export declare class EllipsesPipe implements PipeTransform {
|
|
7
|
-
transform(value: string, limit: number): string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsesPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<EllipsesPipe, "baseEllipses", true>;
|
|
10
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Exports for public API
|
|
3
|
-
*/
|
|
4
|
-
export * from './directives/sort.directive';
|
|
5
|
-
export * from './directives/back-button.directive';
|
|
6
|
-
export * from './directives/context-menu.directive';
|
|
7
|
-
export * from './directives/stop-propagation.directive';
|
|
8
|
-
export * from './pipes/ellipses.pipe';
|
|
9
|
-
export * from './components/input/input.component';
|
|
10
|
-
export * from './components/select/select.component';
|
|
11
|
-
export * from './components/checkbox/checkbox.component';
|
|
12
|
-
export * from './components/textarea/textarea.component';
|
|
13
|
-
export * from './components/tags/tags.component';
|
|
14
|
-
export * from './components/toast/toast.component';
|
|
15
|
-
export * from './components/loading-bar/loading-bar.component';
|
|
16
|
-
export * from './components/skeleton-loader/skeleton-loader.component';
|
|
17
|
-
export * from './components/breadcrumb/breadcrumb.component';
|
|
18
|
-
export * from './components/model-form/model-form.component';
|
|
19
|
-
export * from './components/model-form/model-form-base.component';
|
|
20
|
-
export * from './components/model-table/model-table.component';
|
|
21
|
-
export * from './components/model-form-sub/model-form-sub.component';
|
|
22
|
-
export * from './components/upload-image/upload-image.component';
|
|
23
|
-
export * from './components/refence-input/refence-input.component';
|
|
24
|
-
export * from './components/change-password/change-password.component';
|
|
25
|
-
export * from './components/delete-account/delete-account.component';
|
|
26
|
-
export * from './components/fab-button/fab-button.component';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { ToastService, UserService } from '@lenne.tech/ng-base/shared';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EmailVerificationComponent implements OnInit {
|
|
6
|
-
private route;
|
|
7
|
-
private userService;
|
|
8
|
-
private toastService;
|
|
9
|
-
private router;
|
|
10
|
-
token: string;
|
|
11
|
-
mode: 'ERROR' | 'SUCCESS';
|
|
12
|
-
loading: boolean;
|
|
13
|
-
constructor(route: ActivatedRoute, userService: UserService, toastService: ToastService, router: Router);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
verifyUser(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmailVerificationComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmailVerificationComponent, "base-email-verification", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { FormsService, ToastService, UserService } from '@lenne.tech/ng-base/shared';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ForgotPasswordComponent implements OnInit {
|
|
7
|
-
private formsService;
|
|
8
|
-
private userService;
|
|
9
|
-
private router;
|
|
10
|
-
private toastService;
|
|
11
|
-
form: UntypedFormGroup;
|
|
12
|
-
error: string;
|
|
13
|
-
loading: boolean;
|
|
14
|
-
constructor(formsService: FormsService, userService: UserService, router: Router, toastService: ToastService);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
/**
|
|
17
|
-
* Create login form
|
|
18
|
-
*/
|
|
19
|
-
createForm(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Submit form
|
|
22
|
-
*/
|
|
23
|
-
submit(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "base-forgot-password", never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { FormsService, LoginConfig, UserService } from '@lenne.tech/ng-base/shared';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class LoginComponent implements OnInit, OnDestroy {
|
|
8
|
-
private formsService;
|
|
9
|
-
private userService;
|
|
10
|
-
private router;
|
|
11
|
-
private route;
|
|
12
|
-
config: LoginConfig;
|
|
13
|
-
form: UntypedFormGroup;
|
|
14
|
-
error: string;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
subscription: Subscription;
|
|
17
|
-
loginConfig: LoginConfig;
|
|
18
|
-
redirectUrl: '';
|
|
19
|
-
constructor(formsService: FormsService, userService: UserService, router: Router, route: ActivatedRoute);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Create login form
|
|
24
|
-
*/
|
|
25
|
-
createForm(): void;
|
|
26
|
-
/**
|
|
27
|
-
* Submit login form
|
|
28
|
-
*/
|
|
29
|
-
submit(): void;
|
|
30
|
-
scrollToTop(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "base-login", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|