Files
doneit-web/_platforms/browser/www/4195-es5.d52e137284da869c8cfc.js
T

1 line
22 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
!function(){function t(t,o,r){return o in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function o(t,o,r,i,n,a,e){try{var s=t[a](e),c=s.value}catch(l){return void r(l)}s.done?o(c):Promise.resolve(c).then(i,n)}function r(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function i(t,o){for(var r=0;r<o.length;r++){var i=o[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n(t,o,r){return o&&i(t.prototype,o),r&&i(t,r),t}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[4195],{34195:function(i,a,e){"use strict";e.r(a),e.d(a,{ion_fab:function(){return b},ion_fab_button:function(){return d},ion_fab_list:function(){return u}});var s=e(31667),c=e(36177),l=e(61269),b=function(){function i(t){var o=this;r(this,i),(0,s.r)(this,t),this.edge=!1,this.activated=!1,this.onClick=function(){var t=!!o.el.querySelector("ion-fab-list"),r=o.getFab();t&&(!r||!r.disabled)&&(o.activated=!o.activated)}}var a,e;return n(i,[{key:"activatedChanged",value:function(){var t=this.activated,o=this.getFab();o&&(o.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(function(o){o.activated=t})}},{key:"componentDidLoad",value:function(){this.activated&&this.activatedChanged()}},{key:"close",value:(a=regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.activated=!1;case 1:case"end":return t.stop()}},t,this)}),e=function(){var t=this,r=arguments;return new Promise(function(i,n){var e=a.apply(t,r);function s(t){o(e,i,n,s,c,"next",t)}function c(t){o(e,i,n,s,c,"throw",t)}s(void 0)})},function(){return e.apply(this,arguments)})},{key:"getFab",value:function(){return this.el.querySelector("ion-fab-button")}},{key:"render",value:function(){var o,r=this.horizontal,i=this.vertical,n=this.edge,a=(0,c.b)(this);return(0,s.h)(s.H,{onClick:this.onClick,class:(o={},t(o,a,!0),t(o,"fab-horizontal-".concat(r),void 0!==r),t(o,"fab-vertical-".concat(i),void 0!==i),t(o,"fab-edge",n),o)},(0,s.h)("slot",null))}},{key:"el",get:function(){return(0,s.i)(this)}}],[{key:"watchers",get:function(){return{activated:["activatedChanged"]}}}]),i}();b.style=":host{position:absolute;z-index:999}:host(.fab-horizontal-center){left:50%;margin-left:-28px}:host-context([dir=rtl]):host(.fab-horizontal-center),:host-context([dir=rtl]).fab-horizontal-center{left:unset;right:unset;right:50%}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.fab-horizontal-center){margin-left:unset;-webkit-margin-start:-28px;margin-inline-start:-28px}}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{left:unset;right:unset;right:calc(10px + var(--ion-safe-area-left, 0px))}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:unset;right:unset;left:calc(10px + var(--ion-safe-area-right, 0px))}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:-28px}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:-28px}:host(.fab-vertical-center){margin-top:-28px;top:50%}";var d=function(){function o(t){var i=this;r(this,o),(0,s.r)(this,t),this.ionFocus=(0,s.e)(this,"ionFocus",7),this.ionBlur=(0,s.e)(this,"ionBlur",7),this.activated=!1,this.disabled=!1,this.routerDirection="forward",this.show=!1,this.translucent=!1,this.type="button",this.closeIcon="close",this.onFocus=function(){i.ionFocus.emit()},this.onBlur=function(){i.ionBlur.emit()}}return n(o,[{key:"render",value:function(){var o,r=this,i=this.el,n=this.disabled,a=this.color,e=this.href,b=this.activated,d=this.show,u=this.translucent,p=this.size,f=(0,l.h)("ion-fab-list",i),g=(0,c.b)(this),h=void 0===e?"button":"a",v="button"===h?{type:this.type}:{download:this.down