@fatcore/gantt-lite 1.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/.editorconfig +16 -0
  2. package/.vscode/extensions.json +4 -0
  3. package/.vscode/launch.json +20 -0
  4. package/.vscode/tasks.json +42 -0
  5. package/README.md +27 -0
  6. package/angular.json +165 -0
  7. package/dist17/gantt-lite/README.md +24 -0
  8. package/dist17/gantt-lite/esm2022/gantt-lite.mjs +5 -0
  9. package/dist17/gantt-lite/esm2022/gantt-lite.module.mjs +18 -0
  10. package/dist17/gantt-lite/esm2022/lib/gantt-lite-base.mjs +290 -0
  11. package/dist17/gantt-lite/esm2022/lib/gantt-lite.component.mjs +359 -0
  12. package/dist17/gantt-lite/esm2022/lib/gantt-lite.helper.mjs +107 -0
  13. package/dist17/gantt-lite/esm2022/lib/gantt-lite.model.mjs +2 -0
  14. package/dist17/gantt-lite/esm2022/public-api.mjs +3 -0
  15. package/dist17/gantt-lite/fesm2022/gantt-lite.mjs +774 -0
  16. package/dist17/gantt-lite/fesm2022/gantt-lite.mjs.map +1 -0
  17. package/dist17/gantt-lite/gantt-lite.module.d.ts +8 -0
  18. package/dist17/gantt-lite/index.d.ts +5 -0
  19. package/dist17/gantt-lite/lib/gantt-lite-base.d.ts +50 -0
  20. package/dist17/gantt-lite/lib/gantt-lite.component.d.ts +55 -0
  21. package/dist17/gantt-lite/lib/gantt-lite.helper.d.ts +20 -0
  22. package/dist17/gantt-lite/lib/gantt-lite.model.d.ts +47 -0
  23. package/dist17/gantt-lite/public-api.d.ts +2 -0
  24. package/dist18/gantt-lite/README.md +24 -0
  25. package/dist18/gantt-lite/esm2022/gantt-lite.mjs +5 -0
  26. package/dist18/gantt-lite/esm2022/gantt-lite.module.mjs +18 -0
  27. package/dist18/gantt-lite/esm2022/lib/gantt-lite-base.mjs +290 -0
  28. package/dist18/gantt-lite/esm2022/lib/gantt-lite.component.mjs +359 -0
  29. package/dist18/gantt-lite/esm2022/lib/gantt-lite.helper.mjs +107 -0
  30. package/dist18/gantt-lite/esm2022/lib/gantt-lite.model.mjs +2 -0
  31. package/dist18/gantt-lite/esm2022/public-api.mjs +3 -0
  32. package/dist18/gantt-lite/fesm2022/gantt-lite.mjs +774 -0
  33. package/dist18/gantt-lite/fesm2022/gantt-lite.mjs.map +1 -0
  34. package/dist18/gantt-lite/gantt-lite.module.d.ts +8 -0
  35. package/dist18/gantt-lite/index.d.ts +5 -0
  36. package/dist18/gantt-lite/lib/gantt-lite-base.d.ts +50 -0
  37. package/dist18/gantt-lite/lib/gantt-lite.component.d.ts +55 -0
  38. package/dist18/gantt-lite/lib/gantt-lite.helper.d.ts +20 -0
  39. package/dist18/gantt-lite/lib/gantt-lite.model.d.ts +47 -0
  40. package/dist18/gantt-lite/public-api.d.ts +2 -0
  41. package/dist19/gantt-lite/README.md +24 -0
  42. package/dist19/gantt-lite/fesm2022/gantt-lite.mjs +774 -0
  43. package/dist19/gantt-lite/fesm2022/gantt-lite.mjs.map +1 -0
  44. package/dist19/gantt-lite/gantt-lite.module.d.ts +8 -0
  45. package/dist19/gantt-lite/index.d.ts +5 -0
  46. package/dist19/gantt-lite/lib/gantt-lite-base.d.ts +50 -0
  47. package/dist19/gantt-lite/lib/gantt-lite.component.d.ts +55 -0
  48. package/dist19/gantt-lite/lib/gantt-lite.helper.d.ts +20 -0
  49. package/dist19/gantt-lite/lib/gantt-lite.model.d.ts +47 -0
  50. package/dist19/gantt-lite/public-api.d.ts +2 -0
  51. package/dist20/gantt-lite/README.md +24 -0
  52. package/dist20/gantt-lite/fesm2022/gantt-lite.mjs +774 -0
  53. package/dist20/gantt-lite/fesm2022/gantt-lite.mjs.map +1 -0
  54. package/dist20/gantt-lite/index.d.ts +159 -0
  55. package/my-workspace-0.0.0.tgz +0 -0
  56. package/package.json +45 -0
  57. package/projects/gantt-lite/README.md +24 -0
  58. package/projects/gantt-lite/ng-package.json +7 -0
  59. package/projects/gantt-lite/package.json +10 -0
  60. package/projects/gantt-lite/src/gantt-lite.module.ts +10 -0
  61. package/projects/gantt-lite/src/lib/gantt-lite-base.ts +300 -0
  62. package/projects/gantt-lite/src/lib/gantt-lite.component.html +128 -0
  63. package/projects/gantt-lite/src/lib/gantt-lite.component.scss +323 -0
  64. package/projects/gantt-lite/src/lib/gantt-lite.component.ts +391 -0
  65. package/projects/gantt-lite/src/lib/gantt-lite.helper.ts +124 -0
  66. package/projects/gantt-lite/src/lib/gantt-lite.model.ts +56 -0
  67. package/projects/gantt-lite/src/public-api.ts +5 -0
  68. package/projects/gantt-lite/tsconfig.lib.json +14 -0
  69. package/projects/gantt-lite/tsconfig.lib.prod.json +10 -0
  70. package/projects/gantt-lite/tsconfig.spec.json +14 -0
  71. package/projects/my-app/server.ts +56 -0
  72. package/projects/my-app/src/app/app.component.html +336 -0
  73. package/projects/my-app/src/app/app.component.scss +0 -0
  74. package/projects/my-app/src/app/app.component.spec.ts +29 -0
  75. package/projects/my-app/src/app/app.component.ts +13 -0
  76. package/projects/my-app/src/app/app.config.server.ts +11 -0
  77. package/projects/my-app/src/app/app.config.ts +9 -0
  78. package/projects/my-app/src/app/app.routes.ts +3 -0
  79. package/projects/my-app/src/assets/.gitkeep +0 -0
  80. package/projects/my-app/src/favicon.ico +0 -0
  81. package/projects/my-app/src/index.html +13 -0
  82. package/projects/my-app/src/main.server.ts +7 -0
  83. package/projects/my-app/src/main.ts +6 -0
  84. package/projects/my-app/src/styles.scss +1 -0
  85. package/projects/my-app/tsconfig.app.json +18 -0
  86. package/projects/my-app/tsconfig.spec.json +14 -0
  87. package/tsconfig.json +37 -0
package/.editorconfig ADDED
@@ -0,0 +1,16 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
13
+
14
+ [*.md]
15
+ max_line_length = off
16
+ trim_trailing_whitespace = false
@@ -0,0 +1,4 @@
1
+ {
2
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
+ "recommendations": ["angular.ng-template"]
4
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
+ "version": "0.2.0",
4
+ "configurations": [
5
+ {
6
+ "name": "ng serve",
7
+ "type": "chrome",
8
+ "request": "launch",
9
+ "preLaunchTask": "npm: start",
10
+ "url": "http://localhost:4200/"
11
+ },
12
+ {
13
+ "name": "ng test",
14
+ "type": "chrome",
15
+ "request": "launch",
16
+ "preLaunchTask": "npm: test",
17
+ "url": "http://localhost:9876/debug.html"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
+ "version": "2.0.0",
4
+ "tasks": [
5
+ {
6
+ "type": "npm",
7
+ "script": "start",
8
+ "isBackground": true,
9
+ "problemMatcher": {
10
+ "owner": "typescript",
11
+ "pattern": "$tsc",
12
+ "background": {
13
+ "activeOnStart": true,
14
+ "beginsPattern": {
15
+ "regexp": "(.*?)"
16
+ },
17
+ "endsPattern": {
18
+ "regexp": "bundle generation complete"
19
+ }
20
+ }
21
+ }
22
+ },
23
+ {
24
+ "type": "npm",
25
+ "script": "test",
26
+ "isBackground": true,
27
+ "problemMatcher": {
28
+ "owner": "typescript",
29
+ "pattern": "$tsc",
30
+ "background": {
31
+ "activeOnStart": true,
32
+ "beginsPattern": {
33
+ "regexp": "(.*?)"
34
+ },
35
+ "endsPattern": {
36
+ "regexp": "bundle generation complete"
37
+ }
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # MyWorkspace
2
+
3
+ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.3.
4
+
5
+ ## Development server
6
+
7
+ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
8
+
9
+ ## Code scaffolding
10
+
11
+ Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12
+
13
+ ## Build
14
+
15
+ Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16
+
17
+ ## Running unit tests
18
+
19
+ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
+
21
+ ## Running end-to-end tests
22
+
23
+ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24
+
25
+ ## Further help
26
+
27
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/angular.json ADDED
@@ -0,0 +1,165 @@
1
+ {
2
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "newProjectRoot": "projects",
5
+ "projects": {
6
+ "my-app": {
7
+ "projectType": "application",
8
+ "schematics": {
9
+ "@schematics/angular:component": {
10
+ "style": "scss"
11
+ }
12
+ },
13
+ "root": "projects/my-app",
14
+ "sourceRoot": "projects/my-app/src",
15
+ "prefix": "app",
16
+ "architect": {
17
+ "build": {
18
+ "builder": "@angular/build:application",
19
+ "options": {
20
+ "outputPath": "dist/my-app",
21
+ "index": "projects/my-app/src/index.html",
22
+ "browser": "projects/my-app/src/main.ts",
23
+ "polyfills": [
24
+ "zone.js"
25
+ ],
26
+ "tsConfig": "projects/my-app/tsconfig.app.json",
27
+ "inlineStyleLanguage": "scss",
28
+ "assets": [
29
+ "projects/my-app/src/favicon.ico",
30
+ "projects/my-app/src/assets"
31
+ ],
32
+ "styles": [
33
+ "projects/my-app/src/styles.scss"
34
+ ],
35
+ "scripts": [],
36
+ "server": "projects/my-app/src/main.server.ts",
37
+ "prerender": true,
38
+ "ssr": {
39
+ "entry": "projects/my-app/server.ts"
40
+ }
41
+ },
42
+ "configurations": {
43
+ "production": {
44
+ "budgets": [
45
+ {
46
+ "type": "initial",
47
+ "maximumWarning": "500kb",
48
+ "maximumError": "1mb"
49
+ },
50
+ {
51
+ "type": "anyComponentStyle",
52
+ "maximumWarning": "2kb",
53
+ "maximumError": "4kb"
54
+ }
55
+ ],
56
+ "outputHashing": "all"
57
+ },
58
+ "development": {
59
+ "optimization": false,
60
+ "extractLicenses": false,
61
+ "sourceMap": true
62
+ }
63
+ },
64
+ "defaultConfiguration": "production"
65
+ },
66
+ "serve": {
67
+ "builder": "@angular/build:dev-server",
68
+ "configurations": {
69
+ "production": {
70
+ "buildTarget": "my-app:build:production"
71
+ },
72
+ "development": {
73
+ "buildTarget": "my-app:build:development"
74
+ }
75
+ },
76
+ "defaultConfiguration": "development"
77
+ },
78
+ "extract-i18n": {
79
+ "builder": "@angular/build:extract-i18n",
80
+ "options": {
81
+ "buildTarget": "my-app:build"
82
+ }
83
+ },
84
+ "test": {
85
+ "builder": "@angular/build:karma",
86
+ "options": {
87
+ "polyfills": [
88
+ "zone.js",
89
+ "zone.js/testing"
90
+ ],
91
+ "tsConfig": "projects/my-app/tsconfig.spec.json",
92
+ "inlineStyleLanguage": "scss",
93
+ "assets": [
94
+ "projects/my-app/src/favicon.ico",
95
+ "projects/my-app/src/assets"
96
+ ],
97
+ "styles": [
98
+ "projects/my-app/src/styles.scss"
99
+ ],
100
+ "scripts": []
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "gantt-lite": {
106
+ "projectType": "library",
107
+ "root": "projects/gantt-lite",
108
+ "sourceRoot": "projects/gantt-lite/src",
109
+ "prefix": "lib",
110
+ "architect": {
111
+ "build": {
112
+ "builder": "@angular/build:ng-packagr",
113
+ "options": {
114
+ "project": "projects/gantt-lite/ng-package.json"
115
+ },
116
+ "configurations": {
117
+ "production": {
118
+ "tsConfig": "projects/gantt-lite/tsconfig.lib.prod.json"
119
+ },
120
+ "development": {
121
+ "tsConfig": "projects/gantt-lite/tsconfig.lib.json"
122
+ }
123
+ },
124
+ "defaultConfiguration": "production"
125
+ },
126
+ "test": {
127
+ "builder": "@angular/build:karma",
128
+ "options": {
129
+ "tsConfig": "projects/gantt-lite/tsconfig.spec.json",
130
+ "polyfills": [
131
+ "zone.js",
132
+ "zone.js/testing"
133
+ ]
134
+ }
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "schematics": {
140
+ "@schematics/angular:component": {
141
+ "type": "component"
142
+ },
143
+ "@schematics/angular:directive": {
144
+ "type": "directive"
145
+ },
146
+ "@schematics/angular:service": {
147
+ "type": "service"
148
+ },
149
+ "@schematics/angular:guard": {
150
+ "typeSeparator": "."
151
+ },
152
+ "@schematics/angular:interceptor": {
153
+ "typeSeparator": "."
154
+ },
155
+ "@schematics/angular:module": {
156
+ "typeSeparator": "."
157
+ },
158
+ "@schematics/angular:pipe": {
159
+ "typeSeparator": "."
160
+ },
161
+ "@schematics/angular:resolver": {
162
+ "typeSeparator": "."
163
+ }
164
+ }
165
+ }
@@ -0,0 +1,24 @@
1
+ # GanttLite
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project gantt-lite` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project gantt-lite`.
8
+ > Note: Don't forget to add `--project gantt-lite` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build gantt-lite` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build gantt-lite`, go to the dist folder `cd dist/gantt-lite` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test gantt-lite` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FudHQtbGl0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2dhbnR0LWxpdGUvc3JjL2dhbnR0LWxpdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,18 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { GanttLiteComponent } from "./lib/gantt-lite.component";
3
+ import { CommonModule } from "@angular/common";
4
+ import * as i0 from "@angular/core";
5
+ export class GanttLiteModule {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GanttLiteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: GanttLiteModule, declarations: [GanttLiteComponent], imports: [CommonModule], exports: [GanttLiteComponent] }); }
8
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GanttLiteModule, imports: [CommonModule] }); }
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GanttLiteModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [GanttLiteComponent],
14
+ imports: [CommonModule],
15
+ exports: [GanttLiteComponent]
16
+ }]
17
+ }] });
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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