widget-common-container 0.0.0

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.
Files changed (87) hide show
  1. package/.angular/cache/19.2.26/ng-packagr/0997d7866dbb7999756bcd6dce071e827244865f4ff149c26d049d1515686b01 +1 -0
  2. package/.angular/cache/19.2.26/ng-packagr/882519e10fb587011272af89a34932495c0e2cc97d0c030536d1033ee55ce561 +1 -0
  3. package/.angular/cache/19.2.26/ng-packagr/8b15b546ec32b4e82b20945f62d23ba911050bdc6a4a60d34875eea6fe236635 +1 -0
  4. package/.angular/cache/19.2.26/ng-packagr/9711df1afdc00e2ac901d2b22d9559a220e74d16c0bf6d3917e410c565aed496 +1 -0
  5. package/.angular/cache/19.2.26/ng-packagr/tsbuildinfo/inspark-widget-common.tsbuildinfo +1 -0
  6. package/.editorconfig +13 -0
  7. package/.eslintrc.json +28 -0
  8. package/README.md +27 -0
  9. package/angular.json +46 -0
  10. package/e2e/protractor.conf.js +28 -0
  11. package/e2e/src/app.e2e-spec.ts +14 -0
  12. package/e2e/src/app.po.ts +11 -0
  13. package/e2e/tsconfig.e2e.json +13 -0
  14. package/package.json +75 -0
  15. package/projects/widget-common/copy.json +8 -0
  16. package/projects/widget-common/karma.conf.js +31 -0
  17. package/projects/widget-common/ng-package.json +7 -0
  18. package/projects/widget-common/package-lock.json +78 -0
  19. package/projects/widget-common/package.json +23 -0
  20. package/projects/widget-common/src/assets/error.svg +6 -0
  21. package/projects/widget-common/src/assets/falsevalue.svg +6 -0
  22. package/projects/widget-common/src/assets/icon.svg +6 -0
  23. package/projects/widget-common/src/assets/none.svg +6 -0
  24. package/projects/widget-common/src/assets/success.svg +6 -0
  25. package/projects/widget-common/src/assets/warning.svg +6 -0
  26. package/projects/widget-common/src/lib/common.ts +23 -0
  27. package/projects/widget-common/src/lib/communication.service.ts +59 -0
  28. package/projects/widget-common/src/lib/echart/echart.component.html +2 -0
  29. package/projects/widget-common/src/lib/echart/echart.component.scss +40 -0
  30. package/projects/widget-common/src/lib/echart/echart.component.ts +703 -0
  31. package/projects/widget-common/src/lib/echart/en.ts +156 -0
  32. package/projects/widget-common/src/lib/echart/ru.ts +156 -0
  33. package/projects/widget-common/src/lib/forge/ParamAssign.ts +187 -0
  34. package/projects/widget-common/src/lib/forge/Script.service.ts +86 -0
  35. package/projects/widget-common/src/lib/forge/extenstion.ts +263 -0
  36. package/projects/widget-common/src/lib/forge/forge.component.html +2 -0
  37. package/projects/widget-common/src/lib/forge/forge.component.scss +6 -0
  38. package/projects/widget-common/src/lib/forge/forge.component.ts +184 -0
  39. package/projects/widget-common/src/lib/forge/forge.interface.ts +4 -0
  40. package/projects/widget-common/src/lib/loader.ts +19 -0
  41. package/projects/widget-common/src/lib/pie-chart/pie-chart.component.html +1 -0
  42. package/projects/widget-common/src/lib/pie-chart/pie-chart.component.scss +3 -0
  43. package/projects/widget-common/src/lib/pie-chart/pie-chart.component.ts +252 -0
  44. package/projects/widget-common/src/lib/shared.module.ts +40 -0
  45. package/projects/widget-common/src/lib/sprintf.ts +212 -0
  46. package/projects/widget-common/src/lib/widget-container/widget-container.component.ts +53 -0
  47. package/projects/widget-common/src/lib/widget.api.ts +24 -0
  48. package/projects/widget-common/src/lib/widget.component.ts +87 -0
  49. package/projects/widget-common/src/lib/widget.dialog.ts +14 -0
  50. package/projects/widget-common/src/lib/widget.generator.ts +1532 -0
  51. package/projects/widget-common/src/lib/widget.interface.ts +871 -0
  52. package/projects/widget-common/src/lib/widget.utils.ts +634 -0
  53. package/projects/widget-common/src/public_api.ts +9 -0
  54. package/projects/widget-common/src/scss/main.scss +24 -0
  55. package/projects/widget-common/src/test.ts +22 -0
  56. package/projects/widget-common/tsconfig.lib.json +38 -0
  57. package/projects/widget-common/tsconfig.lib.prod.json +6 -0
  58. package/projects/widget-common/tsconfig.spec.json +17 -0
  59. package/projects/widget-common/tslint.json +17 -0
  60. package/projects/widget-common/versions/full/copy.json +15 -0
  61. package/projects/widget-common/versions/full/package.json +7 -0
  62. package/projects/widget-common/versions/full/public_api.ts +19 -0
  63. package/projects/widget-common/versions/interfaces/copy.json +15 -0
  64. package/projects/widget-common/versions/interfaces/package.json +7 -0
  65. package/projects/widget-common/versions/interfaces/public_api.ts +9 -0
  66. package/src/app/app.component.html +20 -0
  67. package/src/app/app.component.scss +0 -0
  68. package/src/app/app.component.spec.ts +31 -0
  69. package/src/app/app.component.ts +10 -0
  70. package/src/app/app.module.ts +16 -0
  71. package/src/assets/.gitkeep +0 -0
  72. package/src/browserslist +11 -0
  73. package/src/environments/environment.prod.ts +3 -0
  74. package/src/environments/environment.ts +16 -0
  75. package/src/favicon.ico +0 -0
  76. package/src/index.html +14 -0
  77. package/src/karma.conf.js +31 -0
  78. package/src/main.ts +12 -0
  79. package/src/polyfills.ts +80 -0
  80. package/src/styles.scss +1 -0
  81. package/src/test.ts +20 -0
  82. package/src/tsconfig.app.json +11 -0
  83. package/src/tsconfig.spec.json +18 -0
  84. package/src/tslint.json +17 -0
  85. package/tsconfig.json +34 -0
  86. package/tslint.json +131 -0
  87. package/update_full.js +27 -0
@@ -0,0 +1,38 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../out-tsc/lib",
5
+ "target": "es2015",
6
+ "module": "es2015",
7
+ "moduleResolution": "node",
8
+ "declaration": true,
9
+ "sourceMap": true,
10
+ "inlineSources": true,
11
+ "emitDecoratorMetadata": true,
12
+ "experimentalDecorators": true,
13
+ "importHelpers": true,
14
+ "types": [
15
+ "node"
16
+ ],
17
+ "lib": [
18
+ "dom",
19
+ "es2018"
20
+ ],
21
+ "typeRoots": [
22
+ "node_modules/@types"
23
+ ]
24
+ },
25
+ "angularCompilerOptions": {
26
+ "annotateForClosureCompiler": true,
27
+ "skipTemplateCodegen": true,
28
+ "strictMetadataEmit": true,
29
+ "fullTemplateTypeCheck": true,
30
+ "strictInjectionParameters": true,
31
+ "enableResourceInlining": true,
32
+ "compilationMode": "partial"
33
+ },
34
+ "exclude": [
35
+ "src/test.ts",
36
+ "**/*.spec.ts"
37
+ ]
38
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "./tsconfig.lib.json",
3
+ "angularCompilerOptions": {
4
+ "compilationMode": "partial"
5
+ }
6
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../out-tsc/spec",
5
+ "types": [
6
+ "jasmine",
7
+ "node"
8
+ ]
9
+ },
10
+ "files": [
11
+ "src/test.ts"
12
+ ],
13
+ "include": [
14
+ "**/*.spec.ts",
15
+ "**/*.d.ts"
16
+ ]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "extends": "../../tslint.json",
3
+ "rules": {
4
+ "directive-selector": [
5
+ true,
6
+ "attribute",
7
+ "lib",
8
+ "camelCase"
9
+ ],
10
+ "component-selector": [
11
+ true,
12
+ "element",
13
+ "lib",
14
+ "kebab-case"
15
+ ]
16
+ }
17
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "copyFiles": [
3
+ {
4
+ "from": "package.json",
5
+ "to": "../../ng-package.json"
6
+ },
7
+ {
8
+ "from": "public_api.ts",
9
+ "to": "../../src/public_api.ts"
10
+ }
11
+ ],
12
+ "copyFilesSettings": {
13
+ "whenFileExists": "overwrite"
14
+ }
15
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/widget-common/full",
4
+ "lib": {
5
+ "entryFile": "../../projects/widget-common/src/public_api.ts"
6
+ }
7
+ }
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Public API Surface of widget-common
3
+ */
4
+
5
+ export * from './lib/communication.service';
6
+ export * from './lib/common';
7
+ export * from './lib/loader';
8
+ export * from './lib/shared.module';
9
+ export * from './lib/widget.component';
10
+ export * from './lib/widget.generator';
11
+ export * from './lib/widget.utils';
12
+ export * from './lib/widget.interface';
13
+ export * from './lib/widget.api';
14
+ export * from './lib/widget.dialog';
15
+ export * from './lib/echart/echart.component';
16
+ export * from './lib/pie-chart/pie-chart.component';
17
+ export * from './lib/widget-container/widget-container.component';
18
+ export * from './lib/forge/forge.component';
19
+ export * from './lib/forge/forge.interface';
@@ -0,0 +1,15 @@
1
+ {
2
+ "copyFiles": [
3
+ {
4
+ "from": "package.json",
5
+ "to": "../../ng-package.json"
6
+ },
7
+ {
8
+ "from": "public_api.ts",
9
+ "to": "../../src/public_api.ts"
10
+ }
11
+ ],
12
+ "copyFilesSettings": {
13
+ "whenFileExists": "overwrite"
14
+ }
15
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/widget-common/interface",
4
+ "lib": {
5
+ "entryFile": "../../projects/widget-common/src/public_api.ts"
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Public API Surface of widget-common
3
+ */
4
+
5
+ export * from './lib/widget.component';
6
+ export * from './lib/widget.interface';
7
+ export * from './lib/widget.api';
8
+ export * from './lib/forge/forge.interface';
9
+ export * from './lib/widget.dialog';
@@ -0,0 +1,20 @@
1
+ <!--The content below is only a placeholder and can be replaced.-->
2
+ <div style="text-align:center">
3
+ <h1>
4
+ Welcome to {{ title }}!
5
+ </h1>
6
+ <img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
7
+ </div>
8
+ <h2>Here are some links to help you start: </h2>
9
+ <ul>
10
+ <li>
11
+ <h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
12
+ </li>
13
+ <li>
14
+ <h2><a target="_blank" rel="noopener" href="https://github.com/angular/angular-cli/wiki">CLI Documentation</a></h2>
15
+ </li>
16
+ <li>
17
+ <h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
18
+ </li>
19
+ </ul>
20
+
File without changes
@@ -0,0 +1,31 @@
1
+ import { TestBed, async } from '@angular/core/testing';
2
+ import { AppComponent } from './app.component';
3
+
4
+ describe('AppComponent', () => {
5
+ beforeEach(async(() => {
6
+ TestBed.configureTestingModule({
7
+ declarations: [
8
+ AppComponent
9
+ ],
10
+ }).compileComponents();
11
+ }));
12
+
13
+ it('should create the app', () => {
14
+ const fixture = TestBed.createComponent(AppComponent);
15
+ const app = fixture.debugElement.componentInstance;
16
+ expect(app).toBeTruthy();
17
+ });
18
+
19
+ it(`should have as title 'sem-dashboard-common'`, () => {
20
+ const fixture = TestBed.createComponent(AppComponent);
21
+ const app = fixture.debugElement.componentInstance;
22
+ expect(app.title).toEqual('sem-dashboard-common');
23
+ });
24
+
25
+ it('should render title in a h1 tag', () => {
26
+ const fixture = TestBed.createComponent(AppComponent);
27
+ fixture.detectChanges();
28
+ const compiled = fixture.debugElement.nativeElement;
29
+ expect(compiled.querySelector('h1').textContent).toContain('Welcome to sem-dashboard-common!');
30
+ });
31
+ });
@@ -0,0 +1,10 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'app-root',
5
+ templateUrl: './app.component.html',
6
+ styleUrls: ['./app.component.scss']
7
+ })
8
+ export class AppComponent {
9
+ title = 'sem-dashboard-common';
10
+ }
@@ -0,0 +1,16 @@
1
+ import { BrowserModule } from '@angular/platform-browser';
2
+ import { NgModule } from '@angular/core';
3
+
4
+ import { AppComponent } from './app.component';
5
+
6
+ @NgModule({
7
+ declarations: [
8
+ AppComponent
9
+ ],
10
+ imports: [
11
+ BrowserModule
12
+ ],
13
+ providers: [],
14
+ bootstrap: [AppComponent]
15
+ })
16
+ export class AppModule { }
File without changes
@@ -0,0 +1,11 @@
1
+ # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2
+ # For additional information regarding the format and rule options, please see:
3
+ # https://github.com/browserslist/browserslist#queries
4
+ #
5
+ # For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
6
+
7
+ > 0.5%
8
+ last 2 versions
9
+ Firefox ESR
10
+ not dead
11
+ not IE 9-11
@@ -0,0 +1,3 @@
1
+ export const environment = {
2
+ production: true
3
+ };
@@ -0,0 +1,16 @@
1
+ // This file can be replaced during build by using the `fileReplacements` array.
2
+ // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3
+ // The list of file replacements can be found in `angular.json`.
4
+
5
+ export const environment = {
6
+ production: false
7
+ };
8
+
9
+ /*
10
+ * For easier debugging in development mode, you can import the following file
11
+ * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12
+ *
13
+ * This import should be commented out in production mode because it will have a negative impact
14
+ * on performance if an error is thrown.
15
+ */
16
+ // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
Binary file
package/src/index.html ADDED
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>SemDashboardCommon</title>
6
+ <base href="/">
7
+
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
10
+ </head>
11
+ <body>
12
+ <app-root></app-root>
13
+ </body>
14
+ </html>
@@ -0,0 +1,31 @@
1
+ // Karma configuration file, see link for more information
2
+ // https://karma-runner.github.io/1.0/config/configuration-file.html
3
+
4
+ module.exports = function (config) {
5
+ config.set({
6
+ basePath: '',
7
+ frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
+ plugins: [
9
+ require('karma-jasmine'),
10
+ require('karma-chrome-launcher'),
11
+ require('karma-jasmine-html-reporter'),
12
+ require('karma-coverage-istanbul-reporter'),
13
+ require('@angular-devkit/build-angular/plugins/karma')
14
+ ],
15
+ client: {
16
+ clearContext: false // leave Jasmine Spec Runner output visible in browser
17
+ },
18
+ coverageIstanbulReporter: {
19
+ dir: require('path').join(__dirname, '../coverage'),
20
+ reports: ['html', 'lcovonly'],
21
+ fixWebpackSourcePaths: true
22
+ },
23
+ reporters: ['progress', 'kjhtml'],
24
+ port: 9876,
25
+ colors: true,
26
+ logLevel: config.LOG_INFO,
27
+ autoWatch: true,
28
+ browsers: ['Chrome'],
29
+ singleRun: false
30
+ });
31
+ };
package/src/main.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { enableProdMode } from '@angular/core';
2
+ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
+
4
+ import { AppModule } from './app/app.module';
5
+ import { environment } from './environments/environment';
6
+
7
+ if (environment.production) {
8
+ enableProdMode();
9
+ }
10
+
11
+ platformBrowserDynamic().bootstrapModule(AppModule)
12
+ .catch(err => console.error(err));
@@ -0,0 +1,80 @@
1
+ /**
2
+ * This file includes polyfills needed by Angular and is loaded before the app.
3
+ * You can add your own extra polyfills to this file.
4
+ *
5
+ * This file is divided into 2 sections:
6
+ * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
+ * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
+ * file.
9
+ *
10
+ * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
+ * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
+ * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
+ *
14
+ * Learn more in https://angular.io/guide/browser-support
15
+ */
16
+
17
+ /***************************************************************************************************
18
+ * BROWSER POLYFILLS
19
+ */
20
+
21
+ /** IE9, IE10 and IE11 requires all of the following polyfills. **/
22
+ // import 'core-js/es6/symbol';
23
+ // import 'core-js/es6/object';
24
+ // import 'core-js/es6/function';
25
+ // import 'core-js/es6/parse-int';
26
+ // import 'core-js/es6/parse-float';
27
+ // import 'core-js/es6/number';
28
+ // import 'core-js/es6/math';
29
+ // import 'core-js/es6/string';
30
+ // import 'core-js/es6/date';
31
+ // import 'core-js/es6/array';
32
+ // import 'core-js/es6/regexp';
33
+ // import 'core-js/es6/map';
34
+ // import 'core-js/es6/weak-map';
35
+ // import 'core-js/es6/set';
36
+
37
+ /**
38
+ * If the application will be indexed by Google Search, the following is required.
39
+ * Googlebot uses a renderer based on Chrome 41.
40
+ * https://developers.google.com/search/docs/guides/rendering
41
+ **/
42
+ // import 'core-js/es6/array';
43
+
44
+ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
45
+ // import 'classlist.js'; // Run `npm install --save classlist.js`.
46
+
47
+ /** IE10 and IE11 requires the following for the Reflect API. */
48
+ // import 'core-js/es6/reflect';
49
+
50
+ /**
51
+ * Web Animations `@angular/platform-browser/animations`
52
+ * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
53
+ * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
54
+ **/
55
+ // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
56
+
57
+ /**
58
+ * By default, zone.js will patch all possible macroTask and DomEvents
59
+ * user can disable parts of macroTask/DomEvents patch by setting following flags
60
+ */
61
+
62
+ // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
63
+ // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
64
+ // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
65
+
66
+ /*
67
+ * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
68
+ * with the following flag, it will bypass `zone.js` patch for IE/Edge
69
+ */
70
+ // (window as any).__Zone_enable_cross_context_check = true;
71
+
72
+ /***************************************************************************************************
73
+ * Zone JS is required by default for Angular itself.
74
+ */
75
+ import 'zone.js/dist/zone'; // Included with Angular CLI.
76
+
77
+
78
+ /***************************************************************************************************
79
+ * APPLICATION IMPORTS
80
+ */
@@ -0,0 +1 @@
1
+ /* You can add global styles to this file, and also import other style files */
package/src/test.ts ADDED
@@ -0,0 +1,20 @@
1
+ // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
+
3
+ import 'zone.js/dist/zone-testing';
4
+ import { getTestBed } from '@angular/core/testing';
5
+ import {
6
+ BrowserDynamicTestingModule,
7
+ platformBrowserDynamicTesting
8
+ } from '@angular/platform-browser-dynamic/testing';
9
+
10
+ declare const require: any;
11
+
12
+ // First, initialize the Angular testing environment.
13
+ getTestBed().initTestEnvironment(
14
+ BrowserDynamicTestingModule,
15
+ platformBrowserDynamicTesting()
16
+ );
17
+ // Then we find all the tests.
18
+ const context = require.context('./', true, /\.spec\.ts$/);
19
+ // And load the modules.
20
+ context.keys().map(context);
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../out-tsc/app",
5
+ "types": []
6
+ },
7
+ "exclude": [
8
+ "test.ts",
9
+ "**/*.spec.ts"
10
+ ]
11
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../out-tsc/spec",
5
+ "types": [
6
+ "jasmine",
7
+ "node"
8
+ ]
9
+ },
10
+ "files": [
11
+ "test.ts",
12
+ "polyfills.ts"
13
+ ],
14
+ "include": [
15
+ "**/*.spec.ts",
16
+ "**/*.d.ts"
17
+ ]
18
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "extends": "../tslint.json",
3
+ "rules": {
4
+ "directive-selector": [
5
+ true,
6
+ "attribute",
7
+ "app",
8
+ "camelCase"
9
+ ],
10
+ "component-selector": [
11
+ true,
12
+ "element",
13
+ "app",
14
+ "kebab-case"
15
+ ]
16
+ }
17
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "compileOnSave": false,
3
+ "compilerOptions": {
4
+ "baseUrl": "./",
5
+ "outDir": "./dist/out-tsc",
6
+ "sourceMap": true,
7
+ "declaration": false,
8
+ "module": "ESNext",
9
+ "moduleResolution": "node",
10
+ "emitDecoratorMetadata": true,
11
+ "experimentalDecorators": true,
12
+ "target": "es5",
13
+ "typeRoots": [
14
+ "node_modules/@types"
15
+ ],
16
+ "types": [
17
+ // add node as an option
18
+ "node"
19
+ ],
20
+ "lib": [
21
+ "es2018",
22
+ "dom"
23
+ ],
24
+ "paths": {
25
+ "@angular/*": ["./node_modules/@angular/*"],
26
+ "sem-dashboard": [
27
+ "dist/sem-dashboard"
28
+ ],
29
+ "sem-dashboard/*": [
30
+ "dist/sem-dashboard/*"
31
+ ]
32
+ }
33
+ }
34
+ }