@cgboiler/biz-basic 1.0.70 → 1.0.72
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/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/rich-text-editor/menu-system/components/color-highlight-popover.js +1 -1
- package/es/rich-text-editor/menu-system/hooks/use-text-color.js +0 -20
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/rich-text-editor/menu-system/components/color-highlight-popover.js +1 -1
- package/lib/rich-text-editor/menu-system/hooks/use-text-color.js +0 -20
- package/package.json +1 -1
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -66,7 +66,7 @@ const ColorHighlightPopover = defineComponent({
|
|
|
66
66
|
"class": "tiptap-color-highlight-popover-content"
|
|
67
67
|
}, [_createVNode("div", {
|
|
68
68
|
"class": "tiptap-color-highlight-grid"
|
|
69
|
-
}, [["\
|
|
69
|
+
}, [["\u7EA2\u8272", "\u9EC4\u8272", "\u7EFF\u8272", "\u84DD\u8272", "\u7D2B\u8272"].map((name) => HIGHLIGHT_COLORS.find((c) => c.label.includes(name))).filter(Boolean).map((color) => _createVNode(ColorHighlightButton, {
|
|
70
70
|
"key": color.value,
|
|
71
71
|
"editor": props.editor,
|
|
72
72
|
"highlightColor": color.value,
|
|
@@ -11,22 +11,6 @@ const TEXT_COLORS = [
|
|
|
11
11
|
label: "\u7EA2\u8272",
|
|
12
12
|
value: "var(--tt-color-text-red)"
|
|
13
13
|
},
|
|
14
|
-
{
|
|
15
|
-
label: "\u9ED8\u8BA4\u989C\u8272",
|
|
16
|
-
value: "var(--tt-text-default)"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
label: "\u7070\u8272",
|
|
20
|
-
value: "var(--tt-color-text-gray)"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
label: "\u68D5\u8272",
|
|
24
|
-
value: "var(--tt-color-text-brown)"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: "\u6A59\u8272",
|
|
28
|
-
value: "var(--tt-color-text-orange)"
|
|
29
|
-
},
|
|
30
14
|
{
|
|
31
15
|
label: "\u9EC4\u8272",
|
|
32
16
|
value: "var(--tt-color-text-yellow)"
|
|
@@ -42,10 +26,6 @@ const TEXT_COLORS = [
|
|
|
42
26
|
{
|
|
43
27
|
label: "\u7D2B\u8272",
|
|
44
28
|
value: "var(--tt-color-text-purple)"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
label: "\u7C89\u8272",
|
|
48
|
-
value: "var(--tt-color-text-pink)"
|
|
49
29
|
}
|
|
50
30
|
];
|
|
51
31
|
function canSetTextColor(editor) {
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -36,7 +36,7 @@ __export(stdin_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(stdin_exports);
|
|
37
37
|
var import_rich_text_editor = __toESM(require("./rich-text-editor"));
|
|
38
38
|
__reExport(stdin_exports, require("./rich-text-editor"), module.exports);
|
|
39
|
-
const version = "1.0.
|
|
39
|
+
const version = "1.0.71";
|
|
40
40
|
function install(app) {
|
|
41
41
|
const components = [
|
|
42
42
|
import_rich_text_editor.default
|
|
@@ -88,7 +88,7 @@ const ColorHighlightPopover = (0, import_vue2.defineComponent)({
|
|
|
88
88
|
"class": "tiptap-color-highlight-popover-content"
|
|
89
89
|
}, [(0, import_vue.createVNode)("div", {
|
|
90
90
|
"class": "tiptap-color-highlight-grid"
|
|
91
|
-
}, [["\
|
|
91
|
+
}, [["\u7EA2\u8272", "\u9EC4\u8272", "\u7EFF\u8272", "\u84DD\u8272", "\u7D2B\u8272"].map((name) => import_use_color_highlight.HIGHLIGHT_COLORS.find((c) => c.label.includes(name))).filter(Boolean).map((color) => (0, import_vue.createVNode)(import_color_highlight_button.ColorHighlightButton, {
|
|
92
92
|
"key": color.value,
|
|
93
93
|
"editor": props.editor,
|
|
94
94
|
"highlightColor": color.value,
|
|
@@ -37,22 +37,6 @@ const TEXT_COLORS = [
|
|
|
37
37
|
label: "\u7EA2\u8272",
|
|
38
38
|
value: "var(--tt-color-text-red)"
|
|
39
39
|
},
|
|
40
|
-
{
|
|
41
|
-
label: "\u9ED8\u8BA4\u989C\u8272",
|
|
42
|
-
value: "var(--tt-text-default)"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: "\u7070\u8272",
|
|
46
|
-
value: "var(--tt-color-text-gray)"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
label: "\u68D5\u8272",
|
|
50
|
-
value: "var(--tt-color-text-brown)"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
label: "\u6A59\u8272",
|
|
54
|
-
value: "var(--tt-color-text-orange)"
|
|
55
|
-
},
|
|
56
40
|
{
|
|
57
41
|
label: "\u9EC4\u8272",
|
|
58
42
|
value: "var(--tt-color-text-yellow)"
|
|
@@ -68,10 +52,6 @@ const TEXT_COLORS = [
|
|
|
68
52
|
{
|
|
69
53
|
label: "\u7D2B\u8272",
|
|
70
54
|
value: "var(--tt-color-text-purple)"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: "\u7C89\u8272",
|
|
74
|
-
value: "var(--tt-color-text-pink)"
|
|
75
55
|
}
|
|
76
56
|
];
|
|
77
57
|
function canSetTextColor(editor) {
|