@ws-ui/code-editor 1.12.4 → 1.13.0-dev.2
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/code-editor.css +1 -1
- package/dist/editor/services/user/configuration.json.d.ts +85 -85
- package/dist/index.cjs.js +162 -110
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +10697 -1008
- package/dist/index.es.js.map +1 -1
- package/package.json +6 -7
package/dist/code-editor.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.table{display:table}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-full{height:100%}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5\/6{width:83.3333%}.w-full{width:100%}.flex-1{flex:1}.animate-pulse{animation:var(--animate-pulse)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@keyframes pulse{50%{opacity:.5}}
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"workbench.colorTheme": "Default Dark+",
|
|
3
|
-
"workbench.iconTheme": "vs-seti",
|
|
4
|
-
"editor.autoClosingBrackets": "languageDefined",
|
|
5
|
-
"editor.autoClosingQuotes": "languageDefined",
|
|
6
|
-
"editor.scrollBeyondLastLine": true,
|
|
7
|
-
"editor.mouseWheelZoom": true,
|
|
8
|
-
"editor.wordBasedSuggestions": false,
|
|
9
|
-
"editor.acceptSuggestionOnEnter": "on",
|
|
10
|
-
"editor.foldingHighlight": false,
|
|
11
|
-
"editor.bracketPairColorization.enabled": false,
|
|
12
|
-
"editor.fontSize": 12,
|
|
13
|
-
"files.autoSave": "off",
|
|
14
|
-
"editor.experimental.asyncTokenization": true,
|
|
15
|
-
"editor.semanticHighlighting.enabled": true,
|
|
16
|
-
"workbench.colorCustomizations": {
|
|
17
|
-
"editor.background": "#
|
|
18
|
-
},
|
|
19
|
-
"editor.semanticTokenColorCustomizations": {
|
|
20
|
-
"[Default Light+]": {
|
|
21
|
-
"enabled": true,
|
|
22
|
-
"rules": {
|
|
23
|
-
"*:4d": {
|
|
24
|
-
"foreground": "#000000",
|
|
25
|
-
"bold": false,
|
|
26
|
-
"italic": false,
|
|
27
|
-
"underline": false,
|
|
28
|
-
"strikethrough": false
|
|
29
|
-
},
|
|
30
|
-
"method:4d": { "foreground": "#000088", "bold": true, "italic": true },
|
|
31
|
-
"method.defaultLibrary:4d": {
|
|
32
|
-
"foreground": "#068c00",
|
|
33
|
-
"italic": false
|
|
34
|
-
},
|
|
35
|
-
"method.plugin:4d": { "foreground": "#000000" },
|
|
36
|
-
"property:4d": { "foreground": "#a0806b" },
|
|
37
|
-
"function:4d": { "foreground": "#5f8e5e", "italic": true },
|
|
38
|
-
"parameter:4d": { "foreground": "#000b76", "bold": true },
|
|
39
|
-
"variable.interprocess:4d": { "foreground": "#ff0088" },
|
|
40
|
-
"variable.process:4d": { "foreground": "#0000ff" },
|
|
41
|
-
"variable.local:4d": { "foreground": "#0031ff" },
|
|
42
|
-
"keyword:4d": { "foreground": "#034d00", "bold": true },
|
|
43
|
-
"table:4d": { "foreground": "#532300" },
|
|
44
|
-
"field:4d": { "foreground": "#323232" },
|
|
45
|
-
"comment:4d": { "foreground": "#535353" },
|
|
46
|
-
"type:4d": { "foreground": "#068c00", "bold": true },
|
|
47
|
-
"constant:4d": { "foreground": "#4d004d", "underline": true },
|
|
48
|
-
"string:4d": { "foreground": "#000000" },
|
|
49
|
-
"error:4d": { "foreground": "#ff0000", "bold": true, "italic": true }
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"[Default Dark+]": {
|
|
53
|
-
"enabled": true,
|
|
54
|
-
"rules": {
|
|
55
|
-
"*:4d": {
|
|
56
|
-
"foreground": "#FFFFFF",
|
|
57
|
-
"bold": false,
|
|
58
|
-
"italic": false,
|
|
59
|
-
"underline": false,
|
|
60
|
-
"strikethrough": false
|
|
61
|
-
},
|
|
62
|
-
"method:4d": { "foreground": "#1B79F3", "bold": true, "italic": true },
|
|
63
|
-
"method.defaultLibrary:4d": {
|
|
64
|
-
"foreground": "#59BB00",
|
|
65
|
-
"italic": false
|
|
66
|
-
},
|
|
67
|
-
"method.plugin:4d": { "foreground": "#BFBFBF" },
|
|
68
|
-
"property:4d": { "foreground": "#A0806B" },
|
|
69
|
-
"function:4d": { "foreground": "#4EC36E", "italic": true },
|
|
70
|
-
"parameter:4d": { "foreground": "#0C70FF", "bold": true },
|
|
71
|
-
"variable.interprocess:4d": { "foreground": "#FF0088" },
|
|
72
|
-
"variable.process:4d": { "foreground": "#53B0EB" },
|
|
73
|
-
"variable.local:4d": { "foreground": "#18B3F1" },
|
|
74
|
-
"keyword:4d": { "foreground": "#D0D0D0", "bold": true },
|
|
75
|
-
"table:4d": { "foreground": "#CF5600" },
|
|
76
|
-
"field:4d": { "foreground": "#9C6765" },
|
|
77
|
-
"comment:4d": { "foreground": "#8F8F8F" },
|
|
78
|
-
"type:4d": { "foreground": "#068C00", "bold": true },
|
|
79
|
-
"constant:4d": { "foreground": "#FA647F", "underline": true },
|
|
80
|
-
"string:4d": { "foreground": "#FFFFFF" },
|
|
81
|
-
"error:4d": { "foreground": "#ff0000", "bold": true, "italic": true }
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"workbench.colorTheme": "Default Dark+",
|
|
3
|
+
"workbench.iconTheme": "vs-seti",
|
|
4
|
+
"editor.autoClosingBrackets": "languageDefined",
|
|
5
|
+
"editor.autoClosingQuotes": "languageDefined",
|
|
6
|
+
"editor.scrollBeyondLastLine": true,
|
|
7
|
+
"editor.mouseWheelZoom": true,
|
|
8
|
+
"editor.wordBasedSuggestions": false,
|
|
9
|
+
"editor.acceptSuggestionOnEnter": "on",
|
|
10
|
+
"editor.foldingHighlight": false,
|
|
11
|
+
"editor.bracketPairColorization.enabled": false,
|
|
12
|
+
"editor.fontSize": 12,
|
|
13
|
+
"files.autoSave": "off",
|
|
14
|
+
"editor.experimental.asyncTokenization": true,
|
|
15
|
+
"editor.semanticHighlighting.enabled": true,
|
|
16
|
+
"workbench.colorCustomizations": {
|
|
17
|
+
"editor.background": "#FFFFFF00"
|
|
18
|
+
},
|
|
19
|
+
"editor.semanticTokenColorCustomizations": {
|
|
20
|
+
"[Default Light+]": {
|
|
21
|
+
"enabled": true,
|
|
22
|
+
"rules": {
|
|
23
|
+
"*:4d": {
|
|
24
|
+
"foreground": "#000000",
|
|
25
|
+
"bold": false,
|
|
26
|
+
"italic": false,
|
|
27
|
+
"underline": false,
|
|
28
|
+
"strikethrough": false
|
|
29
|
+
},
|
|
30
|
+
"method:4d": { "foreground": "#000088", "bold": true, "italic": true },
|
|
31
|
+
"method.defaultLibrary:4d": {
|
|
32
|
+
"foreground": "#068c00",
|
|
33
|
+
"italic": false
|
|
34
|
+
},
|
|
35
|
+
"method.plugin:4d": { "foreground": "#000000" },
|
|
36
|
+
"property:4d": { "foreground": "#a0806b" },
|
|
37
|
+
"function:4d": { "foreground": "#5f8e5e", "italic": true },
|
|
38
|
+
"parameter:4d": { "foreground": "#000b76", "bold": true },
|
|
39
|
+
"variable.interprocess:4d": { "foreground": "#ff0088" },
|
|
40
|
+
"variable.process:4d": { "foreground": "#0000ff" },
|
|
41
|
+
"variable.local:4d": { "foreground": "#0031ff" },
|
|
42
|
+
"keyword:4d": { "foreground": "#034d00", "bold": true },
|
|
43
|
+
"table:4d": { "foreground": "#532300" },
|
|
44
|
+
"field:4d": { "foreground": "#323232" },
|
|
45
|
+
"comment:4d": { "foreground": "#535353" },
|
|
46
|
+
"type:4d": { "foreground": "#068c00", "bold": true },
|
|
47
|
+
"constant:4d": { "foreground": "#4d004d", "underline": true },
|
|
48
|
+
"string:4d": { "foreground": "#000000" },
|
|
49
|
+
"error:4d": { "foreground": "#ff0000", "bold": true, "italic": true }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"[Default Dark+]": {
|
|
53
|
+
"enabled": true,
|
|
54
|
+
"rules": {
|
|
55
|
+
"*:4d": {
|
|
56
|
+
"foreground": "#FFFFFF",
|
|
57
|
+
"bold": false,
|
|
58
|
+
"italic": false,
|
|
59
|
+
"underline": false,
|
|
60
|
+
"strikethrough": false
|
|
61
|
+
},
|
|
62
|
+
"method:4d": { "foreground": "#1B79F3", "bold": true, "italic": true },
|
|
63
|
+
"method.defaultLibrary:4d": {
|
|
64
|
+
"foreground": "#59BB00",
|
|
65
|
+
"italic": false
|
|
66
|
+
},
|
|
67
|
+
"method.plugin:4d": { "foreground": "#BFBFBF" },
|
|
68
|
+
"property:4d": { "foreground": "#A0806B" },
|
|
69
|
+
"function:4d": { "foreground": "#4EC36E", "italic": true },
|
|
70
|
+
"parameter:4d": { "foreground": "#0C70FF", "bold": true },
|
|
71
|
+
"variable.interprocess:4d": { "foreground": "#FF0088" },
|
|
72
|
+
"variable.process:4d": { "foreground": "#53B0EB" },
|
|
73
|
+
"variable.local:4d": { "foreground": "#18B3F1" },
|
|
74
|
+
"keyword:4d": { "foreground": "#D0D0D0", "bold": true },
|
|
75
|
+
"table:4d": { "foreground": "#CF5600" },
|
|
76
|
+
"field:4d": { "foreground": "#9C6765" },
|
|
77
|
+
"comment:4d": { "foreground": "#8F8F8F" },
|
|
78
|
+
"type:4d": { "foreground": "#068C00", "bold": true },
|
|
79
|
+
"constant:4d": { "foreground": "#FA647F", "underline": true },
|
|
80
|
+
"string:4d": { "foreground": "#FFFFFF" },
|
|
81
|
+
"error:4d": { "foreground": "#ff0000", "bold": true, "italic": true }
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
86
|
;
|
|
87
87
|
|
|
88
88
|
export default _default;
|