@luftborn/custom-elements 2.5.3 → 2.5.4
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/demo/index.js +7 -5
- package/demo/index.min.js +6 -4
- package/demo/index.min.js.map +1 -1
- package/dist/elements/CustomFormatDateFieldElement/CustomFormatDateFieldElement.js +6 -4
- package/dist/elements/CustomFormatDateFieldElement/CustomFormatDateFieldElement.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/CustomFormatDateFieldElement/CustomFormatDateFieldElement.ts +20 -12
package/demo/index.min.js
CHANGED
|
@@ -3087,12 +3087,14 @@ var CustomFormatDateFieldElement = /** @class */ (function (_super) {
|
|
|
3087
3087
|
return (_a = dateFormats[this.dateFormat]) !== null && _a !== void 0 ? _a : null;
|
|
3088
3088
|
};
|
|
3089
3089
|
CustomFormatDateFieldElement.prototype.showDatePicker = function () {
|
|
3090
|
-
|
|
3091
|
-
this.date.showPicker();
|
|
3092
|
-
}
|
|
3093
|
-
catch (error) {
|
|
3090
|
+
if ((!!window.ApplePaySetupFeature || !!window.safari)) {
|
|
3094
3091
|
this.date.click();
|
|
3095
3092
|
}
|
|
3093
|
+
else {
|
|
3094
|
+
if (this.date.showPicker) {
|
|
3095
|
+
this.date.showPicker();
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3096
3098
|
};
|
|
3097
3099
|
CustomFormatDateFieldElement = __decorate([
|
|
3098
3100
|
(0, custom_element_decorator_1.default)({
|