@vonage/vivid 5.5.0 → 5.7.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/accordion-item/definition.cjs +1 -1
- package/accordion-item/definition.js +1 -1
- 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/avatar/definition.cjs +1 -1
- package/avatar/definition.js +1 -1
- package/avatar/index.cjs +1 -1
- package/avatar/index.js +4 -4
- 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/breadcrumb-item/definition.cjs +1 -1
- package/breadcrumb-item/definition.js +1 -1
- package/breadcrumb-item/index.cjs +4 -4
- package/breadcrumb-item/index.js +4 -4
- 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 +1 -1
- package/bundled/base-color-picker.js +9 -3
- 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 +3 -1
- package/bundled/definition.cjs +1 -1
- package/bundled/definition.js +21 -21
- package/bundled/definition10.cjs +7 -7
- package/bundled/definition10.js +27 -17
- package/bundled/definition11.cjs +2 -2
- package/bundled/definition11.js +5 -5
- package/bundled/definition12.cjs +3 -3
- package/bundled/definition12.js +2 -1
- package/bundled/definition13.cjs +1 -1
- package/bundled/definition13.js +1 -1
- package/bundled/definition17.cjs +1 -1
- package/bundled/definition17.js +4 -1
- package/bundled/definition18.cjs +1 -1
- package/bundled/definition18.js +18 -7
- package/bundled/definition19.cjs +6 -6
- package/bundled/definition19.js +103 -68
- package/bundled/definition2.cjs +8 -9
- package/bundled/definition2.js +67 -75
- package/bundled/definition20.cjs +1 -1
- package/bundled/definition20.js +4 -4
- package/bundled/definition22.cjs +1 -1
- package/bundled/definition22.js +2 -1
- package/bundled/definition3.cjs +2 -2
- package/bundled/definition3.js +2 -1
- package/bundled/definition5.cjs +1 -1
- package/bundled/definition5.js +10 -4
- package/bundled/definition6.cjs +2 -2
- package/bundled/definition6.js +2 -1
- package/bundled/definition7.cjs +1 -1
- package/bundled/definition7.js +8 -5
- package/bundled/definition8.cjs +1 -1
- package/bundled/definition8.js +6 -5
- 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 +21 -3
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +137 -67
- package/bundled/mixins.cjs +4 -4
- package/bundled/mixins.js +10 -7
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +1 -0
- 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 +11 -11
- package/bundled/time-selection-picker.template.js +4 -1
- 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 +1 -1
- package/calendar/index.js +2 -0
- package/calendar-event/definition.cjs +1 -1
- package/calendar-event/definition.js +1 -1
- package/calendar-event/index.cjs +2 -2
- package/calendar-event/index.js +5 -5
- package/card/definition.cjs +1 -1
- package/card/definition.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/checkbox/definition.cjs +2 -1
- package/checkbox/definition.js +2 -1
- package/color-picker/definition.cjs +6 -1
- package/color-picker/definition.js +6 -1
- package/color-picker/index.cjs +1 -1
- package/color-picker/index.js +6 -1
- package/combobox/definition.cjs +17 -6
- package/combobox/definition.js +17 -6
- package/combobox/index.cjs +14 -9
- package/combobox/index.js +48 -36
- package/contextual-help/definition.cjs +1 -1
- package/contextual-help/definition.js +1 -1
- package/custom-elements.json +6985 -542
- package/data-grid/definition.cjs +106 -8
- package/data-grid/definition.js +106 -8
- package/data-grid/index.cjs +52 -38
- package/data-grid/index.js +313 -242
- 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 +5 -1
- package/dial-pad/definition.cjs +10 -1
- package/dial-pad/definition.js +10 -1
- package/dial-pad/index.cjs +2 -2
- package/dial-pad/index.js +37 -13
- package/dialog/definition.cjs +2 -1
- package/dialog/definition.js +2 -1
- package/dialog/index.cjs +1 -1
- package/dialog/index.js +2 -1
- package/fab/definition.cjs +2 -1
- package/fab/definition.js +2 -1
- package/fab/index.cjs +1 -1
- package/fab/index.js +6 -5
- 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 +12 -21
- package/icon/definition.js +13 -22
- package/index.cjs +21 -0
- package/index.js +1 -1
- 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/icon/icon.d.ts +0 -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 +4 -4
- 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 +42 -4
- package/locales/de-DE.js +42 -4
- package/locales/en-GB.cjs +43 -5
- package/locales/en-GB.js +43 -5
- package/locales/en-US.cjs +43 -5
- package/locales/en-US.js +43 -5
- package/locales/ja-JP.cjs +43 -5
- package/locales/ja-JP.js +43 -5
- package/locales/zh-CN.cjs +43 -5
- package/locales/zh-CN.js +43 -5
- package/menu/definition.cjs +2 -1
- package/menu/definition.js +2 -1
- package/nav-disclosure/definition.cjs +1 -1
- package/nav-disclosure/definition.js +1 -1
- package/nav-disclosure/index.cjs +1 -1
- package/nav-disclosure/index.js +1 -1
- package/nav-item/definition.cjs +1 -1
- package/nav-item/definition.js +1 -1
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +5 -5
- 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/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/radio/definition.cjs +5 -1
- package/radio/definition.js +5 -1
- package/range-slider/definition.cjs +3 -2
- package/range-slider/definition.js +3 -2
- package/range-slider/index.cjs +1 -1
- package/range-slider/index.js +4 -2
- 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 +7 -3
- package/searchable-select/definition.js +7 -3
- package/searchable-select/index.cjs +5 -5
- package/searchable-select/index.js +11 -7
- package/select/definition.cjs +17 -2
- package/select/definition.js +17 -2
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +3 -3
- package/selectable-box/index.js +1 -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 +4 -1
- package/simple-color-picker/definition.js +4 -1
- package/simple-color-picker/index.cjs +3 -3
- package/simple-color-picker/index.js +4 -1
- package/slider/definition.cjs +8 -2
- package/slider/definition.js +8 -2
- package/split-button/definition.cjs +1 -1
- package/split-button/definition.js +1 -1
- package/split-button/index.cjs +1 -1
- package/split-button/index.js +1 -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 +2 -1
- package/switch/definition.js +2 -1
- package/switch/index.cjs +2 -2
- package/switch/index.js +11 -10
- package/tab/definition.cjs +1 -1
- package/tab/definition.js +1 -1
- 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 +1 -1
- package/tag/definition.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- 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/toggletip/definition.cjs +5 -1
- package/toggletip/definition.js +5 -1
- package/tooltip/definition.cjs +4 -1
- package/tooltip/definition.js +4 -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 +9 -3
- package/unbundled/base-color-picker.js +9 -3
- 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 +2 -1
- package/unbundled/definition.js +2 -1
- package/unbundled/definition2.cjs +5 -2
- package/unbundled/definition2.js +5 -2
- package/unbundled/definition3.cjs +2 -1
- package/unbundled/definition3.js +2 -1
- package/unbundled/definition4.cjs +2 -1
- package/unbundled/definition4.js +2 -1
- 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 +1 -0
- package/unbundled/picker-field.template.js +1 -0
- 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 +4 -1
- package/unbundled/time-selection-picker.template.js +4 -1
- 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 +51 -41
- package/video-player/index.cjs +28 -28
- package/video-player/index.js +1449 -1443
- package/vivid.api.json +6463 -6099
- 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,46 @@
|
|
|
1
|
+
import type { SchemaSpec } from 'prosemirror-model';
|
|
2
|
+
import type { Plugin } from 'prosemirror-state';
|
|
3
|
+
import type { Constructor } from '../../../shared/utils/mixins';
|
|
4
|
+
import type { RteInstanceImpl } from './instance';
|
|
5
|
+
import { TextblockAttrs, type TextblockAttrSpec } from './utils/textblock-attrs';
|
|
6
|
+
import { impl } from './utils/impl';
|
|
7
|
+
import type { ToolbarItemSpec } from './features/toolbar';
|
|
8
|
+
import { TextblockMarks, type TextblockMarkSpec } from './utils/textblock-marks';
|
|
9
|
+
type Contribution<T> = {
|
|
10
|
+
priority: number;
|
|
11
|
+
featureName: string;
|
|
12
|
+
value: T;
|
|
13
|
+
};
|
|
14
|
+
export declare const sortedContributions: <T>(contributions: Contribution<T>[]) => T[];
|
|
15
|
+
export declare const contributionPriority: {
|
|
16
|
+
highest: number;
|
|
17
|
+
high: number;
|
|
18
|
+
default: number;
|
|
19
|
+
low: number;
|
|
20
|
+
lowest: number;
|
|
21
|
+
};
|
|
22
|
+
export type StyleContribution = Contribution<string>;
|
|
23
|
+
export type SchemaContribution = Contribution<Partial<SchemaSpec>>;
|
|
24
|
+
export type TextblockAttrContribution = Contribution<TextblockAttrSpec>;
|
|
25
|
+
export type TextblockMarkContribution = Contribution<TextblockMarkSpec>;
|
|
26
|
+
export type PluginContribution = Contribution<Plugin>;
|
|
27
|
+
export type ToolbarItemContribution = Contribution<ToolbarItemSpec>;
|
|
28
|
+
export declare abstract class RteFeature {
|
|
29
|
+
}
|
|
30
|
+
export declare abstract class RteFeatureImpl {
|
|
31
|
+
protected abstract name: string;
|
|
32
|
+
protected contribution<T>(value: T, order?: number): Contribution<T>;
|
|
33
|
+
getStyles(): StyleContribution[];
|
|
34
|
+
getSchema(textblockAttrs: TextblockAttrs, textblockMarks: TextblockMarks): SchemaContribution[];
|
|
35
|
+
getTextblockAttrs(): TextblockAttrContribution[];
|
|
36
|
+
getTextblockMarks(): TextblockMarkContribution[];
|
|
37
|
+
getPlugins(rte: RteInstanceImpl): PluginContribution[];
|
|
38
|
+
getToolbarItems(rte: RteInstanceImpl): ToolbarItemContribution[];
|
|
39
|
+
getFeatures(): RteFeatureImpl[];
|
|
40
|
+
}
|
|
41
|
+
export declare const featureFacade: <T extends RteFeatureImpl, C extends Constructor<T>>(FeatureImpl: C) => {
|
|
42
|
+
new (...args: ConstructorParameters<C>): {
|
|
43
|
+
[impl]: T;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { NodeSpec } from 'prosemirror-model';
|
|
2
|
+
import { type Command, EditorState } from 'prosemirror-state';
|
|
3
|
+
import { type PluginContribution, RteFeatureImpl } from '../../feature';
|
|
4
|
+
import type { RteInstanceImpl } from '../../instance';
|
|
5
|
+
import type { TextblockAttrs } from '../../utils/textblock-attrs';
|
|
6
|
+
import type { TextblockMarks } from '../../utils/textblock-marks';
|
|
7
|
+
type EnabledBlocks = {
|
|
8
|
+
heading1: boolean;
|
|
9
|
+
heading2: boolean;
|
|
10
|
+
heading3: boolean;
|
|
11
|
+
paragraph: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare class RteBasicTextBlocksImpl extends RteFeatureImpl {
|
|
14
|
+
protected enabledBlocks: EnabledBlocks;
|
|
15
|
+
protected name: string;
|
|
16
|
+
constructor(enabledBlocks: EnabledBlocks);
|
|
17
|
+
getStyles(): {
|
|
18
|
+
priority: number;
|
|
19
|
+
featureName: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
getSchema(textblockAttrs: TextblockAttrs, textblockMarks: TextblockMarks): {
|
|
23
|
+
priority: number;
|
|
24
|
+
featureName: string;
|
|
25
|
+
value: {
|
|
26
|
+
nodes: Record<string, NodeSpec>;
|
|
27
|
+
};
|
|
28
|
+
}[];
|
|
29
|
+
getPlugins(rte: RteInstanceImpl): PluginContribution[];
|
|
30
|
+
getCurrentBlockType(state: EditorState): string | null;
|
|
31
|
+
setBlockType(rte: RteInstanceImpl, name: string): Command;
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Plugin } from 'prosemirror-state';
|
|
2
|
+
import { RteFeatureImpl } from '../../feature';
|
|
3
|
+
import type { RteInstanceImpl } from '../../instance';
|
|
4
|
+
export declare class RteForeignHtmlFeatureImpl extends RteFeatureImpl {
|
|
5
|
+
protected name: string;
|
|
6
|
+
getPlugins(rte: RteInstanceImpl): {
|
|
7
|
+
priority: number;
|
|
8
|
+
featureName: string;
|
|
9
|
+
value: Plugin<any>;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RteFeatureImpl, type ToolbarItemContribution } from '../../feature';
|
|
2
|
+
export declare class RteHistoryFeatureImpl extends RteFeatureImpl {
|
|
3
|
+
protected name: string;
|
|
4
|
+
getPlugins(): {
|
|
5
|
+
priority: number;
|
|
6
|
+
featureName: string;
|
|
7
|
+
value: import("prosemirror-state").Plugin<any>;
|
|
8
|
+
}[];
|
|
9
|
+
getToolbarItems(): ToolbarItemContribution[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RteFeatureImpl } from '../../feature';
|
|
2
|
+
export type RteTextStyleConfig = {
|
|
3
|
+
onBlocks?: Array<{
|
|
4
|
+
node: string;
|
|
5
|
+
}>;
|
|
6
|
+
};
|
|
7
|
+
export declare abstract class RteTextStyleFeatureImpl extends RteFeatureImpl {
|
|
8
|
+
protected config?: RteTextStyleConfig | undefined;
|
|
9
|
+
protected abstract markName: string;
|
|
10
|
+
constructor(config?: RteTextStyleConfig | undefined);
|
|
11
|
+
getTextblockMarks(): {
|
|
12
|
+
priority: number;
|
|
13
|
+
featureName: string;
|
|
14
|
+
value: {
|
|
15
|
+
markName: string;
|
|
16
|
+
};
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
@@ -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;
|
|
@@ -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: {
|