- web/: Vue 3 + Vite + UnoCSS + Pinia, dark tactical theme (amber/#0d1117) - AppNav, ListingCard, SearchView with filters/sort, composables (useSnipeMode, useKonamiCode, useMotion), Pinia search store - Steal shimmer, auction countdown, Snipe Mode easter egg all native in Vue - docker/web/: nginx + multi-stage Dockerfile (node build → nginx serve) - compose.yml: api (8510) + web (8509) services - Dockerfile CMD updated to uvicorn for upcoming FastAPI layer - Clean build: 0 TS errors, 380 modules
56 lines
1 KiB
JavaScript
56 lines
1 KiB
JavaScript
import { parseLanguageRangeList } from './lang.js';
|
|
|
|
const selectorList = {
|
|
parse() {
|
|
return this.createSingleNodeList(
|
|
this.SelectorList()
|
|
);
|
|
}
|
|
};
|
|
|
|
const selector = {
|
|
parse() {
|
|
return this.createSingleNodeList(
|
|
this.Selector()
|
|
);
|
|
}
|
|
};
|
|
|
|
const identList = {
|
|
parse() {
|
|
return this.createSingleNodeList(
|
|
this.Identifier()
|
|
);
|
|
}
|
|
};
|
|
|
|
const langList = {
|
|
parse: parseLanguageRangeList
|
|
};
|
|
|
|
const nth = {
|
|
parse() {
|
|
return this.createSingleNodeList(
|
|
this.Nth()
|
|
);
|
|
}
|
|
};
|
|
|
|
export default {
|
|
'dir': identList,
|
|
'has': selectorList,
|
|
'lang': langList,
|
|
'matches': selectorList,
|
|
'is': selectorList,
|
|
'-moz-any': selectorList,
|
|
'-webkit-any': selectorList,
|
|
'where': selectorList,
|
|
'not': selectorList,
|
|
'nth-child': nth,
|
|
'nth-last-child': nth,
|
|
'nth-last-of-type': nth,
|
|
'nth-of-type': nth,
|
|
'slotted': selector,
|
|
'host': selector,
|
|
'host-context': selector
|
|
};
|