@univerjs/slides-ui 0.24.0 → 0.25.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 +31 -31
- package/lib/cjs/locale/ar-SA.js +45 -0
- package/lib/cjs/locale/ca-ES.js +18 -1
- package/lib/cjs/locale/de-DE.js +45 -0
- package/lib/cjs/locale/en-US.js +18 -1
- package/lib/cjs/locale/es-ES.js +18 -1
- package/lib/cjs/locale/fa-IR.js +18 -1
- package/lib/cjs/locale/fr-FR.js +18 -1
- package/lib/cjs/locale/id-ID.js +45 -0
- package/lib/cjs/locale/it-IT.js +45 -0
- package/lib/cjs/locale/ja-JP.js +18 -1
- package/lib/cjs/locale/ko-KR.js +18 -1
- package/lib/cjs/locale/pl-PL.js +45 -0
- package/lib/cjs/locale/pt-BR.js +45 -0
- package/lib/cjs/locale/ru-RU.js +18 -1
- package/lib/cjs/locale/sk-SK.js +18 -1
- package/lib/cjs/locale/vi-VN.js +18 -1
- package/lib/cjs/locale/zh-CN.js +18 -1
- package/lib/cjs/locale/zh-HK.js +64 -0
- package/lib/cjs/locale/zh-TW.js +18 -1
- package/lib/es/index.js +31 -31
- package/lib/es/locale/ar-SA.js +44 -0
- package/lib/es/locale/ca-ES.js +18 -1
- package/lib/es/locale/de-DE.js +44 -0
- package/lib/es/locale/en-US.js +18 -1
- package/lib/es/locale/es-ES.js +18 -1
- package/lib/es/locale/fa-IR.js +18 -1
- package/lib/es/locale/fr-FR.js +18 -1
- package/lib/es/locale/id-ID.js +44 -0
- package/lib/es/locale/it-IT.js +44 -0
- package/lib/es/locale/ja-JP.js +18 -1
- package/lib/es/locale/ko-KR.js +18 -1
- package/lib/es/locale/pl-PL.js +44 -0
- package/lib/es/locale/pt-BR.js +44 -0
- package/lib/es/locale/ru-RU.js +18 -1
- package/lib/es/locale/sk-SK.js +18 -1
- package/lib/es/locale/vi-VN.js +18 -1
- package/lib/es/locale/zh-CN.js +18 -1
- package/lib/es/locale/zh-HK.js +63 -0
- package/lib/es/locale/zh-TW.js +18 -1
- package/lib/index.js +31 -31
- package/lib/locale/ar-SA.js +44 -0
- package/lib/locale/ca-ES.js +18 -1
- package/lib/locale/de-DE.js +44 -0
- package/lib/locale/en-US.js +18 -1
- package/lib/locale/es-ES.js +18 -1
- package/lib/locale/fa-IR.js +18 -1
- package/lib/locale/fr-FR.js +18 -1
- package/lib/locale/id-ID.js +44 -0
- package/lib/locale/it-IT.js +44 -0
- package/lib/locale/ja-JP.js +18 -1
- package/lib/locale/ko-KR.js +18 -1
- package/lib/locale/pl-PL.js +44 -0
- package/lib/locale/pt-BR.js +44 -0
- package/lib/locale/ru-RU.js +18 -1
- package/lib/locale/sk-SK.js +18 -1
- package/lib/locale/vi-VN.js +18 -1
- package/lib/locale/zh-CN.js +18 -1
- package/lib/locale/zh-HK.js +63 -0
- package/lib/locale/zh-TW.js +18 -1
- package/lib/types/locale/ar-SA.d.ts +18 -0
- package/lib/types/locale/de-DE.d.ts +18 -0
- package/lib/types/locale/en-US.d.ts +18 -1
- package/lib/types/locale/id-ID.d.ts +18 -0
- package/lib/types/locale/it-IT.d.ts +18 -0
- package/lib/types/locale/pl-PL.d.ts +18 -0
- package/lib/types/locale/pt-BR.d.ts +18 -0
- package/lib/types/locale/zh-HK.d.ts +18 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -0
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -0
- 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/id-ID.js +1 -0
- package/lib/umd/locale/it-IT.js +1 -0
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -0
- package/lib/umd/locale/pt-BR.js +1 -0
- 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-HK.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { DOCS_COMPONENT_MAIN_LAYER_INDEX, DOCS_VIEW_KEY, DeleteLeftCommand, DocS
|
|
|
11
11
|
import { BehaviorSubject, Subject, filter, takeUntil } from "rxjs";
|
|
12
12
|
import { DocSelectionManagerService, DocSkeletonManagerService, RichTextEditingMutation } from "@univerjs/docs";
|
|
13
13
|
|
|
14
|
-
//#region \0@oxc-project+runtime@0.
|
|
14
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
|
|
15
15
|
function _typeof(o) {
|
|
16
16
|
"@babel/helpers - typeof";
|
|
17
17
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -22,7 +22,7 @@ function _typeof(o) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region \0@oxc-project+runtime@0.
|
|
25
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
|
|
26
26
|
function toPrimitive(t, r) {
|
|
27
27
|
if ("object" != _typeof(t) || !t) return t;
|
|
28
28
|
var e = t[Symbol.toPrimitive];
|
|
@@ -35,14 +35,14 @@ function toPrimitive(t, r) {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
|
-
//#region \0@oxc-project+runtime@0.
|
|
38
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
|
|
39
39
|
function toPropertyKey(t) {
|
|
40
40
|
var i = toPrimitive(t, "string");
|
|
41
41
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region \0@oxc-project+runtime@0.
|
|
45
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
|
|
46
46
|
function _defineProperty(e, r, t) {
|
|
47
47
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
48
48
|
value: t,
|
|
@@ -53,7 +53,7 @@ function _defineProperty(e, r, t) {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region \0@oxc-project+runtime@0.
|
|
56
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorateParam.js
|
|
57
57
|
function __decorateParam(paramIndex, decorator) {
|
|
58
58
|
return function(target, key) {
|
|
59
59
|
decorator(target, key, paramIndex);
|
|
@@ -61,7 +61,7 @@ function __decorateParam(paramIndex, decorator) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region \0@oxc-project+runtime@0.
|
|
64
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
65
65
|
function __decorate(decorators, target, key, desc) {
|
|
66
66
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
67
67
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -561,7 +561,7 @@ function ArrangePanel$1(props) {
|
|
|
561
561
|
className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
|
|
562
562
|
children: /* @__PURE__ */ jsx("div", {
|
|
563
563
|
className: "univer-w-full univer-text-left univer-text-gray-600 dark:!univer-text-gray-200",
|
|
564
|
-
children: /* @__PURE__ */ jsx("div", { children: localeService.t("image-panel.arrange.title") })
|
|
564
|
+
children: /* @__PURE__ */ jsx("div", { children: localeService.t("slides-ui.image-panel.arrange.title") })
|
|
565
565
|
})
|
|
566
566
|
}),
|
|
567
567
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -574,7 +574,7 @@ function ArrangePanel$1(props) {
|
|
|
574
574
|
},
|
|
575
575
|
children: /* @__PURE__ */ jsxs("span", {
|
|
576
576
|
className: "univer-flex univer-items-center univer-gap-1",
|
|
577
|
-
children: [/* @__PURE__ */ jsx(MoveUpIcon, {}), localeService.t("image-panel.arrange.forward")]
|
|
577
|
+
children: [/* @__PURE__ */ jsx(MoveUpIcon, {}), localeService.t("slides-ui.image-panel.arrange.forward")]
|
|
578
578
|
})
|
|
579
579
|
})
|
|
580
580
|
}), /* @__PURE__ */ jsx("div", {
|
|
@@ -585,7 +585,7 @@ function ArrangePanel$1(props) {
|
|
|
585
585
|
},
|
|
586
586
|
children: /* @__PURE__ */ jsxs("span", {
|
|
587
587
|
className: "univer-flex univer-items-center univer-gap-1",
|
|
588
|
-
children: [/* @__PURE__ */ jsx(MoveDownIcon, {}), localeService.t("image-panel.arrange.backward")]
|
|
588
|
+
children: [/* @__PURE__ */ jsx(MoveDownIcon, {}), localeService.t("slides-ui.image-panel.arrange.backward")]
|
|
589
589
|
})
|
|
590
590
|
})
|
|
591
591
|
})]
|
|
@@ -600,7 +600,7 @@ function ArrangePanel$1(props) {
|
|
|
600
600
|
},
|
|
601
601
|
children: /* @__PURE__ */ jsxs("span", {
|
|
602
602
|
className: "univer-flex univer-items-center univer-gap-1",
|
|
603
|
-
children: [/* @__PURE__ */ jsx(TopmostIcon, {}), localeService.t("image-panel.arrange.front")]
|
|
603
|
+
children: [/* @__PURE__ */ jsx(TopmostIcon, {}), localeService.t("slides-ui.image-panel.arrange.front")]
|
|
604
604
|
})
|
|
605
605
|
})
|
|
606
606
|
}), /* @__PURE__ */ jsx("div", {
|
|
@@ -611,7 +611,7 @@ function ArrangePanel$1(props) {
|
|
|
611
611
|
},
|
|
612
612
|
children: /* @__PURE__ */ jsxs("span", {
|
|
613
613
|
className: "univer-flex univer-items-center univer-gap-1",
|
|
614
|
-
children: [/* @__PURE__ */ jsx(BottomIcon, {}), localeService.t("image-panel.arrange.back")]
|
|
614
|
+
children: [/* @__PURE__ */ jsx(BottomIcon, {}), localeService.t("slides-ui.image-panel.arrange.back")]
|
|
615
615
|
})
|
|
616
616
|
})
|
|
617
617
|
})]
|
|
@@ -661,7 +661,7 @@ function ArrangePanel(props) {
|
|
|
661
661
|
className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
|
|
662
662
|
children: /* @__PURE__ */ jsx("div", {
|
|
663
663
|
className: "univer-w-full univer-text-left univer-text-gray-600 dark:!univer-text-gray-200",
|
|
664
|
-
children: /* @__PURE__ */ jsx("div", { children: localeService.t("
|
|
664
|
+
children: /* @__PURE__ */ jsx("div", { children: localeService.t("slides-ui.panel.fill.title") })
|
|
665
665
|
})
|
|
666
666
|
}), /* @__PURE__ */ jsx("div", {
|
|
667
667
|
className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
|
|
@@ -787,17 +787,17 @@ function TransformPanel(props) {
|
|
|
787
787
|
children: [
|
|
788
788
|
/* @__PURE__ */ jsx("header", {
|
|
789
789
|
className: "univer-text-gray-600 dark:!univer-text-gray-200",
|
|
790
|
-
children: /* @__PURE__ */ jsx("div", { children: localeService.t("image-panel.transform.title") })
|
|
790
|
+
children: /* @__PURE__ */ jsx("div", { children: localeService.t("slides-ui.image-panel.transform.title") })
|
|
791
791
|
}),
|
|
792
792
|
/* @__PURE__ */ jsxs("div", {
|
|
793
793
|
className: "univer-grid univer-grid-cols-3 univer-gap-2 [&>div]:univer-grid [&>div]:univer-gap-2",
|
|
794
|
-
children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("image-panel.transform.width") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
794
|
+
children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("slides-ui.image-panel.transform.width") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
795
795
|
min: 1,
|
|
796
796
|
value: width,
|
|
797
797
|
onChange: (val) => {
|
|
798
798
|
handleWidthChange(val);
|
|
799
799
|
}
|
|
800
|
-
})] }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("image-panel.transform.height") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
800
|
+
})] }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("slides-ui.image-panel.transform.height") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
801
801
|
min: 1,
|
|
802
802
|
value: height,
|
|
803
803
|
onChange: (val) => {
|
|
@@ -808,7 +808,7 @@ function TransformPanel(props) {
|
|
|
808
808
|
/* @__PURE__ */ jsxs("div", {
|
|
809
809
|
className: "univer-relative univer-mt-2.5 univer-flex univer-h-full",
|
|
810
810
|
children: [
|
|
811
|
-
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("image-panel.transform.x") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
811
|
+
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("slides-ui.image-panel.transform.x") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
812
812
|
min: 0,
|
|
813
813
|
precision: 1,
|
|
814
814
|
value: xPosition,
|
|
@@ -816,7 +816,7 @@ function TransformPanel(props) {
|
|
|
816
816
|
handleXChange(val);
|
|
817
817
|
}
|
|
818
818
|
})] }),
|
|
819
|
-
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("image-panel.transform.y") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
819
|
+
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("slides-ui.image-panel.transform.y") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
820
820
|
min: 0,
|
|
821
821
|
precision: 1,
|
|
822
822
|
value: yPosition,
|
|
@@ -824,7 +824,7 @@ function TransformPanel(props) {
|
|
|
824
824
|
handleYChange(val);
|
|
825
825
|
}
|
|
826
826
|
})] }),
|
|
827
|
-
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("image-panel.transform.rotate") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
827
|
+
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("span", { children: localeService.t("slides-ui.image-panel.transform.rotate") }), /* @__PURE__ */ jsx(InputNumber, {
|
|
828
828
|
precision: 1,
|
|
829
829
|
value: rotation,
|
|
830
830
|
onChange: handleChangeRotation
|
|
@@ -926,13 +926,13 @@ const ToggleSlideEditSidebarOperation = {
|
|
|
926
926
|
let title = "";
|
|
927
927
|
let children = "";
|
|
928
928
|
if (objectType === ObjectType.RECT) {
|
|
929
|
-
title = "
|
|
929
|
+
title = "slides-ui.sidebar.shape";
|
|
930
930
|
children = COMPONENT_SLIDE_SIDEBAR;
|
|
931
931
|
} else if (objectType === ObjectType.IMAGE) {
|
|
932
|
-
title = "
|
|
932
|
+
title = "slides-ui.sidebar.image";
|
|
933
933
|
children = COMPONENT_SLIDE_SIDEBAR;
|
|
934
934
|
} else if (objectType === ObjectType.RICH_TEXT) {
|
|
935
|
-
title = "
|
|
935
|
+
title = "slides-ui.sidebar.text";
|
|
936
936
|
children = COMPONENT_SLIDE_SIDEBAR;
|
|
937
937
|
}
|
|
938
938
|
if (visible) sidebarService.open({
|
|
@@ -1122,7 +1122,7 @@ function SlideSideBar() {
|
|
|
1122
1122
|
children: /* @__PURE__ */ jsx("a", {
|
|
1123
1123
|
className: clsx("univer-box-border univer-block univer-h-8 univer-w-full univer-cursor-pointer univer-rounded-md univer-bg-white univer-text-center univer-text-sm univer-leading-8 univer-transition-colors", borderClassName),
|
|
1124
1124
|
onClick: handleAppendSlide,
|
|
1125
|
-
children: localeService.t("
|
|
1125
|
+
children: localeService.t("slides-ui.append")
|
|
1126
1126
|
})
|
|
1127
1127
|
}), slideList.map((item, index) => /* @__PURE__ */ jsxs("div", {
|
|
1128
1128
|
className: clsx("univer-my-4 univer-flex univer-gap-2", { "[&>div]:univer-border-primary-600 [&>span]:univer-text-primary-600": item.id === activatePageId }),
|
|
@@ -1244,14 +1244,14 @@ function SlideImageMenuFactory(accessor) {
|
|
|
1244
1244
|
id: SLIDES_IMAGE_MENU_ID,
|
|
1245
1245
|
type: MenuItemType.SUBITEMS,
|
|
1246
1246
|
icon: "AddImageIcon",
|
|
1247
|
-
tooltip: "
|
|
1247
|
+
tooltip: "slides-ui.image.insert.title",
|
|
1248
1248
|
hidden$: getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_SLIDE)
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
1251
|
function UploadSlideFloatImageMenuFactory(_accessor) {
|
|
1252
1252
|
return {
|
|
1253
1253
|
id: InsertSlideFloatImageCommand.id,
|
|
1254
|
-
title: "
|
|
1254
|
+
title: "slides-ui.image.insert.float",
|
|
1255
1255
|
type: MenuItemType.BUTTON,
|
|
1256
1256
|
hidden$: getMenuHiddenObservable(_accessor, UniverInstanceType.UNIVER_SLIDE)
|
|
1257
1257
|
};
|
|
@@ -1265,14 +1265,14 @@ function SlideShapeMenuFactory(accessor) {
|
|
|
1265
1265
|
id: SHAPE_MENU_ID,
|
|
1266
1266
|
type: MenuItemType.SUBITEMS,
|
|
1267
1267
|
icon: "GraphIcon",
|
|
1268
|
-
tooltip: "
|
|
1268
|
+
tooltip: "slides-ui.shape.insert.title",
|
|
1269
1269
|
hidden$: getMenuHiddenObservable(accessor, UniverInstanceType.UNIVER_SLIDE)
|
|
1270
1270
|
};
|
|
1271
1271
|
}
|
|
1272
1272
|
function UploadSlideFloatRectangleShapeMenuFactory(_accessor) {
|
|
1273
1273
|
return {
|
|
1274
1274
|
id: InsertSlideShapeRectangleCommand.id,
|
|
1275
|
-
title: "
|
|
1275
|
+
title: "slides-ui.shape.insert.rectangle",
|
|
1276
1276
|
type: MenuItemType.BUTTON,
|
|
1277
1277
|
hidden$: getMenuHiddenObservable(_accessor, UniverInstanceType.UNIVER_SLIDE)
|
|
1278
1278
|
};
|
|
@@ -1280,7 +1280,7 @@ function UploadSlideFloatRectangleShapeMenuFactory(_accessor) {
|
|
|
1280
1280
|
function UploadSlideFloatEllipseShapeMenuFactory(_accessor) {
|
|
1281
1281
|
return {
|
|
1282
1282
|
id: InsertSlideShapeEllipseCommand.id,
|
|
1283
|
-
title: "
|
|
1283
|
+
title: "slides-ui.shape.insert.ellipse",
|
|
1284
1284
|
type: MenuItemType.BUTTON,
|
|
1285
1285
|
hidden$: getMenuHiddenObservable(_accessor, UniverInstanceType.UNIVER_SLIDE)
|
|
1286
1286
|
};
|
|
@@ -1293,7 +1293,7 @@ function SlideAddTextMenuItemFactory(_accessor) {
|
|
|
1293
1293
|
id: SlideAddTextCommand.id,
|
|
1294
1294
|
type: MenuItemType.BUTTON,
|
|
1295
1295
|
icon: "TextIcon",
|
|
1296
|
-
tooltip: "
|
|
1296
|
+
tooltip: "slides-ui.text.insert.title",
|
|
1297
1297
|
hidden$: getMenuHiddenObservable(_accessor, UniverInstanceType.UNIVER_SLIDE)
|
|
1298
1298
|
};
|
|
1299
1299
|
}
|
|
@@ -1573,7 +1573,7 @@ SlidesUIController = __decorate([
|
|
|
1573
1573
|
//#endregion
|
|
1574
1574
|
//#region package.json
|
|
1575
1575
|
var name = "@univerjs/slides-ui";
|
|
1576
|
-
var version = "0.
|
|
1576
|
+
var version = "0.25.0";
|
|
1577
1577
|
|
|
1578
1578
|
//#endregion
|
|
1579
1579
|
//#region src/config/config.ts
|
|
@@ -2545,7 +2545,7 @@ let SlidePopupMenuController = class SlidePopupMenuController extends RxDisposab
|
|
|
2545
2545
|
}
|
|
2546
2546
|
_getMenuItemsByObjectType(objectType, oKey, unitId) {
|
|
2547
2547
|
return [{
|
|
2548
|
-
label: "
|
|
2548
|
+
label: "slides-ui.popup.edit",
|
|
2549
2549
|
index: 0,
|
|
2550
2550
|
commandId: ToggleSlideEditSidebarOperation.id,
|
|
2551
2551
|
commandParams: {
|
|
@@ -2554,7 +2554,7 @@ let SlidePopupMenuController = class SlidePopupMenuController extends RxDisposab
|
|
|
2554
2554
|
},
|
|
2555
2555
|
disable: false
|
|
2556
2556
|
}, {
|
|
2557
|
-
label: "
|
|
2557
|
+
label: "slides-ui.popup.delete",
|
|
2558
2558
|
index: 5,
|
|
2559
2559
|
commandId: DeleteSlideElementOperation.id,
|
|
2560
2560
|
commandParams: {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/locale/ar-SA.ts
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
|
+
append: "إلحاق شريحة",
|
|
4
|
+
text: { insert: { title: "إدراج نص" } },
|
|
5
|
+
shape: { insert: {
|
|
6
|
+
title: "إدراج شكل",
|
|
7
|
+
rectangle: "إدراج مستطيل",
|
|
8
|
+
ellipse: "إدراج قطع ناقص"
|
|
9
|
+
} },
|
|
10
|
+
image: { insert: {
|
|
11
|
+
title: "إدراج صورة",
|
|
12
|
+
float: "إدراج صورة عائمة"
|
|
13
|
+
} },
|
|
14
|
+
popup: {
|
|
15
|
+
edit: "تحرير",
|
|
16
|
+
delete: "حذف"
|
|
17
|
+
},
|
|
18
|
+
sidebar: {
|
|
19
|
+
text: "تحرير النص",
|
|
20
|
+
shape: "تحرير الشكل",
|
|
21
|
+
image: "تحرير الصورة"
|
|
22
|
+
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "ترتيب",
|
|
26
|
+
forward: "إحضار إلى الأمام",
|
|
27
|
+
backward: "إرسال إلى الخلف",
|
|
28
|
+
front: "إحضار إلى المقدمة",
|
|
29
|
+
back: "إرسال إلى المؤخرة"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "تحويل",
|
|
33
|
+
width: "العرض (بكسل)",
|
|
34
|
+
height: "الارتفاع (بكسل)",
|
|
35
|
+
x: "X (بكسل)",
|
|
36
|
+
y: "Y (بكسل)",
|
|
37
|
+
rotate: "تدوير (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
panel: { fill: { title: "لون التعبئة" } }
|
|
41
|
+
} };
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { locale as default };
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/ca-ES.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
3
|
append: "Afegeix diapositiva",
|
|
4
4
|
text: { insert: { title: "Insereix text" } },
|
|
5
5
|
shape: { insert: {
|
|
@@ -20,6 +20,23 @@ const locale = { slide: {
|
|
|
20
20
|
shape: "Edita forma",
|
|
21
21
|
image: "Edita imatge"
|
|
22
22
|
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "Organitza",
|
|
26
|
+
forward: "Porta endavant",
|
|
27
|
+
backward: "Envia enrere",
|
|
28
|
+
front: "Porta al davant",
|
|
29
|
+
back: "Envia al fons"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "Transforma",
|
|
33
|
+
width: "Amplada (px)",
|
|
34
|
+
height: "Alçada (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "Gira (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
panel: { fill: { title: "Color de farciment" } }
|
|
24
41
|
} };
|
|
25
42
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/locale/de-DE.ts
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
|
+
append: "Folie anhängen",
|
|
4
|
+
text: { insert: { title: "Text einfügen" } },
|
|
5
|
+
shape: { insert: {
|
|
6
|
+
title: "Form einfügen",
|
|
7
|
+
rectangle: "Rechteck einfügen",
|
|
8
|
+
ellipse: "Ellipse einfügen"
|
|
9
|
+
} },
|
|
10
|
+
image: { insert: {
|
|
11
|
+
title: "Bild einfügen",
|
|
12
|
+
float: "Schwebendes Bild einfügen"
|
|
13
|
+
} },
|
|
14
|
+
popup: {
|
|
15
|
+
edit: "Bearbeiten",
|
|
16
|
+
delete: "Löschen"
|
|
17
|
+
},
|
|
18
|
+
sidebar: {
|
|
19
|
+
text: "Text bearbeiten",
|
|
20
|
+
shape: "Form bearbeiten",
|
|
21
|
+
image: "Bild bearbeiten"
|
|
22
|
+
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "Anordnen",
|
|
26
|
+
forward: "Nach vorne",
|
|
27
|
+
backward: "Nach hinten",
|
|
28
|
+
front: "In den Vordergrund",
|
|
29
|
+
back: "In den Hintergrund"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "Transformieren",
|
|
33
|
+
width: "Breite (px)",
|
|
34
|
+
height: "Höhe (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "Drehen (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
panel: { fill: { title: "Füllfarbe" } }
|
|
41
|
+
} };
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { locale as default };
|
package/lib/locale/en-US.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
const locale = {
|
|
17
|
+
const locale = { "slides-ui": {
|
|
18
18
|
append: "Append Slide",
|
|
19
19
|
text: { insert: { title: "Insert Text" } },
|
|
20
20
|
shape: { insert: {
|
|
@@ -35,6 +35,23 @@ const locale = { slide: {
|
|
|
35
35
|
shape: "Edit Shape",
|
|
36
36
|
image: "Edit Image"
|
|
37
37
|
},
|
|
38
|
+
"image-panel": {
|
|
39
|
+
arrange: {
|
|
40
|
+
title: "Arrange",
|
|
41
|
+
forward: "Bring Forward",
|
|
42
|
+
backward: "Send Backward",
|
|
43
|
+
front: "Bring to Front",
|
|
44
|
+
back: "Send to Back"
|
|
45
|
+
},
|
|
46
|
+
transform: {
|
|
47
|
+
title: "Transform",
|
|
48
|
+
width: "Width (px)",
|
|
49
|
+
height: "Height (px)",
|
|
50
|
+
x: "X (px)",
|
|
51
|
+
y: "Y (px)",
|
|
52
|
+
rotate: "Rotate (°)"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
38
55
|
panel: { fill: { title: "Fill Color" } }
|
|
39
56
|
} };
|
|
40
57
|
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/es-ES.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
3
|
append: "Añadir diapositiva",
|
|
4
4
|
text: { insert: { title: "Insertar texto" } },
|
|
5
5
|
shape: { insert: {
|
|
@@ -20,6 +20,23 @@ const locale = { slide: {
|
|
|
20
20
|
shape: "Editar forma",
|
|
21
21
|
image: "Editar imagen"
|
|
22
22
|
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "Organizar",
|
|
26
|
+
forward: "Traer adelante",
|
|
27
|
+
backward: "Enviar atrás",
|
|
28
|
+
front: "Traer al frente",
|
|
29
|
+
back: "Enviar al fondo"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "Transformar",
|
|
33
|
+
width: "Ancho (px)",
|
|
34
|
+
height: "Alto (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "Rotar (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
panel: { fill: { title: "Color de relleno" } }
|
|
24
41
|
} };
|
|
25
42
|
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/fa-IR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
3
|
append: "اضافه کردن اسلاید",
|
|
4
4
|
text: { insert: { title: "درج متن" } },
|
|
5
5
|
shape: { insert: {
|
|
@@ -20,6 +20,23 @@ const locale = { slide: {
|
|
|
20
20
|
shape: "ویرایش شکل",
|
|
21
21
|
image: "ویرایش تصویر"
|
|
22
22
|
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "ترتیبدهی",
|
|
26
|
+
forward: "آوردن به جلو",
|
|
27
|
+
backward: "فرستادن به عقب",
|
|
28
|
+
front: "آوردن به جلوی همه",
|
|
29
|
+
back: "فرستادن به پشت همه"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "تبدیل",
|
|
33
|
+
width: "عرض (px)",
|
|
34
|
+
height: "ارتفاع (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "چرخش (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
panel: { fill: { title: "رنگ پر کردن" } }
|
|
24
41
|
} };
|
|
25
42
|
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/fr-FR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
3
|
append: "Ajouter une diapositive",
|
|
4
4
|
text: { insert: { title: "Insérer du texte" } },
|
|
5
5
|
shape: { insert: {
|
|
@@ -20,6 +20,23 @@ const locale = { slide: {
|
|
|
20
20
|
shape: "Éditer la forme",
|
|
21
21
|
image: "Éditer l'image"
|
|
22
22
|
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "Arranger",
|
|
26
|
+
forward: "Avancer",
|
|
27
|
+
backward: "Reculer",
|
|
28
|
+
front: "Mettre au premier plan",
|
|
29
|
+
back: "Mettre à l'arrière-plan"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "Transformer",
|
|
33
|
+
width: "Largeur (px)",
|
|
34
|
+
height: "Hauteur (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "Pivoter (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
panel: { fill: { title: "Couleur de remplissage" } }
|
|
24
41
|
} };
|
|
25
42
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/locale/id-ID.ts
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
|
+
append: "Tambah Slide",
|
|
4
|
+
text: { insert: { title: "Sisipkan Teks" } },
|
|
5
|
+
shape: { insert: {
|
|
6
|
+
title: "Sisipkan Bentuk",
|
|
7
|
+
rectangle: "Sisipkan Persegi Panjang",
|
|
8
|
+
ellipse: "Sisipkan Elips"
|
|
9
|
+
} },
|
|
10
|
+
image: { insert: {
|
|
11
|
+
title: "Sisipkan Gambar",
|
|
12
|
+
float: "Sisipkan Gambar Mengambang"
|
|
13
|
+
} },
|
|
14
|
+
popup: {
|
|
15
|
+
edit: "Edit",
|
|
16
|
+
delete: "Hapus"
|
|
17
|
+
},
|
|
18
|
+
sidebar: {
|
|
19
|
+
text: "Edit Teks",
|
|
20
|
+
shape: "Edit Bentuk",
|
|
21
|
+
image: "Edit Gambar"
|
|
22
|
+
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "Atur",
|
|
26
|
+
forward: "Bawa ke Depan",
|
|
27
|
+
backward: "Kirim ke Belakang",
|
|
28
|
+
front: "Bawa ke Paling Depan",
|
|
29
|
+
back: "Kirim ke Paling Belakang"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "Transformasi",
|
|
33
|
+
width: "Lebar (px)",
|
|
34
|
+
height: "Tinggi (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "Putar (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
panel: { fill: { title: "Warna Isi" } }
|
|
41
|
+
} };
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { locale as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/locale/it-IT.ts
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
|
+
append: "Aggiungi Diapositiva",
|
|
4
|
+
text: { insert: { title: "Inserisci Testo" } },
|
|
5
|
+
shape: { insert: {
|
|
6
|
+
title: "Inserisci Forma",
|
|
7
|
+
rectangle: "Inserisci Rettangolo",
|
|
8
|
+
ellipse: "Inserisci Ellisse"
|
|
9
|
+
} },
|
|
10
|
+
image: { insert: {
|
|
11
|
+
title: "Inserisci Immagine",
|
|
12
|
+
float: "Inserisci Immagine Fluttuante"
|
|
13
|
+
} },
|
|
14
|
+
popup: {
|
|
15
|
+
edit: "Modifica",
|
|
16
|
+
delete: "Elimina"
|
|
17
|
+
},
|
|
18
|
+
sidebar: {
|
|
19
|
+
text: "Modifica Testo",
|
|
20
|
+
shape: "Modifica Forma",
|
|
21
|
+
image: "Modifica Immagine"
|
|
22
|
+
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "Disposizione",
|
|
26
|
+
forward: "Porta Avanti",
|
|
27
|
+
backward: "Manda Indietro",
|
|
28
|
+
front: "Porta in Primo Piano",
|
|
29
|
+
back: "Manda in Secondo Piano"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "Trasforma",
|
|
33
|
+
width: "Larghezza (px)",
|
|
34
|
+
height: "Altezza (px)",
|
|
35
|
+
x: "X (px)",
|
|
36
|
+
y: "Y (px)",
|
|
37
|
+
rotate: "Ruota (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
panel: { fill: { title: "Colore Riempimento" } }
|
|
41
|
+
} };
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { locale as default };
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/ja-JP.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
3
|
append: "スライドを追加",
|
|
4
4
|
text: { insert: { title: "テキストの挿入" } },
|
|
5
5
|
shape: { insert: {
|
|
@@ -20,6 +20,23 @@ const locale = { slide: {
|
|
|
20
20
|
shape: "図形編集",
|
|
21
21
|
image: "画像編集"
|
|
22
22
|
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "配置",
|
|
26
|
+
forward: "前面へ移動",
|
|
27
|
+
backward: "背面へ移動",
|
|
28
|
+
front: "最前面へ移動",
|
|
29
|
+
back: "最背面へ移動"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "変形",
|
|
33
|
+
width: "幅 (px)",
|
|
34
|
+
height: "高さ (px)",
|
|
35
|
+
x: "X座標 (px)",
|
|
36
|
+
y: "Y座標 (px)",
|
|
37
|
+
rotate: "回転 (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
panel: { fill: { title: "塗りつぶしの色" } }
|
|
24
41
|
} };
|
|
25
42
|
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/locale/ko-KR.ts
|
|
2
|
-
const locale = {
|
|
2
|
+
const locale = { "slides-ui": {
|
|
3
3
|
append: "슬라이드 추가",
|
|
4
4
|
text: { insert: { title: "텍스트 삽입" } },
|
|
5
5
|
shape: { insert: {
|
|
@@ -20,6 +20,23 @@ const locale = { slide: {
|
|
|
20
20
|
shape: "도형 편집",
|
|
21
21
|
image: "이미지 편집"
|
|
22
22
|
},
|
|
23
|
+
"image-panel": {
|
|
24
|
+
arrange: {
|
|
25
|
+
title: "정렬",
|
|
26
|
+
forward: "앞으로 가져오기",
|
|
27
|
+
backward: "뒤로 보내기",
|
|
28
|
+
front: "맨 앞으로 가져오기",
|
|
29
|
+
back: "맨 뒤로 보내기"
|
|
30
|
+
},
|
|
31
|
+
transform: {
|
|
32
|
+
title: "변형",
|
|
33
|
+
width: "너비 (px)",
|
|
34
|
+
height: "높이 (px)",
|
|
35
|
+
x: "X 좌표 (px)",
|
|
36
|
+
y: "Y 좌표 (px)",
|
|
37
|
+
rotate: "회전 (°)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
23
40
|
panel: { fill: { title: "채우기 색상" } }
|
|
24
41
|
} };
|
|
25
42
|
|