@blueking/ai-ui-sdk 0.2.0-beta.20 → 0.2.0-beta.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.
Files changed (83) hide show
  1. package/dist/common/util.d.ts +5 -0
  2. package/dist/common/util.ts.js +8 -0
  3. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  6. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  7. package/dist/components/render-checkbox/index.vue.css +9 -9
  8. package/dist/components/render-checkbox/index.vue.js +1 -1
  9. package/dist/components/render-choose-tag/index.script.vue.js.js +62 -1
  10. package/dist/components/render-choose-tag/index.vue.css +7 -7
  11. package/dist/components/render-choose-tag/index.vue.d.ts +1 -0
  12. package/dist/components/render-choose-tag/index.vue.js +1 -1
  13. package/dist/components/render-collapse/index.vue.css +2 -2
  14. package/dist/components/render-collapse/index.vue.js +1 -1
  15. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
  16. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
  17. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
  18. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
  19. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  20. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
  21. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
  22. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  23. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  24. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  25. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  26. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  27. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  28. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  29. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  30. package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +1 -3
  31. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  32. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  33. package/dist/components/render-dataset/components/plus-dataset-data/form/api.script.vue.js.js +1 -1
  34. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  35. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  36. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  37. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  38. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  39. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  40. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  41. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  42. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  43. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  44. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  45. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  46. package/dist/components/render-dataset-list/index.vue.css +2 -2
  47. package/dist/components/render-dataset-list/index.vue.js +1 -1
  48. package/dist/components/render-file-card/index.vue.css +11 -11
  49. package/dist/components/render-file-card/index.vue.js +1 -1
  50. package/dist/components/render-file-type-icon/index.vue.css +5 -5
  51. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  52. package/dist/components/render-header/index.vue.css +3 -3
  53. package/dist/components/render-header/index.vue.js +1 -1
  54. package/dist/components/render-like/index.vue.css +5 -5
  55. package/dist/components/render-like/index.vue.js +1 -1
  56. package/dist/components/render-markdown/common.d.ts +19 -0
  57. package/dist/components/render-markdown/common.ts.js +41 -0
  58. package/dist/components/render-markdown/edit.d.ts +82 -0
  59. package/dist/components/render-markdown/edit.postcss.css +92 -0
  60. package/dist/components/render-markdown/edit.ts.js +228 -0
  61. package/dist/components/render-markdown/mark-down-code-copy.d.ts +7 -0
  62. package/dist/components/render-markdown/mark-down-code-copy.ts.js +73 -0
  63. package/dist/components/render-markdown/prism-atom-one-dark.postcss.css +192 -0
  64. package/dist/components/render-markdown/{mark-down.d.ts → view.d.ts} +2 -27
  65. package/dist/components/render-markdown/view.postcss.css +99 -0
  66. package/dist/components/render-markdown/view.ts.js +116 -0
  67. package/dist/components/render-router-tab/index.vue.css +3 -3
  68. package/dist/components/render-router-tab/index.vue.js +1 -1
  69. package/dist/components/render-t-table/index.vue.css +27 -27
  70. package/dist/components/render-t-table/index.vue.js +1 -1
  71. package/dist/components/render-tag-tree/index.vue.css +7 -7
  72. package/dist/components/render-tag-tree/index.vue.js +1 -1
  73. package/dist/components.d.ts +3 -2
  74. package/dist/components.ts.js +3 -2
  75. package/dist/css/tailwind.css +0 -4
  76. package/dist/hooks/use-form-leave-confirm.ts.js +2 -0
  77. package/package.json +7 -4
  78. package/dist/components/render-markdown/mark-down-code.d.ts +0 -2
  79. package/dist/components/render-markdown/mark-down-code.ts.js +0 -171
  80. package/dist/components/render-markdown/mark-down-emoji.d.ts +0 -2
  81. package/dist/components/render-markdown/mark-down-emoji.ts.js +0 -4
  82. package/dist/components/render-markdown/mark-down.postcss.css +0 -154
  83. package/dist/components/render-markdown/mark-down.ts.js +0 -152
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-9n8cj5zk";
2
+ script.__scopeId = "data-v-cg4dy7xu";
3
3
  script.__file = "./src/components/render-dataset/components/plus-dataset-data/form/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,41 +1,41 @@
1
1
 
2
- .content[data-v-35tbej9g] {
2
+ .content[data-v-96tqxkhh] {
3
3
  padding: 18px 24px 0;
4
4
  height: 100%;
5
5
  overflow: auto;
6
6
  }
7
- .data-set-review-slider .value-content[data-v-35tbej9g] {
7
+ .data-set-review-slider .value-content[data-v-96tqxkhh] {
8
8
  padding: 16px;
9
9
  border: 1px solid #DCDEE5;
10
10
  line-height: 22px;
11
11
  }
12
- .data-set-review-slider .review-data[data-v-35tbej9g] {
12
+ .data-set-review-slider .review-data[data-v-96tqxkhh] {
13
13
  height: calc(100% - 337px);
14
14
  padding: 18px 24px;
15
15
  }
16
- .data-set-review-slider .review-level[data-v-35tbej9g] {
16
+ .data-set-review-slider .review-level[data-v-96tqxkhh] {
17
17
  box-shadow: 0 -2px 4px 0 #1919291f;
18
18
  height: 337px;
19
19
  padding: 16px 24px 24px;
20
20
  }
21
- .data-set-review-slider .review-level .level-score[data-v-35tbej9g] {
21
+ .data-set-review-slider .review-level .level-score[data-v-96tqxkhh] {
22
22
  gap: 50px;
23
23
  }
24
- .data-set-review-slider .review-level .level-score .bk-form-item[data-v-35tbej9g] {
24
+ .data-set-review-slider .review-level .level-score .bk-form-item[data-v-96tqxkhh] {
25
25
  flex: 1;
26
26
  }
27
- .data-set-review-slider .bold-title[data-v-35tbej9g] .bk-form-label {
27
+ .data-set-review-slider .bold-title[data-v-96tqxkhh] .bk-form-label {
28
28
  font-weight: bold;
29
29
  font-size: 14px;
30
30
  }
31
- .data-set-review-slider[data-v-35tbej9g] .bk-sideslider-title {
31
+ .data-set-review-slider[data-v-96tqxkhh] .bk-sideslider-title {
32
32
  justify-content: space-between;
33
33
  width: 100%;
34
34
  }
35
- .data-set-review-slider[data-v-35tbej9g] .bk-modal-content {
35
+ .data-set-review-slider[data-v-96tqxkhh] .bk-modal-content {
36
36
  height: calc(100% - 100px) !important;
37
37
  scrollbar-gutter: inherit !important;
38
38
  }
39
- .data-set-review-slider[data-v-35tbej9g] .bk-modal-content >div, .data-set-review-slider[data-v-35tbej9g] .bk-modal-content .bk-sideslider-content {
39
+ .data-set-review-slider[data-v-96tqxkhh] .bk-modal-content >div, .data-set-review-slider[data-v-96tqxkhh] .bk-modal-content .bk-sideslider-content {
40
40
  height: 100%;
41
41
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-35tbej9g";
2
+ script.__scopeId = "data-v-96tqxkhh";
3
3
  script.__file = "./src/components/render-dataset/components/review-dataset-data/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .origin-data-content[data-v-y3vq3i5z] {
2
+ .origin-data-content[data-v-y31x1rjj] {
3
3
  padding: 24px;
4
4
  height: calc(100% - 52px - 44px);
5
5
  }
6
- .origin-data-panel[data-v-y3vq3i5z] {
6
+ .origin-data-panel[data-v-y31x1rjj] {
7
7
  height: 100%;
8
8
  padding: 20px;
9
9
  background: #ffffff;
10
10
  box-shadow: 0 2px 4px 0 #1919290d;
11
11
  border-radius: 2px;
12
12
  }
13
- .origin-data-panel .toolbar-search[data-v-y3vq3i5z] {
13
+ .origin-data-panel .toolbar-search[data-v-y31x1rjj] {
14
14
  width: 6.17rem;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-y3vq3i5z";
2
+ script.__scopeId = "data-v-y31x1rjj";
3
3
  script.__file = "./src/components/render-dataset-detail-origin-data/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,15 +1,15 @@
1
1
 
2
- .main-content[data-v-dinb3x8x] {
2
+ .main-content[data-v-5sfaqh9o] {
3
3
  padding: 20px 24px;
4
4
  height: 100%;
5
5
  }
6
- .main-panel[data-v-dinb3x8x] {
6
+ .main-panel[data-v-5sfaqh9o] {
7
7
  height: 100%;
8
8
  padding: 20px 24px 24px;
9
9
  background: #ffffff;
10
10
  box-shadow: 0 2px 4px 0 #1919290d;
11
11
  border-radius: 2px;
12
12
  }
13
- .main-search[data-v-dinb3x8x] {
13
+ .main-search[data-v-5sfaqh9o] {
14
14
  width: 6.17rem;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import script from './main.script.vue.js.js';
2
- script.__scopeId = "data-v-dinb3x8x";
2
+ script.__scopeId = "data-v-5sfaqh9o";
3
3
  script.__file = "./src/components/render-dataset-list/components/main.vue";
4
4
  import './main.vue.css';
5
5
  export default script;
@@ -1,8 +1,8 @@
1
1
 
2
- .dataset-main[data-v-22xaupem] {
2
+ .dataset-main[data-v-cgls71mk] {
3
3
  height: calc(100% - 90px);
4
4
  margin-top: 2px;
5
5
  }
6
- [data-v-22xaupem] .dataset-main>.bk-resize-layout-main {
6
+ [data-v-cgls71mk] .dataset-main>.bk-resize-layout-main {
7
7
  width: 0;
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-22xaupem";
2
+ script.__scopeId = "data-v-cgls71mk";
3
3
  script.__file = "./src/components/render-dataset-list/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,21 +1,21 @@
1
1
 
2
- .upload-file-home[data-v-07gccsju] {
2
+ .upload-file-home[data-v-693qlgk8] {
3
3
  position: relative;
4
4
  background: #FFFFFF;
5
5
  border: 1px solid #DCDEE5;
6
6
  border-radius: 4px;
7
7
  padding: 12px 12px 10px 12px;
8
8
  }
9
- .upload-file-home[data-v-07gccsju]:hover {
9
+ .upload-file-home[data-v-693qlgk8]:hover {
10
10
  border: 1px solid #3A84FF;
11
11
  }
12
- .upload-file-home:hover .file-icons[data-v-07gccsju] {
12
+ .upload-file-home:hover .file-icons[data-v-693qlgk8] {
13
13
  display: flex;
14
14
  }
15
- .upload-file-home .file-icon[data-v-07gccsju] {
15
+ .upload-file-home .file-icon[data-v-693qlgk8] {
16
16
  font-size: 32px;
17
17
  }
18
- .upload-file-home .file-content[data-v-07gccsju] {
18
+ .upload-file-home .file-content[data-v-693qlgk8] {
19
19
  font-size: 12px;
20
20
  flex: 1;
21
21
  align-items: flex-start;
@@ -23,28 +23,28 @@
23
23
  font-weight: normal;
24
24
  width: 0;
25
25
  }
26
- .upload-file-home .file-content .file-name[data-v-07gccsju] {
26
+ .upload-file-home .file-content .file-name[data-v-693qlgk8] {
27
27
  width: 100%;
28
28
  font-size: 14px;
29
29
  line-height: 20px;
30
30
  }
31
- .upload-file-home .file-content .file-size[data-v-07gccsju] {
31
+ .upload-file-home .file-content .file-size[data-v-693qlgk8] {
32
32
  font-size: 12px;
33
33
  color: #979BA5;
34
34
  line-height: 20px;
35
35
  }
36
- .upload-file-home .file-icons[data-v-07gccsju] {
36
+ .upload-file-home .file-icons[data-v-693qlgk8] {
37
37
  display: none;
38
38
  color: #979BA5;
39
39
  }
40
- .upload-file-home .file-icons .bkaidev-icon[data-v-07gccsju] {
40
+ .upload-file-home .file-icons .bkaidev-icon[data-v-693qlgk8] {
41
41
  cursor: pointer;
42
42
  margin-right: 15px;
43
43
  font-size: 16px;
44
44
  }
45
- .upload-file-home .file-icons .bkaidev-icon[data-v-07gccsju]:hover {
45
+ .upload-file-home .file-icons .bkaidev-icon[data-v-693qlgk8]:hover {
46
46
  color: #3A84FF;
47
47
  }
48
- .upload-file-home .file-icons .bkaidev-delete[data-v-07gccsju] {
48
+ .upload-file-home .file-icons .bkaidev-delete[data-v-693qlgk8] {
49
49
  margin: 0;
50
50
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-07gccsju";
2
+ script.__scopeId = "data-v-693qlgk8";
3
3
  script.__file = "./src/components/render-file-card/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,16 +1,16 @@
1
1
 
2
- .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-kkwygh50] {
2
+ .ai-ui-sdk-icon.ai-ui-sdk-pdf[data-v-e88g3w0c] {
3
3
  color: #EA3636;
4
4
  }
5
- .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-kkwygh50], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-kkwygh50], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-kkwygh50] {
5
+ .ai-ui-sdk-icon.ai-ui-sdk-doc-2[data-v-e88g3w0c], .ai-ui-sdk-icon.ai-ui-sdk-ppt-2[data-v-e88g3w0c], .ai-ui-sdk-icon.ai-ui-sdk-markdown[data-v-e88g3w0c] {
6
6
  color: #3A84FF;
7
7
  }
8
- .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-kkwygh50] {
8
+ .ai-ui-sdk-icon.ai-ui-sdk-folder-fill[data-v-e88g3w0c] {
9
9
  color: #C4C6CC;
10
10
  }
11
- .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-kkwygh50] {
11
+ .ai-ui-sdk-icon.ai-ui-sdk-excel[data-v-e88g3w0c] {
12
12
  color: #2DCB56;
13
13
  }
14
- .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-kkwygh50] {
14
+ .ai-ui-sdk-icon.ai-ui-sdk-wangye[data-v-e88g3w0c] {
15
15
  color: #14A568;
16
16
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-kkwygh50";
2
+ script.__scopeId = "data-v-e88g3w0c";
3
3
  script.__file = "./src/components/render-file-type-icon/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,13 +1,13 @@
1
1
 
2
- .header-home[data-v-nahmowqw] {
2
+ .header-home[data-v-t8uwyi77] {
3
3
  width: 100%;
4
4
  background: #FFFFFF;
5
5
  box-shadow: 0 3px 4px 0 #0000000a;
6
6
  }
7
- .render-tab[data-v-nahmowqw] {
7
+ .render-tab[data-v-t8uwyi77] {
8
8
  border-bottom: 2px solid transparent;
9
9
  }
10
- .render-tab.active[data-v-nahmowqw] {
10
+ .render-tab.active[data-v-t8uwyi77] {
11
11
  color: #3A84FF;
12
12
  border-bottom: 2px solid #3A84FF;
13
13
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-nahmowqw";
2
+ script.__scopeId = "data-v-t8uwyi77";
3
3
  script.__file = "./src/components/render-header/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,20 +1,20 @@
1
1
 
2
- .dislike-icon[data-v-p9m7vhbg] {
2
+ .dislike-icon[data-v-ymt2vupw] {
3
3
  transform: rotateX(180deg);
4
4
  }
5
- .option-items[data-v-p9m7vhbg] {
5
+ .option-items[data-v-ymt2vupw] {
6
6
  padding: 1px 8px;
7
7
  background-color: #F0F1F5;
8
8
  line-height: 22px;
9
9
  border-radius: 2px;
10
10
  }
11
- .option-items[data-v-p9m7vhbg]:hover {
11
+ .option-items[data-v-ymt2vupw]:hover {
12
12
  background-color: #E1ECFF;
13
13
  color: #3A84FF;
14
14
  }
15
- .option-items-selected[data-v-p9m7vhbg]{
15
+ .option-items-selected[data-v-ymt2vupw]{
16
16
  background-color: #E1ECFF;
17
17
  }
18
- [data-v-p9m7vhbg] .bk-form-item {
18
+ [data-v-ymt2vupw] .bk-form-item {
19
19
  margin-bottom: 17px;
20
20
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-p9m7vhbg";
2
+ script.__scopeId = "data-v-ymt2vupw";
3
3
  script.__file = "./src/components/render-like/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -0,0 +1,19 @@
1
+ import type { EditorOptions } from '@toast-ui/editor';
2
+ import './prism-atom-one-dark.postcss';
3
+ import '@toast-ui/editor-plugin-code-syntax-highlight/dist/toastui-editor-plugin-code-syntax-highlight.css';
4
+ import 'prismjs/components/prism-markup';
5
+ import 'prismjs/components/prism-css';
6
+ import 'prismjs/components/prism-scss';
7
+ import 'prismjs/components/prism-javascript';
8
+ import 'prismjs/components/prism-typescript';
9
+ import 'prismjs/components/prism-jsx';
10
+ import 'prismjs/components/prism-tsx';
11
+ import 'prismjs/components/prism-json';
12
+ import 'prismjs/components/prism-bash';
13
+ import 'prismjs/components/prism-yaml';
14
+ import 'prismjs/components/prism-sql';
15
+ import 'prismjs/components/prism-java';
16
+ import 'prismjs/components/prism-python';
17
+ import 'prismjs/components/prism-go';
18
+ import 'prismjs/components/prism-rust';
19
+ export declare const commonConfig: Pick<EditorOptions, 'usageStatistics' | 'linkAttributes' | 'plugins'>;
@@ -0,0 +1,41 @@
1
+ import Prism from 'prismjs';
2
+ import CodeSyntaxHighlight from '@toast-ui/editor-plugin-code-syntax-highlight';
3
+ import { MarkDownCodeCopyPlugin } from './mark-down-code-copy.ts.js';
4
+ import './prism-atom-one-dark.postcss.css';
5
+ import '@toast-ui/editor-plugin-code-syntax-highlight/dist/toastui-editor-plugin-code-syntax-highlight.css';
6
+ import 'prismjs/components/prism-markup';
7
+ import 'prismjs/components/prism-css';
8
+ import 'prismjs/components/prism-scss';
9
+ import 'prismjs/components/prism-javascript';
10
+ import 'prismjs/components/prism-typescript';
11
+ import 'prismjs/components/prism-jsx';
12
+ import 'prismjs/components/prism-tsx';
13
+ import 'prismjs/components/prism-json';
14
+ import 'prismjs/components/prism-bash';
15
+ import 'prismjs/components/prism-yaml';
16
+ import 'prismjs/components/prism-sql';
17
+ import 'prismjs/components/prism-java';
18
+ import 'prismjs/components/prism-python';
19
+ import 'prismjs/components/prism-go';
20
+ import 'prismjs/components/prism-rust';
21
+ export const commonConfig = {
22
+ usageStatistics: false,
23
+ linkAttributes: {
24
+ target: '_blank',
25
+ rel: 'noopener noreferrer nofollow'
26
+ },
27
+ plugins: [
28
+ [
29
+ CodeSyntaxHighlight,
30
+ {
31
+ highlighter: Prism
32
+ }
33
+ ],
34
+ [
35
+ MarkDownCodeCopyPlugin,
36
+ {
37
+ highlighter: Prism
38
+ }
39
+ ]
40
+ ]
41
+ };
@@ -0,0 +1,82 @@
1
+ import { type PropType } from 'vue';
2
+ import '@toast-ui/editor/dist/toastui-editor.css';
3
+ import './edit.postcss';
4
+ declare enum EditorMode {
5
+ Markdown = "markdown",
6
+ Wysiwyg = "wysiwyg"
7
+ }
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ };
12
+ placeholder: {
13
+ type: StringConstructor;
14
+ };
15
+ height: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ disabled: {
20
+ type: BooleanConstructor;
21
+ };
22
+ fontSize: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ backgroundColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ mode: {
31
+ type: PropType<EditorMode>;
32
+ default: EditorMode;
33
+ };
34
+ isSimpleToolbar: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ [key: string]: any;
40
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ 'update:modelValue': (value: string) => string;
42
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ modelValue: {
44
+ type: StringConstructor;
45
+ };
46
+ placeholder: {
47
+ type: StringConstructor;
48
+ };
49
+ height: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ disabled: {
54
+ type: BooleanConstructor;
55
+ };
56
+ fontSize: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ backgroundColor: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
64
+ mode: {
65
+ type: PropType<EditorMode>;
66
+ default: EditorMode;
67
+ };
68
+ isSimpleToolbar: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ }>> & Readonly<{
73
+ "onUpdate:modelValue"?: (value: string) => any;
74
+ }>, {
75
+ disabled: boolean;
76
+ height: string;
77
+ mode: EditorMode;
78
+ fontSize: string;
79
+ backgroundColor: string;
80
+ isSimpleToolbar: boolean;
81
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
82
+ export default _default;
@@ -0,0 +1,92 @@
1
+ .toastui-editor-defaultUI,
2
+ .ProseMirror {
3
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
4
+ -webkit-font-smoothing: antialiased;
5
+ -moz-osx-font-smoothing: grayscale;
6
+ color: #4d4f56;
7
+ }
8
+
9
+ .toastui-editor-defaultUI .toastui-editor-toolbar {
10
+ height: 40px;
11
+ }
12
+
13
+ .toastui-editor-defaultUI .ProseMirror {
14
+ padding: 12px 16px;
15
+ overflow-y: auto;
16
+ height: 100%;
17
+ }
18
+
19
+ .toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar {
20
+ width: 6px;
21
+ height: 6px;
22
+ }
23
+
24
+ .toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar-thumb {
25
+ width: 6px;
26
+ height: 6px;
27
+ border-radius: 3px;
28
+ background-color: #dcdee5;
29
+ }
30
+
31
+ .toastui-editor-defaultUI .ProseMirror::-webkit-scrollbar-thumb:hover {
32
+ background-color: #979ba5;
33
+ }
34
+
35
+ .toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar {
36
+ width: 6px;
37
+ height: 6px;
38
+ }
39
+
40
+ .toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar-thumb {
41
+ width: 6px;
42
+ height: 6px;
43
+ border-radius: 3px;
44
+ background-color: #dcdee5;
45
+ }
46
+
47
+ .toastui-editor-defaultUI .toastui-editor-md-preview::-webkit-scrollbar-thumb:hover {
48
+ background-color: #979ba5;
49
+ }
50
+
51
+ .toastui-editor-defaultUI-toolbar {
52
+ height: 40px;
53
+ padding: 0 12px !important;
54
+ background: #fff;
55
+ }
56
+
57
+ .toastui-editor-defaultUI-toolbar button {
58
+ width: 32px !important;
59
+ height: 32px !important;
60
+ margin: 4px 3px !important;
61
+ padding: 0 !important;
62
+ overflow: visible !important;
63
+ display: inline-flex !important;
64
+ align-items: center !important;
65
+ justify-content: center !important;
66
+ border: none !important;
67
+ font-size: 12px !important;
68
+ }
69
+
70
+ .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-custom-button {
71
+ width: auto !important;
72
+ }
73
+
74
+ .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-icons {
75
+ transform: scale(.65) !important;
76
+ transform-origin: center center !important;
77
+ }
78
+
79
+ .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-divider {
80
+ height: 16px !important;
81
+ margin: 12px 6px !important;
82
+ }
83
+
84
+ .toastui-editor-defaultUI-toolbar .toastui-editor-toolbar-item-wrapper {
85
+ height: 40px;
86
+ margin: 0;
87
+ line-height: 40px;
88
+ }
89
+
90
+ .bk-form-item.is-error .toastui-editor-defaultUI {
91
+ border: 1px solid #ea3636 !important;
92
+ }