@xxmachina/components 19.21.8 → 19.24.1
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/extras/flow/index.d.ts +13 -3
- package/extras/flow/index.d.ts.map +1 -1
- package/features/query/index.d.ts.map +1 -1
- package/fesm2022/xxmachina-components-extras-flow.mjs +110 -11
- package/fesm2022/xxmachina-components-extras-flow.mjs.map +1 -1
- package/fesm2022/xxmachina-components-groups-query-form.mjs.map +1 -1
- package/fesm2022/xxmachina-components-molecules-inline-edit-field.mjs +117 -0
- package/fesm2022/xxmachina-components-molecules-inline-edit-field.mjs.map +1 -0
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs +2 -2
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs +2 -2
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs +19 -4
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-xterm.mjs +849 -49
- package/fesm2022/xxmachina-components-organisms-xterm.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-command-harness.mjs +28 -0
- package/fesm2022/xxmachina-components-pages-command-harness.mjs.map +1 -0
- package/fesm2022/xxmachina-components-pages-command.mjs +10 -6
- package/fesm2022/xxmachina-components-pages-command.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-query.mjs +2 -2
- package/fesm2022/xxmachina-components-pages-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-thread.mjs +2 -2
- package/fesm2022/xxmachina-components-pages-thread.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-message.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-agent.mjs +151 -123
- package/fesm2022/xxmachina-components-templates-agent.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-background.mjs +376 -242
- package/fesm2022/xxmachina-components-templates-background.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-flow-nodes-group.mjs +164 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-group.mjs.map +1 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-issue.mjs +157 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-issue.mjs.map +1 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-task.mjs +154 -0
- package/fesm2022/xxmachina-components-templates-flow-nodes-task.mjs.map +1 -0
- package/fesm2022/xxmachina-components-templates-flow.mjs +337 -0
- package/fesm2022/xxmachina-components-templates-flow.mjs.map +1 -0
- package/fesm2022/xxmachina-components.mjs +2 -2
- package/fesm2022/xxmachina-components.mjs.map +1 -1
- package/groups/query-form/index.d.ts +3 -4
- package/groups/query-form/index.d.ts.map +1 -1
- package/index.d.ts.map +1 -1
- package/molecules/inline-edit-field/index.d.ts +32 -0
- package/molecules/inline-edit-field/index.d.ts.map +1 -0
- package/organisms/terminal-input-section/index.d.ts +2 -1
- package/organisms/terminal-input-section/index.d.ts.map +1 -1
- package/organisms/xterm/index.d.ts +176 -4
- package/organisms/xterm/index.d.ts.map +1 -1
- package/package.json +29 -13
- package/pages/command/harness/index.d.ts +14 -0
- package/pages/command/harness/index.d.ts.map +1 -0
- package/pages/command/index.d.ts +12 -4
- package/pages/command/index.d.ts.map +1 -1
- package/pages/query/index.d.ts +2 -2
- package/pages/query/index.d.ts.map +1 -1
- package/pages/query-v2/index.d.ts.map +1 -1
- package/services/command/index.d.ts.map +1 -1
- package/services/message/index.d.ts +3 -3
- package/services/message/index.d.ts.map +1 -1
- package/templates/agent/index.d.ts +11 -2
- package/templates/agent/index.d.ts.map +1 -1
- package/templates/background/index.d.ts +14 -20
- package/templates/background/index.d.ts.map +1 -1
- package/templates/flow/index.d.ts +61 -0
- package/templates/flow/index.d.ts.map +1 -0
- package/templates/flow/nodes/group/index.d.ts +44 -0
- package/templates/flow/nodes/group/index.d.ts.map +1 -0
- package/templates/flow/nodes/issue/index.d.ts +46 -0
- package/templates/flow/nodes/issue/index.d.ts.map +1 -0
- package/templates/flow/nodes/task/index.d.ts +37 -0
- package/templates/flow/nodes/task/index.d.ts.map +1 -0
- package/fesm2022/xxmachina-components-services-calendar.mjs +0 -25
- package/fesm2022/xxmachina-components-services-calendar.mjs.map +0 -1
- package/fesm2022/xxmachina-components-services-schedule.mjs +0 -51
- package/fesm2022/xxmachina-components-services-schedule.mjs.map +0 -1
- package/services/calendar/index.d.ts +0 -14
- package/services/calendar/index.d.ts.map +0 -1
- package/services/schedule/index.d.ts +0 -27
- package/services/schedule/index.d.ts.map +0 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import { Node, Edge, MarkerType, NodeChange, EdgeChange, Connection, Viewport, ReactFlowInstance } from 'reactflow';
|
|
4
|
+
import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
|
|
5
|
+
|
|
6
|
+
declare enum ActionId {
|
|
7
|
+
EXPANDED_CHANGE = "[FlowTemplate] EXPANDED_CHANGE"
|
|
8
|
+
}
|
|
9
|
+
declare class FlowNodeStore<T> extends InjectableComponent {
|
|
10
|
+
static provideComponent(loader: () => Promise<Type<any>> | Type<any>): {
|
|
11
|
+
provide: any;
|
|
12
|
+
useValue: () => Promise<Type<any>>;
|
|
13
|
+
};
|
|
14
|
+
readonly data: _angular_core.InputSignal<T>;
|
|
15
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlowNodeStore<any>, never>;
|
|
16
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FlowNodeStore<any>, "flow-node", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
declare class FlowTemplate extends NgAtomicComponent {
|
|
19
|
+
static readonly ActionId: typeof ActionId;
|
|
20
|
+
readonly nodes: _angular_core.InputSignal<Node[]>;
|
|
21
|
+
readonly edges: _angular_core.InputSignal<Edge[]>;
|
|
22
|
+
readonly deleteKeyCode: _angular_core.InputSignal<string>;
|
|
23
|
+
readonly defaultEdgeOptions: _angular_core.InputSignal<{
|
|
24
|
+
type: string;
|
|
25
|
+
animated: boolean;
|
|
26
|
+
markerEnd: {
|
|
27
|
+
type: MarkerType;
|
|
28
|
+
};
|
|
29
|
+
style: {
|
|
30
|
+
stroke: string;
|
|
31
|
+
strokeWidth: number;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
34
|
+
readonly nodeClick: _angular_core.OutputEmitterRef<[MouseEvent, Node]>;
|
|
35
|
+
readonly nodesChange: _angular_core.OutputEmitterRef<NodeChange[]>;
|
|
36
|
+
readonly nodeDragStop: _angular_core.OutputEmitterRef<[MouseEvent, Node, Node[]]>;
|
|
37
|
+
readonly edgesChange: _angular_core.OutputEmitterRef<EdgeChange[]>;
|
|
38
|
+
readonly connect: _angular_core.OutputEmitterRef<Connection>;
|
|
39
|
+
readonly nodeData: _angular_core.OutputEmitterRef<[string, any]>;
|
|
40
|
+
readonly nodeResizeEnd: _angular_core.OutputEmitterRef<{
|
|
41
|
+
nodeId: string;
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
}>;
|
|
45
|
+
readonly viewportChange: _angular_core.OutputEmitterRef<Viewport>;
|
|
46
|
+
protected onViewportMove([_event, viewport]: [MouseEvent, Viewport]): void;
|
|
47
|
+
/**
|
|
48
|
+
* Handle ReactFlow initialization.
|
|
49
|
+
* Uses requestAnimationFrame to wait for fitView completion before emitting viewport.
|
|
50
|
+
*/
|
|
51
|
+
protected onFlowInit([instance]: [ReactFlowInstance]): void;
|
|
52
|
+
protected onGroupExpandedChange(payload: {
|
|
53
|
+
expanded: boolean;
|
|
54
|
+
data: any;
|
|
55
|
+
}): void;
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlowTemplate, never>;
|
|
57
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlowTemplate, "templates-flow", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "deleteKeyCode": { "alias": "deleteKeyCode"; "required": false; "isSignal": true; }; "defaultEdgeOptions": { "alias": "defaultEdgeOptions"; "required": false; "isSignal": true; }; }, { "nodeClick": "nodeClick"; "nodesChange": "nodesChange"; "nodeDragStop": "nodeDragStop"; "edgesChange": "edgesChange"; "connect": "connect"; "nodeData": "nodeData"; "nodeResizeEnd": "nodeResizeEnd"; "viewportChange": "viewportChange"; }, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { FlowNodeStore, FlowTemplate };
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/templates/flow/flow.template.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAQA,aAAA,QAAA;AACE;AACD;AAED,cAAA,aAAA,YAAA,mBAAA;AAGE,0CAAA,OAAA,CAAA,IAAA,SAAA,IAAA;;;;mBAIa,aAAA,CAAA,WAAA;;;AACd;AAED,cAAA,YAAA,SAAA,iBAAA;AAwDE,qCAAA,QAAA;oBAEc,aAAA,CAAA,WAAA,CAAA,IAAA;oBACA,aAAA,CAAA,WAAA,CAAA,IAAA;4BACQ,aAAA,CAAA,WAAA;AACtB,iCAA2B,aAAA,CAAA,WAAA;;;;;;;;;;AAUxB;wBAEe,aAAA,CAAA,gBAAA,EAAA,UAAA,EAAA,IAAA;0BACE,aAAA,CAAA,gBAAA,CAAA,UAAA;2BACC,aAAA,CAAA,gBAAA,EAAA,UAAA,EAAA,IAAA,EAAA,IAAA;0BACD,aAAA,CAAA,gBAAA,CAAA,UAAA;sBACJ,aAAA,CAAA,gBAAA,CAAA,UAAA;uBACC,aAAA,CAAA,gBAAA;AACjB,4BAAsB,aAAA,CAAA,gBAAA;;;;AAA+D;6BAC9D,aAAA,CAAA,gBAAA,CAAA,QAAA;AAEvB,kDAAA,UAAA,EAAA,QAAA;AAIA;;;AAGG;;AASH;;;AAAyE;;;AAO1E;;;;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
4
|
+
|
|
5
|
+
interface GroupNodeData {
|
|
6
|
+
label: string;
|
|
7
|
+
status?: string;
|
|
8
|
+
assignee?: string;
|
|
9
|
+
assigneeIcon?: string;
|
|
10
|
+
childCount?: number;
|
|
11
|
+
expanded?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare enum ActionId {
|
|
14
|
+
EXPANDED_CHANGE = "EXPANDED_CHANGE"
|
|
15
|
+
}
|
|
16
|
+
declare class GroupNodeComponent extends NgAtomicComponent {
|
|
17
|
+
static readonly ActionId: typeof ActionId;
|
|
18
|
+
readonly data: _angular_core.InputSignal<GroupNodeData>;
|
|
19
|
+
readonly expandedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
20
|
+
getStatusLabel(status?: string): string;
|
|
21
|
+
onExpandedChange(expanded: boolean): void;
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GroupNodeComponent, never>;
|
|
23
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GroupNodeComponent, "flow-group-node", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "expandedChange": "expandedChange"; }, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface ComponentMeta<T = unknown> {
|
|
27
|
+
title: string;
|
|
28
|
+
group?: 'atoms' | 'molecules' | 'organisms' | 'templates' | 'presenters' | 'extras';
|
|
29
|
+
component: Type<T>;
|
|
30
|
+
inputs?: Record<string, unknown>;
|
|
31
|
+
viewport?: {
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
};
|
|
35
|
+
variants?: {
|
|
36
|
+
name: string;
|
|
37
|
+
inputs: Record<string, unknown>;
|
|
38
|
+
}[];
|
|
39
|
+
}
|
|
40
|
+
declare const groupNodeMeta: ComponentMeta;
|
|
41
|
+
|
|
42
|
+
export { GroupNodeComponent, groupNodeMeta };
|
|
43
|
+
export type { GroupNodeData };
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../../../packages/@xxmachina/components/src/lib/templates/flow/nodes/group/group.node.ts","../../../../../../../../packages/@xxmachina/components/src/lib/templates/flow/nodes/group/group.node.meta.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;;;;;;AAWC;AAED;AACE;AACD;AAED;AAkJE;;;AAKA;AAcA;;;AAGD;;ACtLD;;AAEE;AACA;;AAEA;;;;AACA;;AAA2B;AAAiC;AAC7D;AAED;;;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type IssueStatus = 'open' | 'in_progress' | 'closed' | 'blocked';
|
|
5
|
+
type IssuePriority = 'critical' | 'high' | 'medium' | 'low';
|
|
6
|
+
interface IssueNodeData {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
status: IssueStatus;
|
|
10
|
+
priority?: IssuePriority;
|
|
11
|
+
assignee?: string;
|
|
12
|
+
assigneeIcon?: string;
|
|
13
|
+
blockedBy?: string[];
|
|
14
|
+
level?: number;
|
|
15
|
+
row?: number;
|
|
16
|
+
/** Effective level calculated from current position */
|
|
17
|
+
effectiveLevel?: number;
|
|
18
|
+
/** Effective row calculated from current position */
|
|
19
|
+
effectiveRow?: number;
|
|
20
|
+
}
|
|
21
|
+
declare class IssueNodeComponent {
|
|
22
|
+
data: IssueNodeData;
|
|
23
|
+
get hasDeps(): boolean;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IssueNodeComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IssueNodeComponent, "flow-issue-node", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface ComponentMeta<T = unknown> {
|
|
29
|
+
title: string;
|
|
30
|
+
group?: 'atoms' | 'molecules' | 'organisms' | 'templates' | 'presenters' | 'extras';
|
|
31
|
+
component: Type<T>;
|
|
32
|
+
inputs?: Record<string, unknown>;
|
|
33
|
+
viewport?: {
|
|
34
|
+
width?: number;
|
|
35
|
+
height?: number;
|
|
36
|
+
};
|
|
37
|
+
variants?: {
|
|
38
|
+
name: string;
|
|
39
|
+
inputs: Record<string, unknown>;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
42
|
+
declare const issueNodeMeta: ComponentMeta;
|
|
43
|
+
|
|
44
|
+
export { IssueNodeComponent, issueNodeMeta };
|
|
45
|
+
export type { IssueNodeData, IssuePriority, IssueStatus };
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../../../packages/@xxmachina/components/src/lib/templates/flow/nodes/issue/issue.node.ts","../../../../../../../../packages/@xxmachina/components/src/lib/templates/flow/nodes/issue/issue.node.meta.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;AAIM;AACA;;;;;;;;AASJ;;;;;;;AAOD;AAED;;;;;AAqKC;;ACzLD;;AAEE;AACA;;AAEA;;;;AACA;;AAA2B;AAAiC;AAC7D;AAED;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
interface TaskNodeData {
|
|
5
|
+
label: string;
|
|
6
|
+
status?: string;
|
|
7
|
+
assignee?: string;
|
|
8
|
+
assigneeIcon?: string;
|
|
9
|
+
task?: any;
|
|
10
|
+
}
|
|
11
|
+
declare class TaskNodeComponent {
|
|
12
|
+
data: TaskNodeData;
|
|
13
|
+
get hasDeps(): boolean;
|
|
14
|
+
getStatusLabel(status?: string): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskNodeComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskNodeComponent, "flow-task-node", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface ComponentMeta<T = unknown> {
|
|
20
|
+
title: string;
|
|
21
|
+
group?: 'atoms' | 'molecules' | 'organisms' | 'templates' | 'presenters' | 'extras';
|
|
22
|
+
component: Type<T>;
|
|
23
|
+
inputs?: Record<string, unknown>;
|
|
24
|
+
viewport?: {
|
|
25
|
+
width?: number;
|
|
26
|
+
height?: number;
|
|
27
|
+
};
|
|
28
|
+
variants?: {
|
|
29
|
+
name: string;
|
|
30
|
+
inputs: Record<string, unknown>;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
declare const taskNodeMeta: ComponentMeta;
|
|
34
|
+
|
|
35
|
+
export { TaskNodeComponent, taskNodeMeta };
|
|
36
|
+
export type { TaskNodeData };
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../../../packages/@xxmachina/components/src/lib/templates/flow/nodes/task/task.component.ts","../../../../../../../../packages/@xxmachina/components/src/lib/templates/flow/nodes/task/task.component.meta.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;;;;;;AAUC;AAED;;;AA6KE;;;AAQD;;AC9LD;;AAEE;AACA;;AAEA;;;;AACA;;AAA2B;AAAiC;AAC7D;AAED;;;"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, Injectable } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
class CalendarService {
|
|
6
|
-
http = inject(HttpClient);
|
|
7
|
-
list() {
|
|
8
|
-
return this.http.get('/api/calendars');
|
|
9
|
-
}
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: CalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: CalendarService, providedIn: 'root' });
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: CalendarService, decorators: [{
|
|
14
|
-
type: Injectable,
|
|
15
|
-
args: [{
|
|
16
|
-
providedIn: 'root'
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Generated bundle index. Do not edit.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
export { CalendarService };
|
|
25
|
-
//# sourceMappingURL=xxmachina-components-services-calendar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xxmachina-components-services-calendar.mjs","sources":["../tmp-esm2022/services/calendar/calendar.service.js","../tmp-esm2022/services/calendar/xxmachina-components-services-calendar.js"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class CalendarService {\n http = inject(HttpClient);\n list() {\n return this.http.get('/api/calendars');\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.5\", ngImport: i0, type: CalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.0.5\", ngImport: i0, type: CalendarService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.5\", ngImport: i0, type: CalendarService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root'\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0B4eG1hY2hpbmEvY29tcG9uZW50cy9zcmMvbGliL3NlcnZpY2VzL2NhbGVuZGFyL2NhbGVuZGFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU9uRCxNQUFNLE9BQU8sZUFBZTtJQUUxQixJQUFJLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBRTFCLElBQUk7UUFDRixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFhLGdCQUFnQixDQUFDLENBQUM7SUFDckQsQ0FBQzt1R0FOVSxlQUFlOzJHQUFmLGVBQWUsY0FGZCxNQUFNOzsyRkFFUCxlQUFlO2tCQUgzQixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEh0dHBDbGllbnQgfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XG5pbXBvcnQgeyBJbmplY3RhYmxlLCBpbmplY3QgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENhbGVuZGFyIH0gZnJvbSAnQHh4bWFjaGluYS9jb21tb24vZG9tYWluL21vZGVscyc7XG5pbXBvcnQgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIENhbGVuZGFyU2VydmljZSB7XG5cbiAgaHR0cCA9IGluamVjdChIdHRwQ2xpZW50KTtcblxuICBsaXN0KCk6IE9ic2VydmFibGU8Q2FsZW5kYXJbXT4ge1xuICAgIHJldHVybiB0aGlzLmh0dHAuZ2V0PENhbGVuZGFyW10+KCcvYXBpL2NhbGVuZGFycycpO1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieHhtYWNoaW5hLWNvbXBvbmVudHMtc2VydmljZXMtY2FsZW5kYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AeHhtYWNoaW5hL2NvbXBvbmVudHMvc3JjL2xpYi9zZXJ2aWNlcy9jYWxlbmRhci94eG1hY2hpbmEtY29tcG9uZW50cy1zZXJ2aWNlcy1jYWxlbmRhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;;AAGO,MAAM,eAAe,CAAC;AAC7B,IAAI,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;AAC7B,IAAI,IAAI,GAAG;AACX,QAAQ,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC;AAC9C,IAAI;AACJ,IAAI,OAAO,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC;AAC1K,IAAI,OAAO,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;AACjJ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE;AAChC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AChBb;AACA;AACA;;;;"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, Injectable } from '@angular/core';
|
|
4
|
-
import { Schedule } from '@xxmachina/common/domain/models';
|
|
5
|
-
import { map, lastValueFrom } from 'rxjs';
|
|
6
|
-
import dayjs from 'dayjs';
|
|
7
|
-
|
|
8
|
-
class ScheduleService {
|
|
9
|
-
http = inject(HttpClient);
|
|
10
|
-
list() {
|
|
11
|
-
return this.http.get('/api/calendars/primary/schedules').pipe(map(schedules => schedules.map(schedule => Schedule.from({
|
|
12
|
-
...schedule,
|
|
13
|
-
startAt: dayjs(schedule.startAt),
|
|
14
|
-
endAt: dayjs(schedule.endAt),
|
|
15
|
-
}))));
|
|
16
|
-
}
|
|
17
|
-
create(schedule) {
|
|
18
|
-
return lastValueFrom(this.http.post('/api/calendars/primary/schedules', schedule).pipe(map(schedule => Schedule.from({
|
|
19
|
-
...schedule,
|
|
20
|
-
startAt: dayjs(schedule.startAt),
|
|
21
|
-
endAt: dayjs(schedule.endAt),
|
|
22
|
-
}))));
|
|
23
|
-
}
|
|
24
|
-
update(schedule) {
|
|
25
|
-
const calendarId = schedule.calendarId || 'primary';
|
|
26
|
-
return lastValueFrom(this.http.patch(`/api/calendars/${calendarId}/schedules/${schedule.id}`, schedule));
|
|
27
|
-
}
|
|
28
|
-
delete(schedule) {
|
|
29
|
-
const calendarId = schedule.calendarId || 'primary';
|
|
30
|
-
return lastValueFrom(this.http.delete(`/api/calendars/${calendarId}/schedules/${schedule.id}`));
|
|
31
|
-
}
|
|
32
|
-
makeConference(schedule) {
|
|
33
|
-
const calendarId = schedule.calendarId || 'primary';
|
|
34
|
-
return lastValueFrom(this.http.patch(`/api/calendars/${calendarId}/schedules/${schedule.id}/make-conference`, {}));
|
|
35
|
-
}
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ScheduleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
37
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ScheduleService, providedIn: 'root' });
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ScheduleService, decorators: [{
|
|
40
|
-
type: Injectable,
|
|
41
|
-
args: [{
|
|
42
|
-
providedIn: 'root'
|
|
43
|
-
}]
|
|
44
|
-
}] });
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Generated bundle index. Do not edit.
|
|
48
|
-
*/
|
|
49
|
-
|
|
50
|
-
export { ScheduleService };
|
|
51
|
-
//# sourceMappingURL=xxmachina-components-services-schedule.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xxmachina-components-services-schedule.mjs","sources":["../tmp-esm2022/services/schedule/schedule.service.js","../tmp-esm2022/services/schedule/xxmachina-components-services-schedule.js"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport { Schedule } from '@xxmachina/common/domain/models';\nimport { lastValueFrom, map } from 'rxjs';\nimport dayjs from 'dayjs';\nimport * as i0 from \"@angular/core\";\nexport class ScheduleService {\n http = inject(HttpClient);\n list() {\n return this.http.get('/api/calendars/primary/schedules').pipe(map(schedules => schedules.map(schedule => Schedule.from({\n ...schedule,\n startAt: dayjs(schedule.startAt),\n endAt: dayjs(schedule.endAt),\n }))));\n }\n create(schedule) {\n return lastValueFrom(this.http.post('/api/calendars/primary/schedules', schedule).pipe(map(schedule => Schedule.from({\n ...schedule,\n startAt: dayjs(schedule.startAt),\n endAt: dayjs(schedule.endAt),\n }))));\n }\n update(schedule) {\n const calendarId = schedule.calendarId || 'primary';\n return lastValueFrom(this.http.patch(`/api/calendars/${calendarId}/schedules/${schedule.id}`, schedule));\n }\n delete(schedule) {\n const calendarId = schedule.calendarId || 'primary';\n return lastValueFrom(this.http.delete(`/api/calendars/${calendarId}/schedules/${schedule.id}`));\n }\n makeConference(schedule) {\n const calendarId = schedule.calendarId || 'primary';\n return lastValueFrom(this.http.patch(`/api/calendars/${calendarId}/schedules/${schedule.id}/make-conference`, {}));\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.5\", ngImport: i0, type: ScheduleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });\n static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.0.5\", ngImport: i0, type: ScheduleService, providedIn: 'root' });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.5\", ngImport: i0, type: ScheduleService, decorators: [{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LCBjYWxlbmRhcklkPzogc3RyaW5nfSk6IFByb21pc2U8dm9pZD4ge1xuICAgIGNvbnN0IGNhbGVuZGFySWQgPSBzY2hlZHVsZS5jYWxlbmRhcklkIHx8ICdwcmltYXJ5JztcbiAgICByZXR1cm4gbGFzdFZhbHVlRnJvbSh0aGlzLmh0dHAuZGVsZXRlPHZvaWQ+KGAvYXBpL2NhbGVuZGFycy8ke2NhbGVuZGFySWR9L3NjaGVkdWxlcy8ke3NjaGVkdWxlLmlkfWApKTtcbiAgfVxuXG4gIG1ha2VDb25mZXJlbmNlKHNjaGVkdWxlOiBQYXJ0aWFsPFNjaGVkdWxlPiAmIHtpZDogc3RyaW5nLCBjYWxlbmRhcklkPzogc3RyaW5nfSk6IFByb21pc2U8U2NoZWR1bGU+IHtcbiAgICBjb25zdCBjYWxlbmRhcklkID0gc2NoZWR1bGUuY2FsZW5kYXJJZCB8fCAncHJpbWFyeSc7XG4gICAgcmV0dXJuIGxhc3RWYWx1ZUZyb20odGhpcy5odHRwLnBhdGNoPFNjaGVkdWxlPihgL2FwaS9jYWxlbmRhcnMvJHtjYWxlbmRhcklkfS9zY2hlZHVsZXMvJHtzY2hlZHVsZS5pZH0vbWFrZS1jb25mZXJlbmNlYCwge30pKTtcbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieHhtYWNoaW5hLWNvbXBvbmVudHMtc2VydmljZXMtc2NoZWR1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AeHhtYWNoaW5hL2NvbXBvbmVudHMvc3JjL2xpYi9zZXJ2aWNlcy9zY2hlZHVsZS94eG1hY2hpbmEtY29tcG9uZW50cy1zZXJ2aWNlcy1zY2hlZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs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AAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE;AAChC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC1Cb;AACA;AACA;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Calendar } from '@xxmachina/common/domain/models';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
|
|
6
|
-
declare class CalendarService {
|
|
7
|
-
http: HttpClient;
|
|
8
|
-
list(): Observable<Calendar[]>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { CalendarService };
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/services/calendar/calendar.service.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA,cAAA,eAAA;AAKE,UAAA,UAAA;AAEA,YAAA,UAAA,CAAA,QAAA;;;AAGD;;;;"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Schedule } from '@xxmachina/common/domain/models';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
|
|
6
|
-
declare class ScheduleService {
|
|
7
|
-
http: HttpClient;
|
|
8
|
-
list(): Observable<Schedule[]>;
|
|
9
|
-
create(schedule: Schedule): Promise<Schedule>;
|
|
10
|
-
update(schedule: Partial<Schedule> & {
|
|
11
|
-
id: string;
|
|
12
|
-
calendarId?: string;
|
|
13
|
-
}): Promise<void>;
|
|
14
|
-
delete(schedule: Partial<Schedule> & {
|
|
15
|
-
id: string;
|
|
16
|
-
calendarId?: string;
|
|
17
|
-
}): Promise<void>;
|
|
18
|
-
makeConference(schedule: Partial<Schedule> & {
|
|
19
|
-
id: string;
|
|
20
|
-
calendarId?: string;
|
|
21
|
-
}): Promise<Schedule>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScheduleService>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { ScheduleService };
|
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/services/schedule/schedule.service.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAMA,cAAA,eAAA;AAIE,UAAA,UAAA;AAEA,YAAA,UAAA,CAAA,QAAA;;AAoBA,qBAAA,OAAA,CAAA,QAAA;;;;AAKA,qBAAA,OAAA,CAAA,QAAA;;;;AAKA,6BAAA,OAAA,CAAA,QAAA;;;;;;AAID;;;;"}
|