@cuby-ui/core 0.0.409 → 0.0.412
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.component.mjs +2 -2
- package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +5 -6
- package/esm2022/widgets/user-action-context-menu/company-item/company-item.component.mjs +15 -7
- package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +7 -2
- package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +3 -3
- package/fesm2022/cuby-ui-core.mjs +28 -14
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
- package/widgets/user-action-context-menu/company-item/company-item.component.d.ts +6 -3
- package/widgets/user-action-context-menu/services/activity.service.d.ts +1 -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.412",
|
|
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.412",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.412",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.412",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { CuiUserCompany } from '@cuby-ui/api';
|
|
2
|
-
import { LinkConfig } from '../user-action-context.option';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class CompanyItemComponent {
|
|
5
4
|
private readonly cuiWindow;
|
|
6
5
|
private readonly cuiAuthService;
|
|
7
6
|
private readonly cuiActivityCompanyService;
|
|
7
|
+
private readonly COMPANY;
|
|
8
8
|
protected readonly isSelected: import("@angular/core").Signal<boolean>;
|
|
9
|
+
protected readonly urlCompanyTemplate: import("@angular/core").Signal<{
|
|
10
|
+
userLink: string;
|
|
11
|
+
adminLink: string;
|
|
12
|
+
}>;
|
|
9
13
|
readonly company: import("@angular/core").InputSignal<CuiUserCompany>;
|
|
10
|
-
readonly urlTemplatesForRedirectToCompany: import("@angular/core").InputSignal<LinkConfig>;
|
|
11
14
|
readonly selected: import("@angular/core").InputSignal<boolean>;
|
|
12
15
|
getRoles(): string[];
|
|
13
16
|
checkIsAdmin(): boolean;
|
|
14
17
|
protected onGoToCompany(): void;
|
|
15
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CompanyItemComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CompanyItemComponent, "cui-company-item", never, { "company": { "alias": "company"; "required": true; "isSignal": true; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompanyItemComponent, "cui-company-item", never, { "company": { "alias": "company"; "required": true; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
20
|
}
|
|
@@ -6,6 +6,7 @@ export declare class CuiActivityImplService extends CuiActivityBaseService imple
|
|
|
6
6
|
private readonly authData;
|
|
7
7
|
private readonly currentActivityId;
|
|
8
8
|
private readonly currentCompanyId;
|
|
9
|
+
private readonly isCheckActivity;
|
|
9
10
|
checkIsCurrentActivity(activityId: string): boolean;
|
|
10
11
|
checkIsCurrentCompany(companyId: string): boolean;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActivityImplService, never>;
|