@ohhwells/bridge 0.1.170 → 0.1.171
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/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17574,7 +17574,7 @@ function apiBase() {
|
|
|
17574
17574
|
function bridgeVersion() {
|
|
17575
17575
|
try {
|
|
17576
17576
|
if (true) {
|
|
17577
|
-
return "0.1.
|
|
17577
|
+
return "0.1.171";
|
|
17578
17578
|
}
|
|
17579
17579
|
} catch {
|
|
17580
17580
|
}
|
|
@@ -17588,7 +17588,7 @@ function stampBridgeVersionOnDocument() {
|
|
|
17588
17588
|
return;
|
|
17589
17589
|
}
|
|
17590
17590
|
try {
|
|
17591
|
-
const v = true ? "0.1.
|
|
17591
|
+
const v = true ? "0.1.171" : "";
|
|
17592
17592
|
if (v) {
|
|
17593
17593
|
document.documentElement.setAttribute("data-ohw-bridge-version", v);
|
|
17594
17594
|
window.__OHW_BRIDGE_VERSION__ = v;
|
|
@@ -17749,7 +17749,9 @@ function isFieldRequired(wrapper) {
|
|
|
17749
17749
|
function markFormFields(form) {
|
|
17750
17750
|
form.querySelectorAll("input, textarea").forEach((input) => {
|
|
17751
17751
|
const type = input.type;
|
|
17752
|
-
if (type === "submit" || type === "button" || type === "reset" || type === "hidden")
|
|
17752
|
+
if (type === "submit" || type === "button" || type === "reset" || type === "hidden" || type === "checkbox" || type === "radio") {
|
|
17753
|
+
return;
|
|
17754
|
+
}
|
|
17753
17755
|
if (getFieldWrapper(input)) return;
|
|
17754
17756
|
let wrapper = input;
|
|
17755
17757
|
while (wrapper.parentElement && wrapper.parentElement !== form && wrapper.parentElement.querySelectorAll("input, textarea").length === 1) {
|
|
@@ -32817,7 +32819,7 @@ function OhhwellsBridge() {
|
|
|
32817
32819
|
postToParent2({
|
|
32818
32820
|
type: "ow:ready",
|
|
32819
32821
|
version: "1",
|
|
32820
|
-
bridgeVersion: "0.1.
|
|
32822
|
+
bridgeVersion: "0.1.171",
|
|
32821
32823
|
path: pathname,
|
|
32822
32824
|
nodes: collectEditableNodes(editContentRef.current),
|
|
32823
32825
|
sections
|