sf-i-reporting 1.0.42 → 1.0.44
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/package.json +1 -1
- package/sf-i-reporting.d.ts +0 -1
- package/sf-i-reporting.d.ts.map +1 -1
- package/sf-i-reporting.js +69 -62
- package/sf-i-reporting.js.map +1 -1
package/package.json
CHANGED
package/sf-i-reporting.d.ts
CHANGED
|
@@ -49,7 +49,6 @@ export declare class SfIReporting extends LitElement {
|
|
|
49
49
|
_SfIReportingC: any;
|
|
50
50
|
_SfReportingContainer: any;
|
|
51
51
|
_SfReportingContainerShort: any;
|
|
52
|
-
_SfReportingButtonContainer: any;
|
|
53
52
|
_SfReportingButtonSubmit: any;
|
|
54
53
|
_SfReportingButtonSubmitConfirm: any;
|
|
55
54
|
_SfReportingButtonSubmitCancel: any;
|
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;AAWtH;;;;;;;;;;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;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KAChC;CACF"}
|
package/sf-i-reporting.js
CHANGED
|
@@ -318,11 +318,12 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
318
318
|
(_a = this._SfReportingButtonNew) === null || _a === void 0 ? void 0 : _a.addEventListener('click', this.newClick);
|
|
319
319
|
};
|
|
320
320
|
this.initNewListeners = () => {
|
|
321
|
-
|
|
322
|
-
this._SfReportingButtonBack.
|
|
321
|
+
var _a, _b;
|
|
322
|
+
(_a = this._SfReportingButtonBack) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', this.backClick);
|
|
323
|
+
(_b = this._SfReportingButtonBack) === null || _b === void 0 ? void 0 : _b.addEventListener('click', this.backClick);
|
|
323
324
|
};
|
|
324
325
|
this.initDetailsListeners = () => {
|
|
325
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
326
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
326
327
|
if (this.editdisable == "true") {
|
|
327
328
|
this._SfReportingButtonBack.style.display = 'none';
|
|
328
329
|
this._SfReportingButtonEdit.style.display = 'none';
|
|
@@ -331,24 +332,24 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
331
332
|
this._SfReportingButtonDeleteConfirm.style.display = 'none';
|
|
332
333
|
}
|
|
333
334
|
else {
|
|
334
|
-
this._SfReportingButtonBack.removeEventListener('click', this.backClick);
|
|
335
|
-
this._SfReportingButtonBack.addEventListener('click', this.backClick);
|
|
336
|
-
(
|
|
337
|
-
(
|
|
338
|
-
(
|
|
339
|
-
(
|
|
340
|
-
(
|
|
341
|
-
(
|
|
342
|
-
(
|
|
343
|
-
(
|
|
335
|
+
(_a = this._SfReportingButtonBack) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', this.backClick);
|
|
336
|
+
(_b = this._SfReportingButtonBack) === null || _b === void 0 ? void 0 : _b.addEventListener('click', this.backClick);
|
|
337
|
+
(_c = this._SfReportingButtonEdit) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.editClick);
|
|
338
|
+
(_d = this._SfReportingButtonEdit) === null || _d === void 0 ? void 0 : _d.addEventListener('click', this.editClick);
|
|
339
|
+
(_e = this._SfReportingButtonDelete) === null || _e === void 0 ? void 0 : _e.removeEventListener('click', this.deleteClick);
|
|
340
|
+
(_f = this._SfReportingButtonDelete) === null || _f === void 0 ? void 0 : _f.addEventListener('click', this.deleteClick);
|
|
341
|
+
(_g = this._SfReportingButtonDeleteCancel) === null || _g === void 0 ? void 0 : _g.removeEventListener('click', this.deleteCancelClick);
|
|
342
|
+
(_h = this._SfReportingButtonDeleteCancel) === null || _h === void 0 ? void 0 : _h.addEventListener('click', this.deleteCancelClick);
|
|
343
|
+
(_j = this._SfReportingButtonDeleteConfirm) === null || _j === void 0 ? void 0 : _j.removeEventListener('click', this.deleteConfirmClick);
|
|
344
|
+
(_k = this._SfReportingButtonDeleteConfirm) === null || _k === void 0 ? void 0 : _k.addEventListener('click', this.deleteConfirmClick);
|
|
344
345
|
}
|
|
345
346
|
};
|
|
346
347
|
this.initEditListeners = () => {
|
|
347
|
-
var _a, _b;
|
|
348
|
-
this._SfReportingButtonBack.removeEventListener('click', this.backClick);
|
|
349
|
-
this._SfReportingButtonBack.addEventListener('click', this.backClick);
|
|
350
|
-
(
|
|
351
|
-
(
|
|
348
|
+
var _a, _b, _c, _d;
|
|
349
|
+
(_a = this._SfReportingButtonBack) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', this.backClick);
|
|
350
|
+
(_b = this._SfReportingButtonBack) === null || _b === void 0 ? void 0 : _b.addEventListener('click', this.backClick);
|
|
351
|
+
(_c = this._SfReportingButtonEditCancel) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.editCancelClick);
|
|
352
|
+
(_d = this._SfReportingButtonEditCancel) === null || _d === void 0 ? void 0 : _d.addEventListener('click', this.editCancelClick);
|
|
352
353
|
};
|
|
353
354
|
this.populateDataModel = () => {
|
|
354
355
|
let sectionCount = 0;
|
|
@@ -387,10 +388,26 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
387
388
|
<div class="d-flex w-100-m-0 justify-between align-center">
|
|
388
389
|
<button id="button-back" part="button-icon" class="button-icon-click"><span class="material-icons">keyboard_backspace</span></button>
|
|
389
390
|
<h3 part="results-title" class="m-0">${this.name}</h3>
|
|
390
|
-
<
|
|
391
|
+
<div class="d-flex justtify-center">${this.flow == "new" ? `
|
|
392
|
+
<button class="md-20-ml-10 material-icons invisible" part="button-icon" id="button-submit" disabled>save</button>
|
|
393
|
+
<button class="md-20-ml-10 material-icons hide" part="button-icon" id="button-submit-cancel">close</button>
|
|
394
|
+
<button class="md-20-ml-10 material-icons hide" part="button-icon" id="button-submit-confirm">check save</button>
|
|
395
|
+
` : (this.flow == "details" ? `
|
|
396
|
+
<button id="button-edit" part="button-icon" class="md-20-ml-10 material-icons button-icon-click">edit</button>
|
|
397
|
+
<button id="button-delete" part="button-icon" class="md-20-ml-10 material-icons button-icon-click">delete</button>
|
|
398
|
+
<button id="button-delete-cancel" part="button-icon" class="md-20-ml-10 material-icons button-icon-click hide">close</button>
|
|
399
|
+
<button id="button-delete-confirm" part="button-icon" class="md-20-ml-10 button-icon-click hide"><span class="material-icons">delete</span><span class="material-icons">done</span></button>
|
|
400
|
+
` : `
|
|
401
|
+
<button id="button-edit-cancel" part="button-icon" class="md-20-ml-10 material-icons button-icon-click">edit_off</button>
|
|
402
|
+
<button class="md-20-ml-10 material-icons hide" part="button-icon" id="button-submit" disabled>save</button>
|
|
403
|
+
<button class="md-20-ml-10 material-icons hide" part="button-icon" id="button-submit-cancel">close</button>
|
|
404
|
+
<button class="md-20-ml-10 material-icons hide" part="button-icon" id="button-submit-confirm">check save</button>
|
|
405
|
+
`)}
|
|
406
|
+
</div>
|
|
391
407
|
</div>
|
|
392
408
|
<div class="progress-bar w-100-m-0 d-flex" part="progress-bar">
|
|
393
409
|
<div class="progress-bar-complete" part="progress-bar-complete"></div>
|
|
410
|
+
<div class="progress-bar-finished" part="progress-bar-finished"></div>
|
|
394
411
|
<div class="progress-bar-incomplete" part="progress-bar-incomplete"></div>
|
|
395
412
|
</div>
|
|
396
413
|
</div>
|
|
@@ -495,7 +512,26 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
495
512
|
}
|
|
496
513
|
}
|
|
497
514
|
let buttonBack = this._SfReportingContainer.querySelector('#button-back');
|
|
498
|
-
buttonBack.addEventListener('click', this.backClick);
|
|
515
|
+
buttonBack === null || buttonBack === void 0 ? void 0 : buttonBack.addEventListener('click', this.backClick);
|
|
516
|
+
let buttonSubmit = this._SfReportingContainer.querySelector('#button-submit');
|
|
517
|
+
if (this.flow == "new") {
|
|
518
|
+
buttonSubmit.style.visibility = 'visible';
|
|
519
|
+
}
|
|
520
|
+
buttonSubmit === null || buttonSubmit === void 0 ? void 0 : buttonSubmit.addEventListener('click', this.submitClick);
|
|
521
|
+
let buttonSubmitConfirm = this._SfReportingContainer.querySelector('#button-submit-confirm');
|
|
522
|
+
buttonSubmitConfirm === null || buttonSubmitConfirm === void 0 ? void 0 : buttonSubmitConfirm.addEventListener('click', this.submitConfirmClick);
|
|
523
|
+
let buttonSubmitCancel = this._SfReportingContainer.querySelector('#button-submit-cancel');
|
|
524
|
+
buttonSubmitCancel === null || buttonSubmitCancel === void 0 ? void 0 : buttonSubmitCancel.addEventListener('click', this.submitCancelClick);
|
|
525
|
+
let buttonEdit = this._SfReportingContainer.querySelector('#button-edit');
|
|
526
|
+
buttonEdit === null || buttonEdit === void 0 ? void 0 : buttonEdit.addEventListener('click', this.editClick);
|
|
527
|
+
let buttonDelete = this._SfReportingContainer.querySelector('#button-delete');
|
|
528
|
+
buttonDelete === null || buttonDelete === void 0 ? void 0 : buttonDelete.addEventListener('click', this.deleteClick);
|
|
529
|
+
let buttonDeleteCancel = this._SfReportingContainer.querySelector('#button-delete-cancel');
|
|
530
|
+
buttonDeleteCancel === null || buttonDeleteCancel === void 0 ? void 0 : buttonDeleteCancel.addEventListener('click', this.deleteCancelClick);
|
|
531
|
+
let buttonDeleteConfirm = this._SfReportingContainer.querySelector('#button-delete-confirm');
|
|
532
|
+
buttonDeleteConfirm === null || buttonDeleteConfirm === void 0 ? void 0 : buttonDeleteConfirm.addEventListener('click', this.submitCancelClick);
|
|
533
|
+
let buttonEditCancel = this._SfReportingContainer.querySelector('#button-edit-cancel');
|
|
534
|
+
buttonEditCancel === null || buttonEditCancel === void 0 ? void 0 : buttonEditCancel.addEventListener('click', this.editCancelClick);
|
|
499
535
|
setTimeout(() => {
|
|
500
536
|
this.evalShowProgress();
|
|
501
537
|
this._SfReportingContainer.querySelector('.form-container').scrollTo({ top: scrollTopTarget, left: 0 });
|
|
@@ -660,7 +696,14 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
660
696
|
else {
|
|
661
697
|
this._SfReportingContainer.querySelector('.progress-bar').style.display = 'block';
|
|
662
698
|
let progress = Math.floor((filled / total) * 100);
|
|
663
|
-
|
|
699
|
+
if (progress == 100) {
|
|
700
|
+
this._SfReportingContainer.querySelector('.progress-bar-complete').style.width = "0%";
|
|
701
|
+
this._SfReportingContainer.querySelector('.progress-bar-finished').style.width = "100%";
|
|
702
|
+
}
|
|
703
|
+
else {
|
|
704
|
+
this._SfReportingContainer.querySelector('.progress-bar-complete').style.width = progress + "%";
|
|
705
|
+
this._SfReportingContainer.querySelector('.progress-bar-finished').style.width = "0%";
|
|
706
|
+
}
|
|
664
707
|
this._SfReportingContainer.querySelector('.progress-bar-incomplete').style.width = (100 - progress) + "%";
|
|
665
708
|
console.log('buttonsubmit', this._SfReportingButtonSubmit);
|
|
666
709
|
if (this._SfReportingButtonSubmit != null) {
|
|
@@ -1525,16 +1568,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1525
1568
|
return html `
|
|
1526
1569
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
1527
1570
|
<div part="reporting-container-outer" class="SfIReportingC d-flex flex-col align-center">
|
|
1528
|
-
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1529
|
-
<div id="reporting-buttons-container" part="reporting-buttons-container" class="d-flex justify-center w-100-m-0">
|
|
1530
|
-
<div class="lb"></div>
|
|
1531
|
-
<div class="d-flex justify-start">
|
|
1532
|
-
<button class="md-20-ml-10 hide" part="button-lg" id="button-submit" disabled>Submit</button>
|
|
1533
|
-
<button class="md-20-ml-10 hide" part="button-lg" id="button-submit-confirm">Confirm</button>
|
|
1534
|
-
<button class="md-20-ml-10 hide" part="button-lg" id="button-submit-cancel">Cancel</button>
|
|
1535
|
-
</div>
|
|
1536
|
-
<div class="rb"></div>
|
|
1537
|
-
</div>
|
|
1571
|
+
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1538
1572
|
<div class="loader-element"></div>
|
|
1539
1573
|
<div class="d-flex justify-between">
|
|
1540
1574
|
<div class="lb"></div>
|
|
@@ -1558,17 +1592,6 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1558
1592
|
return html `
|
|
1559
1593
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
1560
1594
|
<div part="reporting-container-outer" class="SfIReportingC d-flex flex-col align-center">
|
|
1561
|
-
<div class="d-flex w-100-m-0">
|
|
1562
|
-
<div class="d-flex flex-grow justify-between md-20-ml-10">
|
|
1563
|
-
<button id="button-back" part="button-icon" class="button-icon-click"><span class="material-icons">keyboard_backspace</span></button>
|
|
1564
|
-
<div class="d-flex">
|
|
1565
|
-
<button id="button-edit" part="button-icon" class="material-icons button-icon-click">edit</button>
|
|
1566
|
-
<button id="button-delete" part="button-icon" class="material-icons button-icon-click">delete</button>
|
|
1567
|
-
<button id="button-delete-cancel" part="button-icon" class="material-icons button-icon-click hide">close</button>
|
|
1568
|
-
<button id="button-delete-confirm" part="button-icon" class="button-icon-click hide"><span class="material-icons">delete</span><span class="material-icons">done</span></button>
|
|
1569
|
-
</div>
|
|
1570
|
-
</div>
|
|
1571
|
-
</div>
|
|
1572
1595
|
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1573
1596
|
<div class="loader-element"></div>
|
|
1574
1597
|
<div class="d-flex justify-between">
|
|
@@ -1593,24 +1616,7 @@ let SfIReporting = class SfIReporting extends LitElement {
|
|
|
1593
1616
|
return html `
|
|
1594
1617
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
1595
1618
|
<div part="reporting-container-outer" class="SfIReportingC d-flex flex-col align-center">
|
|
1596
|
-
<div class="d-flex w-100-m-0">
|
|
1597
|
-
<div class="d-flex flex-grow justify-between md-20-ml-10">
|
|
1598
|
-
<button id="button-back" part="button-icon" class="button-icon-click"><span class="material-icons">keyboard_backspace</span></button>
|
|
1599
|
-
<div class="d-flex">
|
|
1600
|
-
<button id="button-edit-cancel" part="button-icon" class="material-icons button-icon-click">edit_off</button>
|
|
1601
|
-
</div>
|
|
1602
|
-
</div>
|
|
1603
|
-
</div>
|
|
1604
1619
|
<div id="reporting-container" part="reporting-container" class="w-100-m-0 hide"></div>
|
|
1605
|
-
<div id="reporting-buttons-container" part="reporting-buttons-container" class="d-flex justify-center w-100-m-0">
|
|
1606
|
-
<div class="lb"></div>
|
|
1607
|
-
<div class="d-flex justify-start">
|
|
1608
|
-
<button class="md-20-ml-10 hide" part="button-lg" id="button-submit" disabled>Submit</button>
|
|
1609
|
-
<button class="md-20-ml-10 hide" part="button-lg" id="button-submit-confirm">Confirm</button>
|
|
1610
|
-
<button class="md-20-ml-10 hide" part="button-lg" id="button-submit-cancel">Cancel</button>
|
|
1611
|
-
</div>
|
|
1612
|
-
<div class="rb"></div>
|
|
1613
|
-
</div>
|
|
1614
1620
|
<div class="loader-element"></div>
|
|
1615
1621
|
<div class="d-flex justify-between">
|
|
1616
1622
|
<div class="lb"></div>
|
|
@@ -1926,6 +1932,10 @@ SfIReporting.styles = css `
|
|
|
1926
1932
|
height: 20px;
|
|
1927
1933
|
background-color: #123;
|
|
1928
1934
|
}
|
|
1935
|
+
.progress-bar-finished {
|
|
1936
|
+
height: 20px;
|
|
1937
|
+
background-color: #115;
|
|
1938
|
+
}
|
|
1929
1939
|
.progress-bar-incomplete {
|
|
1930
1940
|
height: 20px;
|
|
1931
1941
|
background-color: #555
|
|
@@ -2005,9 +2015,6 @@ __decorate([
|
|
|
2005
2015
|
__decorate([
|
|
2006
2016
|
query('#reporting-container-short')
|
|
2007
2017
|
], SfIReporting.prototype, "_SfReportingContainerShort", void 0);
|
|
2008
|
-
__decorate([
|
|
2009
|
-
query('#reporting-buttons-container')
|
|
2010
|
-
], SfIReporting.prototype, "_SfReportingButtonContainer", void 0);
|
|
2011
2018
|
__decorate([
|
|
2012
2019
|
query('#button-submit')
|
|
2013
2020
|
], SfIReporting.prototype, "_SfReportingButtonSubmit", void 0);
|