Skip to content

Commit 95da4c6

Browse files
committed
prettier.
1 parent 5bb7858 commit 95da4c6

File tree

71 files changed

+1273
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1273
-813
lines changed

angular/designer/src/designer.component.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ export class DesignerComponent implements AfterViewInit, OnChanges, OnDestroy {
111111
@Output()
112112
public readonly onIsEditorCollapsedChanged = new EventEmitter<boolean>();
113113

114-
public constructor(private readonly ngZone: NgZone, private readonly applicationRef: ApplicationRef) {}
114+
public constructor(
115+
private readonly ngZone: NgZone,
116+
private readonly applicationRef: ApplicationRef
117+
) {}
115118

116119
public ngAfterViewInit() {
117120
this.attach();
@@ -205,14 +208,14 @@ export class DesignerComponent implements AfterViewInit, OnChanges, OnDestroy {
205208
isCollapsed: this.isEditorCollapsed,
206209
rootEditorProvider: this.rootEditorProvider,
207210
stepEditorProvider: this.stepEditorProvider
208-
},
211+
},
209212
steps: this.stepsConfiguration,
210213
validator: this.validatorConfiguration,
211214
toolbox: this.toolboxConfiguration
212215
? {
213216
isCollapsed: this.isToolboxCollapsed,
214217
...this.toolboxConfiguration
215-
}
218+
}
216219
: false,
217220
controlBar: this.controlBar,
218221
contextMenu: this.contextMenu,

angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"ng-packagr": "^13.0.0",
4141
"typescript": "~4.6.2",
4242
"@types/node": "^12.11.1",
43-
"prettier": "^2.8.2",
43+
"prettier": "^3.2.5",
4444
"@typescript-eslint/eslint-plugin": "^5.47.0",
4545
"@typescript-eslint/parser": "^5.47.0",
4646
"eslint": "^8.30.0"

demos/angular-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"karma-coverage": "~2.2.0",
4343
"karma-jasmine": "~5.1.0",
4444
"karma-jasmine-html-reporter": "~2.0.0",
45-
"prettier": "^2.8.2",
45+
"prettier": "^3.2.5",
4646
"typescript": "~4.9.5"
4747
}
48-
}
48+
}

demos/react-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@typescript-eslint/eslint-plugin": "^5.47.0",
1818
"@typescript-eslint/parser": "^5.47.0",
1919
"eslint": "^8.30.0",
20-
"prettier": "^2.8.2",
20+
"prettier": "^3.2.5",
2121
"react-scripts": "5.0.1",
2222
"typescript": "^4.9.4"
2323
},
@@ -48,4 +48,4 @@
4848
"last 1 safari version"
4949
]
5050
}
51-
}
51+
}

demos/react-app/src/index.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
body,
22
h1 {
3-
font: 13px/1.3em Arial, Verdana, Serif;
3+
font:
4+
13px/1.3em Arial,
5+
Verdana,
6+
Serif;
47
}
58
body {
69
margin: 0;

demos/svelte-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"tslib": "^2.4.1",
2828
"typescript": "^5.0.0",
2929
"vite": "^4.4.2",
30-
"prettier": "^2.8.2",
31-
"prettier-plugin-svelte": "^2.8.0",
30+
"prettier": "^3.2.5",
31+
"prettier-plugin-svelte": "^3.2.3",
3232
"@typescript-eslint/eslint-plugin": "^5.47.0",
3333
"@typescript-eslint/parser": "^5.47.0",
3434
"eslint": "^8.30.0"
3535
}
36-
}
36+
}

demos/svelte-app/src/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

demos/svelte-app/src/routes/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ html,
55
body {
66
margin: 0;
77
padding: 10px;
8-
font: 14px/1.5em Arial, sans-serif;
8+
font:
9+
14px/1.5em Arial,
10+
sans-serif;
911
background: #333;
1012
color: #fff;
1113
}

designer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"karma-spec-reporter": "^0.0.36",
9090
"karma-typescript": "^5.5.3",
9191
"karma-typescript-es6-transform": "^5.5.3",
92-
"prettier": "^2.8.2",
92+
"prettier": "^3.2.5",
9393
"rollup": "^3.18.0",
9494
"rollup-plugin-dts": "^5.2.0",
9595
"rollup-plugin-typescript2": "^0.34.1",
@@ -104,4 +104,4 @@
104104
"lowcode",
105105
"flow"
106106
]
107-
}
107+
}

designer/src/api/path-bar-api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { DefinitionWalker } from '../definition';
33
import { DesignerState } from '../designer-state';
44

55
export class PathBarApi {
6-
public constructor(private readonly state: DesignerState, private readonly definitionWalker: DefinitionWalker) {}
6+
public constructor(
7+
private readonly state: DesignerState,
8+
private readonly definitionWalker: DefinitionWalker
9+
) {}
710

811
public readonly onStateChanged = race(0, this.state.onFolderPathChanged, this.state.onDefinitionChanged);
912

0 commit comments

Comments
 (0)