1 |
- {"ast":null,"code":"/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { c as createColorClasses } from './theme.js';\nimport { b as getIonMode } from './ionic-global.js';\nconst cardHeaderIosCss = \":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}\";\nconst IonCardHeaderIosStyle0 = cardHeaderIosCss;\nconst cardHeaderMdCss = \":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}\";\nconst IonCardHeaderMdStyle0 = cardHeaderMdCss;\nconst CardHeader = /*@__PURE__*/proxyCustomElement(class CardHeader extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.color = undefined;\n this.translucent = false;\n }\n render() {\n const mode = getIonMode(this);\n return h(Host, {\n key: '64246b81931203a64d553c788cd736f41e23f37b',\n class: createColorClasses(this.color, {\n 'card-header-translucent': this.translucent,\n 'ion-inherit-color': true,\n [mode]: true\n })\n }, h(\"slot\", {\n key: 'af2da2dfe266889afeb57fac25c6a730558dbba4'\n }));\n }\n static get style() {\n return {\n ios: IonCardHeaderIosStyle0,\n md: IonCardHeaderMdStyle0\n };\n }\n}, [33, \"ion-card-header\", {\n \"color\": [513],\n \"translucent\": [4]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-card-header\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-card-header\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, CardHeader);\n }\n break;\n }\n });\n}\nconst IonCardHeader = CardHeader;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonCardHeader, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","h","Host","c","createColorClasses","b","getIonMode","cardHeaderIosCss","IonCardHeaderIosStyle0","cardHeaderMdCss","IonCardHeaderMdStyle0","CardHeader","constructor","__registerHost","__attachShadow","color","undefined","translucent","render","mode","key","class","style","ios","md","defineCustomElement$1","customElements","components","forEach","tagName","get","define","IonCardHeader","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-card-header.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { c as createColorClasses } from './theme.js';\nimport { b as getIonMode } from './ionic-global.js';\n\nconst cardHeaderIosCss = \":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}\";\nconst IonCardHeaderIosStyle0 = cardHeaderIosCss;\n\nconst cardHeaderMdCss = \":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}\";\nconst IonCardHeaderMdStyle0 = cardHeaderMdCss;\n\nconst CardHeader = /*@__PURE__*/ proxyCustomElement(class CardHeader extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.color = undefined;\n this.translucent = false;\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '64246b81931203a64d553c788cd736f41e23f37b', class: createColorClasses(this.color, {\n 'card-header-translucent': this.translucent,\n 'ion-inherit-color': true,\n [mode]: true,\n }) }, h(\"slot\", { key: 'af2da2dfe266889afeb57fac25c6a730558dbba4' })));\n }\n static get style() { return {\n ios: IonCardHeaderIosStyle0,\n md: IonCardHeaderMdStyle0\n }; }\n}, [33, \"ion-card-header\", {\n \"color\": [513],\n \"translucent\": [4]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-card-header\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-card-header\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, CardHeader);\n }\n break;\n } });\n}\n\nconst IonCardHeader = CardHeader;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonCardHeader, defineCustomElement };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,kBAAkB,EAAEC,WAAW,EAAEC,CAAC,EAAEC,IAAI,QAAQ,+BAA+B;AACx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