@cuby-ui/core 0.0.367 → 0.0.369
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/esm2022/components/input-text/input-text.module.mjs +4 -4
- package/esm2022/widgets/index.mjs +2 -1
- package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +41 -0
- package/esm2022/widgets/user-action-context-menu/activity-item/index.mjs +2 -0
- package/esm2022/widgets/user-action-context-menu/index.mjs +4 -0
- package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +32 -0
- package/esm2022/widgets/user-action-context-menu/services/index.mjs +2 -0
- package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +61 -0
- package/esm2022/widgets/user-action-context-menu/user-action-context.option.mjs +3 -0
- package/fesm2022/cuby-ui-core.mjs +115 -3
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
- package/widgets/index.d.ts +1 -0
- package/widgets/user-action-context-menu/activity-item/activity-item.component.d.ts +14 -0
- package/widgets/user-action-context-menu/activity-item/index.d.ts +1 -0
- package/widgets/user-action-context-menu/index.d.ts +3 -0
- package/widgets/user-action-context-menu/services/activity.service.d.ts +15 -0
- package/widgets/user-action-context-menu/services/index.d.ts +1 -0
- package/widgets/user-action-context-menu/user-action-context-menu.component.d.ts +25 -0
- package/widgets/user-action-context-menu/user-action-context.option.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.369",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"@angular/elements": ">=18.0.0",
|
|
8
8
|
"@angular/forms": ">=18.0.0",
|
|
9
|
-
"@cuby-ui/api": "^0.0.
|
|
10
|
-
"@cuby-ui/cdk": "^0.0.
|
|
11
|
-
"@cuby-ui/icons": "^0.0.
|
|
9
|
+
"@cuby-ui/api": "^0.0.369",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.369",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.369",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
package/widgets/index.d.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CuiUserCompanyActivity } from "@cuby-ui/api";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiActivityItemComponent {
|
|
4
|
+
private readonly cuiWindow;
|
|
5
|
+
private readonly destroy;
|
|
6
|
+
private readonly cuiAuthService;
|
|
7
|
+
private readonly cuiActivityService;
|
|
8
|
+
protected readonly isSelected: import("@angular/core").Signal<boolean>;
|
|
9
|
+
readonly activity: import("@angular/core").InputSignal<CuiUserCompanyActivity>;
|
|
10
|
+
readonly companyId: import("@angular/core").InputSignal<string>;
|
|
11
|
+
protected onGoToActivity(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActivityItemComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiActivityItemComponent, "cui-activity-item", never, { "activity": { "alias": "activity"; "required": true; "isSignal": true; }; "companyId": { "alias": "companyId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './activity-item.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CuiUserCompany } from '@cuby-ui/api';
|
|
2
|
+
import type { CuiActivityService } from '../user-action-context.option';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiActivityImplService implements CuiActivityService {
|
|
5
|
+
private readonly cuiAuthService;
|
|
6
|
+
private readonly userCompanyApiService;
|
|
7
|
+
private readonly companiesSignal;
|
|
8
|
+
private readonly authData;
|
|
9
|
+
private readonly currentActivityId;
|
|
10
|
+
readonly companies: import("@angular/core").Signal<CuiUserCompany[]>;
|
|
11
|
+
initActivityData(): void;
|
|
12
|
+
checkIsCurrentActivity(activityId: string): boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActivityImplService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuiActivityImplService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CuiActivityImplService } from './activity.service';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LangDefinition } from '@jsverse/transloco';
|
|
2
|
+
import type { CuiTheme } from '../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiUserActionContextMenuComponent {
|
|
5
|
+
private readonly translocoService;
|
|
6
|
+
private readonly cuiThemeService;
|
|
7
|
+
private readonly cuiAuthService;
|
|
8
|
+
private readonly cuiActivityService;
|
|
9
|
+
private readonly authData;
|
|
10
|
+
protected readonly langs: import("@jsverse/transloco").AvailableLangs;
|
|
11
|
+
protected readonly email: string;
|
|
12
|
+
protected readonly fullName: string;
|
|
13
|
+
protected readonly companyId: string;
|
|
14
|
+
protected readonly theme$: import("rxjs").Observable<CuiTheme>;
|
|
15
|
+
protected readonly lang$: import("rxjs").Observable<string>;
|
|
16
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
protected readonly companies: import("@angular/core").Signal<import("@cuby-ui/api").CuiUserCompany[]>;
|
|
18
|
+
constructor();
|
|
19
|
+
protected onLogout(): void;
|
|
20
|
+
protected onToggleOpenState(open: boolean): void;
|
|
21
|
+
protected onChangeTheme(theme: CuiTheme): void;
|
|
22
|
+
protected onChangeLang(lang: string | LangDefinition): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiUserActionContextMenuComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUserActionContextMenuComponent, "cui-user-action-context-menu", never, {}, {}, never, ["*"], true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
2
|
+
import { CuiUserCompany } from '@cuby-ui/api';
|
|
3
|
+
export declare const CUI_ACTIVITY_SERVICE_TOKEN: InjectionToken<CuiActivityService>;
|
|
4
|
+
export interface CuiActivityData {
|
|
5
|
+
readonly companies: Signal<CuiUserCompany[]>;
|
|
6
|
+
}
|
|
7
|
+
export interface CuiActivityService extends CuiActivityData {
|
|
8
|
+
initActivityData(): void;
|
|
9
|
+
checkIsCurrentActivity(activityId: string): boolean;
|
|
10
|
+
}
|