@qualcomm-ui/mdx-vite 2.12.0 → 2.14.1
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/dist/angular-demo-plugin/angular-demo-plugin.d.ts.map +1 -1
- package/dist/cli.js +9 -5
- package/dist/cli.js.map +2 -2
- package/dist/index.js +33 -24
- package/dist/index.js.map +3 -3
- package/dist/open-web-ui-knowledge/generate-knowledge.d.ts.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"angular-demo-plugin.d.ts","sourceRoot":"","sources":["../../src/angular-demo-plugin/angular-demo-plugin.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC/B,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,EAAC,MAAM,EAAgB,MAAM,MAAM,CAAA;AAiB/C,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE;QACN,IAAI,EACA,oBAAoB,GACpB,iBAAiB,GACjB,yBAAyB,GACzB,MAAM,CAAA;QACV,KAAK,EACD,oBAAoB,GACpB,iBAAiB,GACjB,yBAAyB,GACzB,MAAM,CAAA;KACX,CAAA;IACD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC;AAmCD,wBAAgB,iBAAiB,CAAC,EAChC,WAAwC,EACxC,WAAW,EACX,SAAwB,EACxB,KAGC,EACD,uBAAuB,GACxB,GAAE,wBAA6B,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"angular-demo-plugin.d.ts","sourceRoot":"","sources":["../../src/angular-demo-plugin/angular-demo-plugin.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC/B,MAAM,OAAO,CAAA;AAEd,OAAO,KAAK,EAAC,MAAM,EAAgB,MAAM,MAAM,CAAA;AAiB/C,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE;QACN,IAAI,EACA,oBAAoB,GACpB,iBAAiB,GACjB,yBAAyB,GACzB,MAAM,CAAA;QACV,KAAK,EACD,oBAAoB,GACpB,iBAAiB,GACjB,yBAAyB,GACzB,MAAM,CAAA;KACX,CAAA;IACD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC;AAmCD,wBAAgB,iBAAiB,CAAC,EAChC,WAAwC,EACxC,WAAW,EACX,SAAwB,EACxB,KAGC,EACD,uBAAuB,GACxB,GAAE,wBAA6B,GAAG,MAAM,CA0+BxC"}
|
package/dist/cli.js
CHANGED
|
@@ -6069,7 +6069,7 @@ var KnowledgeGenerator = class {
|
|
|
6069
6069
|
return docProps;
|
|
6070
6070
|
} catch (error) {
|
|
6071
6071
|
if (this.config.verbose) {
|
|
6072
|
-
console.log(
|
|
6072
|
+
console.log("Error loading doc props", error);
|
|
6073
6073
|
}
|
|
6074
6074
|
return null;
|
|
6075
6075
|
}
|
|
@@ -6166,7 +6166,7 @@ var KnowledgeGenerator = class {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
} catch (error) {
|
|
6168
6168
|
if (this.config.verbose) {
|
|
6169
|
-
console.log(`
|
|
6169
|
+
console.log(`Error processing ${normalizedPath}`, error);
|
|
6170
6170
|
}
|
|
6171
6171
|
}
|
|
6172
6172
|
return modules;
|
|
@@ -6283,6 +6283,10 @@ ${codeText}
|
|
|
6283
6283
|
const path = this.getAttrExpression(node, "data");
|
|
6284
6284
|
return path && getPath(themes, path);
|
|
6285
6285
|
},
|
|
6286
|
+
SpacingTable: (node) => {
|
|
6287
|
+
const path = this.getAttrExpression(node, "data");
|
|
6288
|
+
return path && getPath(themes, path);
|
|
6289
|
+
},
|
|
6286
6290
|
ThemePropertyTable: (node) => {
|
|
6287
6291
|
const path = this.getAttrExpression(node, "data");
|
|
6288
6292
|
const property = this.getAttrExpression(node, "cssProperty");
|
|
@@ -6519,7 +6523,7 @@ ${propsToDefinitionList(outputs)}`);
|
|
|
6519
6523
|
});
|
|
6520
6524
|
} catch (error) {
|
|
6521
6525
|
if (this.config.verbose) {
|
|
6522
|
-
console.log(`
|
|
6526
|
+
console.log(`Error reading demo ${demoName}`, error);
|
|
6523
6527
|
}
|
|
6524
6528
|
if (parent && index !== void 0) {
|
|
6525
6529
|
parent.children.splice(index, 1);
|
|
@@ -6609,7 +6613,7 @@ ${propsToDefinitionList(outputs)}`);
|
|
|
6609
6613
|
throw error;
|
|
6610
6614
|
}
|
|
6611
6615
|
}
|
|
6612
|
-
|
|
6616
|
+
generateLlmsTxt(pages) {
|
|
6613
6617
|
const lines = [
|
|
6614
6618
|
getIntroLines(this.config.name, this.config.description)
|
|
6615
6619
|
];
|
|
@@ -6632,7 +6636,7 @@ ${propsToDefinitionList(outputs)}`);
|
|
|
6632
6636
|
return lines.join("\n");
|
|
6633
6637
|
}
|
|
6634
6638
|
async generateAggregatedOutput(processedPages, pages) {
|
|
6635
|
-
const llmsTxtContent =
|
|
6639
|
+
const llmsTxtContent = this.generateLlmsTxt(processedPages);
|
|
6636
6640
|
await mkdir2(dirname(this.config.outputPath), { recursive: true }).catch(
|
|
6637
6641
|
() => {
|
|
6638
6642
|
}
|