@universityofmaryland/web-model-library 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -0
- package/dist/_types.d.ts +77 -0
- package/dist/_types.d.ts.map +1 -0
- package/dist/_virtual/___vite-browser-external.js +8 -0
- package/dist/_virtual/___vite-browser-external.js.map +1 -0
- package/dist/_virtual/___vite-browser-external.mjs +7 -0
- package/dist/_virtual/___vite-browser-external.mjs.map +1 -0
- package/dist/_virtual/__vite-browser-external.js +4 -0
- package/dist/_virtual/__vite-browser-external.js.map +1 -0
- package/dist/_virtual/__vite-browser-external.mjs +5 -0
- package/dist/_virtual/__vite-browser-external.mjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +37 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.mjs +37 -0
- package/dist/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index.mjs +8 -0
- package/dist/_virtual/index.mjs.map +1 -0
- package/dist/_virtual/picocolors.browser.js +5 -0
- package/dist/_virtual/picocolors.browser.js.map +1 -0
- package/dist/_virtual/picocolors.browser.mjs +5 -0
- package/dist/_virtual/picocolors.browser.mjs.map +1 -0
- package/dist/_virtual/postcss.js +7 -0
- package/dist/_virtual/postcss.js.map +1 -0
- package/dist/_virtual/postcss.mjs +8 -0
- package/dist/_virtual/postcss.mjs.map +1 -0
- package/dist/_virtual/symbols.js +5 -0
- package/dist/_virtual/symbols.js.map +1 -0
- package/dist/_virtual/symbols.mjs +5 -0
- package/dist/_virtual/symbols.mjs.map +1 -0
- package/dist/attributes/checks.d.ts +133 -0
- package/dist/attributes/checks.d.ts.map +1 -0
- package/dist/attributes/checks.js +757 -0
- package/dist/attributes/checks.js.map +1 -0
- package/dist/attributes/checks.mjs +740 -0
- package/dist/attributes/checks.mjs.map +1 -0
- package/dist/attributes/handler.d.ts +52 -0
- package/dist/attributes/handler.d.ts.map +1 -0
- package/dist/attributes/handler.js +205 -0
- package/dist/attributes/handler.js.map +1 -0
- package/dist/attributes/handler.mjs +206 -0
- package/dist/attributes/handler.mjs.map +1 -0
- package/dist/attributes/index.d.ts +7 -0
- package/dist/attributes/index.d.ts.map +1 -0
- package/dist/attributes/names.d.ts +132 -0
- package/dist/attributes/names.d.ts.map +1 -0
- package/dist/attributes/names.js +145 -0
- package/dist/attributes/names.js.map +1 -0
- package/dist/attributes/names.mjs +146 -0
- package/dist/attributes/names.mjs.map +1 -0
- package/dist/attributes/values.d.ts +70 -0
- package/dist/attributes/values.d.ts.map +1 -0
- package/dist/attributes/values.js +80 -0
- package/dist/attributes/values.js.map +1 -0
- package/dist/attributes/values.mjs +81 -0
- package/dist/attributes/values.mjs.map +1 -0
- package/dist/attributes.d.ts +2 -0
- package/dist/attributes.js +23 -0
- package/dist/attributes.js.map +1 -0
- package/dist/attributes.mjs +23 -0
- package/dist/attributes.mjs.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +13 -0
- package/dist/index.mjs.map +1 -0
- package/dist/model/index.d.ts +43 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model.d.ts +2 -0
- package/dist/model.js +259 -0
- package/dist/model.js.map +1 -0
- package/dist/model.mjs +259 -0
- package/dist/model.mjs.map +1 -0
- package/dist/node_modules/nanoid/non-secure/index.js +31 -0
- package/dist/node_modules/nanoid/non-secure/index.js.map +1 -0
- package/dist/node_modules/nanoid/non-secure/index.mjs +31 -0
- package/dist/node_modules/nanoid/non-secure/index.mjs.map +1 -0
- package/dist/node_modules/picocolors/picocolors.browser.js +17 -0
- package/dist/node_modules/picocolors/picocolors.browser.js.map +1 -0
- package/dist/node_modules/picocolors/picocolors.browser.mjs +17 -0
- package/dist/node_modules/picocolors/picocolors.browser.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/at-rule.js +30 -0
- package/dist/node_modules/postcss/lib/at-rule.js.map +1 -0
- package/dist/node_modules/postcss/lib/at-rule.mjs +30 -0
- package/dist/node_modules/postcss/lib/at-rule.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/comment.js +21 -0
- package/dist/node_modules/postcss/lib/comment.js.map +1 -0
- package/dist/node_modules/postcss/lib/comment.mjs +21 -0
- package/dist/node_modules/postcss/lib/comment.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/container.js +383 -0
- package/dist/node_modules/postcss/lib/container.js.map +1 -0
- package/dist/node_modules/postcss/lib/container.mjs +383 -0
- package/dist/node_modules/postcss/lib/container.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/css-syntax-error.js +92 -0
- package/dist/node_modules/postcss/lib/css-syntax-error.js.map +1 -0
- package/dist/node_modules/postcss/lib/css-syntax-error.mjs +92 -0
- package/dist/node_modules/postcss/lib/css-syntax-error.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/declaration.js +27 -0
- package/dist/node_modules/postcss/lib/declaration.js.map +1 -0
- package/dist/node_modules/postcss/lib/declaration.mjs +27 -0
- package/dist/node_modules/postcss/lib/declaration.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/document.js +34 -0
- package/dist/node_modules/postcss/lib/document.js.map +1 -0
- package/dist/node_modules/postcss/lib/document.mjs +34 -0
- package/dist/node_modules/postcss/lib/document.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/fromJSON.js +67 -0
- package/dist/node_modules/postcss/lib/fromJSON.js.map +1 -0
- package/dist/node_modules/postcss/lib/fromJSON.mjs +67 -0
- package/dist/node_modules/postcss/lib/fromJSON.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/input.js +216 -0
- package/dist/node_modules/postcss/lib/input.js.map +1 -0
- package/dist/node_modules/postcss/lib/input.mjs +216 -0
- package/dist/node_modules/postcss/lib/input.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/lazy-result.js +467 -0
- package/dist/node_modules/postcss/lib/lazy-result.js.map +1 -0
- package/dist/node_modules/postcss/lib/lazy-result.mjs +467 -0
- package/dist/node_modules/postcss/lib/lazy-result.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/list.js +60 -0
- package/dist/node_modules/postcss/lib/list.js.map +1 -0
- package/dist/node_modules/postcss/lib/list.mjs +60 -0
- package/dist/node_modules/postcss/lib/list.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/map-generator.js +314 -0
- package/dist/node_modules/postcss/lib/map-generator.js.map +1 -0
- package/dist/node_modules/postcss/lib/map-generator.mjs +314 -0
- package/dist/node_modules/postcss/lib/map-generator.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/no-work-result.js +113 -0
- package/dist/node_modules/postcss/lib/no-work-result.js.map +1 -0
- package/dist/node_modules/postcss/lib/no-work-result.mjs +113 -0
- package/dist/node_modules/postcss/lib/no-work-result.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/node.js +335 -0
- package/dist/node_modules/postcss/lib/node.js.map +1 -0
- package/dist/node_modules/postcss/lib/node.mjs +335 -0
- package/dist/node_modules/postcss/lib/node.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/parse.js +30 -0
- package/dist/node_modules/postcss/lib/parse.js.map +1 -0
- package/dist/node_modules/postcss/lib/parse.mjs +30 -0
- package/dist/node_modules/postcss/lib/parse.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/parser.js +543 -0
- package/dist/node_modules/postcss/lib/parser.js.map +1 -0
- package/dist/node_modules/postcss/lib/parser.mjs +543 -0
- package/dist/node_modules/postcss/lib/parser.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/postcss.js +28 -0
- package/dist/node_modules/postcss/lib/postcss.js.map +1 -0
- package/dist/node_modules/postcss/lib/postcss.mjs +29 -0
- package/dist/node_modules/postcss/lib/postcss.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/postcss2.js +110 -0
- package/dist/node_modules/postcss/lib/postcss2.js.map +1 -0
- package/dist/node_modules/postcss/lib/postcss2.mjs +110 -0
- package/dist/node_modules/postcss/lib/postcss2.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/previous-map.js +123 -0
- package/dist/node_modules/postcss/lib/previous-map.js.map +1 -0
- package/dist/node_modules/postcss/lib/previous-map.mjs +123 -0
- package/dist/node_modules/postcss/lib/previous-map.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/processor.js +61 -0
- package/dist/node_modules/postcss/lib/processor.js.map +1 -0
- package/dist/node_modules/postcss/lib/processor.mjs +61 -0
- package/dist/node_modules/postcss/lib/processor.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/result.js +44 -0
- package/dist/node_modules/postcss/lib/result.js.map +1 -0
- package/dist/node_modules/postcss/lib/result.mjs +44 -0
- package/dist/node_modules/postcss/lib/result.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/root.js +58 -0
- package/dist/node_modules/postcss/lib/root.js.map +1 -0
- package/dist/node_modules/postcss/lib/root.mjs +58 -0
- package/dist/node_modules/postcss/lib/root.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/rule.js +33 -0
- package/dist/node_modules/postcss/lib/rule.js.map +1 -0
- package/dist/node_modules/postcss/lib/rule.mjs +33 -0
- package/dist/node_modules/postcss/lib/rule.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/stringifier.js +308 -0
- package/dist/node_modules/postcss/lib/stringifier.js.map +1 -0
- package/dist/node_modules/postcss/lib/stringifier.mjs +308 -0
- package/dist/node_modules/postcss/lib/stringifier.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/stringify.js +19 -0
- package/dist/node_modules/postcss/lib/stringify.js.map +1 -0
- package/dist/node_modules/postcss/lib/stringify.mjs +19 -0
- package/dist/node_modules/postcss/lib/stringify.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/symbols.js +13 -0
- package/dist/node_modules/postcss/lib/symbols.js.map +1 -0
- package/dist/node_modules/postcss/lib/symbols.mjs +13 -0
- package/dist/node_modules/postcss/lib/symbols.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/tokenize.js +219 -0
- package/dist/node_modules/postcss/lib/tokenize.js.map +1 -0
- package/dist/node_modules/postcss/lib/tokenize.mjs +219 -0
- package/dist/node_modules/postcss/lib/tokenize.mjs.map +1 -0
- package/dist/node_modules/postcss/lib/warning.js +40 -0
- package/dist/node_modules/postcss/lib/warning.js.map +1 -0
- package/dist/node_modules/postcss/lib/warning.mjs +40 -0
- package/dist/node_modules/postcss/lib/warning.mjs.map +1 -0
- package/dist/packages/model/node_modules/postcss-discard-duplicates/src/index.js +130 -0
- package/dist/packages/model/node_modules/postcss-discard-duplicates/src/index.js.map +1 -0
- package/dist/packages/model/node_modules/postcss-discard-duplicates/src/index.mjs +130 -0
- package/dist/packages/model/node_modules/postcss-discard-duplicates/src/index.mjs.map +1 -0
- package/dist/slots/create.d.ts +15 -0
- package/dist/slots/create.d.ts.map +1 -0
- package/dist/slots/create.js +50 -0
- package/dist/slots/create.js.map +1 -0
- package/dist/slots/create.mjs +50 -0
- package/dist/slots/create.mjs.map +1 -0
- package/dist/slots/element.d.ts +3 -0
- package/dist/slots/element.d.ts.map +1 -0
- package/dist/slots/element.js +42 -0
- package/dist/slots/element.js.map +1 -0
- package/dist/slots/element.mjs +42 -0
- package/dist/slots/element.mjs.map +1 -0
- package/dist/slots/extract.d.ts +6 -0
- package/dist/slots/extract.d.ts.map +1 -0
- package/dist/slots/index.d.ts +140 -0
- package/dist/slots/index.d.ts.map +1 -0
- package/dist/slots/mapping.d.ts +82 -0
- package/dist/slots/mapping.d.ts.map +1 -0
- package/dist/slots/mapping.js +97 -0
- package/dist/slots/mapping.js.map +1 -0
- package/dist/slots/mapping.mjs +97 -0
- package/dist/slots/mapping.mjs.map +1 -0
- package/dist/slots/query.d.ts +9 -0
- package/dist/slots/query.d.ts.map +1 -0
- package/dist/slots/validate.d.ts +22 -0
- package/dist/slots/validate.d.ts.map +1 -0
- package/dist/slots.d.ts +6 -0
- package/dist/slots.js +73 -0
- package/dist/slots.js.map +1 -0
- package/dist/slots.mjs +74 -0
- package/dist/slots.mjs.map +1 -0
- package/dist/utilities/index.d.ts +4 -0
- package/dist/utilities/index.d.ts.map +1 -0
- package/dist/utilities/lifecycle.d.ts +12 -0
- package/dist/utilities/lifecycle.d.ts.map +1 -0
- package/dist/utilities/lifecycle.js +21 -0
- package/dist/utilities/lifecycle.js.map +1 -0
- package/dist/utilities/lifecycle.mjs +21 -0
- package/dist/utilities/lifecycle.mjs.map +1 -0
- package/dist/utilities/register.d.ts +17 -0
- package/dist/utilities/register.d.ts.map +1 -0
- package/dist/utilities/register.js +32 -0
- package/dist/utilities/register.js.map +1 -0
- package/dist/utilities/register.mjs +32 -0
- package/dist/utilities/register.mjs.map +1 -0
- package/dist/utilities/styles.d.ts +5 -0
- package/dist/utilities/styles.d.ts.map +1 -0
- package/dist/utilities/styles.js +79 -0
- package/dist/utilities/styles.js.map +1 -0
- package/dist/utilities/styles.mjs +80 -0
- package/dist/utilities/styles.mjs.map +1 -0
- package/dist/utilities.d.ts +2 -0
- package/dist/utilities.js +11 -0
- package/dist/utilities.js.map +1 -0
- package/dist/utilities.mjs +11 -0
- package/dist/utilities.mjs.map +1 -0
- package/package.json +69 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor.js","sources":["../../../../../../node_modules/postcss/lib/processor.js"],"sourcesContent":["'use strict'\n\nlet NoWorkResult = require('./no-work-result')\nlet LazyResult = require('./lazy-result')\nlet Document = require('./document')\nlet Root = require('./root')\n\nclass Processor {\n constructor(plugins = []) {\n this.version = '8.4.31'\n this.plugins = this.normalize(plugins)\n }\n\n normalize(plugins) {\n let normalized = []\n for (let i of plugins) {\n if (i.postcss === true) {\n i = i()\n } else if (i.postcss) {\n i = i.postcss\n }\n\n if (typeof i === 'object' && Array.isArray(i.plugins)) {\n normalized = normalized.concat(i.plugins)\n } else if (typeof i === 'object' && i.postcssPlugin) {\n normalized.push(i)\n } else if (typeof i === 'function') {\n normalized.push(i)\n } else if (typeof i === 'object' && (i.parse || i.stringify)) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(\n 'PostCSS syntaxes cannot be used as plugins. Instead, please use ' +\n 'one of the syntax/parser/stringifier options as outlined ' +\n 'in your PostCSS runner documentation.'\n )\n }\n } else {\n throw new Error(i + ' is not a PostCSS plugin')\n }\n }\n return normalized\n }\n\n process(css, opts = {}) {\n if (\n this.plugins.length === 0 &&\n typeof opts.parser === 'undefined' &&\n typeof opts.stringifier === 'undefined' &&\n typeof opts.syntax === 'undefined'\n ) {\n return new NoWorkResult(this, css, opts)\n } else {\n return new LazyResult(this, css, opts)\n }\n }\n\n use(plugin) {\n this.plugins = this.plugins.concat(this.normalize([plugin]))\n return this\n }\n}\n\nmodule.exports = Processor\nProcessor.default = Processor\n\nRoot.registerProcessor(Processor)\nDocument.registerProcessor(Processor)\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;AAEA,MAAI,eAAeA,aAAAA,UAAA;AACnB,MAAI,aAAaC,WAAAA,UAAA;AACjB,MAAI,WAAWC,SAAAA,UAAA;AACf,MAAI,OAAOC,KAAAA,UAAA;AAAA,EAEX,MAAM,UAAU;AAAA,IACd,YAAY,UAAU,IAAI;AACxB,WAAK,UAAU;AACf,WAAK,UAAU,KAAK,UAAU,OAAO;AAAA,IAAA;AAAA,IAGvC,UAAU,SAAS;AACjB,UAAI,aAAa,CAAA;AACjB,eAAS,KAAK,SAAS;AACrB,YAAI,EAAE,YAAY,MAAM;AACtB,cAAI,EAAA;AAAA,QAAE,WACG,EAAE,SAAS;AACpB,cAAI,EAAE;AAAA,QAAA;AAGR,YAAI,OAAO,MAAM,YAAY,MAAM,QAAQ,EAAE,OAAO,GAAG;AACrD,uBAAa,WAAW,OAAO,EAAE,OAAO;AAAA,QAAA,WAC/B,OAAO,MAAM,YAAY,EAAE,eAAe;AACnD,qBAAW,KAAK,CAAC;AAAA,QAAA,WACR,OAAO,MAAM,YAAY;AAClC,qBAAW,KAAK,CAAC;AAAA,QAAA,WACR,OAAO,MAAM,aAAa,EAAE,SAAS,EAAE,WAAY;AAAA,aAQvD;AACL,gBAAM,IAAI,MAAM,IAAI,0BAA0B;AAAA,QAAA;AAAA,MAChD;AAEF,aAAO;AAAA,IAAA;AAAA,IAGT,QAAQ,KAAK,OAAO,IAAI;AACtB,UACE,KAAK,QAAQ,WAAW,KACxB,OAAO,KAAK,WAAW,eACvB,OAAO,KAAK,gBAAgB,eAC5B,OAAO,KAAK,WAAW,aACvB;AACA,eAAO,IAAI,aAAa,MAAM,KAAK,IAAI;AAAA,MAAA,OAClC;AACL,eAAO,IAAI,WAAW,MAAM,KAAK,IAAI;AAAA,MAAA;AAAA,IACvC;AAAA,IAGF,IAAI,QAAQ;AACV,WAAK,UAAU,KAAK,QAAQ,OAAO,KAAK,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3D,aAAO;AAAA,IAAA;AAAA,EAEX;AAEA,cAAiB;AACjB,YAAU,UAAU;AAEpB,OAAK,kBAAkB,SAAS;AAChC,WAAS,kBAAkB,SAAS;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { __require as requireNoWorkResult } from "./no-work-result.mjs";
|
|
2
|
+
import { __require as requireLazyResult } from "./lazy-result.mjs";
|
|
3
|
+
import { __require as requireDocument } from "./document.mjs";
|
|
4
|
+
import { __require as requireRoot } from "./root.mjs";
|
|
5
|
+
var processor;
|
|
6
|
+
var hasRequiredProcessor;
|
|
7
|
+
function requireProcessor() {
|
|
8
|
+
if (hasRequiredProcessor) return processor;
|
|
9
|
+
hasRequiredProcessor = 1;
|
|
10
|
+
let NoWorkResult = requireNoWorkResult();
|
|
11
|
+
let LazyResult = requireLazyResult();
|
|
12
|
+
let Document = requireDocument();
|
|
13
|
+
let Root = requireRoot();
|
|
14
|
+
class Processor {
|
|
15
|
+
constructor(plugins = []) {
|
|
16
|
+
this.version = "8.4.31";
|
|
17
|
+
this.plugins = this.normalize(plugins);
|
|
18
|
+
}
|
|
19
|
+
normalize(plugins) {
|
|
20
|
+
let normalized = [];
|
|
21
|
+
for (let i of plugins) {
|
|
22
|
+
if (i.postcss === true) {
|
|
23
|
+
i = i();
|
|
24
|
+
} else if (i.postcss) {
|
|
25
|
+
i = i.postcss;
|
|
26
|
+
}
|
|
27
|
+
if (typeof i === "object" && Array.isArray(i.plugins)) {
|
|
28
|
+
normalized = normalized.concat(i.plugins);
|
|
29
|
+
} else if (typeof i === "object" && i.postcssPlugin) {
|
|
30
|
+
normalized.push(i);
|
|
31
|
+
} else if (typeof i === "function") {
|
|
32
|
+
normalized.push(i);
|
|
33
|
+
} else if (typeof i === "object" && (i.parse || i.stringify)) ;
|
|
34
|
+
else {
|
|
35
|
+
throw new Error(i + " is not a PostCSS plugin");
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return normalized;
|
|
39
|
+
}
|
|
40
|
+
process(css, opts = {}) {
|
|
41
|
+
if (this.plugins.length === 0 && typeof opts.parser === "undefined" && typeof opts.stringifier === "undefined" && typeof opts.syntax === "undefined") {
|
|
42
|
+
return new NoWorkResult(this, css, opts);
|
|
43
|
+
} else {
|
|
44
|
+
return new LazyResult(this, css, opts);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
use(plugin) {
|
|
48
|
+
this.plugins = this.plugins.concat(this.normalize([plugin]));
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
processor = Processor;
|
|
53
|
+
Processor.default = Processor;
|
|
54
|
+
Root.registerProcessor(Processor);
|
|
55
|
+
Document.registerProcessor(Processor);
|
|
56
|
+
return processor;
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
requireProcessor as __require
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=processor.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor.mjs","sources":["../../../../../../node_modules/postcss/lib/processor.js"],"sourcesContent":["'use strict'\n\nlet NoWorkResult = require('./no-work-result')\nlet LazyResult = require('./lazy-result')\nlet Document = require('./document')\nlet Root = require('./root')\n\nclass Processor {\n constructor(plugins = []) {\n this.version = '8.4.31'\n this.plugins = this.normalize(plugins)\n }\n\n normalize(plugins) {\n let normalized = []\n for (let i of plugins) {\n if (i.postcss === true) {\n i = i()\n } else if (i.postcss) {\n i = i.postcss\n }\n\n if (typeof i === 'object' && Array.isArray(i.plugins)) {\n normalized = normalized.concat(i.plugins)\n } else if (typeof i === 'object' && i.postcssPlugin) {\n normalized.push(i)\n } else if (typeof i === 'function') {\n normalized.push(i)\n } else if (typeof i === 'object' && (i.parse || i.stringify)) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(\n 'PostCSS syntaxes cannot be used as plugins. Instead, please use ' +\n 'one of the syntax/parser/stringifier options as outlined ' +\n 'in your PostCSS runner documentation.'\n )\n }\n } else {\n throw new Error(i + ' is not a PostCSS plugin')\n }\n }\n return normalized\n }\n\n process(css, opts = {}) {\n if (\n this.plugins.length === 0 &&\n typeof opts.parser === 'undefined' &&\n typeof opts.stringifier === 'undefined' &&\n typeof opts.syntax === 'undefined'\n ) {\n return new NoWorkResult(this, css, opts)\n } else {\n return new LazyResult(this, css, opts)\n }\n }\n\n use(plugin) {\n this.plugins = this.plugins.concat(this.normalize([plugin]))\n return this\n }\n}\n\nmodule.exports = Processor\nProcessor.default = Processor\n\nRoot.registerProcessor(Processor)\nDocument.registerProcessor(Processor)\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;AAEA,MAAI,eAAeA,oBAAA;AACnB,MAAI,aAAaC,kBAAA;AACjB,MAAI,WAAWC,gBAAA;AACf,MAAI,OAAOC,YAAA;AAAA,EAEX,MAAM,UAAU;AAAA,IACd,YAAY,UAAU,IAAI;AACxB,WAAK,UAAU;AACf,WAAK,UAAU,KAAK,UAAU,OAAO;AAAA,IAAA;AAAA,IAGvC,UAAU,SAAS;AACjB,UAAI,aAAa,CAAA;AACjB,eAAS,KAAK,SAAS;AACrB,YAAI,EAAE,YAAY,MAAM;AACtB,cAAI,EAAA;AAAA,QAAE,WACG,EAAE,SAAS;AACpB,cAAI,EAAE;AAAA,QAAA;AAGR,YAAI,OAAO,MAAM,YAAY,MAAM,QAAQ,EAAE,OAAO,GAAG;AACrD,uBAAa,WAAW,OAAO,EAAE,OAAO;AAAA,QAAA,WAC/B,OAAO,MAAM,YAAY,EAAE,eAAe;AACnD,qBAAW,KAAK,CAAC;AAAA,QAAA,WACR,OAAO,MAAM,YAAY;AAClC,qBAAW,KAAK,CAAC;AAAA,QAAA,WACR,OAAO,MAAM,aAAa,EAAE,SAAS,EAAE,WAAY;AAAA,aAQvD;AACL,gBAAM,IAAI,MAAM,IAAI,0BAA0B;AAAA,QAAA;AAAA,MAChD;AAEF,aAAO;AAAA,IAAA;AAAA,IAGT,QAAQ,KAAK,OAAO,IAAI;AACtB,UACE,KAAK,QAAQ,WAAW,KACxB,OAAO,KAAK,WAAW,eACvB,OAAO,KAAK,gBAAgB,eAC5B,OAAO,KAAK,WAAW,aACvB;AACA,eAAO,IAAI,aAAa,MAAM,KAAK,IAAI;AAAA,MAAA,OAClC;AACL,eAAO,IAAI,WAAW,MAAM,KAAK,IAAI;AAAA,MAAA;AAAA,IACvC;AAAA,IAGF,IAAI,QAAQ;AACV,WAAK,UAAU,KAAK,QAAQ,OAAO,KAAK,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3D,aAAO;AAAA,IAAA;AAAA,EAEX;AAEA,cAAiB;AACjB,YAAU,UAAU;AAEpB,OAAK,kBAAkB,SAAS;AAChC,WAAS,kBAAkB,SAAS;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const warning = require("./warning.js");
|
|
4
|
+
var result;
|
|
5
|
+
var hasRequiredResult;
|
|
6
|
+
function requireResult() {
|
|
7
|
+
if (hasRequiredResult) return result;
|
|
8
|
+
hasRequiredResult = 1;
|
|
9
|
+
let Warning = warning.__require();
|
|
10
|
+
class Result {
|
|
11
|
+
constructor(processor, root, opts) {
|
|
12
|
+
this.processor = processor;
|
|
13
|
+
this.messages = [];
|
|
14
|
+
this.root = root;
|
|
15
|
+
this.opts = opts;
|
|
16
|
+
this.css = void 0;
|
|
17
|
+
this.map = void 0;
|
|
18
|
+
}
|
|
19
|
+
toString() {
|
|
20
|
+
return this.css;
|
|
21
|
+
}
|
|
22
|
+
warn(text, opts = {}) {
|
|
23
|
+
if (!opts.plugin) {
|
|
24
|
+
if (this.lastPlugin && this.lastPlugin.postcssPlugin) {
|
|
25
|
+
opts.plugin = this.lastPlugin.postcssPlugin;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
let warning2 = new Warning(text, opts);
|
|
29
|
+
this.messages.push(warning2);
|
|
30
|
+
return warning2;
|
|
31
|
+
}
|
|
32
|
+
warnings() {
|
|
33
|
+
return this.messages.filter((i) => i.type === "warning");
|
|
34
|
+
}
|
|
35
|
+
get content() {
|
|
36
|
+
return this.css;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
result = Result;
|
|
40
|
+
Result.default = Result;
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
exports.__require = requireResult;
|
|
44
|
+
//# sourceMappingURL=result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.js","sources":["../../../../../../node_modules/postcss/lib/result.js"],"sourcesContent":["'use strict'\n\nlet Warning = require('./warning')\n\nclass Result {\n constructor(processor, root, opts) {\n this.processor = processor\n this.messages = []\n this.root = root\n this.opts = opts\n this.css = undefined\n this.map = undefined\n }\n\n toString() {\n return this.css\n }\n\n warn(text, opts = {}) {\n if (!opts.plugin) {\n if (this.lastPlugin && this.lastPlugin.postcssPlugin) {\n opts.plugin = this.lastPlugin.postcssPlugin\n }\n }\n\n let warning = new Warning(text, opts)\n this.messages.push(warning)\n\n return warning\n }\n\n warnings() {\n return this.messages.filter(i => i.type === 'warning')\n }\n\n get content() {\n return this.css\n }\n}\n\nmodule.exports = Result\nResult.default = Result\n"],"names":["require$$0","warning"],"mappings":";;;;;;;;AAEA,MAAI,UAAUA,QAAAA,UAAA;AAAA,EAEd,MAAM,OAAO;AAAA,IACX,YAAY,WAAW,MAAM,MAAM;AACjC,WAAK,YAAY;AACjB,WAAK,WAAW,CAAA;AAChB,WAAK,OAAO;AACZ,WAAK,OAAO;AACZ,WAAK,MAAM;AACX,WAAK,MAAM;AAAA,IACf;AAAA,IAEE,WAAW;AACT,aAAO,KAAK;AAAA,IAChB;AAAA,IAEE,KAAK,MAAM,OAAO,IAAI;AACpB,UAAI,CAAC,KAAK,QAAQ;AAChB,YAAI,KAAK,cAAc,KAAK,WAAW,eAAe;AACpD,eAAK,SAAS,KAAK,WAAW;AAAA,QACtC;AAAA,MACA;AAEI,UAAIC,WAAU,IAAI,QAAQ,MAAM,IAAI;AACpC,WAAK,SAAS,KAAKA,QAAO;AAE1B,aAAOA;AAAA,IACX;AAAA,IAEE,WAAW;AACT,aAAO,KAAK,SAAS,OAAO,OAAK,EAAE,SAAS,SAAS;AAAA,IACzD;AAAA,IAEE,IAAI,UAAU;AACZ,aAAO,KAAK;AAAA,IAChB;AAAA,EACA;AAEA,WAAiB;AACjB,SAAO,UAAU;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { __require as requireWarning } from "./warning.mjs";
|
|
2
|
+
var result;
|
|
3
|
+
var hasRequiredResult;
|
|
4
|
+
function requireResult() {
|
|
5
|
+
if (hasRequiredResult) return result;
|
|
6
|
+
hasRequiredResult = 1;
|
|
7
|
+
let Warning = requireWarning();
|
|
8
|
+
class Result {
|
|
9
|
+
constructor(processor, root, opts) {
|
|
10
|
+
this.processor = processor;
|
|
11
|
+
this.messages = [];
|
|
12
|
+
this.root = root;
|
|
13
|
+
this.opts = opts;
|
|
14
|
+
this.css = void 0;
|
|
15
|
+
this.map = void 0;
|
|
16
|
+
}
|
|
17
|
+
toString() {
|
|
18
|
+
return this.css;
|
|
19
|
+
}
|
|
20
|
+
warn(text, opts = {}) {
|
|
21
|
+
if (!opts.plugin) {
|
|
22
|
+
if (this.lastPlugin && this.lastPlugin.postcssPlugin) {
|
|
23
|
+
opts.plugin = this.lastPlugin.postcssPlugin;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
let warning = new Warning(text, opts);
|
|
27
|
+
this.messages.push(warning);
|
|
28
|
+
return warning;
|
|
29
|
+
}
|
|
30
|
+
warnings() {
|
|
31
|
+
return this.messages.filter((i) => i.type === "warning");
|
|
32
|
+
}
|
|
33
|
+
get content() {
|
|
34
|
+
return this.css;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
result = Result;
|
|
38
|
+
Result.default = Result;
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
requireResult as __require
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=result.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.mjs","sources":["../../../../../../node_modules/postcss/lib/result.js"],"sourcesContent":["'use strict'\n\nlet Warning = require('./warning')\n\nclass Result {\n constructor(processor, root, opts) {\n this.processor = processor\n this.messages = []\n this.root = root\n this.opts = opts\n this.css = undefined\n this.map = undefined\n }\n\n toString() {\n return this.css\n }\n\n warn(text, opts = {}) {\n if (!opts.plugin) {\n if (this.lastPlugin && this.lastPlugin.postcssPlugin) {\n opts.plugin = this.lastPlugin.postcssPlugin\n }\n }\n\n let warning = new Warning(text, opts)\n this.messages.push(warning)\n\n return warning\n }\n\n warnings() {\n return this.messages.filter(i => i.type === 'warning')\n }\n\n get content() {\n return this.css\n }\n}\n\nmodule.exports = Result\nResult.default = Result\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,MAAI,UAAUA,eAAA;AAAA,EAEd,MAAM,OAAO;AAAA,IACX,YAAY,WAAW,MAAM,MAAM;AACjC,WAAK,YAAY;AACjB,WAAK,WAAW,CAAA;AAChB,WAAK,OAAO;AACZ,WAAK,OAAO;AACZ,WAAK,MAAM;AACX,WAAK,MAAM;AAAA,IACf;AAAA,IAEE,WAAW;AACT,aAAO,KAAK;AAAA,IAChB;AAAA,IAEE,KAAK,MAAM,OAAO,IAAI;AACpB,UAAI,CAAC,KAAK,QAAQ;AAChB,YAAI,KAAK,cAAc,KAAK,WAAW,eAAe;AACpD,eAAK,SAAS,KAAK,WAAW;AAAA,QACtC;AAAA,MACA;AAEI,UAAI,UAAU,IAAI,QAAQ,MAAM,IAAI;AACpC,WAAK,SAAS,KAAK,OAAO;AAE1B,aAAO;AAAA,IACX;AAAA,IAEE,WAAW;AACT,aAAO,KAAK,SAAS,OAAO,OAAK,EAAE,SAAS,SAAS;AAAA,IACzD;AAAA,IAEE,IAAI,UAAU;AACZ,aAAO,KAAK;AAAA,IAChB;AAAA,EACA;AAEA,WAAiB;AACjB,SAAO,UAAU;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const container = require("./container.js");
|
|
4
|
+
var root;
|
|
5
|
+
var hasRequiredRoot;
|
|
6
|
+
function requireRoot() {
|
|
7
|
+
if (hasRequiredRoot) return root;
|
|
8
|
+
hasRequiredRoot = 1;
|
|
9
|
+
let Container = container.__require();
|
|
10
|
+
let LazyResult, Processor;
|
|
11
|
+
class Root extends Container {
|
|
12
|
+
constructor(defaults) {
|
|
13
|
+
super(defaults);
|
|
14
|
+
this.type = "root";
|
|
15
|
+
if (!this.nodes) this.nodes = [];
|
|
16
|
+
}
|
|
17
|
+
normalize(child, sample, type) {
|
|
18
|
+
let nodes = super.normalize(child);
|
|
19
|
+
if (sample) {
|
|
20
|
+
if (type === "prepend") {
|
|
21
|
+
if (this.nodes.length > 1) {
|
|
22
|
+
sample.raws.before = this.nodes[1].raws.before;
|
|
23
|
+
} else {
|
|
24
|
+
delete sample.raws.before;
|
|
25
|
+
}
|
|
26
|
+
} else if (this.first !== sample) {
|
|
27
|
+
for (let node of nodes) {
|
|
28
|
+
node.raws.before = sample.raws.before;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return nodes;
|
|
33
|
+
}
|
|
34
|
+
removeChild(child, ignore) {
|
|
35
|
+
let index = this.index(child);
|
|
36
|
+
if (!ignore && index === 0 && this.nodes.length > 1) {
|
|
37
|
+
this.nodes[1].raws.before = this.nodes[index].raws.before;
|
|
38
|
+
}
|
|
39
|
+
return super.removeChild(child);
|
|
40
|
+
}
|
|
41
|
+
toResult(opts = {}) {
|
|
42
|
+
let lazy = new LazyResult(new Processor(), this, opts);
|
|
43
|
+
return lazy.stringify();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
Root.registerLazyResult = (dependant) => {
|
|
47
|
+
LazyResult = dependant;
|
|
48
|
+
};
|
|
49
|
+
Root.registerProcessor = (dependant) => {
|
|
50
|
+
Processor = dependant;
|
|
51
|
+
};
|
|
52
|
+
root = Root;
|
|
53
|
+
Root.default = Root;
|
|
54
|
+
Container.registerRoot(Root);
|
|
55
|
+
return root;
|
|
56
|
+
}
|
|
57
|
+
exports.__require = requireRoot;
|
|
58
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.js","sources":["../../../../../../node_modules/postcss/lib/root.js"],"sourcesContent":["'use strict'\n\nlet Container = require('./container')\n\nlet LazyResult, Processor\n\nclass Root extends Container {\n constructor(defaults) {\n super(defaults)\n this.type = 'root'\n if (!this.nodes) this.nodes = []\n }\n\n normalize(child, sample, type) {\n let nodes = super.normalize(child)\n\n if (sample) {\n if (type === 'prepend') {\n if (this.nodes.length > 1) {\n sample.raws.before = this.nodes[1].raws.before\n } else {\n delete sample.raws.before\n }\n } else if (this.first !== sample) {\n for (let node of nodes) {\n node.raws.before = sample.raws.before\n }\n }\n }\n\n return nodes\n }\n\n removeChild(child, ignore) {\n let index = this.index(child)\n\n if (!ignore && index === 0 && this.nodes.length > 1) {\n this.nodes[1].raws.before = this.nodes[index].raws.before\n }\n\n return super.removeChild(child)\n }\n\n toResult(opts = {}) {\n let lazy = new LazyResult(new Processor(), this, opts)\n return lazy.stringify()\n }\n}\n\nRoot.registerLazyResult = dependant => {\n LazyResult = dependant\n}\n\nRoot.registerProcessor = dependant => {\n Processor = dependant\n}\n\nmodule.exports = Root\nRoot.default = Root\n\nContainer.registerRoot(Root)\n"],"names":["require$$0"],"mappings":";;;;;;;;AAEA,MAAI,YAAYA,UAAAA,UAAA;AAEhB,MAAI,YAAY;AAAA,EAEhB,MAAM,aAAa,UAAU;AAAA,IAC3B,YAAY,UAAU;AACpB,YAAM,QAAQ;AACd,WAAK,OAAO;AACZ,UAAI,CAAC,KAAK,MAAO,MAAK,QAAQ,CAAA;AAAA,IAClC;AAAA,IAEE,UAAU,OAAO,QAAQ,MAAM;AAC7B,UAAI,QAAQ,MAAM,UAAU,KAAK;AAEjC,UAAI,QAAQ;AACV,YAAI,SAAS,WAAW;AACtB,cAAI,KAAK,MAAM,SAAS,GAAG;AACzB,mBAAO,KAAK,SAAS,KAAK,MAAM,CAAC,EAAE,KAAK;AAAA,UAClD,OAAe;AACL,mBAAO,OAAO,KAAK;AAAA,UAC7B;AAAA,QACA,WAAiB,KAAK,UAAU,QAAQ;AAChC,mBAAS,QAAQ,OAAO;AACtB,iBAAK,KAAK,SAAS,OAAO,KAAK;AAAA,UACzC;AAAA,QACA;AAAA,MACA;AAEI,aAAO;AAAA,IACX;AAAA,IAEE,YAAY,OAAO,QAAQ;AACzB,UAAI,QAAQ,KAAK,MAAM,KAAK;AAE5B,UAAI,CAAC,UAAU,UAAU,KAAK,KAAK,MAAM,SAAS,GAAG;AACnD,aAAK,MAAM,CAAC,EAAE,KAAK,SAAS,KAAK,MAAM,KAAK,EAAE,KAAK;AAAA,MACzD;AAEI,aAAO,MAAM,YAAY,KAAK;AAAA,IAClC;AAAA,IAEE,SAAS,OAAO,IAAI;AAClB,UAAI,OAAO,IAAI,WAAW,IAAI,UAAS,GAAI,MAAM,IAAI;AACrD,aAAO,KAAK,UAAS;AAAA,IACzB;AAAA,EACA;AAEA,OAAK,qBAAqB,eAAa;AACrC,iBAAa;AAAA,EACf;AAEA,OAAK,oBAAoB,eAAa;AACpC,gBAAY;AAAA,EACd;AAEA,SAAiB;AACjB,OAAK,UAAU;AAEf,YAAU,aAAa,IAAI;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { __require as requireContainer } from "./container.mjs";
|
|
2
|
+
var root;
|
|
3
|
+
var hasRequiredRoot;
|
|
4
|
+
function requireRoot() {
|
|
5
|
+
if (hasRequiredRoot) return root;
|
|
6
|
+
hasRequiredRoot = 1;
|
|
7
|
+
let Container = requireContainer();
|
|
8
|
+
let LazyResult, Processor;
|
|
9
|
+
class Root extends Container {
|
|
10
|
+
constructor(defaults) {
|
|
11
|
+
super(defaults);
|
|
12
|
+
this.type = "root";
|
|
13
|
+
if (!this.nodes) this.nodes = [];
|
|
14
|
+
}
|
|
15
|
+
normalize(child, sample, type) {
|
|
16
|
+
let nodes = super.normalize(child);
|
|
17
|
+
if (sample) {
|
|
18
|
+
if (type === "prepend") {
|
|
19
|
+
if (this.nodes.length > 1) {
|
|
20
|
+
sample.raws.before = this.nodes[1].raws.before;
|
|
21
|
+
} else {
|
|
22
|
+
delete sample.raws.before;
|
|
23
|
+
}
|
|
24
|
+
} else if (this.first !== sample) {
|
|
25
|
+
for (let node of nodes) {
|
|
26
|
+
node.raws.before = sample.raws.before;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return nodes;
|
|
31
|
+
}
|
|
32
|
+
removeChild(child, ignore) {
|
|
33
|
+
let index = this.index(child);
|
|
34
|
+
if (!ignore && index === 0 && this.nodes.length > 1) {
|
|
35
|
+
this.nodes[1].raws.before = this.nodes[index].raws.before;
|
|
36
|
+
}
|
|
37
|
+
return super.removeChild(child);
|
|
38
|
+
}
|
|
39
|
+
toResult(opts = {}) {
|
|
40
|
+
let lazy = new LazyResult(new Processor(), this, opts);
|
|
41
|
+
return lazy.stringify();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
Root.registerLazyResult = (dependant) => {
|
|
45
|
+
LazyResult = dependant;
|
|
46
|
+
};
|
|
47
|
+
Root.registerProcessor = (dependant) => {
|
|
48
|
+
Processor = dependant;
|
|
49
|
+
};
|
|
50
|
+
root = Root;
|
|
51
|
+
Root.default = Root;
|
|
52
|
+
Container.registerRoot(Root);
|
|
53
|
+
return root;
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
requireRoot as __require
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=root.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.mjs","sources":["../../../../../../node_modules/postcss/lib/root.js"],"sourcesContent":["'use strict'\n\nlet Container = require('./container')\n\nlet LazyResult, Processor\n\nclass Root extends Container {\n constructor(defaults) {\n super(defaults)\n this.type = 'root'\n if (!this.nodes) this.nodes = []\n }\n\n normalize(child, sample, type) {\n let nodes = super.normalize(child)\n\n if (sample) {\n if (type === 'prepend') {\n if (this.nodes.length > 1) {\n sample.raws.before = this.nodes[1].raws.before\n } else {\n delete sample.raws.before\n }\n } else if (this.first !== sample) {\n for (let node of nodes) {\n node.raws.before = sample.raws.before\n }\n }\n }\n\n return nodes\n }\n\n removeChild(child, ignore) {\n let index = this.index(child)\n\n if (!ignore && index === 0 && this.nodes.length > 1) {\n this.nodes[1].raws.before = this.nodes[index].raws.before\n }\n\n return super.removeChild(child)\n }\n\n toResult(opts = {}) {\n let lazy = new LazyResult(new Processor(), this, opts)\n return lazy.stringify()\n }\n}\n\nRoot.registerLazyResult = dependant => {\n LazyResult = dependant\n}\n\nRoot.registerProcessor = dependant => {\n Processor = dependant\n}\n\nmodule.exports = Root\nRoot.default = Root\n\nContainer.registerRoot(Root)\n"],"names":["require$$0"],"mappings":";;;;;;AAEA,MAAI,YAAYA,iBAAA;AAEhB,MAAI,YAAY;AAAA,EAEhB,MAAM,aAAa,UAAU;AAAA,IAC3B,YAAY,UAAU;AACpB,YAAM,QAAQ;AACd,WAAK,OAAO;AACZ,UAAI,CAAC,KAAK,MAAO,MAAK,QAAQ,CAAA;AAAA,IAClC;AAAA,IAEE,UAAU,OAAO,QAAQ,MAAM;AAC7B,UAAI,QAAQ,MAAM,UAAU,KAAK;AAEjC,UAAI,QAAQ;AACV,YAAI,SAAS,WAAW;AACtB,cAAI,KAAK,MAAM,SAAS,GAAG;AACzB,mBAAO,KAAK,SAAS,KAAK,MAAM,CAAC,EAAE,KAAK;AAAA,UAClD,OAAe;AACL,mBAAO,OAAO,KAAK;AAAA,UAC7B;AAAA,QACA,WAAiB,KAAK,UAAU,QAAQ;AAChC,mBAAS,QAAQ,OAAO;AACtB,iBAAK,KAAK,SAAS,OAAO,KAAK;AAAA,UACzC;AAAA,QACA;AAAA,MACA;AAEI,aAAO;AAAA,IACX;AAAA,IAEE,YAAY,OAAO,QAAQ;AACzB,UAAI,QAAQ,KAAK,MAAM,KAAK;AAE5B,UAAI,CAAC,UAAU,UAAU,KAAK,KAAK,MAAM,SAAS,GAAG;AACnD,aAAK,MAAM,CAAC,EAAE,KAAK,SAAS,KAAK,MAAM,KAAK,EAAE,KAAK;AAAA,MACzD;AAEI,aAAO,MAAM,YAAY,KAAK;AAAA,IAClC;AAAA,IAEE,SAAS,OAAO,IAAI;AAClB,UAAI,OAAO,IAAI,WAAW,IAAI,UAAS,GAAI,MAAM,IAAI;AACrD,aAAO,KAAK,UAAS;AAAA,IACzB;AAAA,EACA;AAEA,OAAK,qBAAqB,eAAa;AACrC,iBAAa;AAAA,EACf;AAEA,OAAK,oBAAoB,eAAa;AACpC,gBAAY;AAAA,EACd;AAEA,SAAiB;AACjB,OAAK,UAAU;AAEf,YAAU,aAAa,IAAI;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const container = require("./container.js");
|
|
4
|
+
const list = require("./list.js");
|
|
5
|
+
var rule;
|
|
6
|
+
var hasRequiredRule;
|
|
7
|
+
function requireRule() {
|
|
8
|
+
if (hasRequiredRule) return rule;
|
|
9
|
+
hasRequiredRule = 1;
|
|
10
|
+
let Container = container.__require();
|
|
11
|
+
let list$1 = list.__require();
|
|
12
|
+
class Rule extends Container {
|
|
13
|
+
constructor(defaults) {
|
|
14
|
+
super(defaults);
|
|
15
|
+
this.type = "rule";
|
|
16
|
+
if (!this.nodes) this.nodes = [];
|
|
17
|
+
}
|
|
18
|
+
get selectors() {
|
|
19
|
+
return list$1.comma(this.selector);
|
|
20
|
+
}
|
|
21
|
+
set selectors(values) {
|
|
22
|
+
let match = this.selector ? this.selector.match(/,\s*/) : null;
|
|
23
|
+
let sep = match ? match[0] : "," + this.raw("between", "beforeOpen");
|
|
24
|
+
this.selector = values.join(sep);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
rule = Rule;
|
|
28
|
+
Rule.default = Rule;
|
|
29
|
+
Container.registerRule(Rule);
|
|
30
|
+
return rule;
|
|
31
|
+
}
|
|
32
|
+
exports.__require = requireRule;
|
|
33
|
+
//# sourceMappingURL=rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.js","sources":["../../../../../../node_modules/postcss/lib/rule.js"],"sourcesContent":["'use strict'\n\nlet Container = require('./container')\nlet list = require('./list')\n\nclass Rule extends Container {\n constructor(defaults) {\n super(defaults)\n this.type = 'rule'\n if (!this.nodes) this.nodes = []\n }\n\n get selectors() {\n return list.comma(this.selector)\n }\n\n set selectors(values) {\n let match = this.selector ? this.selector.match(/,\\s*/) : null\n let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen')\n this.selector = values.join(sep)\n }\n}\n\nmodule.exports = Rule\nRule.default = Rule\n\nContainer.registerRule(Rule)\n"],"names":["require$$0","list","require$$1"],"mappings":";;;;;;;;;AAEA,MAAI,YAAYA,UAAAA,UAAA;AAChB,MAAIC,SAAOC,KAAAA,UAAA;AAAA,EAEX,MAAM,aAAa,UAAU;AAAA,IAC3B,YAAY,UAAU;AACpB,YAAM,QAAQ;AACd,WAAK,OAAO;AACZ,UAAI,CAAC,KAAK,MAAO,MAAK,QAAQ,CAAA;AAAA,IAClC;AAAA,IAEE,IAAI,YAAY;AACd,aAAOD,OAAK,MAAM,KAAK,QAAQ;AAAA,IACnC;AAAA,IAEE,IAAI,UAAU,QAAQ;AACpB,UAAI,QAAQ,KAAK,WAAW,KAAK,SAAS,MAAM,MAAM,IAAI;AAC1D,UAAI,MAAM,QAAQ,MAAM,CAAC,IAAI,MAAM,KAAK,IAAI,WAAW,YAAY;AACnE,WAAK,WAAW,OAAO,KAAK,GAAG;AAAA,IACnC;AAAA,EACA;AAEA,SAAiB;AACjB,OAAK,UAAU;AAEf,YAAU,aAAa,IAAI;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __require as requireContainer } from "./container.mjs";
|
|
2
|
+
import { __require as requireList } from "./list.mjs";
|
|
3
|
+
var rule;
|
|
4
|
+
var hasRequiredRule;
|
|
5
|
+
function requireRule() {
|
|
6
|
+
if (hasRequiredRule) return rule;
|
|
7
|
+
hasRequiredRule = 1;
|
|
8
|
+
let Container = requireContainer();
|
|
9
|
+
let list = requireList();
|
|
10
|
+
class Rule extends Container {
|
|
11
|
+
constructor(defaults) {
|
|
12
|
+
super(defaults);
|
|
13
|
+
this.type = "rule";
|
|
14
|
+
if (!this.nodes) this.nodes = [];
|
|
15
|
+
}
|
|
16
|
+
get selectors() {
|
|
17
|
+
return list.comma(this.selector);
|
|
18
|
+
}
|
|
19
|
+
set selectors(values) {
|
|
20
|
+
let match = this.selector ? this.selector.match(/,\s*/) : null;
|
|
21
|
+
let sep = match ? match[0] : "," + this.raw("between", "beforeOpen");
|
|
22
|
+
this.selector = values.join(sep);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
rule = Rule;
|
|
26
|
+
Rule.default = Rule;
|
|
27
|
+
Container.registerRule(Rule);
|
|
28
|
+
return rule;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
requireRule as __require
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=rule.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.mjs","sources":["../../../../../../node_modules/postcss/lib/rule.js"],"sourcesContent":["'use strict'\n\nlet Container = require('./container')\nlet list = require('./list')\n\nclass Rule extends Container {\n constructor(defaults) {\n super(defaults)\n this.type = 'rule'\n if (!this.nodes) this.nodes = []\n }\n\n get selectors() {\n return list.comma(this.selector)\n }\n\n set selectors(values) {\n let match = this.selector ? this.selector.match(/,\\s*/) : null\n let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen')\n this.selector = values.join(sep)\n }\n}\n\nmodule.exports = Rule\nRule.default = Rule\n\nContainer.registerRule(Rule)\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;AAEA,MAAI,YAAYA,iBAAA;AAChB,MAAI,OAAOC,YAAA;AAAA,EAEX,MAAM,aAAa,UAAU;AAAA,IAC3B,YAAY,UAAU;AACpB,YAAM,QAAQ;AACd,WAAK,OAAO;AACZ,UAAI,CAAC,KAAK,MAAO,MAAK,QAAQ,CAAA;AAAA,IAClC;AAAA,IAEE,IAAI,YAAY;AACd,aAAO,KAAK,MAAM,KAAK,QAAQ;AAAA,IACnC;AAAA,IAEE,IAAI,UAAU,QAAQ;AACpB,UAAI,QAAQ,KAAK,WAAW,KAAK,SAAS,MAAM,MAAM,IAAI;AAC1D,UAAI,MAAM,QAAQ,MAAM,CAAC,IAAI,MAAM,KAAK,IAAI,WAAW,YAAY;AACnE,WAAK,WAAW,OAAO,KAAK,GAAG;AAAA,IACnC;AAAA,EACA;AAEA,SAAiB;AACjB,OAAK,UAAU;AAEf,YAAU,aAAa,IAAI;;;","x_google_ignoreList":[0]}
|