react-klasha
Version:
This is an reactJS library for implementing klasha payment gateway
1 lines • 70 kB
JSON
{"ast":null,"code":"import { __awaiter, __generator } from \"tslib\";\nimport { r as registerInstance, h, H as Host, i as getElement, e as createEvent } from \"./index-7a8b7a1c.js\";\nimport { b as getIonMode } from \"./ionic-global-63a97a32.js\";\nimport { c as createColorClasses } from \"./theme-ff3fc52f.js\";\nimport { m as isEndSide } from \"./helpers-dd7e4b7b.js\";\nvar itemOptionIosCss = \":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:16px}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}\";\nvar itemOptionMdCss = \":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=icon-only]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:14px;font-weight:500;text-transform:uppercase}\";\n\nvar ItemOption = function () {\n function t(t) {\n registerInstance(this, t);\n this.disabled = false;\n this.expandable = false;\n this.type = \"button\";\n\n this.onClick = function (t) {\n var i = t.target.closest(\"ion-item-option\");\n\n if (i) {\n t.preventDefault();\n }\n };\n }\n\n t.prototype.render = function () {\n var t;\n var i = this,\n e = i.disabled,\n n = i.expandable,\n o = i.href;\n var r = o === undefined ? \"button\" : \"a\";\n var s = getIonMode(this);\n var a = r === \"button\" ? {\n type: this.type\n } : {\n download: this.download,\n href: this.href,\n target: this.target\n };\n return h(Host, {\n onClick: this.onClick,\n class: createColorClasses(this.color, (t = {}, t[s] = true, t[\"item-option-disabled\"] = e, t[\"item-option-expandable\"] = n, t[\"ion-activatable\"] = true, t))\n }, h(r, Object.assign({}, a, {\n class: \"button-native\",\n part: \"native\",\n disabled: e\n }), h(\"span\", {\n class: \"button-inner\"\n }, h(\"slot\", {\n name: \"top\"\n }), h(\"div\", {\n class: \"horizontal-wrapper\"\n }, h(\"slot\", {\n name: \"start\"\n }), h(\"slot\", {\n name: \"icon-only\"\n }), h(\"slot\", null), h(\"slot\", {\n name: \"end\"\n })), h(\"slot\", {\n name: \"bottom\"\n })), s === \"md\" && h(\"ion-ripple-effect\", null)));\n };\n\n Object.defineProperty(t.prototype, \"el\", {\n get: function () {\n return getElement(this);\n },\n enumerable: false,\n configurable: true\n });\n return t;\n}();\n\nItemOption.style = {\n ios: itemOptionIosCss,\n md: itemOptionMdCss\n};\nvar itemOptionsIosCss = \"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}\";\nvar itemOptionsMdCss = \"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}\";\n\nvar ItemOptions = function () {\n function t(t) {\n registerInstance(this, t);\n this.ionSwipe = createEvent(this, \"ionSwipe\", 7);\n this.side = \"end\";\n }\n\n t.prototype.fireSwipeEvent = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (t) {\n this.ionSwipe.emit({\n side: this.side\n });\n return [2];\n });\n });\n };\n\n t.prototype.render = function () {\n var t;\n var i = getIonMode(this);\n var e = isEndSide(this.side);\n return h(Host, {\n class: (t = {}, t[i] = true, t[\"item-options-\" + i] = true, t[\"item-options-start\"] = !e, t[\"item-options-end\"] = e, t)\n });\n };\n\n Object.defineProperty(t.prototype, \"el\", {\n get: function () {\n return getElement(this);\n },\n enumerable: false,\n configurable: true\n });\n return t;\n}();\n\nItemOptions.style = {\n ios: itemOptionsIosCss,\n md: itemOptionsMdCss\n};\nvar itemSlidingCss = \"ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}\";\nvar SWIPE_MARGIN = 30;\nvar ELASTIC_FACTOR = .55;\nvar openSlidingItem;\n\nvar ItemSliding = function () {\n function t(t) {\n registerInstance(this, t);\n this.ionDrag = createEvent(this, \"ionDrag\", 7);\n this.item = null;\n this.openAmount = 0;\n this.initialOpenAmount = 0;\n this.optsWidthRightSide = 0;\n this.optsWidthLeftSide = 0;\n this.sides = 0;\n this.optsDirty = true;\n this.state = 2;\n this.disabled = false;\n }\n\n t.prototype.disabledChanged = function () {\n if (this.gesture) {\n this.gesture.enable(!this.disabled);\n }\n };\n\n t.prototype.connectedCallback = function () {\n return __awaiter(this, void 0, void 0, function () {\n var t;\n var i = this;\n return __generator(this, function (e) {\n switch (e.label) {\n case 0:\n this.item = this.el.querySelector(\"ion-item\");\n return [4, this.updateOptions()];\n\n case 1:\n e.sent();\n t = this;\n return [4, import(\"./index-f49d994d.js\")];\n\n case 2:\n t.gesture = e.sent().createGesture({\n el: this.el,\n gestureName: \"item-swipe\",\n gesturePriority: 100,\n threshold: 5,\n canStart: function (t) {\n return i.canStart(t);\n },\n onStart: function () {\n return i.onStart();\n },\n onMove: function (t) {\n return i.onMove(t);\n },\n onEnd: function (t) {\n return i.onEnd(t);\n }\n });\n this.disabledChanged();\n return [2];\n }\n });\n });\n };\n\n t.prototype.disconnectedCallback = function () {\n if (this.gesture) {\n this.gesture.destroy();\n this.gesture = undefined;\n }\n\n this.item = null;\n this.leftOptions = this.rightOptions = undefined;\n\n if (openSlidingItem === this.el) {\n openSlidingItem = undefined;\n }\n };\n\n t.prototype.getOpenAmount = function () {\n return Promise.resolve(this.openAmount);\n };\n\n t.prototype.getSlidingRatio = function () {\n return Promise.resolve(this.getSlidingRatioSync());\n };\n\n t.prototype.open = function (t) {\n return __awaiter(this, void 0, void 0, function () {\n var i, e, n;\n var o = this;\n return __generator(this, function (r) {\n if (this.item === null) {\n return [2];\n }\n\n i = this.getOptions(t);\n\n if (!i) {\n return [2];\n }\n\n if (t === undefined) {\n t = i === this.leftOptions ? \"start\" : \"end\";\n }\n\n t = isEndSide(t) ? \"end\" : \"start\";\n e = this.openAmount < 0;\n n = this.openAmount > 0;\n\n if (e && i === this.leftOptions) {\n return [2];\n }\n\n if (n && i === this.rightOptions) {\n return [2];\n }\n\n this.closeOpened();\n this.state = 4;\n requestAnimationFrame(function () {\n o.calculateOptsWidth();\n var i = t === \"end\" ? o.optsWidthRightSide : -o.optsWidthLeftSide;\n openSlidingItem = o.el;\n o.setOpenAmount(i, false);\n o.state = t === \"end\" ? 8 : 16;\n });\n return [2];\n });\n });\n };\n\n t.prototype.close = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (t) {\n this.setOpenAmount(0, true);\n return [2];\n });\n });\n };\n\n t.prototype.closeOpened = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (t) {\n if (openSlidingItem !== undefined) {\n openSlidingItem.close();\n openSlidingItem = undefined;\n return [2, true];\n }\n\n return [2, false];\n });\n });\n };\n\n t.prototype.getOptions = function (t) {\n if (t === undefined) {\n return this.leftOptions || this.rightOptions;\n } else if (t === \"start\") {\n return this.leftOptions;\n } else {\n return this.rightOptions;\n }\n };\n\n t.prototype.updateOptions = function () {\n return __awaiter(this, void 0, void 0, function () {\n var t, i, e, n, o, r, s;\n return __generator(this, function (a) {\n switch (a.label) {\n case 0:\n t = this.el.querySelectorAll(\"ion-item-options\");\n i = 0;\n this.leftOptions = this.rightOptions = undefined;\n e = 0;\n a.label = 1;\n\n case 1:\n if (!(e < t.length)) return [3, 6];\n n = t.item(e);\n if (!(n.componentOnReady !== undefined)) return [3, 3];\n return [4, n.componentOnReady()];\n\n case 2:\n r = a.sent();\n return [3, 4];\n\n case 3:\n r = n;\n a.label = 4;\n\n case 4:\n o = r;\n s = isEndSide(o.side) ? \"end\" : \"start\";\n\n if (s === \"start\") {\n this.leftOptions = o;\n i |= 1;\n } else {\n this.rightOptions = o;\n i |= 2;\n }\n\n a.label = 5;\n\n case 5:\n e++;\n return [3, 1];\n\n case 6:\n this.optsDirty = true;\n this.sides = i;\n return [2];\n }\n });\n });\n };\n\n t.prototype.canStart = function (t) {\n var i = document.dir === \"rtl\";\n var e = i ? window.innerWidth - t.startX < 15 : t.startX < 15;\n\n if (e) {\n return false;\n }\n\n var n = openSlidingItem;\n\n if (n && n !== this.el) {\n this.closeOpened();\n return false;\n }\n\n return !!(this.rightOptions || this.leftOptions);\n };\n\n t.prototype.onStart = function () {\n openSlidingItem = this.el;\n\n if (this.tmr !== undefined) {\n clearTimeout(this.tmr);\n this.tmr = undefined;\n }\n\n if (this.openAmount === 0) {\n this.optsDirty = true;\n this.state = 4;\n }\n\n this.initialOpenAmount = this.openAmount;\n\n if (this.item) {\n this.item.style.transition = \"none\";\n }\n };\n\n t.prototype.onMove = function (t) {\n if (this.optsDirty) {\n this.calculateOptsWidth();\n }\n\n var i = this.initialOpenAmount - t.deltaX;\n\n switch (this.sides) {\n case 2:\n i = Math.max(0, i);\n break;\n\n case 1:\n i = Math.min(0, i);\n break;\n\n case 3:\n break;\n\n case 0:\n return;\n\n default:\n console.warn(\"invalid ItemSideFlags value\", this.sides);\n break;\n }\n\n var e;\n\n if (i > this.optsWidthRightSide) {\n e = this.optsWidthRightSide;\n i = e + (i - e) * ELASTIC_FACTOR;\n } else if (i < -this.optsWidthLeftSide) {\n e = -this.optsWidthLeftSide;\n i = e + (i - e) * ELASTIC_FACTOR;\n }\n\n this.setOpenAmount(i, false);\n };\n\n t.prototype.onEnd = function (t) {\n var i = t.velocityX;\n var e = this.openAmount > 0 ? this.optsWidthRightSide : -this.optsWidthLeftSide;\n var n = this.openAmount > 0 === !(i < 0);\n var o = Math.abs(i) > .3;\n var r = Math.abs(this.openAmount) < Math.abs(e / 2);\n\n if (swipeShouldReset(n, o, r)) {\n e = 0;\n }\n\n var s = this.state;\n this.setOpenAmount(e, true);\n\n if ((s & 32) !== 0 && this.rightOptions) {\n this.rightOptions.fireSwipeEvent();\n } else if ((s & 64) !== 0 && this.leftOptions) {\n this.leftOptions.fireSwipeEvent();\n }\n };\n\n t.prototype.calculateOptsWidth = function () {\n this.optsWidthRightSide = 0;\n\n if (this.rightOptions) {\n this.rightOptions.style.display = \"flex\";\n this.optsWidthRightSide = this.rightOptions.offsetWidth;\n this.rightOptions.style.display = \"\";\n }\n\n this.optsWidthLeftSide = 0;\n\n if (this.leftOptions) {\n this.leftOptions.style.display = \"flex\";\n this.optsWidthLeftSide = this.leftOptions.offsetWidth;\n this.leftOptions.style.display = \"\";\n }\n\n this.optsDirty = false;\n };\n\n t.prototype.setOpenAmount = function (t, i) {\n var e = this;\n\n if (this.tmr !== undefined) {\n clearTimeout(this.tmr);\n this.tmr = undefined;\n }\n\n if (!this.item) {\n return;\n }\n\n var n = this.item.style;\n this.openAmount = t;\n\n if (i) {\n n.transition = \"\";\n }\n\n if (t > 0) {\n this.state = t >= this.optsWidthRightSide + SWIPE_MARGIN ? 8 | 32 : 8;\n } else if (t < 0) {\n this.state = t <= -this.optsWidthLeftSide - SWIPE_MARGIN ? 16 | 64 : 16;\n } else {\n this.tmr = setTimeout(function () {\n e.state = 2;\n e.tmr = undefined;\n }, 600);\n openSlidingItem = undefined;\n n.transform = \"\";\n return;\n }\n\n n.transform = \"translate3d(\" + -t + \"px,0,0)\";\n this.ionDrag.emit({\n amount: t,\n ratio: this.getSlidingRatioSync()\n });\n };\n\n t.prototype.getSlidingRatioSync = function () {\n if (this.openAmount > 0) {\n return this.openAmount / this.optsWidthRightSide;\n } else if (this.openAmount < 0) {\n return this.openAmount / this.optsWidthLeftSide;\n } else {\n return 0;\n }\n };\n\n t.prototype.render = function () {\n var t;\n var i = getIonMode(this);\n return h(Host, {\n class: (t = {}, t[i] = true, t[\"item-sliding-active-slide\"] = this.state !== 2, t[\"item-sliding-active-options-end\"] = (this.state & 8) !== 0, t[\"item-sliding-active-options-start\"] = (this.state & 16) !== 0, t[\"item-sliding-active-swipe-end\"] = (this.state & 32) !== 0, t[\"item-sliding-active-swipe-start\"] = (this.state & 64) !== 0, t)\n });\n };\n\n Object.defineProperty(t.prototype, \"el\", {\n get: function () {\n return getElement(this);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(t, \"watchers\", {\n get: function () {\n return {\n disabled: [\"disabledChanged\"]\n };\n },\n enumerable: false,\n configurable: true\n });\n return t;\n}();\n\nvar swipeShouldReset = function (t, i, e) {\n return !i && e || t && i;\n};\n\nItemSliding.style = itemSlidingCss;\nexport { ItemOption as ion_item_option, ItemOptions as ion_item_options, ItemSliding as ion_item_sliding };","map":{"version":3,"sources":["/Users/adekanbidansteve/github/klasha/react-klasha/ionic-test/node_modules/@ionic/core/dist/esm-es5/ion-item-option_3.entry.js"],"names":["__awaiter","__generator","r","registerInstance","h","H","Host","i","getElement","e","createEvent","b","getIonMode","c","createColorClasses","m","isEndSide","itemOptionIosCss","itemOptionMdCss","ItemOption","t","disabled","expandable","type","onClick","target","closest","preventDefault","prototype","render","n","o","href","undefined","s","a","download","class","color","Object","assign","part","name","defineProperty","get","enumerable","configurable","style","ios","md","itemOptionsIosCss","itemOptionsMdCss","ItemOptions","ionSwipe","side","fireSwipeEvent","emit","itemSlidingCss","SWIPE_MARGIN","ELASTIC_FACTOR","openSlidingItem","ItemSliding","ionDrag","item","openAmount","initialOpenAmount","optsWidthRightSide","optsWidthLeftSide","sides","optsDirty","state","disabledChanged","gesture","enable","connectedCallback","label","el","querySelector","updateOptions","sent","createGesture","gestureName","gesturePriority","threshold","canStart","onStart","onMove","onEnd","disconnectedCallback","destroy","leftOptions","rightOptions","getOpenAmount","Promise","resolve","getSlidingRatio","getSlidingRatioSync","open","getOptions","closeOpened","requestAnimationFrame","calculateOptsWidth","setOpenAmount","close","querySelectorAll","length","componentOnReady","document","dir","window","innerWidth","startX","tmr","clearTimeout","transition","deltaX","Math","max","min","console","warn","velocityX","abs","swipeShouldReset","display","offsetWidth","setTimeout","transform","amount","ratio","ion_item_option","ion_item_options","ion_item_sliding"],"mappings":"AAAA,SAAOA,SAAP,EAAiBC,WAAjB,QAAiC,OAAjC;AAAyC,SAAOC,CAAC,IAAIC,gBAAZ,EA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AA9R,EAAgSlD,CAAlS;AAAN,KAAN,CAAR;AAA2T,GAAtX;;AAAuXmB,EAAAA,MAAM,CAACI,cAAP,CAAsBvB,CAAC,CAACQ,SAAxB,EAAkC,IAAlC,EAAuC;AAACgB,IAAAA,GAAG,EAAC,YAAU;AAAC,aAAOpC,UAAU,CAAC,IAAD,CAAjB;AAAwB,KAAxC;AAAyCqC,IAAAA,UAAU,EAAC,KAApD;AAA0DC,IAAAA,YAAY,EAAC;AAAvE,GAAvC;AAAqHP,EAAAA,MAAM,CAACI,cAAP,CAAsBvB,CAAtB,EAAwB,UAAxB,EAAmC;AAACwB,IAAAA,GAAG,EAAC,YAAU;AAAC,aAAM;AAACvB,QAAAA,QAAQ,EAAC,CAAC,iBAAD;AAAV,OAAN;AAAqC,KAArD;AAAsDwB,IAAAA,UAAU,EAAC,KAAjE;AAAuEC,IAAAA,YAAY,EAAC;AAApF,GAAnC;AAA8H,SAAO1B,CAAP;AAAS,CAAt1M,EAAhB;;AAAy2M,IAAIuG,gBAAgB,GAAC,UAASvG,CAAT,EAAWb,CAAX,EAAaE,CAAb,EAAe;AAAC,SAAM,CAACF,CAAD,IAAIE,CAAJ,IAAOW,CAAC,IAAEb,CAAhB;AAAkB,CAAvD;;AAAwDsD,WAAW,CAACd,KAAZ,GAAkBU,cAAlB;AAAiC,SAAOtC,UAAU,IAAI+G,eAArB,EAAqC9E,WAAW,IAAI+E,gBAApD,EAAqEtE,WAAW,IAAIuE,gBAApF","sourcesContent":["import{__awaiter,__generator}from\"tslib\";import{r as registerInstance,h,H as Host,i as getElement,e as createEvent}from\"./index-7a8b7a1c.js\";import{b as getIonMode}from\"./ionic-global-63a97a32.js\";import{c as createColorClasses}from\"./theme-ff3fc52f.js\";import{m as isEndSide}from\"./helpers-dd7e4b7b.js\";var itemOptionIosCss=\":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.in-list.item-options-end:last-child){padding-right:calc(.7em + var(--ion-safe-area-right))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-end:last-child){padding-right:unset;-webkit-padding-end:calc(.7em + var(--ion-safe-area-right));padding-inline-end:calc(.7em + var(--ion-safe-area-right))}}:host(.in-list.item-options-start:first-child){padding-left:calc(.7em + var(--ion-safe-area-left))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-list.item-options-start:first-child){padding-left:unset;-webkit-padding-start:calc(.7em + var(--ion-safe-area-left));padding-inline-start:calc(.7em + var(--ion-safe-area-left))}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0.7em;padding-right:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em}}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){margin-left:0;margin-right:5px;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px}}::slotted([slot=end]){margin-left:5px;margin-right:0;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0}}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:10px;margin-right:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-