@coolon/angular-ui-powerups 3.9.0 → 3.10.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/CHANGELOG.md +9 -0
- package/assets/table.scss +18 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +1210 -507
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/components.module.js +13 -5
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/exports.js +11 -0
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/table/abstract-table-model.js +173 -0
- package/esm2015/lib/components/table/abstract-table-model.js.map +1 -0
- package/esm2015/lib/components/table/abstract-table-model.metadata.json +1 -0
- package/esm2015/lib/components/table/column-model.js +6 -3
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/table/table-model.js +7 -171
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-model.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.js +3 -3
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/esm2015/lib/components/tree-table/decorated-tree-node.js +169 -0
- package/esm2015/lib/components/tree-table/decorated-tree-node.js.map +1 -0
- package/esm2015/lib/components/tree-table/decorated-tree-node.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-expansion-model.js +48 -0
- package/esm2015/lib/components/tree-table/tree-expansion-model.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-expansion-model.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +68 -0
- package/esm2015/lib/components/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +71 -0
- package/esm2015/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-label-column-model.js +33 -0
- package/esm2015/lib/components/tree-table/tree-label-column-model.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-label-column-model.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-node.js +2 -0
- package/esm2015/lib/components/tree-table/tree-node.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-node.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-table-component.js +63 -0
- package/esm2015/lib/components/tree-table/tree-table-component.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-table-component.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-table-component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-table-model.js +108 -0
- package/esm2015/lib/components/tree-table/tree-table-model.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-table-model.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/tree-table.component.scss.ngstyle.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-to-list-model.js +25 -0
- package/esm2015/lib/components/tree-table/tree-to-list-model.js.map +1 -0
- package/esm2015/lib/components/tree-table/tree-to-list-model.metadata.json +1 -0
- package/esm2015/lib/components/tree-table/visitable.class.js +26 -0
- package/esm2015/lib/components/tree-table/visitable.class.js.map +1 -0
- package/esm2015/lib/components/tree-table/visitable.class.metadata.json +1 -0
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/route/visit-sanitiser.js +1 -1
- package/esm2015/lib/place/route/visit-sanitiser.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +966 -373
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/exports.d.ts +11 -0
- package/lib/components/table/abstract-table-model.d.ts +61 -0
- package/lib/components/table/column-model.d.ts +11 -12
- package/lib/components/table/table-model.d.ts +4 -59
- package/lib/components/table/table.component.d.ts +2 -2
- package/lib/components/tree-table/decorated-tree-node.d.ts +43 -0
- package/lib/components/tree-table/tree-expansion-model.d.ts +18 -0
- package/lib/components/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +28 -0
- package/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +25 -0
- package/lib/components/tree-table/tree-label-column-model.d.ts +20 -0
- package/lib/components/tree-table/tree-node.d.ts +3 -0
- package/lib/components/tree-table/tree-table-component.d.ts +7 -0
- package/lib/components/tree-table/tree-table-model.d.ts +33 -0
- package/lib/components/tree-table/tree-to-list-model.d.ts +12 -0
- package/lib/components/tree-table/visitable.class.d.ts +22 -0
- package/package.json +1 -1
- package/schematics/place-routes/place-builder.js +1 -1
- package/schematics/place-routes/place-builder.js.map +1 -1
- package/schematics/utils/build-context.js +0 -2
- package/schematics/utils/build-context.js.map +1 -1
- package/schematics/utils/schematic-tree-file-system.js +6 -2
- package/schematics/utils/schematic-tree-file-system.js.map +1 -1
|
@@ -37,6 +37,7 @@ export * from "./noop/noop.component";
|
|
|
37
37
|
export * from "./scroll-container/scroll-container.component";
|
|
38
38
|
export * from "./section-header/section-header.component";
|
|
39
39
|
export * from "./switch-case/switch-case.component";
|
|
40
|
+
export * from "./table/abstract-table-model";
|
|
40
41
|
export * from "./table/cell-editors";
|
|
41
42
|
export * from "./table/cell-portal-ref";
|
|
42
43
|
export * from "./table/cell-renderer";
|
|
@@ -56,6 +57,16 @@ export * from "./table/select-header-cell-renderer/select-header-cell-renderer.c
|
|
|
56
57
|
export * from "./table/table-cell-renderer/table-cell-renderer.component";
|
|
57
58
|
export * from "./table/table-header-cell-renderer/table-header-cell-renderer.component";
|
|
58
59
|
export * from "./table/table-row-menu/table-row-menu.component";
|
|
60
|
+
export * from "./tree-table/decorated-tree-node";
|
|
61
|
+
export * from "./tree-table/tree-expansion-model";
|
|
62
|
+
export * from "./tree-table/tree-label-column-model";
|
|
63
|
+
export * from "./tree-table/tree-node";
|
|
64
|
+
export * from "./tree-table/tree-table-component";
|
|
65
|
+
export * from "./tree-table/tree-table-model";
|
|
66
|
+
export * from "./tree-table/tree-to-list-model";
|
|
67
|
+
export * from "./tree-table/visitable.class";
|
|
68
|
+
export * from "./tree-table/tree-inheritance-icon/tree-inheritance-icon.component";
|
|
69
|
+
export * from "./tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component";
|
|
59
70
|
export * from "./types/bounds.class";
|
|
60
71
|
export * from "./types/dimension.class";
|
|
61
72
|
export * from "./types/point.class";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
+
import { BooleanValueModelChain, CanIdentify, DirtyTrackingForm, Disposable, GarbageCollector, ListModel, ListModelChain, SelectionModel, Types, UnaryCommand, ValueModelChain } from '@coolon/pectin';
|
|
3
|
+
import { CellRenderer } from './cell-renderer';
|
|
4
|
+
import { CellRendererOptions, ColumnModel, CustomTemplateColumnModel, CustomValueColumnModel, EditorControlColumnModel, ListPropertyColumnModel, OnComponentInit, PropertyColumnModel, SelectionColumnModel } from './column-model';
|
|
5
|
+
import { ColumnTextProperties } from './column-text-properties';
|
|
6
|
+
import { EditSession } from './edit-session';
|
|
7
|
+
export declare class AbstractTableModel<Row> extends GarbageCollector {
|
|
8
|
+
private sourceOfTruth;
|
|
9
|
+
private readonly _columns;
|
|
10
|
+
private _columnsById;
|
|
11
|
+
private _editorSessions;
|
|
12
|
+
private readonly _rowsBeingEdited;
|
|
13
|
+
private readonly rowClassNamePredicates;
|
|
14
|
+
private _columnTextPropertiesLookup;
|
|
15
|
+
readonly identityOf: CanIdentify<Row>['identityOf'];
|
|
16
|
+
private saveCommand;
|
|
17
|
+
private _editorSessionByRowId;
|
|
18
|
+
readonly editing: BooleanValueModelChain;
|
|
19
|
+
readonly dataSource: ListModelChain<Row>;
|
|
20
|
+
readonly firstEditableColumn: ValueModelChain<ColumnModel<Row>>;
|
|
21
|
+
private selectionColumnModel;
|
|
22
|
+
private hasColumnsWithRowSelectionExplicitlyEnabled;
|
|
23
|
+
private readonly rowClickListeners;
|
|
24
|
+
private _createForm;
|
|
25
|
+
protected constructor(sourceOfTruth: ListModel<Row>);
|
|
26
|
+
get rowsBeingEdited(): ListModel<Row>;
|
|
27
|
+
readonly trackBy: (index: number, item: Row) => any;
|
|
28
|
+
get columns(): ListModel<ColumnModel<Row>>;
|
|
29
|
+
pluck<P extends Types.ValuePropertiesOf<Row>>(property: P, options?: {
|
|
30
|
+
columnId: string;
|
|
31
|
+
}): PropertyColumnModel<Row, P>;
|
|
32
|
+
pluckList<P extends Types.ArrayPropertiesOf<Row>>(property: P, options?: {
|
|
33
|
+
columnId: string;
|
|
34
|
+
}): ListPropertyColumnModel<Row, P>;
|
|
35
|
+
protected _addSelectionColumn(selectionModel: SelectionModel<Row>): SelectionColumnModel<Row>;
|
|
36
|
+
addEditControls(saveCommand: UnaryCommand<DirtyTrackingForm<Row>, boolean>): EditorControlColumnModel<Row>;
|
|
37
|
+
addCustomColumn<V>(columnId: string, dataAccessor: (row: Row) => V): CustomValueColumnModel<Row, V>;
|
|
38
|
+
addComponentColumn<C extends CellRenderer<Row>>(columnId: string, component: ComponentType<C>, onInit?: OnComponentInit<C>): CustomValueColumnModel<Row, Row>;
|
|
39
|
+
addComponentColumn<C extends CellRenderer<Row>>(columnId: string, component: ComponentType<C>, options?: CellRendererOptions<Row, C>): CustomValueColumnModel<Row, Row>;
|
|
40
|
+
addTemplateColumn<V>(columnId: string): CustomTemplateColumnModel<Row>;
|
|
41
|
+
addRowClass(className: string, predicate: (row: Row) => boolean): void;
|
|
42
|
+
getRowClasses(row: Row): string[];
|
|
43
|
+
useFormFactory(factory: (row: Row) => DirtyTrackingForm<Row>): this;
|
|
44
|
+
protected addColumn<C extends ColumnModel<Row>>(column: C): C;
|
|
45
|
+
get selectionModel(): SelectionModel<Row>;
|
|
46
|
+
columnTextProperties(columnTextProperties: {
|
|
47
|
+
[columnName: string]: ColumnTextProperties;
|
|
48
|
+
}): void;
|
|
49
|
+
getColumnTextProperties(columnId: string): ColumnTextProperties;
|
|
50
|
+
startEditSession(row: Row): EditSession<Row>;
|
|
51
|
+
getEditSessionFor(row: Row): EditSession<Row>;
|
|
52
|
+
cancelAllEditorSessions(): void;
|
|
53
|
+
isRowSelectionEnabledFor(column: ColumnModel<Row>): boolean | undefined;
|
|
54
|
+
isRowSelectionEnabledByDefault(): boolean;
|
|
55
|
+
isRowSelectionEnabled(): boolean;
|
|
56
|
+
isHoverEnabled(): boolean;
|
|
57
|
+
isCursorEnabled(column: ColumnModel<Row>): boolean;
|
|
58
|
+
selectRow(row: Row): void;
|
|
59
|
+
onRowClicked(callback: (row: Row) => void): Disposable;
|
|
60
|
+
_notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
61
|
+
}
|
|
@@ -24,13 +24,14 @@ export interface MutableCellRendererOptions<Row, E, P extends keyof Row> extends
|
|
|
24
24
|
}
|
|
25
25
|
export declare class ColumnModel<Row> {
|
|
26
26
|
readonly columnId: string;
|
|
27
|
-
private
|
|
27
|
+
private textPropertiesProvider;
|
|
28
28
|
private _columnTextProperties;
|
|
29
29
|
private _columnHeaderPortalRef;
|
|
30
30
|
private _cellRendererPortalRef;
|
|
31
31
|
private _cellEditorPortalRef;
|
|
32
32
|
private _selectRowOnClick;
|
|
33
|
-
constructor(columnId: string,
|
|
33
|
+
constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
|
|
34
|
+
protected installHeaderRenderer(): void;
|
|
34
35
|
getHeaderText(): string;
|
|
35
36
|
protected getDefaultHeaderText(): string;
|
|
36
37
|
getColumnTextProperties(): ColumnTextProperties;
|
|
@@ -52,14 +53,12 @@ export declare class ColumnModel<Row> {
|
|
|
52
53
|
isRowSelectionExplicitlyDisabled(): boolean;
|
|
53
54
|
}
|
|
54
55
|
export declare namespace ColumnModel {
|
|
55
|
-
|
|
56
|
-
getColumnTextProperties(columnModel: ColumnModel<any>): ColumnTextProperties;
|
|
57
|
-
}
|
|
56
|
+
type TextPropertiesProvider = () => ColumnTextProperties;
|
|
58
57
|
}
|
|
59
58
|
export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
|
|
60
59
|
readonly property: P;
|
|
61
60
|
private _format;
|
|
62
|
-
constructor(id: string, property: P, defaults: ColumnModel.
|
|
61
|
+
constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
|
|
63
62
|
cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, options?: CellRendererOptions<Row, E>): this;
|
|
64
63
|
cellRenderer<E extends CellRenderer<Row[P]>>(componentType: ComponentType<E>, onComponentInit?: OnComponentInit<E>): this;
|
|
65
64
|
liveEditCellRenderer<E extends MutableCellRenderer<Row[P]>>(componentType: ComponentType<E>, options: MutableCellRendererOptions<Row, E, P>): this;
|
|
@@ -77,7 +76,7 @@ export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<
|
|
|
77
76
|
export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
|
|
78
77
|
readonly property: P;
|
|
79
78
|
private _format;
|
|
80
|
-
constructor(id: string, property: P, defaults: ColumnModel.
|
|
79
|
+
constructor(id: string, property: P, defaults: ColumnModel.TextPropertiesProvider);
|
|
81
80
|
cellRenderer(componentType: ComponentType<{
|
|
82
81
|
value: Types.ArrayElementType<Row, P>[];
|
|
83
82
|
}>): this;
|
|
@@ -88,14 +87,14 @@ export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertie
|
|
|
88
87
|
}
|
|
89
88
|
export declare class CustomValueColumnModel<Row, V> extends ColumnModel<Row> {
|
|
90
89
|
private getValue;
|
|
91
|
-
constructor(columnId: string, defaults: ColumnModel.
|
|
90
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, getValue: (row: Row) => V);
|
|
92
91
|
cellRenderer<C extends {
|
|
93
92
|
value: V;
|
|
94
93
|
}>(componentType: ComponentType<C>, onComponentInitOrOptions?: CellRendererOptions<Row, C> | OnComponentInit<C>): this;
|
|
95
94
|
selectRowOnClick(selectOnRowClick: boolean): this;
|
|
96
95
|
}
|
|
97
96
|
export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
|
|
98
|
-
constructor(columnId: string, saveCommand: UnaryCommand<DirtyTrackingForm<Row>, boolean>, defaults: ColumnModel.
|
|
97
|
+
constructor(columnId: string, saveCommand: UnaryCommand<DirtyTrackingForm<Row>, boolean>, defaults: ColumnModel.TextPropertiesProvider);
|
|
99
98
|
cellRenderer(componentType: ComponentType<{
|
|
100
99
|
row: Row;
|
|
101
100
|
editSession: EditSession<Row>;
|
|
@@ -105,14 +104,14 @@ export declare class EditorControlColumnModel<Row> extends ColumnModel<Row> {
|
|
|
105
104
|
}
|
|
106
105
|
export declare class CustomTemplateColumnModel<Row> extends ColumnModel<Row> {
|
|
107
106
|
private readonly config;
|
|
108
|
-
constructor(columnId: string, defaults: ColumnModel.
|
|
107
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider);
|
|
109
108
|
setTemplate(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
110
109
|
selectRowOnClick(selectOnRowClick: boolean): this;
|
|
111
110
|
}
|
|
112
111
|
export declare class SelectionColumnModel<Row> extends ColumnModel<Row> {
|
|
113
|
-
|
|
112
|
+
readonly selectionModel: SelectionModel<Row>;
|
|
114
113
|
private _enableHeaderControls;
|
|
115
|
-
constructor(columnId: string, defaults: ColumnModel.
|
|
114
|
+
constructor(columnId: string, defaults: ColumnModel.TextPropertiesProvider, selectionModel: SelectionModel<Row>);
|
|
116
115
|
protected getDefaultHeaderText(): string;
|
|
117
116
|
isRowSelectionEnabledByDefault(): boolean | undefined;
|
|
118
117
|
selectOnRowClick(selectOnRowClick: boolean): this;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { CellRendererOptions, ColumnModel, CustomTemplateColumnModel, CustomValueColumnModel, EditorControlColumnModel, ListPropertyColumnModel, OnComponentInit, PropertyColumnModel, SelectionColumnModel } from './column-model';
|
|
5
|
-
import { ColumnTextProperties } from './column-text-properties';
|
|
6
|
-
import { EditSession } from './edit-session';
|
|
1
|
+
import { ListModel, SelectionModel } from '@coolon/pectin';
|
|
2
|
+
import { AbstractTableModel } from './abstract-table-model';
|
|
3
|
+
import { SelectionColumnModel } from './column-model';
|
|
7
4
|
/**
|
|
8
5
|
* Example:
|
|
9
6
|
* @example
|
|
@@ -74,59 +71,7 @@ import { EditSession } from './edit-session';
|
|
|
74
71
|
* table.columnTextProperties(I18n.table.columns); // <- configures all columns
|
|
75
72
|
* });
|
|
76
73
|
*/
|
|
77
|
-
export declare class TableModel<Row> {
|
|
78
|
-
private sourceOfTruth;
|
|
79
|
-
private readonly _garbage;
|
|
80
|
-
private readonly _columns;
|
|
81
|
-
private _columnsById;
|
|
82
|
-
private _editorSessions;
|
|
83
|
-
private readonly _rowsBeingEdited;
|
|
84
|
-
private readonly rowClassNamePredicates;
|
|
85
|
-
private _columnTextPropertiesLookup;
|
|
86
|
-
readonly identityOf: CanIdentify<Row>['identityOf'];
|
|
87
|
-
private saveCommand;
|
|
88
|
-
private _editorSessionByRowId;
|
|
89
|
-
readonly editing: BooleanValueModelChain;
|
|
90
|
-
readonly dataSource: ListModelChain<Row>;
|
|
91
|
-
readonly firstEditableColumn: ValueModelChain<ColumnModel<Row>>;
|
|
92
|
-
private selectionColumnModel;
|
|
93
|
-
private hasColumnsWithRowSelectionExplicitlyEnabled;
|
|
94
|
-
private readonly rowClickListeners;
|
|
74
|
+
export declare class TableModel<Row> extends AbstractTableModel<Row> {
|
|
95
75
|
static fromList<Row>(sourceOfTruth: ListModel<Row>, builder?: (tableModel: TableModel<Row>) => void): TableModel<Row>;
|
|
96
|
-
private _createForm;
|
|
97
|
-
protected constructor(sourceOfTruth: ListModel<Row>);
|
|
98
|
-
get rowsBeingEdited(): ListModel<Row>;
|
|
99
|
-
readonly trackBy: (index: number, item: Row) => any;
|
|
100
|
-
get columns(): ListModel<ColumnModel<Row>>;
|
|
101
|
-
pluck<P extends Types.ValuePropertiesOf<Row>>(property: P, options?: {
|
|
102
|
-
columnId: string;
|
|
103
|
-
}): PropertyColumnModel<Row, P>;
|
|
104
|
-
pluckList<P extends Types.ArrayPropertiesOf<Row>>(property: P, options?: {
|
|
105
|
-
columnId: string;
|
|
106
|
-
}): ListPropertyColumnModel<Row, P>;
|
|
107
76
|
addSelectionColumn(selectionModel: SelectionModel<Row>): SelectionColumnModel<Row>;
|
|
108
|
-
addEditControls(saveCommand: UnaryCommand<DirtyTrackingForm<Row>, boolean>): EditorControlColumnModel<Row>;
|
|
109
|
-
addCustomColumn<V>(columnId: string, dataAccessor: (row: Row) => V): CustomValueColumnModel<Row, V>;
|
|
110
|
-
addComponentColumn<C extends CellRenderer<Row>>(columnId: string, component: ComponentType<C>, onInit?: OnComponentInit<C>): CustomValueColumnModel<Row, Row>;
|
|
111
|
-
addComponentColumn<C extends CellRenderer<Row>>(columnId: string, component: ComponentType<C>, options?: CellRendererOptions<Row, C>): CustomValueColumnModel<Row, Row>;
|
|
112
|
-
addTemplateColumn<V>(columnId: string): CustomTemplateColumnModel<Row>;
|
|
113
|
-
addRowClass(className: string, predicate: (row: Row) => boolean): void;
|
|
114
|
-
getRowClasses(row: Row): string[];
|
|
115
|
-
useFormFactory(factory: (row: Row) => DirtyTrackingForm<Row>): this;
|
|
116
|
-
protected addColumn<C extends ColumnModel<Row>>(column: C): C;
|
|
117
|
-
columnTextProperties(columnTextProperties: {
|
|
118
|
-
[columnName: string]: ColumnTextProperties;
|
|
119
|
-
}): void;
|
|
120
|
-
getColumnTextProperties(column: ColumnModel<Row>): ColumnTextProperties;
|
|
121
|
-
startEditSession(row: Row): EditSession<Row>;
|
|
122
|
-
getEditSessionFor(row: Row): EditSession<Row>;
|
|
123
|
-
cancelAllEditorSessions(): void;
|
|
124
|
-
isRowSelectionEnabledFor(column: ColumnModel<Row>): boolean | undefined;
|
|
125
|
-
isRowSelectionEnabledByDefault(): boolean;
|
|
126
|
-
isRowSelectionEnabled(): boolean;
|
|
127
|
-
isHoverEnabled(): boolean;
|
|
128
|
-
isCursorEnabled(column: ColumnModel<Row>): boolean;
|
|
129
|
-
selectRow(row: Row): void;
|
|
130
|
-
onRowClicked(callback: (row: Row) => void): Disposable;
|
|
131
|
-
_notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
132
77
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ListModelChain } from '@coolon/pectin';
|
|
3
3
|
import { DisposableComponent } from '../disposable-component';
|
|
4
|
+
import { AbstractTableModel } from './abstract-table-model';
|
|
4
5
|
import { ColumnModel } from './column-model';
|
|
5
|
-
import { TableModel } from './table-model';
|
|
6
6
|
/**
|
|
7
7
|
* Create your model:
|
|
8
8
|
* @example
|
|
@@ -31,7 +31,7 @@ import { TableModel } from './table-model';
|
|
|
31
31
|
* }
|
|
32
32
|
*/
|
|
33
33
|
export declare class TableComponent<Row> extends DisposableComponent implements OnInit {
|
|
34
|
-
tableModel:
|
|
34
|
+
tableModel: AbstractTableModel<Row>;
|
|
35
35
|
columns: ListModelChain<ColumnModel<Row>>;
|
|
36
36
|
columnIds: ListModelChain<string>;
|
|
37
37
|
private columnsById;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Predicate } from '@coolon/pectin';
|
|
2
|
+
import { TreeNode } from './tree-node';
|
|
3
|
+
import { Visitor } from './visitable.class';
|
|
4
|
+
declare class DecoratedTreeNodeMixin<T extends TreeNode<T>> {
|
|
5
|
+
readonly parent: DecoratedTreeNode<T> | undefined;
|
|
6
|
+
readonly node: T;
|
|
7
|
+
constructor(parent: DecoratedTreeNode<T> | undefined, node: T);
|
|
8
|
+
get decoratedSelf(): DecoratedTreeNode<T>;
|
|
9
|
+
get children(): DecoratedTreeNode<T>[];
|
|
10
|
+
descendants(): DecoratedTreeNode<T>[];
|
|
11
|
+
selfAndDescendants(): DecoratedTreeNode<T>[];
|
|
12
|
+
siblingsBefore(): DecoratedTreeNode<T>[];
|
|
13
|
+
siblingsAfter(): DecoratedTreeNode<T>[];
|
|
14
|
+
siblings(): DecoratedTreeNode<T>[];
|
|
15
|
+
isFirstChild(): boolean;
|
|
16
|
+
protected myIndex(): any;
|
|
17
|
+
isLastChild(): boolean;
|
|
18
|
+
hasSiblings(): boolean;
|
|
19
|
+
find(predicate: Predicate<DecoratedTreeNode<T>>): DecoratedTreeNode<T>;
|
|
20
|
+
select(predicate: Predicate<DecoratedTreeNode<T>>): DecoratedTreeNode<T>[];
|
|
21
|
+
flattenInto(array: DecoratedTreeNode<T>[]): DecoratedTreeNode<T>[];
|
|
22
|
+
ancestors(): DecoratedTreeNode<T>[];
|
|
23
|
+
ancestorsAndSelf(): DecoratedTreeNode<T>[];
|
|
24
|
+
pathToParent(parent: DecoratedTreeNode<T>): DecoratedTreeNode<T>[];
|
|
25
|
+
pathToParentAndSelf(parent: any): DecoratedTreeNode<T>[];
|
|
26
|
+
isRoot(): boolean;
|
|
27
|
+
get depth(): number;
|
|
28
|
+
isLeaf(): boolean;
|
|
29
|
+
hasChildren(): boolean;
|
|
30
|
+
depthFromParent(parent: any): number;
|
|
31
|
+
treeDepth(): number;
|
|
32
|
+
flatten(): DecoratedTreeNode<T>[];
|
|
33
|
+
visit<V extends Visitor<DecoratedTreeNode<T>>>(visitor: V): V;
|
|
34
|
+
visitChildren<V extends Visitor<DecoratedTreeNode<T>>>(visitor: V): V;
|
|
35
|
+
visitSelfAndDescendants(callback: (it: DecoratedTreeNode<T>) => void): void;
|
|
36
|
+
visitDescendants(callback: (it: DecoratedTreeNode<T>) => void): void;
|
|
37
|
+
protected memoize<V>(property: string, factory: () => V): any;
|
|
38
|
+
}
|
|
39
|
+
export declare type DecoratedTreeNode<T extends TreeNode<T>> = Omit<T, 'children'> & DecoratedTreeNodeMixin<T>;
|
|
40
|
+
export declare namespace DecoratedTreeNode {
|
|
41
|
+
function createRoot<T extends TreeNode<T>>(node: T): DecoratedTreeNode<T>;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DecoratedTreeNode } from './decorated-tree-node';
|
|
2
|
+
export declare class TreeExpansionModel<N extends DecoratedTreeNode<any>> {
|
|
3
|
+
private readonly identityOf;
|
|
4
|
+
private readonly collapsedIds;
|
|
5
|
+
private readonly _isExpandedPredicate;
|
|
6
|
+
constructor(identityOf: (node: N['node']) => any);
|
|
7
|
+
get isExpandedPredicate(): import("@coolon/pectin").ValueModel<(node: N) => boolean>;
|
|
8
|
+
expand(node: N): void;
|
|
9
|
+
collapse(node: N): void;
|
|
10
|
+
canExpand(node: N): boolean;
|
|
11
|
+
canCollapse(node: N): boolean;
|
|
12
|
+
isCollapsed(node: N): boolean;
|
|
13
|
+
isExpanded(node: N): boolean;
|
|
14
|
+
ensureAncestorsAndSelfVisible(node: N): void;
|
|
15
|
+
private updatePredicate;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace TreeExpansionModel {
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Enum } from 'typescript-string-enums';
|
|
2
|
+
import { DecoratedTreeNode } from '../decorated-tree-node';
|
|
3
|
+
export declare class TreeInheritanceIconComponent<T extends DecoratedTreeNode<any>> {
|
|
4
|
+
type: TreeInheritanceIconComponent.Type;
|
|
5
|
+
pixelWidth: number;
|
|
6
|
+
pixelHeight: number;
|
|
7
|
+
constructor();
|
|
8
|
+
get heightOffset(): number;
|
|
9
|
+
get viewBox(): string;
|
|
10
|
+
hasHead(): boolean;
|
|
11
|
+
hasTerminal(): boolean;
|
|
12
|
+
hasLeadIn(): boolean;
|
|
13
|
+
hasTail(): boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace TreeInheritanceIconComponent {
|
|
16
|
+
const Type: {
|
|
17
|
+
ICON_BLANK: "blank";
|
|
18
|
+
ICON_PARENT: "parent";
|
|
19
|
+
ICON_INHERITED_TERMINAL: "inherited_terminal";
|
|
20
|
+
ICON_INHERITED_THROUGH_TERMINAL: "inherited_through_terminal";
|
|
21
|
+
ICON_THROUGH: "through";
|
|
22
|
+
};
|
|
23
|
+
type Type = Enum<typeof Type>;
|
|
24
|
+
const HAS_LEAD_IN: string[];
|
|
25
|
+
const HAS_TERMINAL: string[];
|
|
26
|
+
const HAS_HEAD: string[];
|
|
27
|
+
const HAS_TAIL: string[];
|
|
28
|
+
}
|
package/lib/components/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ListModelChain, ValueModelChain } from '@coolon/pectin';
|
|
3
|
+
import { DisposableComponent } from '../../disposable-component';
|
|
4
|
+
import { DecoratedTreeNode } from '../decorated-tree-node';
|
|
5
|
+
import { TreeExpansionModel } from '../tree-expansion-model';
|
|
6
|
+
import { TreeLabelColumnModel } from '../tree-label-column-model';
|
|
7
|
+
import { TreeNode } from '../tree-node';
|
|
8
|
+
export declare class TreeLabelCellRendererComponent<T extends TreeNode<any>> extends DisposableComponent implements OnInit {
|
|
9
|
+
iconTypes: string[];
|
|
10
|
+
private nodeModel;
|
|
11
|
+
value: DecoratedTreeNode<T>;
|
|
12
|
+
label: string;
|
|
13
|
+
iconFactory: TreeLabelColumnModel.LabelFactory<T>;
|
|
14
|
+
expansionModel: TreeExpansionModel<DecoratedTreeNode<T>>;
|
|
15
|
+
readonly iconList: ListModelChain<string>;
|
|
16
|
+
canExpand: ValueModelChain<boolean>;
|
|
17
|
+
canCollapse: ValueModelChain<boolean>;
|
|
18
|
+
iconModel: ValueModelChain<string>;
|
|
19
|
+
constructor();
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
get isRoot(): boolean;
|
|
22
|
+
get isLeaf(): boolean;
|
|
23
|
+
get node(): DecoratedTreeNode<T>;
|
|
24
|
+
expandOrCollapse(node: DecoratedTreeNode<T>): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
+
import { Types } from '@coolon/pectin';
|
|
3
|
+
import { ColumnModel } from '../table/column-model';
|
|
4
|
+
import { DecoratedTreeNode } from './decorated-tree-node';
|
|
5
|
+
import { TreeExpansionModel } from './tree-expansion-model';
|
|
6
|
+
import { TreeLabelCellRendererComponent } from './tree-label-cell-renderer/tree-label-cell-renderer.component';
|
|
7
|
+
import { TreeNode } from './tree-node';
|
|
8
|
+
export declare class TreeLabelColumnModel<Row extends TreeNode<Row>> extends ColumnModel<DecoratedTreeNode<Row>> {
|
|
9
|
+
readonly expansionModel: TreeExpansionModel<DecoratedTreeNode<Row>>;
|
|
10
|
+
private labelProperty;
|
|
11
|
+
private iconFactory;
|
|
12
|
+
constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider, expansionModel: TreeExpansionModel<DecoratedTreeNode<Row>>);
|
|
13
|
+
pluck<P extends Types.ValuePropertiesOf<Row>>(property: P): void;
|
|
14
|
+
addIcon<P extends Types.ValuePropertiesOf<Row>>(factory: TreeLabelColumnModel.LabelFactory<Row>): void;
|
|
15
|
+
protected cellRenderer<C extends TreeLabelCellRendererComponent<Row>>(componentType: ComponentType<C>): this;
|
|
16
|
+
selectRowOnClick(selectOnRowClick: boolean): this;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace TreeLabelColumnModel {
|
|
19
|
+
type LabelFactory<Row extends TreeNode<Row>> = (node: DecoratedTreeNode<Row>, expanded: boolean) => string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DisposableComponent } from '../disposable-component';
|
|
2
|
+
import { TreeNode } from './tree-node';
|
|
3
|
+
import { TreeTableModel } from './tree-table-model';
|
|
4
|
+
export declare class TreeTableComponent<T extends TreeNode<T>> extends DisposableComponent {
|
|
5
|
+
treeTableModel: TreeTableModel<T>;
|
|
6
|
+
constructor();
|
|
7
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ListModel, MutableValueModel, ValueModel } from '@coolon/pectin';
|
|
2
|
+
import { AbstractTableModel } from '../table/abstract-table-model';
|
|
3
|
+
import { DecoratedTreeNode } from './decorated-tree-node';
|
|
4
|
+
import { TreeExpansionModel } from './tree-expansion-model';
|
|
5
|
+
import { TreeLabelColumnModel } from './tree-label-column-model';
|
|
6
|
+
import { TreeNode } from './tree-node';
|
|
7
|
+
import { SelfAndDescendantsVisitor, VisitableTree } from './visitable.class';
|
|
8
|
+
export declare class TreeTableModel<Row extends TreeNode<Row>> extends AbstractTableModel<DecoratedTreeNode<Row>> {
|
|
9
|
+
readonly treeExpansionModel: TreeExpansionModel<DecoratedTreeNode<Row>>;
|
|
10
|
+
constructor(source: ListModel<DecoratedTreeNode<Row>>, treeExpansionModel: TreeExpansionModel<DecoratedTreeNode<Row>>);
|
|
11
|
+
static fromRoot<Row extends TreeNode<Row>>(sourceOfTruth: ValueModel<Row>, builder?: (tableModel: TreeTableModel<Row>) => void): TreeTableModel<Row>;
|
|
12
|
+
static fromChildrenOf<Row extends TreeNode<Row>>(sourceOfTruth: ValueModel<Row>, builder?: (tableModel: TreeTableModel<Row>) => void): TreeTableModel<Row>;
|
|
13
|
+
static fromList<Row extends TreeNode<Row>>(sourceOfTruth: ListModel<Row>, builder?: (tableModel: TreeTableModel<Row>) => void): TreeTableModel<Row>;
|
|
14
|
+
treeControlColumn(builder: (column: TreeLabelColumnModel<Row>) => void): void;
|
|
15
|
+
expand(node: DecoratedTreeNode<Row>): void;
|
|
16
|
+
collapse(node: DecoratedTreeNode<Row>): void;
|
|
17
|
+
isCollapsed(node: DecoratedTreeNode<Row>): boolean;
|
|
18
|
+
ensureAncestorsAndSelfVisible(node: DecoratedTreeNode<Row>): void;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace TreeTableModel {
|
|
21
|
+
interface Options<T, K extends keyof T> {
|
|
22
|
+
storeIdIn: MutableValueModel<K>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export declare class FlattenStrategy<T extends VisitableTree<any>> extends SelfAndDescendantsVisitor<T> {
|
|
26
|
+
private collapsedIds;
|
|
27
|
+
private _areas;
|
|
28
|
+
private _collapsed;
|
|
29
|
+
constructor(collapsedIds: T[]);
|
|
30
|
+
protected onVisit(it: T): void;
|
|
31
|
+
protected shouldVisitChildrenOf(it: T): boolean;
|
|
32
|
+
get flattenedAreas(): T[];
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComputedListModel, ListModel } from '@coolon/pectin';
|
|
2
|
+
import { DecoratedTreeNode } from './decorated-tree-node';
|
|
3
|
+
import { TreeExpansionModel } from './tree-expansion-model';
|
|
4
|
+
import { TreeNode } from './tree-node';
|
|
5
|
+
export declare class TreeToListModel<T extends TreeNode<T>> extends ComputedListModel<DecoratedTreeNode<T>, T[]> {
|
|
6
|
+
private readonly source;
|
|
7
|
+
private readonly expansionModel;
|
|
8
|
+
constructor(source: ListModel<T>, expansionModel: TreeExpansionModel<DecoratedTreeNode<T>>);
|
|
9
|
+
getIdentityOf(item: DecoratedTreeNode<T>): any;
|
|
10
|
+
compute(values: T[]): DecoratedTreeNode<T>[];
|
|
11
|
+
private addNodeAndVisibleChildren;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface Visitor<T> {
|
|
2
|
+
visit(it: T): any;
|
|
3
|
+
}
|
|
4
|
+
export interface Visitable<T> {
|
|
5
|
+
visit<V extends Visitor<T>>(it: V): V;
|
|
6
|
+
}
|
|
7
|
+
export interface VisitableTree<T> extends Visitable<T> {
|
|
8
|
+
visitChildren<V extends Visitor<T>>(it: V): V;
|
|
9
|
+
}
|
|
10
|
+
export declare abstract class SelfAndDescendantsVisitor<T extends VisitableTree<T>> implements Visitor<T> {
|
|
11
|
+
constructor();
|
|
12
|
+
visit(it: T): void;
|
|
13
|
+
protected abstract onVisit(it: T): any;
|
|
14
|
+
protected shouldVisitChildrenOf(it: T): boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace SelfAndDescendantsVisitor {
|
|
17
|
+
class Each<T extends VisitableTree<any>> extends SelfAndDescendantsVisitor<T> {
|
|
18
|
+
private callback;
|
|
19
|
+
constructor(callback: (it: T) => void);
|
|
20
|
+
protected onVisit(it: T): void;
|
|
21
|
+
}
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -78,7 +78,7 @@ class PlaceBuilder {
|
|
|
78
78
|
}
|
|
79
79
|
const sourceFile = this.buildContext.getSourceFile(`./${filePath}`);
|
|
80
80
|
if (!sourceFile) {
|
|
81
|
-
throw new Error(`${filePath} is not included by ${this.tsConfigPath}. Until I fix this properly you can add an '"include": ["src/app/**/*.ts", "src/app/**/*.d.ts"], "exclude":[**/*.spec.*]' `);
|
|
81
|
+
throw new Error(`${filePath} is not included by ${this.tsConfigPath}. Until I fix this properly you can add an '"include": ["src/app/**/*.ts", "src/app/**/*.d.ts"], "exclude":["**/*.spec.*"]' `);
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
84
84
|
const imports = sourceFile.getImportDeclarations();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"place-builder.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/place-routes/place-builder.ts"],"names":[],"mappings":";;;AAAA,+CAA6D;AAC7D,2DAYoC;AACpC,6BAA6B;AAG7B,2CAAuC;AAQvC,qBAAqB;AACrB,4BAA4B;AAC5B,IAAI;AAEJ,wBAAwB;AACxB,iBAAiB;AACjB,IAAI;AAEJ,MAAM,QAAQ,GAAG,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE,CAAC,IAAI,CAAC;AAEjE,MAAa,YAAY;IASvB,YAAqB,OAAe,EAAW,YAA8B,EAAW,OAAyB;QAA5F,YAAO,GAAP,OAAO,CAAQ;QAAW,iBAAY,GAAZ,YAAY,CAAkB;QAAW,YAAO,GAAP,OAAO,CAAkB;QAC/G,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,OAAiB,CAAC;QAC7C,IAAI,CAAC,UAAU,GAAG,YAAY,CAAC,cAAc,CAAC;QAC9C,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,OAAO,CAAC,IAAU;QAChB,MAAM,UAAU,GAAa,EAAE,CAAC;QAChC,UAAU,CAAC,IAAI,CA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AS,CAAC;YACnB,CAAC,CAAC;SACH,CAAC,CAAC;QACL,OAAO,sBAAS,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,sDAAsD;IACtD,iDAAiD;IACjD,4BAA4B;IAC5B,mBAAmB;IACnB,sGAAsG;IACtG,QAAQ;IACR,OAAO;IACP,oEAAoE;IACpE,mBAAmB;IACnB,IAAI;IAEI,uBAAuB,CAAC,IAAU,EAAE,aAAqB;QAE/D,MAAM,SAAS,GAAe,EAAE,CAAC;QACjC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,0BAA0B,aAAa,EAAE,CAAC,CAAC;QAEpE,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAChD,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;YAE5B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;gBAC9D,OAAO;aACR;YAED,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACpC,IAAI,CAAC,OAAO,EAAE;gBACZ,OAAO;aACR;YACD,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,KAAK,QAAQ,EAAE,CAAC,CAAC;YACpE,IAAI,CAAC,UAAU,EAAE;gBACf,MAAM,IAAI,KAAK,CAAC,GAAG,QAAQ,uBAAuB,IAAI,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"place-builder.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/place-routes/place-builder.ts"],"names":[],"mappings":";;;AAAA,+CAA6D;AAC7D,2DAYoC;AACpC,6BAA6B;AAG7B,2CAAuC;AAQvC,qBAAqB;AACrB,4BAA4B;AAC5B,IAAI;AAEJ,wBAAwB;AACxB,iBAAiB;AACjB,IAAI;AAEJ,MAAM,QAAQ,GAAG,CAA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,OAAO,SAAS,CAAC;IACnB,CAAC;IAEO,mBAAmB,CAAC,SAAqB;QAC/C,MAAM,YAAY,GAAe,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC/E,MAAM,WAAW,GAAe,EAAE,CAAC;QACnC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACvB,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;gBACtB,MAAM,aAAa,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;gBAC3C,IAAI,CAAC,aAAa,EAAE;oBAClB,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,cAAc,qBAAqB,CAAC,CAAC,cAAc,uBAAuB,CAAC,CAAC;iBAClG;gBACD,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;gBAChC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AArHD,oCAqHC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BuildContext = void 0;
|
|
4
4
|
const ts_morph_1 = require("ts-morph");
|
|
5
5
|
const decorated_source_file_1 = require("./decorators/decorated-source-file");
|
|
6
|
-
const schematic_tree_file_system_1 = require("./schematic-tree-file-system");
|
|
7
6
|
class BuildContext {
|
|
8
7
|
constructor(tree, projectName, settings, context) {
|
|
9
8
|
this.tree = tree;
|
|
@@ -33,7 +32,6 @@ class BuildContext {
|
|
|
33
32
|
try {
|
|
34
33
|
return new ts_morph_1.Project({
|
|
35
34
|
tsConfigFilePath: this.tsConfigPath,
|
|
36
|
-
fileSystem: new schematic_tree_file_system_1.SchematicTreeFileSystem(this.tree, this.context)
|
|
37
35
|
});
|
|
38
36
|
}
|
|
39
37
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-context.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/build-context.ts"],"names":[],"mappings":";;;AAEA,uCAAiE;AACjE,8EAAyE;
|
|
1
|
+
{"version":3,"file":"build-context.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/build-context.ts"],"names":[],"mappings":";;;AAEA,uCAAiE;AACjE,8EAAyE;AAGzE,MAAsB,YAAY;IAGhC,YAAqB,IAAU,EAAW,WAAmB,EAAqB,QAA+B,EAAW,OAAyB;QAAhI,SAAI,GAAJ,IAAI,CAAM;QAAW,gBAAW,GAAX,WAAW,CAAQ;QAAqB,aAAQ,GAAR,QAAQ,CAAuB;QAAW,YAAO,GAAP,OAAO,CAAkB;QACnJ,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;IACxD,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;IACpC,CAAC;IAGD,IAAI,cAAc;QAChB,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;IACrF,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,UAAU,CAAC;IACnD,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC;IAC7C,CAAC;IAEO,qBAAqB;QAC3B,4EAA4E;QAC5E,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,4BAA4B,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;QAClE,IAAI;YACF,OAAO,IAAI,kBAAO,CAAC;gBAC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
|
43
|
+
this.context.logger.info(this.tree.root.subdirs.join(','));
|
|
44
|
+
this.context.logger.info(`dirExists->${p}? ${exists}`);
|
|
45
|
+
return exists;
|
|
42
46
|
}
|
|
43
47
|
fileExists(filePath) {
|
|
44
48
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,7 +56,7 @@ class SchematicTreeFileSystem {
|
|
|
52
56
|
// apps/test-bed/dummy-app/apps/test-bed/dummy-app/tsconfig.json
|
|
53
57
|
// This is happening from within the typescript compiler so I'm not sure if
|
|
54
58
|
// it's intended behaviour or not.
|
|
55
|
-
|
|
59
|
+
this.context.logger.info(`fileExists->${filePath}? ${exists}`);
|
|
56
60
|
return exists;
|
|
57
61
|
}
|
|
58
62
|
getCurrentDirectory() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematic-tree-file-system.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/schematic-tree-file-system.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,uEAAoD;AAGpD,MAAa,uBAAuB;IAElC,YAA6B,IAAU,EAAmB,OAAyB;QAAtD,SAAI,GAAJ,IAAI,CAAM;QAAmB,YAAO,GAAP,OAAO,CAAkB;IACnF,CAAC;IAEK,IAAI,CAAC,OAAe,EAAE,QAAgB;;YAC1C,OAAO,2BAAI,CAAC,cAAc,EAAE,CAAC;QAC/B,CAAC;KAAA;IAED,QAAQ,CAAC,OAAe,EAAE,QAAgB;QACxC,OAAO,2BAAI,CAAC,cAAc,EAAE,CAAC;IAC/B,CAAC;IAEK,MAAM,CAAC,IAAY;;YACvB,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;KAAA;IAED,UAAU,CAAC,IAAY;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAEK,eAAe,CAAC,OAAe;;YACnC,OAAO,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAC3C,CAAC;KAAA;IAED,mBAAmB,CAAC,OAAe;QACjC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"schematic-tree-file-system.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/schematic-tree-file-system.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,uEAAoD;AAGpD,MAAa,uBAAuB;IAElC,YAA6B,IAAU,EAAmB,OAAyB;QAAtD,SAAI,GAAJ,IAAI,CAAM;QAAmB,YAAO,GAAP,OAAO,CAAkB;IACnF,CAAC;IAEK,IAAI,CAAC,OAAe,EAAE,QAAgB;;YAC1C,OAAO,2BAAI,CAAC,cAAc,EAAE,CAAC;QAC/B,CAAC;KAAA;IAED,QAAQ,CAAC,OAAe,EAAE,QAAgB;QACxC,OAAO,2BAAI,CAAC,cAAc,EAAE,CAAC;IAC/B,CAAC;IAEK,MAAM,CAAC,IAAY;;YACvB,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;KAAA;IAED,UAAU,CAAC,IAAY;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAEK,eAAe,CAAC,OAAe;;YACnC,OAAO,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAC3C,CAAC;KAAA;IAED,mBAAmB,CAAC,OAAe;QACjC,MAAM,CAAC,GAAG,GAAG,OAAO,EAAE,CAAC;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAC3D,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IA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