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 noteIosCss = \":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6));font-size:max(14px, 1rem)}\";\nconst IonNoteIosStyle0 = noteIosCss;\nconst noteMdCss = \":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem}\";\nconst IonNoteMdStyle0 = noteMdCss;\nconst Note = /*@__PURE__*/proxyCustomElement(class Note 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: '10a3495bc21166176986441479f8f7539029d161',\n class: createColorClasses(this.color, {\n [mode]: true\n })\n }, h(\"slot\", {\n key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873'\n }));\n }\n static get style() {\n return {\n ios: IonNoteIosStyle0,\n md: IonNoteMdStyle0\n };\n }\n}, [33, \"ion-note\", {\n \"color\": [513]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-note\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-note\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Note);\n }\n break;\n }\n });\n}\nconst IonNote = Note;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonNote, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","h","Host","c","createColorClasses","b","getIonMode","noteIosCss","IonNoteIosStyle0","noteMdCss","IonNoteMdStyle0","Note","constructor","__registerHost","__attachShadow","color","undefined","render","mode","key","class","style","ios","md","defineCustomElement$1","customElements","components","forEach","tagName","get","define","IonNote","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-note.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 noteIosCss = \":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6));font-size:max(14px, 1rem)}\";\nconst IonNoteIosStyle0 = noteIosCss;\n\nconst noteMdCss = \":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem}\";\nconst IonNoteMdStyle0 = noteMdCss;\n\nconst Note = /*@__PURE__*/ proxyCustomElement(class Note 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: '10a3495bc21166176986441479f8f7539029d161', class: createColorClasses(this.color, {\n [mode]: true,\n }) }, h(\"slot\", { key: 'b6a9459e1b85f608fafd060a4bfeb11637ebe873' })));\n }\n static get style() { return {\n ios: IonNoteIosStyle0,\n md: IonNoteMdStyle0\n }; }\n}, [33, \"ion-note\", {\n \"color\": [513]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-note\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-note\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Note);\n }\n break;\n } });\n}\n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