@univerjs/docs-ui 0.10.14 → 0.11.0-nightly.202511151013
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/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ja-JP.js +125 -0
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ja-JP.js +125 -0
- package/lib/types/locale/ja-JP.d.ts +3 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -0
- package/package.json +10 -10
- package/LICENSE +0 -176
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e={toolbar:{undo:"元に戻す",redo:"やり直し",font:"フォント",fontSize:"フォントサイズ",bold:"太字",italic:"斜体",strikethrough:"取り消し線",subscript:"下付き文字",superscript:"上付き文字",underline:"下線",textColor:{main:"文字の色",right:"色を選択"},fillColor:{main:"塗りつぶしの色",right:"色を選択"},table:{main:"表",insert:"表の挿入",colCount:"列数",rowCount:"行数"},resetColor:"既定の色に戻す",order:"番号付きリスト",unorder:"箇条書き",checklist:"チェックリスト",documentFlavor:"モダンモード",alignLeft:"左揃え",alignCenter:"中央揃え",alignRight:"右揃え",alignJustify:"両端揃え",horizontalLine:"横線の挿入",headerFooter:"ヘッダーとフッター",pageSetup:"ページ設定"},table:{insert:"挿入",insertRowAbove:"上に行を挿入",insertRowBelow:"下に行を挿入",insertColumnLeft:"左に列を挿入",insertColumnRight:"右に列を挿入",delete:"表を削除",deleteRows:"行を削除",deleteColumns:"列を削除",deleteTable:"表を削除"},headerFooter:{header:"ヘッダー",footer:"フッター",panel:"ヘッダーとフッターの設定",firstPageCheckBox:"先頭ページを別設定",oddEvenCheckBox:"奇数/偶数ページを別設定",headerTopMargin:"ヘッダー上余白(px)",footerBottomMargin:"フッター下余白(px)",closeHeaderFooter:"ヘッダー/フッターを閉じる",disableText:"ヘッダーとフッターの設定は無効です"},doc:{menu:{paragraphSetting:"段落設定"},slider:{paragraphSetting:"段落設定"},paragraphSetting:{alignment:"配置",indentation:"インデント",left:"左",right:"右",firstLine:"先頭行",hanging:"ぶら下げ",spacing:"間隔",before:"前の間隔",after:"後の間隔",lineSpace:"行間",multiSpace:"複数行間",fixedValue:"固定値(px)"}},rightClick:{copy:"コピー",cut:"切り取り",paste:"貼り付け",delete:"削除",bulletList:"箇条書き",orderList:"番号付きリスト",checkList:"チェックリスト",insertBellow:"下に挿入"},"page-settings":{"document-setting":"文書設定","paper-size":"用紙サイズ","page-size":{main:"用紙サイズ",a4:"A4",a3:"A3",a5:"A5",b4:"B4",b5:"B5",letter:"Letter",legal:"Legal",tabloid:"Tabloid",statement:"Statement",executive:"Executive",folio:"Folio"},orientation:"方向",portrait:"縦",landscape:"横","custom-paper-size":"カスタム用紙サイズ",top:"上",bottom:"下",left:"左",right:"右",cancel:"キャンセル",confirm:"確認"}};module.exports=e;
|
package/lib/es/index.js
CHANGED
|
@@ -10000,7 +10000,7 @@ function Oh() {
|
|
|
10000
10000
|
}
|
|
10001
10001
|
);
|
|
10002
10002
|
}
|
|
10003
|
-
const Th = "univer-
|
|
10003
|
+
const Th = "univer-font-[500] univer-truncate univer-h-[24px] univer-mb-2 univer-leading-[24px] univer-cursor-pointer univer-pr-1 ", Bh = "univer-text-base univer-font-semibold", Mh = "univer-text-sm univer-font-semibold", _h = "univer-text-sm", Dh = Be((n, e) => {
|
|
10004
10004
|
const { menus: t, onClick: o, className: r, style: s, mode: i, maxHeight: a, activeId: c, open: d, onOpenChange: l, maxWidth: A, wrapperClass: h, wrapperStyle: u, iconClass: g, iconStyle: f } = n, p = i === "side-bar", m = ke(null), I = ke(t);
|
|
10005
10005
|
I.current = t;
|
|
10006
10006
|
const S = _e(() => ({
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
toolbar: {
|
|
3
|
+
undo: "元に戻す",
|
|
4
|
+
redo: "やり直し",
|
|
5
|
+
font: "フォント",
|
|
6
|
+
fontSize: "フォントサイズ",
|
|
7
|
+
bold: "太字",
|
|
8
|
+
italic: "斜体",
|
|
9
|
+
strikethrough: "取り消し線",
|
|
10
|
+
subscript: "下付き文字",
|
|
11
|
+
superscript: "上付き文字",
|
|
12
|
+
underline: "下線",
|
|
13
|
+
textColor: {
|
|
14
|
+
main: "文字の色",
|
|
15
|
+
right: "色を選択"
|
|
16
|
+
},
|
|
17
|
+
fillColor: {
|
|
18
|
+
main: "塗りつぶしの色",
|
|
19
|
+
right: "色を選択"
|
|
20
|
+
},
|
|
21
|
+
table: {
|
|
22
|
+
main: "表",
|
|
23
|
+
insert: "表の挿入",
|
|
24
|
+
colCount: "列数",
|
|
25
|
+
rowCount: "行数"
|
|
26
|
+
},
|
|
27
|
+
resetColor: "既定の色に戻す",
|
|
28
|
+
order: "番号付きリスト",
|
|
29
|
+
unorder: "箇条書き",
|
|
30
|
+
checklist: "チェックリスト",
|
|
31
|
+
documentFlavor: "モダンモード",
|
|
32
|
+
alignLeft: "左揃え",
|
|
33
|
+
alignCenter: "中央揃え",
|
|
34
|
+
alignRight: "右揃え",
|
|
35
|
+
alignJustify: "両端揃え",
|
|
36
|
+
horizontalLine: "横線の挿入",
|
|
37
|
+
headerFooter: "ヘッダーとフッター",
|
|
38
|
+
pageSetup: "ページ設定"
|
|
39
|
+
},
|
|
40
|
+
table: {
|
|
41
|
+
insert: "挿入",
|
|
42
|
+
insertRowAbove: "上に行を挿入",
|
|
43
|
+
insertRowBelow: "下に行を挿入",
|
|
44
|
+
insertColumnLeft: "左に列を挿入",
|
|
45
|
+
insertColumnRight: "右に列を挿入",
|
|
46
|
+
delete: "表を削除",
|
|
47
|
+
deleteRows: "行を削除",
|
|
48
|
+
deleteColumns: "列を削除",
|
|
49
|
+
deleteTable: "表を削除"
|
|
50
|
+
},
|
|
51
|
+
headerFooter: {
|
|
52
|
+
header: "ヘッダー",
|
|
53
|
+
footer: "フッター",
|
|
54
|
+
panel: "ヘッダーとフッターの設定",
|
|
55
|
+
firstPageCheckBox: "先頭ページを別設定",
|
|
56
|
+
oddEvenCheckBox: "奇数/偶数ページを別設定",
|
|
57
|
+
headerTopMargin: "ヘッダー上余白(px)",
|
|
58
|
+
footerBottomMargin: "フッター下余白(px)",
|
|
59
|
+
closeHeaderFooter: "ヘッダー/フッターを閉じる",
|
|
60
|
+
disableText: "ヘッダーとフッターの設定は無効です"
|
|
61
|
+
},
|
|
62
|
+
doc: {
|
|
63
|
+
menu: {
|
|
64
|
+
paragraphSetting: "段落設定"
|
|
65
|
+
},
|
|
66
|
+
slider: {
|
|
67
|
+
paragraphSetting: "段落設定"
|
|
68
|
+
},
|
|
69
|
+
paragraphSetting: {
|
|
70
|
+
alignment: "配置",
|
|
71
|
+
indentation: "インデント",
|
|
72
|
+
left: "左",
|
|
73
|
+
right: "右",
|
|
74
|
+
firstLine: "先頭行",
|
|
75
|
+
hanging: "ぶら下げ",
|
|
76
|
+
spacing: "間隔",
|
|
77
|
+
before: "前の間隔",
|
|
78
|
+
after: "後の間隔",
|
|
79
|
+
lineSpace: "行間",
|
|
80
|
+
multiSpace: "複数行間",
|
|
81
|
+
fixedValue: "固定値(px)"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
rightClick: {
|
|
85
|
+
copy: "コピー",
|
|
86
|
+
cut: "切り取り",
|
|
87
|
+
paste: "貼り付け",
|
|
88
|
+
delete: "削除",
|
|
89
|
+
bulletList: "箇条書き",
|
|
90
|
+
orderList: "番号付きリスト",
|
|
91
|
+
checkList: "チェックリスト",
|
|
92
|
+
insertBellow: "下に挿入"
|
|
93
|
+
},
|
|
94
|
+
"page-settings": {
|
|
95
|
+
"document-setting": "文書設定",
|
|
96
|
+
"paper-size": "用紙サイズ",
|
|
97
|
+
"page-size": {
|
|
98
|
+
main: "用紙サイズ",
|
|
99
|
+
a4: "A4",
|
|
100
|
+
a3: "A3",
|
|
101
|
+
a5: "A5",
|
|
102
|
+
b4: "B4",
|
|
103
|
+
b5: "B5",
|
|
104
|
+
letter: "Letter",
|
|
105
|
+
legal: "Legal",
|
|
106
|
+
tabloid: "Tabloid",
|
|
107
|
+
statement: "Statement",
|
|
108
|
+
executive: "Executive",
|
|
109
|
+
folio: "Folio"
|
|
110
|
+
},
|
|
111
|
+
orientation: "方向",
|
|
112
|
+
portrait: "縦",
|
|
113
|
+
landscape: "横",
|
|
114
|
+
"custom-paper-size": "カスタム用紙サイズ",
|
|
115
|
+
top: "上",
|
|
116
|
+
bottom: "下",
|
|
117
|
+
left: "左",
|
|
118
|
+
right: "右",
|
|
119
|
+
cancel: "キャンセル",
|
|
120
|
+
confirm: "確認"
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
export {
|
|
124
|
+
e as default
|
|
125
|
+
};
|
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-bottom-0{bottom:0}.univer-left-0{left:0}.univer-left-5{left:1.25rem}.univer-left-\[5px\]{left:5px}.univer-top-0{top:0}.univer-top-4{top:1rem}.univer-top-\[5px\]{top:5px}.univer-z-\[100\]{z-index:100}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-mr-1{margin-right:.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-12{margin-top:3rem}.univer-mt-3{margin-top:.75rem}.univer-mt-4{margin-top:1rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-4{width:1rem;height:1rem}.univer-size-full{width:100%;height:100%}.univer-h-20{height:5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[24px\]{height:24px}.univer-w-28{width:7rem}.univer-w-4\/5{width:80%}.univer-w-8{width:2rem}.univer-w-\[0px\]{width:0px}.univer-w-\[162px\]{width:162px}.univer-w-\[72px\]{width:72px}.univer-w-full{width:100%}.univer-min-w-\[180px\]{min-width:180px}.univer-flex-1{flex:1 1 0%}.univer-flex-shrink-0{flex-shrink:0}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-flex-nowrap{flex-wrap:nowrap}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-justify-around{justify-content:space-around}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2{gap:.5rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-4{gap:1rem}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-overflow-x-hidden{overflow-x:hidden}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-md{border-radius:.375rem}.univer-rounded-r-2xl{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.univer-border-primary-500{border-color:var(--univer-primary-500)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-white{background-color:var(--univer-white)}.univer-bg-none{background-image:none}.univer-p-1{padding:.25rem}.univer-p-1\.5{padding:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-5{padding-left:1.25rem;padding-right:1.25rem}.univer-py-0{padding-top:0;padding-bottom:0}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-pb-0\.5{padding-bottom:.125rem}.univer-pb-4{padding-bottom:1rem}.univer-pl-1\.5{padding-left:.375rem}.univer-pr-1{padding-right:.25rem}.univer-pr-2{padding-right:.5rem}.univer-pt-1\.5{padding-top:.375rem}.univer-pt-14{padding-top:3.5rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-\[500\],.univer-font-medium{font-weight:500}.univer-font-semibold{font-weight:600}.univer-leading-\[24px\]{line-height:24px}.\!univer-text-gray-200{color:var(--univer-gray-200)!important}.\!univer-text-gray-400{color:var(--univer-gray-400)!important}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-sm{--univer-tw-shadow: 0px 1px 2px 0px rgba(30, 40, 77, .08);--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #1e284d14;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-backdrop-blur-\[10px\]{--univer-tw-backdrop-blur: blur(10px)
|
|
1
|
+
.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-bottom-0{bottom:0}.univer-left-0{left:0}.univer-left-5{left:1.25rem}.univer-left-\[5px\]{left:5px}.univer-top-0{top:0}.univer-top-4{top:1rem}.univer-top-\[5px\]{top:5px}.univer-z-\[100\]{z-index:100}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-mr-1{margin-right:.25rem}.univer-mt-1\.5{margin-top:.375rem}.univer-mt-12{margin-top:3rem}.univer-mt-3{margin-top:.75rem}.univer-mt-4{margin-top:1rem}.univer-box-border{box-sizing:border-box}.univer-block{display:block}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-3{width:.75rem;height:.75rem}.univer-size-4{width:1rem;height:1rem}.univer-size-full{width:100%;height:100%}.univer-h-20{height:5rem}.univer-h-7{height:1.75rem}.univer-h-8{height:2rem}.univer-h-\[24px\]{height:24px}.univer-w-28{width:7rem}.univer-w-4\/5{width:80%}.univer-w-8{width:2rem}.univer-w-\[0px\]{width:0px}.univer-w-\[162px\]{width:162px}.univer-w-\[72px\]{width:72px}.univer-w-full{width:100%}.univer-min-w-\[180px\]{min-width:180px}.univer-flex-1{flex:1 1 0%}.univer-flex-shrink-0{flex-shrink:0}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-flex-nowrap{flex-wrap:nowrap}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-justify-around{justify-content:space-around}.univer-gap-1{gap:.25rem}.univer-gap-1\.5{gap:.375rem}.univer-gap-2{gap:.5rem}.univer-gap-2\.5{gap:.625rem}.univer-gap-4{gap:1rem}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-overflow-x-hidden{overflow-x:hidden}.univer-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.univer-rounded{border-radius:.25rem}.univer-rounded-full{border-radius:9999px}.univer-rounded-md{border-radius:.375rem}.univer-rounded-r-2xl{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.univer-border-primary-500{border-color:var(--univer-primary-500)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-white{background-color:var(--univer-white)}.univer-bg-none{background-image:none}.univer-p-1{padding:.25rem}.univer-p-1\.5{padding:.375rem}.univer-px-2{padding-left:.5rem;padding-right:.5rem}.univer-px-2\.5{padding-left:.625rem;padding-right:.625rem}.univer-px-3{padding-left:.75rem;padding-right:.75rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-px-5{padding-left:1.25rem;padding-right:1.25rem}.univer-py-0{padding-top:0;padding-bottom:0}.univer-py-1{padding-top:.25rem;padding-bottom:.25rem}.univer-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.univer-pb-0\.5{padding-bottom:.125rem}.univer-pb-4{padding-bottom:1rem}.univer-pl-1\.5{padding-left:.375rem}.univer-pr-1{padding-right:.25rem}.univer-pr-2{padding-right:.5rem}.univer-pt-1\.5{padding-top:.375rem}.univer-pt-14{padding-top:3.5rem}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-\[500\],.univer-font-medium{font-weight:500}.univer-font-semibold{font-weight:600}.univer-leading-\[24px\]{line-height:24px}.\!univer-text-gray-200{color:var(--univer-gray-200)!important}.\!univer-text-gray-400{color:var(--univer-gray-400)!important}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-500{color:var(--univer-gray-500)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-800{color:var(--univer-gray-800)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-shadow-sm{--univer-tw-shadow: 0px 1px 2px 0px rgba(30, 40, 77, .08);--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 2px #1e284d14;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),var(--univer-tw-shadow)}.univer-backdrop-blur-\[10px\]{--univer-tw-backdrop-blur: blur(10px);backdrop-filter:blur(10px) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia);backdrop-filter:var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia)}.univer-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.univer-duration-300{transition-duration:.3s}.hover\:univer-border-primary-500:hover{border-color:var(--univer-primary-500)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.dark\:\!univer-border-gray-700:where(.univer-dark,.univer-dark *){border-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-600:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-gray-400:where(.univer-dark,.univer-dark *){color:var(--univer-gray-400)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-600)!important}
|
package/lib/index.js
CHANGED
|
@@ -10000,7 +10000,7 @@ function Oh() {
|
|
|
10000
10000
|
}
|
|
10001
10001
|
);
|
|
10002
10002
|
}
|
|
10003
|
-
const Th = "univer-
|
|
10003
|
+
const Th = "univer-font-[500] univer-truncate univer-h-[24px] univer-mb-2 univer-leading-[24px] univer-cursor-pointer univer-pr-1 ", Bh = "univer-text-base univer-font-semibold", Mh = "univer-text-sm univer-font-semibold", _h = "univer-text-sm", Dh = Be((n, e) => {
|
|
10004
10004
|
const { menus: t, onClick: o, className: r, style: s, mode: i, maxHeight: a, activeId: c, open: d, onOpenChange: l, maxWidth: A, wrapperClass: h, wrapperStyle: u, iconClass: g, iconStyle: f } = n, p = i === "side-bar", m = ke(null), I = ke(t);
|
|
10005
10005
|
I.current = t;
|
|
10006
10006
|
const S = _e(() => ({
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
toolbar: {
|
|
3
|
+
undo: "元に戻す",
|
|
4
|
+
redo: "やり直し",
|
|
5
|
+
font: "フォント",
|
|
6
|
+
fontSize: "フォントサイズ",
|
|
7
|
+
bold: "太字",
|
|
8
|
+
italic: "斜体",
|
|
9
|
+
strikethrough: "取り消し線",
|
|
10
|
+
subscript: "下付き文字",
|
|
11
|
+
superscript: "上付き文字",
|
|
12
|
+
underline: "下線",
|
|
13
|
+
textColor: {
|
|
14
|
+
main: "文字の色",
|
|
15
|
+
right: "色を選択"
|
|
16
|
+
},
|
|
17
|
+
fillColor: {
|
|
18
|
+
main: "塗りつぶしの色",
|
|
19
|
+
right: "色を選択"
|
|
20
|
+
},
|
|
21
|
+
table: {
|
|
22
|
+
main: "表",
|
|
23
|
+
insert: "表の挿入",
|
|
24
|
+
colCount: "列数",
|
|
25
|
+
rowCount: "行数"
|
|
26
|
+
},
|
|
27
|
+
resetColor: "既定の色に戻す",
|
|
28
|
+
order: "番号付きリスト",
|
|
29
|
+
unorder: "箇条書き",
|
|
30
|
+
checklist: "チェックリスト",
|
|
31
|
+
documentFlavor: "モダンモード",
|
|
32
|
+
alignLeft: "左揃え",
|
|
33
|
+
alignCenter: "中央揃え",
|
|
34
|
+
alignRight: "右揃え",
|
|
35
|
+
alignJustify: "両端揃え",
|
|
36
|
+
horizontalLine: "横線の挿入",
|
|
37
|
+
headerFooter: "ヘッダーとフッター",
|
|
38
|
+
pageSetup: "ページ設定"
|
|
39
|
+
},
|
|
40
|
+
table: {
|
|
41
|
+
insert: "挿入",
|
|
42
|
+
insertRowAbove: "上に行を挿入",
|
|
43
|
+
insertRowBelow: "下に行を挿入",
|
|
44
|
+
insertColumnLeft: "左に列を挿入",
|
|
45
|
+
insertColumnRight: "右に列を挿入",
|
|
46
|
+
delete: "表を削除",
|
|
47
|
+
deleteRows: "行を削除",
|
|
48
|
+
deleteColumns: "列を削除",
|
|
49
|
+
deleteTable: "表を削除"
|
|
50
|
+
},
|
|
51
|
+
headerFooter: {
|
|
52
|
+
header: "ヘッダー",
|
|
53
|
+
footer: "フッター",
|
|
54
|
+
panel: "ヘッダーとフッターの設定",
|
|
55
|
+
firstPageCheckBox: "先頭ページを別設定",
|
|
56
|
+
oddEvenCheckBox: "奇数/偶数ページを別設定",
|
|
57
|
+
headerTopMargin: "ヘッダー上余白(px)",
|
|
58
|
+
footerBottomMargin: "フッター下余白(px)",
|
|
59
|
+
closeHeaderFooter: "ヘッダー/フッターを閉じる",
|
|
60
|
+
disableText: "ヘッダーとフッターの設定は無効です"
|
|
61
|
+
},
|
|
62
|
+
doc: {
|
|
63
|
+
menu: {
|
|
64
|
+
paragraphSetting: "段落設定"
|
|
65
|
+
},
|
|
66
|
+
slider: {
|
|
67
|
+
paragraphSetting: "段落設定"
|
|
68
|
+
},
|
|
69
|
+
paragraphSetting: {
|
|
70
|
+
alignment: "配置",
|
|
71
|
+
indentation: "インデント",
|
|
72
|
+
left: "左",
|
|
73
|
+
right: "右",
|
|
74
|
+
firstLine: "先頭行",
|
|
75
|
+
hanging: "ぶら下げ",
|
|
76
|
+
spacing: "間隔",
|
|
77
|
+
before: "前の間隔",
|
|
78
|
+
after: "後の間隔",
|
|
79
|
+
lineSpace: "行間",
|
|
80
|
+
multiSpace: "複数行間",
|
|
81
|
+
fixedValue: "固定値(px)"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
rightClick: {
|
|
85
|
+
copy: "コピー",
|
|
86
|
+
cut: "切り取り",
|
|
87
|
+
paste: "貼り付け",
|
|
88
|
+
delete: "削除",
|
|
89
|
+
bulletList: "箇条書き",
|
|
90
|
+
orderList: "番号付きリスト",
|
|
91
|
+
checkList: "チェックリスト",
|
|
92
|
+
insertBellow: "下に挿入"
|
|
93
|
+
},
|
|
94
|
+
"page-settings": {
|
|
95
|
+
"document-setting": "文書設定",
|
|
96
|
+
"paper-size": "用紙サイズ",
|
|
97
|
+
"page-size": {
|
|
98
|
+
main: "用紙サイズ",
|
|
99
|
+
a4: "A4",
|
|
100
|
+
a3: "A3",
|
|
101
|
+
a5: "A5",
|
|
102
|
+
b4: "B4",
|
|
103
|
+
b5: "B5",
|
|
104
|
+
letter: "Letter",
|
|
105
|
+
legal: "Legal",
|
|
106
|
+
tabloid: "Tabloid",
|
|
107
|
+
statement: "Statement",
|
|
108
|
+
executive: "Executive",
|
|
109
|
+
folio: "Folio"
|
|
110
|
+
},
|
|
111
|
+
orientation: "方向",
|
|
112
|
+
portrait: "縦",
|
|
113
|
+
landscape: "横",
|
|
114
|
+
"custom-paper-size": "カスタム用紙サイズ",
|
|
115
|
+
top: "上",
|
|
116
|
+
bottom: "下",
|
|
117
|
+
left: "左",
|
|
118
|
+
right: "右",
|
|
119
|
+
cancel: "キャンセル",
|
|
120
|
+
confirm: "確認"
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
export {
|
|
124
|
+
e as default
|
|
125
|
+
};
|