@blerp/design 1.2.2 → 1.2.3
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.js +14 -4
- package/dist/index.esm.js +14 -4
- package/dist/index.umd.js +14 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -87943,6 +87943,14 @@ var QuadernoTaxCalc = function QuadernoTaxCalc(_ref) {
|
|
|
87943
87943
|
};
|
|
87944
87944
|
}();
|
|
87945
87945
|
|
|
87946
|
+
function debounce(e, callback, wait) {
|
|
87947
|
+
var timeout;
|
|
87948
|
+
clearTimeout(timeout);
|
|
87949
|
+
timeout = setTimeout(function () {
|
|
87950
|
+
callback(e);
|
|
87951
|
+
}, wait);
|
|
87952
|
+
}
|
|
87953
|
+
|
|
87946
87954
|
return /*#__PURE__*/React__default['default'].createElement("form", {
|
|
87947
87955
|
id: "quaderno-payment-form",
|
|
87948
87956
|
style: {
|
|
@@ -88745,10 +88753,12 @@ var QuadernoTaxCalc = function QuadernoTaxCalc(_ref) {
|
|
|
88745
88753
|
}
|
|
88746
88754
|
},
|
|
88747
88755
|
onChange: function onChange(e) {
|
|
88748
|
-
|
|
88749
|
-
|
|
88750
|
-
|
|
88751
|
-
|
|
88756
|
+
debounce(e, function (e) {
|
|
88757
|
+
reloadTaxes({
|
|
88758
|
+
country: country.value,
|
|
88759
|
+
postalCode: e.target.value
|
|
88760
|
+
});
|
|
88761
|
+
}, 1500);
|
|
88752
88762
|
setPostalCode(e.target.value);
|
|
88753
88763
|
}
|
|
88754
88764
|
})));
|
package/dist/index.esm.js
CHANGED
|
@@ -87874,6 +87874,14 @@ var QuadernoTaxCalc = function QuadernoTaxCalc(_ref) {
|
|
|
87874
87874
|
};
|
|
87875
87875
|
}();
|
|
87876
87876
|
|
|
87877
|
+
function debounce(e, callback, wait) {
|
|
87878
|
+
var timeout;
|
|
87879
|
+
clearTimeout(timeout);
|
|
87880
|
+
timeout = setTimeout(function () {
|
|
87881
|
+
callback(e);
|
|
87882
|
+
}, wait);
|
|
87883
|
+
}
|
|
87884
|
+
|
|
87877
87885
|
return /*#__PURE__*/React__default.createElement("form", {
|
|
87878
87886
|
id: "quaderno-payment-form",
|
|
87879
87887
|
style: {
|
|
@@ -88676,10 +88684,12 @@ var QuadernoTaxCalc = function QuadernoTaxCalc(_ref) {
|
|
|
88676
88684
|
}
|
|
88677
88685
|
},
|
|
88678
88686
|
onChange: function onChange(e) {
|
|
88679
|
-
|
|
88680
|
-
|
|
88681
|
-
|
|
88682
|
-
|
|
88687
|
+
debounce(e, function (e) {
|
|
88688
|
+
reloadTaxes({
|
|
88689
|
+
country: country.value,
|
|
88690
|
+
postalCode: e.target.value
|
|
88691
|
+
});
|
|
88692
|
+
}, 1500);
|
|
88683
88693
|
setPostalCode(e.target.value);
|
|
88684
88694
|
}
|
|
88685
88695
|
})));
|
package/dist/index.umd.js
CHANGED
|
@@ -87895,6 +87895,14 @@
|
|
|
87895
87895
|
};
|
|
87896
87896
|
}();
|
|
87897
87897
|
|
|
87898
|
+
function debounce(e, callback, wait) {
|
|
87899
|
+
var timeout;
|
|
87900
|
+
clearTimeout(timeout);
|
|
87901
|
+
timeout = setTimeout(function () {
|
|
87902
|
+
callback(e);
|
|
87903
|
+
}, wait);
|
|
87904
|
+
}
|
|
87905
|
+
|
|
87898
87906
|
return /*#__PURE__*/React__default['default'].createElement("form", {
|
|
87899
87907
|
id: "quaderno-payment-form",
|
|
87900
87908
|
style: {
|
|
@@ -88697,10 +88705,12 @@
|
|
|
88697
88705
|
}
|
|
88698
88706
|
},
|
|
88699
88707
|
onChange: function onChange(e) {
|
|
88700
|
-
|
|
88701
|
-
|
|
88702
|
-
|
|
88703
|
-
|
|
88708
|
+
debounce(e, function (e) {
|
|
88709
|
+
reloadTaxes({
|
|
88710
|
+
country: country.value,
|
|
88711
|
+
postalCode: e.target.value
|
|
88712
|
+
});
|
|
88713
|
+
}, 1500);
|
|
88704
88714
|
setPostalCode(e.target.value);
|
|
88705
88715
|
}
|
|
88706
88716
|
})));
|