mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
|
|
!function(){function t(t,o,e){return o in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function o(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function e(t,o){for(var e=0;e<o.length;e++){var i=o[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[5043],{25043:function(e,n,a){"use strict";a.r(n),a.d(n,{ion_tab_bar:function(){return d},ion_tab_button:function(){return b}});var r=a(31667),l=a(36177),s=a(61269),d=function(){function e(t){o(this,e),(0,r.r)(this,t),this.ionTabBarChanged=(0,r.e)(this,"ionTabBarChanged",7),this.keyboardVisible=!1,this.translucent=!1}return i(e,[{key:"selectedTabChanged",value:function(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}},{key:"componentWillLoad",value:function(){this.selectedTabChanged()}},{key:"connectedCallback",value:function(){var t=this;"undefined"!=typeof window&&(this.keyboardWillShowHandler=function(){"top"!==t.el.getAttribute("slot")&&(t.keyboardVisible=!0)},this.keyboardWillHideHandler=function(){setTimeout(function(){return t.keyboardVisible=!1},50)},window.addEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.addEventListener("keyboardWillHide",this.keyboardWillHideHandler))}},{key:"disconnectedCallback",value:function(){"undefined"!=typeof window&&(window.removeEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.removeEventListener("keyboardWillHide",this.keyboardWillHideHandler),this.keyboardWillShowHandler=this.keyboardWillHideHandler=void 0)}},{key:"render",value:function(){var o,e=this.color,i=this.translucent,n=this.keyboardVisible,a=(0,l.b)(this);return(0,r.h)(r.H,{role:"tablist","aria-hidden":n?"true":null,class:(0,s.c)(e,(o={},t(o,a,!0),t(o,"tab-bar-translucent",i),t(o,"tab-bar-hidden",n),o))},(0,r.h)("slot",null))}},{key:"el",get:function(){return(0,r.i)(this)}}],[{key:"watchers",get:function(){return{selectedTab:["selectedTabChanged"]}}}]),e}();d.style={ios:":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150,
|