mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Mobile first
This commit is contained in:
@@ -33,78 +33,78 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
||||
/*! ./index-44bf8136.js */
|
||||
"./node_modules/@ionic/core/dist/esm/index-44bf8136.js");
|
||||
var _index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
||||
/*! ./index-e806d1f6.js */
|
||||
"./node_modules/@ionic/core/dist/esm/index-e806d1f6.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_global_837be8f3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
||||
/*! ./ionic-global-837be8f3.js */
|
||||
"./node_modules/@ionic/core/dist/esm/ionic-global-837be8f3.js");
|
||||
var _ionic_global_9d5c8ee3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
||||
/*! ./ionic-global-9d5c8ee3.js */
|
||||
"./node_modules/@ionic/core/dist/esm/ionic-global-9d5c8ee3.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _helpers_5c745fbd_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! ./helpers-5c745fbd.js */
|
||||
"./node_modules/@ionic/core/dist/esm/helpers-5c745fbd.js");
|
||||
var _helpers_90f46169_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! ./helpers-90f46169.js */
|
||||
"./node_modules/@ionic/core/dist/esm/helpers-90f46169.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! ./animation-a635a2fc.js */
|
||||
"./node_modules/@ionic/core/dist/esm/animation-a635a2fc.js");
|
||||
var _animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! ./animation-54fe0237.js */
|
||||
"./node_modules/@ionic/core/dist/esm/animation-54fe0237.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _gesture_controller_89173521_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! ./gesture-controller-89173521.js */
|
||||
"./node_modules/@ionic/core/dist/esm/gesture-controller-89173521.js");
|
||||
var _gesture_controller_31cb6bb9_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! ./gesture-controller-31cb6bb9.js */
|
||||
"./node_modules/@ionic/core/dist/esm/gesture-controller-31cb6bb9.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _index_eea61379_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! ./index-eea61379.js */
|
||||
"./node_modules/@ionic/core/dist/esm/index-eea61379.js");
|
||||
var _index_f49d994d_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! ./index-f49d994d.js */
|
||||
"./node_modules/@ionic/core/dist/esm/index-f49d994d.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _hardware_back_button_7b6ede21_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! ./hardware-back-button-7b6ede21.js */
|
||||
"./node_modules/@ionic/core/dist/esm/hardware-back-button-7b6ede21.js");
|
||||
var _hardware_back_button_4a6b37fb_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! ./hardware-back-button-4a6b37fb.js */
|
||||
"./node_modules/@ionic/core/dist/esm/hardware-back-button-4a6b37fb.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
||||
/*! ./overlays-7c699579.js */
|
||||
"./node_modules/@ionic/core/dist/esm/overlays-7c699579.js");
|
||||
var _overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
||||
/*! ./overlays-12c20431.js */
|
||||
"./node_modules/@ionic/core/dist/esm/overlays-12c20431.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _haptic_7b8ba70a_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
||||
/*! ./haptic-7b8ba70a.js */
|
||||
"./node_modules/@ionic/core/dist/esm/haptic-7b8ba70a.js");
|
||||
var _haptic_27b3f981_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
||||
/*! ./haptic-27b3f981.js */
|
||||
"./node_modules/@ionic/core/dist/esm/haptic-27b3f981.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _button_active_0d5784f9_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
||||
/*! ./button-active-0d5784f9.js */
|
||||
"./node_modules/@ionic/core/dist/esm/button-active-0d5784f9.js");
|
||||
var _button_active_a6787d69_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
||||
/*! ./button-active-a6787d69.js */
|
||||
"./node_modules/@ionic/core/dist/esm/button-active-a6787d69.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _theme_3f0b0c04_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
||||
/*! ./theme-3f0b0c04.js */
|
||||
"./node_modules/@ionic/core/dist/esm/theme-3f0b0c04.js");
|
||||
var _theme_ff3fc52f_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
||||
/*! ./theme-ff3fc52f.js */
|
||||
"./node_modules/@ionic/core/dist/esm/theme-ff3fc52f.js");
|
||||
/**
|
||||
* iOS Action Sheet Enter Animation
|
||||
*/
|
||||
|
||||
|
||||
var iosEnterAnimation = function iosEnterAnimation(baseEl) {
|
||||
var baseAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var baseAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 0.01, 'var(--backdrop-opacity)').beforeStyles({
|
||||
'pointer-events': 'none'
|
||||
}).afterClearStyles(['pointer-events']);
|
||||
@@ -117,9 +117,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
|
||||
var iosLeaveAnimation = function iosLeaveAnimation(baseEl) {
|
||||
var baseAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var baseAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
|
||||
wrapperAnimation.addElement(baseEl.querySelector('.action-sheet-wrapper')).fromTo('transform', 'translateY(0%)', 'translateY(100%)');
|
||||
return baseAnimation.addElement(baseEl).easing('cubic-bezier(.36,.66,.04,1)').duration(450).addAnimation([backdropAnimation, wrapperAnimation]);
|
||||
@@ -130,9 +130,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
|
||||
var mdEnterAnimation = function mdEnterAnimation(baseEl) {
|
||||
var baseAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var baseAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 0.01, 'var(--backdrop-opacity)').beforeStyles({
|
||||
'pointer-events': 'none'
|
||||
}).afterClearStyles(['pointer-events']);
|
||||
@@ -145,9 +145,9 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
|
||||
var mdLeaveAnimation = function mdLeaveAnimation(baseEl) {
|
||||
var baseAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_a635a2fc_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var baseAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var backdropAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
var wrapperAnimation = Object(_animation_54fe0237_js__WEBPACK_IMPORTED_MODULE_3__["c"])();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
|
||||
wrapperAnimation.addElement(baseEl.querySelector('.action-sheet-wrapper')).fromTo('transform', 'translateY(0%)', 'translateY(100%)');
|
||||
return baseAnimation.addElement(baseEl).easing('cubic-bezier(.36,.66,.04,1)').duration(450).addAnimation([backdropAnimation, wrapperAnimation]);
|
||||
@@ -162,11 +162,11 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
_classCallCheck(this, ActionSheet);
|
||||
|
||||
Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef);
|
||||
this.didPresent = Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetDidPresent", 7);
|
||||
this.willPresent = Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetWillPresent", 7);
|
||||
this.willDismiss = Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetWillDismiss", 7);
|
||||
this.didDismiss = Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetDidDismiss", 7);
|
||||
Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef);
|
||||
this.didPresent = Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetDidPresent", 7);
|
||||
this.willPresent = Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetWillPresent", 7);
|
||||
this.willDismiss = Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetWillDismiss", 7);
|
||||
this.didDismiss = Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["e"])(this, "ionActionSheetDidDismiss", 7);
|
||||
this.presented = false;
|
||||
/**
|
||||
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
||||
@@ -197,13 +197,13 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
this.animated = true;
|
||||
|
||||
this.onBackdropTap = function () {
|
||||
_this.dismiss(undefined, _overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["B"]);
|
||||
_this.dismiss(undefined, _overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["B"]);
|
||||
};
|
||||
|
||||
this.dispatchCancelHandler = function (ev) {
|
||||
var role = ev.detail.role;
|
||||
|
||||
if (Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["i"])(role)) {
|
||||
if (Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["i"])(role)) {
|
||||
var cancelButton = _this.getButtons().find(function (b) {
|
||||
return b.role === 'cancel';
|
||||
});
|
||||
@@ -220,12 +220,12 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
_createClass(ActionSheet, [{
|
||||
key: "present",
|
||||
value: function present() {
|
||||
return Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["d"])(this, 'actionSheetEnter', iosEnterAnimation, mdEnterAnimation);
|
||||
return Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["d"])(this, 'actionSheetEnter', iosEnterAnimation, mdEnterAnimation);
|
||||
}
|
||||
}, {
|
||||
key: "connectedCallback",
|
||||
value: function connectedCallback() {
|
||||
Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["e"])(this.el);
|
||||
Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["e"])(this.el);
|
||||
}
|
||||
/**
|
||||
* Dismiss the action sheet overlay after it has been presented.
|
||||
@@ -240,7 +240,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "dismiss",
|
||||
value: function dismiss(data, role) {
|
||||
return Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["f"])(this, data, role, 'actionSheetLeave', iosLeaveAnimation, mdLeaveAnimation);
|
||||
return Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["f"])(this, data, role, 'actionSheetLeave', iosLeaveAnimation, mdLeaveAnimation);
|
||||
}
|
||||
/**
|
||||
* Returns a promise that resolves when the action sheet did dismiss.
|
||||
@@ -249,7 +249,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "onDidDismiss",
|
||||
value: function onDidDismiss() {
|
||||
return Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["g"])(this.el, 'ionActionSheetDidDismiss');
|
||||
return Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["g"])(this.el, 'ionActionSheetDidDismiss');
|
||||
}
|
||||
/**
|
||||
* Returns a promise that resolves when the action sheet will dismiss.
|
||||
@@ -259,7 +259,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "onWillDismiss",
|
||||
value: function onWillDismiss() {
|
||||
return Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["g"])(this.el, 'ionActionSheetWillDismiss');
|
||||
return Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["g"])(this.el, 'ionActionSheetWillDismiss');
|
||||
}
|
||||
}, {
|
||||
key: "buttonClick",
|
||||
@@ -272,7 +272,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
case 0:
|
||||
role = button.role;
|
||||
|
||||
if (!Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["i"])(role)) {
|
||||
if (!Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["i"])(role)) {
|
||||
_context.next = 3;
|
||||
break;
|
||||
}
|
||||
@@ -325,7 +325,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}
|
||||
|
||||
_context2.next = 3;
|
||||
return Object(_overlays_7c699579_js__WEBPACK_IMPORTED_MODULE_7__["s"])(button.handler);
|
||||
return Object(_overlays_12c20431_js__WEBPACK_IMPORTED_MODULE_7__["s"])(button.handler);
|
||||
|
||||
case 3:
|
||||
rtn = _context2.sent;
|
||||
@@ -364,8 +364,8 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "componentDidUnload",
|
||||
value: function componentDidUnload() {
|
||||
key: "disconnectedCallback",
|
||||
value: function disconnectedCallback() {
|
||||
if (this.gesture) {
|
||||
this.gesture.destroy();
|
||||
this.gesture = undefined;
|
||||
@@ -385,15 +385,15 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
var groupEl = this.groupEl,
|
||||
wrapperEl = this.wrapperEl;
|
||||
|
||||
if (this.gesture || Object(_ionic_global_837be8f3_js__WEBPACK_IMPORTED_MODULE_1__["b"])(this) === 'md' || !wrapperEl || !groupEl) {
|
||||
if (this.gesture || Object(_ionic_global_9d5c8ee3_js__WEBPACK_IMPORTED_MODULE_1__["b"])(this) === 'md' || !wrapperEl || !groupEl) {
|
||||
return;
|
||||
}
|
||||
|
||||
Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["f"])(function () {
|
||||
Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["f"])(function () {
|
||||
var isScrollable = groupEl.scrollHeight > groupEl.clientHeight;
|
||||
|
||||
if (!isScrollable) {
|
||||
_this2.gesture = Object(_button_active_0d5784f9_js__WEBPACK_IMPORTED_MODULE_9__["c"])(wrapperEl, function (refEl) {
|
||||
_this2.gesture = Object(_button_active_a6787d69_js__WEBPACK_IMPORTED_MODULE_9__["c"])(wrapperEl, function (refEl) {
|
||||
return refEl.classList.contains('action-sheet-button');
|
||||
});
|
||||
|
||||
@@ -406,7 +406,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
value: function render() {
|
||||
var _this3 = this;
|
||||
|
||||
var mode = Object(_ionic_global_837be8f3_js__WEBPACK_IMPORTED_MODULE_1__["b"])(this);
|
||||
var mode = Object(_ionic_global_9d5c8ee3_js__WEBPACK_IMPORTED_MODULE_1__["b"])(this);
|
||||
var allButtons = this.getButtons();
|
||||
var cancelButton = allButtons.find(function (b) {
|
||||
return b.role === 'cancel';
|
||||
@@ -414,75 +414,75 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
var buttons = allButtons.filter(function (b) {
|
||||
return b.role !== 'cancel';
|
||||
});
|
||||
return Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["H"], {
|
||||
return Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["H"], {
|
||||
role: "dialog",
|
||||
"aria-modal": "true",
|
||||
tabindex: "-1",
|
||||
style: {
|
||||
zIndex: "".concat(20000 + this.overlayIndex)
|
||||
},
|
||||
"class": Object.assign(Object.assign(_defineProperty({}, mode, true), Object(_theme_3f0b0c04_js__WEBPACK_IMPORTED_MODULE_10__["g"])(this.cssClass)), {
|
||||
"class": Object.assign(Object.assign(_defineProperty({}, mode, true), Object(_theme_ff3fc52f_js__WEBPACK_IMPORTED_MODULE_10__["g"])(this.cssClass)), {
|
||||
'action-sheet-translucent': this.translucent
|
||||
}),
|
||||
onIonActionSheetWillDismiss: this.dispatchCancelHandler,
|
||||
onIonBackdropTap: this.onBackdropTap
|
||||
}, Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-backdrop", {
|
||||
}, Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-backdrop", {
|
||||
tappable: this.backdropDismiss
|
||||
}), Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}), Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
tabindex: "0"
|
||||
}), Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}), Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
"class": "action-sheet-wrapper ion-overlay-wrapper",
|
||||
role: "dialog",
|
||||
ref: function ref(el) {
|
||||
return _this3.wrapperEl = el;
|
||||
}
|
||||
}, Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}, Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
"class": "action-sheet-container"
|
||||
}, Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}, Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
"class": "action-sheet-group",
|
||||
ref: function ref(el) {
|
||||
return _this3.groupEl = el;
|
||||
}
|
||||
}, this.header !== undefined && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}, this.header !== undefined && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
"class": "action-sheet-title"
|
||||
}, this.header, this.subHeader && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}, this.header, this.subHeader && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
"class": "action-sheet-sub-title"
|
||||
}, this.subHeader)), buttons.map(function (b) {
|
||||
return Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("button", {
|
||||
return Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("button", {
|
||||
type: "button",
|
||||
"class": buttonClass(b),
|
||||
onClick: function onClick() {
|
||||
return _this3.buttonClick(b);
|
||||
}
|
||||
}, Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("span", {
|
||||
}, Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("span", {
|
||||
"class": "action-sheet-button-inner"
|
||||
}, b.icon && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-icon", {
|
||||
}, b.icon && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-icon", {
|
||||
icon: b.icon,
|
||||
lazy: false,
|
||||
"class": "action-sheet-icon"
|
||||
}), b.text), mode === 'md' && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-ripple-effect", null));
|
||||
})), cancelButton && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}), b.text), mode === 'md' && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-ripple-effect", null));
|
||||
})), cancelButton && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
"class": "action-sheet-group action-sheet-group-cancel"
|
||||
}, Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("button", {
|
||||
}, Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("button", {
|
||||
type: "button",
|
||||
"class": buttonClass(cancelButton),
|
||||
onClick: function onClick() {
|
||||
return _this3.buttonClick(cancelButton);
|
||||
}
|
||||
}, Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("span", {
|
||||
}, Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("span", {
|
||||
"class": "action-sheet-button-inner"
|
||||
}, cancelButton.icon && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-icon", {
|
||||
}, cancelButton.icon && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-icon", {
|
||||
icon: cancelButton.icon,
|
||||
lazy: false,
|
||||
"class": "action-sheet-icon"
|
||||
}), cancelButton.text), mode === 'md' && Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-ripple-effect", null))))), Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
}), cancelButton.text), mode === 'md' && Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-ripple-effect", null))))), Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
|
||||
tabindex: "0"
|
||||
}));
|
||||
}
|
||||
}, {
|
||||
key: "el",
|
||||
get: function get() {
|
||||
return Object(_index_44bf8136_js__WEBPACK_IMPORTED_MODULE_0__["i"])(this);
|
||||
return Object(_index_e806d1f6_js__WEBPACK_IMPORTED_MODULE_0__["i"])(this);
|
||||
}
|
||||
}]);
|
||||
|
||||
@@ -494,7 +494,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
'action-sheet-button': true,
|
||||
'ion-activatable': true,
|
||||
'ion-focusable': true
|
||||
}, "action-sheet-".concat(button.role), button.role !== undefined), Object(_theme_3f0b0c04_js__WEBPACK_IMPORTED_MODULE_10__["g"])(button.cssClass));
|
||||
}, "action-sheet-".concat(button.role), button.role !== undefined), Object(_theme_ff3fc52f_js__WEBPACK_IMPORTED_MODULE_10__["g"])(button.cssClass));
|
||||
};
|
||||
|
||||
ActionSheet.style = {
|
||||
|
||||
Reference in New Issue
Block a user