@univerjs/docs-quick-insert-ui 0.17.0 → 0.18.0
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 +33 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +33 -928
- package/lib/es/locale/ca-ES.js +1 -20
- package/lib/es/locale/en-US.js +1 -20
- package/lib/es/locale/es-ES.js +1 -20
- package/lib/es/locale/fa-IR.js +1 -20
- package/lib/es/locale/fr-FR.js +1 -20
- package/lib/es/locale/ja-JP.js +1 -20
- package/lib/es/locale/ko-KR.js +1 -20
- package/lib/es/locale/ru-RU.js +1 -20
- package/lib/es/locale/sk-SK.js +1 -20
- package/lib/es/locale/vi-VN.js +1 -20
- package/lib/es/locale/zh-CN.js +1 -20
- package/lib/es/locale/zh-TW.js +1 -20
- package/lib/index.css +292 -1
- package/lib/index.js +33 -928
- package/lib/locale/ca-ES.js +1 -20
- package/lib/locale/en-US.js +1 -20
- package/lib/locale/es-ES.js +1 -20
- package/lib/locale/fa-IR.js +1 -20
- package/lib/locale/fr-FR.js +1 -20
- package/lib/locale/ja-JP.js +1 -20
- package/lib/locale/ko-KR.js +1 -20
- package/lib/locale/ru-RU.js +1 -20
- package/lib/locale/sk-SK.js +1 -20
- package/lib/locale/vi-VN.js +1 -20
- package/lib/locale/zh-CN.js +1 -20
- package/lib/locale/zh-TW.js +1 -20
- package/lib/types/commands/commands/doc-quick-insert.command.d.ts +16 -1
- package/lib/types/commands/operations/quick-insert-popup.operation.d.ts +17 -2
- package/lib/types/config/config.d.ts +16 -1
- package/lib/types/controllers/doc-quick-insert-trigger.controller.d.ts +15 -0
- package/lib/types/controllers/doc-quick-insert-ui.controller.d.ts +15 -0
- package/lib/types/locale/ca-ES.d.ts +16 -1
- package/lib/types/locale/es-ES.d.ts +16 -1
- package/lib/types/locale/fa-IR.d.ts +16 -1
- package/lib/types/locale/fr-FR.d.ts +16 -1
- package/lib/types/locale/ja-JP.d.ts +16 -1
- package/lib/types/locale/ko-KR.d.ts +16 -1
- package/lib/types/locale/ru-RU.d.ts +16 -1
- package/lib/types/locale/sk-SK.d.ts +16 -1
- package/lib/types/locale/vi-VN.d.ts +16 -1
- package/lib/types/locale/zh-CN.d.ts +16 -1
- package/lib/types/locale/zh-TW.d.ts +16 -1
- package/lib/types/menu/built-in-menus.d.ts +16 -1
- package/lib/types/menu/doc-quick-insert-menu.controller.d.ts +19 -3
- package/lib/types/plugin.d.ts +16 -1
- package/lib/types/services/doc-quick-insert-popup.service.d.ts +24 -3
- package/lib/types/views/KeywordInputPlaceholder.d.ts +14 -1
- package/lib/types/views/QuickInsertMenu.d.ts +30 -0
- package/lib/umd/index.js +33 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -15
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Llista numerada",
|
|
5
|
-
bulletedList: "Llista amb vinyetes",
|
|
6
|
-
divider: "Divisor",
|
|
7
|
-
text: "Text",
|
|
8
|
-
table: "Taula",
|
|
9
|
-
image: "Imatge"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Bàsics"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "No s'han trobat resultats",
|
|
15
|
-
keywordInputPlaceholder: "Introdueix paraules clau"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Llista numerada`,bulletedList:`Llista amb vinyetes`,divider:`Divisor`,text:`Text`,table:`Taula`,image:`Imatge`},group:{basics:`Bàsics`},placeholder:`No s'han trobat resultats`,keywordInputPlaceholder:`Introdueix paraules clau`}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Numbered List",
|
|
5
|
-
bulletedList: "Bulleted List",
|
|
6
|
-
divider: "Divider",
|
|
7
|
-
text: "Text",
|
|
8
|
-
table: "Table",
|
|
9
|
-
image: "Image"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Basics"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "No results found",
|
|
15
|
-
keywordInputPlaceholder: "Enter keywords"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Numbered List`,bulletedList:`Bulleted List`,divider:`Divider`,text:`Text`,table:`Table`,image:`Image`},group:{basics:`Basics`},placeholder:`No results found`,keywordInputPlaceholder:`Enter keywords`}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Lista numerada",
|
|
5
|
-
bulletedList: "Lista con viñetas",
|
|
6
|
-
divider: "Divisor",
|
|
7
|
-
text: "Texto",
|
|
8
|
-
table: "Tabla",
|
|
9
|
-
image: "Imagen"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Básicos"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "No se han encontrado resultados",
|
|
15
|
-
keywordInputPlaceholder: "Introduce palabras clave"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Lista numerada`,bulletedList:`Lista con viñetas`,divider:`Divisor`,text:`Texto`,table:`Tabla`,image:`Imagen`},group:{basics:`Básicos`},placeholder:`No se han encontrado resultados`,keywordInputPlaceholder:`Introduce palabras clave`}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "لیست شمارهدار",
|
|
5
|
-
bulletedList: "لیست نقطهدار",
|
|
6
|
-
divider: "خط تقسیم",
|
|
7
|
-
text: "متن",
|
|
8
|
-
table: "جدول",
|
|
9
|
-
image: "تصویر"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "بنیادی"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "هیچ نتیجهای یافت نشد",
|
|
15
|
-
keywordInputPlaceholder: "وارد کلمات کلیدی"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`لیست شمارهدار`,bulletedList:`لیست نقطهدار`,divider:`خط تقسیم`,text:`متن`,table:`جدول`,image:`تصویر`},group:{basics:`بنیادی`},placeholder:`هیچ نتیجهای یافت نشد`,keywordInputPlaceholder:`وارد کلمات کلیدی`}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Liste numérotée",
|
|
5
|
-
bulletedList: "Liste à puces",
|
|
6
|
-
divider: "Ligne de séparation",
|
|
7
|
-
text: "Texte",
|
|
8
|
-
table: "Tableau",
|
|
9
|
-
image: "Image"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Basiques"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "Aucun résultat",
|
|
15
|
-
keywordInputPlaceholder: "Entrez des mots clés"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Liste numérotée`,bulletedList:`Liste à puces`,divider:`Ligne de séparation`,text:`Texte`,table:`Tableau`,image:`Image`},group:{basics:`Basiques`},placeholder:`Aucun résultat`,keywordInputPlaceholder:`Entrez des mots clés`}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "番号付きリスト",
|
|
5
|
-
bulletedList: "箇条書き",
|
|
6
|
-
divider: "区切り線",
|
|
7
|
-
text: "テキスト",
|
|
8
|
-
table: "表",
|
|
9
|
-
image: "画像"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "基本"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "結果がありません",
|
|
15
|
-
keywordInputPlaceholder: "キーワードを入力"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`番号付きリスト`,bulletedList:`箇条書き`,divider:`区切り線`,text:`テキスト`,table:`表`,image:`画像`},group:{basics:`基本`},placeholder:`結果がありません`,keywordInputPlaceholder:`キーワードを入力`}};export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "번호가 매겨진 목록",
|
|
5
|
-
bulletedList: "글머리 기호 목록",
|
|
6
|
-
divider: "구분선",
|
|
7
|
-
text: "텍스트",
|
|
8
|
-
table: "표",
|
|
9
|
-
image: "이미지"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "기본"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "결과가 없습니다",
|
|
15
|
-
keywordInputPlaceholder: "키워드 입력"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`번호가 매겨진 목록`,bulletedList:`글머리 기호 목록`,divider:`구분선`,text:`텍스트`,table:`표`,image:`이미지`},group:{basics:`기본`},placeholder:`결과가 없습니다`,keywordInputPlaceholder:`키워드 입력`}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Список с нумерацией",
|
|
5
|
-
bulletedList: "Маркированный список",
|
|
6
|
-
divider: "Разделительная линия",
|
|
7
|
-
text: "Текст",
|
|
8
|
-
table: "Таблица",
|
|
9
|
-
image: "Изображение"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Основные"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "Нет результатов",
|
|
15
|
-
keywordInputPlaceholder: "Введите ключевые слова"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Список с нумерацией`,bulletedList:`Маркированный список`,divider:`Разделительная линия`,text:`Текст`,table:`Таблица`,image:`Изображение`},group:{basics:`Основные`},placeholder:`Нет результатов`,keywordInputPlaceholder:`Введите ключевые слова`}};export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Číslovaný zoznam",
|
|
5
|
-
bulletedList: "Odrážkový zoznam",
|
|
6
|
-
divider: "Oddeľovač",
|
|
7
|
-
text: "Text",
|
|
8
|
-
table: "Tabuľka",
|
|
9
|
-
image: "Obrázok"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Základy"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "Nenašli sa žiadne výsledky",
|
|
15
|
-
keywordInputPlaceholder: "Zadajte kľúčové slová"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Číslovaný zoznam`,bulletedList:`Odrážkový zoznam`,divider:`Oddeľovač`,text:`Text`,table:`Tabuľka`,image:`Obrázok`},group:{basics:`Základy`},placeholder:`Nenašli sa žiadne výsledky`,keywordInputPlaceholder:`Zadajte kľúčové slová`}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "Danh sách được đánh số",
|
|
5
|
-
bulletedList: "Danh sách không được đánh số",
|
|
6
|
-
divider: "Đường phân cách",
|
|
7
|
-
text: "Văn bản",
|
|
8
|
-
table: "Bảng",
|
|
9
|
-
image: "Hình ảnh"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "Cơ bản"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "Không có kết quả",
|
|
15
|
-
keywordInputPlaceholder: "Nhập từ khóa"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
n as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`Danh sách được đánh số`,bulletedList:`Danh sách không được đánh số`,divider:`Đường phân cách`,text:`Văn bản`,table:`Bảng`,image:`Hình ảnh`},group:{basics:`Cơ bản`},placeholder:`Không có kết quả`,keywordInputPlaceholder:`Nhập từ khóa`}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "有序列表",
|
|
5
|
-
bulletedList: "无序列表",
|
|
6
|
-
divider: "分隔线",
|
|
7
|
-
text: "文本",
|
|
8
|
-
table: "表格",
|
|
9
|
-
image: "图片"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "基础"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "暂无结果",
|
|
15
|
-
keywordInputPlaceholder: "输入关键词"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`有序列表`,bulletedList:`无序列表`,divider:`分隔线`,text:`文本`,table:`表格`,image:`图片`},group:{basics:`基础`},placeholder:`暂无结果`,keywordInputPlaceholder:`输入关键词`}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1,20 +1 @@
|
|
|
1
|
-
const e
|
|
2
|
-
docQuickInsert: {
|
|
3
|
-
menu: {
|
|
4
|
-
numberedList: "有序列表",
|
|
5
|
-
bulletedList: "無序列表",
|
|
6
|
-
divider: "分隔線",
|
|
7
|
-
text: "文本",
|
|
8
|
-
table: "表格",
|
|
9
|
-
image: "圖片"
|
|
10
|
-
},
|
|
11
|
-
group: {
|
|
12
|
-
basics: "基礎"
|
|
13
|
-
},
|
|
14
|
-
placeholder: "無結果",
|
|
15
|
-
keywordInputPlaceholder: "輸入關鍵詞"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as default
|
|
20
|
-
};
|
|
1
|
+
const e={docQuickInsert:{menu:{numberedList:`有序列表`,bulletedList:`無序列表`,divider:`分隔線`,text:`文本`,table:`表格`,image:`圖片`},group:{basics:`基礎`},placeholder:`無結果`,keywordInputPlaceholder:`輸入關鍵詞`}};export{e as default};
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
17
|
interface IDeleteSearchKeyCommandParams {
|
|
3
18
|
start: number;
|
|
4
19
|
end: number;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { ICommand } from '@univerjs/core';
|
|
17
|
+
import type { IDocPopup } from '../../services/doc-quick-insert-popup.service';
|
|
3
18
|
export interface IShowQuickInsertPopupOperationParams {
|
|
4
19
|
unitId: string;
|
|
5
20
|
index: number;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { MenuConfig } from '@univerjs/ui';
|
|
2
17
|
export declare const DOCS_QUICK_INSERT_UI_PLUGIN_CONFIG_KEY = "docs-quick-insert-ui.config";
|
|
3
18
|
export declare const configSymbol: unique symbol;
|
|
4
19
|
export interface IUniverDocsQuickInsertUIConfig {
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { DocSelectionManagerService } from '@univerjs/docs';
|
|
3
18
|
import { IShortcutService } from '@univerjs/ui';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { ComponentManager } from '@univerjs/ui';
|
|
3
18
|
import { DocQuickInsertPopupService } from '../services/doc-quick-insert-popup.service';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { DocPopupMenu, IDocPopupMenuItem } from '../services/doc-quick-insert-popup.service';
|
|
2
17
|
export declare enum QuickInsertMenuGroup {
|
|
3
18
|
Basic = "quick.insert.group.basic",
|
|
4
19
|
Media = "quick.insert.group.media"
|