@cuby-ui/api 0.0.484 → 0.0.487
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/package.json +4 -1
- package/constants/api-url.d.ts +0 -10
- package/constants/index.d.ts +0 -10
- package/constants/shared-construction-http-options.d.ts +0 -4
- package/constants/shared-factory-http-options.d.ts +0 -4
- package/constants/shared-instruction-http-options.d.ts +0 -4
- package/constants/shared-learning-http-option.d.ts +0 -4
- package/constants/shared-platform-http-options.d.ts +0 -4
- package/constants/shared-project-http-options.d.ts +0 -4
- package/constants/shared-schedule-http-options.d.ts +0 -4
- package/constants/storage-object-type.d.ts +0 -6
- package/constants/x-ndjson-config-options.d.ts +0 -8
- package/construction/index.d.ts +0 -2
- package/construction/models/action-job.d.ts +0 -36
- package/construction/models/approval.api.d.ts +0 -14
- package/construction/models/criterion-api.options.d.ts +0 -32
- package/construction/models/holder-acceptance-criterion-wrapper.d.ts +0 -8
- package/construction/models/index.d.ts +0 -18
- package/construction/models/job-action-type.d.ts +0 -6
- package/construction/models/job-api.options.d.ts +0 -97
- package/construction/models/main-job.d.ts +0 -21
- package/construction/models/modal-header.option.d.ts +0 -8
- package/construction/models/operation.model.d.ts +0 -16
- package/construction/models/quantum-group-resources-structure-api.options.d.ts +0 -25
- package/construction/models/resource.d.ts +0 -27
- package/construction/models/skill.model.d.ts +0 -6
- package/construction/models/stage-job-information.d.ts +0 -10
- package/construction/models/technology.api.options.d.ts +0 -38
- package/construction/models/technology.d.ts +0 -46
- package/construction/models/utility-api.options.d.ts +0 -3
- package/construction/models/utility-component-instruction-structure-api.options.d.ts +0 -20
- package/construction/models/utility.d.ts +0 -40
- package/construction/services/criterion-api.service.d.ts +0 -25
- package/construction/services/index.d.ts +0 -6
- package/construction/services/job-api.service.d.ts +0 -32
- package/construction/services/quantum-group-resources-structure-api.service.d.ts +0 -15
- package/construction/services/utility-api.service.d.ts +0 -21
- package/construction/services/utility-component-instruction-structure-api.service.d.ts +0 -17
- package/construction/services/utility-instructions-api.service.d.ts +0 -10
- package/esm2022/constants/api-url.mjs +0 -2
- package/esm2022/constants/index.mjs +0 -10
- package/esm2022/constants/shared-construction-http-options.mjs +0 -6
- package/esm2022/constants/shared-factory-http-options.mjs +0 -6
- package/esm2022/constants/shared-instruction-http-options.mjs +0 -6
- package/esm2022/constants/shared-learning-http-option.mjs +0 -6
- package/esm2022/constants/shared-platform-http-options.mjs +0 -6
- package/esm2022/constants/shared-project-http-options.mjs +0 -6
- package/esm2022/constants/shared-schedule-http-options.mjs +0 -6
- package/esm2022/constants/storage-object-type.mjs +0 -5
- package/esm2022/constants/x-ndjson-config-options.mjs +0 -7
- package/esm2022/construction/index.mjs +0 -3
- package/esm2022/construction/models/action-job.mjs +0 -2
- package/esm2022/construction/models/approval.api.mjs +0 -2
- package/esm2022/construction/models/criterion-api.options.mjs +0 -2
- package/esm2022/construction/models/holder-acceptance-criterion-wrapper.mjs +0 -2
- package/esm2022/construction/models/index.mjs +0 -19
- package/esm2022/construction/models/job-action-type.mjs +0 -5
- package/esm2022/construction/models/job-api.options.mjs +0 -2
- package/esm2022/construction/models/main-job.mjs +0 -2
- package/esm2022/construction/models/modal-header.option.mjs +0 -2
- package/esm2022/construction/models/operation.model.mjs +0 -2
- package/esm2022/construction/models/quantum-group-resources-structure-api.options.mjs +0 -7
- package/esm2022/construction/models/resource.mjs +0 -7
- package/esm2022/construction/models/skill.model.mjs +0 -2
- package/esm2022/construction/models/stage-job-information.mjs +0 -2
- package/esm2022/construction/models/technology.api.options.mjs +0 -11
- package/esm2022/construction/models/technology.mjs +0 -2
- package/esm2022/construction/models/utility-api.options.mjs +0 -2
- package/esm2022/construction/models/utility-component-instruction-structure-api.options.mjs +0 -2
- package/esm2022/construction/models/utility.mjs +0 -2
- package/esm2022/construction/services/criterion-api.service.mjs +0 -93
- package/esm2022/construction/services/index.mjs +0 -7
- package/esm2022/construction/services/job-api.service.mjs +0 -128
- package/esm2022/construction/services/quantum-group-resources-structure-api.service.mjs +0 -30
- package/esm2022/construction/services/utility-api.service.mjs +0 -49
- package/esm2022/construction/services/utility-component-instruction-structure-api.service.mjs +0 -56
- package/esm2022/construction/services/utility-instructions-api.service.mjs +0 -25
- package/esm2022/cuby-ui-api.mjs +0 -5
- package/esm2022/factory/index.mjs +0 -3
- package/esm2022/factory/models/arrow-work-flow-component-controller-api.options.mjs +0 -6
- package/esm2022/factory/models/arrow-work-flow-component-structure-api.options.mjs +0 -2
- package/esm2022/factory/models/arrow-work-flow-controller-api.options.mjs +0 -2
- package/esm2022/factory/models/arrow-work-flow-readiness-checklist-api.options.mjs +0 -2
- package/esm2022/factory/models/arrow-work-flow-trasnfer-controller-api.options.mjs +0 -2
- package/esm2022/factory/models/consumable.mjs +0 -2
- package/esm2022/factory/models/factory-api.options.mjs +0 -2
- package/esm2022/factory/models/index.mjs +0 -14
- package/esm2022/factory/models/intra-logistic.mjs +0 -6
- package/esm2022/factory/models/maintenance.mjs +0 -2
- package/esm2022/factory/models/manufacturer.mjs +0 -2
- package/esm2022/factory/models/measurment.mjs +0 -2
- package/esm2022/factory/models/specification.mjs +0 -2
- package/esm2022/factory/models/specifications.mjs +0 -2
- package/esm2022/factory/services/arrow-work-flow-actions-api.service.mjs +0 -22
- package/esm2022/factory/services/arrow-work-flow-component-controller-api.service.mjs +0 -25
- package/esm2022/factory/services/arrow-work-flow-component-structure-api.service.mjs +0 -28
- package/esm2022/factory/services/arrow-work-flow-readiness-checklist-api.service.mjs +0 -25
- package/esm2022/factory/services/arrow-work-flow-trasnfer-controller-api.service.mjs +0 -61
- package/esm2022/factory/services/factory-api.service.mjs +0 -52
- package/esm2022/factory/services/index.mjs +0 -8
- package/esm2022/factory/services/instructions-api.service.mjs +0 -28
- package/esm2022/index.mjs +0 -9
- package/esm2022/instruction/index.mjs +0 -3
- package/esm2022/instruction/models/index.mjs +0 -2
- package/esm2022/instruction/models/instruction-assessment-config.mjs +0 -17
- package/esm2022/instruction/services/index.mjs +0 -2
- package/esm2022/instruction/services/instruction-assessment-config-api.service.mjs +0 -65
- package/esm2022/platform/index.mjs +0 -3
- package/esm2022/platform/models/exchange-context-api.options.mjs +0 -2
- package/esm2022/platform/models/index.mjs +0 -2
- package/esm2022/platform/models/user-company-api.options.mjs +0 -2
- package/esm2022/platform/services/exchange-context-api.service.mjs +0 -32
- package/esm2022/platform/services/index.mjs +0 -3
- package/esm2022/platform/services/user-company-api.service.mjs +0 -19
- package/esm2022/project/index.mjs +0 -3
- package/esm2022/project/models/design-job-main-api.options.mjs +0 -2
- package/esm2022/project/models/design-job-main-group-api.options.mjs +0 -2
- package/esm2022/project/models/index.mjs +0 -10
- package/esm2022/project/models/project-api.options.mjs +0 -2
- package/esm2022/project/models/project-details-phase-init-api.options.mjs +0 -2
- package/esm2022/project/models/project-init-phase-api.options.mjs +0 -2
- package/esm2022/project/models/project-phase-design-technology-api.options.mjs +0 -2
- package/esm2022/project/models/project-resource-phase-init-api.options.mjs +0 -2
- package/esm2022/project/models/project-schedule-phase-init-api.options.mjs +0 -2
- package/esm2022/project/models/technology-phase-init-api.options.mjs +0 -2
- package/esm2022/project/services/crew-template-api.service.mjs +0 -32
- package/esm2022/project/services/design-job-main-api.service.mjs +0 -22
- package/esm2022/project/services/design-job-main-group-api.service.mjs +0 -61
- package/esm2022/project/services/index.mjs +0 -11
- package/esm2022/project/services/project-api.service.mjs +0 -46
- package/esm2022/project/services/project-details-phase-init-api.service.mjs +0 -22
- package/esm2022/project/services/project-init-phase-api.service.mjs +0 -22
- package/esm2022/project/services/project-phase-design-technology-api.service.mjs +0 -34
- package/esm2022/project/services/project-resource-phase-init-api.service.mjs +0 -49
- package/esm2022/project/services/project-schedule-phase-init-api.service.mjs +0 -22
- package/esm2022/project/services/technology-phase-init-api.service.mjs +0 -38
- package/esm2022/shared/index.mjs +0 -3
- package/esm2022/shared/models/criterion-type-operations.mjs +0 -2
- package/esm2022/shared/models/criterion.mjs +0 -2
- package/esm2022/shared/models/frame-api.options.mjs +0 -2
- package/esm2022/shared/models/index.mjs +0 -19
- package/esm2022/shared/models/instruction-type-operations.mjs +0 -2
- package/esm2022/shared/models/instruction.mjs +0 -8
- package/esm2022/shared/models/job.options.mjs +0 -8
- package/esm2022/shared/models/jtext-api.options.mjs +0 -2
- package/esm2022/shared/models/list-object-instruction.mjs +0 -2
- package/esm2022/shared/models/node-checklist-api.options.mjs +0 -2
- package/esm2022/shared/models/node-checklist.options.mjs +0 -2
- package/esm2022/shared/models/review-type.mjs +0 -7
- package/esm2022/shared/models/storage-object-criterion.mjs +0 -2
- package/esm2022/shared/models/storage-object-instruction.mjs +0 -2
- package/esm2022/shared/models/storage-object.mjs +0 -2
- package/esm2022/shared/models/subject.mjs +0 -9
- package/esm2022/shared/models/tree-struct-navigator-api.options.mjs +0 -2
- package/esm2022/shared/models/tree-struct-type.options.mjs +0 -2
- package/esm2022/shared/models/tree-struct.options.mjs +0 -2
- package/esm2022/shared/services/frame-api.service.mjs +0 -45
- package/esm2022/shared/services/index.mjs +0 -6
- package/esm2022/shared/services/jtext-api.service.mjs +0 -53
- package/esm2022/shared/services/node-checklist-api.service.mjs +0 -61
- package/esm2022/shared/services/tree-struct-api.service.mjs +0 -31
- package/esm2022/shared/services/tree-struct-navigator-api.service.mjs +0 -54
- package/esm2022/tokens/api-url-context.mjs +0 -3
- package/esm2022/tokens/index.mjs +0 -2
- package/factory/index.d.ts +0 -2
- package/factory/models/arrow-work-flow-component-controller-api.options.d.ts +0 -56
- package/factory/models/arrow-work-flow-component-structure-api.options.d.ts +0 -7
- package/factory/models/arrow-work-flow-controller-api.options.d.ts +0 -56
- package/factory/models/arrow-work-flow-readiness-checklist-api.options.d.ts +0 -4
- package/factory/models/arrow-work-flow-trasnfer-controller-api.options.d.ts +0 -65
- package/factory/models/consumable.d.ts +0 -25
- package/factory/models/factory-api.options.d.ts +0 -26
- package/factory/models/index.d.ts +0 -13
- package/factory/models/intra-logistic.d.ts +0 -46
- package/factory/models/maintenance.d.ts +0 -12
- package/factory/models/manufacturer.d.ts +0 -5
- package/factory/models/measurment.d.ts +0 -6
- package/factory/models/specification.d.ts +0 -4
- package/factory/models/specifications.d.ts +0 -8
- package/factory/services/arrow-work-flow-actions-api.service.d.ts +0 -10
- package/factory/services/arrow-work-flow-component-controller-api.service.d.ts +0 -11
- package/factory/services/arrow-work-flow-component-structure-api.service.d.ts +0 -12
- package/factory/services/arrow-work-flow-readiness-checklist-api.service.d.ts +0 -11
- package/factory/services/arrow-work-flow-trasnfer-controller-api.service.d.ts +0 -20
- package/factory/services/factory-api.service.d.ts +0 -17
- package/factory/services/index.d.ts +0 -7
- package/factory/services/instructions-api.service.d.ts +0 -11
- package/fesm2022/cuby-ui-api.mjs +0 -1347
- package/fesm2022/cuby-ui-api.mjs.map +0 -1
- package/index.d.ts +0 -8
- package/instruction/index.d.ts +0 -2
- package/instruction/models/index.d.ts +0 -1
- package/instruction/models/instruction-assessment-config.d.ts +0 -43
- package/instruction/services/index.d.ts +0 -1
- package/instruction/services/instruction-assessment-config-api.service.d.ts +0 -25
- package/platform/index.d.ts +0 -2
- package/platform/models/exchange-context-api.options.d.ts +0 -19
- package/platform/models/index.d.ts +0 -2
- package/platform/models/user-company-api.options.d.ts +0 -20
- package/platform/services/exchange-context-api.service.d.ts +0 -10
- package/platform/services/index.d.ts +0 -2
- package/platform/services/user-company-api.service.d.ts +0 -9
- package/project/index.d.ts +0 -2
- package/project/models/design-job-main-api.options.d.ts +0 -12
- package/project/models/design-job-main-group-api.options.d.ts +0 -71
- package/project/models/index.d.ts +0 -9
- package/project/models/project-api.options.d.ts +0 -75
- package/project/models/project-details-phase-init-api.options.d.ts +0 -7
- package/project/models/project-init-phase-api.options.d.ts +0 -29
- package/project/models/project-phase-design-technology-api.options.d.ts +0 -33
- package/project/models/project-resource-phase-init-api.options.d.ts +0 -31
- package/project/models/project-schedule-phase-init-api.options.d.ts +0 -10
- package/project/models/technology-phase-init-api.options.d.ts +0 -4
- package/project/services/crew-template-api.service.d.ts +0 -12
- package/project/services/design-job-main-api.service.d.ts +0 -11
- package/project/services/design-job-main-group-api.service.d.ts +0 -20
- package/project/services/index.d.ts +0 -10
- package/project/services/project-api.service.d.ts +0 -15
- package/project/services/project-details-phase-init-api.service.d.ts +0 -10
- package/project/services/project-init-phase-api.service.d.ts +0 -10
- package/project/services/project-phase-design-technology-api.service.d.ts +0 -13
- package/project/services/project-resource-phase-init-api.service.d.ts +0 -14
- package/project/services/project-schedule-phase-init-api.service.d.ts +0 -10
- package/project/services/technology-phase-init-api.service.d.ts +0 -13
- package/shared/index.d.ts +0 -2
- package/shared/models/criterion-type-operations.d.ts +0 -7
- package/shared/models/criterion.d.ts +0 -7
- package/shared/models/frame-api.options.d.ts +0 -22
- package/shared/models/index.d.ts +0 -18
- package/shared/models/instruction-type-operations.d.ts +0 -7
- package/shared/models/instruction.d.ts +0 -15
- package/shared/models/job.options.d.ts +0 -64
- package/shared/models/jtext-api.options.d.ts +0 -20
- package/shared/models/list-object-instruction.d.ts +0 -6
- package/shared/models/node-checklist-api.options.d.ts +0 -29
- package/shared/models/node-checklist.options.d.ts +0 -46
- package/shared/models/review-type.d.ts +0 -5
- package/shared/models/storage-object-criterion.d.ts +0 -3
- package/shared/models/storage-object-instruction.d.ts +0 -3
- package/shared/models/storage-object.d.ts +0 -6
- package/shared/models/subject.d.ts +0 -9
- package/shared/models/tree-struct-navigator-api.options.d.ts +0 -21
- package/shared/models/tree-struct-type.options.d.ts +0 -10
- package/shared/models/tree-struct.options.d.ts +0 -15
- package/shared/services/frame-api.service.d.ts +0 -19
- package/shared/services/index.d.ts +0 -5
- package/shared/services/jtext-api.service.d.ts +0 -23
- package/shared/services/node-checklist-api.service.d.ts +0 -18
- package/shared/services/tree-struct-api.service.d.ts +0 -13
- package/shared/services/tree-struct-navigator-api.service.d.ts +0 -19
- package/tokens/api-url-context.d.ts +0 -6
- package/tokens/index.d.ts +0 -1
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
2
|
-
export interface NodeCheckListEvaluationCriteria {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly criteria: string;
|
|
5
|
-
readonly evaluation: number;
|
|
6
|
-
}
|
|
7
|
-
export interface NodeCheckListItemContentAction {
|
|
8
|
-
readonly id: string;
|
|
9
|
-
readonly isRequired: boolean;
|
|
10
|
-
readonly isEnable: boolean;
|
|
11
|
-
readonly contentActionType: string;
|
|
12
|
-
}
|
|
13
|
-
export interface NodeCheckListEvaluationItemContent {
|
|
14
|
-
readonly acceptanceCriteriaEvaluations: NodeCheckListEvaluationCriteria[];
|
|
15
|
-
readonly id: string;
|
|
16
|
-
readonly actions: NodeCheckListItemContentAction[];
|
|
17
|
-
readonly contentType: string;
|
|
18
|
-
readonly actionType: string;
|
|
19
|
-
}
|
|
20
|
-
export interface NodeCheckListActionItemContent {
|
|
21
|
-
readonly id: string;
|
|
22
|
-
readonly title: string;
|
|
23
|
-
readonly considerCorrect: boolean;
|
|
24
|
-
readonly actions: NodeCheckListItemContentAction[];
|
|
25
|
-
readonly actionType: string;
|
|
26
|
-
}
|
|
27
|
-
export interface NodeCheckListItemContent<T> {
|
|
28
|
-
readonly actionsAssignee: CuiNullable<T[]>;
|
|
29
|
-
readonly actionsApprove: CuiNullable<T[]>;
|
|
30
|
-
}
|
|
31
|
-
export interface NodeCheckListItem<T> {
|
|
32
|
-
readonly id: string;
|
|
33
|
-
readonly title: string;
|
|
34
|
-
readonly textContainerId: CuiNullable<string>;
|
|
35
|
-
readonly content: NodeCheckListItemContent<T>;
|
|
36
|
-
}
|
|
37
|
-
export interface NodeChecklist {
|
|
38
|
-
readonly id: string;
|
|
39
|
-
readonly title: CuiNullable<string>;
|
|
40
|
-
readonly textContainerId: CuiNullable<string>;
|
|
41
|
-
readonly content: {
|
|
42
|
-
readonly treeStructId: string;
|
|
43
|
-
readonly type: string;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export type NodeCheckListItemContentType = NodeCheckListActionItemContent | NodeCheckListEvaluationItemContent;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type MaterialFormat = 'PRIMITIVE' | 'SPOOL' | 'TANK';
|
|
2
|
-
export type PartFormat = 'PRIMITIVE' | 'ASSEMBLY' | 'WORKBENCH';
|
|
3
|
-
export declare enum SubjectType {
|
|
4
|
-
Material = "MATERIAL",
|
|
5
|
-
Part = "PART",
|
|
6
|
-
Modifier = "MODIFIER",
|
|
7
|
-
Tool = "TOOL",
|
|
8
|
-
Equipment = "EQUIPMENT"
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const enum MovingType {
|
|
2
|
-
TARGET_TREE_STRUCT = "MOVING_TARGET_TREE_STRUCT",
|
|
3
|
-
TARGET_NODE = "MOVING_TARGET_ITEM",
|
|
4
|
-
SINGLE_TARGET_TREE_STRUCT = "MOVING_SINGLE_TARGET_TREE_STRUCT"
|
|
5
|
-
}
|
|
6
|
-
export type MovingRequestBody = MovingTargetTreeStructRequestBody | MovingTargetNodeRequestBody;
|
|
7
|
-
export interface MovingTargetTreeStructRequestBody {
|
|
8
|
-
readonly type: MovingType.TARGET_TREE_STRUCT;
|
|
9
|
-
readonly movableItemId: string;
|
|
10
|
-
readonly treeStructMovableItemId: string;
|
|
11
|
-
readonly treeStructTargetItemId: string;
|
|
12
|
-
}
|
|
13
|
-
export interface MovingTargetNodeRequestBody {
|
|
14
|
-
readonly type: MovingType.TARGET_NODE;
|
|
15
|
-
readonly movableItemId: string;
|
|
16
|
-
readonly treeStructMovableItemId: string;
|
|
17
|
-
readonly targetItemId: string;
|
|
18
|
-
readonly treeStructTargetItemId: string;
|
|
19
|
-
readonly pointer: MovingTargetNodePointer;
|
|
20
|
-
}
|
|
21
|
-
export type MovingTargetNodePointer = 'BEFORE' | 'AFTER';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const enum TreeStructType {
|
|
2
|
-
Stage = "STAGE_STORAGE",
|
|
3
|
-
Quant = "QUANTUM_STORAGE",
|
|
4
|
-
Operation = "OPERATION_STORAGE",
|
|
5
|
-
Criteria = "CRITERION_STORAGE",
|
|
6
|
-
Instruction = "INSTRUCTION_STORAGE",
|
|
7
|
-
Evaluation = "JOB_STORAGE_EVALUATION",
|
|
8
|
-
Shift = "JOB_STORAGE_ACTION",
|
|
9
|
-
Project = "PROJECT_STORAGE"
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Job } from './job.options';
|
|
2
|
-
export interface TreeStructBase {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly title: string;
|
|
5
|
-
readonly treeStructType: string;
|
|
6
|
-
readonly description?: string;
|
|
7
|
-
readonly ancestors: [TreeStructAncestor, ...TreeStructAncestor[]];
|
|
8
|
-
}
|
|
9
|
-
export interface TreeStruct<T = Job> extends TreeStructBase {
|
|
10
|
-
readonly elements: T[];
|
|
11
|
-
readonly children: TreeStruct<T>[] | string[];
|
|
12
|
-
}
|
|
13
|
-
export interface TreeStructAncestor {
|
|
14
|
-
readonly id: string;
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { Fragment, Frame, FragmentType } from '../models/frame-api.options';
|
|
3
|
-
import { CuiApiContext } from '../../tokens';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiFrameApiService {
|
|
6
|
-
private readonly http;
|
|
7
|
-
private readonly FRAMER_URL;
|
|
8
|
-
private readonly FRAGMENT_URL;
|
|
9
|
-
getFrame(frameId: string, context?: CuiApiContext): Observable<Frame>;
|
|
10
|
-
createFrame(context?: CuiApiContext): Observable<string>;
|
|
11
|
-
createFragment(frameId: string, type: FragmentType, context?: CuiApiContext): Observable<Fragment>;
|
|
12
|
-
deleteFragment(frameId: string, fragmentId: string, context?: CuiApiContext): Observable<void>;
|
|
13
|
-
uploadResource(body: FormData, frameId: string, fragmentId: string, context?: CuiApiContext): Observable<{
|
|
14
|
-
resource: string;
|
|
15
|
-
}>;
|
|
16
|
-
deleteResource(frameId: string, fragmentId: string, context?: CuiApiContext): Observable<void>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiFrameApiService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiFrameApiService>;
|
|
19
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { CuiFrameApiService } from './frame-api.service';
|
|
2
|
-
export { CuiTreeStructApiService } from './tree-struct-api.service';
|
|
3
|
-
export { CuiNodeChecklistApiService } from './node-checklist-api.service';
|
|
4
|
-
export { CuiTreeStructNavigatorApiService } from './tree-struct-navigator-api.service';
|
|
5
|
-
export { CuiJTextApiService } from './jtext-api.service';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import { CuiApiContext } from '../../tokens';
|
|
3
|
-
import { CuiBlock, CuiJTextCreateBlockRequestBody, CuiJTextCreateBlocksRequestBody } from '../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiJTextApiService {
|
|
6
|
-
private readonly httpClient;
|
|
7
|
-
private readonly GET_BLOCK_DEFAULT_SIZE;
|
|
8
|
-
private readonly JTEXT_URL;
|
|
9
|
-
private readonly BLOCK_URL;
|
|
10
|
-
private readonly BLOCKS_URL;
|
|
11
|
-
private readonly JTEXT_BLOCK_URL;
|
|
12
|
-
private readonly JTEXT_BLOCKS_URL;
|
|
13
|
-
private options;
|
|
14
|
-
addOptions(options?: CuiApiContext): void;
|
|
15
|
-
createBlock(body: CuiJTextCreateBlockRequestBody, context?: CuiApiContext): Observable<string>;
|
|
16
|
-
updateBlock(body: CuiBlock, context?: CuiApiContext): Observable<CuiBlock>;
|
|
17
|
-
getBlocks(fragmentId: string, page?: number, sizeBlock?: number, context?: CuiApiContext): Observable<CuiBlock>;
|
|
18
|
-
createBlocks(body: CuiJTextCreateBlocksRequestBody, context?: CuiApiContext): Observable<string[]>;
|
|
19
|
-
deleteBlock(containerId: string, blockId: string, context?: CuiApiContext): Observable<void>;
|
|
20
|
-
deleteBlocks(containerId: string, blocksIds: string[], context?: CuiApiContext): Observable<void>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiJTextApiService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiJTextApiService>;
|
|
23
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { NodeCheckListActionConsiderCorrectRequestBody, NodeCheckListActionContentRequestBody, NodeCheckListItemRequestBody, NodeCheckListItemSwitchContentRequestParams, NodeCheckListEvaluationItemContent, NodeCheckListItem, NodeCheckListItemContentType } from '../models';
|
|
3
|
-
import { CuiApiContext } from '../../tokens';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiNodeChecklistApiService {
|
|
6
|
-
private readonly httpClient;
|
|
7
|
-
private readonly MAIN_URL;
|
|
8
|
-
addNodeCheckListItem(data: NodeCheckListItemRequestBody, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListItemContentType>>;
|
|
9
|
-
updateNodeCheckListItemTitle(id: string, title: string, context?: CuiApiContext): Observable<void>;
|
|
10
|
-
updateNodeCheckListItemActionContent(data: NodeCheckListActionContentRequestBody, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListItemContentType>>;
|
|
11
|
-
updateNodeCheckListItemIsConsideredCorrect(data: NodeCheckListActionConsiderCorrectRequestBody, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListItemContentType>>;
|
|
12
|
-
updateNodeCheckListItemSwitchContent({ nodeCheckListId, listEvaluationId, movingElementId, targetItemId, pointer }: NodeCheckListItemSwitchContentRequestParams, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListItemContentType>>;
|
|
13
|
-
addEvaluationCriteriaItem(id: string, listId: string, criteria: string, evaluation: number, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListEvaluationItemContent>>;
|
|
14
|
-
updateEvaluationCriteriaItem(id: string, listId: string, criteriaId: string, criteria: string, evaluation: number, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListEvaluationItemContent>>;
|
|
15
|
-
deleteEvaluationCriteriaItem(id: string, listId: string, criteriaId: string, context?: CuiApiContext): Observable<NodeCheckListItem<NodeCheckListEvaluationItemContent>>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiNodeChecklistApiService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiNodeChecklistApiService>;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import { CuiApiContext } from '../../tokens';
|
|
3
|
-
import { Job, TreeStruct } from '../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiTreeStructApiService {
|
|
6
|
-
private readonly httpClient;
|
|
7
|
-
private readonly TREE_STRUCT_URL;
|
|
8
|
-
getById<T = Job>(id: string, context?: CuiApiContext): Observable<TreeStruct<T>>;
|
|
9
|
-
getStageStoragesByParent<T = Job>(parentId: string, context?: CuiApiContext): Observable<TreeStruct<T>>;
|
|
10
|
-
deleteTreeStructElement(treeStructId: string, elementId: string, context?: CuiApiContext): Observable<void>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTreeStructApiService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiTreeStructApiService>;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import { CuiApiContext } from '../../tokens';
|
|
3
|
-
import { Job, MovingRequestBody, TreeStruct, TreeStructBase, TreeStructType } from '../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiTreeStructNavigatorApiService {
|
|
6
|
-
private readonly httpClient;
|
|
7
|
-
private readonly TREE_STRUCT_NAVIGATOR_URL;
|
|
8
|
-
private readonly CONSTRUCTION_TECHNOLOGY_URL;
|
|
9
|
-
createStageStorage(title: string, type: TreeStructType, context?: CuiApiContext): Observable<TreeStruct>;
|
|
10
|
-
createStageStorageToParent(parentId: string, title: string, context?: CuiApiContext): Observable<TreeStruct>;
|
|
11
|
-
getStageStorages<T = Job>(type: TreeStructType, context?: CuiApiContext): Observable<TreeStruct<T>>;
|
|
12
|
-
getStageStoragesByParent(parentId: string, context?: CuiApiContext): Observable<TreeStruct>;
|
|
13
|
-
updateTitle(treeStructId: string, title: string, context?: CuiApiContext): Observable<void>;
|
|
14
|
-
move(body: MovingRequestBody, context?: CuiApiContext): Observable<void>;
|
|
15
|
-
moveElement(body: MovingRequestBody, context?: CuiApiContext): Observable<void>;
|
|
16
|
-
getCategory(id: string, type: TreeStructType, context?: CuiApiContext): Observable<TreeStructBase>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTreeStructNavigatorApiService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiTreeStructNavigatorApiService>;
|
|
19
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { HttpContext, HttpContextToken } from '@angular/common/http';
|
|
2
|
-
import { CuiNullable } from '@cuby-ui/cdk';
|
|
3
|
-
export declare const CUI_API_URL_CONTEXT: HttpContextToken<CuiNullable<string>>;
|
|
4
|
-
export interface CuiApiContext {
|
|
5
|
-
readonly context?: HttpContext;
|
|
6
|
-
}
|
package/tokens/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './api-url-context';
|