@cuby-ui/core 0.0.367 → 0.0.368
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 +21 -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 +28 -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 +96 -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 +9 -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 +12 -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.368",
|
|
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.368",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.368",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.368",
|
|
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,9 @@
|
|
|
1
|
+
import { CuiUserCompanyActivity } from "@cuby-ui/api";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiActivityItemComponent {
|
|
4
|
+
readonly isSelected: import("@angular/core").Signal<boolean>;
|
|
5
|
+
readonly currentActivityId: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly activity: import("@angular/core").InputSignal<CuiUserCompanyActivity>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActivityItemComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiActivityItemComponent, "cui-activity-item", never, { "currentActivityId": { "alias": "currentActivityId"; "required": true; "isSignal": true; }; "activity": { "alias": "activity"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './activity-item.component';
|
|
@@ -0,0 +1,12 @@
|
|
|
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 userCompanyApiService;
|
|
6
|
+
private readonly companiesSignal;
|
|
7
|
+
readonly companies: import("@angular/core").Signal<CuiUserCompany[]>;
|
|
8
|
+
initActivityData(): void;
|
|
9
|
+
checkIsCurrentActivity(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActivityImplService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuiActivityImplService>;
|
|
12
|
+
}
|
|
@@ -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 activityId: 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, 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(): void;
|
|
10
|
+
}
|