@yuuvis/client-shell 2.20.0 → 3.0.0-beta.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{yuuvis-client-shell-dashboard.component-H2HguezA.mjs → yuuvis-client-shell-dashboard.component-BZUsO5MY.mjs} +4 -4
- package/fesm2022/{yuuvis-client-shell-dashboard.component-H2HguezA.mjs.map → yuuvis-client-shell-dashboard.component-BZUsO5MY.mjs.map} +1 -1
- package/fesm2022/{yuuvis-client-shell-settings.component-BdT6V3dh.mjs → yuuvis-client-shell-settings.component-CWJzbwdP.mjs} +21 -20
- package/fesm2022/yuuvis-client-shell-settings.component-CWJzbwdP.mjs.map +1 -0
- package/fesm2022/yuuvis-client-shell-widget-dashboard.mjs +5 -6
- package/fesm2022/yuuvis-client-shell-widget-dashboard.mjs.map +1 -1
- package/fesm2022/yuuvis-client-shell.mjs +89 -91
- package/fesm2022/yuuvis-client-shell.mjs.map +1 -1
- package/index.d.ts +155 -12
- package/package.json +7 -7
- package/widget-dashboard/index.d.ts +29 -4
- package/fesm2022/yuuvis-client-shell-settings.component-BdT6V3dh.mjs.map +0 -1
- package/lib/actions/manage-flavors/manage-flavors.action.d.ts +0 -17
- package/lib/actions/manage-flavors/manage-flavors.component.d.ts +0 -18
- package/lib/assets/i18n/ar.json +0 -38
- package/lib/client-shell.component.d.ts +0 -59
- package/lib/client-shell.module.d.ts +0 -7
- package/lib/components/app-header/app-header-slot.directive.d.ts +0 -10
- package/lib/components/app-header/app-header.component.d.ts +0 -14
- package/lib/components/shell-logo/shell-logo.component.d.ts +0 -5
- package/lib/components/sidebar-nav/sidebar-nav.component.d.ts +0 -35
- package/lib/dialog-tracking.d.ts +0 -11
- package/lib/directives/inert.directive.d.ts +0 -8
- package/lib/lib.routes.d.ts +0 -2
- package/lib/pages/dashboard/dashboard.component.d.ts +0 -5
- package/lib/pages/notifications/notifications.component.d.ts +0 -27
- package/lib/pages/settings/settings.component.d.ts +0 -37
- package/lib/pages/settings/settings.model.d.ts +0 -9
- package/lib/services/client-shell/client-shell.service.d.ts +0 -16
- package/lib/services/shell-action-buttons/provide.shell-action-buttons.d.ts +0 -3
- package/lib/services/shell-action-buttons/shell-action-buttons.interface.d.ts +0 -13
- package/lib/services/shell-widgets/shell-widgets.service.d.ts +0 -9
- package/widget-dashboard/lib/lib.routes.d.ts +0 -2
- package/widget-dashboard/lib/provide.widget-dashboard.d.ts +0 -3
- package/widget-dashboard/lib/widget-dashboard.component.d.ts +0 -12
- package/widget-dashboard/lib/widget-dashboard.interface.d.ts +0 -7
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, EnvironmentProviders } from '@angular/core';
|
|
3
|
+
import { WidgetGridWorkspaceConfig } from '@yuuvis/client-framework/widget-grid';
|
|
4
|
+
import { Route } from '@angular/router';
|
|
5
|
+
|
|
6
|
+
declare class WidgetDashboardPageComponent {
|
|
7
|
+
#private;
|
|
8
|
+
wsConfig: i0.WritableSignal<WidgetGridWorkspaceConfig | undefined>;
|
|
9
|
+
constructor();
|
|
10
|
+
onConfigChange(config: WidgetGridWorkspaceConfig | undefined): void;
|
|
11
|
+
onGridItemEvent(event: any): void;
|
|
12
|
+
onEditModeChange(editMode: boolean): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetDashboardPageComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetDashboardPageComponent, "yuv-widget-dashboard", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare const WIDGET_DASHBOARD_CONFIG: InjectionToken<unknown>;
|
|
18
|
+
interface WidgetDashboardConfig {
|
|
19
|
+
id: string;
|
|
20
|
+
buckets?: string[];
|
|
21
|
+
workspaces?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare const provideYuvWidgetDashboard: (config: WidgetDashboardConfig) => EnvironmentProviders;
|
|
25
|
+
|
|
26
|
+
declare const WidgetDashboardRoutes: Route[];
|
|
27
|
+
|
|
28
|
+
export { WIDGET_DASHBOARD_CONFIG, WidgetDashboardPageComponent, WidgetDashboardRoutes, provideYuvWidgetDashboard };
|
|
29
|
+
export type { WidgetDashboardConfig };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"yuuvis-client-shell-settings.component-BdT6V3dh.mjs","sources":["../../../../../libs/yuuvis/client-shell/src/lib/pages/settings/settings.component.ts","../../../../../libs/yuuvis/client-shell/src/lib/pages/settings/settings.component.html"],"sourcesContent":["import { Component, computed, effect, inject, OnInit, Signal, signal } from '@angular/core';\nimport { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';\nimport { ConfigService, TranslateModule, TranslateService, UserService, YuvConfigLanguages, YuvUser } from '@yuuvis/client-core';\n\nimport { CommonModule, DOCUMENT } from '@angular/common';\nimport { HttpClient } from '@angular/common/http';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonToggle, MatButtonToggleChange, MatButtonToggleGroup } from '@angular/material/button-toggle';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatTooltip } from '@angular/material/tooltip';\nimport { DEFAULT_THEME, DEFAULT_THEME_KEY, HIGH_CONTRAST_THEME_KEY, ThemeService } from '@yuuvis/client-framework/common';\nimport { ShellAppSettings, ShellService } from '@yuuvis/client-shell-core';\nimport { map } from 'rxjs';\nimport { AboutData } from './settings.model';\n\n@Component({\n selector: 'yuv-settings',\n standalone: true,\n imports: [\n CommonModule,\n TranslateModule,\n MatTooltip,\n MatSelectModule,\n ReactiveFormsModule,\n MatButtonToggleGroup,\n MatButtonToggle,\n MatExpansionModule,\n MatTableModule\n ],\n templateUrl: './settings.component.html',\n styleUrls: ['./settings.component.scss']\n})\nexport class SettingsPageComponent implements OnInit {\n private userService = inject(UserService);\n private config = inject(ConfigService);\n public translate = inject(TranslateService);\n private shell = inject(ShellService);\n readonly document = inject(DOCUMENT);\n readonly #themeService = inject(ThemeService);\n readonly #http = inject(HttpClient);\n\n protected readonly DEFAULT_THEME_KEY = DEFAULT_THEME_KEY;\n protected readonly HIGH_CONTRAST_THEME_KEY = HIGH_CONTRAST_THEME_KEY;\n protected readonly DEFAULT_THEME = DEFAULT_THEME;\n disableMode = this.#themeService.disableMode;\n customThemes = this.#themeService.customThemes;\n currentTheme = computed(() => {\n const ct = this.#themeService.customTheme();\n return ct ? ct.key : undefined;\n });\n\n clientLocales = signal<YuvConfigLanguages[]>([]);\n clientVersion = signal<string | undefined>(undefined);\n clientAboutData = signal<AboutData | undefined>(undefined);\n currentMode = this.#themeService.mode;\n\n user: Signal<YuvUser | undefined> = toSignal(this.userService.user$);\n appSettings = signal<(ShellAppSettings & { _label: string })[]>([]);\n #appSettings = this.shell.appSettings;\n #appSettingsEffect = effect(() => {\n const as = this.#appSettings();\n this.#mapAppSettings(as);\n });\n\n constructor() {\n this.translate.onLangChange.pipe(takeUntilDestroyed()).subscribe(() => {\n this.#mapAppSettings(this.appSettings());\n });\n }\n\n #mapAppSettings(as: ShellAppSettings[]) {\n this.appSettings.set(\n as.map((appSetting) => {\n const translatedLabel = this.translate.instant(appSetting.label);\n const label = translatedLabel && !translatedLabel.startsWith('!missing') ? translatedLabel : appSetting.label;\n return {\n ...appSetting,\n _label: label\n };\n })\n );\n }\n\n changeClientLocale(iso: string) {\n this.userService.changeClientLocale(iso);\n }\n\n changeMode({ value }: MatButtonToggleChange) {\n if (value && value !== this.currentMode()) {\n this.#themeService.toggleTheme(value);\n }\n }\n\n toggleDarkMode() {\n const root = document.getElementsByTagName('body')[0];\n root.classList.toggle('dark');\n }\n\n changeCustomTheme({ value }: MatButtonToggleChange) {\n this.#themeService.setCustomTheme(value);\n }\n\n ngOnInit(): void {\n this.clientVersion.set(this.document.body.getAttribute('data-version') ?? 'dev');\n\n this.clientLocales.set(this.config.getClientLocales());\n this.getAboutData();\n }\n\n getAboutData() {\n this.#http\n .get('assets/about.data.json')\n .pipe(\n map((response: AboutData) => ({\n ...response,\n libraries: response.libraries\n ? response.libraries.map((lib) => ({\n ...lib,\n ...(lib.license !== 'SEE LICENSE IN LICENSE' ? { link: `https://opensource.org/license/${lib.license}` } : {})\n }))\n : undefined\n }))\n )\n .subscribe({\n next: (response: AboutData) => this.clientAboutData.set(response),\n error: (error) => console.log({ error })\n });\n }\n}\n","<header>\n <h1>{{ 'yuv.shell.settings.title' | translate }}</h1>\n <span class=\"subhead\">{{ 'yuv.shell.settings.client.version' | translate }}: {{ clientVersion() }}</span>\n</header>\n\n<main>\n <div class=\"content-container\">\n <!-- User Info -->\n @let user = this.user();\n @if (user) {\n <section class=\"section user\">\n <h2 class=\"section__title\">{{ user.title }}</h2>\n <div class=\"section__body user__data grid\">\n <div class=\"user__data-entry grid-row\">\n <span class=\"user__data-entry-key grid-col grid-col-key\">\n {{ 'yuv.shell.settings.user.email' | translate }}:\n </span>\n <span class=\"user__data-entry-value grid-col grid-col-value\">\n {{ user.email }}\n </span>\n </div>\n <div class=\"user__data-entry grid-row\">\n <span class=\"user__data-entry-key grid-col grid-col-key\">\n {{ 'yuv.shell.settings.tenant' | translate }}:\n </span>\n <span class=\"user__data-entry-value grid-col grid-col-value\">\n {{ user.tenant }}\n </span>\n </div>\n\n <!--<div class=\"user__data\">{{ 'yuv.shell.settings.user.name' | translate }}: {{ user.username }}</div>\n <div class=\"user__data-entry\">{{ 'yuv.shell.settings.user.email' | translate }}: {{ user.email }}</div>\n <div class=\"user__data-entry\">{{ 'yuv.shell.settings.tenant' | translate }}: {{ user.tenant }}</div>-->\n </div>\n </section>\n }\n <!-- Language Settings -->\n <section yuvOfflineDisabled class=\"section\">\n <h2 class=\"section__title\">{{ 'yuv.shell.settings.language' | translate }}</h2>\n <div class=\"section__body\">\n <mat-button-toggle-group\n name=\"language\"\n [value]=\"translate.currentLang\"\n (valueChange)=\"changeClientLocale($event)\"\n [attr.aria-label]=\"'yuv.shell.settings.language' | translate\"\n >\n @for (locale of clientLocales(); track locale.iso) {\n <mat-button-toggle value=\"{{ locale.iso }}\">{{ locale.label }}</mat-button-toggle>\n }\n </mat-button-toggle-group>\n </div>\n </section>\n\n <!-- Mode -->\n @let currentThemeMode = currentMode();\n <section class=\"section\">\n <h2 class=\"section__title\">{{ 'yuv.shell.settings.mode' | translate }}</h2>\n <div class=\"section__body\">\n <mat-button-toggle-group\n name=\"mode\"\n [value]=\"currentThemeMode\"\n (change)=\"changeMode($event)\"\n [disabled]=\"disableMode()\"\n [attr.aria-label]=\"'yuv.shell.settings.mode' | translate\"\n >\n <mat-button-toggle value=\"light\">{{ 'yuv.shell.settings.mode.light' | translate }}</mat-button-toggle>\n <mat-button-toggle value=\"dark\">{{ 'yuv.shell.settings.mode.dark' | translate }}</mat-button-toggle>\n <mat-button-toggle value=\"system\">{{ 'yuv.shell.settings.mode.system' | translate }}</mat-button-toggle>\n </mat-button-toggle-group>\n </div>\n\n <p></p>\n <h2 class=\"section__title\">{{ 'yuv.shell.settings.custom.theme' | translate }}</h2>\n <div class=\"section__body\">\n <mat-button-toggle-group\n name=\"custom-theme\"\n [value]=\"currentTheme()\"\n (change)=\"changeCustomTheme($event)\"\n [attr.aria-label]=\"'yuv.shell.settings.custom.theme' | translate\"\n >\n <mat-button-toggle [value]=\"DEFAULT_THEME.key\" [matTooltip]=\"DEFAULT_THEME.description | translate\">\n {{ DEFAULT_THEME.label | translate }}\n </mat-button-toggle>\n @for (theme of customThemes(); track theme.key) {\n <mat-button-toggle [value]=\"theme.key\">{{ theme.label | translate }}</mat-button-toggle>\n }\n </mat-button-toggle-group>\n </div>\n </section>\n\n <!-- app settings -->\n @for (c of appSettings(); track $index) {\n <section class=\"section\">\n <h2 class=\"section__title\">{{ c._label }}</h2>\n <div class=\"section__body\">\n <ng-container *ngComponentOutlet=\"c.component\"></ng-container>\n </div>\n </section>\n }\n\n <!-- About Info -->\n @let libraries = this.clientAboutData()?.libraries;\n @if (libraries) {\n <section class=\"section about\">\n <h2 class=\"section__title\">{{ 'yuv.shell.settings.about.title' | translate }}</h2>\n <mat-expansion-panel class=\"about__panel\">\n <mat-expansion-panel-header>\n <mat-panel-title>{{ 'yuv.shell.settings.dependency-info.title' | translate }}</mat-panel-title>\n <!-- <mat-panel-description>{{ '' | translate }}</mat-panel-description>-->\n </mat-expansion-panel-header>\n\n <ng-template matExpansionPanelContent>\n <div class=\"about__panel-content\">\n <table mat-table [dataSource]=\"libraries\">\n <!-- Name Column -->\n <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef>\n {{ 'yuv.shell.settings.dependency-info.package' | translate }}\n </th>\n <td mat-cell *matCellDef=\"let element\">{{ element.name }}</td>\n </ng-container>\n\n <!-- Version Column -->\n <ng-container matColumnDef=\"version\">\n <th mat-header-cell *matHeaderCellDef>\n {{ 'yuv.shell.settings.dependency-info.version' | translate }}\n </th>\n <td mat-cell *matCellDef=\"let element\">{{ element.version }}</td>\n </ng-container>\n\n <!-- License Column -->\n <ng-container matColumnDef=\"license\">\n <th mat-header-cell *matHeaderCellDef>\n {{ 'yuv.shell.settings.dependency-info.license' | translate }}\n </th>\n <td mat-cell *matCellDef=\"let element\">\n @if (element.link) {\n <a href=\"{{ element.link }}\" target=\"_blank\">{{ element.license }}</a>\n } @else {\n {{ element.license }}\n }\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"['name', 'version', 'license']\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['name', 'version', 'license']\"></tr>\n </table>\n </div>\n </ng-template>\n </mat-expansion-panel>\n </section>\n }\n </div>\n</main>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;MAkCa,qBAAqB,CAAA;AAMvB,IAAA,aAAa;AACb,IAAA,KAAK;AAmBd,IAAA,YAAY;AACZ,IAAA,kBAAkB;AAKlB,IAAA,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CAAA,aAAA,EAAA,QAAA,EAAA,sCAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAKL,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAjBjC,SAAS;+BACE,cAAc,EAAA,UAAA,EACZ,IAAI,EAAA,OAAA,EACP;wBACP,YAAY;wBACZ,eAAe;wBACf,UAAU;wBACV,eAAe;wBACf,mBAAmB;wBACnB,oBAAoB;wBACpB,eAAe;wBACf,kBAAkB;wBAClB;AACD,qBAAA,EAAA,QAAA,EAAA,8oNAAA,EAAA,MAAA,EAAA,CAAA,u/BAAA,CAAA,EAAA;;;;;"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DmsObject } from '@yuuvis/client-core';
|
|
2
|
-
import { AbstractContextAction, Action, ActionSupport, SelectionRange } from '@yuuvis/client-framework/actions';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
export declare class ManageFlavorsAction extends AbstractContextAction implements Action {
|
|
5
|
-
#private;
|
|
6
|
-
private translate;
|
|
7
|
-
id: string;
|
|
8
|
-
label: any;
|
|
9
|
-
description: any;
|
|
10
|
-
priority: number;
|
|
11
|
-
icon: string;
|
|
12
|
-
group: string;
|
|
13
|
-
range: SelectionRange;
|
|
14
|
-
supports: ActionSupport;
|
|
15
|
-
isExecutable(items: DmsObject[]): Observable<boolean>;
|
|
16
|
-
run(items: DmsObject[]): Observable<boolean>;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DmsObject } from '@yuuvis/client-core';
|
|
3
|
-
import { ObjectFlavor } from '@yuuvis/client-shell-core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ManageFlavorsComponent implements OnInit {
|
|
6
|
-
#private;
|
|
7
|
-
item: DmsObject;
|
|
8
|
-
private translate;
|
|
9
|
-
busy: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
-
appliedFlavors: ObjectFlavor[];
|
|
11
|
-
applicableFlavors: ObjectFlavor[];
|
|
12
|
-
applyFlavor(flavor: ObjectFlavor): void;
|
|
13
|
-
removeFlavor(flavor: ObjectFlavor): void;
|
|
14
|
-
cancel(): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ManageFlavorsComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ManageFlavorsComponent, "yuv-manage-flavors", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
package/lib/assets/i18n/ar.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"yuv.object-flavor.flavor.remove.confirm.message": "هل أنت متأكد أنك تريد إزالة النوع '{{flavor}}'؟",
|
|
3
|
-
"yuv.shell.action.manage-flavor.description": "",
|
|
4
|
-
"yuv.shell.action.manage-flavor.label": "إدارة الأنواع",
|
|
5
|
-
"yuv.shell.action.manage-flavors.applicable.button.remove.tooltip": "إزالة النوع",
|
|
6
|
-
"yuv.shell.action.manage-flavors.applicable.headline": "الأنواع المتاحة",
|
|
7
|
-
"yuv.shell.action.manage-flavors.applied.button.apply.tooltip": "إضافة نوع",
|
|
8
|
-
"yuv.shell.action.manage-flavors.applied.headline": "الأنواع المستخدمة",
|
|
9
|
-
"yuv.shell.action.manage-flavors.button.cancel": "إلغاء",
|
|
10
|
-
"yuv.shell.action.manage-flavors.button.remove": "إزالة",
|
|
11
|
-
"yuv.shell.action.manage-flavors.text": "هذه هي الأنواع المستخدمة أو المتاحة للكائن الحالي.",
|
|
12
|
-
"yuv.shell.action.manage-flavors.title": "إدارة الأنواع",
|
|
13
|
-
"yuv.shell.cmd.app.open": "فتح '{{title}}'",
|
|
14
|
-
"yuv.shell.cmd.logout": "تسجيل الخروج",
|
|
15
|
-
"yuv.shell.cmd.open.settings": "فتح الإعدادات",
|
|
16
|
-
"yuv.shell.logo.aria.label": "yuuvis",
|
|
17
|
-
"yuv.shell.notifications.button.remove": "إزالة الإشعار",
|
|
18
|
-
"yuv.shell.notifications.button.remove.all": "إزالة الكل",
|
|
19
|
-
"yuv.shell.notifications.empty": "لا توجد إشعارات",
|
|
20
|
-
"yuv.shell.notifications.title": "الإشعارات",
|
|
21
|
-
"yuv.shell.settings.about.title": "حول",
|
|
22
|
-
"yuv.shell.settings.client.version": "إصدار العميل",
|
|
23
|
-
"yuv.shell.settings.custom.theme": "السمات",
|
|
24
|
-
"yuv.shell.settings.dependency-info.license": "الترخيص",
|
|
25
|
-
"yuv.shell.settings.dependency-info.package": "الحزمة",
|
|
26
|
-
"yuv.shell.settings.dependency-info.title": "ملاحظات الترخيص",
|
|
27
|
-
"yuv.shell.settings.dependency-info.version": "الإصدار",
|
|
28
|
-
"yuv.shell.settings.language": "اللغة",
|
|
29
|
-
"yuv.shell.settings.mode": "الوضع",
|
|
30
|
-
"yuv.shell.settings.mode.dark": "داكن",
|
|
31
|
-
"yuv.shell.settings.mode.light": "فاتح",
|
|
32
|
-
"yuv.shell.settings.mode.system": "النظام",
|
|
33
|
-
"yuv.shell.settings.tenant": "المستأجر",
|
|
34
|
-
"yuv.shell.settings.title": "الإعدادات",
|
|
35
|
-
"yuv.shell.settings.user.email": "البريد الإلكتروني",
|
|
36
|
-
"yuv.shell.side-nav.aria.label": "تنقل تطبيقات yuuvis",
|
|
37
|
-
"yuv.sort.tooltip": "فرز"
|
|
38
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { SafeHtmlPipe, YuvUser } from '@yuuvis/client-core';
|
|
3
|
-
import { App, ClientShellConfig } from '@yuuvis/client-shell-core';
|
|
4
|
-
import { ClientShellService } from './services/client-shell/client-shell.service';
|
|
5
|
-
import { ShellActionButton } from './services/shell-action-buttons/shell-action-buttons.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Base component for the client shell application. In your apps
|
|
9
|
-
* app.component.ts you can use this component as a base component
|
|
10
|
-
* to provide the shell functionality.
|
|
11
|
-
*
|
|
12
|
-
* ```typescript
|
|
13
|
-
* @Component({
|
|
14
|
-
* standalone: true,
|
|
15
|
-
* imports: [ClientShellComponent],
|
|
16
|
-
* selector: 'yuv-root',
|
|
17
|
-
* template: `<yuv-client-shell [apps]="apps" [config]="shellConfig"></yuv-client-shell>`,
|
|
18
|
-
* styleUrl: './app.component.scss'
|
|
19
|
-
* })
|
|
20
|
-
* export class AppComponent {
|
|
21
|
-
* #featureService = inject(FeatureService);
|
|
22
|
-
* apps: App[] = this.#featureService.getAvailableApps(app);
|
|
23
|
-
* }
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare class ClientShellComponent implements OnInit {
|
|
27
|
-
#private;
|
|
28
|
-
private router;
|
|
29
|
-
private auth;
|
|
30
|
-
private userService;
|
|
31
|
-
readonly css: ClientShellService;
|
|
32
|
-
safeHtmlPipe: SafeHtmlPipe;
|
|
33
|
-
showUploadOverlay: boolean;
|
|
34
|
-
busy$: import("rxjs").Observable<boolean>;
|
|
35
|
-
context?: string;
|
|
36
|
-
onDragOver(event: DragEvent): void;
|
|
37
|
-
apps: import("@angular/core").InputSignal<App[]>;
|
|
38
|
-
user?: YuvUser;
|
|
39
|
-
checkedForInitialRoute: boolean;
|
|
40
|
-
enableTenantSwitch: boolean;
|
|
41
|
-
smallScreenLayout: import("@angular/core").WritableSignal<boolean>;
|
|
42
|
-
config: import("@angular/core").InputSignal<ClientShellConfig | undefined>;
|
|
43
|
-
/**
|
|
44
|
-
* If set to true, the shell will adapt to small screen sizes (e.g. mobile phones).
|
|
45
|
-
* It also will propagate this setting to other components that might act aupon it.
|
|
46
|
-
* To do so, you can use the `DeviceService` and check for `smallScreenLayout` signal changes.
|
|
47
|
-
*/
|
|
48
|
-
supportsSmallScreens: import("@angular/core").InputSignal<boolean>;
|
|
49
|
-
constructor();
|
|
50
|
-
handleCustomActionButtonClick(button: ShellActionButton): void;
|
|
51
|
-
openNotifications(): void;
|
|
52
|
-
private _dragContainsFiles;
|
|
53
|
-
requestSubscription(): void;
|
|
54
|
-
private _processRouterNavigationEnd;
|
|
55
|
-
private routeWithBaseHref;
|
|
56
|
-
ngOnInit(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClientShellComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClientShellComponent, "yuv-client-shell", never, { "apps": { "alias": "apps"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "supportsSmallScreens": { "alias": "supportsSmallScreens"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
59
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/app-header/app-header-slot.directive";
|
|
3
|
-
export declare class YuvClientShellModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YuvClientShellModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<YuvClientShellModule, never, [typeof i1.YuvAppHeaderSlotDirective], [typeof i1.YuvAppHeaderSlotDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<YuvClientShellModule>;
|
|
7
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type AppHeaderSlot = 'actions' | 'search' | 'notifications';
|
|
4
|
-
export declare class YuvAppHeaderSlotDirective implements OnInit {
|
|
5
|
-
#private;
|
|
6
|
-
yuvAppHeaderSlot: import("@angular/core").InputSignal<AppHeaderSlot>;
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YuvAppHeaderSlotDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<YuvAppHeaderSlotDirective, "ng-template[yuvAppHeaderSlot]", never, { "yuvAppHeaderSlot": { "alias": "yuvAppHeaderSlot"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class YuvAppHeaderComponent {
|
|
4
|
-
#private;
|
|
5
|
-
actionsSlot: TemplateRef<any> | null;
|
|
6
|
-
searchSlot: TemplateRef<any> | null;
|
|
7
|
-
notificationsSlot: TemplateRef<any> | null;
|
|
8
|
-
app: import("@angular/core").WritableSignal<import("@yuuvis/client-shell-core").App | undefined>;
|
|
9
|
-
smallScreenLayout: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
-
busy$: import("rxjs").Observable<boolean>;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YuvAppHeaderComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YuvAppHeaderComponent, "yuv-app-header", never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ShellLogoComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShellLogoComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellLogoComponent, "yuv-shell-logo", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { OnInit, Signal } from '@angular/core';
|
|
2
|
-
import { SafeHtmlPipe } from '@yuuvis/client-core';
|
|
3
|
-
import { App, CommandPaletteService, ShellNotificationLevel } from '@yuuvis/client-shell-core';
|
|
4
|
-
import { OverflowMenuItem } from '@yuuvis/client-framework/overflow-menu';
|
|
5
|
-
import { ClientShellService } from '../../services/client-shell/client-shell.service';
|
|
6
|
-
import { ShellActionButton } from '../../services/shell-action-buttons/shell-action-buttons.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SidebarNavComponent implements OnInit {
|
|
9
|
-
#private;
|
|
10
|
-
readonly css: ClientShellService;
|
|
11
|
-
customActionButtons: ShellActionButton[] | null;
|
|
12
|
-
safeHtmlPipe: SafeHtmlPipe;
|
|
13
|
-
commandPalette: CommandPaletteService;
|
|
14
|
-
private readonly translate;
|
|
15
|
-
private APP_LOGOUT_EVENT_KEY;
|
|
16
|
-
private _levels;
|
|
17
|
-
smallScreenLayout: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
-
showNotifications: Signal<boolean>;
|
|
19
|
-
app: import("@angular/core").WritableSignal<App | undefined>;
|
|
20
|
-
newNotifications: Signal<{
|
|
21
|
-
count: number;
|
|
22
|
-
maxLevel: ShellNotificationLevel;
|
|
23
|
-
} | undefined>;
|
|
24
|
-
navApps: Signal<App[]>;
|
|
25
|
-
navMenuItems: Signal<OverflowMenuItem[]>;
|
|
26
|
-
registerIcons: Signal<boolean>;
|
|
27
|
-
constructor();
|
|
28
|
-
getAppTitle(a: App): string;
|
|
29
|
-
handleCustomActionButtonClick(button: ShellActionButton): void;
|
|
30
|
-
appLogout(triggeredFromOtherTab?: boolean): void;
|
|
31
|
-
private _setCommands;
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarNavComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarNavComponent, "yuv-sidebar-nav", never, {}, {}, never, never, true, never>;
|
|
35
|
-
}
|
package/lib/dialog-tracking.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This component will be rendered in an invisible auxillary route and is used to track
|
|
5
|
-
* open dialogs.
|
|
6
|
-
*/
|
|
7
|
-
export declare class DialogTrackingComponent {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTrackingComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogTrackingComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
11
|
-
export declare const closeDialogGuard: (component: DialogTrackingComponent, currentRoute: ActivatedRouteSnapshot, nextState: RouterStateSnapshot) => boolean;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class InertDirective {
|
|
3
|
-
private elRef;
|
|
4
|
-
inert: import("@angular/core").InputSignal<boolean>;
|
|
5
|
-
constructor();
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InertDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InertDirective, "[inert]", never, { "inert": { "alias": "inert"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
package/lib/lib.routes.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DashboardPageComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardPageComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardPageComponent, "yuv-dashboard", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NotificationsPageComponent implements OnInit {
|
|
4
|
-
private router;
|
|
5
|
-
private shellNotifications;
|
|
6
|
-
private elRef;
|
|
7
|
-
private _focusedIndex;
|
|
8
|
-
private _notificationIDs;
|
|
9
|
-
notifications: import("@angular/core").Signal<(import("@yuuvis/client-shell-core").ShellNotification & {
|
|
10
|
-
id: string;
|
|
11
|
-
timestamp: number;
|
|
12
|
-
seen: boolean;
|
|
13
|
-
})[] | undefined>;
|
|
14
|
-
notificationsIdEffect: import("@angular/core").EffectRef;
|
|
15
|
-
icons: {
|
|
16
|
-
note: any;
|
|
17
|
-
};
|
|
18
|
-
onKeydown(event: KeyboardEvent): void;
|
|
19
|
-
itemSelected(idx: number[]): Promise<void>;
|
|
20
|
-
itemFocused(index: number): void;
|
|
21
|
-
remove(id: string): void;
|
|
22
|
-
removeAll(): void;
|
|
23
|
-
close(): Promise<boolean>;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPageComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "yuv-notifications", never, {}, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { OnInit, Signal } from '@angular/core';
|
|
2
|
-
import { TranslateService, YuvConfigLanguages, YuvUser } from '@yuuvis/client-core';
|
|
3
|
-
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
4
|
-
import { ShellAppSettings } from '@yuuvis/client-shell-core';
|
|
5
|
-
import { AboutData } from './settings.model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SettingsPageComponent implements OnInit {
|
|
8
|
-
#private;
|
|
9
|
-
private userService;
|
|
10
|
-
private config;
|
|
11
|
-
translate: TranslateService;
|
|
12
|
-
private shell;
|
|
13
|
-
readonly document: Document;
|
|
14
|
-
protected readonly DEFAULT_THEME_KEY = "yuv-default";
|
|
15
|
-
protected readonly HIGH_CONTRAST_THEME_KEY = "yuv-high-contrast";
|
|
16
|
-
protected readonly DEFAULT_THEME: import("@yuuvis/client-framework/common").CustomThemeSettings;
|
|
17
|
-
disableMode: Signal<boolean>;
|
|
18
|
-
customThemes: Signal<import("@yuuvis/client-framework/common").CustomThemeSettings[]>;
|
|
19
|
-
currentTheme: Signal<string | undefined>;
|
|
20
|
-
clientLocales: import("@angular/core").WritableSignal<YuvConfigLanguages[]>;
|
|
21
|
-
clientVersion: import("@angular/core").WritableSignal<string | undefined>;
|
|
22
|
-
clientAboutData: import("@angular/core").WritableSignal<AboutData | undefined>;
|
|
23
|
-
currentMode: Signal<import("@yuuvis/client-framework/common").Mode>;
|
|
24
|
-
user: Signal<YuvUser | undefined>;
|
|
25
|
-
appSettings: import("@angular/core").WritableSignal<(ShellAppSettings & {
|
|
26
|
-
_label: string;
|
|
27
|
-
})[]>;
|
|
28
|
-
constructor();
|
|
29
|
-
changeClientLocale(iso: string): void;
|
|
30
|
-
changeMode({ value }: MatButtonToggleChange): void;
|
|
31
|
-
toggleDarkMode(): void;
|
|
32
|
-
changeCustomTheme({ value }: MatButtonToggleChange): void;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
getAboutData(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsPageComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsPageComponent, "yuv-settings", never, {}, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { App } from '@yuuvis/client-shell-core';
|
|
3
|
-
import { AppHeaderSlot } from '../../components/app-header/app-header-slot.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ClientShellService {
|
|
6
|
-
#private;
|
|
7
|
-
appHeaderSlots: import("@angular/core").WritableSignal<Record<string, TemplateRef<any>>>;
|
|
8
|
-
apps: import("@angular/core").WritableSignal<App[]>;
|
|
9
|
-
currentApp: import("@angular/core").WritableSignal<App | undefined>;
|
|
10
|
-
appHeader: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
-
constructor();
|
|
12
|
-
addAppHeaderSlot(slot: AppHeaderSlot, tpl: TemplateRef<any>): void;
|
|
13
|
-
getCssVars(vars: string[]): Record<string, unknown>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClientShellService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ClientShellService>;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Router } from "@angular/router";
|
|
3
|
-
import { ConfigService } from "@yuuvis/client-core";
|
|
4
|
-
export declare const SHELL_ACTION_BUTTONS_CONFIG: InjectionToken<ShellActionButton[]>;
|
|
5
|
-
export interface ShellActionButton {
|
|
6
|
-
iconName: string;
|
|
7
|
-
onClick: (api: ShellActionButtonConfigAPI) => void;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ShellActionButtonConfigAPI {
|
|
11
|
-
router: Router;
|
|
12
|
-
config: ConfigService;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GridWidget } from '@yuuvis/client-framework/widget-grid';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ShellWidgetsService {
|
|
4
|
-
#private;
|
|
5
|
-
exposeShellWidgets(widgets: GridWidget<any>[]): void;
|
|
6
|
-
concealShellWidgets(ids: string[]): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShellWidgetsService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ShellWidgetsService>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { WidgetGridWorkspaceConfig } from '@yuuvis/client-framework/widget-grid';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WidgetDashboardPageComponent {
|
|
4
|
-
#private;
|
|
5
|
-
wsConfig: import("@angular/core").WritableSignal<WidgetGridWorkspaceConfig | undefined>;
|
|
6
|
-
constructor();
|
|
7
|
-
onConfigChange(config: WidgetGridWorkspaceConfig | undefined): void;
|
|
8
|
-
onGridItemEvent(event: any): void;
|
|
9
|
-
onEditModeChange(editMode: boolean): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetDashboardPageComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetDashboardPageComponent, "yuv-widget-dashboard", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|