@omnia/fx 8.0.267-dev → 8.0.269-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. package/internal-do-not-import-from-here/core/Extend.d.ts +1 -1
  2. package/internal-do-not-import-from-here/core/propertyPath.d.ts +1 -1
  3. package/internal-do-not-import-from-here/index.d.ts +2 -2
  4. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  5. package/internal-do-not-import-from-here/stores/floweditor/FlowRendererPluginStore.d.ts +43 -0
  6. package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +1 -0
  7. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +5 -5
  8. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +1 -0
  9. package/internal-do-not-import-from-here/ux/aurora/components/viewtemplatepicker/ViewTemplatePicker.d.ts +6 -6
  10. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +18 -18
  11. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +18 -18
  12. package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditor.d.ts +7 -6
  14. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/EditorCommands.d.ts +7 -8
  15. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/EditorNodeHelper.d.ts +1 -1
  16. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/HtmlNodehelper.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/flow/editor/commands/helpers/index.d.ts +3 -0
  18. package/internal-do-not-import-from-here/ux/flow/editor/commands/index.d.ts +2 -0
  19. package/internal-do-not-import-from-here/ux/flow/editor/index.d.ts +5 -0
  20. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/Constants.d.ts +1 -0
  21. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/EditorModels.d.ts +0 -11
  22. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/models/EditorPlugin.d.ts +12 -11
  23. package/internal-do-not-import-from-here/ux/flow/editor/models/index.d.ts +3 -0
  24. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/parsers/HtmlParser.d.ts +2 -2
  25. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/parsers/JSONParser.d.ts +2 -2
  26. package/internal-do-not-import-from-here/ux/flow/editor/parsers/index.d.ts +2 -0
  27. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/DefineEditorPlugin.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/flow/editor/plugins/bold/BoldPlugin.d.ts +3 -0
  29. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorConverter.d.ts +3 -0
  30. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementConverter.d.ts +6 -0
  32. package/internal-do-not-import-from-here/ux/flow/editor/plugins/elements/ElementPlugin.d.ts +3 -0
  33. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/EditorEvents.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/KeyboardEvents.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/converters/WordConverter.d.ts +0 -0
  36. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/BackspaceHandler.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +6 -0
  38. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/eventhandlers/handlers/EnterHandler.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/flow/editor/plugins/eventhandlers/handlers/index.d.ts +3 -0
  40. package/internal-do-not-import-from-here/ux/flow/editor/plugins/italic/ItalicPlugin.d.ts +3 -0
  41. package/internal-do-not-import-from-here/ux/flow/editor/plugins/sourceeditor/SourceEditorButton.d.ts +2 -0
  42. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextConverter.d.ts +2 -0
  45. package/internal-do-not-import-from-here/ux/flow/editor/plugins/text/TextPlugin.d.ts +3 -0
  46. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +2 -0
  47. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/plugins/typography/TypographyPlugin.d.ts +1 -1
  48. package/internal-do-not-import-from-here/ux/flow/editor/plugins/velcron/VelcronPlugin.d.ts +9 -0
  49. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/rules/EditorRules.d.ts +1 -0
  50. package/internal-do-not-import-from-here/ux/flow/editor/rules/index.d.ts +1 -0
  51. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/stores/FlowEditorStore.d.ts +31 -21
  52. package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/stores/FlowEditorToolbarStore.d.ts +216 -166
  53. package/internal-do-not-import-from-here/ux/flow/editor/stores/index.d.ts +2 -0
  54. package/internal-do-not-import-from-here/ux/flow/models/ColorFormatNode.d.ts +5 -0
  55. package/internal-do-not-import-from-here/ux/flow/models/ElementNode.d.ts +4 -0
  56. package/internal-do-not-import-from-here/ux/flow/models/FlowContent.d.ts +11 -0
  57. package/internal-do-not-import-from-here/ux/flow/models/TypographyNode.d.ts +5 -0
  58. package/internal-do-not-import-from-here/ux/flow/models/VelcronNode.d.ts +5 -0
  59. package/internal-do-not-import-from-here/ux/flow/models/index.d.ts +5 -0
  60. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.css.d.ts +6 -0
  61. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.d.ts +11 -0
  62. package/internal-do-not-import-from-here/ux/flow/renderer/PluginRegistrationHandler.d.ts +1 -0
  63. package/internal-do-not-import-from-here/ux/flow/renderer/index.d.ts +3 -0
  64. package/internal-do-not-import-from-here/ux/flow/renderer/models/Constants.d.ts +12 -0
  65. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContentPlugin.d.ts +6 -0
  66. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererContext.d.ts +3 -0
  67. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPlugin.d.ts +3 -0
  68. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererPluginContext.d.ts +7 -0
  69. package/internal-do-not-import-from-here/ux/flow/renderer/models/FlowRendererToHtmlContext.d.ts +8 -0
  70. package/internal-do-not-import-from-here/ux/flow/renderer/models/index.d.ts +6 -0
  71. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/JSONParser.d.ts +8 -0
  72. package/internal-do-not-import-from-here/ux/flow/renderer/parsers/index.d.ts +1 -0
  73. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/DefineRendererPlugin.d.ts +8 -0
  74. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/PluginRegistrations.d.ts +1 -0
  75. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/bold/BoldPlugin.d.ts +3 -0
  76. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/colorstyle/ColorStylePlugin.d.ts +3 -0
  77. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/elements/ElementPlugin.d.ts +3 -0
  78. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/italic/ItalicPlugin.d.ts +3 -0
  79. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/text/TextConverter.d.ts +5 -0
  80. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/text/TextPlugin.d.ts +3 -0
  81. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/typography/TypographyPlugin.d.ts +3 -0
  82. package/internal-do-not-import-from-here/ux/flow/renderer/plugins/velcron/VelcronPlugin.d.ts +9 -0
  83. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +109 -0
  84. package/internal-do-not-import-from-here/ux/flow/renderer/stores/index.d.ts +1 -0
  85. package/internal-do-not-import-from-here/ux/journey/core/JourneyRouter.d.ts +4 -0
  86. package/internal-do-not-import-from-here/ux/journey/core/index.d.ts +1 -0
  87. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/layoutitemactiontoolbar/LayoutItemActionToolbar.d.ts +9 -129
  88. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +1 -1
  89. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -4
  90. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.stylex.d.ts +4 -1
  91. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
  92. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.stylex.d.ts +4 -0
  93. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  94. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +8 -8
  95. package/internal-do-not-import-from-here/ux/velcron/definitions/VelcronDefinitionIds.d.ts +9 -9
  96. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +57 -3
  97. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
  98. package/internal-do-not-import-from-here/wctypings.d.ts +28 -22
  99. package/package.json +2 -2
  100. package/internal-do-not-import-from-here/ux/floweditor/plugins/bold/BoldPlugin.d.ts +0 -3
  101. package/internal-do-not-import-from-here/ux/floweditor/plugins/colorstyle/ColorButton.d.ts +0 -7
  102. package/internal-do-not-import-from-here/ux/floweditor/plugins/elements/ElementPlugin.d.ts +0 -7
  103. package/internal-do-not-import-from-here/ux/floweditor/plugins/eventhandlers/handlers/ClipboardHandler.d.ts +0 -4
  104. package/internal-do-not-import-from-here/ux/floweditor/plugins/italic/ItalicPlugin.d.ts +0 -3
  105. package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +0 -3
  106. package/internal-do-not-import-from-here/ux/floweditor/plugins/typography/TypographyButton.d.ts +0 -7
  107. package/internal-do-not-import-from-here/ux/floweditor/plugins/velcron/VelcronPlugin.d.ts +0 -8
  108. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.css.d.ts +0 -5
  109. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentEditor.d.ts +0 -89
  110. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/VelcronContentRenderer.d.ts +0 -80
  111. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.css.d.ts +0 -4
  112. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/ActionMenu.d.ts +0 -11
  113. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector copy.d.ts +0 -11
  114. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.css.d.ts +0 -12
  115. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/BorderSelector.d.ts +0 -11
  116. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar copy.d.ts +0 -14
  117. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.css.d.ts +0 -4
  118. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/components/DefinitionToolbar.d.ts +0 -14
  119. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.css.d.ts +0 -6
  120. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/editorHooks/ContentEditorHooks.d.ts +0 -2
  121. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/markdownplugins/section/SectionRenderer.d.ts +0 -5
  122. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/markdownplugins/section/SectionRendererPlugin.d.ts +0 -5
  123. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/EditorRenderingHooks.d.ts +0 -24
  124. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/models/index.d.ts +0 -1
  125. package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +0 -249
  126. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditor.css.d.ts +0 -0
  127. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditorToolbar.css.d.ts +0 -0
  128. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/FlowEditorToolbar.d.ts +0 -0
  129. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/PluginRegistrationHandler.d.ts +0 -0
  130. /package/internal-do-not-import-from-here/ux/{floweditor → flow/editor}/commands/helpers/Editorhelper.d.ts +0 -0
  131. /package/internal-do-not-import-from-here/ux/{floweditor/plugins/registrations → flow/editor/plugins}/PluginRegistrations.d.ts +0 -0
  132. /package/internal-do-not-import-from-here/ux/{floweditor/plugins/sourceeditor/SourceEditorButton.d.ts → flow/editor/plugins/colorstyle/ColorButton.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ export * from "./FlowEditorStore";
2
+ export * from "./FlowEditorToolbarStore";
@@ -0,0 +1,5 @@
1
+ import { ColorValue } from "@omnia/fx-models";
2
+ import { FlowNode } from "./FlowContent";
3
+ export interface ColorFormatNode extends FlowNode {
4
+ data: ColorValue;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { FlowNode } from "./FlowContent";
2
+ export interface ElementNode extends FlowNode {
3
+ name: "br";
4
+ }
@@ -0,0 +1,11 @@
1
+ export interface FlowContent {
2
+ version: string;
3
+ nodes: FlowNode[];
4
+ }
5
+ export interface FlowNode {
6
+ type: string;
7
+ children?: FlowNode[];
8
+ }
9
+ export interface FlowTextNode extends FlowNode {
10
+ value?: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ import { TypographyValue } from "@omnia/fx-models";
2
+ import { FlowNode } from "./FlowContent";
3
+ export interface TypographyFormatNode extends FlowNode {
4
+ data: TypographyValue;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { VelcronAppDefinition, VelcronRendererResolverReference } from "@omnia/fx-models";
2
+ import { FlowNode } from "./FlowContent";
3
+ export interface VelcronContentNode extends FlowNode {
4
+ definition: VelcronAppDefinition | VelcronRendererResolverReference;
5
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./FlowContent";
2
+ export * from "./TypographyNode";
3
+ export * from "./ColorFormatNode";
4
+ export * from "./ElementNode";
5
+ export * from "./VelcronNode";
@@ -0,0 +1,6 @@
1
+ import { ColorDefinition, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
2
+ import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
3
+ export declare const flowRendererStyles: {
4
+ placeholder: string;
5
+ container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => string;
6
+ };
@@ -0,0 +1,11 @@
1
+ import { FlowRendererPluginSettings } from "@omnia/fx-models";
2
+ import { useFlowRendererStore } from "./stores";
3
+ import { FlowContent } from "../models";
4
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
5
+ content?: FlowContent;
6
+ } & {
7
+ plugins?: FlowRendererPluginSettings[];
8
+ } & {
9
+ getApi?: (store: ReturnType<typeof useFlowRendererStore>) => void;
10
+ }>) => any;
11
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export * from "./models";
2
+ export * from "./parsers";
3
+ export * from "./stores";
@@ -0,0 +1,12 @@
1
+ export declare const FlowRendererConstants: {
2
+ node: {
3
+ attributes: {
4
+ pluginType: string;
5
+ Id: string;
6
+ isComponent: string;
7
+ };
8
+ };
9
+ editor: {
10
+ container: string;
11
+ };
12
+ };
@@ -0,0 +1,6 @@
1
+ import { FlowNode } from "../../models";
2
+ import { FlowRendererPlugin } from "./FlowRendererPlugin";
3
+ import { FlowRendererToHtmlContext } from "./FlowRendererToHtmlContext";
4
+ export interface FlowRendererContentPlugin extends FlowRendererPlugin {
5
+ toHtml: <TNodeType extends FlowNode = FlowNode>(context: FlowRendererToHtmlContext<TNodeType>) => HTMLElement;
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface FlowRendererContext {
2
+ parentElement: HTMLElement;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface FlowRendererPlugin {
2
+ name: string;
3
+ }
@@ -0,0 +1,7 @@
1
+ import { useColorSchemaStore } from "@omnia/fx/ux";
2
+ import { useFlowRendererStore } from "../stores";
3
+ export interface FlowRendererPluginContext {
4
+ rendererStore: ReturnType<typeof useFlowRendererStore>;
5
+ componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
6
+ colors: ReturnType<typeof useColorSchemaStore>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { FlowNode } from "../../models";
2
+ import { FlowRendererContext } from "./FlowRendererContext";
3
+ import { FlowRendererPluginContext } from "./FlowRendererPluginContext";
4
+ export interface FlowRendererToHtmlContext<TNodeType extends FlowNode = FlowNode> {
5
+ node: TNodeType;
6
+ pluginContext: FlowRendererPluginContext;
7
+ renderingContext: FlowRendererContext;
8
+ }
@@ -0,0 +1,6 @@
1
+ export * from "./Constants";
2
+ export * from "./FlowRendererContentPlugin";
3
+ export * from "./FlowRendererContext";
4
+ export * from "./FlowRendererPlugin";
5
+ export * from "./FlowRendererPluginContext";
6
+ export * from "./FlowRendererToHtmlContext";
@@ -0,0 +1,8 @@
1
+ import { FlowContent } from "../../models";
2
+ import { FlowRendererPlugin, FlowRendererPluginContext } from "../models";
3
+ export declare function useJSONParser(state: {
4
+ editor: HTMLDivElement;
5
+ plugins: Array<FlowRendererPlugin>;
6
+ }, pluginContext: FlowRendererPluginContext): {
7
+ loadJSONToEditor: (editorContent: FlowContent) => any;
8
+ };
@@ -0,0 +1 @@
1
+ export * from "./JSONParser";
@@ -0,0 +1,8 @@
1
+ import { SetupFactoryContext } from "@omnia/fx";
2
+ import { FlowRendererContentPlugin, FlowRendererPlugin } from "../models";
3
+ interface SetupRendererPluginContext extends SetupFactoryContext {
4
+ }
5
+ export declare function defineRendererPlugin<TArgs extends any[]>(setup: (ctx: SetupRendererPluginContext) => FlowRendererPlugin | FlowRendererContentPlugin): () => FlowRendererPlugin & {
6
+ dispose?: () => void;
7
+ };
8
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const boldPlugin: () => import("../../models").FlowRendererPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -0,0 +1,3 @@
1
+ export declare const colorStylePlugin: () => import("../../models").FlowRendererPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -0,0 +1,3 @@
1
+ export declare const elementPlugin: () => import("../../models").FlowRendererPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -0,0 +1,3 @@
1
+ export declare const italicPlugin: () => import("../../models").FlowRendererPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -0,0 +1,5 @@
1
+ import { FlowRendererPluginContext } from "../../models";
2
+ export declare function useTextConverter(): {
3
+ canConvert: (el: HTMLElement) => boolean;
4
+ convert: (el: HTMLElement, pluginContext: FlowRendererPluginContext) => any;
5
+ };
@@ -0,0 +1,3 @@
1
+ export declare const textPlugin: () => import("../../models").FlowRendererPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -0,0 +1,3 @@
1
+ export declare const typographyPlugin: () => import("../../models").FlowRendererPlugin & {
2
+ dispose?: () => void;
3
+ };
@@ -0,0 +1,9 @@
1
+ import { DynamicState, VelcronAppDefinition, VelcronDefinitionRegistrationWithoutApp } from "@omnia/fx-models";
2
+ export type VelcronHtmlDivElement = HTMLDivElement & {
3
+ velcron: VelcronAppDefinition;
4
+ velcronRegistration: VelcronDefinitionRegistrationWithoutApp;
5
+ state: DynamicState;
6
+ };
7
+ export declare const velcronRendererPlugin: () => import("../../models").FlowRendererPlugin & {
8
+ dispose?: () => void;
9
+ };
@@ -0,0 +1,109 @@
1
+ import { FlowEditorPluginSettings } from "@omnia/fx-models";
2
+ import { FlowRendererPlugin, FlowRendererPluginContext } from "../models";
3
+ import { FlowContent } from "../../models";
4
+ export declare const useFlowRendererStore: () => {
5
+ state: {
6
+ editorContent: FlowContent;
7
+ plugins: FlowRendererPlugin[];
8
+ editor: HTMLDivElement;
9
+ telePorts: JSX.Element[];
10
+ id: string;
11
+ pluginContext: FlowRendererPluginContext;
12
+ };
13
+ events: {
14
+ onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
15
+ onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowRendererPlugin[]>;
16
+ onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
17
+ onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
18
+ onMutatedId: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
19
+ onMutatedPluginContext: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowRendererPluginContext>;
20
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
21
+ actions: {
22
+ onDispatching: {
23
+ plugin: {
24
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
25
+ };
26
+ content: {
27
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
28
+ };
29
+ set: {
30
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
31
+ };
32
+ element: {
33
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
34
+ };
35
+ };
36
+ onDispatched: {
37
+ plugin: {
38
+ subscribe(fn: (result: {
39
+ register: {
40
+ plugin: (pluginSettings: FlowEditorPluginSettings) => void;
41
+ plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
42
+ context: (ctx: FlowRendererPluginContext) => void;
43
+ };
44
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
45
+ };
46
+ content: {
47
+ subscribe(fn: (result: {
48
+ set: {
49
+ byObject: (content: FlowContent) => void;
50
+ };
51
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
52
+ };
53
+ set: {
54
+ subscribe(fn: (result: {
55
+ container: (el: HTMLDivElement) => void;
56
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
57
+ };
58
+ element: {
59
+ subscribe(fn: (result: {
60
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
61
+ createText: () => HTMLParagraphElement;
62
+ create: (tagName: string, dataType: string) => HTMLElement;
63
+ createTextNode: (data: any) => Text;
64
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
65
+ };
66
+ };
67
+ onFailure: {
68
+ plugin: {
69
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
70
+ };
71
+ content: {
72
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
73
+ };
74
+ set: {
75
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
76
+ };
77
+ element: {
78
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
79
+ };
80
+ };
81
+ } & {
82
+ plugin: () => {
83
+ register: {
84
+ plugin: (pluginSettings: FlowEditorPluginSettings) => void;
85
+ plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
86
+ context: (ctx: FlowRendererPluginContext) => void;
87
+ };
88
+ };
89
+ content: () => {
90
+ set: {
91
+ byObject: (content: FlowContent) => void;
92
+ };
93
+ };
94
+ set: () => {
95
+ container: (el: HTMLDivElement) => void;
96
+ };
97
+ element: () => {
98
+ createForComponent: <TElementType extends HTMLDivElement = HTMLDivElement>(componentName: string) => TElementType;
99
+ createText: () => HTMLParagraphElement;
100
+ create: (tagName: string, dataType: string) => HTMLElement;
101
+ createTextNode: (data: any) => Text;
102
+ };
103
+ };
104
+ get: {
105
+ plugins: FlowRendererPlugin[];
106
+ };
107
+ } & {
108
+ dispose?: () => void;
109
+ };
@@ -0,0 +1 @@
1
+ export * from "./FlowRendererStore";
@@ -0,0 +1,4 @@
1
+ import { BladeInstance } from "@omnia/fx/ux";
2
+ export declare function useInternalJourneyRouter(blade: BladeInstance): {
3
+ refresh(): void;
4
+ };
@@ -0,0 +1 @@
1
+ export * from "./JourneyRouter";
@@ -1,131 +1,11 @@
1
1
  import { LayoutItem } from "@omnia/fx/models";
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
- useTheme: {
5
- type: import("vue").PropType<boolean>;
6
- };
7
- verticalMenu: {
8
- type: import("vue").PropType<boolean>;
9
- };
10
- parentContainer: {
11
- type: import("vue").PropType<LayoutItem>;
12
- };
13
- item: {
14
- type: import("vue").PropType<LayoutItem>;
15
- };
16
- colorSchemaType: {
17
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
18
- required: boolean;
19
- };
20
- container: {
21
- type: BooleanConstructor;
22
- required: boolean;
23
- };
24
- colors: {
25
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
26
- required: boolean;
27
- };
28
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
29
- useTheme: {
30
- type: import("vue").PropType<boolean>;
31
- };
32
- verticalMenu: {
33
- type: import("vue").PropType<boolean>;
34
- };
35
- parentContainer: {
36
- type: import("vue").PropType<LayoutItem>;
37
- };
38
- item: {
39
- type: import("vue").PropType<LayoutItem>;
40
- };
41
- colorSchemaType: {
42
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
43
- required: boolean;
44
- };
45
- container: {
46
- type: BooleanConstructor;
47
- required: boolean;
48
- };
49
- colors: {
50
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
51
- required: boolean;
52
- };
53
- }>>, {
54
- container: boolean;
55
- }, true, {}, {}, {
56
- P: {};
57
- B: {};
58
- D: {};
59
- C: {};
60
- M: {};
61
- Defaults: {};
62
- }, Readonly<import("vue").ExtractPropTypes<{
63
- useTheme: {
64
- type: import("vue").PropType<boolean>;
65
- };
66
- verticalMenu: {
67
- type: import("vue").PropType<boolean>;
68
- };
69
- parentContainer: {
70
- type: import("vue").PropType<LayoutItem>;
71
- };
72
- item: {
73
- type: import("vue").PropType<LayoutItem>;
74
- };
75
- colorSchemaType: {
76
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
77
- required: boolean;
78
- };
79
- container: {
80
- type: BooleanConstructor;
81
- required: boolean;
82
- };
83
- colors: {
84
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
85
- required: boolean;
86
- };
87
- }>>, () => JSX.Element, {}, {}, {}, {
88
- container: boolean;
89
- }>;
90
- __isFragment?: never;
91
- __isTeleport?: never;
92
- __isSuspense?: never;
93
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
94
- useTheme: {
95
- type: import("vue").PropType<boolean>;
96
- };
97
- verticalMenu: {
98
- type: import("vue").PropType<boolean>;
99
- };
100
- parentContainer: {
101
- type: import("vue").PropType<LayoutItem>;
102
- };
103
- item: {
104
- type: import("vue").PropType<LayoutItem>;
105
- };
106
- colorSchemaType: {
107
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
108
- required: boolean;
109
- };
110
- container: {
111
- type: BooleanConstructor;
112
- required: boolean;
113
- };
114
- colors: {
115
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
116
- required: boolean;
117
- };
118
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
119
- container: boolean;
120
- }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
121
- propsDefinition: Omit<Readonly<{} & {
122
- container?: boolean;
123
- colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
124
- colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
125
- item?: LayoutItem;
126
- parentContainer?: LayoutItem;
127
- verticalMenu?: boolean;
128
- useTheme?: boolean;
129
- }>, never>;
130
- };
2
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
+ item?: LayoutItem;
4
+ } & {
5
+ parentContainer?: LayoutItem;
6
+ } & {
7
+ verticalMenu?: boolean;
8
+ } & {
9
+ useTheme?: boolean;
10
+ }>) => any;
131
11
  export default _default;
@@ -2,7 +2,7 @@ import { Future, IIcon, OContentHeight, ODialogBuiltinButtons, ODialogButtonInst
2
2
  import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
4
  export * from "./Dialog.stylex";
5
- type DialogProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", boolean, false, null, true, "The v-model of the component."> & DefineProp<"persistent", boolean, false, false, "Specify if the dialog is closed if clicked outside of the dialog."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts."> & DefineProp<"title", string, false, null, "Specify the title of the dialog."> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the dialog and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the dialog. This is almost mandatory and is used to hightlight the dialog context."> & DefineProp<"hiddenCloseButton", boolean, false, false, "Hide the close button of the dialog."> & DefineProp<"backButton", boolean, false, false, "I a back button is displayed to close the dialog."> & DefineProp<"size", ODialogSizes, false, "medium", "Specify the size of the dialog. Default is mediumsize."> & DefineProp<"variant", ODialogTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"contentHeight", OContentHeight, false, "static", "Sets the content responsive strategy for the dialog . With dynamic it will adapt to the content height. This should only be used with content that does not change size."> & DefineProp<"customScrolling", boolean, false, false, "Disables the default scrolling behavior of the dialog. This should be used when the dialog contains a custom scrollable element such as a o.tab or a component with custom scrollable requirements."> & DefineProp<"horizontalScroll", boolean, false, false, "Adds a horizontal scrollbar to the dialog. This should be used when the dialog contains a custom vertiacl scrollable element such as a <o-journey> or a component with custom scrollable requirements."> & DefineProp<"journey", boolean, false, false, "The dialog is a journey dialog where the header supports navigation."> & DefineProp<"canClose", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"buttonApi", (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void, false, null, "Function that can get reference to the buttons to control the state of them."> & DefineSlot<"fixedContent", () => VNodeChild> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"headerButtons", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"navigation", (apis: {
5
+ type DialogProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", boolean, false, null, false, "The v-model of the component."> & DefineProp<"persistent", boolean, false, false, "Specify if the dialog is closed if clicked outside of the dialog."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts."> & DefineProp<"title", string, false, null, "Specify the title of the dialog."> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the dialog and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the dialog. This is almost mandatory and is used to hightlight the dialog context."> & DefineProp<"hiddenCloseButton", boolean, false, false, "Hide the close button of the dialog."> & DefineProp<"backButton", boolean, false, false, "I a back button is displayed to close the dialog."> & DefineProp<"size", ODialogSizes, false, "medium", "Specify the size of the dialog. Default is mediumsize."> & DefineProp<"variant", ODialogTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"contentHeight", OContentHeight, false, "static", "Sets the content responsive strategy for the dialog . With dynamic it will adapt to the content height. This should only be used with content that does not change size."> & DefineProp<"customScrolling", boolean, false, false, "Disables the default scrolling behavior of the dialog. This should be used when the dialog contains a custom scrollable element such as a o.tab or a component with custom scrollable requirements."> & DefineProp<"horizontalScroll", boolean, false, false, "Adds a horizontal scrollbar to the dialog. This should be used when the dialog contains a custom vertiacl scrollable element such as a <o-journey> or a component with custom scrollable requirements."> & DefineProp<"journey", boolean, false, false, "The dialog is a journey dialog where the header supports navigation."> & DefineProp<"canClose", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"buttonApi", (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void, false, null, "Function that can get reference to the buttons to control the state of them."> & DefineSlot<"fixedContent", () => VNodeChild> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"headerButtons", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"navigation", (apis: {
6
6
  hideNavigation: () => void;
7
7
  showNavigation: () => void;
8
8
  }) => VNodeChild> & DefineSlot<"header", () => VNodeChild> & DefineEmit<"click:close", () => void> & DefineEmit<"click:cancel", () => void> & DefineEmit<"click:confirm", () => void>;
@@ -1,11 +1,9 @@
1
1
  import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, ValidationRule } from "@omnia/fx/ux";
2
- import { ColorValue } from "@omnia/fx/models";
2
+ import { ColorValue, TextBlueprint, OTextFieldTypes } from "@omnia/fx/models";
3
3
  import { VNodeChild } from "vue";
4
- export declare const OTextBoxVariantTypeDefinitions: readonly ["default", "search", "find-slim", "link", "media"];
5
- export type OTextBoxVariantTypes = typeof OTextBoxVariantTypeDefinitions[number];
6
4
  export declare const InputTypeDefinitions: readonly ["text", "password", "number"];
7
5
  export type InputTypes = typeof InputTypeDefinitions[number];
8
- type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextBoxVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
6
+ type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextFieldTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"blueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
9
7
  type NumberInputProps = DefineVModel<"", number, false, null, false, "The v-model value of the component."> & DefineProp<"max", number, false, null, "The max value."> & DefineProp<"min", number, false, null, "The min value."> & DefineProp<"step", number, false, null, "incremental steps for adjusting the numeric value."> & BaseProps;
10
8
  type TextInputProps = DefineVModel<"", string, false, null, false, "The v-model value of the component."> & DefineProp<"suffix", string, false, null, "The suffix text of the text field."> & DefineProp<"prefix", string, false, null, "The prefix text of the text field."> & DefineProp<"clearable", boolean, false, false, "Adds a clear button when the text field is not empty."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & BaseProps;
11
9
  declare const _default: <TType extends "text" | "number" | "password" = "text">(props: import("@omnia/fx/ux").ConstructComponentProps<{
@@ -1,5 +1,8 @@
1
- import { BoxDimensions } from "@omnia/fx-models";
1
+ import { BoxDimensions, TextBlueprint } from "@omnia/fx-models";
2
+ import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
2
3
  export declare const TextFieldStyles: {
4
+ editorVariant: string;
5
+ textAndFont: (textBlueprint: TextBlueprint, colors: ReturnType<typeof useColorSchemaStore>, typography: ReturnType<typeof useTypographyBlueprintStore>) => string;
3
6
  generalField: (textColor: string, rounded: BoxDimensions, fixTextFiled: boolean) => Readonly<import("@omnia/fx/ux").StylexType>;
4
7
  hint: (color: string) => Readonly<import("@omnia/fx/ux").StylexType>;
5
8
  iconButtonWrapper: import("@omnia/fx/ux").StylexType;
@@ -1,6 +1,6 @@
1
1
  import { DefineEmit, DefineProp, DefinePropTheming, DefineVModel, ValidationRule } from "@omnia/fx/ux";
2
- import { ColorValue } from "@omnia/fx-models";
2
+ import { ColorValue, OTextAreaTypes, TextBlueprint } from "@omnia/fx-models";
3
3
  declare const emptyRules: any[];
4
- type TextAreaProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", string, false, null, true, "The v-model of the component"> & DefineProp<"hint", string, false, null, "Displays hint text below the input when focused. Force this always open with the persistentHint property."> & DefineProp<"toned", boolean, false, null> & DefineProp<"persistentHint", boolean, false, false, "Forces hint to always be visible."> & DefineProp<"label", string, false, null, "The label of the text area."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"clearable", boolean, false, false, "Adds a clearable icon to the component."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & DefineProp<"readonly", boolean, false, false, "Puts input in readonly state."> & DefineProp<"autoGrow", boolean, false, false, "Automatically grows textarea to fit its content."> & DefineProp<"rows", number, false, 5, "Default row count."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for textarea."> & DefineProp<"clearable", boolean, false, false, "Adds a clearable icon to the component."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", (value: boolean) => void>;
4
+ type TextAreaProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", string, false, null, true, "The v-model of the component"> & DefineProp<"hint", string, false, null, "Displays hint text below the input when focused. Force this always open with the persistentHint property."> & DefineProp<"toned", boolean, false, null> & DefineProp<"persistentHint", boolean, false, false, "Forces hint to always be visible."> & DefineProp<"label", string, false, null, "The label of the text area."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"clearable", boolean, false, false, "Adds a clearable icon to the component."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"rules", ValidationRule[], false, typeof emptyRules, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message. The input field will enter an error state if a function returns (or any value in the array contains) false or is a string."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & DefineProp<"readonly", boolean, false, false, "Puts input in readonly state."> & DefineProp<"variant", OTextAreaTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"autoGrow", boolean, false, false, "Automatically grows textarea to fit its content."> & DefineProp<"rows", number, false, 5, "Default row count."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for textarea."> & DefineProp<"clearable", boolean, false, false, "Adds a clearable icon to the component."> & DefineProp<"blueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", (value: boolean) => void>;
5
5
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<TextAreaProps>) => any;
6
6
  export default _default;
@@ -1,3 +1,7 @@
1
+ import { TextBlueprint } from "@omnia/fx-models";
2
+ import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
1
3
  export declare const TextAreaStyles: {
4
+ editorVariant: string;
5
+ textAndFont: (textBlueprint: TextBlueprint, colors: ReturnType<typeof useColorSchemaStore>, typography: ReturnType<typeof useTypographyBlueprintStore>) => string;
2
6
  generalField: (textColor: string) => Readonly<import("@omnia/fx/ux").StylexType>;
3
7
  };
@@ -16,6 +16,7 @@ export declare function useIcons(): {
16
16
  archive: FontAwesomeIcon;
17
17
  award: FontAwesomeIcon;
18
18
  back: FontAwesomeIcon;
19
+ brush: FontAwesomeIcon;
19
20
  blueprint: FontAwesomeIcon;
20
21
  background: FontAwesomeIcon;
21
22
  businessProfile: FontAwesomeIcon;