@cuby-ui/core 0.0.417 → 0.0.419
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/badge/badge.options.mjs +1 -1
- package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +8 -10
- package/esm2022/widgets/user-action-context-menu/company-item/company-item.component.mjs +7 -7
- package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +6 -6
- package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +4 -8
- package/fesm2022/cuby-ui-core.mjs +12 -18
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
- package/styles/theme.scss +1 -1
- package/styles/variables/colors.scss +1 -1
- package/widgets/user-action-context-menu/activity-item/activity-item.component.d.ts +2 -5
- package/widgets/user-action-context-menu/services/activity.service.d.ts +2 -2
- package/widgets/user-action-context-menu/user-action-context-menu.component.d.ts +1 -4
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.419",
|
|
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.419",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.419",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.419",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
package/styles/theme.scss
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { CuiUserCompanyActivity } from '@cuby-ui/api';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiActivityItemComponent
|
|
3
|
+
export declare class CuiActivityItemComponent {
|
|
5
4
|
private readonly transloco;
|
|
6
5
|
private readonly cuiWindow;
|
|
7
6
|
private readonly destroy;
|
|
8
7
|
private readonly cuiAuthService;
|
|
9
8
|
private readonly cuiActivityService;
|
|
10
|
-
readonly activitySelected: import("@angular/core").OutputEmitterRef<CuiUserCompanyActivity>;
|
|
11
9
|
protected readonly isSelected: import("@angular/core").Signal<boolean>;
|
|
12
10
|
protected readonly letterBackgroundColor: import("@angular/core").Signal<"var(--cui-light-blue-500)" | "var(--cui-orange-500)">;
|
|
13
11
|
readonly activity: import("@angular/core").InputSignal<CuiUserCompanyActivity>;
|
|
14
12
|
readonly companyId: import("@angular/core").InputSignal<string>;
|
|
15
13
|
protected readonly typeCompany: import("@angular/core").Signal<string>;
|
|
16
|
-
ngOnInit(): void;
|
|
17
14
|
protected onGoToActivity(): void;
|
|
18
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActivityItemComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiActivityItemComponent, "cui-activity-item", never, { "activity": { "alias": "activity"; "required": true; "isSignal": true; }; "companyId": { "alias": "companyId"; "required": true; "isSignal": true; }; }, {
|
|
16
|
+
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>;
|
|
20
17
|
}
|
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class CuiActivityImplService extends CuiActivityBaseService implements CuiActivityService {
|
|
5
5
|
private readonly cuiAuthService;
|
|
6
6
|
private readonly authData;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
readonly currentActivity: import("@angular/core").Signal<import("@cuby-ui/api").CuiUserCompanyActivity | undefined>;
|
|
8
|
+
readonly currentCompany: import("@angular/core").Signal<import("@cuby-ui/api").CuiUserCompany | undefined>;
|
|
9
9
|
private isCheckActivity;
|
|
10
10
|
checkIsCurrentActivity(activityId: string): boolean;
|
|
11
11
|
checkIsCurrentCompany(companyId: string): boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LangDefinition } from '@jsverse/transloco';
|
|
2
|
-
import { CuiUserCompanyActivity } from '@cuby-ui/api';
|
|
3
2
|
import type { CuiTheme } from '../../services';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CuiUserActionContextMenuComponent {
|
|
@@ -16,14 +15,12 @@ export declare class CuiUserActionContextMenuComponent {
|
|
|
16
15
|
protected readonly lang$: import("rxjs").Observable<string>;
|
|
17
16
|
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
18
17
|
protected readonly companies: import("@angular/core").Signal<import("@cuby-ui/api").CuiUserCompany[]>;
|
|
19
|
-
readonly activitySelected: import("@angular/core").OutputEmitterRef<CuiUserCompanyActivity>;
|
|
20
18
|
constructor();
|
|
21
19
|
protected onLogout(): void;
|
|
22
20
|
protected onToggleOpenState(open: boolean): void;
|
|
23
21
|
protected onGoToPlatform(): void;
|
|
24
22
|
protected onChangeTheme(theme: CuiTheme): void;
|
|
25
23
|
protected onChangeLang(lang: string | LangDefinition): void;
|
|
26
|
-
onActivitySelected($event: CuiUserCompanyActivity): void;
|
|
27
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiUserActionContextMenuComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUserActionContextMenuComponent, "cui-user-action-context-menu", never, {}, {
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiUserActionContextMenuComponent, "cui-user-action-context-menu", never, {}, {}, never, ["*"], true, never>;
|
|
29
26
|
}
|