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 textCss = \":host(.ion-color){color:var(--ion-color-base)}\";\nconst IonTextStyle0 = textCss;\nconst Text = /*@__PURE__*/proxyCustomElement(class Text extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.color = undefined;\n }\n render() {\n const mode = getIonMode(this);\n return h(Host, {\n key: 'e134d70c04344b708a2ecf6253722781ad2ca826',\n class: createColorClasses(this.color, {\n [mode]: true\n })\n }, h(\"slot\", {\n key: 'da79c760f7ebbcd007ce110439f05a62cb22eac8'\n }));\n }\n static get style() {\n return IonTextStyle0;\n }\n}, [1, \"ion-text\", {\n \"color\": [513]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-text\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-text\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Text);\n }\n break;\n }\n });\n}\nconst IonText = Text;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonText, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","h","Host","c","createColorClasses","b","getIonMode","textCss","IonTextStyle0","Text","constructor","__registerHost","__attachShadow","color","undefined","render","mode","key","class","style","defineCustomElement$1","customElements","components","forEach","tagName","get","define","IonText","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-text.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 textCss = \":host(.ion-color){color:var(--ion-color-base)}\";\nconst IonTextStyle0 = textCss;\n\nconst Text = /*@__PURE__*/ proxyCustomElement(class Text extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.color = undefined;\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: 'e134d70c04344b708a2ecf6253722781ad2ca826', class: createColorClasses(this.color, {\n [mode]: true,\n }) }, h(\"slot\", { key: 'da79c760f7ebbcd007ce110439f05a62cb22eac8' })));\n }\n static get style() { return IonTextStyle0; }\n}, [1, \"ion-text\", {\n \"color\": [513]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-text\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-text\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Text);\n }\n break;\n } });\n}\n\nconst IonText = Text;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonText, defineCustomElement };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,kBAAkB,EAAEC,WAAW,EAAEC,CAAC,EAAEC,IAAI,QAAQ,+BAA+B;AACxF,SAASC,CAAC,IAAIC,kBAAkB,QAAQ,YAAY;AACpD,SAASC,CAAC,IAAIC,UAAU,QAAQ,mBAAmB;AAEnD,MAAMC,OAAO,GAAG,gDAAgD;AAChE,MAAMC,aAAa,GAAGD,OAAO;AAE7B,MAAME,IAAI,GAAG,aAAcV,kBAAkB,CAAC,MAAMU,IAAI,SAAST,WAAW,CAAC;EACzEU,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,cAAc,CAAC,CAAC;IACrB,IAAI,CAACC,cAAc,CAAC,CAAC;IACrB,IAAI,CAACC,KAAK,GAAGC,SAAS;EAC1B;EACAC,MAAMA,CAAA,EAAG;IACL,MAAMC,IAAI,GAAGV,UAAU,CAAC,IAAI,CAAC;IAC7B,OAAQL,CAAC,CAACC,IAAI,EAAE;MAAEe,GAAG,EAAE,0CAA0C;MAAEC,KAAK,EAAEd,kBAAkB,CAAC,IAAI,CAACS,KAAK,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