@ssml-builder-js/ssml-editor-elements 2.8.0 → 2.9.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/CHANGELOG.md +19 -0
- package/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +531 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +532 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/SsmlEditorElement.ts +322 -3
- package/src/index.ts +1 -0
- package/tsconfig.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @ssml-builder-js/ssml-editor-elements
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Release v2.9.0 with Azure SSML validation and migration utilities, voice catalog support, and visual/editor improvements.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @ssml-builder-js/ssml-core@2.9.0
|
|
13
|
+
|
|
14
|
+
## 2.8.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- ba09a72: Prepare the v2.8.1 patch release.
|
|
19
|
+
- Updated dependencies [ba09a72]
|
|
20
|
+
- @ssml-builder-js/ssml-core@2.8.1
|
|
21
|
+
|
|
3
22
|
## 2.8.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -15,6 +15,7 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
15
15
|
private toolbarActions;
|
|
16
16
|
private display;
|
|
17
17
|
private editorContainer;
|
|
18
|
+
private visualContainer;
|
|
18
19
|
private helpPanel;
|
|
19
20
|
private openMenu;
|
|
20
21
|
private openMenuTrigger;
|
|
@@ -29,6 +30,8 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
29
30
|
private documentState;
|
|
30
31
|
private decorationsVisible;
|
|
31
32
|
private helpOpen;
|
|
33
|
+
private visualSelectedPath;
|
|
34
|
+
private visualSelection;
|
|
32
35
|
get value(): string;
|
|
33
36
|
set value(value: string);
|
|
34
37
|
get theme(): SsmlEditorTheme;
|
|
@@ -37,12 +40,15 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
37
40
|
set readonly(readonly: boolean);
|
|
38
41
|
get locale(): SsmlEditorLocale;
|
|
39
42
|
set locale(locale: SsmlEditorLocale);
|
|
43
|
+
get editMode(): "code" | "visual";
|
|
44
|
+
set editMode(mode: "code" | "visual");
|
|
40
45
|
private prepareDocument;
|
|
41
46
|
connectedCallback(): void;
|
|
42
47
|
disconnectedCallback(): void;
|
|
43
48
|
attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void;
|
|
44
49
|
private render;
|
|
45
50
|
private renderToolbar;
|
|
51
|
+
private createModeButton;
|
|
46
52
|
private createActionButton;
|
|
47
53
|
private createDecorationsSwitch;
|
|
48
54
|
private createInsertionButton;
|
|
@@ -59,6 +65,8 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
59
65
|
private updateDecorations;
|
|
60
66
|
private renderHelp;
|
|
61
67
|
private updateTheme;
|
|
68
|
+
private updateEditMode;
|
|
69
|
+
private renderVisualEditor;
|
|
62
70
|
private updateActiveButtons;
|
|
63
71
|
private initialize;
|
|
64
72
|
private readonly handleDocumentPointerDown;
|
|
@@ -67,6 +75,7 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
67
75
|
private disposeEditor;
|
|
68
76
|
}
|
|
69
77
|
|
|
78
|
+
type SsmlEditorEditMode = "code" | "visual";
|
|
70
79
|
declare function defineSsmlEditorElement(): void;
|
|
71
80
|
|
|
72
|
-
export { type SsmlEditorChangeDetail, SsmlEditorElement, type SsmlEditorLocale, type SsmlEditorTheme, defineSsmlEditorElement };
|
|
81
|
+
export { type SsmlEditorChangeDetail, type SsmlEditorEditMode, SsmlEditorElement, type SsmlEditorLocale, type SsmlEditorTheme, defineSsmlEditorElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
15
15
|
private toolbarActions;
|
|
16
16
|
private display;
|
|
17
17
|
private editorContainer;
|
|
18
|
+
private visualContainer;
|
|
18
19
|
private helpPanel;
|
|
19
20
|
private openMenu;
|
|
20
21
|
private openMenuTrigger;
|
|
@@ -29,6 +30,8 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
29
30
|
private documentState;
|
|
30
31
|
private decorationsVisible;
|
|
31
32
|
private helpOpen;
|
|
33
|
+
private visualSelectedPath;
|
|
34
|
+
private visualSelection;
|
|
32
35
|
get value(): string;
|
|
33
36
|
set value(value: string);
|
|
34
37
|
get theme(): SsmlEditorTheme;
|
|
@@ -37,12 +40,15 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
37
40
|
set readonly(readonly: boolean);
|
|
38
41
|
get locale(): SsmlEditorLocale;
|
|
39
42
|
set locale(locale: SsmlEditorLocale);
|
|
43
|
+
get editMode(): "code" | "visual";
|
|
44
|
+
set editMode(mode: "code" | "visual");
|
|
40
45
|
private prepareDocument;
|
|
41
46
|
connectedCallback(): void;
|
|
42
47
|
disconnectedCallback(): void;
|
|
43
48
|
attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void;
|
|
44
49
|
private render;
|
|
45
50
|
private renderToolbar;
|
|
51
|
+
private createModeButton;
|
|
46
52
|
private createActionButton;
|
|
47
53
|
private createDecorationsSwitch;
|
|
48
54
|
private createInsertionButton;
|
|
@@ -59,6 +65,8 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
59
65
|
private updateDecorations;
|
|
60
66
|
private renderHelp;
|
|
61
67
|
private updateTheme;
|
|
68
|
+
private updateEditMode;
|
|
69
|
+
private renderVisualEditor;
|
|
62
70
|
private updateActiveButtons;
|
|
63
71
|
private initialize;
|
|
64
72
|
private readonly handleDocumentPointerDown;
|
|
@@ -67,6 +75,7 @@ declare class SsmlEditorElement extends HTMLElementBase {
|
|
|
67
75
|
private disposeEditor;
|
|
68
76
|
}
|
|
69
77
|
|
|
78
|
+
type SsmlEditorEditMode = "code" | "visual";
|
|
70
79
|
declare function defineSsmlEditorElement(): void;
|
|
71
80
|
|
|
72
|
-
export { type SsmlEditorChangeDetail, SsmlEditorElement, type SsmlEditorLocale, type SsmlEditorTheme, defineSsmlEditorElement };
|
|
81
|
+
export { type SsmlEditorChangeDetail, type SsmlEditorEditMode, SsmlEditorElement, type SsmlEditorLocale, type SsmlEditorTheme, defineSsmlEditorElement };
|