-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path8-es5.js.map
1 lines (1 loc) · 11.5 KB
/
8-es5.js.map
1
{"version":3,"sources":["node_modules/@ionic/core/dist/esm/ion-back-button-ios.entry.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,mBAAA,CAAA,CAAA,CAAA,mBAAA;AAAA;;;AAAA,IAAA,mBAAA,CAAA,CAAA,CAAA,mBAAA,EAAA,iBAAA,EAAA,YAAA;AAAA,aAAA,UAAA;AAAA,KAAA;AAAA;;;AAAA,QAAA,8CAAA,GAAA,mBAAA;AAAA;AAAA,0DAAA,CAAA;AAAA;;;AAAA,QAAA,gDAAA,GAAA,mBAAA;AAAA;AAAA,4DAAA,CAAA;AAAA;;;AAAA,QAAA,+CAAA,GAAA,mBAAA;AAAA;AAAA,2DAAA,CAAA;;AAIA,QAAA,UAAA;AAAA;AAAA;AACA,0BAAA,OAAA,EAAA;AAAA;;AAAA;;AACQ,QAAA,MAAA,CAAA,8CAAA,CAAA,GAAA,CAAA,CAAA,CAAgB,IAAhB,EAAgB,OAAhB;AACR,aAAA,IAAA,GAAoB,MAAA,CAAA,8CAAA,CAAA,GAAA,CAAA,CAAA,CAAU,IAAV,CAApB;AACA;;;;AAGA,aAAA,QAAA,GAAA,KAAA;AACA;;;;AAGA,aAAA,IAAA,GAAA,QAAA;;AACA,aAAA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAA,iBAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,oBAAA,GADA,GACA,KAAA,CAAA,EAAA,CAAA,OAAA,CAAA,SAAA,CADA;AAEA,oBAAA,EAAA,CAAA,cAAA;AAFA,kCAGA,GAHA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA,2BAGA,GAAA,CAAA,SAAA,EAHA;;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA,qDAIA,GAAA,CAAA,GAAA,CAAA;AAAgC,sB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A,GAAA,KAAA,IAAA,KAAA,KAAA,GAAA,MAAA,GAAA,IAAA;AACA,iBAAA,KAAA,IAAA,IAAA,IAAA,GAAA,KAAA,IAAA,GAA+C,gDAAA,CAAA,GAAA,CAAA,CAAM,GAAN,CAAM,gBAAN,EAAM,qBAAN,CAA/C;AACA;AArCA;AAAA;AAAA,4BAsCA;AACA,iBAAA,KAAA,cAAA,IAAA,CAAA,KAAA,cAAA;AACA;AAxCA;AAAA;AAAA,4BAyCA;AACA;AACA;AACA,cAAA,KAAA,WAAA,EAAA;AACA,mBAAA,WAAA;AACA;;AACA,iBAAA,SAAA;AACA;AAhDA;AAAA;AAAA,4BAsDA;AAAc,iBAAQ,MAAA,CAAA,8CAAA,CAAA,GAAA,CAAA,CAAA,CAAU,IAAV,CAAR;AAAyB;AAtDvC;AAAA;AAAA,4BAuDA;AAAwB,iBAAA,q7JAAA;AAA87J;AAvDt9J;;AAAA;AAAA,OAAA","sourcesContent":["import { r as registerInstance, c as getIonMode, h, H as Host, e as getElement } from './core-80bde1aa.js';\nimport { b as config } from './config-3c7f3790.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme-18cbe2cc.js';\n\nconst BackButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.mode = getIonMode(this);\n /**\n * If `true`, the user cannot interact with the button.\n */\n this.disabled = false;\n /**\n * The type of the button.\n */\n this.type = 'button';\n this.onClick = async (ev) => {\n const nav = this.el.closest('ion-nav');\n ev.preventDefault();\n if (nav && await nav.canGoBack()) {\n return nav.pop({ skipIfBusy: true });\n }\n return openURL(this.defaultHref, ev, 'back');\n };\n }\n get backButtonIcon() {\n const icon = this.icon;\n if (icon != null) {\n // icon is set on the component or by the config\n return icon;\n }\n if (this.mode === 'ios') {\n // default ios back button icon\n return config.get('backButtonIcon', 'chevron-back');\n }\n // default md back button icon\n return config.get('backButtonIcon', 'arrow-back-sharp');\n }\n get backButtonText() {\n const defaultBackButtonText = this.mode === 'ios' ? 'Back' : null;\n return this.text != null ? this.text : config.get('backButtonText', defaultBackButtonText);\n }\n get hasIconOnly() {\n return this.backButtonIcon && !this.backButtonText;\n }\n get rippleType() {\n // If the button only has an icon we use the unbounded\n // \"circular\" ripple effect\n if (this.hasIconOnly) {\n return 'unbounded';\n }\n return 'bounded';\n }\n render() {\n const { color, defaultHref, disabled, type, mode, hasIconOnly, backButtonIcon, backButtonText } = this;\n const showBackButton = defaultHref !== undefined;\n return (h(Host, { onClick: this.onClick, class: Object.assign(Object.assign({}, createColorClasses(color)), { [mode]: true, 'button': true, 'back-button-disabled': disabled, 'back-button-has-icon-only': hasIconOnly, 'in-toolbar': hostContext('ion-toolbar', this.el), 'ion-activatable': true, 'ion-focusable': true, 'show-back-button': showBackButton }) }, h(\"button\", { type: type, disabled: disabled, class: \"button-native\", part: \"button\" }, h(\"span\", { class: \"button-inner\" }, backButtonIcon && h(\"ion-icon\", { icon: backButtonIcon, lazy: false, part: \"icon\" }), backButtonText && h(\"span\", { class: \"button-text\", part: \"text\" }, backButtonText)), mode === 'md' && h(\"ion-ripple-effect\", { type: this.rippleType }))));\n }\n get el() { return getElement(this); }\n static get style() { return \":host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color,opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family,inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-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%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native:after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native:after{left:0;right:0;top:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0}\\@media (any-hover:hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native:after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}\\@media (any-hover:hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar){color:var(--ion-toolbar-color,var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary,#3880ff);--icon-margin-end:-5px;--icon-margin-start:-4px;--icon-font-size:1.85em;--min-height:32px;font-size:17px}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:.4}\\@media (any-hover:hover){:host(:hover){opacity:.6}}:host(.ion-color.ion-focused) .button-native:after{background:var(--ion-color-base)}\"; }\n};\n\nexport { BackButton as ion_back_button };\n"],"sourceRoot":"webpack:///","file":"8-es5.js"}