Files
klz-cables.com/.pnpm-store/v10/files/05/c31516d9b62dcfd1613068e3d1ea8685703402f0367ca97b377d0e5255a1c2ffdca493ad657ada1bcd5685e822b5679f1f195822711159b7478fe8624a00c6
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

34 lines
1.1 KiB
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paintOrder = void 0;
var parser_1 = require("../syntax/parser");
exports.paintOrder = {
name: 'paint-order',
initialValue: 'normal',
prefix: false,
type: 1 /* LIST */,
parse: function (_context, tokens) {
var DEFAULT_VALUE = [0 /* FILL */, 1 /* STROKE */, 2 /* MARKERS */];
var layers = [];
tokens.filter(parser_1.isIdentToken).forEach(function (token) {
switch (token.value) {
case 'stroke':
layers.push(1 /* STROKE */);
break;
case 'fill':
layers.push(0 /* FILL */);
break;
case 'markers':
layers.push(2 /* MARKERS */);
break;
}
});
DEFAULT_VALUE.forEach(function (value) {
if (layers.indexOf(value) === -1) {
layers.push(value);
}
});
return layers;
}
};
//# sourceMappingURL=paint-order.js.map