6ffa30181feb25ddb088d817ead22dc53ba4da4e699b40916c4a700a81e62754.json 10.0 KB

1
  1. {"ast":null,"code":"/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nconst fabListCss = \":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.fab-list-side-start){inset-inline-end:0}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}:host(.fab-list-side-end){inset-inline-start:0}\";\nconst IonFabListStyle0 = fabListCss;\nconst FabList = /*@__PURE__*/proxyCustomElement(class FabList extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.activated = false;\n this.side = 'bottom';\n }\n activatedChanged(activated) {\n const fabs = Array.from(this.el.querySelectorAll('ion-fab-button'));\n // if showing the fabs add a timeout, else show immediately\n const timeout = activated ? 30 : 0;\n fabs.forEach((fab, i) => {\n setTimeout(() => fab.show = activated, i * timeout);\n });\n }\n render() {\n const mode = getIonMode(this);\n return h(Host, {\n key: '64b33366447f66c7f979cfac56307fbb1a6fac1c',\n class: {\n [mode]: true,\n 'fab-list-active': this.activated,\n [`fab-list-side-${this.side}`]: true\n }\n }, h(\"slot\", {\n key: 'd9f474f7f20fd7e813db358fddc720534ca05bb6'\n }));\n }\n get el() {\n return this;\n }\n static get watchers() {\n return {\n \"activated\": [\"activatedChanged\"]\n };\n }\n static get style() {\n return IonFabListStyle0;\n }\n}, [1, \"ion-fab-list\", {\n \"activated\": [4],\n \"side\": [1]\n}, undefined, {\n \"activated\": [\"activatedChanged\"]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-fab-list\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-fab-list\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, FabList);\n }\n break;\n }\n });\n}\nconst IonFabList = FabList;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonFabList, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","h","Host","b","getIonMode","fabListCss","IonFabListStyle0","FabList","constructor","__registerHost","__attachShadow","activated","side","activatedChanged","fabs","Array","from","el","querySelectorAll","timeout","forEach","fab","i","setTimeout","show","render","mode","key","class","watchers","style","undefined","defineCustomElement$1","customElements","components","tagName","get","define","IonFabList","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-fab-list.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\n\nconst fabListCss = \":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.fab-list-side-start){inset-inline-end:0}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}:host(.fab-list-side-end){inset-inline-start:0}\";\nconst IonFabListStyle0 = fabListCss;\n\nconst FabList = /*@__PURE__*/ proxyCustomElement(class FabList extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.activated = false;\n this.side = 'bottom';\n }\n activatedChanged(activated) {\n const fabs = Array.from(this.el.querySelectorAll('ion-fab-button'));\n // if showing the fabs add a timeout, else show immediately\n const timeout = activated ? 30 : 0;\n fabs.forEach((fab, i) => {\n setTimeout(() => (fab.show = activated), i * timeout);\n });\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '64b33366447f66c7f979cfac56307fbb1a6fac1c', class: {\n [mode]: true,\n 'fab-list-active': this.activated,\n [`fab-list-side-${this.side}`]: true,\n } }, h(\"slot\", { key: 'd9f474f7f20fd7e813db358fddc720534ca05bb6' })));\n }\n get el() { return this; }\n static get watchers() { return {\n \"activated\": [\"activatedChanged\"]\n }; }\n static get style() { return IonFabListStyle0; }\n}, [1, \"ion-fab-list\", {\n \"activated\": [4],\n \"side\": [1]\n }, undefined, {\n \"activated\": [\"activatedChanged\"]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-fab-list\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-fab-list\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, FabList);\n }\n break;\n } });\n}\n\nconst IonFabList = FabList;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonFabList, defineCustomElement };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,kBAAkB,EAAEC,WAAW,EAAEC,CAAC,EAAEC,IAAI,QAAQ,+BAA+B;AACxF,SAASC,CAAC,IAAIC,UAAU,QAAQ,mBAAmB;AAEnD,MAAMC,UAAU,GAAG,4tDAA4tD;AAC/uD,MAAMC,gBAAgB,GAAGD,UAAU;AAEnC,MAAME,OAAO,GAAG,aAAcR,kBAAkB,CAAC,MAAMQ,OAAO,SAASP,WAAW,CAAC;EAC/EQ,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,cAAc,CAAC,CAAC;IACrB,IAAI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