sf-i-reporting 1.0.62 → 1.0.64
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/dev/index.html +1 -1
- package/package.json +1 -1
- package/sf-i-reporting.d.ts +3 -0
- package/sf-i-reporting.d.ts.map +1 -1
- package/sf-i-reporting.js +80 -13
- package/sf-i-reporting.js.map +1 -1
- package/src/sf-i-reporting.ts +78 -14
package/dev/index.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import {LitElement, html, css} from 'https://esm.run/lit-element/lit-element.js';
|
|
19
19
|
import {SfIElasticText} from 'https://esm.run/sf-i-elastic-text@1.0.17/sf-i-elastic-text.js';
|
|
20
20
|
import {SfIForm} from 'https://esm.run/sf-i-form@1.0.183/sf-i-form.js';
|
|
21
|
-
import {SfIBricks} from 'https://esm.run/sf-i-bricks@1.0.
|
|
21
|
+
import {SfIBricks} from 'https://esm.run/sf-i-bricks@1.0.9/sf-i-bricks.js';
|
|
22
22
|
import {SfIUploader} from 'https://esm.run/sf-i-uploader@1.0.103/sf-i-uploader.js';
|
|
23
23
|
</script>
|
|
24
24
|
<style>
|
package/package.json
CHANGED
package/sf-i-reporting.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export declare class SfIReporting extends LitElement {
|
|
|
49
49
|
_SfRowNotifMessage: any;
|
|
50
50
|
_SfLoader: any;
|
|
51
51
|
_SfIReportingC: any;
|
|
52
|
+
_SfIReportingCCopy: any;
|
|
52
53
|
_SfReportingContainer: any;
|
|
53
54
|
_SfReportingContainerShort: any;
|
|
54
55
|
_SfReportingButtonSubmit: any;
|
|
@@ -125,6 +126,8 @@ export declare class SfIReporting extends LitElement {
|
|
|
125
126
|
initDecryptListeners: () => void;
|
|
126
127
|
evalDecrypt: () => void;
|
|
127
128
|
submitDecrypt: () => Promise<void>;
|
|
129
|
+
showLoader: () => Promise<void>;
|
|
130
|
+
hideLoader: () => Promise<void>;
|
|
128
131
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
129
132
|
connectedCallback(): void;
|
|
130
133
|
render(): import("lit-html").TemplateResult<1>;
|
package/sf-i-reporting.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sf-i-reporting.d.ts","sourceRoot":"","sources":["src/sf-i-reporting.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,UAAU,EAAa,gBAAgB,EAAC,MAAM,KAAK,CAAC;AAO5D,OAAO,EAAC,UAAU,EAAE,eAAe,EAA6D,MAAM,eAAe,CAAC;AAYtH;;;;;;;;;;GAUG;AACH,qBACa,YAAa,SAAQ,UAAU;IAE1C,KAAK,EAAE,MAAM,CAAM;IAGnB,SAAS,EAAE,MAAM,CAAM;IAGvB,WAAW,EAAE,MAAM,CAAM;IAGzB,UAAU,EAAE,MAAM,CAAQ;IAO1B,aAAa,YAGZ;IAGD,kBAAkB,EAAE,MAAM,CAAQ;IAGlC,kBAAkB,YAEjB;IAGD,IAAI,EAAE,MAAM,CAAM;IAGlB,IAAI,EAAE,MAAM,CAAM;IAGlB,IAAI,EAAE,MAAM,CAAe;IAG3B,iBAAiB,EAAE,MAAM,CAAQ;IAGjC,WAAW,EAAE,MAAM,CAAM;IAEzB,oBAAoB,YAEnB;IAGD,OAAO,EAAE,MAAM,CAAO;IAEtB,UAAU,YAET;IAGD,aAAa,EAAE,MAAM,CAAa;IAElC,SAAS,EAAE,GAAG,EAAE,CAAM;IAEtB,IAAI,EAAE,GAAG,EAAE,CAAM;IAEjB,SAAS,EAAE,OAAO,CAAS;IAE3B,qBAAqB,EAAE,MAAM,CAAK;IAClC,qBAAqB,EAAE,MAAM,CAAK;IAElC,YAAY,EAAE,GAAG,CAA+C;IAEhE,eAAe,EAAE,GAAG,CAAM;IAE1B,OAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"sf-i-reporting.d.ts","sourceRoot":"","sources":["src/sf-i-reporting.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OAAQ,MAAM,UAuC3C;IAED,oBAAoB,aAwBnB;IAED,gBAAgB,WAAY,eAAe,QAAQ,MAAM,YAGxD;IAED,sBAAsB,WAAY,eAAe,YAGhD;IAED,eAAe,WAAY,eAAe,YAGzC;IACD,aAAa,YAAa,UAAU,YAiFnC;IAED,iBAAiB,aAoBhB;IAED,YAAY,aA+EX;IAED,QAAQ,sBA0CP;IAED,sBAAsB,QAAe,MAAM,iBAAiB,GAAG,eAAc,MAAM,sBASlF;IAED,yBAAyB,QAAe,MAAM,iBAAiB,GAAG,eAAc,MAAM,sBASrF;IAED,UAAU,SAAgB,GAAG,OAAO,MAAM,iBAAiB,GAAG,iBAAiB,GAAG,sBAQjF;IAED,iBAAiB,QAAe,MAAM,kBAQrC;IAED,uBAAuB,QAAe,MAAM,kBAQ3C;IAED,aAAa,aAKZ;IAED,QAAQ,QAAS,MAAM,UAOtB;IAED,UAAU,QAAS,MAAM,UAOxB;IAED,QAAQ,QAAS,MAAM,UAOtB;IAED,WAAW,sBAgBV;IAED,SAAS,sBAoBR;IAED,YAAY,sBAoBX;IAED,SAAS,sBAoBR;IAED,UAAU,sBAkBT;IAED,YAAY,sBAkBX;IAED,aAAa,sBAsBZ;IAED,eAAe,aAOd;IAED,oBAAoB,aAenB;IAED,WAAW,aAQV;IAED,aAAa,sBA4CZ;IAED,UAAU,sBAMT;IAED,UAAU,sBAKT;cAEkB,YAAY,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG,IAAI;IAMnG,iBAAiB;IAIjB,MAAM;CAsKhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,YAAY,CAAC;KAChC;CACF"}
|
package/sf-i-reporting.js
CHANGED
|
@@ -155,12 +155,18 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
155
155
|
}
|
|
156
156
|
else if (element.type == "sf-i-form-select") {
|
|
157
157
|
valueObj[element.id] = element.value;
|
|
158
|
-
|
|
159
|
-
valueObj[
|
|
158
|
+
if (element.savenameseparate == "yes") {
|
|
159
|
+
valueObj[element.id] = element.value;
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
for (let field of element.selectfields) {
|
|
163
|
+
valueObj[field] = element.value[field];
|
|
164
|
+
}
|
|
160
165
|
}
|
|
161
166
|
}
|
|
162
167
|
else if (element.type == "sf-i-bricks") {
|
|
163
168
|
let bricks = this._SfReportingContainer.querySelector('#' + element.id);
|
|
169
|
+
console.log('sf-i-bricks id', element.id);
|
|
164
170
|
if (element.savenameseparate == "yes") {
|
|
165
171
|
valueObj[element.id + 'id'] = (_j = bricks.selectedValues()[0]) !== null && _j !== void 0 ? _j : "";
|
|
166
172
|
valueObj[element.id + 'name'] = (_k = bricks.selectedTexts()[0]) !== null && _k !== void 0 ? _k : "";
|
|
@@ -558,7 +564,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
558
564
|
<div part="date-container" class="d-flex flex-col flex-grow mt-20">
|
|
559
565
|
<label id="${element.id}-label" part="date-label">${element.label}</label>
|
|
560
566
|
<div part="td-body-2"><sf-i-elastic-text text="${element.hint}" minLength="50"></sf-i-elastic-text></div>
|
|
561
|
-
<sf-i-form exportparts="td-action:form-td-action, td-body" id="${element.id}" class="reporting-sf-i-form" part="input-sf-i-form" name="${element.name}" label="" apiId="${element.apiid}" mode="${element.mode}" searchPhrase="${(element.mode == "multiselect-dropdown" ? (this.projectname + "&") : "") + element.searchstring}" selectProjection="${element.selectprojection}" ignoreProjections="${element.ignoredprojections}" ${parseInt(element.maxselect) == 0 ? "" : `maxselect="${element.maxselect}"`} ${element.mandatory != null ? "mandatory=\"\"" : ""}></sf-i-form>
|
|
567
|
+
<sf-i-form exportparts="td-action:form-td-action, td-body" id="${element.id}" class="reporting-sf-i-form" part="input-sf-i-form" name="${element.name}" label="" apiId="${element.apiid}" mode="${element.mode}" searchPhrase="${((element.mode == "multiselect-dropdown" || element.searchstring != "") ? (this.projectname + "&") : "") + element.searchstring}" selectProjection="${element.selectprojection}" ignoreProjections="${element.ignoredprojections}" ${parseInt(element.maxselect) == 0 ? "" : `maxselect="${element.maxselect}"`} ${element.mandatory != null ? "mandatory=\"\"" : ""}></sf-i-form>
|
|
562
568
|
</div>
|
|
563
569
|
`;
|
|
564
570
|
let formContainer = this._SfReportingContainer.querySelector('#sf-i-form-container');
|
|
@@ -571,6 +577,10 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
571
577
|
});
|
|
572
578
|
let formSaveButton = this._SfReportingContainer.querySelector('#button-save-form');
|
|
573
579
|
let formObj = formContainer.querySelector('#' + element.id);
|
|
580
|
+
console.log('formobj searchPhrase', formObj.searchPhrase);
|
|
581
|
+
// if(formObj.searchPhrase != ''){
|
|
582
|
+
// formObj.loadMode();
|
|
583
|
+
// }
|
|
574
584
|
console.log('selectedsearchid', element.value);
|
|
575
585
|
if (((_a = element.value.id) !== null && _a !== void 0 ? _a : '') != '') {
|
|
576
586
|
formObj.selectedSearchId = element.value.id;
|
|
@@ -603,14 +613,22 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
603
613
|
for (let [i, col] of cols.entries()) {
|
|
604
614
|
valObj[col] = data[i];
|
|
605
615
|
}
|
|
606
|
-
dataElement.
|
|
616
|
+
if (dataElement.savenameseparate == "yes") {
|
|
617
|
+
console.log('populating dataelement', valObj);
|
|
618
|
+
dataElement.value = [valObj.name + ';' + valObj.id];
|
|
619
|
+
}
|
|
620
|
+
else {
|
|
621
|
+
dataElement.value = valObj;
|
|
622
|
+
}
|
|
607
623
|
}
|
|
608
624
|
}
|
|
609
625
|
if (formContainer != null) {
|
|
610
626
|
this.populateView(formContainer.scrollTop);
|
|
611
627
|
}
|
|
612
628
|
});
|
|
613
|
-
|
|
629
|
+
if (element.dependencies != null && element.dependencies.length > 0) {
|
|
630
|
+
this.updateShortlistedSearchPhrases(element.id);
|
|
631
|
+
}
|
|
614
632
|
});
|
|
615
633
|
}
|
|
616
634
|
}
|
|
@@ -672,6 +690,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
672
690
|
setTimeout(() => {
|
|
673
691
|
this.evalShowProgress();
|
|
674
692
|
this._SfReportingContainer.querySelector('.form-container').scrollTo({ top: scrollTopTarget, left: 0 });
|
|
693
|
+
this.hideLoader();
|
|
675
694
|
}, 500);
|
|
676
695
|
};
|
|
677
696
|
this.prepopulateValues = () => {
|
|
@@ -707,7 +726,12 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
707
726
|
this.dataModel[i].value = (_c = this.getPrepopulateJson()[element.id]) !== null && _c !== void 0 ? _c : '';
|
|
708
727
|
}
|
|
709
728
|
else if (element.type == "sf-i-form-select") {
|
|
729
|
+
// if(element.savenameseparate == "yes"){
|
|
730
|
+
// console.log('prepopulating sf-i-form-select', this.getPrepopulateJson()[element.id])
|
|
731
|
+
// this.dataModel[i].value = this.getPrepopulateJson()[element.id] ?? ''
|
|
732
|
+
// }else{
|
|
710
733
|
this.dataModel[i].value = (_d = this.getPrepopulateJson()[element.id]) !== null && _d !== void 0 ? _d : '';
|
|
734
|
+
// }
|
|
711
735
|
}
|
|
712
736
|
else if (element.type == "sf-i-form") {
|
|
713
737
|
if (element.savenameseparate == "yes") {
|
|
@@ -748,10 +772,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
748
772
|
this.evalTimeout = setTimeout(() => {
|
|
749
773
|
this.evalShowProgress();
|
|
750
774
|
}, 2000);
|
|
751
|
-
|
|
752
|
-
if (formContainer != null) {
|
|
753
|
-
this.populateView(formContainer.scrollTop);
|
|
754
|
-
}
|
|
775
|
+
this.populateView();
|
|
755
776
|
};
|
|
756
777
|
this.evalShowProgress = () => {
|
|
757
778
|
let total = 0;
|
|
@@ -853,7 +874,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
853
874
|
if (this.editdisable == "true") {
|
|
854
875
|
this._SfReportingContainer.querySelector('.progress-bar').style.display = 'none';
|
|
855
876
|
}
|
|
856
|
-
else {
|
|
877
|
+
else if (this._SfReportingContainer.querySelector('.progress-bar') != null) {
|
|
857
878
|
this._SfReportingContainer.querySelector('.progress-bar').style.display = 'flex';
|
|
858
879
|
let progress = Math.floor((filled / total) * 100);
|
|
859
880
|
if (progress == 100) {
|
|
@@ -1242,7 +1263,8 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1242
1263
|
this.initSectionListeners = () => {
|
|
1243
1264
|
let sectionHeads = (this._SfReportingContainer.querySelectorAll('.section-head'));
|
|
1244
1265
|
for (let sectionHead of sectionHeads) {
|
|
1245
|
-
sectionHead.addEventListener('click', () => {
|
|
1266
|
+
sectionHead.addEventListener('click', async () => {
|
|
1267
|
+
await this.showLoader();
|
|
1246
1268
|
console.log('scroll position', this._SfReportingContainer.querySelector('.form-container').scrollTop);
|
|
1247
1269
|
for (let dataObj of this.dataModel) {
|
|
1248
1270
|
if (dataObj.id == sectionHead.id) {
|
|
@@ -1275,7 +1297,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1275
1297
|
return elementHtml;
|
|
1276
1298
|
};
|
|
1277
1299
|
this.renderElement = (dataObj) => {
|
|
1278
|
-
var _a, _b
|
|
1300
|
+
var _a, _b;
|
|
1279
1301
|
let elementHtml = "";
|
|
1280
1302
|
console.log('rendering obj', dataObj.type);
|
|
1281
1303
|
if (dataObj.type == "section") {
|
|
@@ -1318,6 +1340,18 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1318
1340
|
</div>`;
|
|
1319
1341
|
}
|
|
1320
1342
|
else if (dataObj.type == "sf-i-form-select") {
|
|
1343
|
+
let valToBeShown = "";
|
|
1344
|
+
if (dataObj.savenameseparate == "yes") {
|
|
1345
|
+
if (dataObj.value[0] != null && dataObj.value[0].split(';').length > 0) {
|
|
1346
|
+
valToBeShown = dataObj.value[0].split(';')[0];
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
else if (dataObj.value.name != null) {
|
|
1350
|
+
valToBeShown = dataObj.value.name;
|
|
1351
|
+
}
|
|
1352
|
+
else {
|
|
1353
|
+
valToBeShown = dataObj.value.reference;
|
|
1354
|
+
}
|
|
1321
1355
|
elementHtml += `<div part="date-container" class="d-flex flex-col flex-grow">
|
|
1322
1356
|
<label id="${dataObj.id}-label" part="date-label">${dataObj.label}</label>
|
|
1323
1357
|
<div part="td-body-2"><sf-i-elastic-text text="${dataObj.hint}" minLength="50"></sf-i-elastic-text></div>
|
|
@@ -1326,7 +1360,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1326
1360
|
${((_b = Object.keys(dataObj.value)) !== null && _b !== void 0 ? _b : []).length > 0 ? (`
|
|
1327
1361
|
<div class="selected-option d-flex justtify-center align-center" part="selected-option" id="selected-option-${dataObj.id}">
|
|
1328
1362
|
${this.flow == "details" ? '' : '<span class="material-icons selected-option-icon mr-10">cancel</span>'}
|
|
1329
|
-
<label class="selected-option-label" part="selected-option-label">${
|
|
1363
|
+
<label class="selected-option-label" part="selected-option-label">${valToBeShown}</label>
|
|
1330
1364
|
</div>`) : (`
|
|
1331
1365
|
${(this.flow == "details") ? '' :
|
|
1332
1366
|
`<button id="button-edit-form-${dataObj.id}" part="button-icon" class="material-icons button-edit-form button-icon-click">edit</button>`}
|
|
@@ -1789,6 +1823,19 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1789
1823
|
}, 5000);
|
|
1790
1824
|
}
|
|
1791
1825
|
};
|
|
1826
|
+
this.showLoader = async () => {
|
|
1827
|
+
if (this._SfIReportingCCopy != null) {
|
|
1828
|
+
let loaderContainer = this._SfIReportingCCopy;
|
|
1829
|
+
loaderContainer.style.backgroundColor = "#efefef";
|
|
1830
|
+
loaderContainer.style.display = 'flex';
|
|
1831
|
+
}
|
|
1832
|
+
};
|
|
1833
|
+
this.hideLoader = async () => {
|
|
1834
|
+
if (this._SfIReportingCCopy != null) {
|
|
1835
|
+
let loaderContainer = this._SfIReportingCCopy;
|
|
1836
|
+
loaderContainer.style.display = 'none';
|
|
1837
|
+
}
|
|
1838
|
+
};
|
|
1792
1839
|
}
|
|
1793
1840
|
firstUpdated(_changedProperties) {
|
|
1794
1841
|
this.loadMode();
|
|
@@ -1850,6 +1897,9 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1850
1897
|
return html `
|
|
1851
1898
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
1852
1899
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
|
|
1900
|
+
<div part="reporting-container-outer-copy" class="SfIReportingCCopy align-center d-flex flex-col justify-center hide">
|
|
1901
|
+
<div class="lds-dual-ring"></div>
|
|
1902
|
+
</div>
|
|
1853
1903
|
<div part="reporting-container-outer" class="SfIReportingC d-flex flex-col align-center">
|
|
1854
1904
|
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1855
1905
|
<div class="loader-element"></div>
|
|
@@ -1875,6 +1925,9 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1875
1925
|
return html `
|
|
1876
1926
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
1877
1927
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
|
|
1928
|
+
<div part="reporting-container-outer-copy" class="SfIReportingCCopy align-center d-flex flex-col justify-center hide">
|
|
1929
|
+
<div class="lds-dual-ring"></div>
|
|
1930
|
+
</div>
|
|
1878
1931
|
<div part="reporting-container-outer" class="SfIReportingC d-flex flex-col align-center">
|
|
1879
1932
|
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1880
1933
|
<div class="loader-element"></div>
|
|
@@ -1900,6 +1953,9 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1900
1953
|
return html `
|
|
1901
1954
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
1902
1955
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
|
|
1956
|
+
<div part="reporting-container-outer-copy" class="SfIReportingCCopy align-center d-flex flex-col justify-center hide">
|
|
1957
|
+
<div class="lds-dual-ring"></div>
|
|
1958
|
+
</div>
|
|
1903
1959
|
<div part="reporting-container-outer" class="SfIReportingC d-flex flex-col align-center">
|
|
1904
1960
|
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1905
1961
|
<div class="loader-element"></div>
|
|
@@ -1963,6 +2019,14 @@ SfIReporting.styles = css `
|
|
|
1963
2019
|
.SfIReportingC {
|
|
1964
2020
|
}
|
|
1965
2021
|
|
|
2022
|
+
.SfIReportingCCopy {
|
|
2023
|
+
width: 100%;
|
|
2024
|
+
height: 100%;
|
|
2025
|
+
z-index: 10;
|
|
2026
|
+
display: none;
|
|
2027
|
+
position: absolute;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
1966
2030
|
.invisible {
|
|
1967
2031
|
visibility: hidden;
|
|
1968
2032
|
}
|
|
@@ -2338,6 +2402,9 @@ __decorate([
|
|
|
2338
2402
|
__decorate([
|
|
2339
2403
|
query('.SfIReportingC')
|
|
2340
2404
|
], SfIReporting.prototype, "_SfIReportingC", void 0);
|
|
2405
|
+
__decorate([
|
|
2406
|
+
query('.SfIReportingCCopy')
|
|
2407
|
+
], SfIReporting.prototype, "_SfIReportingCCopy", void 0);
|
|
2341
2408
|
__decorate([
|
|
2342
2409
|
query('#reporting-container')
|
|
2343
2410
|
], SfIReporting.prototype, "_SfReportingContainer", void 0);
|