tnx-shared 5.1.75 → 5.1.79
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/assets/docker/docker-entrypoint.sh +22 -22
- package/bundles/tnx-shared.umd.js +326 -96
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/base/data-form-base.d.ts.map +1 -1
- package/classes/base/data-list-base.d.ts.map +1 -1
- package/classes/public-function.d.ts +1 -1
- package/classes/workflow-schema.d.ts +1 -0
- package/classes/workflow-schema.d.ts.map +1 -1
- package/components/crud/crud-form/crud-form.component.d.ts +2 -2
- package/components/crud/crud-list/crud-list.component.d.ts.map +1 -1
- package/components/share-link-by-permission/models/share-link-by-permission.d.ts +3 -0
- package/components/share-link-by-permission/models/share-link-by-permission.d.ts.map +1 -1
- package/components/share-link-by-permission/share-link-by-permission.component.d.ts.map +1 -1
- package/components/workflow/models/const.d.ts +1 -0
- package/components/workflow/models/const.d.ts.map +1 -1
- package/components/workflow/workflow-setting-new/workflow-setting-new.component.d.ts.map +1 -1
- package/congviec/congviec/congviec-dinhkem/congviec-dinhkem.component.d.ts.map +1 -1
- package/congviec/congviec/services/congviec-dinhkem.service.d.ts +8 -0
- package/congviec/congviec/services/congviec-dinhkem.service.d.ts.map +1 -1
- package/esm2015/classes/base/data-form-base.js +26 -14
- package/esm2015/classes/base/data-list-base.js +10 -2
- package/esm2015/classes/workflow-schema.js +1 -1
- package/esm2015/components/chat/chat-box/chat-box.component.js +1 -1
- package/esm2015/components/chat/chat-send-message-box/chat-send-message-box.component.js +1 -1
- package/esm2015/components/crud/crud-list/crud-list.component.js +25 -5
- package/esm2015/components/share-link-by-permission/models/share-link-by-permission.js +1 -1
- package/esm2015/components/share-link-by-permission/share-link-by-permission.component.js +31 -1
- package/esm2015/components/tn-app-notification/tn-app-notification.component.js +2 -2
- package/esm2015/components/universal-link-processor/universal-link-processor.component.js +2 -2
- package/esm2015/components/workflow/models/const.js +2 -1
- package/esm2015/components/workflow/workflow-setting-new/workflow-setting-new.component.js +17 -3
- package/esm2015/congviec/congviec/congviec-dinhkem/congviec-dinhkem.component.js +17 -9
- package/esm2015/congviec/congviec/congviec-dinhkem-form/congviec-dinhkem-form.component.js +2 -2
- package/esm2015/congviec/congviec/services/congviec-dinhkem.service.js +57 -1
- package/esm2015/services/storage.service.js +1 -1
- package/fesm2015/tnx-shared.js +182 -37
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
set -eu
|
|
3
|
-
|
|
4
|
-
# Inject environment variables into NGINX configuration
|
|
5
|
-
# List all variables to be substituted to avoid clashing with
|
|
6
|
-
# NGINX own variables: https://serverfault.com/questions/577370
|
|
7
|
-
envsubst \
|
|
8
|
-
'${BASE_HREF}' \
|
|
9
|
-
</etc/nginx/nginx.conf.template \
|
|
10
|
-
>/etc/nginx/nginx.conf
|
|
11
|
-
cat /etc/nginx/nginx.conf
|
|
12
|
-
|
|
13
|
-
# Set correct HTML base tag, so static resources are fetched
|
|
14
|
-
# from the right path instead of the root path.
|
|
15
|
-
# NOTE: Trailing and leading slashes in base href are important!
|
|
16
|
-
# Using `~` separator to avoid problems with forward slashes
|
|
17
|
-
sed --in-place \
|
|
18
|
-
's~<base href="/">~<base href="'$BASE_HREF'/"><script type="text/javascript"> window.baseHref = "'$BASE_HREF'";</script>~' \
|
|
19
|
-
/usr/share/nginx/html/index.html
|
|
20
|
-
|
|
21
|
-
cat /usr/share/nginx/html/index.html
|
|
22
|
-
exec "$@"
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
set -eu
|
|
3
|
+
|
|
4
|
+
# Inject environment variables into NGINX configuration
|
|
5
|
+
# List all variables to be substituted to avoid clashing with
|
|
6
|
+
# NGINX own variables: https://serverfault.com/questions/577370
|
|
7
|
+
envsubst \
|
|
8
|
+
'${BASE_HREF}' \
|
|
9
|
+
</etc/nginx/nginx.conf.template \
|
|
10
|
+
>/etc/nginx/nginx.conf
|
|
11
|
+
cat /etc/nginx/nginx.conf
|
|
12
|
+
|
|
13
|
+
# Set correct HTML base tag, so static resources are fetched
|
|
14
|
+
# from the right path instead of the root path.
|
|
15
|
+
# NOTE: Trailing and leading slashes in base href are important!
|
|
16
|
+
# Using `~` separator to avoid problems with forward slashes
|
|
17
|
+
sed --in-place \
|
|
18
|
+
's~<base href="/">~<base href="'$BASE_HREF'/"><script type="text/javascript"> window.baseHref = "'$BASE_HREF'";</script>~' \
|
|
19
|
+
/usr/share/nginx/html/index.html
|
|
20
|
+
|
|
21
|
+
cat /usr/share/nginx/html/index.html
|
|
22
|
+
exec "$@"
|