vue-devui 1.6.21 → 1.6.22
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 +1 -0
- package/code-review/index.umd.js +1 -1
- package/editor-md/index.es.js +5 -9
- package/editor-md/index.umd.js +19 -23
- package/package.json +1 -1
- package/types/editor-md/src/icons-config.d.ts +1 -1
- package/vue-devui.es.js +7 -10
- package/vue-devui.umd.js +7 -11
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export declare const BOLD_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"
|
|
|
5
5
|
export declare const ITALIC_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <polygon id=\"\u8DEF\u5F84\" points=\"6 15 9 1 6 1 6 0 13 0 13 1 10 1 7 15 10 15 10 16 3 16 3 15\"></polygon>\n </g>\n</g>\n</svg>";
|
|
6
6
|
export declare const UNDERLINE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <path d=\"M4,0 L4,7 C4,9.209139 5.790861,11 8,11 C10.209139,11 12,9.209139 12,7 L12,0 L13,0 L13,7 C13,9.76142375 10.7614237,12 8,12 C5.23857625,12 3,9.76142375 3,7 L3,0 L4,0 Z M2,14 L14,14 L14,16 L2,16 L2,14 Z\" id=\"\u5F62\u72B6\"></path>\n </g>\n</g>\n</svg>";
|
|
7
7
|
export declare const STRIKE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <path d=\"M16,8 L16,10 L11.4648712,10 C11.8052114,10.5883467 12,11.2714257 12,12 C12,14.209139 10.209139,16 8,16 C5.790861,16 4,14.209139 4,12 C4,11.6547004 4.043753,11.3196199 4.12601749,11 L5.17070571,11 C5.06015422,11.3127789 5,11.6493646 5,12 C5,13.6568542 6.34314575,15 8,15 C9.65685425,15 11,13.6568542 11,12 C11,11.2316456 10.7111464,10.5307565 10.2361065,10 L0,10 L0,8 L5.3541756,8 C4.52375489,7.26705555 4,6.19469253 4,5 C4,2.790861 5.790861,1 8,1 C10.209139,1 12,2.790861 12,5 C12,5.72857429 11.8052114,6.41165327 11.4648712,7 L10.2361065,7 C10.7111464,6.46924351 11,5.76835444 11,5 C11,3.34314575 9.65685425,2 8,2 C6.34314575,2 5,3.34314575 5,5 C5,6.65685425 6.34314575,8 8,8 L16,8 Z M4.53512878,10 L5.76389349,10 L4.53512878,10 L4.53512878,10 Z\" id=\"\u5F62\u72B6\"></path>\n </g>\n</g>\n</svg>";
|
|
8
|
-
export declare const COLOR_ICON = "<svg width=\"
|
|
8
|
+
export declare const COLOR_ICON = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.05597 9.5L4.05895 12H2.94092L7.55273 0.776367H8.44716L13.059 12H11.9409L10.9439 9.5H5.05597ZM5.45477 8.5H10.5451L7.99995 2.11801L5.45477 8.5Z\" fill=\"#3B3E55\"/>\n <path d=\"M1 13H15V16H1V13Z\" fill=\"#3B3E55\"/>\n</svg>";
|
|
9
9
|
export declare const BACKGROUND_COLOR_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g id=\"edit-icon/background-color\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <g>\n <path d=\"M10.4761905,8 L5.52380952,8 L4,12 L3,12 L7.5,-3.84581256e-13 L8.5,-3.84581256e-13 L13,12 L12,12 L10.4761905,8 L10.4761905,8 Z M10.0952381,7 L8,1.5 L5.9047619,7 L10.0952381,7 Z M2,14 L14,14 L14,16 L2,16 L2,14 Z\" id=\"\u5F62\u72B6\"></path>\n </g>\n </g>\n</g>\n</svg>";
|
|
10
10
|
export declare const LIST_UNORDERED_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g id=\"edit-icon/unordered-list\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <g>\n <path d=\"M5,1 L16,1 L16,2.5 L5,2.5 L5,1 Z M2,4 C0.8954305,4 0,3.1045695 0,2 C0,0.8954305 0.8954305,0 2,0 C3.1045695,0 4,0.8954305 4,2 C4,3.1045695 3.1045695,4 2,4 Z M2,3 C2.55228475,3 3,2.55228475 3,2 C3,1.44771525 2.55228475,1 2,1 C1.44771525,1 1,1.44771525 1,2 C1,2.55228475 1.44771525,3 2,3 Z M2,10 C0.8954305,10 0,9.1045695 0,8 C0,6.8954305 0.8954305,6 2,6 C3.1045695,6 4,6.8954305 4,8 C4,9.1045695 3.1045695,10 2,10 Z M2,9 C2.55228475,9 3,8.55228475 3,8 C3,7.44771525 2.55228475,7 2,7 C1.44771525,7 1,7.44771525 1,8 C1,8.55228475 1.44771525,9 2,9 Z M2,16 C0.8954305,16 0,15.1045695 0,14 C0,12.8954305 0.8954305,12 2,12 C3.1045695,12 4,12.8954305 4,14 C4,15.1045695 3.1045695,16 2,16 Z M2,15 C2.55228475,15 3,14.5522847 3,14 C3,13.4477153 2.55228475,13 2,13 C1.44771525,13 1,13.4477153 1,14 C1,14.5522847 1.44771525,15 2,15 Z M5,7 L16,7 L16,8.5 L5,8.5 L5,7 Z M5,13 L16,13 L16,14.5 L5,14.5 L5,13 Z\" id=\"\u5F62\u72B6\"></path>\n </g>\n </g>\n</g>\n</svg>";
|
|
11
11
|
export declare const LIST_ORDERED_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <path d=\"M5,1 L16,1 L16,2.5 L5,2.5 L5,1 Z M0,0 L2,0 L2,3 L3,3 L3,4 L0,4 L0,3 L1,3 L1,1 L0,1 L0,0 Z M5,7 L16,7 L16,8.5 L5,8.5 L5,7 Z M5,13 L16,13 L16,14.5 L5,14.5 L5,13 Z M0,15 L1.75,15 C1.88807119,15 2,14.8880712 2,14.75 C2,14.6119288 1.88807119,14.5 1.75,14.5 L0,14.5 L0,13.5 L1.75,13.5 C1.88807119,13.5 2,13.3880712 2,13.25 C2,13.1119288 1.88807119,13 1.75,13 L0,13 L0,12 L1.5,12 C2.32842712,12 3,12.6715729 3,13.5 C3,13.6753177 2.96992289,13.8436105 2.91464715,14 C2.96992289,14.1563895 3,14.3246823 3,14.5 C3,15.3284271 2.32842712,16 1.5,16 L0,16 L0,15 Z M2,7.5 C2,7.35127258 1.9375,7.22627258 1.84375,7.13845444 C1.76307119,7.05596441 1.63807119,7 1.5,7 C1.22385763,7 1,7.22385763 1,7.5 L1.62630326e-19,7.5 C0.147399902,6.5 0.647399902,6 1.5,6 C2.32842712,6 3,6.67157288 3,7.5 C3,8.07312512 2.50016007,8.55650475 2.22821045,8.74661255 C1.95626083,8.93672035 1.77325955,8.99789088 1.76769962,9 L3,9 L3,10 L0,10 L1.62630326e-19,9 C0.619515577,8.77257137 1.06188822,8.55939591 1.32711792,8.36047363 C1.6371448,8.12795347 1.87259637,7.91592701 1.96143498,7.69289356 C1.98627694,7.633537 2,7.5683711 2,7.5 Z\" id=\"\u5F62\u72B6\"></path>\n </g>\n</g>\n</svg>";
|
package/vue-devui.es.js
CHANGED
|
@@ -17245,6 +17245,7 @@ function parseDiffCode(container, code, outputFormat, isAddCode = false) {
|
|
|
17245
17245
|
matching: "lines",
|
|
17246
17246
|
outputFormat,
|
|
17247
17247
|
highlight: true,
|
|
17248
|
+
diffStyle: "char",
|
|
17248
17249
|
rawTemplates: TemplateMap[outputFormat]
|
|
17249
17250
|
});
|
|
17250
17251
|
if (outputFormat === "side-by-side") {
|
|
@@ -34969,14 +34970,9 @@ const STRIKE_ICON = `<svg width="16px" height="16px" viewBox="0 0 16 16">
|
|
|
34969
34970
|
</g>
|
|
34970
34971
|
</g>
|
|
34971
34972
|
</svg>`;
|
|
34972
|
-
const COLOR_ICON = `<svg width="
|
|
34973
|
-
<
|
|
34974
|
-
<
|
|
34975
|
-
<g>
|
|
34976
|
-
<path d="M10.4761905,8 L5.52380952,8 L4,12 L3,12 L7.5,-3.84581256e-13 L8.5,-3.84581256e-13 L13,12 L12,12 L10.4761905,8 L10.4761905,8 Z M10.0952381,7 L8,1.5 L5.9047619,7 L10.0952381,7 Z M2,14 L14,14 L14,16 L2,16 L2,14 Z" id="\u5F62\u72B6"></path>
|
|
34977
|
-
</g>
|
|
34978
|
-
</g>
|
|
34979
|
-
</g>
|
|
34973
|
+
const COLOR_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
34974
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.05597 9.5L4.05895 12H2.94092L7.55273 0.776367H8.44716L13.059 12H11.9409L10.9439 9.5H5.05597ZM5.45477 8.5H10.5451L7.99995 2.11801L5.45477 8.5Z" fill="#3B3E55"/>
|
|
34975
|
+
<path d="M1 13H15V16H1V13Z" fill="#3B3E55"/>
|
|
34980
34976
|
</svg>`;
|
|
34981
34977
|
const LIST_UNORDERED_ICON = `<svg width="16px" height="16px" viewBox="0 0 16 16">
|
|
34982
34978
|
<g id="edit-icon/unordered-list" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
@@ -35247,7 +35243,8 @@ ToolBarHandler.code = (editor) => {
|
|
|
35247
35243
|
}
|
|
35248
35244
|
};
|
|
35249
35245
|
ToolBarHandler.table = (editor) => {
|
|
35250
|
-
const table2 =
|
|
35246
|
+
const table2 = `
|
|
35247
|
+
| | | |
|
|
35251
35248
|
|--|--|--|
|
|
35252
35249
|
| | | |`;
|
|
35253
35250
|
editor.replaceSelection(table2);
|
|
@@ -54130,7 +54127,7 @@ const installs = [
|
|
|
54130
54127
|
VirtualListInstall
|
|
54131
54128
|
];
|
|
54132
54129
|
var vueDevui = {
|
|
54133
|
-
version: "1.6.
|
|
54130
|
+
version: "1.6.22",
|
|
54134
54131
|
install(app) {
|
|
54135
54132
|
installs.forEach((p) => app.use(p));
|
|
54136
54133
|
}
|