@koalarx/ui
Version:
Koala UI is a modern and accessible component library designed to speed up interface development in Angular projects. With simple integration and clear documentation, you can easily build robust and visually appealing applications.
51 lines (46 loc) • 1.33 kB
JavaScript
import { signal } from '@angular/core';
import { en } from '@koalarx/ui/core/translations';
const GENERIC_COMPONENT_CONTAINER_NAME = '.kl-generic-component-container';
const CURRENT_THEME = signal(null, ...(ngDevMode ? [{ debugName: "CURRENT_THEME" }] : []));
class AppConfig {
_hostApi;
_language;
_translation;
_httpClientErrorsMiddleware;
_authConfig;
set hostApi(hostApi) {
this._hostApi = hostApi;
}
get hostApi() {
return this._hostApi;
}
set language(language) {
this._language = language;
}
get language() {
return this._language;
}
set translation(translation) {
this._translation = translation;
}
get translation() {
return this._translation ?? en;
}
set httpClientErrorsMiddleware(httpClientErrorsMiddleware) {
this._httpClientErrorsMiddleware = httpClientErrorsMiddleware;
}
get httpClientErrorsMiddleware() {
return this._httpClientErrorsMiddleware;
}
set authConfig(authConfig) {
this._authConfig = authConfig;
}
get authConfig() {
return this._authConfig;
}
}
/**
* Generated bundle index. Do not edit.
*/
export { AppConfig, CURRENT_THEME, GENERIC_COMPONENT_CONTAINER_NAME };
//# sourceMappingURL=koalarx-ui-core-config.mjs.map