Skip to content

Commit 6475b7b

Browse files
authored
Add files via upload
1 parent 27f867a commit 6475b7b

File tree

98 files changed

+4329
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+4329
-0
lines changed
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"demo": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"prefix": "app",
11+
"schematics": {},
12+
"architect": {
13+
"build": {
14+
"builder": "@angular-devkit/build-angular:browser",
15+
"options": {
16+
"outputPath": "dist/demo",
17+
"index": "src/index.html",
18+
"main": "src/main.ts",
19+
"polyfills": "src/polyfills.ts",
20+
"tsConfig": "src/tsconfig.app.json",
21+
"assets": [
22+
"src/assets"
23+
],
24+
"styles": [
25+
"./node_modules/@smart-webcomponents-angular/button/styles/smart.base.css",
26+
"./node_modules/@smart-webcomponents-angular/button/styles/smart.button.css",
27+
"./node_modules/@smart-webcomponents-angular/chart/styles/smart.chart.css",
28+
"./node_modules/@smart-webcomponents-angular/numberinput/styles/smart.numberinput.css",
29+
"./node_modules/@smart-webcomponents-angular/ganttchart/styles/smart.ganttchart.css",
30+
"./node_modules/@smart-webcomponents-angular/input/styles/smart.input.css",
31+
"./node_modules/@smart-webcomponents-angular/switchbutton/styles/smart.switchbutton.css",
32+
"./node_modules/@smart-webcomponents-angular/button/styles/smart.common.css",
33+
"src/assets/fonts.css",
34+
"src/assets/styles.css"
35+
],
36+
"scripts": []
37+
},
38+
"configurations": {
39+
"production": {
40+
"fileReplacements": [
41+
{
42+
"replace": "src/environments/environment.ts",
43+
"with": "src/environments/environment.prod.ts"
44+
}
45+
],
46+
"optimization": false,
47+
"outputHashing": "all",
48+
"sourceMap": false,
49+
"extractCss": true,
50+
"namedChunks": false,
51+
"aot": true,
52+
"extractLicenses": true,
53+
"vendorChunk": false,
54+
"buildOptimizer": false
55+
}
56+
}
57+
},
58+
"serve": {
59+
"builder": "@angular-devkit/build-angular:dev-server",
60+
"options": {
61+
"browserTarget": "demo:build"
62+
},
63+
"configurations": {
64+
"production": {
65+
"browserTarget": "demo:build:production"
66+
}
67+
}
68+
},
69+
"extract-i18n": {
70+
"builder": "@angular-devkit/build-angular:extract-i18n",
71+
"options": {
72+
"browserTarget": "demo:build"
73+
}
74+
},
75+
"test": {
76+
"builder": "@angular-devkit/build-angular:karma",
77+
"options": {
78+
"main": "src/test.ts",
79+
"polyfills": "src/polyfills.ts",
80+
"tsConfig": "src/tsconfig.spec.json",
81+
"karmaConfig": "src/karma.conf.js",
82+
"styles": [
83+
"styles.css"
84+
],
85+
"scripts": [],
86+
"assets": [
87+
"src/favicon.ico",
88+
"src/assets"
89+
]
90+
}
91+
},
92+
"lint": {
93+
"builder": "@angular-devkit/build-angular:tslint",
94+
"options": {
95+
"tsConfig": [
96+
"src/tsconfig.app.json",
97+
"src/tsconfig.spec.json"
98+
],
99+
"exclude": [
100+
"**/node_modules/**"
101+
]
102+
}
103+
}
104+
}
105+
},
106+
"demo-e2e": {
107+
"root": "e2e/",
108+
"projectType": "application",
109+
"architect": {
110+
"e2e": {
111+
"builder": "@angular-devkit/build-angular:protractor",
112+
"options": {
113+
"protractorConfig": "e2e/protractor.conf.js",
114+
"devServerTarget": "demo:serve"
115+
}
116+
},
117+
"lint": {
118+
"builder": "@angular-devkit/build-angular:tslint",
119+
"options": {
120+
"tsConfig": "e2e/tsconfig.e2e.json",
121+
"exclude": [
122+
"**/node_modules/**"
123+
]
124+
}
125+
}
126+
}
127+
}
128+
},
129+
"defaultProject": "demo"
130+
}
131+
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "angular-gantt-current-time-indicator",
3+
"description": "Angular gantt current-time-indicator example. This example demonstrates commercial components by jQWidgets(https://www.jqwidgets.com/license/)",
4+
"version": "1.0.1",
5+
"homepage": "https://www.htmlelements.com/",
6+
"dependencies": {
7+
"@angular/animations": "^11.2.3",
8+
"@angular/elements": "^11.2.3",
9+
"@angular/common": "^11.2.3",
10+
"@angular/compiler": "^11.2.3",
11+
"@angular/core": "^11.2.3",
12+
"@angular/forms": "^11.2.3",
13+
"@angular/platform-browser": "^11.2.3",
14+
"@angular/platform-browser-dynamic": "^11.2.3",
15+
"@angular/router": "^11.2.3",
16+
"@types/jasmine": "^3.6.6",
17+
"@types/jasminewd2": "^2.0.8",
18+
"@types/node": "^14.14.31",
19+
"core-js": "3.9.1",
20+
"moment": "^2.29.1",
21+
"@smart-webcomponents-angular/button": "10.0.0",
22+
"@smart-webcomponents-angular/chart": "10.0.0",
23+
"@smart-webcomponents-angular/numberinput": "10.0.0",
24+
"@smart-webcomponents-angular/ganttchart": "10.3.0",
25+
"@smart-webcomponents-angular/input": "10.0.0",
26+
"@smart-webcomponents-angular/switchbutton": "10.0.0",
27+
"rxjs": "^6.6.6",
28+
"zone.js": "^0.11.4"
29+
},
30+
"scripts": {
31+
"ng": "ng",
32+
"start": "ng serve",
33+
"build": "ng build",
34+
"test": "ng test",
35+
"lint": "ng lint",
36+
"e2e": "ng e2e"
37+
},
38+
"devDependencies": {
39+
"@angular-devkit/build-angular": "~0.901.1",
40+
"@angular/cli": "~11.2.3",
41+
"@angular/compiler-cli": "~11.2.3",
42+
"@angular/language-service": "~11.2.3",
43+
"@types/node": "^14.14.35",
44+
"codelyzer": "^5.1.2",
45+
"jasmine-core": "~3.5.0",
46+
"jasmine-spec-reporter": "~4.2.1",
47+
"karma": "~4.4.1",
48+
"karma-chrome-launcher": "~3.1.0",
49+
"karma-coverage-istanbul-reporter": "~2.1.0",
50+
"karma-jasmine": "~3.0.1",
51+
"karma-jasmine-html-reporter": "^1.4.2",
52+
"protractor": "~5.4.3",
53+
"ts-node": "~8.3.0",
54+
"tslint": "~6.1.0",
55+
"typescript": "~4.1.5"
56+
}
57+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
.smart-gantt-chart {
2+
width: calc(100% - 300px);
3+
height: auto;
4+
}
5+
6+
@media (max-width: 750px) {
7+
.smart-gantt-chart{
8+
width: 100%;
9+
}
10+
}
11+
12+
.smart-gantt-chart .product-team {
13+
--smart-gantt-chart-task-color: rgb(94, 99, 181);
14+
--smart-gantt-chart-task-label-color: white;
15+
--smart-gantt-chart-task-label-color-selected: white;
16+
}
17+
18+
.smart-gantt-chart .marketing-team {
19+
--smart-gantt-chart-task-color: rgb(43, 195, 190);
20+
}
21+
22+
.smart-gantt-chart .dev-team {
23+
--smart-gantt-chart-task-color: rgb(242, 115, 112);
24+
--smart-gantt-chart-task-label-color: white;
25+
--smart-gantt-chart-task-label-color-selected: white;
26+
}
27+
28+
.smart-gantt-chart .design-team {
29+
--smart-gantt-chart-task-color: rgb(255, 197, 53);
30+
}
31+
32+
.smart-gantt-chart .qa-team {
33+
--smart-gantt-chart-task-color: rgb(99, 181, 144);
34+
}
35+
36+
.smart-gantt-chart .release-team {
37+
--smart-gantt-chart-task-color: rgb(188, 150, 223);
38+
--smart-gantt-chart-task-label-color: white;
39+
}
40+
41+
42+
.options {
43+
padding: 20px;
44+
background-color: rgba(191, 191, 191, .15);
45+
position: absolute;
46+
right: 0;
47+
top: 0;
48+
bottom: 0;
49+
width: 260px
50+
}
51+
52+
@media (max-width: 750px) {
53+
.options {
54+
position: relative;
55+
top: 30px;
56+
width: 240px;
57+
margin: 0 auto;
58+
}
59+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<smart-gantt-chart #ganttchart id="gantt" [view]="view" [shadeUntilCurrentTime]="shadeUntilCurrentTime"
2+
[currentTimeIndicator]="currentTimeIndicator" [currentTimeIndicatorInterval]="currentTimeIndicatorInterval"
3+
[dateStart]="dateStart" [dateEnd]="dateEnd" [taskColumns]="taskColumns" [dataSource]="dataSource"></smart-gantt-chart>
4+
5+
<div class="options">
6+
<div class="option">
7+
<h4>Current Time Indicator:</h4>
8+
<smart-switch-button #switchbutton id="currentTimeIndicator" [checked]="true"></smart-switch-button>
9+
</div>
10+
<div class="option">
11+
<h4>Shade Untill Current Time:</h4>
12+
<smart-switch-button #switchbutton2 id="shadeUntilCurrentTime" [checked]="true"></smart-switch-button>
13+
</div>
14+
<div class="option">
15+
<h4>Current Time Indicator/Shader Update Interval:</h4>
16+
<smart-number-input #numberinput id="currentTimeIndicatorInterval" [value]="60" [min]="1"></smart-number-input>
17+
</div>
18+
</div>

0 commit comments

Comments
 (0)