@unvired/turboforms-embed-sdk 2.0.58 → 2.0.60
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 +9 -9
- package/dist/turboforms.html +54 -30
- package/dist/turboforms.js +11 -11
- package/package.json +1 -1
package/dist/turboforms.html
CHANGED
|
@@ -2884,6 +2884,12 @@
|
|
|
2884
2884
|
.tf-embed-sdk .form-control,
|
|
2885
2885
|
.tf-embed-sdk .choices__inner,
|
|
2886
2886
|
.tf-embed-sdk .col-form-label,
|
|
2887
|
+
.tf-embed-sdk table:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2888
|
+
.tf-embed-sdk th:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2889
|
+
.tf-embed-sdk td:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2890
|
+
.tf-embed-sdk p:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2891
|
+
.tf-embed-sdk span:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2892
|
+
.tf-embed-sdk div:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2887
2893
|
.tf-embed-sdk label:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2888
2894
|
.tf-embed-sdk select:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
2889
2895
|
.tf-embed-sdk textarea:not(.formio-component-htmlelement *):not(.formio-component-content *),
|
|
@@ -4858,42 +4864,49 @@
|
|
|
4858
4864
|
}
|
|
4859
4865
|
|
|
4860
4866
|
/* Input alignment and Bootstrap overrides */
|
|
4867
|
+
.tf-embed-sdk input[type="radio"],
|
|
4861
4868
|
.tf-embed-sdk .formio-component-radio [ref="wrapper"] input[type="radio"],
|
|
4862
4869
|
.tf-embed-sdk .formio-component-radio .radio.form-check input[type="radio"] {
|
|
4863
|
-
margin: 0;
|
|
4864
|
-
margin-right: 10px;
|
|
4865
|
-
cursor: pointer;
|
|
4866
|
-
width: 1.2rem;
|
|
4867
|
-
height: 1.2rem;
|
|
4868
|
-
accent-color: var(--tf-primary-color);
|
|
4869
|
-
flex-shrink: 0;
|
|
4870
|
-
position: relative;
|
|
4871
|
-
top: auto;
|
|
4872
|
-
float: none;
|
|
4870
|
+
margin: 0 !important;
|
|
4871
|
+
margin-right: 10px !important;
|
|
4872
|
+
cursor: pointer !important;
|
|
4873
|
+
width: 1.2rem !important;
|
|
4874
|
+
height: 1.2rem !important;
|
|
4875
|
+
accent-color: var(--tf-primary-color) !important;
|
|
4876
|
+
flex-shrink: 0 !important;
|
|
4877
|
+
position: relative !important;
|
|
4878
|
+
top: auto !important;
|
|
4879
|
+
float: none !important;
|
|
4880
|
+
box-sizing: border-box !important;
|
|
4873
4881
|
}
|
|
4874
4882
|
|
|
4875
4883
|
/* Override Bootstrap's hardcoded blue for checked state */
|
|
4884
|
+
.tf-embed-sdk input[type="radio"]:checked,
|
|
4876
4885
|
.tf-embed-sdk .formio-component-radio [ref="wrapper"] input[type="radio"]:checked,
|
|
4877
4886
|
.tf-embed-sdk .formio-component-radio .radio.form-check input[type="radio"]:checked {
|
|
4878
|
-
background-color: var(--tf-primary-color);
|
|
4879
|
-
border-color: var(--tf-primary-color);
|
|
4887
|
+
background-color: var(--tf-primary-color) !important;
|
|
4888
|
+
border-color: var(--tf-primary-color) !important;
|
|
4880
4889
|
}
|
|
4881
4890
|
|
|
4882
4891
|
/* Label alignment */
|
|
4883
4892
|
.tf-embed-sdk .formio-component-radio [ref="wrapper"] label,
|
|
4884
|
-
.tf-embed-sdk .formio-component-radio .radio.form-check label
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4893
|
+
.tf-embed-sdk .formio-component-radio .radio.form-check label,
|
|
4894
|
+
.tf-embed-sdk .formio-component-radio .form-check-label {
|
|
4895
|
+
margin: 0 !important;
|
|
4896
|
+
padding: 0 !important;
|
|
4897
|
+
cursor: pointer !important;
|
|
4898
|
+
user-select: none !important;
|
|
4899
|
+
font-family: var(--tf-app-font-family) !important;
|
|
4900
|
+
font-size: var(--tf-app-font-size-base) !important;
|
|
4901
|
+
font-weight: var(--tf-app-font-weight, 400) !important;
|
|
4902
|
+
color: var(--tf-text-override, var(--tf-app-font-color, #2d3033)) !important;
|
|
4903
|
+
line-height: 1.2rem !important;
|
|
4904
|
+
display: flex !important;
|
|
4905
|
+
align-items: center !important;
|
|
4906
|
+
flex: 1 !important;
|
|
4907
|
+
min-width: 0 !important;
|
|
4908
|
+
word-break: break-word !important;
|
|
4909
|
+
overflow-wrap: break-word !important;
|
|
4897
4910
|
}
|
|
4898
4911
|
|
|
4899
4912
|
/* Expand the label to cover the entire tile for better clickability */
|
|
@@ -6821,6 +6834,9 @@
|
|
|
6821
6834
|
border: 1px solid var(--tf-border-color) !important;
|
|
6822
6835
|
word-wrap: break-word !important;
|
|
6823
6836
|
line-height: 1.2 !important;
|
|
6837
|
+
font-family: var(--tf-app-font-family) !important;
|
|
6838
|
+
font-size: var(--tf-app-font-size-base) !important;
|
|
6839
|
+
color: var(--tf-text-override, var(--tf-app-font-color, #2d3033)) !important;
|
|
6824
6840
|
}
|
|
6825
6841
|
|
|
6826
6842
|
/* 3. Survey Input (Radio/Check) Alignment */
|
|
@@ -6886,15 +6902,15 @@
|
|
|
6886
6902
|
<style>/* TABLE AND DATA GRID LAYOUT MODULE */
|
|
6887
6903
|
|
|
6888
6904
|
/* 1. Core Table Sizing and Distribution */
|
|
6905
|
+
.tf-embed-sdk table,
|
|
6889
6906
|
.tf-embed-sdk table.table,
|
|
6890
6907
|
.tf-embed-sdk table.datagrid-table,
|
|
6891
6908
|
.tf-embed-sdk .table>:not(caption)>*>* {
|
|
6892
6909
|
border: 1px solid var(--tf-border-color) !important;
|
|
6893
|
-
/* border-collapse: collapse !important; */
|
|
6894
6910
|
margin-bottom: 0.5rem !important;
|
|
6895
6911
|
font-weight: var(--tf-app-font-weight) !important;
|
|
6896
|
-
|
|
6897
|
-
|
|
6912
|
+
font-family: var(--tf-app-font-family) !important;
|
|
6913
|
+
font-size: var(--tf-app-font-size-base) !important;
|
|
6898
6914
|
}
|
|
6899
6915
|
|
|
6900
6916
|
/* 1.1 DataGrid Root Styling (Moved from index.css) */
|
|
@@ -6911,9 +6927,14 @@
|
|
|
6911
6927
|
z-index: 9999 !important;
|
|
6912
6928
|
}
|
|
6913
6929
|
|
|
6930
|
+
.tf-embed-sdk table td,
|
|
6931
|
+
.tf-embed-sdk table th,
|
|
6914
6932
|
.tf-embed-sdk table.table td,
|
|
6915
6933
|
.tf-embed-sdk table.table th {
|
|
6916
6934
|
font-weight: var(--tf-app-font-weight) !important;
|
|
6935
|
+
font-family: var(--tf-app-font-family) !important;
|
|
6936
|
+
font-size: var(--tf-app-font-size-base) !important;
|
|
6937
|
+
color: var(--tf-text-override, var(--tf-app-font-color, #2d3033)) !important;
|
|
6917
6938
|
}
|
|
6918
6939
|
|
|
6919
6940
|
/* Flexible Constraint: Ensure signature stays functional but adaptable in tables */
|
|
@@ -38988,11 +39009,11 @@ async function loadTRform(
|
|
|
38988
39009
|
if (sdkLoader) {
|
|
38989
39010
|
logger.info("[TF_SDK:312] ✅ Loader found, hiding...");
|
|
38990
39011
|
sdkLoader.classList.add("hidden");
|
|
38991
|
-
document.querySelectorAll('.tf-form-loading').forEach(el => el.classList.remove('tf-form-loading'));
|
|
38992
39012
|
logger.info("[TF_SDK:313] ✅ Loader hidden");
|
|
38993
39013
|
} else {
|
|
38994
39014
|
logger.warn("[TF_SDK:314] ✅ Loader element not found");
|
|
38995
39015
|
}
|
|
39016
|
+
document.querySelectorAll('.tf-form-loading').forEach(el => el.classList.remove('tf-form-loading'));
|
|
38996
39017
|
|
|
38997
39018
|
// Dispatch custom event
|
|
38998
39019
|
logger.info("[TF_SDK:315] ✅ Dispatching FormRenderingComplete event...");
|
|
@@ -41453,7 +41474,7 @@ initThemeHook();
|
|
|
41453
41474
|
</div>
|
|
41454
41475
|
|
|
41455
41476
|
<div id="sticky-footer">
|
|
41456
|
-
<div class="build-version">SDK v2.0.
|
|
41477
|
+
<div class="build-version">SDK v2.0.60</div>
|
|
41457
41478
|
|
|
41458
41479
|
<button class="footer-btn footer-btn-secondary" id="prevBtn" style="display:none" onclick="FormOnPrevious()">
|
|
41459
41480
|
<i class="bi bi-chevron-left"></i> Previous
|
|
@@ -41941,6 +41962,9 @@ initThemeHook();
|
|
|
41941
41962
|
|
|
41942
41963
|
if (showLoader && sdkLoader) {
|
|
41943
41964
|
sdkLoader.classList.remove('hidden');
|
|
41965
|
+
} else {
|
|
41966
|
+
if (sdkLoader) sdkLoader.classList.add('hidden');
|
|
41967
|
+
document.querySelectorAll('.tf-form-loading').forEach(el => el.classList.remove('tf-form-loading'));
|
|
41944
41968
|
}
|
|
41945
41969
|
|
|
41946
41970
|
if (language) window.FORMIO_LANGUAGE = language;
|