@nethserver/ns8-ui-lib 0.0.52 → 0.0.56
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/README.md +1 -1
- package/dist/ns8-ui-lib.esm.js +51 -38
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +68 -62
- package/package.json +1 -1
- package/src/lib-components/NsBackupCardDetails.vue +1 -2
- package/src/lib-components/NsMenuItem.vue +25 -4
- package/src/lib-components/NsPasswordInput.vue +1 -1
- package/src/lib-components/NsProgressBar.vue +4 -4
- package/src/lib-components/NsStatusCard.vue +3 -3
- package/src/lib-components/NsSystemdServiceCard.vue +3 -3
- package/src/lib-components/NsToastNotification.vue +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ns8-ui-lib
|
|
2
2
|
|
|
3
|
-
This library includes [Vue.js](https://vuejs.org/) UI components and mixins used by NethServer 8 UI.
|
|
3
|
+
This library includes [Vue.js](https://vuejs.org/) UI components and mixins used by [NethServer 8](https://github.com/NethServer/ns8-core) UI.
|
|
4
4
|
|
|
5
5
|
In `src/main.js` add the following to globally include NS8 components:
|
|
6
6
|
|
package/dist/ns8-ui-lib.esm.js
CHANGED
|
@@ -18,6 +18,7 @@ import AppSwitcher20 from '@carbon/icons-vue/es/app-switcher/20';
|
|
|
18
18
|
import Search20 from '@carbon/icons-vue/es/search/20';
|
|
19
19
|
import RowExpand20 from '@carbon/icons-vue/es/row--expand/20';
|
|
20
20
|
import RowCollapse20 from '@carbon/icons-vue/es/row--collapse/20';
|
|
21
|
+
import Reset32 from '@carbon/icons-vue/es/reset/32';
|
|
21
22
|
import Reset20 from '@carbon/icons-vue/es/reset/20';
|
|
22
23
|
import Download20 from '@carbon/icons-vue/es/download/20';
|
|
23
24
|
import Launch20 from '@carbon/icons-vue/es/launch/20';
|
|
@@ -75,6 +76,8 @@ import Warning16 from '@carbon/icons-vue/es/warning--filled/16';
|
|
|
75
76
|
import Warning32 from '@carbon/icons-vue/es/warning--filled/32';
|
|
76
77
|
import Power20 from '@carbon/icons-vue/es/power/20';
|
|
77
78
|
import Power32 from '@carbon/icons-vue/es/power/32';
|
|
79
|
+
import Document20 from '@carbon/icons-vue/es/document/20';
|
|
80
|
+
import Document32 from '@carbon/icons-vue/es/document/32';
|
|
78
81
|
import { WarningFilled16, WarningAltFilled16, View16, ViewOff16 } from '@carbon/icons-vue';
|
|
79
82
|
import TrashCan20 from '@carbon/icons-vue/es/trash-can/20';
|
|
80
83
|
import CvSideNavDivider from '@carbon/vue/src/components/cv-ui-shell/cv-side-nav-divider.vue';
|
|
@@ -1248,8 +1251,8 @@ var __vue_staticRenderFns__$n = [];
|
|
|
1248
1251
|
|
|
1249
1252
|
const __vue_inject_styles__$o = function (inject) {
|
|
1250
1253
|
if (!inject) return;
|
|
1251
|
-
inject("data-v-
|
|
1252
|
-
source: ".progress-bar-container[data-v-
|
|
1254
|
+
inject("data-v-57532057_0", {
|
|
1255
|
+
source: ".progress-bar-container[data-v-57532057]{width:100%;position:relative}.slider[data-v-57532057]{position:absolute;width:100%;height:5px;overflow-x:hidden}.line[data-v-57532057]{position:absolute;opacity:.4;width:100%;height:5px}.progress-line[data-v-57532057]{position:absolute;height:5px}.indeterminate-line[data-v-57532057]{position:absolute;opacity:.4;width:150%;height:5px}.indeterminate-subline[data-v-57532057]{position:absolute;height:5px}.inc[data-v-57532057]{animation:increase-data-v-57532057 2s infinite}.dec[data-v-57532057]{animation:decrease-data-v-57532057 2s .5s infinite}@keyframes increase-data-v-57532057{from{left:-5%;width:5%}to{left:130%;width:100%}}@keyframes decrease-data-v-57532057{from{left:-80%;width:80%}to{left:110%;width:10%}}",
|
|
1253
1256
|
map: undefined,
|
|
1254
1257
|
media: undefined
|
|
1255
1258
|
});
|
|
@@ -1257,7 +1260,7 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
1257
1260
|
/* scoped */
|
|
1258
1261
|
|
|
1259
1262
|
|
|
1260
|
-
const __vue_scope_id__$o = "data-v-
|
|
1263
|
+
const __vue_scope_id__$o = "data-v-57532057";
|
|
1261
1264
|
/* module identifier */
|
|
1262
1265
|
|
|
1263
1266
|
const __vue_module_identifier__$o = undefined;
|
|
@@ -6236,11 +6239,11 @@ var __vue_staticRenderFns__$l = [];
|
|
|
6236
6239
|
|
|
6237
6240
|
const __vue_inject_styles__$l = function (inject) {
|
|
6238
6241
|
if (!inject) return;
|
|
6239
|
-
inject("data-v-
|
|
6240
|
-
source: ".notification[data-v-
|
|
6242
|
+
inject("data-v-7385c86a_0", {
|
|
6243
|
+
source: ".notification[data-v-7385c86a]{margin-bottom:0;margin-right:0}.action[data-v-7385c86a]{padding-top:0;margin-bottom:0}.bx--toast-notification .bx--inline-notification__action-button.bx--btn--ghost[data-v-7385c86a]{margin-left:-16px}.notification-description-and-progress[data-v-7385c86a]{margin-top:.75rem;margin-bottom:.75rem}.fix-margin-bottom[data-v-7385c86a]{margin-bottom:0}.progress[data-v-7385c86a]{margin-top:.75rem}.progress-bar-spacer[data-v-7385c86a]{height:.5rem}.cv-notifiation.bx--toast-notification.notification[data-v-7385c86a]{width:26vw;min-width:20rem;margin-top:0}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-7385c86a]{margin-top:1rem}.notification-drawer .cv-notifiation.bx--toast-notification.notification[data-v-7385c86a]{width:100%;cursor:pointer}.notification-read[data-v-7385c86a]{border-color:#8d8d8d;color:#c6c6c6}.notification-read .bx--toast-notification__icon[data-v-7385c86a]{fill:currentColor}.notification-read .bx--toast-notification__subtitle[data-v-7385c86a]{color:#c6c6c6}.notification-read .bx--toast-notification__title[data-v-7385c86a]{font-weight:400}.cv-notifiation .timestamp[data-v-7385c86a]{margin-bottom:.75rem;line-height:1.29;color:#fff;text-decoration:underline}.cv-notifiation .timestamp button[data-v-7385c86a]{color:#c6c6c6}.bx--tooltip__trigger[data-v-7385c86a]:not(.bx--btn--icon-only){font-size:inherit}.cv-notifiation .timestamp .bx--tooltip__trigger[data-v-7385c86a]::before{border-bottom-color:#161616}div.row[data-v-7385c86a]:last-child{margin-bottom:1.5rem}.bx--toast-notification__details[data-v-7385c86a]{flex-grow:1}",
|
|
6241
6244
|
map: undefined,
|
|
6242
6245
|
media: undefined
|
|
6243
|
-
}), inject("data-v-
|
|
6246
|
+
}), inject("data-v-7385c86a_1", {
|
|
6244
6247
|
source: ".cv-notifiation .timestamp button span{background-color:#161616!important;border-left:1px solid #393939;border-right:1px solid #393939;border-bottom:1px solid #393939}",
|
|
6245
6248
|
map: undefined,
|
|
6246
6249
|
media: undefined
|
|
@@ -6249,7 +6252,7 @@ const __vue_inject_styles__$l = function (inject) {
|
|
|
6249
6252
|
/* scoped */
|
|
6250
6253
|
|
|
6251
6254
|
|
|
6252
|
-
const __vue_scope_id__$l = "data-v-
|
|
6255
|
+
const __vue_scope_id__$l = "data-v-7385c86a";
|
|
6253
6256
|
/* module identifier */
|
|
6254
6257
|
|
|
6255
6258
|
const __vue_module_identifier__$l = undefined;
|
|
@@ -6524,8 +6527,8 @@ var __vue_staticRenderFns__$j = [];
|
|
|
6524
6527
|
|
|
6525
6528
|
const __vue_inject_styles__$j = function (inject) {
|
|
6526
6529
|
if (!inject) return;
|
|
6527
|
-
inject("data-v-
|
|
6528
|
-
source: ".status-card[data-v-
|
|
6530
|
+
inject("data-v-496044f0_0", {
|
|
6531
|
+
source: ".status-card[data-v-496044f0]{display:flex;flex-direction:column;justify-content:center}.row[data-v-496044f0]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.value[data-v-496044f0]{margin-left:.25rem;margin-right:.25rem}.label[data-v-496044f0]{margin-left:.25rem;margin-right:.25rem}.success-icon[data-v-496044f0]{margin-right:.25rem}.error-icon[data-v-496044f0]{margin-right:.25rem}.warning-icon[data-v-496044f0]{margin-right:.25rem}.stats[data-v-496044f0]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
|
|
6529
6532
|
map: undefined,
|
|
6530
6533
|
media: undefined
|
|
6531
6534
|
});
|
|
@@ -6533,7 +6536,7 @@ const __vue_inject_styles__$j = function (inject) {
|
|
|
6533
6536
|
/* scoped */
|
|
6534
6537
|
|
|
6535
6538
|
|
|
6536
|
-
const __vue_scope_id__$j = "data-v-
|
|
6539
|
+
const __vue_scope_id__$j = "data-v-496044f0";
|
|
6537
6540
|
/* module identifier */
|
|
6538
6541
|
|
|
6539
6542
|
const __vue_module_identifier__$j = undefined;
|
|
@@ -6669,8 +6672,8 @@ var __vue_staticRenderFns__$i = [];
|
|
|
6669
6672
|
|
|
6670
6673
|
const __vue_inject_styles__$i = function (inject) {
|
|
6671
6674
|
if (!inject) return;
|
|
6672
|
-
inject("data-v-
|
|
6673
|
-
source: ".service-card[data-v-
|
|
6675
|
+
inject("data-v-3dfcfe29_0", {
|
|
6676
|
+
source: ".service-card[data-v-3dfcfe29]{display:flex;flex-direction:column;justify-content:center}.row[data-v-3dfcfe29]{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem}.service-name[data-v-3dfcfe29]{margin-left:.25rem;margin-right:.25rem}.success-icon[data-v-3dfcfe29]{margin-right:.25rem}.error-icon[data-v-3dfcfe29]{margin-right:.25rem}.warning-icon[data-v-3dfcfe29]{margin-right:.25rem}.stats[data-v-3dfcfe29]{display:flex;align-items:center;margin-left:.5rem;margin-right:.5rem}",
|
|
6674
6677
|
map: undefined,
|
|
6675
6678
|
media: undefined
|
|
6676
6679
|
});
|
|
@@ -6678,7 +6681,7 @@ const __vue_inject_styles__$i = function (inject) {
|
|
|
6678
6681
|
/* scoped */
|
|
6679
6682
|
|
|
6680
6683
|
|
|
6681
|
-
const __vue_scope_id__$i = "data-v-
|
|
6684
|
+
const __vue_scope_id__$i = "data-v-3dfcfe29";
|
|
6682
6685
|
/* module identifier */
|
|
6683
6686
|
|
|
6684
6687
|
const __vue_module_identifier__$i = undefined;
|
|
@@ -6824,7 +6827,7 @@ var UtilService = {
|
|
|
6824
6827
|
},
|
|
6825
6828
|
|
|
6826
6829
|
/**
|
|
6827
|
-
* Get app description using the locale of
|
|
6830
|
+
* Get app description using the locale of core context
|
|
6828
6831
|
*/
|
|
6829
6832
|
getAppDescription(app, coreContext) {
|
|
6830
6833
|
const langCode = coreContext.$root.$i18n.locale;
|
|
@@ -6839,7 +6842,7 @@ var UtilService = {
|
|
|
6839
6842
|
},
|
|
6840
6843
|
|
|
6841
6844
|
/**
|
|
6842
|
-
* Get app categories using the locale of
|
|
6845
|
+
* Get app categories using the locale of core context
|
|
6843
6846
|
*/
|
|
6844
6847
|
getAppCategories(app, coreContext) {
|
|
6845
6848
|
let i18nCategories = [];
|
|
@@ -7177,8 +7180,8 @@ var __vue_staticRenderFns__$h = [];
|
|
|
7177
7180
|
|
|
7178
7181
|
const __vue_inject_styles__$h = function (inject) {
|
|
7179
7182
|
if (!inject) return;
|
|
7180
|
-
inject("data-v-
|
|
7181
|
-
source: ".new-password-container[data-v-
|
|
7183
|
+
inject("data-v-6ed70bae_0", {
|
|
7184
|
+
source: ".new-password-container[data-v-6ed70bae]{margin-bottom:1rem}.new-password[data-v-6ed70bae]{margin-bottom:.25rem}.confirm-password[data-v-6ed70bae]{margin-bottom:.25rem}.password-meter[data-v-6ed70bae]{display:flex}@media (min-width:672px){.password-meter[data-v-6ed70bae]{max-width:38rem}}.requirement[data-v-6ed70bae]{padding:.2rem;margin-left:.2rem;margin-right:.2rem;background-color:#f4f4f4;text-align:center;font-size:.75rem;line-height:1.34;letter-spacing:.32px}.requirement-light[data-v-6ed70bae]{background-color:#fff}.requirement[data-v-6ed70bae]:first-child{margin-left:0}.requirement-ok[data-v-6ed70bae]{color:#fff;background-color:#198038}.requirement-disabled[data-v-6ed70bae]{color:#c6c6c6;background-color:#f4f4f4}",
|
|
7182
7185
|
map: undefined,
|
|
7183
7186
|
media: undefined
|
|
7184
7187
|
});
|
|
@@ -7186,7 +7189,7 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
7186
7189
|
/* scoped */
|
|
7187
7190
|
|
|
7188
7191
|
|
|
7189
|
-
const __vue_scope_id__$h = "data-v-
|
|
7192
|
+
const __vue_scope_id__$h = "data-v-6ed70bae";
|
|
7190
7193
|
/* module identifier */
|
|
7191
7194
|
|
|
7192
7195
|
const __vue_module_identifier__$h = undefined;
|
|
@@ -7792,6 +7795,8 @@ var IconService = {
|
|
|
7792
7795
|
RowExpand20,
|
|
7793
7796
|
RowCollapse20,
|
|
7794
7797
|
Reset20,
|
|
7798
|
+
Reset32,
|
|
7799
|
+
// restore
|
|
7795
7800
|
Download20,
|
|
7796
7801
|
Launch20,
|
|
7797
7802
|
// open app, open external link
|
|
@@ -7869,7 +7874,9 @@ var IconService = {
|
|
|
7869
7874
|
Warning32,
|
|
7870
7875
|
Power20,
|
|
7871
7876
|
// enable, disable
|
|
7872
|
-
Power32
|
|
7877
|
+
Power32,
|
|
7878
|
+
Document20,
|
|
7879
|
+
Document32
|
|
7873
7880
|
};
|
|
7874
7881
|
}
|
|
7875
7882
|
|
|
@@ -8300,7 +8307,7 @@ var __vue_render__$a = function () {
|
|
|
8300
8307
|
staticClass: "td label"
|
|
8301
8308
|
}, [_vm._v(_vm._s(_vm.totalFileCountLabel))]), _vm._v(" "), _c('div', {
|
|
8302
8309
|
staticClass: "td"
|
|
8303
|
-
}, [_vm.status[_vm.backup.id] && _vm.status[_vm.backup.id].total_file_count ? _c('span', [_vm._v("\n " + _vm._s(_vm.
|
|
8310
|
+
}, [_vm.status[_vm.backup.id] && _vm.status[_vm.backup.id].total_file_count ? _c('span', [_vm._v("\n " + _vm._s(_vm.status[_vm.backup.id].total_file_count) + "\n ")]) : _c('span', [_vm._v("-")])])])]);
|
|
8304
8311
|
};
|
|
8305
8312
|
|
|
8306
8313
|
var __vue_staticRenderFns__$a = [];
|
|
@@ -8308,8 +8315,8 @@ var __vue_staticRenderFns__$a = [];
|
|
|
8308
8315
|
|
|
8309
8316
|
const __vue_inject_styles__$a = function (inject) {
|
|
8310
8317
|
if (!inject) return;
|
|
8311
|
-
inject("data-v-
|
|
8312
|
-
source: ".ns-backup-card-details[data-v-
|
|
8318
|
+
inject("data-v-25453d1c_0", {
|
|
8319
|
+
source: ".ns-backup-card-details[data-v-25453d1c]{display:contents}.tr[data-v-25453d1c]{display:table-row}.td[data-v-25453d1c]{display:table-cell}.label[data-v-25453d1c]{padding-right:.75rem;font-weight:700;text-align:right;padding-bottom:.5rem}",
|
|
8313
8320
|
map: undefined,
|
|
8314
8321
|
media: undefined
|
|
8315
8322
|
});
|
|
@@ -8317,7 +8324,7 @@ const __vue_inject_styles__$a = function (inject) {
|
|
|
8317
8324
|
/* scoped */
|
|
8318
8325
|
|
|
8319
8326
|
|
|
8320
|
-
const __vue_scope_id__$a = "data-v-
|
|
8327
|
+
const __vue_scope_id__$a = "data-v-25453d1c";
|
|
8321
8328
|
/* module identifier */
|
|
8322
8329
|
|
|
8323
8330
|
const __vue_module_identifier__$a = undefined;
|
|
@@ -8850,7 +8857,9 @@ var script$1 = {
|
|
|
8850
8857
|
Power20,
|
|
8851
8858
|
Rocket20,
|
|
8852
8859
|
Launch20,
|
|
8853
|
-
Star20
|
|
8860
|
+
Star20,
|
|
8861
|
+
Reset20,
|
|
8862
|
+
Save20
|
|
8854
8863
|
},
|
|
8855
8864
|
props: {
|
|
8856
8865
|
label: {
|
|
@@ -8859,7 +8868,7 @@ var script$1 = {
|
|
|
8859
8868
|
},
|
|
8860
8869
|
icon: {
|
|
8861
8870
|
type: String,
|
|
8862
|
-
validator: value => ["", "edit", "trash", "power", "rocket", "launch", "star"].includes(value)
|
|
8871
|
+
validator: value => ["", "edit", "trash", "power", "rocket", "launch", "star", "reset", "save"].includes(value)
|
|
8863
8872
|
}
|
|
8864
8873
|
},
|
|
8865
8874
|
computed: {
|
|
@@ -8895,7 +8904,11 @@ var __vue_render__$7 = function () {
|
|
|
8895
8904
|
staticClass: "icon"
|
|
8896
8905
|
}, [_c('Launch20')], 1) : _vm.icon == 'star' ? _c('span', {
|
|
8897
8906
|
staticClass: "icon"
|
|
8898
|
-
}, [_c('Star20')], 1) : _vm.
|
|
8907
|
+
}, [_c('Star20')], 1) : _vm.icon == 'reset' ? _c('span', {
|
|
8908
|
+
staticClass: "icon"
|
|
8909
|
+
}, [_c('Reset20')], 1) : _vm.icon == 'save' ? _c('span', {
|
|
8910
|
+
staticClass: "icon"
|
|
8911
|
+
}, [_c('Save20')], 1) : _vm.hasIconSlot ? _c('span', {
|
|
8899
8912
|
staticClass: "icon"
|
|
8900
8913
|
}, [_vm._t("icon")], 2) : _vm._e(), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.label))])]);
|
|
8901
8914
|
};
|
|
@@ -8905,8 +8918,8 @@ var __vue_staticRenderFns__$7 = [];
|
|
|
8905
8918
|
|
|
8906
8919
|
const __vue_inject_styles__$7 = function (inject) {
|
|
8907
8920
|
if (!inject) return;
|
|
8908
|
-
inject("data-v-
|
|
8909
|
-
source: ".ns-menu-item[data-v-
|
|
8921
|
+
inject("data-v-9440af88_0", {
|
|
8922
|
+
source: ".ns-menu-item[data-v-9440af88]{display:flex;align-items:center}.icon[data-v-9440af88]{margin-right:.5rem}",
|
|
8910
8923
|
map: undefined,
|
|
8911
8924
|
media: undefined
|
|
8912
8925
|
});
|
|
@@ -8914,7 +8927,7 @@ const __vue_inject_styles__$7 = function (inject) {
|
|
|
8914
8927
|
/* scoped */
|
|
8915
8928
|
|
|
8916
8929
|
|
|
8917
|
-
const __vue_scope_id__$7 = "data-v-
|
|
8930
|
+
const __vue_scope_id__$7 = "data-v-9440af88";
|
|
8918
8931
|
/* module identifier */
|
|
8919
8932
|
|
|
8920
8933
|
const __vue_module_identifier__$7 = undefined;
|
|
@@ -9247,7 +9260,7 @@ var __vue_component__$1 = __vue_component__;
|
|
|
9247
9260
|
var queryParam = {
|
|
9248
9261
|
name: "QueryParamService",
|
|
9249
9262
|
methods: {
|
|
9250
|
-
// used by
|
|
9263
|
+
// used by core and external apps to dynamically register a watch for every object inside data.q
|
|
9251
9264
|
watchQueryData(context) {
|
|
9252
9265
|
if (context.q) {
|
|
9253
9266
|
Object.keys(context.q).forEach(dataItem => {
|
|
@@ -9285,10 +9298,10 @@ var queryParam = {
|
|
|
9285
9298
|
queryParams.push(key + "=" + encodeURIComponent(value));
|
|
9286
9299
|
}
|
|
9287
9300
|
|
|
9288
|
-
const urlWithParams = window.parent.
|
|
9301
|
+
const urlWithParams = window.parent.core.$route.path + "?" + queryParams.join("&");
|
|
9289
9302
|
|
|
9290
|
-
if (window.parent.
|
|
9291
|
-
window.parent.
|
|
9303
|
+
if (window.parent.core.$route.fullPath != urlWithParams) {
|
|
9304
|
+
window.parent.core.$router.replace(urlWithParams);
|
|
9292
9305
|
}
|
|
9293
9306
|
},
|
|
9294
9307
|
|
|
@@ -9359,7 +9372,7 @@ var queryParam = {
|
|
|
9359
9372
|
}
|
|
9360
9373
|
},
|
|
9361
9374
|
|
|
9362
|
-
// used only by
|
|
9375
|
+
// used only by core to extract query parameters from URL
|
|
9363
9376
|
getQueryParamsForCore() {
|
|
9364
9377
|
if (!window.location.hash.includes("?") || window.location.hash.split("?").length < 2) {
|
|
9365
9378
|
return {};
|
|
@@ -9454,7 +9467,7 @@ var task = {
|
|
|
9454
9467
|
|
|
9455
9468
|
createClusterTaskForApp(taskData) {
|
|
9456
9469
|
const token = this.getFromStorage("loginInfo") ? this.getFromStorage("loginInfo").token : "";
|
|
9457
|
-
return this.axios.post(`${window.parent.
|
|
9470
|
+
return this.axios.post(`${window.parent.core.$root.apiUrl}/cluster/tasks`, taskData, {
|
|
9458
9471
|
headers: {
|
|
9459
9472
|
Authorization: `Bearer ${token}`
|
|
9460
9473
|
}
|
|
@@ -9463,7 +9476,7 @@ var task = {
|
|
|
9463
9476
|
|
|
9464
9477
|
createModuleTaskForApp(moduleId, taskData) {
|
|
9465
9478
|
const token = this.getFromStorage("loginInfo") ? this.getFromStorage("loginInfo").token : "";
|
|
9466
|
-
return this.axios.post(`${window.parent.
|
|
9479
|
+
return this.axios.post(`${window.parent.core.$root.apiUrl}/module/${moduleId}/tasks`, taskData, {
|
|
9467
9480
|
headers: {
|
|
9468
9481
|
Authorization: `Bearer ${token}`
|
|
9469
9482
|
}
|
|
@@ -9570,7 +9583,7 @@ var task = {
|
|
|
9570
9583
|
|
|
9571
9584
|
createErrorNotificationForApp(err, message) {
|
|
9572
9585
|
console.error(err);
|
|
9573
|
-
window.parent.
|
|
9586
|
+
window.parent.core.$root.$emit("createErrorNotification", err, message);
|
|
9574
9587
|
}
|
|
9575
9588
|
|
|
9576
9589
|
}
|
|
@@ -9647,7 +9660,7 @@ var pageTitle = {
|
|
|
9647
9660
|
const pageTitle = getPageTitle(this);
|
|
9648
9661
|
|
|
9649
9662
|
if (pageTitle) {
|
|
9650
|
-
// window.document would be ok for
|
|
9663
|
+
// window.document would be ok for core, but with window.parent.document we support external apps too (window.parent == window, if it's the root window)
|
|
9651
9664
|
window.parent.document.title = pageTitle;
|
|
9652
9665
|
}
|
|
9653
9666
|
}
|