@coolon/angular-ui-powerups 12.4.0-alpha.53 → 12.4.0-alpha.56
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/bundles/coolon-angular-ui-powerups-cypress.umd.js +10 -4
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +59 -84
- package/bundles/coolon-angular-ui-powerups.umd.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/busy-overlay/busy-overlay.component.js +1 -1
- package/esm2015/lib/components/busy-overlay/busy-overlay.component.metadata.json +1 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.js +1 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +1 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +1 -1
- package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.js +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +1 -1
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
- package/esm2015/lib/components/exports.js +0 -2
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.js +1 -1
- package/esm2015/lib/components/focus-container/focus-container.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.js +1 -1
- package/esm2015/lib/components/forms/autocomplete-input/autocomplete-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.js +1 -1
- package/esm2015/lib/components/forms/text-input/text-input.component.metadata.json +1 -1
- package/esm2015/lib/components/icon/icon.component.js +1 -1
- package/esm2015/lib/components/icon/icon.component.metadata.json +1 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.js +1 -1
- package/esm2015/lib/components/labelled-value/labelled-value.component.metadata.json +1 -1
- package/esm2015/lib/components/loading-container/loading-container.component.js +1 -1
- package/esm2015/lib/components/loading-container/loading-container.component.metadata.json +1 -1
- package/esm2015/lib/components/noop/noop.component.js +1 -1
- package/esm2015/lib/components/noop/noop.component.metadata.json +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.js +1 -1
- package/esm2015/lib/components/scroll-container/scroll-container.component.metadata.json +1 -1
- package/esm2015/lib/components/section-header/section-header.component.js +1 -1
- package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.js +1 -1
- package/esm2015/lib/components/switch-case/switch-case.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.js +1 -1
- package/esm2015/lib/components/tables/table/edit-row-controls/edit-row-controls.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.js +1 -1
- package/esm2015/lib/components/tables/table/paginator/paginator.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.js +1 -1
- package/esm2015/lib/components/tables/table/table-header-cell-renderer/table-header-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/table.component.js +1 -1
- package/esm2015/lib/components/tables/table/table.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-component.metadata.json +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.js +1 -1
- package/esm2015/lib/components/vertical-focus-container/vertical-focus-container.component.metadata.json +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-actions/activity-actions.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +1 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.js +1 -1
- package/esm2015/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.js +1 -1
- package/esm2015/lib/place/components/list-place-nav/list-place-nav.component.metadata.json +1 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.js +1 -1
- package/esm2015/lib/place/components/not-authorised-notice/not-authorised-notice.component.metadata.json +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.metadata.json +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +49 -75
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/exports.d.ts +0 -2
- package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
- package/package.json +15 -15
- package/schematics/utils/build-context.d.ts +5 -2
- package/schematics/utils/build-context.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-node.js +0 -2
- package/esm2015/lib/components/tables/tree-table/tree-node.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-node.metadata.json +0 -1
- package/esm2015/lib/components/tables/tree-table/visitable.class.js +0 -26
- package/esm2015/lib/components/tables/tree-table/visitable.class.js.map +0 -1
- package/esm2015/lib/components/tables/tree-table/visitable.class.metadata.json +0 -1
- package/lib/components/tables/tree-table/tree-node.d.ts +0 -3
- package/lib/components/tables/tree-table/visitable.class.d.ts +0 -22
|
@@ -71,10 +71,8 @@ export * from "./tables/tree-table/decorated-tree-node";
|
|
|
71
71
|
export * from "./tables/tree-table/flattened-tree-list-model";
|
|
72
72
|
export * from "./tables/tree-table/tree-expansion-model";
|
|
73
73
|
export * from "./tables/tree-table/tree-label-column-model";
|
|
74
|
-
export * from "./tables/tree-table/tree-node";
|
|
75
74
|
export * from "./tables/tree-table/tree-table-component";
|
|
76
75
|
export * from "./tables/tree-table/tree-table-model";
|
|
77
|
-
export * from "./tables/tree-table/visitable.class";
|
|
78
76
|
export * from "./tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component";
|
|
79
77
|
export * from "./tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component";
|
|
80
78
|
export * from "./types/bounds.class";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { TreeNode } from '@coolon/typescript-utilities';
|
|
2
3
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
3
4
|
import { AbstractTableComponent } from '../abstract-table.component';
|
|
4
|
-
import { TreeNode } from './tree-node';
|
|
5
5
|
import { TreeTableModel } from './tree-table-model';
|
|
6
6
|
/**
|
|
7
7
|
* Create your model:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "12.4.0-alpha.
|
|
3
|
+
"version": "12.4.0-alpha.56",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@coolon/typescript-utilities": "^2.2.0",
|
|
@@ -14,25 +14,25 @@
|
|
|
14
14
|
"@fortawesome/free-solid-svg-icons": "^5.15.2",
|
|
15
15
|
"@fortawesome/fontawesome-free": "5.15.3",
|
|
16
16
|
"resize-observer-polyfill": "^1.5.1",
|
|
17
|
-
"tslib": "^2.
|
|
17
|
+
"tslib": "^2.2.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@angular/animations": "^12.
|
|
21
|
-
"@angular/cdk": "^12.
|
|
22
|
-
"@angular/common": "^12.
|
|
23
|
-
"@angular/compiler": "^12.
|
|
24
|
-
"@angular/core": "^12.
|
|
25
|
-
"@angular/flex-layout": "^12.0.0-beta.
|
|
26
|
-
"@angular/forms": "^12.
|
|
27
|
-
"@angular/material": "^12.
|
|
28
|
-
"@angular/material-moment-adapter": "^12.
|
|
29
|
-
"@angular/platform-browser": "^12.
|
|
30
|
-
"@angular/platform-browser-dynamic": "^12.
|
|
31
|
-
"@angular/router": "^12.
|
|
20
|
+
"@angular/animations": "^12.2.7",
|
|
21
|
+
"@angular/cdk": "^12.2.7",
|
|
22
|
+
"@angular/common": "^12.2.7",
|
|
23
|
+
"@angular/compiler": "^12.2.7",
|
|
24
|
+
"@angular/core": "^12.2.7",
|
|
25
|
+
"@angular/flex-layout": "^12.0.0-beta.35",
|
|
26
|
+
"@angular/forms": "^12.2.7",
|
|
27
|
+
"@angular/material": "^12.2.7",
|
|
28
|
+
"@angular/material-moment-adapter": "^12.2.7",
|
|
29
|
+
"@angular/platform-browser": "^12.2.7",
|
|
30
|
+
"@angular/platform-browser-dynamic": "^12.2.7",
|
|
31
|
+
"@angular/router": "^12.2.7",
|
|
32
32
|
"rxjs": "~6.6.3",
|
|
33
33
|
"reflect-metadata": "^0.1.13",
|
|
34
34
|
"zone.js": "~0.11.4",
|
|
35
|
-
"@coolon/pectin": ">=3.
|
|
35
|
+
"@coolon/pectin": ">=3.16.1"
|
|
36
36
|
},
|
|
37
37
|
"main": "bundles/coolon-angular-ui-powerups.umd.js",
|
|
38
38
|
"module": "fesm2015/coolon-angular-ui-powerups.js",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { logging } from '@angular-devkit/core';
|
|
2
1
|
import { SchematicContext, Tree } from '@angular-devkit/schematics';
|
|
3
2
|
import { ClassDeclaration, SourceFile } from 'ts-morph';
|
|
4
3
|
import { DecoratedSourceFile } from './decorators/decorated-source-file';
|
|
@@ -9,7 +8,11 @@ export declare abstract class BuildContext {
|
|
|
9
8
|
readonly context: SchematicContext;
|
|
10
9
|
private typescriptProject;
|
|
11
10
|
constructor(tree: Tree, projectName: string, settings: BuildContext.Settings, context: SchematicContext);
|
|
12
|
-
get logger():
|
|
11
|
+
get logger(): {
|
|
12
|
+
info(message: string): void;
|
|
13
|
+
error(message: string): void;
|
|
14
|
+
fatal(message: string): void;
|
|
15
|
+
};
|
|
13
16
|
get tsConfigPath(): string;
|
|
14
17
|
get sourceCodeRoot(): string;
|
|
15
18
|
get sourceRoot(): any;
|
|
@@ -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;AAEzE,MAAsB,YAAY;IAIhC,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;
|
|
1
|
+
{"version":3,"file":"build-context.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/build-context.ts"],"names":[],"mappings":";;;AAEA,uCAAiE;AACjE,8EAAyE;AAEzE,MAAsB,YAAY;IAIhC,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;QAKR,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,GA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FC;AAED,WAAiB,YAAY;IAQ3B,MAAa,GAAI,SAAQ,YAAY;QACnC,IAAI,cAAc;YAChB,OAAO,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAClD,CAAC;KACF;IAJY,gBAAG,MAIf,CAAA;IAED,MAAa,GAAI,SAAQ,YAAY;KAEpC;IAFY,gBAAG,MAEf,CAAA;AAEH,CAAC,EAlBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAkB5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tree-node.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/components/tables/tree-table/tree-node.ts"],"names":[],"mappings":"","sourcesContent":["export interface TreeNode<T extends TreeNode<T>> {\n children: T[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"TreeNode":{"__symbolic":"interface"}}}]
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export class SelfAndDescendantsVisitor {
|
|
2
|
-
constructor() {
|
|
3
|
-
}
|
|
4
|
-
visit(it) {
|
|
5
|
-
this.onVisit(it);
|
|
6
|
-
if (this.shouldVisitChildrenOf(it)) {
|
|
7
|
-
it.visitChildren(this);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
shouldVisitChildrenOf(it) {
|
|
11
|
-
return true;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
(function (SelfAndDescendantsVisitor) {
|
|
15
|
-
class Each extends SelfAndDescendantsVisitor {
|
|
16
|
-
constructor(callback) {
|
|
17
|
-
super();
|
|
18
|
-
this.callback = callback;
|
|
19
|
-
}
|
|
20
|
-
onVisit(it) {
|
|
21
|
-
this.callback(it);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
SelfAndDescendantsVisitor.Each = Each;
|
|
25
|
-
})(SelfAndDescendantsVisitor || (SelfAndDescendantsVisitor = {}));
|
|
26
|
-
//# sourceMappingURL=visitable.class.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visitable.class.js","sourceRoot":"","sources":["../../../../../../../../libs/angular-ui-powerups/src/lib/components/tables/tree-table/visitable.class.ts"],"names":[],"mappings":"AAaA,MAAM,OAAgB,yBAAyB;IAE3C;IACA,CAAC;IAED,KAAK,CAAC,EAAK;QACP,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACjB,IAAI,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC,EAAE;YAChC,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SAC1B;IACL,CAAC;IAIS,qBAAqB,CAAC,EAAK;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAED,WAAiB,yBAAyB;IAEtC,MAAa,IAAmC,SAAQ,yBAA4B;QAChF,YAAoB,QAAyB;YACzC,KAAK,EAAE,CAAC;YADQ,aAAQ,GAAR,QAAQ,CAAiB;QAE7C,CAAC;QACS,OAAO,CAAC,EAAK;YACnB,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QACtB,CAAC;KACJ;IAPY,8BAAI,OAOhB,CAAA;AACL,CAAC,EAVgB,yBAAyB,KAAzB,yBAAyB,QAUzC","sourcesContent":["export interface Visitor<T> {\n visit(it: T);\n}\n\nexport interface Visitable<T> {\n visit<V extends Visitor<T>>(it: V):V;\n}\n\nexport interface VisitableTree<T> extends Visitable<T> {\n visitChildren<V extends Visitor<T>>(it: V):V;\n}\n\n\nexport abstract class SelfAndDescendantsVisitor<T extends VisitableTree<T>> implements Visitor<T> {\n\n constructor() {\n }\n\n visit(it: T) {\n this.onVisit(it);\n if (this.shouldVisitChildrenOf(it)) {\n it.visitChildren(this);\n }\n }\n\n protected abstract onVisit(it: T);\n\n protected shouldVisitChildrenOf(it: T): boolean {\n return true;\n }\n}\n\nexport namespace SelfAndDescendantsVisitor {\n\n export class Each<T extends VisitableTree<any>> extends SelfAndDescendantsVisitor<T> {\n constructor(private callback: (it: T) => void) {\n super();\n }\n protected onVisit(it: T) {\n this.callback(it);\n }\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"Visitor":{"__symbolic":"interface"},"Visitable":{"__symbolic":"interface"},"VisitableTree":{"__symbolic":"interface"},"SelfAndDescendantsVisitor":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor"}],"visit":[{"__symbolic":"method"}],"onVisit":[{"__symbolic":"method"}],"shouldVisitChildrenOf":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|