qcobjectsnewapp 2.4.20 → 2.4.21
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.
- package/VERSION +1 -1
- package/config.json +15 -1
- package/package.json +6 -5
- package/src/js/packages/org.quickcorp.custom.views.ts +4 -4
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.21
|
package/config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"devmode":"debug",
|
|
3
3
|
"autodiscover":true,
|
|
4
4
|
"autodiscover_commands":true,
|
|
5
|
+
"autodiscover_handlers":true,
|
|
5
6
|
"documentRoot": "$config(projectPath)public/",
|
|
6
7
|
"documentRootFileIndex":"index.html",
|
|
7
8
|
"cacheControl":"max-age=31536000",
|
|
@@ -35,8 +36,21 @@
|
|
|
35
36
|
"cors":{
|
|
36
37
|
"allow_origins":"*"
|
|
37
38
|
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name":"Hello World!",
|
|
42
|
+
"description":"Hello world Microservice!",
|
|
43
|
+
"path":"^/hello-world",
|
|
44
|
+
"microservice":"qcobjects-handler-hello-world",
|
|
45
|
+
"headers": {
|
|
46
|
+
"content-type": "text/html; charset=utf-8"
|
|
47
|
+
},
|
|
48
|
+
"responseHeaders":{
|
|
49
|
+
},
|
|
50
|
+
"cors":{
|
|
51
|
+
"allow_origins":"*"
|
|
52
|
+
}
|
|
38
53
|
}
|
|
39
|
-
|
|
40
54
|
|
|
41
55
|
]
|
|
42
56
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjectsnewapp",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.21",
|
|
4
4
|
"description": "App template for New App in QCObjects",
|
|
5
5
|
"targets": {
|
|
6
6
|
"default": {
|
|
@@ -113,9 +113,10 @@
|
|
|
113
113
|
"npm-run-all": "^4.1.5",
|
|
114
114
|
"parcel": "^2.8.3",
|
|
115
115
|
"process": "^0.11.10",
|
|
116
|
-
"qcobjects-cli": "^2.4.
|
|
116
|
+
"qcobjects-cli": "^2.4.47",
|
|
117
117
|
"qcobjects-command-publish-static": "^1.0.2",
|
|
118
118
|
"qcobjects-tsconfig": "^2.4.10",
|
|
119
|
+
"semistandard": "^16.0.1",
|
|
119
120
|
"systemjs": "^6.14.1",
|
|
120
121
|
"typescript": "^5.0.4"
|
|
121
122
|
},
|
|
@@ -124,9 +125,9 @@
|
|
|
124
125
|
"grunt-contrib-jasmine": "^4.0.0",
|
|
125
126
|
"npm-watch": "^0.11.0",
|
|
126
127
|
"nyc": "^15.1.0",
|
|
127
|
-
"qcobjects": "^2.4.
|
|
128
|
-
"qcobjects-
|
|
129
|
-
"
|
|
128
|
+
"qcobjects": "^2.4.73",
|
|
129
|
+
"qcobjects-handler-hello-world": "^1.0.0",
|
|
130
|
+
"qcobjects-sdk": "^2.4.34"
|
|
130
131
|
},
|
|
131
132
|
"engines": {
|
|
132
133
|
"npm": ">=8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { Package, View } from "qcobjects";
|
|
3
|
+
import { Package, QCObjectsElement, View } from "qcobjects";
|
|
4
4
|
|
|
5
5
|
Package("org.quickcorp.custom.views", [
|
|
6
6
|
|
|
@@ -9,9 +9,9 @@ Package("org.quickcorp.custom.views", [
|
|
|
9
9
|
const _ret_ = super.done(args);
|
|
10
10
|
const component = this.component;
|
|
11
11
|
if (component !== undefined && component.body !== undefined) {
|
|
12
|
-
component.body.style.display = "block";
|
|
13
|
-
component.body.style.width = "100px";
|
|
14
|
-
component.body.style.height = "100px";
|
|
12
|
+
(component.body as QCObjectsElement).style.display = "block";
|
|
13
|
+
(component.body as QCObjectsElement).style.width = "100px";
|
|
14
|
+
(component.body as QCObjectsElement).style.height = "100px";
|
|
15
15
|
}
|
|
16
16
|
return _ret_;
|
|
17
17
|
}
|