bkui-vue 0.0.1-beta.29 → 0.0.1-beta.31
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/bkui-vue.cjs.js +141 -140
- package/dist/bkui-vue.esm.js +141 -140
- package/dist/bkui-vue.umd.js +141 -140
- package/dist/style.css +100 -5
- package/lib/code-diff/index.d.ts +139 -3
- package/lib/code-diff/index.js +15 -0
- package/lib/components.d.ts +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/loading/index.d.ts +27 -10
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +8 -2
- package/lib/loading/loading.d.ts +18 -4
- package/lib/loading/loading.less +10 -10
- package/lib/loading/loading.variable.css +8 -2
- package/lib/pagination/index.d.ts +7 -7
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +2 -2
- package/lib/radio/radio.less +2 -2
- package/lib/radio/radio.variable.css +2 -2
- package/lib/slider/index.js +2 -2
- package/lib/slider/slider-button.d.ts +5 -0
- package/lib/slider/slider.d.ts +12 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.js +1 -1
- package/lib/tab/index.d.ts +96 -205
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +59 -84
- package/lib/tab/tab-panel.d.ts +39 -14
- package/lib/tab/tab.css +2 -1
- package/lib/tab/tab.d.ts +14 -37
- package/lib/tab/tab.less +2 -1
- package/lib/tab/tab.variable.css +2 -1
- package/lib/table/index.d.ts +1 -5
- package/lib/table/index.js +2 -2
- package/lib/table/props.d.ts +0 -1
- package/lib/table/table.d.ts +1 -3
- package/package.json +1 -1
package/dist/style.css
CHANGED
@@ -1409,13 +1409,18 @@ optgroup {
|
|
1409
1409
|
}
|
1410
1410
|
.bk-loading-wrapper {
|
1411
1411
|
position: static;
|
1412
|
-
display: inline-block;
|
1413
1412
|
font-size: 0;
|
1414
1413
|
vertical-align: middle;
|
1415
1414
|
}
|
1415
|
+
.bk-loading-wrapper:not(.bk-nested-loading) {
|
1416
|
+
display: inline-block;
|
1417
|
+
}
|
1416
1418
|
.bk-loading-wrapper.bk-nested-loading {
|
1417
1419
|
position: relative;
|
1418
1420
|
}
|
1421
|
+
.bk-loading-wrapper.bk-nested-loading.is-block {
|
1422
|
+
display: block;
|
1423
|
+
}
|
1419
1424
|
.bk-loading-wrapper.bk-nested-loading .bk-loading-indicator {
|
1420
1425
|
position: absolute;
|
1421
1426
|
top: 50%;
|
@@ -1449,6 +1454,7 @@ optgroup {
|
|
1449
1454
|
animation-direction: normal;
|
1450
1455
|
}
|
1451
1456
|
.bk-loading-wrapper .bk-loading-mask {
|
1457
|
+
position: absolute;
|
1452
1458
|
width: 100%;
|
1453
1459
|
height: 100%;
|
1454
1460
|
opacity: 0.5;
|
@@ -1462,7 +1468,7 @@ optgroup {
|
|
1462
1468
|
z-index: 10;
|
1463
1469
|
width: 100%;
|
1464
1470
|
height: 100%;
|
1465
|
-
background-color: rgba(255, 255, 255, 0.
|
1471
|
+
background-color: rgba(255, 255, 255, 0.8);
|
1466
1472
|
content: '';
|
1467
1473
|
}
|
1468
1474
|
.bk-loading-wrapper .bk-loading-indicator {
|
@@ -1846,7 +1852,7 @@ optgroup {
|
|
1846
1852
|
.bk-radio.is-disabled .bk-radio-text {
|
1847
1853
|
cursor: not-allowed;
|
1848
1854
|
}
|
1849
|
-
.bk-radio.is-
|
1855
|
+
.bk-radio.is-focusd .bk-radio-input {
|
1850
1856
|
border-color: #3a84ff;
|
1851
1857
|
}
|
1852
1858
|
.bk-radio .bk-radio-text {
|
@@ -1919,7 +1925,7 @@ optgroup {
|
|
1919
1925
|
background: #dcdee5;
|
1920
1926
|
border-color: #dcdee5;
|
1921
1927
|
}
|
1922
|
-
.bk-radio-button.is-
|
1928
|
+
.bk-radio-button.is-focusd .bk-radio-button-text {
|
1923
1929
|
border-color: #3a84ff;
|
1924
1930
|
}
|
1925
1931
|
.bk-radio-button .bk-radio-button-input {
|
@@ -4456,7 +4462,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
|
|
4456
4462
|
}
|
4457
4463
|
.bk-tab-header-item:hover .bk-tab-header-item-close {
|
4458
4464
|
display: block;
|
4459
|
-
margin-left:
|
4465
|
+
margin-left: 5px;
|
4460
4466
|
color: #ea3636;
|
4461
4467
|
}
|
4462
4468
|
.bk-tab--top .bk-tab-header-item {
|
@@ -4487,6 +4493,7 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
|
|
4487
4493
|
}
|
4488
4494
|
.bk-tab-header-item-close {
|
4489
4495
|
display: none;
|
4496
|
+
font-size: 16px;
|
4490
4497
|
color: #c4c6cc;
|
4491
4498
|
}
|
4492
4499
|
.bk-tab-header--active {
|
@@ -5271,6 +5278,94 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
|
|
5271
5278
|
text-align: left;
|
5272
5279
|
align-items: center;
|
5273
5280
|
}
|
5281
|
+
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote{color:#800}.hljs-keyword,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-title{color:#008}.hljs-template-variable,.hljs-variable{color:#660}.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-string{color:#080}.hljs-bullet,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-symbol{color:#066}.hljs-attr,.hljs-built_in,.hljs-doctag,.hljs-params,.hljs-title,.hljs-type{color:#606}.hljs-attribute,.hljs-subst{color:#000}.hljs-formula{background-color:#eee;font-style:italic}.hljs-selector-class,.hljs-selector-id{color:#9b703f}.hljs-addition{background-color:#baeeba}.hljs-deletion{background-color:#ffc8bd}.hljs-doctag,.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}.d2h-d-none{display:none}.d2h-wrapper{text-align:left}.d2h-file-header{background-color:#f7f7f7;border-bottom:1px solid #d8d8d8;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;height:35px;padding:5px 10px}.d2h-file-header,.d2h-file-stats{display:-webkit-box;display:-ms-flexbox;display:flex}.d2h-file-stats{font-size:14px;margin-left:auto}.d2h-lines-added{border:1px solid #b4e2b4;border-radius:5px 0 0 5px;color:#399839;padding:2px;text-align:right;vertical-align:middle}.d2h-lines-deleted{border:1px solid #e9aeae;border-radius:0 5px 5px 0;color:#c33;margin-left:1px;padding:2px;text-align:left;vertical-align:middle}.d2h-file-name-wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:15px;width:100%}.d2h-file-name{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.d2h-file-wrapper{border:1px solid #ddd;border-radius:3px;margin-bottom:1em}.d2h-file-collapse{-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #ddd;border-radius:3px;cursor:pointer;display:none;font-size:12px;justify-content:flex-end;padding:4px 8px}.d2h-file-collapse.d2h-selected{background-color:#c8e1ff}.d2h-file-collapse-input{margin:0 4px 0 0}.d2h-diff-table{border-collapse:collapse;font-family:Menlo,Consolas,monospace;font-size:13px;width:100%}.d2h-files-diff{width:100%}.d2h-file-diff{overflow-y:hidden}.d2h-file-side-diff{display:inline-block;margin-bottom:-8px;margin-right:-4px;overflow-x:scroll;overflow-y:hidden;width:50%}.d2h-code-line{padding:0 8em}.d2h-code-line,.d2h-code-side-line{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:100%}.d2h-code-side-line{padding:0 4.5em}.d2h-code-line-ctn{word-wrap:normal;background:none;display:inline-block;padding:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle;white-space:pre;width:100%}.d2h-code-line del,.d2h-code-side-line del{background-color:#ffb6ba}.d2h-code-line del,.d2h-code-line ins,.d2h-code-side-line del,.d2h-code-side-line ins{border-radius:.2em;display:inline-block;margin-top:-1px;text-decoration:none;vertical-align:middle}.d2h-code-line ins,.d2h-code-side-line ins{background-color:#97f295;text-align:left}.d2h-code-line-prefix{word-wrap:normal;background:none;display:inline;padding:0;white-space:pre}.line-num1{float:left}.line-num1,.line-num2{-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;padding:0 .5em;text-overflow:ellipsis;width:3.5em}.line-num2{float:right}.d2h-code-linenumber{background-color:#fff;border:solid #eee;border-width:0 1px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.3);cursor:pointer;display:inline-block;position:absolute;text-align:right;width:7.5em}.d2h-code-linenumber:after{content:"\200b"}.d2h-code-side-linenumber{background-color:#fff;border:solid #eee;border-width:0 1px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.3);cursor:pointer;display:inline-block;overflow:hidden;padding:0 .5em;position:absolute;text-align:right;text-overflow:ellipsis;width:4em}.d2h-code-side-linenumber:after{content:"\200b"}.d2h-code-side-emptyplaceholder,.d2h-emptyplaceholder{background-color:#f1f1f1;border-color:#e1e1e1}.d2h-code-line-prefix,.d2h-code-linenumber,.d2h-code-side-linenumber,.d2h-emptyplaceholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.d2h-code-linenumber,.d2h-code-side-linenumber{direction:rtl}.d2h-del{background-color:#fee8e9;border-color:#e9aeae}.d2h-ins{background-color:#dfd;border-color:#b4e2b4}.d2h-info{background-color:#f8fafd;border-color:#d5e4f2;color:rgba(0,0,0,.3)}.d2h-file-diff .d2h-del.d2h-change{background-color:#fdf2d0}.d2h-file-diff .d2h-ins.d2h-change{background-color:#ded}.d2h-file-list-wrapper{margin-bottom:10px}.d2h-file-list-wrapper a{color:#3572b0;text-decoration:none}.d2h-file-list-wrapper a:visited{color:#3572b0}.d2h-file-list-header{text-align:left}.d2h-file-list-title{font-weight:700}.d2h-file-list-line{display:-webkit-box;display:-ms-flexbox;display:flex;text-align:left}.d2h-file-list{display:block;list-style:none;margin:0;padding:0}.d2h-file-list>li{border-bottom:1px solid #ddd;margin:0;padding:5px 10px}.d2h-file-list>li:last-child{border-bottom:none}.d2h-file-switch{cursor:pointer;display:none;font-size:10px}.d2h-icon{fill:currentColor;margin-right:10px;vertical-align:middle}.d2h-deleted{color:#c33}.d2h-added{color:#399839}.d2h-changed{color:#d0b44c}.d2h-moved{color:#3572b0}.d2h-tag{background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:10px;margin-left:5px;padding:0 2px}.d2h-deleted-tag{border:1px solid #c33}.d2h-added-tag{border:1px solid #399839}.d2h-changed-tag{border:1px solid #d0b44c}.d2h-moved-tag{border:1px solid #3572b0}/* stylelint-disable declaration-no-important */.bk-code-diff {
|
5282
|
+
position: relative;
|
5283
|
+
}.bk-code-diff .d2h-file-header {
|
5284
|
+
display: none;
|
5285
|
+
}.bk-code-diff.dark {
|
5286
|
+
color: #abb2bf !important;
|
5287
|
+
background: #282c34;
|
5288
|
+
}.bk-code-diff.dark .hljs {
|
5289
|
+
color: #abb2bf !important;
|
5290
|
+
background: #282c34;
|
5291
|
+
}.bk-code-diff.dark .d2h-file-side-diff:nth-child(n + 2) .d2h-code-wrapper {
|
5292
|
+
border-left-color: #313238;
|
5293
|
+
}.bk-code-diff.dark pre code.hljs {
|
5294
|
+
display: block;
|
5295
|
+
padding: 1em;
|
5296
|
+
overflow-x: auto;
|
5297
|
+
}.bk-code-diff.dark code.hljs {
|
5298
|
+
padding: 3px 5px;
|
5299
|
+
}.bk-code-diff.dark .hljs-comment,
|
5300
|
+
.bk-code-diff.dark .hljs-quote {
|
5301
|
+
font-style: italic;
|
5302
|
+
color: #5c6370;
|
5303
|
+
}.bk-code-diff.dark .hljs-doctag,
|
5304
|
+
.bk-code-diff.dark .hljs-formula,
|
5305
|
+
.bk-code-diff.dark .hljs-keyword,
|
5306
|
+
.bk-code-diff.dark .hljs-params {
|
5307
|
+
color: #c678dd;
|
5308
|
+
}.bk-code-diff.dark .hljs-deletion,
|
5309
|
+
.bk-code-diff.dark .hljs-name,
|
5310
|
+
.bk-code-diff.dark .hljs-section,
|
5311
|
+
.bk-code-diff.dark .hljs-selector-tag,
|
5312
|
+
.bk-code-diff.dark .hljs-subst {
|
5313
|
+
color: #e06c75;
|
5314
|
+
}.bk-code-diff.dark .hljs-literal {
|
5315
|
+
color: #56b6c2;
|
5316
|
+
}.bk-code-diff.dark .hljs-addition,
|
5317
|
+
.bk-code-diff.dark .hljs-attribute,
|
5318
|
+
.bk-code-diff.dark .hljs-meta .hljs-string,
|
5319
|
+
.bk-code-diff.dark .hljs-regexp,
|
5320
|
+
.bk-code-diff.dark .hljs-string {
|
5321
|
+
color: #98c379;
|
5322
|
+
}.bk-code-diff.dark .hljs-attr,
|
5323
|
+
.bk-code-diff.dark .hljs-number,
|
5324
|
+
.bk-code-diff.dark .hljs-selector-attr,
|
5325
|
+
.bk-code-diff.dark .hljs-selector-class,
|
5326
|
+
.bk-code-diff.dark .hljs-selector-pseudo,
|
5327
|
+
.bk-code-diff.dark .hljs-template-variable,
|
5328
|
+
.bk-code-diff.dark .hljs-type,
|
5329
|
+
.bk-code-diff.dark .hljs-variable {
|
5330
|
+
color: #d19a66;
|
5331
|
+
}.bk-code-diff.dark .hljs-bullet,
|
5332
|
+
.bk-code-diff.dark .hljs-link,
|
5333
|
+
.bk-code-diff.dark .hljs-meta,
|
5334
|
+
.bk-code-diff.dark .hljs-selector-id,
|
5335
|
+
.bk-code-diff.dark .hljs-symbol,
|
5336
|
+
.bk-code-diff.dark .hljs-title {
|
5337
|
+
color: #61aeee;
|
5338
|
+
}.bk-code-diff.dark .hljs-built_in,
|
5339
|
+
.bk-code-diff.dark .hljs-class .hljs-title,
|
5340
|
+
.bk-code-diff.dark .hljs-title.class_ {
|
5341
|
+
color: #e6c07b;
|
5342
|
+
}.bk-code-diff.dark .hljs-emphasis {
|
5343
|
+
font-style: italic;
|
5344
|
+
}.bk-code-diff.dark .hljs-strong {
|
5345
|
+
font-weight: 700;
|
5346
|
+
}.bk-code-diff.dark .hljs-link {
|
5347
|
+
text-decoration: underline;
|
5348
|
+
}.bk-code-diff.dark .d2h-code-linenumber,
|
5349
|
+
.bk-code-diff.dark .d2h-code-side-linenumber {
|
5350
|
+
font-size: 12px;
|
5351
|
+
color: #8f8f89;
|
5352
|
+
background: #282c34;
|
5353
|
+
border: none;
|
5354
|
+
}.bk-code-diff.dark .d2h-info {
|
5355
|
+
color: inherit;
|
5356
|
+
background-color: transparent;
|
5357
|
+
}.bk-code-diff.dark .d2h-del {
|
5358
|
+
background-color: #422321 !important;
|
5359
|
+
}.bk-code-diff.dark .d2h-del .hljs {
|
5360
|
+
background: transparent;
|
5361
|
+
}.bk-code-diff.dark .d2h-ins {
|
5362
|
+
background: #2d3324 !important;
|
5363
|
+
}.bk-code-diff.dark .d2h-ins .hljs {
|
5364
|
+
background: transparent;
|
5365
|
+
}.bk-code-diff.dark .d2h-code-side-emptyplaceholder,
|
5366
|
+
.bk-code-diff.dark .d2h-emptyplaceholder {
|
5367
|
+
background-color: #292929 !important;
|
5368
|
+
}
|
5274
5369
|
.bk-resize-layout {
|
5275
5370
|
display: flex;
|
5276
5371
|
}
|
package/lib/code-diff/index.d.ts
CHANGED
@@ -1,6 +1,142 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
1
|
+
import { DiffFormatType, LanguagesUnion, ThemesUnion } from './code-diff';
|
2
|
+
declare const BkCodeDiff: {
|
3
|
+
new (...args: any[]): {
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
5
|
+
$data: {};
|
6
|
+
$props: Partial<{
|
7
|
+
theme: "dark" | "light";
|
8
|
+
oldContent: string;
|
9
|
+
newContent: string;
|
10
|
+
diffFormat: "side-by-side" | "line-by-line";
|
11
|
+
language: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
12
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
13
|
+
oldContent: import("vue-types").VueTypeValidableDef<string> & {
|
14
|
+
default: string;
|
15
|
+
};
|
16
|
+
newContent: import("vue-types").VueTypeValidableDef<string> & {
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
|
20
|
+
default: "side-by-side" | "line-by-line";
|
21
|
+
};
|
22
|
+
diffContext: import("vue-types").VueTypeValidableDef<number>;
|
23
|
+
theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
|
24
|
+
default: "dark" | "light";
|
25
|
+
};
|
26
|
+
language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
|
27
|
+
default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
28
|
+
};
|
29
|
+
}>> & {
|
30
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
31
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "oldContent" | "newContent" | "diffFormat" | "language">;
|
32
|
+
$attrs: {
|
33
|
+
[x: string]: unknown;
|
34
|
+
};
|
35
|
+
$refs: {
|
36
|
+
[x: string]: unknown;
|
37
|
+
};
|
38
|
+
$slots: Readonly<{
|
39
|
+
[name: string]: import("vue").Slot;
|
40
|
+
}>;
|
41
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
42
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
43
|
+
$emit: (event: any, ...args: any[]) => void;
|
44
|
+
$el: any;
|
45
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
46
|
+
oldContent: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
newContent: import("vue-types").VueTypeValidableDef<string> & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
|
53
|
+
default: "side-by-side" | "line-by-line";
|
54
|
+
};
|
55
|
+
diffContext: import("vue-types").VueTypeValidableDef<number>;
|
56
|
+
theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
|
57
|
+
default: "dark" | "light";
|
58
|
+
};
|
59
|
+
language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
|
60
|
+
default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
61
|
+
};
|
62
|
+
}>> & {
|
63
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
64
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], string, {
|
65
|
+
theme: "dark" | "light";
|
66
|
+
oldContent: string;
|
67
|
+
newContent: string;
|
68
|
+
diffFormat: "side-by-side" | "line-by-line";
|
69
|
+
language: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
70
|
+
}> & {
|
71
|
+
beforeCreate?: (() => void) | (() => void)[];
|
72
|
+
created?: (() => void) | (() => void)[];
|
73
|
+
beforeMount?: (() => void) | (() => void)[];
|
74
|
+
mounted?: (() => void) | (() => void)[];
|
75
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
76
|
+
updated?: (() => void) | (() => void)[];
|
77
|
+
activated?: (() => void) | (() => void)[];
|
78
|
+
deactivated?: (() => void) | (() => void)[];
|
79
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
80
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
81
|
+
destroyed?: (() => void) | (() => void)[];
|
82
|
+
unmounted?: (() => void) | (() => void)[];
|
83
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
84
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
85
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
86
|
+
};
|
87
|
+
$forceUpdate: () => void;
|
88
|
+
$nextTick: typeof import("vue").nextTick;
|
89
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
90
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
91
|
+
oldContent: import("vue-types").VueTypeValidableDef<string> & {
|
92
|
+
default: string;
|
93
|
+
};
|
94
|
+
newContent: import("vue-types").VueTypeValidableDef<string> & {
|
95
|
+
default: string;
|
96
|
+
};
|
97
|
+
diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
|
98
|
+
default: "side-by-side" | "line-by-line";
|
99
|
+
};
|
100
|
+
diffContext: import("vue-types").VueTypeValidableDef<number>;
|
101
|
+
theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
|
102
|
+
default: "dark" | "light";
|
103
|
+
};
|
104
|
+
language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
|
105
|
+
default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
106
|
+
};
|
107
|
+
}>> & {
|
108
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
109
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
110
|
+
__isFragment?: never;
|
111
|
+
__isTeleport?: never;
|
112
|
+
__isSuspense?: never;
|
113
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
114
|
+
oldContent: import("vue-types").VueTypeValidableDef<string> & {
|
115
|
+
default: string;
|
116
|
+
};
|
117
|
+
newContent: import("vue-types").VueTypeValidableDef<string> & {
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
|
121
|
+
default: "side-by-side" | "line-by-line";
|
122
|
+
};
|
123
|
+
diffContext: import("vue-types").VueTypeValidableDef<number>;
|
124
|
+
theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
|
125
|
+
default: "dark" | "light";
|
126
|
+
};
|
127
|
+
language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
|
128
|
+
default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
129
|
+
};
|
130
|
+
}>> & {
|
131
|
+
[x: string & `on${any}`]: (...args: any[]) => any;
|
132
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, {
|
133
|
+
theme: "dark" | "light";
|
134
|
+
oldContent: string;
|
135
|
+
newContent: string;
|
136
|
+
diffFormat: "side-by-side" | "line-by-line";
|
137
|
+
language: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
|
138
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
4
139
|
export declare type ThemesUnionType = ThemesUnion;
|
5
140
|
export declare type DiffFormatUnionType = DiffFormatType;
|
6
141
|
export declare type LanguagesUnionType = LanguagesUnion;
|
142
|
+
export default BkCodeDiff;
|