@unvired/turboforms-embed-sdk 2.0.48 → 2.0.49
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/dist/turboforms.esm.js +13 -11
- package/dist/turboforms.html +14 -2
- package/dist/turboforms.js +13 -11
- package/package.json +1 -1
package/dist/turboforms.html
CHANGED
|
@@ -2631,7 +2631,7 @@
|
|
|
2631
2631
|
.tf-formio-sdk .comments-header {
|
|
2632
2632
|
background-color: white;
|
|
2633
2633
|
display: flex;
|
|
2634
|
-
padding:
|
|
2634
|
+
padding: 5px;
|
|
2635
2635
|
align-items: baseline;
|
|
2636
2636
|
justify-content: space-between;
|
|
2637
2637
|
position: fixed;
|
|
@@ -22424,14 +22424,20 @@ function showFormView() {
|
|
|
22424
22424
|
const commentsHeader = document.getElementById("comments-header");
|
|
22425
22425
|
const cmtFooter = document.getElementById("cmt-footer");
|
|
22426
22426
|
const formCmt = document.getElementById("formio-cmt");
|
|
22427
|
+
const commentsBtnTop = document.getElementById("comments-back-btn-top");
|
|
22428
|
+
const formBackBtn = document.getElementById("form-back-btn");
|
|
22429
|
+
const stickyHeader = document.getElementById("sticky-header");
|
|
22427
22430
|
|
|
22428
22431
|
if (commentsHeader) commentsHeader.style.display = "none";
|
|
22429
22432
|
if (cmtFooter) cmtFooter.style.display = "none";
|
|
22430
22433
|
if (formCmt) formCmt.style.display = "none";
|
|
22434
|
+
if (commentsBtnTop) commentsBtnTop.style.setProperty("display", "none", "important");
|
|
22431
22435
|
|
|
22432
22436
|
if (formHeader) formHeader.style.display = "";
|
|
22437
|
+
if (stickyHeader) stickyHeader.style.display = "";
|
|
22433
22438
|
if (formEl) formEl.style.display = "";
|
|
22434
22439
|
if (stickyFooter) stickyFooter.style.display = "flex";
|
|
22440
|
+
if (formBackBtn) formBackBtn.style.display = "";
|
|
22435
22441
|
}
|
|
22436
22442
|
|
|
22437
22443
|
function showCommentsView() {
|
|
@@ -22442,14 +22448,20 @@ function showCommentsView() {
|
|
|
22442
22448
|
const commentsHeader = document.getElementById("comments-header");
|
|
22443
22449
|
const cmtFooter = document.getElementById("cmt-footer");
|
|
22444
22450
|
const formCmt = document.getElementById("formio-cmt");
|
|
22451
|
+
const commentsBtnTop = document.getElementById("comments-back-btn-top");
|
|
22452
|
+
const formBackBtn = document.getElementById("form-back-btn");
|
|
22453
|
+
const stickyHeader = document.getElementById("sticky-header");
|
|
22445
22454
|
|
|
22446
22455
|
if (formHeader) formHeader.style.display = "none";
|
|
22447
22456
|
if (formEl) formEl.style.display = "none";
|
|
22448
22457
|
if (stickyFooter) stickyFooter.style.display = "none";
|
|
22458
|
+
if (stickyHeader) stickyHeader.style.display = "none";
|
|
22459
|
+
if (formBackBtn) formBackBtn.style.setProperty("display", "none", "important");
|
|
22449
22460
|
|
|
22450
22461
|
if (commentsHeader) commentsHeader.style.display = "";
|
|
22451
22462
|
if (formCmt) formCmt.style.display = "";
|
|
22452
22463
|
if (cmtFooter) cmtFooter.style.display = "flex";
|
|
22464
|
+
if (commentsBtnTop) commentsBtnTop.style.setProperty("display", "inline-block", "important");
|
|
22453
22465
|
}
|
|
22454
22466
|
|
|
22455
22467
|
// expose to other modules
|
|
@@ -42902,7 +42914,7 @@ window.CommentOnBack = CommentOnBack;
|
|
|
42902
42914
|
|
|
42903
42915
|
|
|
42904
42916
|
<div id="sticky-footer">
|
|
42905
|
-
<div class="build-version">SDK v2.0.
|
|
42917
|
+
<div class="build-version">SDK v2.0.49</div>
|
|
42906
42918
|
<div class="relative-position">
|
|
42907
42919
|
<button id="unvired-more-btn" class="ui button primary dataGrid-addRow" onclick="toggleTooltip()">
|
|
42908
42920
|
<i class="icon options"></i>
|