@fluxhub/fluxhub-lib 1.0.320 → 1.0.322
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/bundles/fluxhub-fluxhub-lib.umd.js +38 -3
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/classes/wkfapp.html +32 -0
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +48 -4
- package/esm5/lib/wkf_engine/wkfapp.js +47 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +41 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +40 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfapp.d.ts +4 -1
- package/package.json +1 -1
|
@@ -15908,7 +15908,7 @@
|
|
|
15908
15908
|
var /**
|
|
15909
15909
|
* @abstract
|
|
15910
15910
|
*/ wkfapp = /** @class */ (function () {
|
|
15911
|
-
function wkfapp(app_s, m_service, m_dataService, m_fservice, m_router, _toastr, dialog, m_wkf) {
|
|
15911
|
+
function wkfapp(app_s, m_service, m_dataService, m_fservice, m_router, _toastr, dialog, m_wkf, m_uti) {
|
|
15912
15912
|
this.app_s = app_s;
|
|
15913
15913
|
this.m_service = m_service;
|
|
15914
15914
|
this.m_dataService = m_dataService;
|
|
@@ -15917,8 +15917,10 @@
|
|
|
15917
15917
|
this._toastr = _toastr;
|
|
15918
15918
|
this.dialog = dialog;
|
|
15919
15919
|
this.m_wkf = m_wkf;
|
|
15920
|
+
this.m_uti = m_uti;
|
|
15920
15921
|
this.b_editing = false;
|
|
15921
15922
|
this.is_Supervisor = false;
|
|
15923
|
+
this.is_Visor = false;
|
|
15922
15924
|
this.is_Admin = false;
|
|
15923
15925
|
this.is_Ins = false;
|
|
15924
15926
|
this.id_applicativo = "";
|
|
@@ -16446,6 +16448,11 @@
|
|
|
16446
16448
|
.getState()
|
|
16447
16449
|
.wkf_obj
|
|
16448
16450
|
.is_Supervisor = this.is_Supervisor;
|
|
16451
|
+
this
|
|
16452
|
+
.app_s
|
|
16453
|
+
.getState()
|
|
16454
|
+
.wkf_obj
|
|
16455
|
+
.is_Visor = this.is_Visor;
|
|
16449
16456
|
this
|
|
16450
16457
|
.app_s
|
|
16451
16458
|
.getState()
|
|
@@ -16529,6 +16536,11 @@
|
|
|
16529
16536
|
.getState()
|
|
16530
16537
|
.wkf_obj
|
|
16531
16538
|
.b_editing;
|
|
16539
|
+
this.is_Visor = this
|
|
16540
|
+
.app_s
|
|
16541
|
+
.getState()
|
|
16542
|
+
.wkf_obj
|
|
16543
|
+
.is_Visor;
|
|
16532
16544
|
this.is_Supervisor = this
|
|
16533
16545
|
.app_s
|
|
16534
16546
|
.getState()
|
|
@@ -16714,8 +16726,31 @@
|
|
|
16714
16726
|
*/function (data) {
|
|
16715
16727
|
if (data != null)
|
|
16716
16728
|
if (data.result_msg == "OK") {
|
|
16717
|
-
|
|
16718
|
-
|
|
16729
|
+
/** @type {?} */
|
|
16730
|
+
var p_3 = new QParam();
|
|
16731
|
+
p_3.sql = "SELECT_ROLES_VISORI";
|
|
16732
|
+
p_3.types = ['string'];
|
|
16733
|
+
p_3.values = [_this.id_applicativo];
|
|
16734
|
+
_this
|
|
16735
|
+
.m_dataService
|
|
16736
|
+
.doQuery(p_3)
|
|
16737
|
+
.subscribe(( /**
|
|
16738
|
+
* @param {?} data
|
|
16739
|
+
* @return {?}
|
|
16740
|
+
*/function (data) {
|
|
16741
|
+
if (data != null)
|
|
16742
|
+
if (data.result_msg == "OK") {
|
|
16743
|
+
_this.is_Visor = false;
|
|
16744
|
+
for (var i = 0; i < data.result_data.length; i++) {
|
|
16745
|
+
if (_this.m_uti.hasRole(data.result_data[i].name, false)) {
|
|
16746
|
+
_this.is_Visor = true;
|
|
16747
|
+
break;
|
|
16748
|
+
}
|
|
16749
|
+
}
|
|
16750
|
+
_this.init_grid();
|
|
16751
|
+
_this.ok_conf_s(data.result_data);
|
|
16752
|
+
}
|
|
16753
|
+
}));
|
|
16719
16754
|
}
|
|
16720
16755
|
}));
|
|
16721
16756
|
}
|