vue-devui 1.6.28 → 1.6.30
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/code-review/index.es.js +2 -1
- package/code-review/index.umd.js +17 -17
- package/editor-md/index.es.js +58 -21
- package/editor-md/index.umd.js +43 -43
- package/git-graph/index.es.js +23 -13
- package/git-graph/index.umd.js +17 -17
- package/git-graph/style.css +1 -0
- package/nuxt/components/GitGraph.js +1 -0
- package/nuxt/components/gitGraphProps.js +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/editor-md/src/composables/md-render-service.d.ts +1 -0
- package/types/editor-md/src/toolbar-config.d.ts +3 -0
- package/types/git-graph/src/git-graph.d.ts +1 -0
- package/vue-devui.es.js +84 -36
- package/vue-devui.umd.js +73 -73
package/code-review/index.es.js
CHANGED
|
@@ -6832,7 +6832,8 @@ function parseCodeToSingle(container, code, options) {
|
|
|
6832
6832
|
diff2HtmlUi.draw();
|
|
6833
6833
|
}
|
|
6834
6834
|
function generateNumberTdObj(tdNodes) {
|
|
6835
|
-
|
|
6835
|
+
var _a;
|
|
6836
|
+
const lineNumber = ((_a = tdNodes[0]) == null ? void 0 : _a.innerText) ? parseInt(tdNodes[0].innerText) : -1;
|
|
6836
6837
|
if (lineNumber !== -1) {
|
|
6837
6838
|
return { [lineNumber]: tdNodes };
|
|
6838
6839
|
}
|