PageSourceSearch

https://www.datamidsouth.org/static/assets/Tag-BHccsf9s.js

js datamidsouth.org collected 2026-10-05 18:09:45 UTC 1,794 bytes, 1 lines download raw bytes

1import{r as N,I as v,j as s,co as E,cn as T,m as B,c as j}from"./automationAxios-iy0n8IC9.js";import{T as _,B as I}from"./KeyboardShortcut-77D-Ww4s.js";/* empty css                  */const w=["success","warning","critical"],R=B("Remove");function y({onRemove:a,disabled:e=!1,ariaLabel:n,tooltip:r}){const{i18n:c}=N.useContext(v);return s.jsx(_,{content:r??null,children:s.jsxs("span",{className:"rods-tag__remove",role:"button",tabIndex:e?-1:0,"aria-label":n??c.translate(R),onClick:t=>{t.stopPropagation(),e||a()},onKeyDown:t=>{(t.key==="Enter"||t.key===" ")&&!e&&(t.stopPropagation(),t.preventDefault(),a())},children:[s.jsx(E,{className:"rods-tag__remove-default"}),s.jsx(T,{className:"rods-tag__remove-hover"})]})})}function d({children:a,tooltip:e,placement:n}){return e?s.jsx(_,{content:e,placement:n,children:s.jsx("span",{className:"rods-tag__tooltip-wrapper",children:a})}):s.jsx(s.Fragment,{children:a})}function F({children:a,className:e,icon:n,variant:r,tooltip:c,tooltipPlacement:t="bottom",ariaLabel:i,onClick:l,disabled:o=!1,onRemove:m,removeAriaLabel:h,removeTooltip:f}){r&&(l||o)&&console.warn("Tag doesn't support interactivity with a variant.");const u=m&&!w.includes(r??null),p=j(["rods-tag",r?`rods-tag--${r}`:"",l||o?"rods-tag--interactive":"",u?"rods-tag--removable":"",e]),x=j("rods-tag__icon",a&&"rods-tag__icon--with-text"),g=u?s.jsx(y,{onRemove:m,disabled:o,ariaLabel:h,tooltip:f}):null;return l||o?s.jsx(d,{tooltip:c,placement:t,children:s.jsxs(I,{className:p,onClick:l,disabled:o,"aria-label":i,children:[n?s.jsx("span",{className:x,"aria-hidden":!0,children:n}):null,a,g]})}):s.jsx(d,{tooltip:c,placement:t,children:s.jsxs("span",{className:p,"aria-label":i,children:[n?s.jsx("span",{className:x,"aria-hidden":!0,children:n}):null,a,g]})})}export{F as T,y as a};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.