{"version":3,"sources":["webpack:///./node_modules/@esri/calcite-components/dist/components/label2.js","webpack:///./node_modules/@esri/calcite-components/dist/components/calcite-label.js"],"names":["CSS","container","labelCss","Label","super","this","__registerHost","__attachShadow","calciteInternalLabelClick","alignment","status","scale","layout","disableSpacing","disabled","labelClickHandler","event","emit","sourceEvent","onClick","class","defineCustomElement","customElements","components","forEach","tagName","get","define","CalciteLabel"],"mappings":";;;;GAMA,MAAMA,EAAM,CACVC,UAAW,aAGPC,EAAW,wqHAEjB,IAAIC,EAAQ,cAAc,OACxB,cACEC,QACAC,KAAKC,iBACLD,KAAKE,iBACLF,KAAKG,0BAA4B,eAAYH,KAAM,4BAA6B,GAOhFA,KAAKI,UAAY,QAKjBJ,KAAKK,OAAS,OAEdL,KAAKM,MAAQ,IAEbN,KAAKO,OAAS,UAEdP,KAAKQ,gBAAiB,EAEtBR,KAAKS,UAAW,EAMhBT,KAAKU,kBAAqBC,IACxBX,KAAKG,0BAA0BS,KAAK,CAClCC,YAAaF,KASnB,SACE,OAAQ,cAAD,CAAG,OAAM,CAAEG,QAASd,KAAKU,mBAAqB,eAAE,MAAO,CAAEK,MAAOpB,EAAIC,WAAa,eAAE,OAAQ,QAEpG,SAAW,OAAOI,KAClB,mBAAqB,OAAOH,IAW9B,SAASmB,IACP,GAA8B,qBAAnBC,eACT,OAEF,MAAMC,EAAa,CAAC,iBACpBA,EAAWC,QAAQC,IAAa,OAAQA,GACtC,IAAK,gBACEH,eAAeI,IAAID,IACtBH,eAAeK,OAAOF,EAAStB,GAEjC,SAnBNA,EAAsB,eAAmBA,EAAO,CAAC,EAAG,gBAAiB,CACjE,UAAa,CAAC,KACd,OAAU,CAAC,KACX,IAAO,CAAC,KACR,MAAS,CAAC,KACV,OAAU,CAAC,KACX,eAAkB,CAAC,EAAG,mBACtB,SAAY,CAAC,QAejBkB;;;;;AC5EA,MAAMO,EAAezB,EACf,EAAsBkB","file":"js/chunk-2d0b8b31.91db25cc.js","sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';\n\nconst CSS = {\n container: \"container\"\n};\n\nconst labelCss = \"@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{margin-bottom:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .container{margin-bottom:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{margin-bottom:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host .container{margin-top:0px;margin-right:0px;margin-left:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disable-spacing]) .container{margin:0px;gap:0px}\";\n\nlet Label = class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.calciteInternalLabelClick = createEvent(this, \"calciteInternalLabelClick\", 3);\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** specify the text alignment of the label */\n this.alignment = \"start\";\n /**\n * specify the status of the label and any child input / input messages\n * @deprecated set directly on child element instead\n */\n this.status = \"idle\";\n /** specify the scale of the label, defaults to m */\n this.scale = \"m\";\n /** is the wrapped element positioned inline with the label slotted text */\n this.layout = \"default\";\n /** eliminates any space around the label */\n this.disableSpacing = false;\n /** is the label disabled */\n this.disabled = false;\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.labelClickHandler = (event) => {\n this.calciteInternalLabelClick.emit({\n sourceEvent: event\n });\n };\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n return (h(Host, { onClick: this.labelClickHandler }, h(\"div\", { class: CSS.container }, h(\"slot\", null))));\n }\n get el() { return this; }\n static get style() { return labelCss; }\n};\nLabel = /*@__PURE__*/ proxyCustomElement(Label, [1, \"calcite-label\", {\n \"alignment\": [513],\n \"status\": [513],\n \"for\": [513],\n \"scale\": [513],\n \"layout\": [513],\n \"disableSpacing\": [4, \"disable-spacing\"],\n \"disabled\": [516]\n }]);\nfunction defineCustomElement() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"calcite-label\"];\n components.forEach(tagName => { switch (tagName) {\n case \"calcite-label\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Label);\n }\n break;\n } });\n}\ndefineCustomElement();\n\nexport { Label as L, defineCustomElement as d };\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { L as Label, d as defineCustomElement$1 } from './label2.js';\n\nconst CalciteLabel = Label;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { CalciteLabel, defineCustomElement };\n"],"sourceRoot":""}