From 44c2361564de415e64de9a9013d967442866417a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=87etin?=
<69278826+cetincakiroglu@users.noreply.github.com>
Date: Tue, 7 Jan 2025 17:29:51 +0300
Subject: [PATCH] Code format
---
.vscode/extensions.json | 4 -
.vscode/launch.json | 20 -
.vscode/tasks.json | 42 --
angular.json | 192 ++++-----
package.json | 103 ++---
src/app.component.ts | 4 +-
src/app.config.ts | 2 +-
src/app.routes.ts | 2 +-
src/app/layout/core/app.configurator.ts | 8 +-
.../layout/core/app.floatingconfigurator.ts | 34 +-
src/app/layout/core/app.footer.ts | 4 +-
src/app/layout/core/app.menu.ts | 38 +-
src/app/layout/core/app.menuitem.ts | 108 ++---
src/app/layout/core/app.sidebar.ts | 11 +-
src/app/layout/core/app.topbar.ts | 12 +-
src/app/pages/auth/access.ts | 59 ++-
src/app/pages/auth/auth.routes.ts | 6 +-
src/app/pages/auth/error.ts | 53 ++-
src/app/pages/auth/login.ts | 122 +++---
src/app/pages/crud/crud.ts | 326 ++++++++-------
.../dashboard/components/bestsellingwidget.ts | 175 ++++----
.../components/notificationswidget.ts | 15 +-
.../dashboard/components/recentsaleswidget.ts | 20 +-
.../components/revenuestreamwidget.ts | 62 ++-
.../pages/dashboard/components/statswidget.ts | 98 ++---
src/app/pages/dashboard/dashboard.ts | 30 +-
src/app/pages/documentation/documentation.ts | 141 ++++---
src/app/pages/empty/empty.ts | 13 +-
.../landing/components/featureswidget.ts | 13 +-
.../pages/landing/components/footerwidget.ts | 124 +++---
.../pages/landing/components/herowidget.ts | 40 +-
.../landing/components/highlightswidget.ts | 78 ++--
src/app/pages/notfound/notfound.ts | 121 +++---
src/app/pages/service/icon.service.ts | 13 +-
src/app/pages/uikit/buttondemo.ts | 373 +++++++++---------
src/app/pages/uikit/chartdemo.ts | 137 +++----
src/app/pages/uikit/filedemo.ts | 6 +-
src/app/pages/uikit/formlayoutdemo.ts | 17 +-
src/app/pages/uikit/inputdemo.ts | 138 ++++---
src/app/pages/uikit/messagesdemo.ts | 14 +-
src/app/pages/uikit/panelsdemo.ts | 327 ++++++++-------
src/app/pages/uikit/treedemo.ts | 18 +-
src/app/pages/uikit/uikit.routes.ts | 2 +-
src/index.html | 26 +-
src/main.ts | 4 +-
tsconfig.app.json | 22 +-
tsconfig.json | 46 +--
tsconfig.spec.json | 20 +-
vercel.json | 16 +-
49 files changed, 1536 insertions(+), 1723 deletions(-)
delete mode 100644 .vscode/extensions.json
delete mode 100644 .vscode/launch.json
delete mode 100644 .vscode/tasks.json
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index 77b3745..0000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
- "recommendations": ["angular.ng-template"]
-}
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index 925af83..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "name": "ng serve",
- "type": "chrome",
- "request": "launch",
- "preLaunchTask": "npm: start",
- "url": "http://localhost:4200/"
- },
- {
- "name": "ng test",
- "type": "chrome",
- "request": "launch",
- "preLaunchTask": "npm: test",
- "url": "http://localhost:9876/debug.html"
- }
- ]
-}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
deleted file mode 100644
index a298b5b..0000000
--- a/.vscode/tasks.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
- "version": "2.0.0",
- "tasks": [
- {
- "type": "npm",
- "script": "start",
- "isBackground": true,
- "problemMatcher": {
- "owner": "typescript",
- "pattern": "$tsc",
- "background": {
- "activeOnStart": true,
- "beginsPattern": {
- "regexp": "(.*?)"
- },
- "endsPattern": {
- "regexp": "bundle generation complete"
- }
- }
- }
- },
- {
- "type": "npm",
- "script": "test",
- "isBackground": true,
- "problemMatcher": {
- "owner": "typescript",
- "pattern": "$tsc",
- "background": {
- "activeOnStart": true,
- "beginsPattern": {
- "regexp": "(.*?)"
- },
- "endsPattern": {
- "regexp": "bundle generation complete"
- }
- }
- }
- }
- ]
-}
diff --git a/angular.json b/angular.json
index 826298d..6874a9c 100644
--- a/angular.json
+++ b/angular.json
@@ -1,102 +1,102 @@
{
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "sakai-ng": {
- "projectType": "application",
- "schematics": {
- "@schematics/angular:component": {
- "style": "scss"
- }
- },
- "root": "",
- "sourceRoot": "src",
- "prefix": "app",
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:application",
- "options": {
- "outputPath": "dist/sakai-ng",
- "index": "src/index.html",
- "browser": "src/main.ts",
- "polyfills": [
- "zone.js"
- ],
- "tsConfig": "tsconfig.app.json",
- "inlineStyleLanguage": "scss",
- "assets": [
- {
- "glob": "**/*",
- "input": "public"
- }
- ],
- "styles": [
- "src/styles.scss"
- ],
- "scripts": []
- },
- "configurations": {
- "production": {
- "budgets": [
- {
- "type": "initial",
- "maximumWarning": "1mb",
- "maximumError": "5mb"
- },
- {
- "type": "anyComponentStyle",
- "maximumWarning": "2kb",
- "maximumError": "4kb"
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
+ "version": 1,
+ "newProjectRoot": "projects",
+ "projects": {
+ "sakai-ng": {
+ "projectType": "application",
+ "schematics": {
+ "@schematics/angular:component": {
+ "style": "scss"
}
- ],
- "outputHashing": "all"
},
- "development": {
- "optimization": false,
- "extractLicenses": false,
- "sourceMap": true
+ "root": "",
+ "sourceRoot": "src",
+ "prefix": "app",
+ "architect": {
+ "build": {
+ "builder": "@angular-devkit/build-angular:application",
+ "options": {
+ "outputPath": "dist/sakai-ng",
+ "index": "src/index.html",
+ "browser": "src/main.ts",
+ "polyfills": [
+ "zone.js"
+ ],
+ "tsConfig": "tsconfig.app.json",
+ "inlineStyleLanguage": "scss",
+ "assets": [
+ {
+ "glob": "**/*",
+ "input": "public"
+ }
+ ],
+ "styles": [
+ "src/styles.scss"
+ ],
+ "scripts": []
+ },
+ "configurations": {
+ "production": {
+ "budgets": [
+ {
+ "type": "initial",
+ "maximumWarning": "1mb",
+ "maximumError": "5mb"
+ },
+ {
+ "type": "anyComponentStyle",
+ "maximumWarning": "2kb",
+ "maximumError": "4kb"
+ }
+ ],
+ "outputHashing": "all"
+ },
+ "development": {
+ "optimization": false,
+ "extractLicenses": false,
+ "sourceMap": true
+ }
+ },
+ "defaultConfiguration": "production"
+ },
+ "serve": {
+ "builder": "@angular-devkit/build-angular:dev-server",
+ "configurations": {
+ "production": {
+ "buildTarget": "sakai-ng:build:production"
+ },
+ "development": {
+ "buildTarget": "sakai-ng:build:development"
+ }
+ },
+ "defaultConfiguration": "development"
+ },
+ "extract-i18n": {
+ "builder": "@angular-devkit/build-angular:extract-i18n"
+ },
+ "test": {
+ "builder": "@angular-devkit/build-angular:karma",
+ "options": {
+ "polyfills": [
+ "zone.js",
+ "zone.js/testing"
+ ],
+ "tsConfig": "tsconfig.spec.json",
+ "inlineStyleLanguage": "scss",
+ "assets": [
+ {
+ "glob": "**/*",
+ "input": "public"
+ }
+ ],
+ "styles": [
+ "src/styles.scss"
+ ],
+ "scripts": []
+ }
+ }
}
- },
- "defaultConfiguration": "production"
- },
- "serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
- "configurations": {
- "production": {
- "buildTarget": "sakai-ng:build:production"
- },
- "development": {
- "buildTarget": "sakai-ng:build:development"
- }
- },
- "defaultConfiguration": "development"
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n"
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "polyfills": [
- "zone.js",
- "zone.js/testing"
- ],
- "tsConfig": "tsconfig.spec.json",
- "inlineStyleLanguage": "scss",
- "assets": [
- {
- "glob": "**/*",
- "input": "public"
- }
- ],
- "styles": [
- "src/styles.scss"
- ],
- "scripts": []
- }
}
- }
}
- }
-}
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index 85bddd8..017ef6f 100644
--- a/package.json
+++ b/package.json
@@ -1,53 +1,54 @@
{
- "name": "sakai-ng",
- "version": "19.0.0",
- "scripts": {
- "ng": "ng",
- "start": "ng serve",
- "build": "ng build",
- "watch": "ng build --watch --configuration development",
- "test": "ng test"
- },
- "private": true,
- "dependencies": {
- "@angular/animations": "^19.0.0",
- "@angular/common": "^19.0.0",
- "@angular/compiler": "^19.0.0",
- "@angular/core": "^19.0.0",
- "@angular/forms": "^19.0.0",
- "@angular/platform-browser": "^19.0.0",
- "@angular/platform-browser-dynamic": "^19.0.0",
- "@angular/router": "^19.0.0",
- "@primeng/themes": "^19.0.2",
- "chart.js": "4.4.2",
- "primeclt": "^0.1.5",
- "primeicons": "^7.0.0",
- "primeng": "^19.0.2",
- "rxjs": "~7.8.0",
- "tailwindcss-primeui": "^0.3.2",
- "tslib": "^2.3.0",
- "zone.js": "~0.15.0"
- },
- "devDependencies": {
- "@angular-devkit/build-angular": "^19.0.6",
- "@angular/cli": "^19.0.6",
- "@angular/compiler-cli": "^19.0.0",
- "@types/jasmine": "~5.1.0",
- "autoprefixer": "^10.4.20",
- "eslint": "^9.14.0",
- "eslint-config-prettier": "^9.1.0",
- "eslint-plugin-import": "^2.31.0",
- "eslint-plugin-prefer-arrow": "^1.2.3",
- "eslint-plugin-prettier": "^4.2.1",
- "jasmine-core": "~5.4.0",
- "karma": "~6.4.0",
- "karma-chrome-launcher": "~3.2.0",
- "karma-coverage": "~2.2.0",
- "karma-jasmine": "~5.1.0",
- "karma-jasmine-html-reporter": "~2.1.0",
- "postcss": "^8.4.49",
- "prettier": "^3.0.0",
- "tailwindcss": "^3.4.17",
- "typescript": "~5.6.2"
- }
+ "name": "sakai-ng",
+ "version": "19.0.0",
+ "scripts": {
+ "ng": "ng",
+ "start": "ng serve",
+ "build": "ng build",
+ "watch": "ng build --watch --configuration development",
+ "format": "prettier --write \"**/*.{js,mjs,ts,mts,d.ts,html}\" --cache",
+ "test": "ng test"
+ },
+ "private": true,
+ "dependencies": {
+ "@angular/animations": "^19.0.0",
+ "@angular/common": "^19.0.0",
+ "@angular/compiler": "^19.0.0",
+ "@angular/core": "^19.0.0",
+ "@angular/forms": "^19.0.0",
+ "@angular/platform-browser": "^19.0.0",
+ "@angular/platform-browser-dynamic": "^19.0.0",
+ "@angular/router": "^19.0.0",
+ "@primeng/themes": "^19.0.2",
+ "chart.js": "4.4.2",
+ "primeclt": "^0.1.5",
+ "primeicons": "^7.0.0",
+ "primeng": "^19.0.2",
+ "rxjs": "~7.8.0",
+ "tailwindcss-primeui": "^0.3.2",
+ "tslib": "^2.3.0",
+ "zone.js": "~0.15.0"
+ },
+ "devDependencies": {
+ "@angular-devkit/build-angular": "^19.0.6",
+ "@angular/cli": "^19.0.6",
+ "@angular/compiler-cli": "^19.0.0",
+ "@types/jasmine": "~5.1.0",
+ "autoprefixer": "^10.4.20",
+ "eslint": "^9.14.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-plugin-import": "^2.31.0",
+ "eslint-plugin-prefer-arrow": "^1.2.3",
+ "eslint-plugin-prettier": "^4.2.1",
+ "jasmine-core": "~5.4.0",
+ "karma": "~6.4.0",
+ "karma-chrome-launcher": "~3.2.0",
+ "karma-coverage": "~2.2.0",
+ "karma-jasmine": "~5.1.0",
+ "karma-jasmine-html-reporter": "~2.1.0",
+ "postcss": "^8.4.49",
+ "prettier": "^3.0.0",
+ "tailwindcss": "^3.4.17",
+ "typescript": "~5.6.2"
+ }
}
diff --git a/src/app.component.ts b/src/app.component.ts
index 88170e8..e124abf 100644
--- a/src/app.component.ts
+++ b/src/app.component.ts
@@ -1,10 +1,10 @@
import { Component } from '@angular/core';
-import {RouterModule} from '@angular/router';
+import { RouterModule } from '@angular/router';
@Component({
selector: 'app-root',
standalone: true,
imports: [RouterModule],
- template:`