diff --git a/src/app/.editorconfig b/src/app/.editorconfig new file mode 100644 index 00000000..f166060d --- /dev/null +++ b/src/app/.editorconfig @@ -0,0 +1,17 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +quote_type = single +ij_typescript_use_double_quotes = false + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/src/app/.gitignore b/src/app/.gitignore new file mode 100644 index 00000000..d480cdcf --- /dev/null +++ b/src/app/.gitignore @@ -0,0 +1,55 @@ +# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. + +# Compiled output +/dist +/tmp +/out-tsc +/bazel-out + +# Node +/node_modules +npm-debug.log +yarn-error.log + +node_modules/ +.angular/ +dist/ + +# IDEs and editors +.idea/ +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# Miscellaneous +/.angular/cache +.sass-cache/ +/connect.lock +/coverage +/libpeerconnection.log +testem.log +/typings +__screenshots__/ + +# System files +.DS_Store +Thumbs.db + + +# Ignore local ESLint config +eslint.config.js + +# Ignore preview folder +preview/ +src/.htaccess \ No newline at end of file diff --git a/src/app/.postcssrc.json b/src/app/.postcssrc.json new file mode 100644 index 00000000..6e4364ec --- /dev/null +++ b/src/app/.postcssrc.json @@ -0,0 +1,6 @@ +{ + "plugins": { + "@tailwindcss/postcss": {}, + "autoprefixer": {} + } +} diff --git a/src/app/@spk/charts/charts/spk-echarts/spk-echarts.html b/src/app/@spk/charts/charts/spk-echarts/spk-echarts.html new file mode 100644 index 00000000..79a0230a --- /dev/null +++ b/src/app/@spk/charts/charts/spk-echarts/spk-echarts.html @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/src/app/@spk/charts/charts/spk-echarts/spk-echarts.scss b/src/app/@spk/charts/charts/spk-echarts/spk-echarts.scss new file mode 100644 index 00000000..e69de29b diff --git a/src/app/@spk/charts/charts/spk-echarts/spk-echarts.ts b/src/app/@spk/charts/charts/spk-echarts/spk-echarts.ts new file mode 100644 index 00000000..c0b9fe4e --- /dev/null +++ b/src/app/@spk/charts/charts/spk-echarts/spk-echarts.ts @@ -0,0 +1,16 @@ +import { NgClass } from '@angular/common'; +import { Component, input } from '@angular/core'; +import { NgxEchartsDirective } from 'ngx-echarts'; +import { EChartsOption } from 'echarts'; +@Component({ + selector: 'spk-echarts', + imports: [NgxEchartsDirective, NgClass], + templateUrl: './spk-echarts.html', + styleUrl: './spk-echarts.scss' +}) +export class SpkEcharts { + options = input