UNPKG

ant-design-x-vue

Version:

Craft AI-driven interfaces effortlessly

2 lines (1 loc) 555 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./utils.js");function r(n){var s;return(((s=n.match(/:not\(([^)]*)\)/))==null?void 0:s[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter(o=>o).length>1}function i(n){return n.parentSelectors.reduce((e,t)=>e?t.includes("&")?t.replace(/&/g,e):`${e} ${t}`:t,"")}const c=(n,e,t)=>{const o=i(t).match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(r)&&l.lintWarning("Concat ':not' selector not support in legacy browsers.",t)};exports.default=c;