@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
|
@@ -0,0 +1,771 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { DestroyRef, InjectionToken, PLATFORM_ID, PendingTasks, Service, TransferState, assertInInjectionContext, computed, inject, isSignal, linkedSignal, makeEnvironmentProviders, makeStateKey, signal } from "@angular/core";
|
|
3
|
+
import { LT_FETCH, LT_RUNTIME_CONFIG, LtApiUrlService, mergeLtFeatureOptions } from "@lenne.tech/ng-base";
|
|
4
|
+
import { isPlatformServer } from "@angular/common";
|
|
5
|
+
const LT_AI_INPUT_OPTIONS = new InjectionToken("LT_AI_INPUT_OPTIONS", { factory: () => ({}) });
|
|
6
|
+
const LT_AI_OPTIONS = new InjectionToken("LT_AI_OPTIONS", { factory: () => mergeLtFeatureOptions({ basePath: "/ai" }, inject(LT_AI_INPUT_OPTIONS), inject(LT_RUNTIME_CONFIG, { optional: true })?.lt.ai) });
|
|
7
|
+
function provideLtAi(options = {}) {
|
|
8
|
+
return makeEnvironmentProviders([{
|
|
9
|
+
provide: LT_AI_INPUT_OPTIONS,
|
|
10
|
+
useValue: options
|
|
11
|
+
}]);
|
|
12
|
+
}
|
|
13
|
+
const LT_AI_SSE_MAX_LINE = 1048576;
|
|
14
|
+
var LtAiHttpService = class LtAiHttpService {
|
|
15
|
+
api = inject(LtApiUrlService);
|
|
16
|
+
fetch = inject(LT_FETCH);
|
|
17
|
+
options = inject(LT_AI_OPTIONS);
|
|
18
|
+
basePath() {
|
|
19
|
+
return this.options.basePath;
|
|
20
|
+
}
|
|
21
|
+
buildUrl(path) {
|
|
22
|
+
return this.api.buildUrl(`${this.options.basePath}${path.startsWith("/") ? path : `/${path}`}`);
|
|
23
|
+
}
|
|
24
|
+
async request(method, path, body, options = {}) {
|
|
25
|
+
const init = {
|
|
26
|
+
headers: { accept: "application/json" },
|
|
27
|
+
method,
|
|
28
|
+
signal: options.signal
|
|
29
|
+
};
|
|
30
|
+
if (body !== void 0) {
|
|
31
|
+
init.body = JSON.stringify(body);
|
|
32
|
+
init.headers = {
|
|
33
|
+
...init.headers,
|
|
34
|
+
"content-type": "application/json"
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
const response = await this.fetch(this.buildUrl(path), init);
|
|
38
|
+
if (!response.ok) throw await ltAiResponseError(response);
|
|
39
|
+
if (response.status === 204) return;
|
|
40
|
+
const text = await response.text();
|
|
41
|
+
return text ? JSON.parse(text) : void 0;
|
|
42
|
+
}
|
|
43
|
+
stream(path, body, options = {}) {
|
|
44
|
+
return this.fetch(this.buildUrl(path), {
|
|
45
|
+
body: JSON.stringify(body),
|
|
46
|
+
headers: {
|
|
47
|
+
accept: "text/event-stream",
|
|
48
|
+
"content-type": "application/json"
|
|
49
|
+
},
|
|
50
|
+
method: "POST",
|
|
51
|
+
signal: options.signal
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
55
|
+
minVersion: "12.0.0",
|
|
56
|
+
version: "22.2.4",
|
|
57
|
+
ngImport: i0,
|
|
58
|
+
type: LtAiHttpService,
|
|
59
|
+
deps: [],
|
|
60
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
61
|
+
});
|
|
62
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
63
|
+
minVersion: "22.0.0",
|
|
64
|
+
version: "22.2.4",
|
|
65
|
+
ngImport: i0,
|
|
66
|
+
type: LtAiHttpService
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
70
|
+
minVersion: "12.0.0",
|
|
71
|
+
version: "22.2.4",
|
|
72
|
+
ngImport: i0,
|
|
73
|
+
type: LtAiHttpService,
|
|
74
|
+
decorators: [{ type: Service }]
|
|
75
|
+
});
|
|
76
|
+
async function ltAiResponseError(response) {
|
|
77
|
+
let message = `${response.status} ${response.statusText}`.trim();
|
|
78
|
+
try {
|
|
79
|
+
const body = await response.json();
|
|
80
|
+
const raw = body?.message ?? body?.error;
|
|
81
|
+
if (Array.isArray(raw)) message = raw.map(String).join(", ");
|
|
82
|
+
else if (typeof raw === "string" && raw) message = raw;
|
|
83
|
+
} catch {}
|
|
84
|
+
const error = new Error(message.slice(0, 1024));
|
|
85
|
+
error.status = response.status;
|
|
86
|
+
return error;
|
|
87
|
+
}
|
|
88
|
+
async function parseLtAiSseStream(response, onEvent, options = {}) {
|
|
89
|
+
const body = response.body;
|
|
90
|
+
if (!body) throw new Error("AI stream response has no body");
|
|
91
|
+
const signal = options.signal;
|
|
92
|
+
const reader = body.getReader();
|
|
93
|
+
const decoder = new TextDecoder();
|
|
94
|
+
let buffer = "";
|
|
95
|
+
let finished = false;
|
|
96
|
+
const cancel = () => {
|
|
97
|
+
reader.cancel().catch(() => void 0);
|
|
98
|
+
};
|
|
99
|
+
const tooLong = () => /* @__PURE__ */ new Error("AI stream line exceeds maximum allowed size");
|
|
100
|
+
const handleLine = (line) => {
|
|
101
|
+
if (line.length > 1048576) throw tooLong();
|
|
102
|
+
const trimmed = line.trim();
|
|
103
|
+
if (!trimmed.startsWith("data:")) return;
|
|
104
|
+
const payload = trimmed.slice(5).trim();
|
|
105
|
+
if (!payload || payload === "[DONE]") return;
|
|
106
|
+
let event;
|
|
107
|
+
try {
|
|
108
|
+
event = JSON.parse(payload);
|
|
109
|
+
} catch {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
onEvent(event);
|
|
113
|
+
};
|
|
114
|
+
signal?.addEventListener("abort", cancel, { once: true });
|
|
115
|
+
try {
|
|
116
|
+
if (signal?.aborted) return;
|
|
117
|
+
for (;;) {
|
|
118
|
+
const { done, value } = await reader.read();
|
|
119
|
+
if (signal?.aborted) return;
|
|
120
|
+
if (done) break;
|
|
121
|
+
buffer += decoder.decode(value, { stream: true });
|
|
122
|
+
const lines = buffer.split("\n");
|
|
123
|
+
buffer = lines.pop() ?? "";
|
|
124
|
+
for (const line of lines) {
|
|
125
|
+
handleLine(line);
|
|
126
|
+
if (signal?.aborted) return;
|
|
127
|
+
}
|
|
128
|
+
if (buffer.length > 1048576) throw tooLong();
|
|
129
|
+
}
|
|
130
|
+
buffer += decoder.decode();
|
|
131
|
+
finished = true;
|
|
132
|
+
if (buffer) handleLine(buffer);
|
|
133
|
+
} finally {
|
|
134
|
+
signal?.removeEventListener("abort", cancel);
|
|
135
|
+
if (!finished) cancel();
|
|
136
|
+
reader.releaseLock();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
var LtAiCallState = class {
|
|
140
|
+
pending = signal(0, ...ngDevMode ? [{ debugName: "pending" }] : /* istanbul ignore next */ []);
|
|
141
|
+
lastError = signal(null, ...ngDevMode ? [{ debugName: "lastError" }] : /* istanbul ignore next */ []);
|
|
142
|
+
loading = computed(() => this.pending() > 0, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
|
|
143
|
+
error = this.lastError.asReadonly();
|
|
144
|
+
async run(call) {
|
|
145
|
+
this.pending.update((count) => count + 1);
|
|
146
|
+
this.lastError.set(null);
|
|
147
|
+
try {
|
|
148
|
+
return await call();
|
|
149
|
+
} catch (error) {
|
|
150
|
+
this.lastError.set(ltAiErrorMessage(error));
|
|
151
|
+
throw error;
|
|
152
|
+
} finally {
|
|
153
|
+
this.pending.update((count) => Math.max(0, count - 1));
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
async runQuietly(call) {
|
|
157
|
+
try {
|
|
158
|
+
return await this.run(call);
|
|
159
|
+
} catch {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
setError(message) {
|
|
164
|
+
this.lastError.set(message);
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
function ltAiErrorMessage(error) {
|
|
168
|
+
return error instanceof Error ? error.message : String(error);
|
|
169
|
+
}
|
|
170
|
+
function isLtAiAbortError(error) {
|
|
171
|
+
return error?.name === "AbortError";
|
|
172
|
+
}
|
|
173
|
+
async function runLtAiStream(http, input, handlers, options = {}) {
|
|
174
|
+
const response = await http.stream("/stream", input, options);
|
|
175
|
+
if (!response.ok) throw await ltAiResponseError(response);
|
|
176
|
+
let final;
|
|
177
|
+
await parseLtAiSseStream(response, (event) => {
|
|
178
|
+
handlers?.onEvent?.(event);
|
|
179
|
+
switch (event.type) {
|
|
180
|
+
case "action":
|
|
181
|
+
handlers?.onAction?.(event.action);
|
|
182
|
+
break;
|
|
183
|
+
case "error":
|
|
184
|
+
handlers?.onError?.(event.message);
|
|
185
|
+
break;
|
|
186
|
+
case "final":
|
|
187
|
+
final = event.response;
|
|
188
|
+
handlers?.onFinal?.(event.response);
|
|
189
|
+
break;
|
|
190
|
+
case "token": handlers?.onToken?.(event.token);
|
|
191
|
+
}
|
|
192
|
+
}, options);
|
|
193
|
+
if (options.signal?.aborted) throw abortReason(options.signal);
|
|
194
|
+
return final;
|
|
195
|
+
}
|
|
196
|
+
function abortReason(signal) {
|
|
197
|
+
const reason = signal.reason;
|
|
198
|
+
if (reason instanceof Error || typeof DOMException !== "undefined" && reason instanceof DOMException) return reason;
|
|
199
|
+
const error = /* @__PURE__ */ new Error("The operation was aborted.");
|
|
200
|
+
error.name = "AbortError";
|
|
201
|
+
return error;
|
|
202
|
+
}
|
|
203
|
+
function injectLtAiChat(options = {}) {
|
|
204
|
+
assertInInjectionContext(injectLtAiChat);
|
|
205
|
+
const http = inject(LtAiHttpService);
|
|
206
|
+
const messages = signal([], ...ngDevMode ? [{ debugName: "messages" }] : /* istanbul ignore next */ []);
|
|
207
|
+
const conversationId = linkedSignal(() => isSignal(options.conversationId) ? options.conversationId() : options.conversationId, ...ngDevMode ? [{ debugName: "conversationId" }] : /* istanbul ignore next */ []);
|
|
208
|
+
const budget = signal(null, ...ngDevMode ? [{ debugName: "budget" }] : /* istanbul ignore next */ []);
|
|
209
|
+
const contextWindow = signal(null, ...ngDevMode ? [{ debugName: "contextWindow" }] : /* istanbul ignore next */ []);
|
|
210
|
+
const error = signal(null, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
211
|
+
const streaming = signal(false, ...ngDevMode ? [{ debugName: "streaming" }] : /* istanbul ignore next */ []);
|
|
212
|
+
let busy = false;
|
|
213
|
+
let turnSequence = 0;
|
|
214
|
+
let controller;
|
|
215
|
+
let lastPrompt = "";
|
|
216
|
+
const requiresConfirmation = computed(() => {
|
|
217
|
+
const list = messages();
|
|
218
|
+
const last = list[list.length - 1];
|
|
219
|
+
return !!last && last.role === "assistant" && !!last.requiresConfirmation;
|
|
220
|
+
}, ...ngDevMode ? [{ debugName: "requiresConfirmation" }] : /* istanbul ignore next */ []);
|
|
221
|
+
function resolveConnectionId() {
|
|
222
|
+
const value = options.connectionId;
|
|
223
|
+
return (isSignal(value) ? value() : value) || void 0;
|
|
224
|
+
}
|
|
225
|
+
function push(message) {
|
|
226
|
+
messages.update((list) => {
|
|
227
|
+
const next = [...list, message];
|
|
228
|
+
return options.maxMessages && options.maxMessages > 0 && next.length > options.maxMessages ? next.slice(next.length - options.maxMessages) : next;
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
function buildInput(prompt, confirm) {
|
|
232
|
+
const input = {
|
|
233
|
+
connectionId: resolveConnectionId(),
|
|
234
|
+
conversationId: conversationId(),
|
|
235
|
+
metadata: options.metadata?.(),
|
|
236
|
+
mode: isSignal(options.mode) ? options.mode() : options.mode,
|
|
237
|
+
prompt
|
|
238
|
+
};
|
|
239
|
+
if (confirm) input.confirm = true;
|
|
240
|
+
return input;
|
|
241
|
+
}
|
|
242
|
+
async function runTurn(input) {
|
|
243
|
+
const turn = ++turnSequence;
|
|
244
|
+
const isCurrent = () => turn === turnSequence;
|
|
245
|
+
error.set(null);
|
|
246
|
+
let assistant = {
|
|
247
|
+
content: "",
|
|
248
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
249
|
+
pending: true,
|
|
250
|
+
role: "assistant"
|
|
251
|
+
};
|
|
252
|
+
push(assistant);
|
|
253
|
+
const patch = (changes) => {
|
|
254
|
+
const previous = assistant;
|
|
255
|
+
assistant = {
|
|
256
|
+
...previous,
|
|
257
|
+
...changes
|
|
258
|
+
};
|
|
259
|
+
const next = assistant;
|
|
260
|
+
messages.update((list) => list.includes(previous) ? list.map((message) => message === previous ? next : message) : list);
|
|
261
|
+
};
|
|
262
|
+
const applyFinal = (response) => {
|
|
263
|
+
patch({
|
|
264
|
+
actions: response.actions,
|
|
265
|
+
budget: response.budget,
|
|
266
|
+
content: response.text || assistant.content,
|
|
267
|
+
denied: response.denied,
|
|
268
|
+
pending: false,
|
|
269
|
+
pendingActions: response.pendingActions,
|
|
270
|
+
requiresConfirmation: response.requiresConfirmation
|
|
271
|
+
});
|
|
272
|
+
if (!isCurrent()) return;
|
|
273
|
+
if (response.budget) budget.set(response.budget);
|
|
274
|
+
if (response.contextWindow) contextWindow.set(response.contextWindow);
|
|
275
|
+
if (response.conversationId) conversationId.set(response.conversationId);
|
|
276
|
+
};
|
|
277
|
+
const fail = (message) => {
|
|
278
|
+
patch({
|
|
279
|
+
content: assistant.content || message,
|
|
280
|
+
error: true,
|
|
281
|
+
pending: false
|
|
282
|
+
});
|
|
283
|
+
if (isCurrent()) error.set(message);
|
|
284
|
+
};
|
|
285
|
+
const abort = new AbortController();
|
|
286
|
+
controller = abort;
|
|
287
|
+
busy = true;
|
|
288
|
+
const stream = options.stream !== false;
|
|
289
|
+
streaming.set(stream);
|
|
290
|
+
try {
|
|
291
|
+
if (stream) {
|
|
292
|
+
let streamError;
|
|
293
|
+
await runLtAiStream(http, input, {
|
|
294
|
+
onError: (message) => streamError = message,
|
|
295
|
+
onFinal: applyFinal,
|
|
296
|
+
onToken: (token) => patch({ content: assistant.content + token })
|
|
297
|
+
}, { signal: abort.signal });
|
|
298
|
+
if (streamError !== void 0) fail(streamError);
|
|
299
|
+
else if (assistant.pending) patch({ pending: false });
|
|
300
|
+
} else applyFinal(await http.request("POST", "/prompt", input, { signal: abort.signal }));
|
|
301
|
+
} catch (caught) {
|
|
302
|
+
if (isLtAiAbortError(caught)) patch({ pending: false });
|
|
303
|
+
else fail(ltAiErrorMessage(caught));
|
|
304
|
+
} finally {
|
|
305
|
+
if (isCurrent()) {
|
|
306
|
+
controller = void 0;
|
|
307
|
+
busy = false;
|
|
308
|
+
streaming.set(false);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
async function send(content) {
|
|
313
|
+
const text = content.trim();
|
|
314
|
+
if (!text || busy) return;
|
|
315
|
+
lastPrompt = text;
|
|
316
|
+
push({
|
|
317
|
+
content: text,
|
|
318
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
319
|
+
role: "user"
|
|
320
|
+
});
|
|
321
|
+
await runTurn(buildInput(text, false));
|
|
322
|
+
}
|
|
323
|
+
async function confirm() {
|
|
324
|
+
if (!requiresConfirmation() || !lastPrompt || busy) return;
|
|
325
|
+
await runTurn(buildInput(lastPrompt, true));
|
|
326
|
+
}
|
|
327
|
+
function stop() {
|
|
328
|
+
controller?.abort();
|
|
329
|
+
controller = void 0;
|
|
330
|
+
if (busy) {
|
|
331
|
+
turnSequence++;
|
|
332
|
+
busy = false;
|
|
333
|
+
streaming.set(false);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
function clear() {
|
|
337
|
+
stop();
|
|
338
|
+
messages.set([]);
|
|
339
|
+
budget.set(null);
|
|
340
|
+
contextWindow.set(null);
|
|
341
|
+
error.set(null);
|
|
342
|
+
lastPrompt = "";
|
|
343
|
+
}
|
|
344
|
+
inject(DestroyRef).onDestroy(() => stop());
|
|
345
|
+
return {
|
|
346
|
+
budget: budget.asReadonly(),
|
|
347
|
+
clear,
|
|
348
|
+
confirm,
|
|
349
|
+
contextWindow: contextWindow.asReadonly(),
|
|
350
|
+
conversationId: conversationId.asReadonly(),
|
|
351
|
+
error: error.asReadonly(),
|
|
352
|
+
messages: messages.asReadonly(),
|
|
353
|
+
requiresConfirmation,
|
|
354
|
+
send,
|
|
355
|
+
stop,
|
|
356
|
+
streaming: streaming.asReadonly()
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
var LtAiAdminService = class LtAiAdminService {
|
|
360
|
+
http = inject(LtAiHttpService);
|
|
361
|
+
listConnections = () => this.http.request("GET", "/connections");
|
|
362
|
+
createConnection = (input) => this.http.request("POST", "/connections", input);
|
|
363
|
+
getConnection = (id) => this.http.request("GET", `/connections/${encodeURIComponent(id)}`);
|
|
364
|
+
updateConnection = (id, input) => this.http.request("PUT", `/connections/${encodeURIComponent(id)}`, input);
|
|
365
|
+
deleteConnection = (id) => this.http.request("DELETE", `/connections/${encodeURIComponent(id)}`);
|
|
366
|
+
detectCapabilities = (id) => this.http.request("POST", `/connections/${encodeURIComponent(id)}/detect-capabilities`);
|
|
367
|
+
listPreferences = () => this.http.request("GET", "/connections/preferences");
|
|
368
|
+
setPreference = (input) => this.http.request("POST", "/connections/preferences", input);
|
|
369
|
+
deletePreference = (id) => this.http.request("DELETE", `/connections/preferences/${encodeURIComponent(id)}`);
|
|
370
|
+
listBudgetLimits = () => this.http.request("GET", "/budget-limits");
|
|
371
|
+
createBudgetLimit = (input) => this.http.request("POST", "/budget-limits", input);
|
|
372
|
+
updateBudgetLimit = (id, input) => this.http.request("PUT", `/budget-limits/${encodeURIComponent(id)}`, input);
|
|
373
|
+
deleteBudgetLimit = (id) => this.http.request("DELETE", `/budget-limits/${encodeURIComponent(id)}`);
|
|
374
|
+
listSlots = () => this.http.request("GET", "/slots");
|
|
375
|
+
listEffectiveSlots = () => this.http.request("GET", "/slots/effective");
|
|
376
|
+
createSlot = (input) => this.http.request("POST", "/slots", input);
|
|
377
|
+
updateSlot = (id, input) => this.http.request("PUT", `/slots/${encodeURIComponent(id)}`, input);
|
|
378
|
+
deleteSlot = (id) => this.http.request("DELETE", `/slots/${encodeURIComponent(id)}`);
|
|
379
|
+
resetSlot = (id) => this.http.request("POST", `/slots/${encodeURIComponent(id)}/reset`);
|
|
380
|
+
listPromptHints = () => this.http.request("GET", "/prompt-hints");
|
|
381
|
+
createPromptHint = (input) => this.http.request("POST", "/prompt-hints", input);
|
|
382
|
+
updatePromptHint = (id, input) => this.http.request("PUT", `/prompt-hints/${encodeURIComponent(id)}`, input);
|
|
383
|
+
deletePromptHint = (id) => this.http.request("DELETE", `/prompt-hints/${encodeURIComponent(id)}`);
|
|
384
|
+
listInteractions = () => this.http.request("GET", "/interactions");
|
|
385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
386
|
+
minVersion: "12.0.0",
|
|
387
|
+
version: "22.2.4",
|
|
388
|
+
ngImport: i0,
|
|
389
|
+
type: LtAiAdminService,
|
|
390
|
+
deps: [],
|
|
391
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
392
|
+
});
|
|
393
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
394
|
+
minVersion: "22.0.0",
|
|
395
|
+
version: "22.2.4",
|
|
396
|
+
ngImport: i0,
|
|
397
|
+
type: LtAiAdminService
|
|
398
|
+
});
|
|
399
|
+
};
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
401
|
+
minVersion: "12.0.0",
|
|
402
|
+
version: "22.2.4",
|
|
403
|
+
ngImport: i0,
|
|
404
|
+
type: LtAiAdminService,
|
|
405
|
+
decorators: [{ type: Service }]
|
|
406
|
+
});
|
|
407
|
+
var LtAiConnectionsService = class LtAiConnectionsService {
|
|
408
|
+
http = inject(LtAiHttpService);
|
|
409
|
+
calls = new LtAiCallState();
|
|
410
|
+
list = signal([], ...ngDevMode ? [{ debugName: "list" }] : /* istanbul ignore next */ []);
|
|
411
|
+
connections = this.list.asReadonly();
|
|
412
|
+
error = this.calls.error;
|
|
413
|
+
loading = this.calls.loading;
|
|
414
|
+
locked = computed(() => this.list().some((connection) => connection.locked), ...ngDevMode ? [{ debugName: "locked" }] : /* istanbul ignore next */ []);
|
|
415
|
+
selected = computed(() => this.list().find((connection) => connection.selected), ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
|
|
416
|
+
async load() {
|
|
417
|
+
await this.calls.runQuietly(async () => {
|
|
418
|
+
this.list.set(await this.http.request("GET", "/connections/available") ?? []);
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
async select(connectionId) {
|
|
422
|
+
await this.calls.run(async () => {
|
|
423
|
+
this.list.set(await this.http.request("POST", "/connections/select", { connectionId }) ?? []);
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
427
|
+
minVersion: "12.0.0",
|
|
428
|
+
version: "22.2.4",
|
|
429
|
+
ngImport: i0,
|
|
430
|
+
type: LtAiConnectionsService,
|
|
431
|
+
deps: [],
|
|
432
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
433
|
+
});
|
|
434
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
435
|
+
minVersion: "22.0.0",
|
|
436
|
+
version: "22.2.4",
|
|
437
|
+
ngImport: i0,
|
|
438
|
+
type: LtAiConnectionsService
|
|
439
|
+
});
|
|
440
|
+
};
|
|
441
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
442
|
+
minVersion: "12.0.0",
|
|
443
|
+
version: "22.2.4",
|
|
444
|
+
ngImport: i0,
|
|
445
|
+
type: LtAiConnectionsService,
|
|
446
|
+
decorators: [{ type: Service }]
|
|
447
|
+
});
|
|
448
|
+
var LtAiPlaceholdersService = class LtAiPlaceholdersService {
|
|
449
|
+
http = inject(LtAiHttpService);
|
|
450
|
+
calls = new LtAiCallState();
|
|
451
|
+
list = signal([], ...ngDevMode ? [{ debugName: "list" }] : /* istanbul ignore next */ []);
|
|
452
|
+
error = this.calls.error;
|
|
453
|
+
loading = this.calls.loading;
|
|
454
|
+
placeholders = this.list.asReadonly();
|
|
455
|
+
async load() {
|
|
456
|
+
try {
|
|
457
|
+
await this.calls.run(async () => {
|
|
458
|
+
this.list.set(await this.http.request("GET", "/placeholders") ?? []);
|
|
459
|
+
});
|
|
460
|
+
} catch {
|
|
461
|
+
this.list.set([]);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
465
|
+
minVersion: "12.0.0",
|
|
466
|
+
version: "22.2.4",
|
|
467
|
+
ngImport: i0,
|
|
468
|
+
type: LtAiPlaceholdersService,
|
|
469
|
+
deps: [],
|
|
470
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
471
|
+
});
|
|
472
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
473
|
+
minVersion: "22.0.0",
|
|
474
|
+
version: "22.2.4",
|
|
475
|
+
ngImport: i0,
|
|
476
|
+
type: LtAiPlaceholdersService
|
|
477
|
+
});
|
|
478
|
+
};
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
480
|
+
minVersion: "12.0.0",
|
|
481
|
+
version: "22.2.4",
|
|
482
|
+
ngImport: i0,
|
|
483
|
+
type: LtAiPlaceholdersService,
|
|
484
|
+
decorators: [{ type: Service }]
|
|
485
|
+
});
|
|
486
|
+
var LtAiPromptsService = class LtAiPromptsService {
|
|
487
|
+
http = inject(LtAiHttpService);
|
|
488
|
+
calls = new LtAiCallState();
|
|
489
|
+
list = signal([], ...ngDevMode ? [{ debugName: "list" }] : /* istanbul ignore next */ []);
|
|
490
|
+
loadSequence = 0;
|
|
491
|
+
includeDisabled = false;
|
|
492
|
+
error = this.calls.error;
|
|
493
|
+
loading = this.calls.loading;
|
|
494
|
+
prompts = this.list.asReadonly();
|
|
495
|
+
enabledPrompts = computed(() => this.list().filter((prompt) => prompt.enabled !== false), ...ngDevMode ? [{ debugName: "enabledPrompts" }] : /* istanbul ignore next */ []);
|
|
496
|
+
async load(options = {}) {
|
|
497
|
+
const sequence = ++this.loadSequence;
|
|
498
|
+
this.includeDisabled = options.includeDisabled === true;
|
|
499
|
+
const path = this.includeDisabled ? "/prompts?includeDisabled=true" : "/prompts";
|
|
500
|
+
try {
|
|
501
|
+
const prompts = await this.calls.run(() => this.http.request("GET", path));
|
|
502
|
+
if (sequence === this.loadSequence) this.list.set(prompts ?? []);
|
|
503
|
+
} catch {
|
|
504
|
+
if (sequence === this.loadSequence) this.list.set([]);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
async create(input) {
|
|
508
|
+
return this.mutate(() => this.http.request("POST", "/prompts", input));
|
|
509
|
+
}
|
|
510
|
+
async update(id, input) {
|
|
511
|
+
return this.mutate(() => this.http.request("PUT", `/prompts/${encodeURIComponent(id)}`, input));
|
|
512
|
+
}
|
|
513
|
+
async remove(id) {
|
|
514
|
+
return this.mutate(() => this.http.request("DELETE", `/prompts/${encodeURIComponent(id)}`));
|
|
515
|
+
}
|
|
516
|
+
async mutate(call) {
|
|
517
|
+
return this.calls.run(async () => {
|
|
518
|
+
const result = await call();
|
|
519
|
+
await this.load({ includeDisabled: this.includeDisabled });
|
|
520
|
+
return result;
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
524
|
+
minVersion: "12.0.0",
|
|
525
|
+
version: "22.2.4",
|
|
526
|
+
ngImport: i0,
|
|
527
|
+
type: LtAiPromptsService,
|
|
528
|
+
deps: [],
|
|
529
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
530
|
+
});
|
|
531
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
532
|
+
minVersion: "22.0.0",
|
|
533
|
+
version: "22.2.4",
|
|
534
|
+
ngImport: i0,
|
|
535
|
+
type: LtAiPromptsService
|
|
536
|
+
});
|
|
537
|
+
};
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
539
|
+
minVersion: "12.0.0",
|
|
540
|
+
version: "22.2.4",
|
|
541
|
+
ngImport: i0,
|
|
542
|
+
type: LtAiPromptsService,
|
|
543
|
+
decorators: [{ type: Service }]
|
|
544
|
+
});
|
|
545
|
+
var LtAiService = class LtAiService {
|
|
546
|
+
http = inject(LtAiHttpService);
|
|
547
|
+
calls = new LtAiCallState();
|
|
548
|
+
streams = signal(0, ...ngDevMode ? [{ debugName: "streams" }] : /* istanbul ignore next */ []);
|
|
549
|
+
error = this.calls.error;
|
|
550
|
+
loading = this.calls.loading;
|
|
551
|
+
streaming = computed(() => this.streams() > 0, ...ngDevMode ? [{ debugName: "streaming" }] : /* istanbul ignore next */ []);
|
|
552
|
+
async prompt(input) {
|
|
553
|
+
return this.calls.run(() => this.http.request("POST", "/prompt", input));
|
|
554
|
+
}
|
|
555
|
+
async promptStream(input, handlers, options = {}) {
|
|
556
|
+
this.streams.update((count) => count + 1);
|
|
557
|
+
this.calls.setError(null);
|
|
558
|
+
try {
|
|
559
|
+
return await runLtAiStream(this.http, input, {
|
|
560
|
+
...handlers,
|
|
561
|
+
onError: (message) => {
|
|
562
|
+
this.calls.setError(message);
|
|
563
|
+
handlers?.onError?.(message);
|
|
564
|
+
}
|
|
565
|
+
}, options);
|
|
566
|
+
} catch (error) {
|
|
567
|
+
if (!isLtAiAbortError(error)) this.calls.setError(ltAiErrorMessage(error));
|
|
568
|
+
throw error;
|
|
569
|
+
} finally {
|
|
570
|
+
this.streams.update((count) => Math.max(0, count - 1));
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
574
|
+
minVersion: "12.0.0",
|
|
575
|
+
version: "22.2.4",
|
|
576
|
+
ngImport: i0,
|
|
577
|
+
type: LtAiService,
|
|
578
|
+
deps: [],
|
|
579
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
580
|
+
});
|
|
581
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
582
|
+
minVersion: "22.0.0",
|
|
583
|
+
version: "22.2.4",
|
|
584
|
+
ngImport: i0,
|
|
585
|
+
type: LtAiService
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
589
|
+
minVersion: "12.0.0",
|
|
590
|
+
version: "22.2.4",
|
|
591
|
+
ngImport: i0,
|
|
592
|
+
type: LtAiService,
|
|
593
|
+
decorators: [{ type: Service }]
|
|
594
|
+
});
|
|
595
|
+
var LtAiSettingsService = class LtAiSettingsService {
|
|
596
|
+
http = inject(LtAiHttpService);
|
|
597
|
+
calls = new LtAiCallState();
|
|
598
|
+
current = signal(null, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
599
|
+
enforced = computed(() => this.current()?.mcpConfirmationEnforced === true, ...ngDevMode ? [{ debugName: "enforced" }] : /* istanbul ignore next */ []);
|
|
600
|
+
error = this.calls.error;
|
|
601
|
+
loading = this.calls.loading;
|
|
602
|
+
settings = this.current.asReadonly();
|
|
603
|
+
async load() {
|
|
604
|
+
await this.calls.runQuietly(async () => {
|
|
605
|
+
this.current.set(await this.http.request("GET", "/settings") ?? null);
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
async update(input) {
|
|
609
|
+
await this.calls.run(async () => {
|
|
610
|
+
this.current.set(await this.http.request("PUT", "/settings", input) ?? null);
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
614
|
+
minVersion: "12.0.0",
|
|
615
|
+
version: "22.2.4",
|
|
616
|
+
ngImport: i0,
|
|
617
|
+
type: LtAiSettingsService,
|
|
618
|
+
deps: [],
|
|
619
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
620
|
+
});
|
|
621
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
622
|
+
minVersion: "22.0.0",
|
|
623
|
+
version: "22.2.4",
|
|
624
|
+
ngImport: i0,
|
|
625
|
+
type: LtAiSettingsService
|
|
626
|
+
});
|
|
627
|
+
};
|
|
628
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
629
|
+
minVersion: "12.0.0",
|
|
630
|
+
version: "22.2.4",
|
|
631
|
+
ngImport: i0,
|
|
632
|
+
type: LtAiSettingsService,
|
|
633
|
+
decorators: [{ type: Service }]
|
|
634
|
+
});
|
|
635
|
+
const LT_AI_STATUS_STATE_KEY = makeStateKey("lt-ai-status");
|
|
636
|
+
const LT_AI_STATUS_TIMEOUT_MS = 5e3;
|
|
637
|
+
const INITIAL_STATUS = {
|
|
638
|
+
enabled: false,
|
|
639
|
+
error: null,
|
|
640
|
+
loaded: false,
|
|
641
|
+
mcp: false
|
|
642
|
+
};
|
|
643
|
+
var LtAiStatusService = class LtAiStatusService {
|
|
644
|
+
http = inject(LtAiHttpService);
|
|
645
|
+
transferState = inject(TransferState);
|
|
646
|
+
pendingTasks = inject(PendingTasks);
|
|
647
|
+
isServer = isPlatformServer(inject(PLATFORM_ID));
|
|
648
|
+
state = signal(this.readTransferred(), ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
|
|
649
|
+
inflight = null;
|
|
650
|
+
enabled = computed(() => this.state().enabled, ...ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []);
|
|
651
|
+
error = computed(() => this.state().error, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
652
|
+
loaded = computed(() => this.state().loaded, ...ngDevMode ? [{ debugName: "loaded" }] : /* istanbul ignore next */ []);
|
|
653
|
+
mcp = computed(() => this.state().mcp, ...ngDevMode ? [{ debugName: "mcp" }] : /* istanbul ignore next */ []);
|
|
654
|
+
load(options = {}) {
|
|
655
|
+
if (this.state().loaded && !options.force) return Promise.resolve();
|
|
656
|
+
if (this.inflight) return this.inflight;
|
|
657
|
+
const done = this.isServer ? this.pendingTasks.add() : void 0;
|
|
658
|
+
const request = this.fetchStatus().then((status) => {
|
|
659
|
+
this.state.set(status);
|
|
660
|
+
if (this.isServer) this.transferState.set(LT_AI_STATUS_STATE_KEY, status);
|
|
661
|
+
}).finally(() => {
|
|
662
|
+
this.inflight = null;
|
|
663
|
+
done?.();
|
|
664
|
+
});
|
|
665
|
+
this.inflight = request;
|
|
666
|
+
return request;
|
|
667
|
+
}
|
|
668
|
+
async fetchStatus() {
|
|
669
|
+
const failed = (error) => ({
|
|
670
|
+
enabled: false,
|
|
671
|
+
error,
|
|
672
|
+
loaded: true,
|
|
673
|
+
mcp: false
|
|
674
|
+
});
|
|
675
|
+
let response;
|
|
676
|
+
try {
|
|
677
|
+
response = await fetch(this.http.buildUrl("/status"), {
|
|
678
|
+
credentials: "omit",
|
|
679
|
+
headers: { accept: "application/json" },
|
|
680
|
+
signal: AbortSignal.timeout(LT_AI_STATUS_TIMEOUT_MS)
|
|
681
|
+
});
|
|
682
|
+
} catch (error) {
|
|
683
|
+
return failed(error?.name === "TimeoutError" ? "AI status request timed out" : "AI status request failed");
|
|
684
|
+
}
|
|
685
|
+
if (response.status === 404) return {
|
|
686
|
+
enabled: false,
|
|
687
|
+
error: null,
|
|
688
|
+
loaded: true,
|
|
689
|
+
mcp: false
|
|
690
|
+
};
|
|
691
|
+
if (!response.ok) return failed(`HTTP ${response.status}`);
|
|
692
|
+
try {
|
|
693
|
+
const body = await response.json();
|
|
694
|
+
if (typeof body?.mcp === "boolean") return {
|
|
695
|
+
enabled: true,
|
|
696
|
+
error: null,
|
|
697
|
+
loaded: true,
|
|
698
|
+
mcp: body.mcp
|
|
699
|
+
};
|
|
700
|
+
} catch {}
|
|
701
|
+
return failed("Unexpected AI status response");
|
|
702
|
+
}
|
|
703
|
+
readTransferred() {
|
|
704
|
+
const transferred = this.transferState.get(LT_AI_STATUS_STATE_KEY, null);
|
|
705
|
+
if (!transferred || transferred.loaded !== true) return INITIAL_STATUS;
|
|
706
|
+
return {
|
|
707
|
+
enabled: transferred.enabled === true,
|
|
708
|
+
error: typeof transferred.error === "string" ? transferred.error : null,
|
|
709
|
+
loaded: true,
|
|
710
|
+
mcp: transferred.enabled === true && transferred.mcp === true
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
714
|
+
minVersion: "12.0.0",
|
|
715
|
+
version: "22.2.4",
|
|
716
|
+
ngImport: i0,
|
|
717
|
+
type: LtAiStatusService,
|
|
718
|
+
deps: [],
|
|
719
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
720
|
+
});
|
|
721
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
722
|
+
minVersion: "22.0.0",
|
|
723
|
+
version: "22.2.4",
|
|
724
|
+
ngImport: i0,
|
|
725
|
+
type: LtAiStatusService
|
|
726
|
+
});
|
|
727
|
+
};
|
|
728
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
729
|
+
minVersion: "12.0.0",
|
|
730
|
+
version: "22.2.4",
|
|
731
|
+
ngImport: i0,
|
|
732
|
+
type: LtAiStatusService,
|
|
733
|
+
decorators: [{ type: Service }]
|
|
734
|
+
});
|
|
735
|
+
var LtAiUsageService = class LtAiUsageService {
|
|
736
|
+
http = inject(LtAiHttpService);
|
|
737
|
+
calls = new LtAiCallState();
|
|
738
|
+
current = signal(null, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
739
|
+
error = this.calls.error;
|
|
740
|
+
loading = this.calls.loading;
|
|
741
|
+
usage = this.current.asReadonly();
|
|
742
|
+
async load() {
|
|
743
|
+
await this.calls.runQuietly(async () => {
|
|
744
|
+
this.current.set(await this.http.request("GET", "/usage") ?? null);
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
748
|
+
minVersion: "12.0.0",
|
|
749
|
+
version: "22.2.4",
|
|
750
|
+
ngImport: i0,
|
|
751
|
+
type: LtAiUsageService,
|
|
752
|
+
deps: [],
|
|
753
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
754
|
+
});
|
|
755
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
756
|
+
minVersion: "22.0.0",
|
|
757
|
+
version: "22.2.4",
|
|
758
|
+
ngImport: i0,
|
|
759
|
+
type: LtAiUsageService
|
|
760
|
+
});
|
|
761
|
+
};
|
|
762
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
763
|
+
minVersion: "12.0.0",
|
|
764
|
+
version: "22.2.4",
|
|
765
|
+
ngImport: i0,
|
|
766
|
+
type: LtAiUsageService,
|
|
767
|
+
decorators: [{ type: Service }]
|
|
768
|
+
});
|
|
769
|
+
export { LT_AI_OPTIONS, LT_AI_SSE_MAX_LINE, LT_AI_STATUS_STATE_KEY, LT_AI_STATUS_TIMEOUT_MS, LtAiAdminService, LtAiConnectionsService, LtAiHttpService, LtAiPlaceholdersService, LtAiPromptsService, LtAiService, LtAiSettingsService, LtAiStatusService, LtAiUsageService, injectLtAiChat, ltAiResponseError, parseLtAiSseStream, provideLtAi };
|
|
770
|
+
|
|
771
|
+
//# sourceMappingURL=lenne.tech-ng-base-ai.mjs.map
|