@vonage/vivid 5.4.0 → 5.6.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/LICENSE.md +201 -0
- package/accordion/definition.cjs +5 -0
- package/accordion/definition.js +5 -0
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +14 -3
- package/alert/definition.cjs +4 -12
- package/alert/definition.js +5 -13
- package/alert/index.cjs +11 -11
- package/alert/index.js +33 -37
- package/audio-player/definition.cjs +4 -0
- package/audio-player/definition.js +4 -0
- package/audio-player/index.cjs +1 -1
- package/audio-player/index.js +8 -2
- package/banner/definition.cjs +2 -4
- package/banner/definition.js +2 -4
- package/banner/index.cjs +2 -2
- package/banner/index.js +1 -1
- package/breadcrumb/definition.cjs +1 -0
- package/breadcrumb/definition.js +1 -0
- package/breadcrumb/index.cjs +1 -1
- package/breadcrumb/index.js +1 -0
- package/bundled/affix.js +1 -1
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +6 -6
- package/bundled/attribute-binding-behaviour.cjs +1 -1
- package/bundled/attribute-binding-behaviour.js +3 -1
- package/bundled/base-color-picker.cjs +18 -13
- package/bundled/base-color-picker.js +107 -84
- package/bundled/base-progress.cjs +1 -1
- package/bundled/base-progress.js +3 -0
- package/bundled/button.cjs +1 -1
- package/bundled/button.js +14 -10
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +4 -2
- package/bundled/char-count.cjs +1 -1
- package/bundled/char-count.js +1 -1
- package/bundled/definition10.cjs +7 -7
- package/bundled/definition10.js +29 -19
- package/bundled/definition11.cjs +12 -19
- package/bundled/definition11.js +73 -204
- package/bundled/definition12.cjs +19 -10
- package/bundled/definition12.js +218 -36
- package/bundled/definition13.cjs +10 -1
- package/bundled/definition13.js +38 -14
- package/bundled/definition14.cjs +1 -5
- package/bundled/definition14.js +15 -24
- package/bundled/definition15.cjs +5 -30
- package/bundled/definition15.js +22 -73
- package/bundled/definition16.cjs +30 -19
- package/bundled/definition16.js +74 -97
- package/bundled/definition17.cjs +19 -13
- package/bundled/definition17.js +86 -117
- package/bundled/definition18.cjs +13 -12
- package/bundled/definition18.js +125 -71
- package/bundled/definition19.cjs +16 -16
- package/bundled/definition19.js +132 -94
- package/bundled/definition2.cjs +8 -9
- package/bundled/definition2.js +89 -142
- package/bundled/definition22.cjs +1 -1
- package/bundled/definition22.js +1 -0
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +2 -1
- package/bundled/definition5.cjs +1 -1
- package/bundled/definition5.js +9 -3
- package/bundled/definition6.cjs +1 -1
- package/bundled/definition6.js +1 -0
- package/bundled/definition7.cjs +1 -1
- package/bundled/definition7.js +7 -4
- package/bundled/definition8.cjs +1 -1
- package/bundled/definition8.js +1 -0
- package/bundled/definition9.cjs +6 -6
- package/bundled/definition9.js +545 -488
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +3 -1
- package/bundled/form-associated.cjs +1 -1
- package/bundled/form-associated.js +11 -3
- package/bundled/host-semantics.js +4 -4
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +22 -4
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +149 -66
- package/bundled/mixins.cjs +4 -4
- package/bundled/mixins.js +11 -8
- package/bundled/picker-field.template.cjs +14 -14
- package/bundled/picker-field.template.js +36 -56
- package/bundled/scrollIntoView.cjs +1 -1
- package/bundled/scrollIntoView.js +4 -1
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +12 -12
- package/bundled/time-selection-picker.template.js +16 -12
- package/bundled/trapped-focus.cjs +1 -0
- package/bundled/trapped-focus.js +26 -0
- package/bundled/vivid-element.cjs +4 -4
- package/bundled/vivid-element.js +529 -492
- package/calendar/definition.cjs +2 -0
- package/calendar/definition.js +2 -0
- package/calendar/index.cjs +13 -13
- package/calendar/index.js +174 -144
- package/checkbox/definition.cjs +1 -0
- package/checkbox/definition.js +1 -0
- package/color-picker/definition.cjs +213 -112
- package/color-picker/definition.js +213 -112
- package/color-picker/index.cjs +104 -75
- package/color-picker/index.js +417 -326
- package/combobox/definition.cjs +17 -6
- package/combobox/definition.js +17 -6
- package/combobox/index.cjs +14 -9
- package/combobox/index.js +54 -42
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +1 -1
- package/custom-elements.json +6976 -484
- package/data-grid/definition.cjs +105 -7
- package/data-grid/definition.js +105 -7
- package/data-grid/index.cjs +52 -38
- package/data-grid/index.js +313 -242
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +2 -2
- package/date-range-picker/definition.cjs +2 -0
- package/date-range-picker/definition.js +2 -0
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +7 -3
- package/date-time-picker/index.cjs +1 -1
- package/date-time-picker/index.js +2 -2
- package/dial-pad/definition.cjs +148 -0
- package/dial-pad/definition.js +148 -0
- package/dial-pad/index.cjs +27 -20
- package/dial-pad/index.js +202 -101
- package/dialog/definition.cjs +1 -0
- package/dialog/definition.js +1 -0
- package/dialog/index.cjs +1 -1
- package/dialog/index.js +1 -0
- package/divider/index.cjs +1 -1
- package/divider/index.js +1 -1
- package/fab/definition.cjs +1 -0
- package/fab/definition.js +1 -0
- package/fab/index.cjs +1 -1
- package/fab/index.js +1 -0
- package/file-picker/definition.cjs +7 -2
- package/file-picker/definition.js +7 -2
- package/file-picker/index.cjs +6 -6
- package/file-picker/index.js +82 -73
- package/icon/definition.cjs +66 -41
- package/icon/definition.js +67 -42
- package/index.cjs +21 -0
- package/index.js +1 -1
- package/lib/color-picker/color-picker.d.ts +390 -12
- package/lib/color-picker/locale.d.ts +4 -0
- package/lib/data-grid/locale.d.ts +5 -0
- package/lib/date-picker/date-picker.d.ts +38 -38
- package/lib/date-range-picker/date-range-picker.d.ts +20 -20
- package/lib/date-time-picker/date-time-picker.d.ts +40 -40
- package/lib/dial-pad/dial-pad.d.ts +1 -0
- package/lib/icon/icon.d.ts +1 -1
- package/lib/menu/menu.d.ts +4 -4
- package/lib/rich-text-editor/definition.d.ts +3 -2
- package/lib/rich-text-editor/locale.d.ts +29 -3
- package/lib/rich-text-editor/popover.d.ts +19 -0
- package/lib/rich-text-editor/rich-text-editor.d.ts +16 -45
- package/lib/rich-text-editor/rich-text-editor.template.d.ts +2 -2
- package/lib/rich-text-editor/rte/config.d.ts +18 -0
- package/lib/rich-text-editor/rte/document.d.ts +28 -0
- package/lib/rich-text-editor/rte/exports.d.ts +23 -0
- package/lib/rich-text-editor/rte/feature.d.ts +46 -0
- package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +33 -0
- package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +11 -0
- package/lib/rich-text-editor/rte/features/internal/history.d.ts +10 -0
- package/lib/rich-text-editor/rte/features/internal/text-style.d.ts +18 -0
- package/lib/rich-text-editor/rte/html-parser.d.ts +24 -0
- package/lib/rich-text-editor/rte/html-serializer.d.ts +30 -0
- package/lib/rich-text-editor/rte/instance.d.ts +57 -0
- package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -0
- package/lib/rich-text-editor/rte/utils/impl.d.ts +1 -0
- package/lib/rich-text-editor/rte/utils/textblock-attrs.d.ts +29 -0
- package/lib/rich-text-editor/rte/utils/textblock-marks.d.ts +10 -0
- package/lib/rich-text-editor/rte/utils/ui.d.ts +109 -0
- package/lib/simple-color-picker/simple-color-picker.d.ts +6 -5
- package/lib/text-area/text-area.d.ts +1 -1
- package/lib/text-field/text-field.d.ts +1 -1
- package/lib/time-picker/time-picker.d.ts +20 -20
- package/lib/toggletip/toggletip.d.ts +4 -4
- package/lib/tooltip/tooltip.d.ts +4 -4
- package/locales/de-DE.cjs +58 -7
- package/locales/de-DE.js +58 -7
- package/locales/en-GB.cjs +60 -9
- package/locales/en-GB.js +60 -9
- package/locales/en-US.cjs +60 -9
- package/locales/en-US.js +60 -9
- package/locales/ja-JP.cjs +59 -8
- package/locales/ja-JP.js +59 -8
- package/locales/zh-CN.cjs +58 -7
- package/locales/zh-CN.js +58 -7
- package/menu/definition.cjs +1 -0
- package/menu/definition.js +1 -0
- package/number-field/definition.cjs +5 -3
- package/number-field/definition.js +5 -3
- package/number-field/index.cjs +5 -3
- package/number-field/index.js +34 -32
- package/option/index.cjs +1 -1
- package/option/index.js +1 -1
- package/package.json +76 -62
- package/pagination/definition.cjs +2 -0
- package/pagination/definition.js +2 -0
- package/pagination/index.cjs +1 -1
- package/pagination/index.js +2 -0
- package/progress-ring/index.cjs +1 -1
- package/progress-ring/index.js +1 -1
- package/radio/definition.cjs +4 -0
- package/radio/definition.js +4 -0
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/radio-group/index.cjs +1 -1
- package/radio-group/index.js +1 -1
- package/range-slider/definition.cjs +2 -1
- package/range-slider/definition.js +2 -1
- package/range-slider/index.cjs +1 -1
- package/range-slider/index.js +3 -1
- package/rich-text-editor/definition.cjs +17942 -1074
- package/rich-text-editor/definition.js +17926 -1079
- package/rich-text-editor/index.cjs +29 -130
- package/rich-text-editor/index.js +5565 -2474
- package/searchable-select/definition.cjs +6 -2
- package/searchable-select/definition.js +6 -2
- package/searchable-select/index.cjs +1 -1
- package/searchable-select/index.js +14 -10
- package/select/definition.cjs +22 -4
- package/select/definition.js +22 -4
- package/selectable-box/index.cjs +1 -1
- package/selectable-box/index.js +1 -1
- package/shared/color-picker/base-color-picker.d.ts +2 -1
- package/shared/patterns/anchored.d.ts +8 -8
- package/shared/patterns/char-count/char-count.d.ts +1 -1
- package/shared/patterns/localized.d.ts +386 -0
- package/shared/picker-field/mixins/calendar-picker.d.ts +10 -10
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +10 -10
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +20 -20
- package/shared/picker-field/mixins/single-date-picker.d.ts +28 -28
- package/shared/picker-field/mixins/single-value-picker.d.ts +8 -8
- package/shared/picker-field/mixins/time-selection-picker.d.ts +20 -20
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +20 -20
- package/shared/utils/promise.d.ts +7 -0
- package/simple-color-picker/definition.cjs +11 -6
- package/simple-color-picker/definition.js +11 -6
- package/simple-color-picker/index.cjs +6 -6
- package/simple-color-picker/index.js +44 -39
- package/slider/definition.cjs +7 -1
- package/slider/definition.js +7 -1
- package/styles/core/all.css +5 -1
- package/styles/core/theme.css +5 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/switch/definition.cjs +1 -0
- package/switch/definition.js +1 -0
- package/switch/index.cjs +1 -1
- package/switch/index.js +1 -0
- package/tabs/definition.cjs +2 -0
- package/tabs/definition.js +2 -0
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +2 -0
- package/tag/definition.cjs +34 -14
- package/tag/definition.js +34 -14
- package/tag/index.cjs +25 -12
- package/tag/index.js +64 -47
- package/tag-group/definition.cjs +1 -2
- package/tag-group/definition.js +1 -2
- package/tag-group/index.cjs +1 -1
- package/tag-group/index.js +11 -12
- package/text-area/definition.cjs +13 -7
- package/text-area/definition.js +13 -7
- package/text-area/index.cjs +6 -6
- package/text-area/index.js +20 -14
- package/text-field/definition.cjs +16 -6
- package/text-field/definition.js +16 -6
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +1 -1
- package/toggletip/definition.cjs +5 -1
- package/toggletip/definition.js +5 -1
- package/toggletip/index.cjs +1 -1
- package/toggletip/index.js +1 -1
- package/tooltip/definition.cjs +6 -3
- package/tooltip/definition.js +6 -3
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/tree-view/definition.cjs +28 -6
- package/tree-view/definition.js +28 -6
- package/tree-view/index.cjs +1 -1
- package/tree-view/index.js +28 -6
- package/unbundled/_commonjsHelpers.cjs +0 -26
- package/unbundled/_commonjsHelpers.js +1 -26
- package/unbundled/attribute-binding-behaviour.cjs +1 -0
- package/unbundled/attribute-binding-behaviour.js +1 -0
- package/unbundled/base-color-picker.cjs +45 -21
- package/unbundled/base-color-picker.js +45 -21
- package/unbundled/base-progress.cjs +3 -0
- package/unbundled/base-progress.js +3 -0
- package/unbundled/button.cjs +14 -10
- package/unbundled/button.js +14 -10
- package/unbundled/calendar-picker.template.cjs +3 -1
- package/unbundled/calendar-picker.template.js +3 -1
- package/unbundled/definition.cjs +1 -0
- package/unbundled/definition.js +1 -0
- package/unbundled/definition2.cjs +4 -1
- package/unbundled/definition2.js +4 -1
- package/unbundled/definition3.cjs +1 -0
- package/unbundled/definition3.js +1 -0
- package/unbundled/definition4.cjs +1 -0
- package/unbundled/definition4.js +1 -0
- package/unbundled/definition5.cjs +3 -2
- package/unbundled/definition5.js +4 -3
- package/unbundled/delegates-aria.cjs +1 -0
- package/unbundled/delegates-aria.js +1 -0
- package/unbundled/form-associated.cjs +4 -0
- package/unbundled/form-associated.js +4 -0
- package/unbundled/listbox.cjs +16 -1
- package/unbundled/listbox.js +16 -1
- package/unbundled/localized.cjs +36 -0
- package/unbundled/localized.js +37 -2
- package/unbundled/mixins.cjs +2 -0
- package/unbundled/mixins.js +2 -0
- package/unbundled/picker-field.template.cjs +3 -35
- package/unbundled/picker-field.template.js +3 -34
- package/unbundled/scrollIntoView.cjs +1 -0
- package/unbundled/scrollIntoView.js +1 -0
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +5 -1
- package/unbundled/time-selection-picker.template.js +5 -1
- package/unbundled/trapped-focus.cjs +37 -0
- package/unbundled/trapped-focus.js +34 -0
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/video-player/definition.cjs +54 -44
- package/video-player/definition.js +50 -40
- package/video-player/index.cjs +28 -28
- package/video-player/index.js +1448 -1442
- package/visually-hidden/index.cjs +1 -1
- package/visually-hidden/index.js +1 -1
- package/vivid.api.json +6463 -6099
- package/bundled/_has.cjs +0 -1
- package/bundled/_has.js +0 -34
- package/lib/rich-text-editor/facades/prose-mirror-vivid.schema.d.ts +0 -4
- package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +0 -18
- package/lib/rich-text-editor/image-placeholder/definition.d.ts +0 -2
- package/lib/rich-text-editor/image-placeholder/image-placeholder.d.ts +0 -7
- package/lib/rich-text-editor/image-placeholder/image-placeholder.template.d.ts +0 -4
- package/lib/rich-text-editor/menubar/consts.d.ts +0 -18
- package/lib/rich-text-editor/menubar/definition.d.ts +0 -2
- package/lib/rich-text-editor/menubar/menubar.d.ts +0 -386
- package/lib/rich-text-editor/menubar/menubar.template.d.ts +0 -4
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ParseRule, type TagParseRule } from 'prosemirror-model';
|
|
2
|
+
import { type RteConfig } from './config';
|
|
3
|
+
import type { RteDocument, RteFragment } from './document';
|
|
4
|
+
type ParseRules = {
|
|
5
|
+
nodes: {
|
|
6
|
+
[name: string]: TagParseRule[];
|
|
7
|
+
};
|
|
8
|
+
marks: {
|
|
9
|
+
[name: string]: ParseRule[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export type RteHtmlParserOptions = {
|
|
13
|
+
modifyParseRules?: (rules: ParseRules) => void;
|
|
14
|
+
};
|
|
15
|
+
type ParseOptions = {
|
|
16
|
+
modifyDom?: (dom: DocumentFragment) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare class RteHtmlParser {
|
|
19
|
+
constructor(config: RteConfig, options?: RteHtmlParserOptions);
|
|
20
|
+
parseDocument(html: string, options?: ParseOptions): RteDocument;
|
|
21
|
+
parseFragment(html: string, options?: ParseOptions): RteFragment;
|
|
22
|
+
private parseHtml;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type DOMOutputSpec, DOMSerializer, type Mark, type Node, type Schema } from 'prosemirror-model';
|
|
2
|
+
import type { RteConfig, RteConfigImpl } from './config';
|
|
3
|
+
import type { RteDocument, RteFragment } from './document';
|
|
4
|
+
type DomSerializers = {
|
|
5
|
+
nodes: {
|
|
6
|
+
[name: string]: (node: Node) => DOMOutputSpec;
|
|
7
|
+
};
|
|
8
|
+
marks: {
|
|
9
|
+
[name: string]: (mark: Mark, inline: boolean) => DOMOutputSpec;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export type RteHtmlSerializerOptions = {
|
|
13
|
+
serializers?: Partial<DomSerializers>;
|
|
14
|
+
};
|
|
15
|
+
type SerializeOptions = {
|
|
16
|
+
modifyDom?: (dom: DocumentFragment) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare class RteHtmlSerializer {
|
|
19
|
+
constructor(config: RteConfig, options?: RteHtmlSerializerOptions);
|
|
20
|
+
serializeDocument(doc: RteDocument, options?: SerializeOptions): string;
|
|
21
|
+
serializeFragment(fragment: RteFragment, options?: SerializeOptions): string;
|
|
22
|
+
}
|
|
23
|
+
export declare class RteHtmlSerializerImpl {
|
|
24
|
+
protected readonly config: RteConfigImpl;
|
|
25
|
+
serializer: DOMSerializer;
|
|
26
|
+
constructor(config: RteConfigImpl, options?: RteHtmlSerializerOptions);
|
|
27
|
+
static domSerializersFromSchema(schema: Schema): DomSerializers;
|
|
28
|
+
serializeFragment(fragment: RteFragment, options?: SerializeOptions): string;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { EditorState } from 'prosemirror-state';
|
|
2
|
+
import { Schema } from 'prosemirror-model';
|
|
3
|
+
import { ElementStyles } from '@microsoft/fast-element';
|
|
4
|
+
import { EditorView } from 'prosemirror-view';
|
|
5
|
+
import type { Constructor } from '../../../shared/utils/mixins';
|
|
6
|
+
import type { Locale } from '../../../shared/localization/Locale';
|
|
7
|
+
import { RteConfig, RteConfigImpl } from './config';
|
|
8
|
+
import { type HostState } from './features/internal/core';
|
|
9
|
+
import { RteFeatureImpl } from './feature';
|
|
10
|
+
import type { RteDocument, RteFragment } from './document';
|
|
11
|
+
import type { TextblockAttrs } from './utils/textblock-attrs';
|
|
12
|
+
import { RteHtmlParser } from './html-parser';
|
|
13
|
+
import { RteHtmlSerializer } from './html-serializer';
|
|
14
|
+
export type RteInstanceOptions = {
|
|
15
|
+
initialDocument?: RteDocument;
|
|
16
|
+
onChange?: () => void;
|
|
17
|
+
foreignHtmlParser?: RteHtmlParser;
|
|
18
|
+
foreignHtmlSerializer?: RteHtmlSerializer;
|
|
19
|
+
};
|
|
20
|
+
export declare class RteInstance {
|
|
21
|
+
readonly options?: RteInstanceOptions | undefined;
|
|
22
|
+
constructor(config: RteConfig, options?: RteInstanceOptions | undefined);
|
|
23
|
+
getDocument(): RteDocument;
|
|
24
|
+
reset(initialDocument?: RteDocument): void;
|
|
25
|
+
replaceSelection(content: RteFragment, options?: {
|
|
26
|
+
cursorPlacement?: 'end' | 'start';
|
|
27
|
+
selectContent?: boolean;
|
|
28
|
+
}): void;
|
|
29
|
+
replaceDocument(newDocument: RteDocument, options?: {
|
|
30
|
+
cursorPlacement?: 'start' | 'end';
|
|
31
|
+
selectContent?: boolean;
|
|
32
|
+
}): void;
|
|
33
|
+
}
|
|
34
|
+
export declare class RteInstanceImpl {
|
|
35
|
+
readonly options?: RteInstanceOptions | undefined;
|
|
36
|
+
state: EditorState;
|
|
37
|
+
readonly config: RteConfigImpl;
|
|
38
|
+
readonly schema: Schema;
|
|
39
|
+
readonly textblockAttrs: TextblockAttrs;
|
|
40
|
+
readonly features: RteFeatureImpl[];
|
|
41
|
+
readonly styles: ElementStyles;
|
|
42
|
+
readonly foreignHtmlParser: RteHtmlParser;
|
|
43
|
+
readonly foreignHtmlSerializer: RteHtmlSerializer;
|
|
44
|
+
getFeature<T extends RteFeatureImpl>(constr: Constructor<T>): T;
|
|
45
|
+
constructor(configFacade: RteConfig, options?: RteInstanceOptions | undefined);
|
|
46
|
+
protected initState(initialDoc?: RteDocument): void;
|
|
47
|
+
reset(initialDocument?: RteDocument): void;
|
|
48
|
+
view: EditorView | null;
|
|
49
|
+
createView(target: HTMLElement): void;
|
|
50
|
+
destroyViewIfNeeded(): void;
|
|
51
|
+
createComponent<T>(type: Constructor<T>): T;
|
|
52
|
+
getLocale(): Locale;
|
|
53
|
+
get tr(): import("prosemirror-state").Transaction;
|
|
54
|
+
dispatchTransaction: (tr: any) => EditorState;
|
|
55
|
+
hostState(): HostState;
|
|
56
|
+
updateHostState(hostState: HostState | null): void;
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const impl: unique symbol;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Node } from 'prosemirror-model';
|
|
2
|
+
export interface TextblockAttrSpec {
|
|
3
|
+
name: string;
|
|
4
|
+
default: any;
|
|
5
|
+
fromDOM: (dom: HTMLElement) => any;
|
|
6
|
+
toStyles: (node: Node) => string[];
|
|
7
|
+
}
|
|
8
|
+
export declare class TextblockAttrs {
|
|
9
|
+
private specs;
|
|
10
|
+
attrs: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
default: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
constructor(specs: TextblockAttrSpec[]);
|
|
16
|
+
fromDOM(dom: HTMLElement): any;
|
|
17
|
+
getStyle(node: Node): string;
|
|
18
|
+
getDOMAttrsProperties(node: Node): {
|
|
19
|
+
style?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
style: string;
|
|
22
|
+
};
|
|
23
|
+
getDOMAttrs(node: Node): ({
|
|
24
|
+
style?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
style: string;
|
|
27
|
+
})[];
|
|
28
|
+
extractFromNode(node: Node): any;
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TextblockMarkSpec {
|
|
2
|
+
markName: string;
|
|
3
|
+
onNodeName?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class TextblockMarks {
|
|
6
|
+
private specs;
|
|
7
|
+
constructor(specs: TextblockMarkSpec[]);
|
|
8
|
+
getAllowedMarksForNode(nodeName: string): string[];
|
|
9
|
+
getReferencedNodeNames(): Set<string>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { MarkType } from 'prosemirror-model';
|
|
3
|
+
import { RteInstanceImpl } from '../instance';
|
|
4
|
+
import { MenuItem } from '../../../menu-item/menu-item';
|
|
5
|
+
import { ListboxOption } from '../../../option/option';
|
|
6
|
+
import { Divider } from '../../../divider/divider';
|
|
7
|
+
import { TextField } from '../../../text-field/text-field';
|
|
8
|
+
type Prop<T> = T | ((ctx: UiCtx) => T);
|
|
9
|
+
type Props<T> = {
|
|
10
|
+
[P in keyof T]: Prop<T[P]>;
|
|
11
|
+
};
|
|
12
|
+
type EventBinding = [
|
|
13
|
+
string,
|
|
14
|
+
unknown,
|
|
15
|
+
(value: unknown) => (event: Event) => void
|
|
16
|
+
];
|
|
17
|
+
type CtxProps = {
|
|
18
|
+
popupPlacement: 'top' | 'bottom';
|
|
19
|
+
};
|
|
20
|
+
export declare class UiCtx {
|
|
21
|
+
readonly view: EditorView;
|
|
22
|
+
readonly rte: RteInstanceImpl;
|
|
23
|
+
readonly props: Props<CtxProps>;
|
|
24
|
+
constructor(view: EditorView, rte: RteInstanceImpl, props: Props<CtxProps>);
|
|
25
|
+
evalProp<T>(prop: Prop<T>): T;
|
|
26
|
+
private bindings;
|
|
27
|
+
bindProp<T>(prop: Prop<T> | undefined, bindFn: (value: T) => void): void;
|
|
28
|
+
updateBindings(): void;
|
|
29
|
+
bindToEl<T extends Node>(target: T, props?: Partial<Props<T>>, events?: EventBinding[], children?: Array<Node>): void;
|
|
30
|
+
}
|
|
31
|
+
export declare const createDiv: (ctx: UiCtx, props: {
|
|
32
|
+
className?: string;
|
|
33
|
+
slot?: string;
|
|
34
|
+
children: Array<Node>;
|
|
35
|
+
}) => HTMLDivElement;
|
|
36
|
+
export declare const createAnchor: (ctx: UiCtx, props: {
|
|
37
|
+
href: Prop<string>;
|
|
38
|
+
target?: string;
|
|
39
|
+
rel?: string;
|
|
40
|
+
className?: string;
|
|
41
|
+
children: Array<Node>;
|
|
42
|
+
}) => HTMLAnchorElement;
|
|
43
|
+
export declare const createOptionalTooltip: (ctx: UiCtx, props: {
|
|
44
|
+
enabled: Prop<boolean>;
|
|
45
|
+
label: Prop<string>;
|
|
46
|
+
anchor: HTMLElement;
|
|
47
|
+
slot?: string;
|
|
48
|
+
}) => HTMLDivElement;
|
|
49
|
+
export declare const createButton: (ctx: UiCtx, props: {
|
|
50
|
+
variant?: Prop<'toolbar' | 'popover' | 'popover-primary'>;
|
|
51
|
+
label: Prop<string>;
|
|
52
|
+
icon?: Prop<string>;
|
|
53
|
+
noTooltip?: boolean;
|
|
54
|
+
autofocus?: Prop<boolean>;
|
|
55
|
+
slot?: string;
|
|
56
|
+
active?: Prop<boolean>;
|
|
57
|
+
disabled?: Prop<boolean>;
|
|
58
|
+
connotation?: Prop<'alert'>;
|
|
59
|
+
onClick?: () => void | boolean;
|
|
60
|
+
}) => HTMLDivElement;
|
|
61
|
+
export declare const createMenu: (ctx: UiCtx, props: {
|
|
62
|
+
label: Prop<string>;
|
|
63
|
+
trigger: HTMLElement;
|
|
64
|
+
children: Array<HTMLElement>;
|
|
65
|
+
}) => DocumentFragment;
|
|
66
|
+
export declare const createMenuItem: (ctx: UiCtx, props: {
|
|
67
|
+
text: Prop<string>;
|
|
68
|
+
checked: Prop<boolean>;
|
|
69
|
+
disabled?: Prop<boolean>;
|
|
70
|
+
onSelect: () => void;
|
|
71
|
+
}) => MenuItem;
|
|
72
|
+
export declare const createButtonGroup: (ctx: UiCtx, props: {
|
|
73
|
+
children: Array<Node>;
|
|
74
|
+
}) => HTMLDivElement;
|
|
75
|
+
export declare const createMarkToggle: (ctx: UiCtx, props: {
|
|
76
|
+
label: Prop<string>;
|
|
77
|
+
icon: string;
|
|
78
|
+
markType: MarkType;
|
|
79
|
+
}) => HTMLDivElement;
|
|
80
|
+
export declare const createOption: (ctx: UiCtx, props: {
|
|
81
|
+
text: Prop<string>;
|
|
82
|
+
value: string;
|
|
83
|
+
disabled?: Prop<boolean>;
|
|
84
|
+
}) => ListboxOption;
|
|
85
|
+
export declare const createSelect: (ctx: UiCtx, props: {
|
|
86
|
+
label: Prop<string>;
|
|
87
|
+
value: Prop<string>;
|
|
88
|
+
children: Array<HTMLElement>;
|
|
89
|
+
onSelect: (value: string) => void;
|
|
90
|
+
}) => HTMLDivElement;
|
|
91
|
+
export declare const createDivider: (ctx: UiCtx) => Divider;
|
|
92
|
+
export declare const createTextField: (ctx: UiCtx, props: {
|
|
93
|
+
label: Prop<string>;
|
|
94
|
+
value: Prop<string>;
|
|
95
|
+
placeholder?: Prop<string> | undefined;
|
|
96
|
+
slot?: string | undefined;
|
|
97
|
+
autofocus?: boolean | undefined;
|
|
98
|
+
type?: "url" | undefined;
|
|
99
|
+
onInput?: ((value: string) => void) | undefined;
|
|
100
|
+
}) => TextField;
|
|
101
|
+
export declare const createText: (ctx: UiCtx, props: {
|
|
102
|
+
text: Prop<string>;
|
|
103
|
+
}) => Text;
|
|
104
|
+
export declare const createSingleSlot: (ctx: UiCtx, props: {
|
|
105
|
+
name: string;
|
|
106
|
+
assignedProps: Record<string, Prop<any>>;
|
|
107
|
+
assignedEvents: Record<string, (e: Event) => void>;
|
|
108
|
+
}) => HTMLSlotElement;
|
|
109
|
+
export {};
|
|
@@ -7,10 +7,10 @@ declare const SimpleColorPicker_base: {
|
|
|
7
7
|
_slottedAnchor?: HTMLElement[] | undefined;
|
|
8
8
|
_slottedAnchorChanged(): void;
|
|
9
9
|
_anchorEl?: HTMLElement | undefined;
|
|
10
|
-
"__#
|
|
11
|
-
"__#
|
|
12
|
-
"__#
|
|
13
|
-
"__#
|
|
10
|
+
"__#10@#updateAnchorEl": () => void;
|
|
11
|
+
"__#10@#observer"?: MutationObserver | undefined;
|
|
12
|
+
"__#10@#observeMissingAnchor": (anchorId: string) => void;
|
|
13
|
+
"__#10@#cleanupObserverIfNeeded": () => void;
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
disconnectedCallback(): void;
|
|
16
16
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
@@ -392,6 +392,7 @@ declare const SimpleColorPicker_base: {
|
|
|
392
392
|
swatches: import("../../shared/color-picker").ColorSwatch[];
|
|
393
393
|
connectedCallback(): void;
|
|
394
394
|
_canvasColor: string;
|
|
395
|
+
readonly _computedCanvasColor: string;
|
|
395
396
|
_refreshCanvasColor(): void;
|
|
396
397
|
_applyContrastClass(color: string, threshold?: number): boolean;
|
|
397
398
|
_getRowLength(): number;
|
|
@@ -402,7 +403,7 @@ declare const SimpleColorPicker_base: {
|
|
|
402
403
|
_getGridCells(): HTMLElement[];
|
|
403
404
|
_handleCellKeydown(event: KeyboardEvent, value: string, index: number, isSaveCell?: boolean | undefined): boolean;
|
|
404
405
|
_focusSwatchByIndex(index: number): void;
|
|
405
|
-
_renderColorSwatch(iconTag: import("@microsoft/fast-element").InlineTemplateDirective): import("@microsoft/fast-element").ViewTemplate<import("../../shared/color-picker").ColorSwatch, any>;
|
|
406
|
+
_renderColorSwatch(iconTag: import("@microsoft/fast-element").InlineTemplateDirective, tooltipTag: import("@microsoft/fast-element").InlineTemplateDirective): import("@microsoft/fast-element").ViewTemplate<import("../../shared/color-picker").ColorSwatch, any>;
|
|
406
407
|
readonly locale: import("../../shared/localization/Locale").Locale;
|
|
407
408
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
|
408
409
|
readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
|
|
@@ -816,7 +816,7 @@ declare const TextArea_base: {
|
|
|
816
816
|
maxlength: number;
|
|
817
817
|
charCount: boolean;
|
|
818
818
|
charCountRemaining: HTMLSpanElement;
|
|
819
|
-
"__#
|
|
819
|
+
"__#6@#charCountTimeout": NodeJS.Timeout | null;
|
|
820
820
|
_charCountDescribedBy: string;
|
|
821
821
|
_renderCharCountRemaining: () => void;
|
|
822
822
|
_updateCharCountRemaining: () => void;
|
|
@@ -824,7 +824,7 @@ declare const TextField_base: {
|
|
|
824
824
|
maxlength: number;
|
|
825
825
|
charCount: boolean;
|
|
826
826
|
charCountRemaining: HTMLSpanElement;
|
|
827
|
-
"__#
|
|
827
|
+
"__#6@#charCountTimeout": NodeJS.Timeout | null;
|
|
828
828
|
_charCountDescribedBy: string;
|
|
829
829
|
_renderCharCountRemaining: () => void;
|
|
830
830
|
_updateCharCountRemaining: () => void;
|
|
@@ -13,12 +13,12 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
13
13
|
readonly _displaySeconds: boolean;
|
|
14
14
|
readonly _use12hClock: boolean;
|
|
15
15
|
readonly _timePlaceholder: string;
|
|
16
|
-
"__#
|
|
16
|
+
"__#25@#clockChangeHandler": {
|
|
17
17
|
handleChange: () => void;
|
|
18
18
|
};
|
|
19
|
-
"__#
|
|
20
|
-
"__#
|
|
21
|
-
"__#
|
|
19
|
+
"__#25@#clockChangeObserver": import("@microsoft/fast-element").ExpressionNotifier<any, any, any>;
|
|
20
|
+
"__#25@#startObservingClockChanges"(): void;
|
|
21
|
+
"__#25@#stopObservingClockChanges"(): void;
|
|
22
22
|
connectedCallback(): void;
|
|
23
23
|
disconnectedCallback(): void;
|
|
24
24
|
_onPickerButtonClick(): void;
|
|
@@ -40,20 +40,20 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
40
40
|
_textFieldEl: import("../components").VwcTextFieldElement;
|
|
41
41
|
_dialogEl: HTMLElement;
|
|
42
42
|
_pickerButtonEl: import("../components").VwcButtonElement;
|
|
43
|
-
"__#
|
|
44
|
-
"__#
|
|
43
|
+
"__#22@#onFocusIn": () => void;
|
|
44
|
+
"__#22@#onFocusOut": () => void;
|
|
45
45
|
proxy: HTMLInputElement;
|
|
46
46
|
validate(): void;
|
|
47
47
|
_getCustomValidationError(): string | null;
|
|
48
|
-
"__#
|
|
48
|
+
"__#22@#localeChangeHandler": {
|
|
49
49
|
handleChange: () => void;
|
|
50
50
|
};
|
|
51
|
-
"__#
|
|
52
|
-
"__#
|
|
53
|
-
"__#
|
|
51
|
+
"__#22@#localeChangeObserver": import("@microsoft/fast-element").ExpressionNotifier<any, any, any>;
|
|
52
|
+
"__#22@#startObservingLocaleChanges"(): void;
|
|
53
|
+
"__#22@#stopObservingLocaleChanges"(): void;
|
|
54
54
|
_popupOpen: boolean;
|
|
55
|
-
"__#
|
|
56
|
-
"__#
|
|
55
|
+
"__#22@#dismissOnClickOutside": (event: MouseEvent) => void;
|
|
56
|
+
"__#22@#openPopupIfPossible"(): void;
|
|
57
57
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
58
58
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
59
59
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
@@ -893,20 +893,20 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
893
893
|
_pickerButtonEl: import("../components").VwcButtonElement;
|
|
894
894
|
connectedCallback(): void;
|
|
895
895
|
disconnectedCallback(): void;
|
|
896
|
-
"__#
|
|
897
|
-
"__#
|
|
896
|
+
"__#22@#onFocusIn": () => void;
|
|
897
|
+
"__#22@#onFocusOut": () => void;
|
|
898
898
|
proxy: HTMLInputElement;
|
|
899
899
|
validate(): void;
|
|
900
900
|
_getCustomValidationError(): string | null;
|
|
901
|
-
"__#
|
|
901
|
+
"__#22@#localeChangeHandler": {
|
|
902
902
|
handleChange: () => void;
|
|
903
903
|
};
|
|
904
|
-
"__#
|
|
905
|
-
"__#
|
|
906
|
-
"__#
|
|
904
|
+
"__#22@#localeChangeObserver": import("@microsoft/fast-element").ExpressionNotifier<any, any, any>;
|
|
905
|
+
"__#22@#startObservingLocaleChanges"(): void;
|
|
906
|
+
"__#22@#stopObservingLocaleChanges"(): void;
|
|
907
907
|
_popupOpen: boolean;
|
|
908
|
-
"__#
|
|
909
|
-
"__#
|
|
908
|
+
"__#22@#dismissOnClickOutside": (event: MouseEvent) => void;
|
|
909
|
+
"__#22@#openPopupIfPossible"(): void;
|
|
910
910
|
_closePopup(restoreFocusToTextField?: boolean): void;
|
|
911
911
|
_onBaseKeyDown(event: KeyboardEvent): boolean;
|
|
912
912
|
_focusableElsWithinDialog(): NodeListOf<HTMLElement>;
|
|
@@ -384,10 +384,10 @@ declare const Toggletip_base: {
|
|
|
384
384
|
_slottedAnchor?: HTMLElement[] | undefined;
|
|
385
385
|
_slottedAnchorChanged(): void;
|
|
386
386
|
_anchorEl?: HTMLElement | undefined;
|
|
387
|
-
"__#
|
|
388
|
-
"__#
|
|
389
|
-
"__#
|
|
390
|
-
"__#
|
|
387
|
+
"__#10@#updateAnchorEl": () => void;
|
|
388
|
+
"__#10@#observer"?: MutationObserver | undefined;
|
|
389
|
+
"__#10@#observeMissingAnchor": (anchorId: string) => void;
|
|
390
|
+
"__#10@#cleanupObserverIfNeeded": () => void;
|
|
391
391
|
connectedCallback(): void;
|
|
392
392
|
disconnectedCallback(): void;
|
|
393
393
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
package/lib/tooltip/tooltip.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ declare const Tooltip_base: {
|
|
|
7
7
|
_slottedAnchor?: HTMLElement[] | undefined;
|
|
8
8
|
_slottedAnchorChanged(): void;
|
|
9
9
|
_anchorEl?: HTMLElement | undefined;
|
|
10
|
-
"__#
|
|
11
|
-
"__#
|
|
12
|
-
"__#
|
|
13
|
-
"__#
|
|
10
|
+
"__#10@#updateAnchorEl": () => void;
|
|
11
|
+
"__#10@#observer"?: MutationObserver | undefined;
|
|
12
|
+
"__#10@#observeMissingAnchor": (anchorId: string) => void;
|
|
13
|
+
"__#10@#cleanupObserverIfNeeded": () => void;
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
disconnectedCallback(): void;
|
|
16
16
|
_vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
|
package/locales/de-DE.cjs
CHANGED
|
@@ -406,14 +406,40 @@ const deDE = {
|
|
|
406
406
|
)
|
|
407
407
|
},
|
|
408
408
|
richTextEditor: {
|
|
409
|
-
|
|
409
|
+
paragraphStyles: "Absatzstile",
|
|
410
410
|
textSize: "Textgröße",
|
|
411
411
|
bold: "Fett",
|
|
412
|
-
|
|
412
|
+
italic: "Kursiv",
|
|
413
413
|
underline: "Unterstrichen",
|
|
414
414
|
strikethrough: "Durchgestrichen",
|
|
415
415
|
monospace: "Monospace",
|
|
416
|
-
|
|
416
|
+
textColor: "Textfarbe",
|
|
417
|
+
undo: "Rückgängig",
|
|
418
|
+
redo: "Wiederholen",
|
|
419
|
+
bulletList: "Aufzählung",
|
|
420
|
+
numberedList: "Nummerierung",
|
|
421
|
+
alignment: "Ausrichtung",
|
|
422
|
+
alignments: {
|
|
423
|
+
left: "Linksbündig",
|
|
424
|
+
center: "Zentriert",
|
|
425
|
+
right: "Rechtsbündig"
|
|
426
|
+
},
|
|
427
|
+
hyperlink: "Hyperlink",
|
|
428
|
+
linkText: "Text",
|
|
429
|
+
linkUrl: "URL",
|
|
430
|
+
linkTextPlaceholder: "Text eingeben, um Link zu erstellen",
|
|
431
|
+
linkUrlPlaceholder: "Link-URL einfügen",
|
|
432
|
+
cancel: "Abbrechen",
|
|
433
|
+
apply: "Anwenden",
|
|
434
|
+
close: "Schließen",
|
|
435
|
+
edit: "Bearbeiten",
|
|
436
|
+
delete: "Löschen",
|
|
437
|
+
clickHere: "Hier klicken",
|
|
438
|
+
imageSizes: {
|
|
439
|
+
small: "Klein",
|
|
440
|
+
fit: "Anpassen",
|
|
441
|
+
original: "Originalgröße"
|
|
442
|
+
}
|
|
417
443
|
},
|
|
418
444
|
button: {
|
|
419
445
|
pendingLabel: "Laden..."
|
|
@@ -444,7 +470,19 @@ const deDE = {
|
|
|
444
470
|
dataGrid: {
|
|
445
471
|
cell: {
|
|
446
472
|
selected: "Ausgewählt",
|
|
447
|
-
button: "(Schaltfläche)"
|
|
473
|
+
button: "(Schaltfläche)",
|
|
474
|
+
sortStatus: {
|
|
475
|
+
ascending: "Aufsteigend sortiert.",
|
|
476
|
+
descending: "Absteigend sortiert.",
|
|
477
|
+
none: "Nicht sortiert.",
|
|
478
|
+
other: "Benutzerdefinierte Sortierung aktiv."
|
|
479
|
+
},
|
|
480
|
+
sortInstruction: {
|
|
481
|
+
ascending: "Zum Absteigend sortieren klicken.",
|
|
482
|
+
descending: "Zum Entfernen der Sortierung klicken.",
|
|
483
|
+
none: "Zum Aufsteigend sortieren klicken.",
|
|
484
|
+
other: "Zum Zurücksetzen der Sortierung klicken."
|
|
485
|
+
}
|
|
448
486
|
}
|
|
449
487
|
},
|
|
450
488
|
pagination: {
|
|
@@ -482,12 +520,25 @@ const deDE = {
|
|
|
482
520
|
},
|
|
483
521
|
colorPicker: {
|
|
484
522
|
popupLabel: "Farbwähler",
|
|
485
|
-
swatchesLabel: "Gespeicherte Farben
|
|
486
|
-
pickerButtonLabel: "Farbwähler
|
|
523
|
+
swatchesLabel: "Gespeicherte Farben",
|
|
524
|
+
pickerButtonLabel: "Farbwähler",
|
|
525
|
+
hexInputLabel: "HEX-Farbcode",
|
|
487
526
|
saveButtonLabel: "Aktuelle Farbe speichern",
|
|
488
527
|
closeButtonLabel: "Farbwähler schließen",
|
|
489
528
|
copyButtonLabel: "Farbe in die Zwischenablage kopieren",
|
|
490
|
-
copyErrorText: "Kopieren fehlgeschlagen. Zugriff auf die Zwischenablage wurde blockiert. Versuchen Sie es erneut."
|
|
529
|
+
copyErrorText: "Kopieren fehlgeschlagen. Zugriff auf die Zwischenablage wurde blockiert. Versuchen Sie es erneut.",
|
|
530
|
+
copySuccessMessage: (
|
|
531
|
+
/* istanbul ignore next */
|
|
532
|
+
(value) => `Farbe ${value} in die Zwischenablage kopiert.`
|
|
533
|
+
),
|
|
534
|
+
selectionSuccessMessage: (
|
|
535
|
+
/* istanbul ignore next */
|
|
536
|
+
(value) => `Farbe ${value} ausgewählt.`
|
|
537
|
+
),
|
|
538
|
+
maxSwatchesMessage: (
|
|
539
|
+
/* istanbul ignore next */
|
|
540
|
+
(total, limit) => `${total} von ${limit} Farben gespeichert.`
|
|
541
|
+
)
|
|
491
542
|
}
|
|
492
543
|
};
|
|
493
544
|
|
package/locales/de-DE.js
CHANGED
|
@@ -404,14 +404,40 @@ const deDE = {
|
|
|
404
404
|
)
|
|
405
405
|
},
|
|
406
406
|
richTextEditor: {
|
|
407
|
-
|
|
407
|
+
paragraphStyles: "Absatzstile",
|
|
408
408
|
textSize: "Textgröße",
|
|
409
409
|
bold: "Fett",
|
|
410
|
-
|
|
410
|
+
italic: "Kursiv",
|
|
411
411
|
underline: "Unterstrichen",
|
|
412
412
|
strikethrough: "Durchgestrichen",
|
|
413
413
|
monospace: "Monospace",
|
|
414
|
-
|
|
414
|
+
textColor: "Textfarbe",
|
|
415
|
+
undo: "Rückgängig",
|
|
416
|
+
redo: "Wiederholen",
|
|
417
|
+
bulletList: "Aufzählung",
|
|
418
|
+
numberedList: "Nummerierung",
|
|
419
|
+
alignment: "Ausrichtung",
|
|
420
|
+
alignments: {
|
|
421
|
+
left: "Linksbündig",
|
|
422
|
+
center: "Zentriert",
|
|
423
|
+
right: "Rechtsbündig"
|
|
424
|
+
},
|
|
425
|
+
hyperlink: "Hyperlink",
|
|
426
|
+
linkText: "Text",
|
|
427
|
+
linkUrl: "URL",
|
|
428
|
+
linkTextPlaceholder: "Text eingeben, um Link zu erstellen",
|
|
429
|
+
linkUrlPlaceholder: "Link-URL einfügen",
|
|
430
|
+
cancel: "Abbrechen",
|
|
431
|
+
apply: "Anwenden",
|
|
432
|
+
close: "Schließen",
|
|
433
|
+
edit: "Bearbeiten",
|
|
434
|
+
delete: "Löschen",
|
|
435
|
+
clickHere: "Hier klicken",
|
|
436
|
+
imageSizes: {
|
|
437
|
+
small: "Klein",
|
|
438
|
+
fit: "Anpassen",
|
|
439
|
+
original: "Originalgröße"
|
|
440
|
+
}
|
|
415
441
|
},
|
|
416
442
|
button: {
|
|
417
443
|
pendingLabel: "Laden..."
|
|
@@ -442,7 +468,19 @@ const deDE = {
|
|
|
442
468
|
dataGrid: {
|
|
443
469
|
cell: {
|
|
444
470
|
selected: "Ausgewählt",
|
|
445
|
-
button: "(Schaltfläche)"
|
|
471
|
+
button: "(Schaltfläche)",
|
|
472
|
+
sortStatus: {
|
|
473
|
+
ascending: "Aufsteigend sortiert.",
|
|
474
|
+
descending: "Absteigend sortiert.",
|
|
475
|
+
none: "Nicht sortiert.",
|
|
476
|
+
other: "Benutzerdefinierte Sortierung aktiv."
|
|
477
|
+
},
|
|
478
|
+
sortInstruction: {
|
|
479
|
+
ascending: "Zum Absteigend sortieren klicken.",
|
|
480
|
+
descending: "Zum Entfernen der Sortierung klicken.",
|
|
481
|
+
none: "Zum Aufsteigend sortieren klicken.",
|
|
482
|
+
other: "Zum Zurücksetzen der Sortierung klicken."
|
|
483
|
+
}
|
|
446
484
|
}
|
|
447
485
|
},
|
|
448
486
|
pagination: {
|
|
@@ -480,12 +518,25 @@ const deDE = {
|
|
|
480
518
|
},
|
|
481
519
|
colorPicker: {
|
|
482
520
|
popupLabel: "Farbwähler",
|
|
483
|
-
swatchesLabel: "Gespeicherte Farben
|
|
484
|
-
pickerButtonLabel: "Farbwähler
|
|
521
|
+
swatchesLabel: "Gespeicherte Farben",
|
|
522
|
+
pickerButtonLabel: "Farbwähler",
|
|
523
|
+
hexInputLabel: "HEX-Farbcode",
|
|
485
524
|
saveButtonLabel: "Aktuelle Farbe speichern",
|
|
486
525
|
closeButtonLabel: "Farbwähler schließen",
|
|
487
526
|
copyButtonLabel: "Farbe in die Zwischenablage kopieren",
|
|
488
|
-
copyErrorText: "Kopieren fehlgeschlagen. Zugriff auf die Zwischenablage wurde blockiert. Versuchen Sie es erneut."
|
|
527
|
+
copyErrorText: "Kopieren fehlgeschlagen. Zugriff auf die Zwischenablage wurde blockiert. Versuchen Sie es erneut.",
|
|
528
|
+
copySuccessMessage: (
|
|
529
|
+
/* istanbul ignore next */
|
|
530
|
+
(value) => `Farbe ${value} in die Zwischenablage kopiert.`
|
|
531
|
+
),
|
|
532
|
+
selectionSuccessMessage: (
|
|
533
|
+
/* istanbul ignore next */
|
|
534
|
+
(value) => `Farbe ${value} ausgewählt.`
|
|
535
|
+
),
|
|
536
|
+
maxSwatchesMessage: (
|
|
537
|
+
/* istanbul ignore next */
|
|
538
|
+
(total, limit) => `${total} von ${limit} Farben gespeichert.`
|
|
539
|
+
)
|
|
489
540
|
}
|
|
490
541
|
};
|
|
491
542
|
|