@nanahoshi/mona-ui 0.24.9 → 0.24.10
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/fesm2022/nanahoshi-mona-ui-color-picker.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +3 -1
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +1054 -452
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +131 -13
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-window.mjs +3 -1
- package/i18n/catalogs/en-US.messages.json +20 -4
- package/locales/ar-sa/ar-sa.messages.json +16 -0
- package/locales/de-de/de-de.messages.json +16 -0
- package/locales/es-es/es-es.messages.json +16 -0
- package/locales/fr-fr/fr-fr.messages.json +16 -0
- package/locales/id-id/id-id.messages.json +16 -0
- package/locales/it-it/it-it.messages.json +16 -0
- package/locales/ja-jp/ja-jp.messages.json +16 -0
- package/locales/ko-kr/ko-kr.messages.json +16 -0
- package/locales/pt-br/pt-br.messages.json +16 -0
- package/locales/ru-ru/ru-ru.messages.json +16 -0
- package/locales/tr-tr/tr-tr.messages.json +16 -0
- package/locales/zh-cn/zh-cn.messages.json +16 -0
- package/locales/zh-tw/zh-tw.messages.json +16 -0
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-editor.d.ts +118 -21
- package/types/nanahoshi-mona-ui-i18n.d.ts +18 -0
- package/types/nanahoshi-mona-ui-internal.d.ts +24 -2
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +16 -0
|
@@ -127,24 +127,33 @@ const KO_KR_MESSAGES = {
|
|
|
127
127
|
addRowAfter: "뒤에 행 삽입",
|
|
128
128
|
addRowBefore: "앞에 행 삽입",
|
|
129
129
|
alignCenter: "가운데 맞춤",
|
|
130
|
+
alignEnd: "텍스트 끝 맞춤",
|
|
130
131
|
alignLeft: "왼쪽 맞춤",
|
|
131
132
|
alignRight: "오른쪽 맞춤",
|
|
133
|
+
alignStart: "텍스트 시작 맞춤",
|
|
134
|
+
alignmentGroup: "정렬",
|
|
132
135
|
altText: "대체 텍스트",
|
|
136
|
+
apply: "적용",
|
|
133
137
|
backgroundColor: "배경색",
|
|
134
138
|
bold: "굵게",
|
|
135
139
|
cancel: "취소",
|
|
136
140
|
codeBlock: "코드 블록",
|
|
137
141
|
color: "색상",
|
|
142
|
+
contentLabel: "서식 있는 텍스트 편집기",
|
|
143
|
+
defaultFontFamily: "기본 글꼴",
|
|
138
144
|
deleteColumn: "열 삭제",
|
|
139
145
|
deleteRow: "행 삭제",
|
|
140
146
|
deleteTable: "표 삭제",
|
|
147
|
+
editLink: "링크 편집",
|
|
141
148
|
enterUrl: "URL 입력",
|
|
142
149
|
fontSize: "글꼴 크기",
|
|
143
150
|
format: "서식",
|
|
144
151
|
heading: (level) => `제목 ${localizeNumber(level)}`,
|
|
145
152
|
heightPx: "높이 (px)",
|
|
153
|
+
historyGroup: "기록",
|
|
146
154
|
imageUrl: "이미지 URL",
|
|
147
155
|
indent: "들여쓰기",
|
|
156
|
+
indentGroup: "들여쓰기",
|
|
148
157
|
insert: "삽입",
|
|
149
158
|
insertImage: "이미지 삽입",
|
|
150
159
|
insertLink: "링크 삽입",
|
|
@@ -152,8 +161,11 @@ const KO_KR_MESSAGES = {
|
|
|
152
161
|
insertTable: "표 삽입",
|
|
153
162
|
insertTaskList: "작업 목록 삽입",
|
|
154
163
|
insertUnorderedList: "글머리 기호 목록 삽입",
|
|
164
|
+
invalidUrl: "웹 주소, mailto: 또는 tel: 링크, 또는 상대 경로를 입력하세요.",
|
|
155
165
|
italic: "기울임꼴",
|
|
156
166
|
justify: "양쪽 맞춤",
|
|
167
|
+
linkGroup: "링크",
|
|
168
|
+
listGroup: "목록",
|
|
157
169
|
mergeCells: "선택한 셀 병합",
|
|
158
170
|
outdent: "내어쓰기",
|
|
159
171
|
paragraph: "단락",
|
|
@@ -166,7 +178,11 @@ const KO_KR_MESSAGES = {
|
|
|
166
178
|
strikethrough: "취소선",
|
|
167
179
|
subscript: "아래 첨자",
|
|
168
180
|
superscript: "위 첨자",
|
|
181
|
+
tableGroup: "표",
|
|
182
|
+
tableSize: (rows, columns) => `행: ${localizeNumber(rows)}, 열: ${localizeNumber(columns)}`,
|
|
183
|
+
textStyleGroup: "텍스트 스타일",
|
|
169
184
|
toggleHeaderRow: "헤더 행 전환",
|
|
185
|
+
toolbar: "서식",
|
|
170
186
|
underline: "밑줄",
|
|
171
187
|
undo: "실행 취소",
|
|
172
188
|
widthPx: "너비 (px)"
|
|
@@ -127,24 +127,33 @@ const PT_BR_MESSAGES = {
|
|
|
127
127
|
addRowAfter: "Inserir linha depois",
|
|
128
128
|
addRowBefore: "Inserir linha antes",
|
|
129
129
|
alignCenter: "Centralizar texto",
|
|
130
|
+
alignEnd: "Alinhar texto ao fim",
|
|
130
131
|
alignLeft: "Alinhar texto à esquerda",
|
|
131
132
|
alignRight: "Alinhar texto à direita",
|
|
133
|
+
alignStart: "Alinhar texto ao início",
|
|
134
|
+
alignmentGroup: "Alinhamento",
|
|
132
135
|
altText: "Texto alternativo",
|
|
136
|
+
apply: "Aplicar",
|
|
133
137
|
backgroundColor: "Cor de fundo",
|
|
134
138
|
bold: "Negrito",
|
|
135
139
|
cancel: "Cancelar",
|
|
136
140
|
codeBlock: "Bloco de código",
|
|
137
141
|
color: "Cor",
|
|
142
|
+
contentLabel: "Editor de texto formatado",
|
|
143
|
+
defaultFontFamily: "Fonte padrão",
|
|
138
144
|
deleteColumn: "Excluir coluna",
|
|
139
145
|
deleteRow: "Excluir linha",
|
|
140
146
|
deleteTable: "Excluir tabela",
|
|
147
|
+
editLink: "Editar link",
|
|
141
148
|
enterUrl: "Inserir a URL",
|
|
142
149
|
fontSize: "Tamanho da fonte",
|
|
143
150
|
format: "Formatação",
|
|
144
151
|
heading: (level) => `Título ${localizeNumber(level)}`,
|
|
145
152
|
heightPx: "Altura (px)",
|
|
153
|
+
historyGroup: "Histórico",
|
|
146
154
|
imageUrl: "URL da imagem",
|
|
147
155
|
indent: "Aumentar recuo",
|
|
156
|
+
indentGroup: "Recuo",
|
|
148
157
|
insert: "Inserir",
|
|
149
158
|
insertImage: "Inserir imagem",
|
|
150
159
|
insertLink: "Inserir link",
|
|
@@ -152,8 +161,11 @@ const PT_BR_MESSAGES = {
|
|
|
152
161
|
insertTable: "Inserir tabela",
|
|
153
162
|
insertTaskList: "Inserir lista de tarefas",
|
|
154
163
|
insertUnorderedList: "Inserir lista com marcadores",
|
|
164
|
+
invalidUrl: "Insira um endereço da web, um link mailto: ou tel:, ou um caminho relativo.",
|
|
155
165
|
italic: "Itálico",
|
|
156
166
|
justify: "Justificar",
|
|
167
|
+
linkGroup: "Hiperlink",
|
|
168
|
+
listGroup: "Listas",
|
|
157
169
|
mergeCells: "Mesclar células selecionadas",
|
|
158
170
|
outdent: "Diminuir recuo",
|
|
159
171
|
paragraph: "Parágrafo",
|
|
@@ -166,7 +178,11 @@ const PT_BR_MESSAGES = {
|
|
|
166
178
|
strikethrough: "Tachado",
|
|
167
179
|
subscript: "Subscrito",
|
|
168
180
|
superscript: "Sobrescrito",
|
|
181
|
+
tableGroup: "Tabela",
|
|
182
|
+
tableSize: (rows, columns) => `Linhas: ${localizeNumber(rows)}, colunas: ${localizeNumber(columns)}`,
|
|
183
|
+
textStyleGroup: "Estilo do texto",
|
|
169
184
|
toggleHeaderRow: "Alternar linha de cabeçalho",
|
|
185
|
+
toolbar: "Formatação",
|
|
170
186
|
underline: "Sublinhado",
|
|
171
187
|
undo: "Desfazer",
|
|
172
188
|
widthPx: "Largura (px)"
|
|
@@ -131,24 +131,33 @@ const RU_RU_MESSAGES = {
|
|
|
131
131
|
addRowAfter: "Добавить строку после",
|
|
132
132
|
addRowBefore: "Добавить строку перед",
|
|
133
133
|
alignCenter: "Выровнять по центру",
|
|
134
|
+
alignEnd: "Выровнять текст по концу строки",
|
|
134
135
|
alignLeft: "Выровнять по левому краю",
|
|
135
136
|
alignRight: "Выровнять по правому краю",
|
|
137
|
+
alignStart: "Выровнять текст по началу строки",
|
|
138
|
+
alignmentGroup: "Выравнивание",
|
|
136
139
|
altText: "Альтернативный текст",
|
|
140
|
+
apply: "Применить",
|
|
137
141
|
backgroundColor: "Цвет фона",
|
|
138
142
|
bold: "Полужирный",
|
|
139
143
|
cancel: "Отмена",
|
|
140
144
|
codeBlock: "Блок кода",
|
|
141
145
|
color: "Цвет",
|
|
146
|
+
contentLabel: "Редактор форматированного текста",
|
|
147
|
+
defaultFontFamily: "Шрифт по умолчанию",
|
|
142
148
|
deleteColumn: "Удалить столбец",
|
|
143
149
|
deleteRow: "Удалить строку",
|
|
144
150
|
deleteTable: "Удалить таблицу",
|
|
151
|
+
editLink: "Изменить ссылку",
|
|
145
152
|
enterUrl: "Введите URL",
|
|
146
153
|
fontSize: "Размер шрифта",
|
|
147
154
|
format: "Форматирование",
|
|
148
155
|
heading: (level) => `Заголовок ${localizeNumber(level)}`,
|
|
149
156
|
heightPx: "Высота (px)",
|
|
157
|
+
historyGroup: "История",
|
|
150
158
|
imageUrl: "URL изображения",
|
|
151
159
|
indent: "Увеличить отступ",
|
|
160
|
+
indentGroup: "Отступ",
|
|
152
161
|
insert: "Вставить",
|
|
153
162
|
insertImage: "Вставить изображение",
|
|
154
163
|
insertLink: "Вставить ссылку",
|
|
@@ -156,8 +165,11 @@ const RU_RU_MESSAGES = {
|
|
|
156
165
|
insertTable: "Вставить таблицу",
|
|
157
166
|
insertTaskList: "Вставить список задач",
|
|
158
167
|
insertUnorderedList: "Вставить маркированный список",
|
|
168
|
+
invalidUrl: "Введите веб-адрес, ссылку mailto: или tel: либо относительный путь.",
|
|
159
169
|
italic: "Курсив",
|
|
160
170
|
justify: "Выровнять по ширине",
|
|
171
|
+
linkGroup: "Ссылка",
|
|
172
|
+
listGroup: "Списки",
|
|
161
173
|
mergeCells: "Объединить выбранные ячейки",
|
|
162
174
|
outdent: "Уменьшить отступ",
|
|
163
175
|
paragraph: "Абзац",
|
|
@@ -170,7 +182,11 @@ const RU_RU_MESSAGES = {
|
|
|
170
182
|
strikethrough: "Зачёркнутый",
|
|
171
183
|
subscript: "Подстрочный знак",
|
|
172
184
|
superscript: "Надстрочный знак",
|
|
185
|
+
tableGroup: "Таблица",
|
|
186
|
+
tableSize: (rows, columns) => `Строки: ${localizeNumber(rows)}, столбцы: ${localizeNumber(columns)}`,
|
|
187
|
+
textStyleGroup: "Стиль текста",
|
|
173
188
|
toggleHeaderRow: "Переключить строку заголовка",
|
|
189
|
+
toolbar: "Форматирование",
|
|
174
190
|
underline: "Подчёркнутый",
|
|
175
191
|
undo: "Отменить",
|
|
176
192
|
widthPx: "Ширина (px)"
|
|
@@ -127,24 +127,33 @@ const TR_TR_MESSAGES = {
|
|
|
127
127
|
addRowAfter: "Sonrasına satır ekle",
|
|
128
128
|
addRowBefore: "Öncesine satır ekle",
|
|
129
129
|
alignCenter: "Ortala",
|
|
130
|
+
alignEnd: "Metni sona hizala",
|
|
130
131
|
alignLeft: "Sola hizala",
|
|
131
132
|
alignRight: "Sağa hizala",
|
|
133
|
+
alignStart: "Metni başa hizala",
|
|
134
|
+
alignmentGroup: "Hizalama",
|
|
132
135
|
altText: "Alternatif metin",
|
|
136
|
+
apply: "Uygula",
|
|
133
137
|
backgroundColor: "Arka plan rengi",
|
|
134
138
|
bold: "Kalın",
|
|
135
139
|
cancel: "İptal",
|
|
136
140
|
codeBlock: "Kod bloğu",
|
|
137
141
|
color: "Renk",
|
|
142
|
+
contentLabel: "Zengin metin düzenleyici",
|
|
143
|
+
defaultFontFamily: "Varsayılan yazı tipi",
|
|
138
144
|
deleteColumn: "Sütunu sil",
|
|
139
145
|
deleteRow: "Satırı sil",
|
|
140
146
|
deleteTable: "Tabloyu sil",
|
|
147
|
+
editLink: "Bağlantıyı düzenle",
|
|
141
148
|
enterUrl: "URL'yi gir",
|
|
142
149
|
fontSize: "Yazı tipi boyutu",
|
|
143
150
|
format: "Biçim",
|
|
144
151
|
heading: (level) => `Başlık ${localizeNumber(level)}`,
|
|
145
152
|
heightPx: "Yükseklik (px)",
|
|
153
|
+
historyGroup: "Geçmiş",
|
|
146
154
|
imageUrl: "Görsel URL'si",
|
|
147
155
|
indent: "Girintiyi artır",
|
|
156
|
+
indentGroup: "Girinti",
|
|
148
157
|
insert: "Ekle",
|
|
149
158
|
insertImage: "Görsel ekle",
|
|
150
159
|
insertLink: "Bağlantı ekle",
|
|
@@ -152,8 +161,11 @@ const TR_TR_MESSAGES = {
|
|
|
152
161
|
insertTable: "Tablo ekle",
|
|
153
162
|
insertTaskList: "Görev listesi ekle",
|
|
154
163
|
insertUnorderedList: "Madde işaretli liste ekle",
|
|
164
|
+
invalidUrl: "Bir web adresi, mailto: veya tel: bağlantısı ya da göreli bir yol girin.",
|
|
155
165
|
italic: "İtalik",
|
|
156
166
|
justify: "İki yana yasla",
|
|
167
|
+
linkGroup: "Bağlantı",
|
|
168
|
+
listGroup: "Listeler",
|
|
157
169
|
mergeCells: "Seçili hücreleri birleştir",
|
|
158
170
|
outdent: "Girintiyi azalt",
|
|
159
171
|
paragraph: "Paragraf",
|
|
@@ -166,7 +178,11 @@ const TR_TR_MESSAGES = {
|
|
|
166
178
|
strikethrough: "Üstü çizili",
|
|
167
179
|
subscript: "Alt simge",
|
|
168
180
|
superscript: "Üst simge",
|
|
181
|
+
tableGroup: "Tablo",
|
|
182
|
+
tableSize: (rows, columns) => `Satır: ${localizeNumber(rows)}, sütun: ${localizeNumber(columns)}`,
|
|
183
|
+
textStyleGroup: "Metin stili",
|
|
169
184
|
toggleHeaderRow: "Başlık satırını aç/kapat",
|
|
185
|
+
toolbar: "Biçimlendirme",
|
|
170
186
|
underline: "Altı çizili",
|
|
171
187
|
undo: "Geri al",
|
|
172
188
|
widthPx: "Genişlik (px)"
|
|
@@ -127,24 +127,33 @@ const ZH_CN_MESSAGES = {
|
|
|
127
127
|
addRowAfter: "在后方插入行",
|
|
128
128
|
addRowBefore: "在前方插入行",
|
|
129
129
|
alignCenter: "居中对齐",
|
|
130
|
+
alignEnd: "文本末端对齐",
|
|
130
131
|
alignLeft: "左对齐",
|
|
131
132
|
alignRight: "右对齐",
|
|
133
|
+
alignStart: "文本起始端对齐",
|
|
134
|
+
alignmentGroup: "对齐",
|
|
132
135
|
altText: "替代文本",
|
|
136
|
+
apply: "应用",
|
|
133
137
|
backgroundColor: "背景颜色",
|
|
134
138
|
bold: "粗体",
|
|
135
139
|
cancel: "取消",
|
|
136
140
|
codeBlock: "代码块",
|
|
137
141
|
color: "颜色",
|
|
142
|
+
contentLabel: "富文本编辑器",
|
|
143
|
+
defaultFontFamily: "默认字体",
|
|
138
144
|
deleteColumn: "删除列",
|
|
139
145
|
deleteRow: "删除行",
|
|
140
146
|
deleteTable: "删除表格",
|
|
147
|
+
editLink: "编辑链接",
|
|
141
148
|
enterUrl: "输入 URL",
|
|
142
149
|
fontSize: "字号",
|
|
143
150
|
format: "格式",
|
|
144
151
|
heading: (level) => `标题 ${localizeNumber(level)}`,
|
|
145
152
|
heightPx: "高度 (px)",
|
|
153
|
+
historyGroup: "历史记录",
|
|
146
154
|
imageUrl: "图片 URL",
|
|
147
155
|
indent: "增加缩进",
|
|
156
|
+
indentGroup: "缩进",
|
|
148
157
|
insert: "插入",
|
|
149
158
|
insertImage: "插入图片",
|
|
150
159
|
insertLink: "插入链接",
|
|
@@ -152,8 +161,11 @@ const ZH_CN_MESSAGES = {
|
|
|
152
161
|
insertTable: "插入表格",
|
|
153
162
|
insertTaskList: "插入任务列表",
|
|
154
163
|
insertUnorderedList: "插入无序列表",
|
|
164
|
+
invalidUrl: "请输入网址、mailto: 或 tel: 链接,或相对路径。",
|
|
155
165
|
italic: "斜体",
|
|
156
166
|
justify: "两端对齐",
|
|
167
|
+
linkGroup: "链接",
|
|
168
|
+
listGroup: "列表",
|
|
157
169
|
mergeCells: "合并所选单元格",
|
|
158
170
|
outdent: "减少缩进",
|
|
159
171
|
paragraph: "段落",
|
|
@@ -166,7 +178,11 @@ const ZH_CN_MESSAGES = {
|
|
|
166
178
|
strikethrough: "删除线",
|
|
167
179
|
subscript: "下标",
|
|
168
180
|
superscript: "上标",
|
|
181
|
+
tableGroup: "表格",
|
|
182
|
+
tableSize: (rows, columns) => `行:${localizeNumber(rows)},列:${localizeNumber(columns)}`,
|
|
183
|
+
textStyleGroup: "文本样式",
|
|
169
184
|
toggleHeaderRow: "切换标题行",
|
|
185
|
+
toolbar: "格式",
|
|
170
186
|
underline: "下划线",
|
|
171
187
|
undo: "撤销",
|
|
172
188
|
widthPx: "宽度 (px)"
|
|
@@ -127,24 +127,33 @@ const ZH_TW_MESSAGES = {
|
|
|
127
127
|
addRowAfter: "在後方插入列",
|
|
128
128
|
addRowBefore: "在前方插入列",
|
|
129
129
|
alignCenter: "置中對齊",
|
|
130
|
+
alignEnd: "文字末端對齊",
|
|
130
131
|
alignLeft: "靠左對齊",
|
|
131
132
|
alignRight: "靠右對齊",
|
|
133
|
+
alignStart: "文字起始端對齊",
|
|
134
|
+
alignmentGroup: "對齊",
|
|
132
135
|
altText: "替代文字",
|
|
136
|
+
apply: "套用",
|
|
133
137
|
backgroundColor: "背景顏色",
|
|
134
138
|
bold: "粗體",
|
|
135
139
|
cancel: "取消",
|
|
136
140
|
codeBlock: "程式碼區塊",
|
|
137
141
|
color: "顏色",
|
|
142
|
+
contentLabel: "富文字編輯器",
|
|
143
|
+
defaultFontFamily: "預設字型",
|
|
138
144
|
deleteColumn: "刪除欄",
|
|
139
145
|
deleteRow: "刪除列",
|
|
140
146
|
deleteTable: "刪除表格",
|
|
147
|
+
editLink: "編輯連結",
|
|
141
148
|
enterUrl: "輸入 URL",
|
|
142
149
|
fontSize: "字型大小",
|
|
143
150
|
format: "格式",
|
|
144
151
|
heading: (level) => `標題 ${localizeNumber(level)}`,
|
|
145
152
|
heightPx: "高度 (px)",
|
|
153
|
+
historyGroup: "歷程記錄",
|
|
146
154
|
imageUrl: "圖片 URL",
|
|
147
155
|
indent: "增加縮排",
|
|
156
|
+
indentGroup: "縮排",
|
|
148
157
|
insert: "插入",
|
|
149
158
|
insertImage: "插入圖片",
|
|
150
159
|
insertLink: "插入連結",
|
|
@@ -152,8 +161,11 @@ const ZH_TW_MESSAGES = {
|
|
|
152
161
|
insertTable: "插入表格",
|
|
153
162
|
insertTaskList: "插入工作清單",
|
|
154
163
|
insertUnorderedList: "插入項目符號清單",
|
|
164
|
+
invalidUrl: "請輸入網址、mailto: 或 tel: 連結,或相對路徑。",
|
|
155
165
|
italic: "斜體",
|
|
156
166
|
justify: "左右對齊",
|
|
167
|
+
linkGroup: "連結",
|
|
168
|
+
listGroup: "清單",
|
|
157
169
|
mergeCells: "合併選取的儲存格",
|
|
158
170
|
outdent: "減少縮排",
|
|
159
171
|
paragraph: "段落",
|
|
@@ -166,7 +178,11 @@ const ZH_TW_MESSAGES = {
|
|
|
166
178
|
strikethrough: "刪除線",
|
|
167
179
|
subscript: "下標",
|
|
168
180
|
superscript: "上標",
|
|
181
|
+
tableGroup: "表格",
|
|
182
|
+
tableSize: (rows, columns) => `列:${localizeNumber(rows)},欄:${localizeNumber(columns)}`,
|
|
183
|
+
textStyleGroup: "文字樣式",
|
|
169
184
|
toggleHeaderRow: "切換標題列",
|
|
185
|
+
toolbar: "格式設定",
|
|
170
186
|
underline: "底線",
|
|
171
187
|
undo: "復原",
|
|
172
188
|
widthPx: "寬度 (px)"
|
|
@@ -849,7 +849,9 @@ class WindowContentComponent {
|
|
|
849
849
|
return;
|
|
850
850
|
}
|
|
851
851
|
const windowElement = this.#hostElementRef.nativeElement;
|
|
852
|
-
|
|
852
|
+
// The focus trap moves focus to its first tabbable element after this runs; marking the target makes it
|
|
853
|
+
// land here instead.
|
|
854
|
+
focusElement(windowElement, element)?.setAttribute("cdkFocusInitial", "");
|
|
853
855
|
}
|
|
854
856
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: WindowContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
855
857
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: WindowContentComponent, isStandalone: true, selector: "mona-window-content", host: { attributes: { "role": "dialog" }, listeners: { "focusin": "onFocusIn($event)" }, properties: { "class": "baseClass()", "attr.aria-label": "hasTitle ? null : windowData.ariaLabel || null", "attr.aria-labelledby": "hasTitle ? headerId : null", "attr.aria-modal": "windowData.modal ? 'true' : 'false'" } }, viewQueries: [{ propertyName: "componentHost", first: true, predicate: ["componentHost"], descendants: true, read: ViewContainerRef, isSignal: true }], hostDirectives: [{ directive: i1.CdkTrapFocus }], ngImport: i0, template: "<div [class]=\"contentContainerClass()\">\n <div\n [class]=\"titleBarClass()\"\n [class.touch-none]=\"windowData.draggable\"\n monaWindowDragHandler\n (dblclick)=\"onTitleBarDoubleClick($event)\"\n [draggable]=\"windowData.draggable && !maximized()\"\n [resizable]=\"windowData.resizable && !maximized() && !minimized()\"\n [minWidth]=\"windowData.minWidth\"\n [minHeight]=\"windowData.minHeight\"\n [maxWidth]=\"windowData.maxWidth\"\n [maxHeight]=\"windowData.maxHeight\"\n [windowRef]=\"windowData.windowReference\"\n [attr.tabindex]=\"titleBarLabel() ? 0 : null\"\n [attr.role]=\"titleBarLabel() ? 'group' : null\"\n [attr.aria-label]=\"titleBarLabel()\">\n <div [id]=\"headerId\" [class]=\"titleContainerClass()\">\n @if (windowData.titleTemplate) {\n <ng-container [ngTemplateOutlet]=\"windowData.titleTemplate\"></ng-container>\n } @else {\n <span [class]=\"titleClass()\">{{ windowData.title ?? \"\" }}</span>\n }\n </div>\n <div [class]=\"titleBarActionClass()\">\n @if (windowData.actionTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"windowData.actionTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: windowRef }\">\n </ng-container>\n }\n @if (windowData.minimizable) {\n @let minimizeTitle = minimized() ? messages().restore : messages().minimize;\n <button\n monaButton\n look=\"ghost\"\n size=\"small\"\n type=\"button\"\n [iconOnly]=\"true\"\n [rounded]=\"windowData.rounded\"\n [title]=\"minimizeTitle\"\n [attr.aria-label]=\"minimizeTitle\"\n (dblclick)=\"$event.stopPropagation()\"\n (click)=\"onMinimizeClick()\">\n <svg [lucideIcon]=\"minimizeIcon()\" [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n }\n @if (windowData.maximizable) {\n @let maximizeTitle = maximized() ? messages().restore : messages().maximize;\n <button\n monaButton\n look=\"ghost\"\n size=\"small\"\n type=\"button\"\n [iconOnly]=\"true\"\n [rounded]=\"windowData.rounded\"\n [title]=\"maximizeTitle\"\n [attr.aria-label]=\"maximizeTitle\"\n (dblclick)=\"$event.stopPropagation()\"\n (click)=\"onMaximizeClick()\">\n <svg [lucideIcon]=\"maximizeIcon()\" [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n }\n @if (windowData.closable) {\n <button\n monaButton\n look=\"ghost\"\n size=\"small\"\n type=\"button\"\n [iconOnly]=\"true\"\n [rounded]=\"windowData.rounded\"\n [title]=\"messages().close\"\n [attr.aria-label]=\"messages().closeWindow\"\n (dblclick)=\"$event.stopPropagation()\"\n (click)=\"onCloseClick($event)\">\n <svg lucideX [size]=\"16\" aria-hidden=\"true\"></svg>\n </button>\n }\n </div>\n </div>\n <!-- Minimizing hides the content instead of destroying it, so its state survives a restore. -->\n <div [class]=\"contentClass()\" [hidden]=\"minimized()\" [attr.inert]=\"minimized() ? '' : null\">\n @if (contentTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"contentTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: windowData.data, windowRef: windowRef }\"></ng-container>\n } @else if (contentComponent) {\n <ng-container #componentHost></ng-container>\n }\n </div>\n @if (windowData.footerTemplate) {\n <div [hidden]=\"minimized()\" [attr.inert]=\"minimized() ? '' : null\">\n <ng-container [ngTemplateOutlet]=\"windowData.footerTemplate\"></ng-container>\n </div>\n }\n @if (windowData.resizable && !maximized() && !minimized()) {\n @for (direction of resizeDirections; track direction) {\n <div\n monaWindowResizeHandler\n aria-hidden=\"true\"\n [attr.data-direction]=\"direction\"\n [direction]=\"direction\"\n [minWidth]=\"windowData.minWidth\"\n [minHeight]=\"windowData.minHeight\"\n [maxWidth]=\"windowData.maxWidth\"\n [maxHeight]=\"windowData.maxHeight\"\n [windowRef]=\"windowData.windowReference\"\n [class]=\"direction | monaResizePosition\"></div>\n }\n }\n</div>\n", dependencies: [{ kind: "directive", type: WindowDragHandlerDirective, selector: "div[monaWindowDragHandler]", inputs: ["draggable", "maxHeight", "maxWidth", "minHeight", "minWidth", "resizable", "windowRef"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: ButtonDirective, selector: "button[monaButton]", inputs: ["aria-haspopup", "disabled", "iconOnly", "loading", "look", "rounded", "selected", "size", "tabindex", "toggleable", "type", "class"], outputs: ["lookChange", "selectedChange"] }, { kind: "directive", type: WindowResizeHandlerDirective, selector: "div[monaWindowResizeHandler]", inputs: ["direction", "maxHeight", "maxWidth", "minHeight", "minWidth", "windowRef"] }, { kind: "component", type: LucideDynamicIcon, selector: "svg[lucideIcon]", inputs: ["lucideIcon"] }, { kind: "component", type: LucideX, selector: "svg[lucideX]" }, { kind: "pipe", type: ResizePositionPipe, name: "monaResizePosition" }] }); }
|
|
@@ -120,46 +120,62 @@
|
|
|
120
120
|
"addRowAfter": "Add row after",
|
|
121
121
|
"addRowBefore": "Add row before",
|
|
122
122
|
"alignCenter": "Center text",
|
|
123
|
+
"alignEnd": "Align text to the end",
|
|
123
124
|
"alignLeft": "Align text left",
|
|
125
|
+
"alignmentGroup": "Alignment",
|
|
124
126
|
"alignRight": "Align text right",
|
|
125
|
-
"
|
|
127
|
+
"alignStart": "Align text to the start",
|
|
128
|
+
"altText": "Alt text",
|
|
129
|
+
"apply": "Apply",
|
|
126
130
|
"backgroundColor": "Background color",
|
|
127
131
|
"bold": "Bold",
|
|
128
132
|
"cancel": "Cancel",
|
|
129
133
|
"codeBlock": "Code block",
|
|
130
134
|
"color": "Color",
|
|
135
|
+
"contentLabel": "Rich text editor",
|
|
136
|
+
"defaultFontFamily": "Default font",
|
|
131
137
|
"deleteColumn": "Delete column",
|
|
132
138
|
"deleteRow": "Delete row",
|
|
133
139
|
"deleteTable": "Delete table",
|
|
140
|
+
"editLink": "Edit link",
|
|
134
141
|
"enterUrl": "Enter the URL",
|
|
135
|
-
"fontSize": "Font
|
|
142
|
+
"fontSize": "Font size",
|
|
136
143
|
"format": "Format",
|
|
137
144
|
"heading": "Heading {level}",
|
|
138
145
|
"heightPx": "Height (px)",
|
|
146
|
+
"historyGroup": "History",
|
|
139
147
|
"imageUrl": "Image URL",
|
|
140
148
|
"indent": "Indent",
|
|
149
|
+
"indentGroup": "Indentation",
|
|
141
150
|
"insert": "Insert",
|
|
142
151
|
"insertImage": "Insert image",
|
|
143
|
-
"insertLink": "Insert
|
|
152
|
+
"insertLink": "Insert link",
|
|
144
153
|
"insertOrderedList": "Insert ordered list",
|
|
145
154
|
"insertTable": "Insert table",
|
|
146
155
|
"insertTaskList": "Insert task list",
|
|
147
156
|
"insertUnorderedList": "Insert unordered list",
|
|
157
|
+
"invalidUrl": "Enter a web address, a mailto: or tel: link, or a relative path.",
|
|
148
158
|
"italic": "Italic",
|
|
149
159
|
"justify": "Justify",
|
|
160
|
+
"linkGroup": "Link",
|
|
161
|
+
"listGroup": "Lists",
|
|
150
162
|
"mergeCells": "Merge selected cells",
|
|
151
163
|
"outdent": "Outdent",
|
|
152
164
|
"paragraph": "Paragraph",
|
|
153
165
|
"quotation": "Quotation",
|
|
154
166
|
"redo": "Redo",
|
|
155
|
-
"removeLink": "Remove
|
|
167
|
+
"removeLink": "Remove link",
|
|
156
168
|
"selectFontFamily": "Select font family",
|
|
157
169
|
"selectFontSize": "Select font size",
|
|
158
170
|
"splitCell": "Split cell",
|
|
159
171
|
"strikethrough": "Strikethrough",
|
|
160
172
|
"subscript": "Subscript",
|
|
161
173
|
"superscript": "Superscript",
|
|
174
|
+
"tableGroup": "Table",
|
|
175
|
+
"tableSize": "Rows: {rows}, columns: {columns}",
|
|
176
|
+
"textStyleGroup": "Text style",
|
|
162
177
|
"toggleHeaderRow": "Toggle header row",
|
|
178
|
+
"toolbar": "Formatting",
|
|
163
179
|
"underline": "Underline",
|
|
164
180
|
"undo": "Undo",
|
|
165
181
|
"widthPx": "Width (px)"
|
|
@@ -120,24 +120,33 @@
|
|
|
120
120
|
"addRowAfter": "إدراج صف بعد",
|
|
121
121
|
"addRowBefore": "إدراج صف قبل",
|
|
122
122
|
"alignCenter": "توسيط",
|
|
123
|
+
"alignEnd": "محاذاة النص إلى النهاية",
|
|
123
124
|
"alignLeft": "محاذاة إلى اليسار",
|
|
125
|
+
"alignmentGroup": "المحاذاة",
|
|
124
126
|
"alignRight": "محاذاة إلى اليمين",
|
|
127
|
+
"alignStart": "محاذاة النص إلى البداية",
|
|
125
128
|
"altText": "نص بديل",
|
|
129
|
+
"apply": "تطبيق",
|
|
126
130
|
"backgroundColor": "لون الخلفية",
|
|
127
131
|
"bold": "عريض",
|
|
128
132
|
"cancel": "إلغاء",
|
|
129
133
|
"codeBlock": "كتلة تعليمات برمجية",
|
|
130
134
|
"color": "لون",
|
|
135
|
+
"contentLabel": "محرر النص المنسق",
|
|
136
|
+
"defaultFontFamily": "الخط الافتراضي",
|
|
131
137
|
"deleteColumn": "حذف العمود",
|
|
132
138
|
"deleteRow": "حذف الصف",
|
|
133
139
|
"deleteTable": "حذف الجدول",
|
|
140
|
+
"editLink": "تعديل الرابط",
|
|
134
141
|
"enterUrl": "إدخال عنوان URL",
|
|
135
142
|
"fontSize": "حجم الخط",
|
|
136
143
|
"format": "تنسيق",
|
|
137
144
|
"heading": "العنوان {level}",
|
|
138
145
|
"heightPx": "الارتفاع (px)",
|
|
146
|
+
"historyGroup": "السجل",
|
|
139
147
|
"imageUrl": "عنوان URL للصورة",
|
|
140
148
|
"indent": "زيادة المسافة البادئة",
|
|
149
|
+
"indentGroup": "المسافة البادئة",
|
|
141
150
|
"insert": "إدراج",
|
|
142
151
|
"insertImage": "إدراج صورة",
|
|
143
152
|
"insertLink": "إدراج رابط",
|
|
@@ -145,8 +154,11 @@
|
|
|
145
154
|
"insertTable": "إدراج جدول",
|
|
146
155
|
"insertTaskList": "إدراج قائمة مهام",
|
|
147
156
|
"insertUnorderedList": "إدراج قائمة نقطية",
|
|
157
|
+
"invalidUrl": "أدخل عنوان ويب أو رابط mailto: أو tel: أو مسارًا نسبيًا.",
|
|
148
158
|
"italic": "مائل",
|
|
149
159
|
"justify": "ضبط",
|
|
160
|
+
"linkGroup": "الرابط",
|
|
161
|
+
"listGroup": "القوائم",
|
|
150
162
|
"mergeCells": "دمج الخلايا المحددة",
|
|
151
163
|
"outdent": "تقليل المسافة البادئة",
|
|
152
164
|
"paragraph": "فقرة",
|
|
@@ -159,7 +171,11 @@
|
|
|
159
171
|
"strikethrough": "يتوسطه خط",
|
|
160
172
|
"subscript": "منخفض",
|
|
161
173
|
"superscript": "مرتفع",
|
|
174
|
+
"tableGroup": "الجدول",
|
|
175
|
+
"tableSize": "الصفوف: {rows}، الأعمدة: {columns}",
|
|
176
|
+
"textStyleGroup": "نمط النص",
|
|
162
177
|
"toggleHeaderRow": "تبديل صف الرأس",
|
|
178
|
+
"toolbar": "التنسيق",
|
|
163
179
|
"underline": "تسطير",
|
|
164
180
|
"undo": "تراجع",
|
|
165
181
|
"widthPx": "العرض (px)"
|
|
@@ -120,24 +120,33 @@
|
|
|
120
120
|
"addRowAfter": "Zeile danach einfügen",
|
|
121
121
|
"addRowBefore": "Zeile davor einfügen",
|
|
122
122
|
"alignCenter": "Text zentrieren",
|
|
123
|
+
"alignEnd": "Text am Ende ausrichten",
|
|
123
124
|
"alignLeft": "Text linksbündig ausrichten",
|
|
125
|
+
"alignmentGroup": "Ausrichtung",
|
|
124
126
|
"alignRight": "Text rechtsbündig ausrichten",
|
|
127
|
+
"alignStart": "Text am Anfang ausrichten",
|
|
125
128
|
"altText": "Alternativtext",
|
|
129
|
+
"apply": "Übernehmen",
|
|
126
130
|
"backgroundColor": "Hintergrundfarbe",
|
|
127
131
|
"bold": "Fett",
|
|
128
132
|
"cancel": "Abbrechen",
|
|
129
133
|
"codeBlock": "Codeblock",
|
|
130
134
|
"color": "Farbe",
|
|
135
|
+
"contentLabel": "Rich-Text-Editor",
|
|
136
|
+
"defaultFontFamily": "Standardschrift",
|
|
131
137
|
"deleteColumn": "Spalte löschen",
|
|
132
138
|
"deleteRow": "Zeile löschen",
|
|
133
139
|
"deleteTable": "Tabelle löschen",
|
|
140
|
+
"editLink": "Link bearbeiten",
|
|
134
141
|
"enterUrl": "URL eingeben",
|
|
135
142
|
"fontSize": "Schriftgröße",
|
|
136
143
|
"format": "Format",
|
|
137
144
|
"heading": "Überschrift {level}",
|
|
138
145
|
"heightPx": "Höhe (px)",
|
|
146
|
+
"historyGroup": "Verlauf",
|
|
139
147
|
"imageUrl": "Bild-URL",
|
|
140
148
|
"indent": "Einzug vergrößern",
|
|
149
|
+
"indentGroup": "Einzug",
|
|
141
150
|
"insert": "Einfügen",
|
|
142
151
|
"insertImage": "Bild einfügen",
|
|
143
152
|
"insertLink": "Link einfügen",
|
|
@@ -145,8 +154,11 @@
|
|
|
145
154
|
"insertTable": "Tabelle einfügen",
|
|
146
155
|
"insertTaskList": "Aufgabenliste einfügen",
|
|
147
156
|
"insertUnorderedList": "Aufzählungsliste einfügen",
|
|
157
|
+
"invalidUrl": "Geben Sie eine Webadresse, einen mailto:- oder tel:-Link oder einen relativen Pfad ein.",
|
|
148
158
|
"italic": "Kursiv",
|
|
149
159
|
"justify": "Blocksatz",
|
|
160
|
+
"linkGroup": "Verknüpfung",
|
|
161
|
+
"listGroup": "Listen",
|
|
150
162
|
"mergeCells": "Ausgewählte Zellen verbinden",
|
|
151
163
|
"outdent": "Einzug verkleinern",
|
|
152
164
|
"paragraph": "Absatz",
|
|
@@ -159,7 +171,11 @@
|
|
|
159
171
|
"strikethrough": "Durchgestrichen",
|
|
160
172
|
"subscript": "Tiefgestellt",
|
|
161
173
|
"superscript": "Hochgestellt",
|
|
174
|
+
"tableGroup": "Tabelle",
|
|
175
|
+
"tableSize": "Zeilen: {rows}, Spalten: {columns}",
|
|
176
|
+
"textStyleGroup": "Textstil",
|
|
162
177
|
"toggleHeaderRow": "Kopfzeile umschalten",
|
|
178
|
+
"toolbar": "Formatierung",
|
|
163
179
|
"underline": "Unterstrichen",
|
|
164
180
|
"undo": "Rückgängig",
|
|
165
181
|
"widthPx": "Breite (px)"
|
|
@@ -120,24 +120,33 @@
|
|
|
120
120
|
"addRowAfter": "Añadir fila después",
|
|
121
121
|
"addRowBefore": "Añadir fila antes",
|
|
122
122
|
"alignCenter": "Centrar texto",
|
|
123
|
+
"alignEnd": "Alinear el texto al final",
|
|
123
124
|
"alignLeft": "Alinear texto a la izquierda",
|
|
125
|
+
"alignmentGroup": "Alineación",
|
|
124
126
|
"alignRight": "Alinear texto a la derecha",
|
|
127
|
+
"alignStart": "Alinear el texto al inicio",
|
|
125
128
|
"altText": "Texto alternativo",
|
|
129
|
+
"apply": "Aplicar",
|
|
126
130
|
"backgroundColor": "Color de fondo",
|
|
127
131
|
"bold": "Negrita",
|
|
128
132
|
"cancel": "Cancelar",
|
|
129
133
|
"codeBlock": "Bloque de código",
|
|
130
134
|
"color": "Color",
|
|
135
|
+
"contentLabel": "Editor de texto enriquecido",
|
|
136
|
+
"defaultFontFamily": "Fuente predeterminada",
|
|
131
137
|
"deleteColumn": "Eliminar columna",
|
|
132
138
|
"deleteRow": "Eliminar fila",
|
|
133
139
|
"deleteTable": "Eliminar tabla",
|
|
140
|
+
"editLink": "Editar enlace",
|
|
134
141
|
"enterUrl": "Introducir la URL",
|
|
135
142
|
"fontSize": "Tamaño de fuente",
|
|
136
143
|
"format": "Formato",
|
|
137
144
|
"heading": "Encabezado {level}",
|
|
138
145
|
"heightPx": "Altura (px)",
|
|
146
|
+
"historyGroup": "Historial",
|
|
139
147
|
"imageUrl": "URL de la imagen",
|
|
140
148
|
"indent": "Aumentar sangría",
|
|
149
|
+
"indentGroup": "Sangría",
|
|
141
150
|
"insert": "Insertar",
|
|
142
151
|
"insertImage": "Insertar imagen",
|
|
143
152
|
"insertLink": "Insertar enlace",
|
|
@@ -145,8 +154,11 @@
|
|
|
145
154
|
"insertTable": "Insertar tabla",
|
|
146
155
|
"insertTaskList": "Insertar lista de tareas",
|
|
147
156
|
"insertUnorderedList": "Insertar lista con viñetas",
|
|
157
|
+
"invalidUrl": "Introduzca una dirección web, un enlace mailto: o tel:, o una ruta relativa.",
|
|
148
158
|
"italic": "Cursiva",
|
|
149
159
|
"justify": "Justificar",
|
|
160
|
+
"linkGroup": "Enlace",
|
|
161
|
+
"listGroup": "Listas",
|
|
150
162
|
"mergeCells": "Combinar celdas seleccionadas",
|
|
151
163
|
"outdent": "Reducir sangría",
|
|
152
164
|
"paragraph": "Párrafo",
|
|
@@ -159,7 +171,11 @@
|
|
|
159
171
|
"strikethrough": "Tachado",
|
|
160
172
|
"subscript": "Subíndice",
|
|
161
173
|
"superscript": "Superíndice",
|
|
174
|
+
"tableGroup": "Tabla",
|
|
175
|
+
"tableSize": "Filas: {rows}, columnas: {columns}",
|
|
176
|
+
"textStyleGroup": "Estilo de texto",
|
|
162
177
|
"toggleHeaderRow": "Alternar fila de encabezado",
|
|
178
|
+
"toolbar": "Formato",
|
|
163
179
|
"underline": "Subrayado",
|
|
164
180
|
"undo": "Deshacer",
|
|
165
181
|
"widthPx": "Anchura (px)"
|