Merge with local folder

This commit is contained in:
Andras Schmelczer 2022-09-16 21:45:27 +02:00
parent 1598260ce3
commit 706fe745d3
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
110 changed files with 21422 additions and 17 deletions

0
.editorconfig Normal file → Executable file
View file

2
.gitignore vendored Normal file → Executable file
View file

@ -44,3 +44,5 @@ testem.log
# System Files
.DS_Store
Thumbs.db
.firebase

0
.prettierrc Normal file → Executable file
View file

0
README.md Normal file → Executable file
View file

0
angular.json Normal file → Executable file
View file

13
firebase.json Executable file
View file

@ -0,0 +1,13 @@
{
"hosting": {
"public": "dist/frontend",
"site": "towers-schmelczer-dev",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

21387
package-lock.json generated Executable file

File diff suppressed because it is too large Load diff

4
package.json Normal file → Executable file
View file

@ -24,13 +24,14 @@
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"core-js": "^2.5.4",
"ng": "^0.0.0",
"rxjs": "~6.3.3",
"tslib": "^1.10.0",
"uuid": "^3.3.3",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular-devkit/build-angular": "^0.13.10",
"@angular/cli": "~7.3.8",
"@angular/compiler-cli": "~7.2.0",
"@angular/language-service": "~7.2.0",
@ -42,6 +43,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"sass": "^1.32.5",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.2.2"

0
src/app/app-routing.module.ts Normal file → Executable file
View file

0
src/app/app.component.html Normal file → Executable file
View file

0
src/app/app.component.scss Normal file → Executable file
View file

0
src/app/app.component.ts Normal file → Executable file
View file

0
src/app/app.module.ts Normal file → Executable file
View file

0
src/app/components/modal/modal.component.html Normal file → Executable file
View file

0
src/app/components/modal/modal.component.scss Normal file → Executable file
View file

0
src/app/components/modal/modal.component.ts Normal file → Executable file
View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file

0
src/app/components/pages/page/page.component.html Normal file → Executable file
View file

0
src/app/components/pages/page/page.component.scss Normal file → Executable file
View file

0
src/app/components/pages/page/page.component.ts Normal file → Executable file
View file

View file

View file

View file

View file

View file

View file

View file

@ -19,12 +19,13 @@
</div>
</div>
<label for="tower-name" class="hidden">Card name</label>
<label class="hidden">
Card name
<input
id="tower-name"
type="text"
placeholder="name…"
[(ngModel)]="towerName"
[ngStyle]="{ color: (tower$ | async)?.baseColor | color }"
/>
</label>
</div>

View file

2
src/app/components/pages/page/tower/tower.component.ts Normal file → Executable file
View file

@ -40,7 +40,7 @@ export class TowerComponent implements OnInit {
ngOnInit() {
this.tower$.subscribe(value => {
console.log(this.tower, value);
// console.log(this.tower, value);
if (value) {
this.styledBlocks = value.coloredBlocks
.filter(b => b.isDone)

0
src/app/components/pages/pages.component.html Normal file → Executable file
View file

0
src/app/components/pages/pages.component.scss Normal file → Executable file
View file

0
src/app/components/pages/pages.component.ts Normal file → Executable file
View file

View file

View file

View file

View file

View file

View file

@ -50,7 +50,7 @@ export class SelectAddComponent {
}
changeOption(from: string, event) {
console.log(event);
// console.log(event);
this.optionChange.emit({
from,
to: event.target.value
@ -99,7 +99,7 @@ export class SelectAddComponent {
if (this.isOpen && this.top && this.bottom) {
const topHeight = this.top.nativeElement.clientHeight;
const bottomHeight = this.bottom.nativeElement.clientHeight;
console.log(topHeight, bottomHeight);
// console.log(topHeight, bottomHeight);
return `${topHeight + bottomHeight}px`;
}
return `100%`;

0
src/app/components/shared/toggle/toggle.component.html Normal file → Executable file
View file

0
src/app/components/shared/toggle/toggle.component.scss Normal file → Executable file
View file

0
src/app/components/shared/toggle/toggle.component.ts Normal file → Executable file
View file

0
src/app/interfaces/color.ts Normal file → Executable file
View file

0
src/app/interfaces/persistance/block.ts Normal file → Executable file
View file

0
src/app/interfaces/persistance/data.ts Normal file → Executable file
View file

0
src/app/interfaces/persistance/page.ts Normal file → Executable file
View file

0
src/app/interfaces/persistance/tower.ts Normal file → Executable file
View file

0
src/app/interfaces/persistance/unique.ts Normal file → Executable file
View file

0
src/app/interfaces/range.ts Normal file → Executable file
View file

0
src/app/interfaces/serializable.ts Normal file → Executable file
View file

0
src/app/model/block.ts Normal file → Executable file
View file

0
src/app/model/data.ts Normal file → Executable file
View file

0
src/app/model/page.ts Normal file → Executable file
View file

0
src/app/model/tower.ts Normal file → Executable file
View file

0
src/app/pipes/color.pipe.ts Normal file → Executable file
View file

0
src/app/pipes/format-date.pipe.ts Normal file → Executable file
View file

2
src/app/services/api.service.ts Normal file → Executable file
View file

@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { Unique } from '../store/unique';
const API_URI = 'https://schmelczer.dev/api/store/';
const API_URI = 'https://store.schmelczer.dev/api/store/';
@Injectable({
providedIn: 'root'

0
src/app/services/cancel.service.ts Normal file → Executable file
View file

0
src/app/services/data.service.ts Normal file → Executable file
View file

0
src/app/services/map-store.service.ts Normal file → Executable file
View file

0
src/app/services/modal.service.ts Normal file → Executable file
View file

0
src/app/store/inner-node.ts Normal file → Executable file
View file

4
src/app/store/node.ts Normal file → Executable file
View file

@ -40,7 +40,7 @@ export abstract class Node extends Unique implements NodeState {
}
public log() {
console.log(this._log());
console.log(`All in all, there are ${Unique.ObjectCount} objects.`);
// console.log(this._log());
// console.log(`All in all, there are ${Unique.ObjectCount} objects.`);
}
}

0
src/app/store/root.ts Normal file → Executable file
View file

4
src/app/store/unique.ts Normal file → Executable file
View file

@ -8,10 +8,10 @@ export class Unique implements ISerializable, IUnique {
constructor(id?: string) {
if (id) {
this._id = id;
console.log('got id ' + id);
// console.log('got id ' + id);
} else {
this.setUniqueness();
console.log('unique ' + this.id);
// console.log('unique ' + this.id);
}
}

0
src/app/utils/color.ts Normal file → Executable file
View file

0
src/app/utils/hash.ts Normal file → Executable file
View file

0
src/app/utils/range.ts Normal file → Executable file
View file

0
src/app/utils/top.ts Normal file → Executable file
View file

0
src/assets/.gitkeep Normal file → Executable file
View file

0
src/assets/arrow.svg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 746 B

After

Width:  |  Height:  |  Size: 746 B

Before After
Before After

0
src/assets/pen.svg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 737 B

Before After
Before After

0
src/assets/plus-sign.svg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

0
src/assets/trash.svg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

0
src/assets/x-sign.svg Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 816 B

Before After
Before After

0
src/browserslist Normal file → Executable file
View file

0
src/environments/environment.prod.ts Normal file → Executable file
View file

0
src/environments/environment.ts Normal file → Executable file
View file

0
src/favicon.ico Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Before After
Before After

0
src/index.html Normal file → Executable file
View file

0
src/karma.conf.js Normal file → Executable file
View file

0
src/library/animations.scss Normal file → Executable file
View file

0
src/library/common-variables.scss Normal file → Executable file
View file

0
src/library/forms.scss Normal file → Executable file
View file

0
src/library/main.scss Normal file → Executable file
View file

0
src/library/spacing.scss Normal file → Executable file
View file

0
src/library/text.scss Normal file → Executable file
View file

Some files were not shown because too many files have changed in this diff Show more