@cuby-ui/core 0.0.430 → 0.0.432
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/widgets/categories/categories.component.mjs +6 -5
- package/esm2022/widgets/categories/components/categories-list/categories-list.component.mjs +4 -3
- package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +8 -6
- package/esm2022/widgets/criterion-info/criterion-info.component.mjs +2 -2
- package/esm2022/widgets/instruction-info/instruction-info.component.mjs +2 -2
- package/fesm2022/cuby-ui-core.mjs +17 -13
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
- package/widgets/categories/categories.component.d.ts +3 -2
- package/widgets/categories/components/categories-list/categories-list.component.d.ts +3 -2
- package/widgets/categories/components/category-item/category-item.component.d.ts +4 -3
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.432",
|
|
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.432",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.432",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.432",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
2
|
-
import { TreeStruct, TreeStructType } from '@cuby-ui/api';
|
|
2
|
+
import { CuiApiContext, TreeStruct, TreeStructType } from '@cuby-ui/api';
|
|
3
3
|
import { CuiDropdownDirective } from '../../components';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CuiCategoriesComponent {
|
|
@@ -13,6 +13,7 @@ export declare class CuiCategoriesComponent {
|
|
|
13
13
|
readonly treeStructType: import("@angular/core").InputSignal<TreeStructType>;
|
|
14
14
|
readonly buttonId: import("@angular/core").InputSignal<string | undefined>;
|
|
15
15
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
readonly context: import("@angular/core").InputSignal<CuiApiContext | undefined>;
|
|
16
17
|
constructor();
|
|
17
18
|
protected onOpenStageStorages(): void;
|
|
18
19
|
protected onStartCreatingNewCategory(): void;
|
|
@@ -20,5 +21,5 @@ export declare class CuiCategoriesComponent {
|
|
|
20
21
|
protected onCreatingCategoryCanceled(): void;
|
|
21
22
|
private initSelectCategoryEffect;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCategoriesComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCategoriesComponent, "cui-categories", never, { "treeStructType": { "alias": "treeStructType"; "required": true; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCategoriesComponent, "cui-categories", never, { "treeStructType": { "alias": "treeStructType"; "required": true; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
24
25
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { TreeStruct } from '@cuby-ui/api';
|
|
1
|
+
import { CuiApiContext, TreeStruct } from '@cuby-ui/api';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CuiCategoriesListComponent {
|
|
4
4
|
readonly stageStorages: import("@angular/core").InputSignal<TreeStruct<import("@cuby-ui/api").Job<import("@cuby-ui/api").JobContentStructureType>>[]>;
|
|
5
|
+
readonly context: import("@angular/core").InputSignal<CuiApiContext | undefined>;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCategoriesListComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCategoriesListComponent, "cui-categories-list", never, { "stageStorages": { "alias": "stageStorages"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCategoriesListComponent, "cui-categories-list", never, { "stageStorages": { "alias": "stageStorages"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeStruct } from '@cuby-ui/api';
|
|
1
|
+
import { CuiApiContext, TreeStruct } from '@cuby-ui/api';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CuiCategoryItemComponent {
|
|
4
4
|
private readonly treeStructNavigatorApiService;
|
|
@@ -15,7 +15,6 @@ export declare class CuiCategoryItemComponent {
|
|
|
15
15
|
protected readonly alignItems: import("@angular/core").Signal<"center" | "flex-start">;
|
|
16
16
|
protected readonly isTitleEdit: import("@angular/core").Signal<boolean>;
|
|
17
17
|
protected readonly isCreateCategoryControlVisible: import("@angular/core").Signal<boolean>;
|
|
18
|
-
readonly stageStorage: import("@angular/core").InputSignal<TreeStruct<import("@cuby-ui/api").Job<import("@cuby-ui/api").JobContentStructureType>>>;
|
|
19
18
|
readonly categoryTitle: import("@angular/core").WritableSignal<string>;
|
|
20
19
|
readonly category: import("@angular/core").Signal<{
|
|
21
20
|
title: string;
|
|
@@ -26,6 +25,8 @@ export declare class CuiCategoryItemComponent {
|
|
|
26
25
|
description?: string;
|
|
27
26
|
ancestors: [import("@cuby-ui/api").TreeStructAncestor, ...import("@cuby-ui/api").TreeStructAncestor[]];
|
|
28
27
|
}>;
|
|
28
|
+
readonly stageStorage: import("@angular/core").InputSignal<TreeStruct<import("@cuby-ui/api").Job<import("@cuby-ui/api").JobContentStructureType>>>;
|
|
29
|
+
readonly context: import("@angular/core").InputSignal<CuiApiContext | undefined>;
|
|
29
30
|
constructor();
|
|
30
31
|
protected onSelectCategory(): void;
|
|
31
32
|
protected onToggleChildren(event: MouseEvent): void;
|
|
@@ -37,5 +38,5 @@ export declare class CuiCategoryItemComponent {
|
|
|
37
38
|
protected onCreatingSubcategoryCanceled(): void;
|
|
38
39
|
private initStageStorageChildren;
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCategoryItemComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCategoryItemComponent, "cui-category-item", never, { "stageStorage": { "alias": "stageStorage"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CuiCategoryItemComponent, "cui-category-item", never, { "stageStorage": { "alias": "stageStorage"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
41
42
|
}
|