@omnia/fx 8.0.89-dev → 8.0.90-dev

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.
Files changed (42) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.richtexteditor.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/services/properties/datasource/DataSourcePropertiesService.d.ts +1 -0
  3. package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +1 -1
  4. package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/models/TableMenuStyle.d.ts +2 -3
  7. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +1 -1
  9. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +1 -1
  10. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +3 -3
  11. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview2.d.ts +2 -2
  12. package/internal-do-not-import-from-here/ux/richtexteditor/Emoticon/EmoticonComponent.d.ts +27 -6
  13. package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditor.d.ts +2 -1
  14. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EmoticonPicker/EmoticonPicker.d.ts +16 -3
  15. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EmoticonPicker/EmoticonPickerNode.d.ts +17 -1
  16. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EmoticonPicker/EmoticonPickerToolbar.d.ts +16 -12
  17. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Link/LinkNode.d.ts +9 -0
  18. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/Heading.d.ts +24 -7
  19. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts +3 -3
  20. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingToolbar.d.ts +16 -28
  21. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HorizontalRule/HorizontalRule.d.ts +16 -3
  22. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HorizontalRule/HorizontalRuleNode.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HorizontalRule/HorizontalRuleToolbar.d.ts +16 -9
  24. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Html/Html.d.ts +46 -2
  25. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Html/HtmlToolbar.d.ts +47 -19
  26. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/LanguagePicker/LanguagePicker.d.ts +51 -2
  27. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/LanguagePicker/LanguagePickerToolbar.d.ts +47 -14
  28. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/Table.d.ts +30 -4
  29. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/TableNode.d.ts +14 -0
  30. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/TableSubToolbar.d.ts +16 -62
  31. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/TableToolbar.d.ts +16 -34
  32. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/Utils.d.ts +22 -0
  33. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/index.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/plugins/ui/TableNodeView.d.ts +16 -1
  35. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextColor/TextColor.d.ts +16 -5
  36. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextColor/TextColorNode.d.ts +18 -3
  37. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextColor/TextColorToolbar.d.ts +16 -14
  38. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextTranslator/TextTranslator.d.ts +1 -0
  39. package/package.json +7 -7
  40. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableView.d.ts +0 -12
  41. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/Ulti.d.ts +0 -16
  42. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/plugins/TableResizePlugin.d.ts +0 -1
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['b46f7161-e941-4240-b573-a9cd83e9d132']","content":{"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["HashTagConfiguration","HashTagContentData","ListItem","MentionConfiguration","MentionContentData","MentionPluginKey","ParagraphNode","PlaceHolderNode","RegistrationHelpder","RichTextEditorExtensionLocalization","TableView","TextCompletionHandler","TextCompletionToolbar","TextNode","alignmentEditorExtension","anchorLinkEditorExtension","animatedGifEditorExtension","blockquoteEditorExtension","boldEditorExtension","bulletListEditorExtension","codeBlockEditorExtension","codeEditorExtension","documentNode","emoticonPickerEditorExtension","extendedElementsEditorExtension","getExtendedNodes","hashTagEditorExtension","headingEditorExtension","headingNode","historyEditorExtension","horizontalRuleEditorExtension","htmlEditorExtension","isTextCompletionFeatureActivated","italicEditorExtension","languagePickerEditorExtension","listItemEditorExtension","mediaPickerEditorExtension","mentionEditorExtension","orderedListEditorExtension","panelElementName","placeholderEditorExtension","removingFormattingEditorExtension","strikeEditorExtension","tableEditorExtension","tableNodeTypes","tableNodes","textColorEditorExtension","textCompletionEditorExtension","textTranslatorEditorExtension","todoListEditorExtension","underlineEditorExtension","updateColumns"]},"./node_modules/@omnia/fx/ux/richtexteditor/extensions/MediaPicker/MediapickerStyle.css":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/mediapicker/mediapickerstyle.css","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["DefineRichTextEditorExtension","defineRichTextEditorNode"]},"./node_modules/country-flag-emoji-polyfill/dist/index.modern.js":{"id":"./node_modules/country-flag-emoji-polyfill/dist/index.modern.js","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/is-emoji-supported/dist/esm/is-emoji-supported.js":{"id":"./node_modules/is-emoji-supported/dist/esm/is-emoji-supported.js","buildMeta":{"async":false,"exportsType":"dynamic"}},"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js":{"id":"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js","buildMeta":{}},"./node_modules/@omnia/fx/ux/richtexteditor/index.js":{"id":"f37916a5-b801-4e3a-a1be-30a009bd2df2","buildMeta":{"exportsType":"namespace"},"expo.js":["DefineRichTextEditorExtension","HashTagConfiguration","HashTagContentData","ListItem","MentionConfiguration","MentionContentData","MentionPluginKey","ParagraphNode","PlaceHolderNode","RegistrationHelpder","RichTextContentExtensionData","RichTextContentHelper","RichTextEditorExtensionLocalization","RichTextEditorInstance","TableView","TextCompletionHandler","TextCompletionToolbar","TextNode","ToolbarExtension","alignmentEditorExtension","anchorLinkEditorExtension","animatedGifEditorExtension","blockquoteEditorExtension","boldEditorExtension","bulletListEditorExtension","codeBlockEditorExtension","codeEditorExtension","defineRichTextEditorNode","documentNode","emoticonPickerEditorExtension","extendedElementsEditorExtension","getExtendedNodes","hashTagEditorExtension","headingEditorExtension","headingNode","historyEditorExtension","horizontalRuleEditorExtension","htmlEditorExtension","isTextCompletionFeatureActivated","italicEditorExtension","languagePickerEditorExtension","listItemEditorExtension","mediaPickerEditorExtension","mentionEditorExtension","orderedListEditorExtension","panelElementName","placeholderEditorExtension","removingFormattingEditorExtension","strikeEditorExtension","tableEditorExtension","tableNodeTypes","tableNodes","textColorEditorExtension","textCompletionEditorExtension","textTranslatorEditorExtension","todoListEditorExtension","underlineEditorExtension","updateColumns"]}}}
1
+ {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['b46f7161-e941-4240-b573-a9cd83e9d132']","content":{"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["HashTagConfiguration","HashTagContentData","ListItem","MentionConfiguration","MentionContentData","MentionPluginKey","ParagraphNode","PlaceHolderNode","RegistrationHelpder","RichTextEditorExtensionLocalization","TextCompletionHandler","TextCompletionToolbar","TextNode","alignmentEditorExtension","anchorLinkEditorExtension","animatedGifEditorExtension","blockquoteEditorExtension","boldEditorExtension","bulletListEditorExtension","cellWrapping","codeBlockEditorExtension","codeEditorExtension","deleteTableWhenAllCellsSelected","documentNode","emoticonPickerEditorExtension","extendedElementsEditorExtension","getCellAttrs","getExtendedNodes","hashTagEditorExtension","headingEditorExtension","headingNode","historyEditorExtension","horizontalRuleEditorExtension","htmlEditorExtension","isCellSelection","isTextCompletionFeatureActivated","italicEditorExtension","key","languagePickerEditorExtension","listItemEditorExtension","mediaPickerEditorExtension","mentionEditorExtension","orderedListEditorExtension","panelElementName","placeholderEditorExtension","removingFormattingEditorExtension","setCellAttrs","strikeEditorExtension","tableEditorExtension","tableNodeTypes","tableNodes","textColorEditorExtension","textCompletionEditorExtension","textTranslatorEditorExtension","todoListEditorExtension","underlineEditorExtension"]},"./node_modules/@omnia/fx/ux/richtexteditor/extensions/MediaPicker/MediapickerStyle.css":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/mediapicker/mediapickerstyle.css","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["DefineRichTextEditorExtension","defineRichTextEditorNode"]},"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js":{"id":"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js","buildMeta":{}},"./node_modules/@omnia/fx/ux/richtexteditor/index.js":{"id":"f37916a5-b801-4e3a-a1be-30a009bd2df2","buildMeta":{"exportsType":"namespace"},"expo.js":["DefineRichTextEditorExtension","HashTagConfiguration","HashTagContentData","ListItem","MentionConfiguration","MentionContentData","MentionPluginKey","ParagraphNode","PlaceHolderNode","RegistrationHelpder","RichTextContentExtensionData","RichTextContentHelper","RichTextEditorExtensionLocalization","RichTextEditorInstance","TextCompletionHandler","TextCompletionToolbar","TextNode","ToolbarExtension","alignmentEditorExtension","anchorLinkEditorExtension","animatedGifEditorExtension","blockquoteEditorExtension","boldEditorExtension","bulletListEditorExtension","cellWrapping","codeBlockEditorExtension","codeEditorExtension","defineRichTextEditorNode","deleteTableWhenAllCellsSelected","documentNode","emoticonPickerEditorExtension","extendedElementsEditorExtension","getCellAttrs","getExtendedNodes","hashTagEditorExtension","headingEditorExtension","headingNode","historyEditorExtension","horizontalRuleEditorExtension","htmlEditorExtension","isCellSelection","isTextCompletionFeatureActivated","italicEditorExtension","key","languagePickerEditorExtension","listItemEditorExtension","mediaPickerEditorExtension","mentionEditorExtension","orderedListEditorExtension","panelElementName","placeholderEditorExtension","removingFormattingEditorExtension","setCellAttrs","strikeEditorExtension","tableEditorExtension","tableNodeTypes","tableNodes","textColorEditorExtension","textCompletionEditorExtension","textTranslatorEditorExtension","todoListEditorExtension","underlineEditorExtension"]}}}
@@ -49,6 +49,7 @@ export declare class DataSourcePropertiesService {
49
49
  registerExternalWritebackTrigger(onWriteBackPendingListener: () => void, getExist?: boolean): IWritebackTrigger;
50
50
  registerExternalChangeUserContextTrigger(onChangeUserContextListener: () => void): IChangeUserContextTrigger;
51
51
  getProperties(datasourceId: PropertyDataSourceId): Promise<Array<DataSourceProperty>>;
52
+ updatePropertyValue(writeRequest: WritebackRequest): Promise<WritebackResult>;
52
53
  /**
53
54
  * Getting more than one possible creator for a given data source property means a selection must be made as several converters/creators could be used to create the desired propertydefinition, e.g. using ui component
54
55
  * Each DataSourcePropertyDefinitionHandler has it own unique id, which can be used to persist the choice of the selection, note a persisted selection could point to a handler no longer provided by the system
@@ -357,9 +357,9 @@ declare const _default: {
357
357
  variant?: "date" | "date-time";
358
358
  singleLine?: boolean;
359
359
  dateFormat?: string;
360
+ showMenu?: boolean;
360
361
  "single-line"?: boolean;
361
362
  locale?: string;
362
- showMenu?: boolean;
363
363
  isError?: boolean;
364
364
  minuteSkip?: number;
365
365
  "minute-skip"?: number;
@@ -129,8 +129,8 @@ declare const dialogComponent: {
129
129
  eager?: boolean;
130
130
  lazy?: boolean;
131
131
  attach?: string;
132
- retainFocus?: boolean;
133
132
  customZIndex?: boolean;
133
+ retainFocus?: boolean;
134
134
  renderBody?: () => JSX.Element;
135
135
  }>, never>;
136
136
  };
@@ -974,6 +974,7 @@ declare const _default: {
974
974
  "onUpdate:modelValue"?: (value: boolean) => any;
975
975
  modelValue?: boolean;
976
976
  location?: "left" | "center" | "right" | "bottom" | "top" | "end" | "start" | "center center" | "top center" | "top start" | "top end" | "bottom start" | "bottom end" | "start top" | "start bottom" | "end top" | "end bottom";
977
+ showMenu?: boolean;
977
978
  providerIds?: GuidValue[];
978
979
  emailEnabled?: BoolFilter;
979
980
  permissionEnabled?: BoolFilter;
@@ -999,7 +1000,6 @@ declare const _default: {
999
1000
  "permission-enabled"?: BoolFilter;
1000
1001
  enableSpecialUser?: ISpecialUserConfiguration;
1001
1002
  "enable-special-user"?: ISpecialUserConfiguration;
1002
- showMenu?: boolean;
1003
1003
  attachToParent?: boolean;
1004
1004
  "attach-to-parent"?: boolean;
1005
1005
  "onUpdate:showMenu"?: (value: boolean) => any;
@@ -1,5 +1,4 @@
1
1
  import { types } from "typestyle";
2
- import { ITheming } from "../theming";
3
2
  export declare const TableMenuStyles: {
4
3
  thicknessWraper?: types.NestedCSSProperties;
5
4
  thicknessItem?: (thickness: number) => types.NestedCSSProperties;
@@ -11,6 +10,6 @@ export declare const TableMenuStyles: {
11
10
  tableItemSelection?: types.NestedCSSProperties;
12
11
  subToolBar?: types.NestedCSSProperties;
13
12
  cellStyleMenu?: types.NestedCSSProperties;
14
- setBlackWhiteIcon?: (theming: ITheming) => types.NestedCSSProperties;
15
- setThemingPrimaryIcon?: (theming: ITheming) => types.NestedCSSProperties;
13
+ setBlackWhiteIcon?: () => types.NestedCSSProperties;
14
+ setThemingPrimaryIcon?: () => types.NestedCSSProperties;
16
15
  };
@@ -472,8 +472,8 @@ declare const _default: {
472
472
  class?: String | String[];
473
473
  target?: "_blank" | "_self" | "_parent" | "_top" | "framename";
474
474
  href?: string;
475
- animation?: "flip" | "spin" | "beat" | "bounce";
476
475
  size?: "small" | "default" | "large" | "x-large" | "x-small";
476
+ animation?: "flip" | "spin" | "beat" | "bounce";
477
477
  tooltip?: ButtonTooltipOptions;
478
478
  active?: boolean;
479
479
  disabled?: boolean;
@@ -302,9 +302,9 @@ declare const _default: {
302
302
  };
303
303
  variant?: "default" | "element" | "list" | "data-table";
304
304
  itemTitle?: string | ((item: any) => VNodeChild);
305
+ "item-title"?: string | ((item: any) => VNodeChild);
305
306
  itemValue?: string | ((item: any) => string);
306
307
  "item-value"?: string | ((item: any) => string);
307
- "item-title"?: string | ((item: any) => VNodeChild);
308
308
  disabledItem?: string;
309
309
  "disabled-item"?: string;
310
310
  placeholderClass?: string;
@@ -239,8 +239,8 @@ declare const _default: {
239
239
  } & {
240
240
  icon?: IIcon;
241
241
  class?: String | String[];
242
- animation?: "flip" | "spin" | "beat" | "bounce";
243
242
  size?: "small" | "default" | "large" | "x-large" | "x-small";
243
+ animation?: "flip" | "spin" | "beat" | "bounce";
244
244
  disabled?: boolean;
245
245
  variant?: "default" | "background";
246
246
  toned?: boolean;
@@ -587,13 +587,13 @@ declare const _default: {
587
587
  persistentHint?: boolean;
588
588
  "persistent-hint"?: boolean;
589
589
  clearable?: boolean;
590
- returnObject?: boolean;
591
590
  itemTitle?: any;
591
+ "item-title"?: any;
592
592
  itemValue?: any;
593
- hideSelected?: boolean;
594
593
  "item-value"?: any;
595
- "item-title"?: any;
594
+ returnObject?: boolean;
596
595
  "return-object"?: boolean;
596
+ hideSelected?: boolean;
597
597
  "hide-selected"?: boolean;
598
598
  }>, "onUpdate:modelValue" | "onClick:button" | "onUpdate:search"> & {
599
599
  "onUpdate:modelValue"?: (value: any) => any;
@@ -472,10 +472,10 @@ declare const _default: {
472
472
  itemToolTip?: (item: any) => VNodeChild;
473
473
  };
474
474
  itemTitle?: string | ((item: any) => string);
475
+ "item-title"?: string | ((item: any) => string);
475
476
  itemValue?: string;
476
- itemChildren?: string;
477
477
  "item-value"?: string;
478
- "item-title"?: string | ((item: any) => string);
478
+ itemChildren?: string;
479
479
  "onUpdate:expanded"?: (value: any[]) => any;
480
480
  "v-model:expanded"?: any[];
481
481
  batchChildrensDisplay?: number;
@@ -1,9 +1,19 @@
1
1
  import "./EmoticonComponent.css";
2
2
  declare const _default: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
- unicodeValue: import("vue").Prop<string, string>;
5
- }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
6
- unicodeValue: import("vue").Prop<string, string>;
4
+ "unicode-value": {
5
+ type: import("vue").PropType<string>;
6
+ };
7
+ unicodeValue: {
8
+ type: import("vue").PropType<string>;
9
+ };
10
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
11
+ "unicode-value": {
12
+ type: import("vue").PropType<string>;
13
+ };
14
+ unicodeValue: {
15
+ type: import("vue").PropType<string>;
16
+ };
7
17
  }>>, {}, true, {}, {}, {
8
18
  P: {};
9
19
  B: {};
@@ -12,16 +22,27 @@ declare const _default: {
12
22
  M: {};
13
23
  Defaults: {};
14
24
  }, Readonly<import("vue").ExtractPropTypes<{
15
- unicodeValue: import("vue").Prop<string, string>;
25
+ "unicode-value": {
26
+ type: import("vue").PropType<string>;
27
+ };
28
+ unicodeValue: {
29
+ type: import("vue").PropType<string>;
30
+ };
16
31
  }>>, () => JSX.Element, {}, {}, {}, {}>;
17
32
  __isFragment?: never;
18
33
  __isTeleport?: never;
19
34
  __isSuspense?: never;
20
35
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
21
- unicodeValue: import("vue").Prop<string, string>;
22
- }>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
36
+ "unicode-value": {
37
+ type: import("vue").PropType<string>;
38
+ };
39
+ unicodeValue: {
40
+ type: import("vue").PropType<string>;
41
+ };
42
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
23
43
  propsDefinition: Omit<Readonly<{} & {
24
44
  unicodeValue?: string;
45
+ "unicode-value"?: string;
25
46
  }>, never>;
26
47
  };
27
48
  export default _default;
@@ -4,6 +4,7 @@ import { RichTextContentExtensionData, RichTextContentHelper } from "./RichTextC
4
4
  import { Node, Mark, Extension } from "@tiptap/core";
5
5
  import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
6
6
  import { RichTextEditorStyles } from "../models";
7
+ import { defineVueComponent } from "@omnia/fx/ux";
7
8
  export interface IRichTextEditorInstance {
8
9
  /**
9
10
  * @param content to update
@@ -16,7 +17,7 @@ export interface MenuConfiguration extends ToolbarConfigurationBase {
16
17
  }
17
18
  export interface ToolbarConfiguration {
18
19
  configuration: ToolbarConfigurationBase;
19
- toolbar?: new () => ToolbarExtension;
20
+ toolbar?: new () => ToolbarExtension | ReturnType<typeof defineVueComponent>;
20
21
  hidden?: boolean;
21
22
  isSubToolBar?: boolean;
22
23
  }
@@ -1,12 +1,25 @@
1
1
  import { Guid } from "../../../../models";
2
- import EmoticonPickerToolbar from "./EmoticonPickerToolbar";
3
2
  export declare const emoticonPickerEditorExtension: () => {
4
3
  id: Guid;
5
4
  title: string;
6
5
  getConfiguration(): {
7
- nodes: import("@tiptap/core").Node<any, any>[];
6
+ nodes: import("@tiptap/core").Node<import("./EmoticonPickerNode").EmoticonPickerOptions, any>[];
8
7
  toolbarItems: {
9
- toolbar: typeof EmoticonPickerToolbar;
8
+ toolbar: {
9
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
10
+ P: {};
11
+ B: {};
12
+ D: {};
13
+ C: {};
14
+ M: {};
15
+ Defaults: {};
16
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
17
+ __isFragment?: never;
18
+ __isTeleport?: never;
19
+ __isSuspense?: never;
20
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
21
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
22
+ };
10
23
  configuration: {};
11
24
  }[];
12
25
  };
@@ -1,2 +1,18 @@
1
- declare const _default: () => import("@tiptap/core").Node<any, any>;
1
+ export interface EmoticonPickerOptions {
2
+ HTMLAttributes: Record<string, any>;
3
+ unicodeValue: Record<string, any>;
4
+ }
5
+ declare module "@tiptap/core" {
6
+ interface Commands<ReturnType> {
7
+ emoticonPicker: {
8
+ /**
9
+ * Add a Emoticon
10
+ */
11
+ addEmoticon: (attributes?: {
12
+ unicodeValue: any;
13
+ }) => ReturnType;
14
+ };
15
+ }
16
+ }
17
+ declare const _default: () => import("@tiptap/vue-3").Node<EmoticonPickerOptions, any>;
2
18
  export default _default;
@@ -1,13 +1,17 @@
1
- import { EmoticonPickerMenuBar, EmoticonPickerToolbarProperties, TipTapEditor } from "../../../../models";
2
- import { ToolbarExtension } from "../../ToolbarExtension";
3
1
  import "emoji-picker-element";
4
- export default class EmoticonPickerToolbar extends ToolbarExtension implements EmoticonPickerToolbarProperties {
5
- menubar: EmoticonPickerMenuBar;
6
- onContentChanged?: (content: string) => void;
7
- editor: TipTapEditor;
8
- private loc;
9
- private element_id;
10
- mounted(): void;
11
- private onItemSelected;
12
- render(): JSX.Element;
13
- }
2
+ declare const _default: {
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
4
+ P: {};
5
+ B: {};
6
+ D: {};
7
+ C: {};
8
+ M: {};
9
+ Defaults: {};
10
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
11
+ __isFragment?: never;
12
+ __isTeleport?: never;
13
+ __isSuspense?: never;
14
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
15
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
16
+ };
17
+ export default _default;
@@ -1,2 +1,11 @@
1
+ declare module "@tiptap/core" {
2
+ interface Commands<ReturnType> {
3
+ link: {
4
+ setLink: (attrs: {
5
+ href: string;
6
+ }) => ReturnType;
7
+ };
8
+ }
9
+ }
1
10
  declare const _default: () => import("@tiptap/core").Mark<any, any>;
2
11
  export default _default;
@@ -1,11 +1,28 @@
1
- import { HeadingEditorExtensionConfiguration, Guid } from "../../../../models";
1
+ import { Guid } from "../../../../models";
2
2
  export declare const headingEditorExtension: () => {
3
3
  id: Guid;
4
4
  title: string;
5
- getConfiguration(): Promise<{
6
- nodes?: import("@omnia/fx-models").RichTextEditorNode<any, any>[];
7
- toolbarItems?: import("@omnia/fx-models").RichTextEditorToolbar<any>[];
8
- bubbleMenuItems?: import("@omnia/fx-models").RichTextEditorBubbleMenu<any>[];
9
- }>;
10
- setOptions(options?: HeadingEditorExtensionConfiguration): void;
5
+ getConfiguration(): {
6
+ nodes: import("@tiptap/core").Node<any, any>[];
7
+ toolbarItems: {
8
+ toolbar: {
9
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
10
+ P: {};
11
+ B: {};
12
+ D: {};
13
+ C: {};
14
+ M: {};
15
+ Defaults: {};
16
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
17
+ __isFragment?: never;
18
+ __isTeleport?: never;
19
+ __isSuspense?: never;
20
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
21
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
22
+ };
23
+ configuration: {
24
+ headings: any[];
25
+ };
26
+ }[];
27
+ };
11
28
  };
@@ -1,4 +1,4 @@
1
- import { HeadingSettings } from "@omnia/fx-models";
1
+ import { HeadingConfiguration } from "@omnia/fx-models";
2
2
  export type Level = 1 | 2 | 3 | 4 | 5 | 6;
3
3
  export interface HeadingOptions {
4
4
  levels: Level[];
@@ -11,7 +11,7 @@ declare module "@tiptap/core" {
11
11
  * Set a heading node
12
12
  */
13
13
  setHeading: (attributes: {
14
- level: Level;
14
+ heading: HeadingConfiguration;
15
15
  }) => ReturnType;
16
16
  /**
17
17
  * Toggle a heading node
@@ -22,4 +22,4 @@ declare module "@tiptap/core" {
22
22
  };
23
23
  }
24
24
  }
25
- export declare const headingNode: (param1: HeadingSettings) => any;
25
+ export declare const headingNode: () => import("@tiptap/core").Node<any, any>;
@@ -1,28 +1,16 @@
1
- import { HeadingToolbarProperties, HeadingMenuBar, HeadingConfiguration, TipTapEditor } from "../../../../models";
2
- import { ToolbarExtension } from "../../ToolbarExtension";
3
- import { MultilingualStore } from "../../../../stores";
4
- interface HeadingConfigurationClient extends HeadingConfiguration {
5
- multilingualTitleDisplay: string;
6
- }
7
- export default class HeadingToolbar extends ToolbarExtension implements HeadingToolbarProperties {
8
- editor: TipTapEditor;
9
- menubar: HeadingMenuBar;
10
- headings: Array<HeadingConfiguration>;
11
- private loc;
12
- multilingualStore: MultilingualStore;
13
- private editorDefaultStyle;
14
- private headingClients;
15
- private model;
16
- private headingSelected;
17
- activeChange(model: any): void;
18
- setModel(domNode: any): void;
19
- created(): void;
20
- handleSelectHeading(selectedHeader: HeadingConfigurationClient): void;
21
- mounted(): void;
22
- render(): JSX.Element;
23
- getToolbarButtonActiveStyle(val: boolean): string;
24
- createHeadingItem(heading: HeadingConfigurationClient): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>;
27
- }
28
- export {};
1
+ declare const _default: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
14
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
15
+ };
16
+ export default _default;
@@ -1,12 +1,25 @@
1
- import HorizontalRuleToolbar from "./HorizontalRuleToolbar";
2
1
  import { Guid } from "../../../../models";
3
2
  export declare const horizontalRuleEditorExtension: () => {
4
3
  id: Guid;
5
4
  title: string;
6
5
  getConfiguration(): {
7
- nodes: import("@tiptap/core").Node<import("./HorizontalRuleNode").HorizontalRuleOptions, any>[];
6
+ nodes: import("@tiptap/core").Node<any, any>[];
8
7
  toolbarItems: {
9
- toolbar: typeof HorizontalRuleToolbar;
8
+ toolbar: {
9
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
10
+ P: {};
11
+ B: {};
12
+ D: {};
13
+ C: {};
14
+ M: {};
15
+ Defaults: {};
16
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
17
+ __isFragment?: never;
18
+ __isTeleport?: never;
19
+ __isSuspense?: never;
20
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
21
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
22
+ };
10
23
  configuration: {};
11
24
  }[];
12
25
  };
@@ -11,5 +11,5 @@ declare module "@tiptap/core" {
11
11
  };
12
12
  }
13
13
  }
14
- declare const _default: () => import("@tiptap/core").Node<HorizontalRuleOptions, any>;
14
+ declare const _default: () => import("@tiptap/core").Node<any, any>;
15
15
  export default _default;
@@ -1,9 +1,16 @@
1
- import { ToolbarExtension } from "../../ToolbarExtension";
2
- import { HorizontalRuleToolbarProperties, HorizontalRuleMenuBar } from "../../../../models";
3
- export default class HorizontalRuleToolbar extends ToolbarExtension implements HorizontalRuleToolbarProperties {
4
- menubar: HorizontalRuleMenuBar;
5
- private loc;
6
- mounted(): void;
7
- render(): JSX.Element;
8
- getToolbarButtonActiveStyle(val: boolean): string;
9
- }
1
+ declare const _default: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
14
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
15
+ };
16
+ export default _default;
@@ -1,11 +1,55 @@
1
- import HtmlToolbar from "./HtmlToolbar";
2
1
  import { Guid } from "../../../../models";
3
2
  export declare const htmlEditorExtension: () => {
4
3
  id: Guid;
5
4
  title: string;
6
5
  getConfiguration(): {
7
6
  toolbarItems: {
8
- toolbar: typeof HtmlToolbar;
7
+ toolbar: {
8
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
9
+ "on-content-changed": {
10
+ type: import("vue").PropType<(content: string) => void>;
11
+ };
12
+ onContentChanged: {
13
+ type: import("vue").PropType<(content: string) => void>;
14
+ };
15
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
16
+ "on-content-changed": {
17
+ type: import("vue").PropType<(content: string) => void>;
18
+ };
19
+ onContentChanged: {
20
+ type: import("vue").PropType<(content: string) => void>;
21
+ };
22
+ }>>, {}, true, {}, {}, {
23
+ P: {};
24
+ B: {};
25
+ D: {};
26
+ C: {};
27
+ M: {};
28
+ Defaults: {};
29
+ }, Readonly<import("vue").ExtractPropTypes<{
30
+ "on-content-changed": {
31
+ type: import("vue").PropType<(content: string) => void>;
32
+ };
33
+ onContentChanged: {
34
+ type: import("vue").PropType<(content: string) => void>;
35
+ };
36
+ }>>, () => JSX.Element, {}, {}, {}, {}>;
37
+ __isFragment?: never;
38
+ __isTeleport?: never;
39
+ __isSuspense?: never;
40
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
41
+ "on-content-changed": {
42
+ type: import("vue").PropType<(content: string) => void>;
43
+ };
44
+ onContentChanged: {
45
+ type: import("vue").PropType<(content: string) => void>;
46
+ };
47
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
48
+ propsDefinition: Omit<Readonly<{} & {
49
+ onContentChanged?: (content: string) => void;
50
+ "on-content-changed"?: (content: string) => void;
51
+ }>, never>;
52
+ };
9
53
  configuration: {};
10
54
  }[];
11
55
  };