@omnia/fx 8.0.238-dev → 8.0.239-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.
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","LocalizationServiceProviders","Localize","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","ObjectMerger","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","WebComponentBootstrapper","WebUtils","createEventHook","createVueApp","defineFactory","defineInjectable","defineService","destroyVueApp","extendApi","getVueApps","getVueMixins","getVueOptionsHooks","getVuePlugins","injectByTypeId","isInjectable","mergeLocaliation","omniaScriptApi","propertyPath","propertyPathValue","registerApi","registerAsyncVueComponent","registerInjectResolver","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BaseProviderImageHandler","BaseProviderVideoHandler","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GalleryStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","ImageCropperByRatioHandler","ImageCropperUtils","ImageFilterHandler","ImageFlipHandler","ImageGalleryHandler","ImageRotateHandler","KEEP_ORIGINAL_SIZE_OPTION_VALUE","LinkReferencesStore","MSTeamsStore","MediaFileProcessor","MediaPickerCommonStore","MediaPickerImageHandler","MediaPickerStore","MediaPickerUtils","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","ProviderStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","TuiImgScaleQuality","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","VideoGalleryHandler","defineStore","getMediaProviderEditor","getTuiImageRendition","onApplyStyle","updateTransformedImageBase64","useCompontentHostStore","useCompontentSharedSettingsStore","useLocalizationStore","useMarkdownEditorStore","useMediaPickerImageTransformerStore","useMediaPickerStorageProviderContext","useSizeContainerStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["createVueApp","destroyVueApp","getVueApps","getVueMixins","getVueOptionsHooks","getVuePlugins","registerAsyncVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus","activityService","activitySubscriptionService","defineService","useRealtimeService"]}}}
1
+ {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","LocalizationServiceProviders","Localize","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","ObjectMerger","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","WebComponentBootstrapper","WebUtils","createEventHook","createVueApp","defineFactory","defineInjectable","defineService","destroyVueApp","extendApi","getVueApps","getVueMixins","getVueOptionsHooks","getVuePlugins","injectByTypeId","isInjectable","mergeLocaliation","omniaScriptApi","propertyPath","propertyPathValue","registerApi","registerAsyncVueComponent","registerInjectResolver","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BaseProviderImageHandler","BaseProviderVideoHandler","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GalleryStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","ImageCropperByRatioHandler","ImageCropperUtils","ImageFilterHandler","ImageFlipHandler","ImageGalleryHandler","ImageRotateHandler","KEEP_ORIGINAL_SIZE_OPTION_VALUE","LinkReferencesStore","MSTeamsStore","MediaFileProcessor","MediaPickerCommonStore","MediaPickerImageHandler","MediaPickerStore","MediaPickerUtils","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","ProviderStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","TuiImgScaleQuality","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","VideoGalleryHandler","defineStore","getMediaProviderEditor","getTuiImageRendition","onApplyStyle","updateTransformedImageBase64","useCompontentHostStore","useCompontentSharedSettingsStore","useLocalizationStore","useMarkdownEditorStateStore","useMarkdownEditorStore","useMediaPickerImageTransformerStore","useMediaPickerStorageProviderContext","useSizeContainerStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["createVueApp","destroyVueApp","getVueApps","getVueMixins","getVueOptionsHooks","getVuePlugins","registerAsyncVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus","activityService","activitySubscriptionService","defineService","useRealtimeService"]}}}
@@ -1 +1,2 @@
1
1
  export * from "./MarkdownEditorStore";
2
+ export * from "./MarkdownStateStore";
@@ -166,6 +166,7 @@ export declare namespace UserManagementLocalization {
166
166
  Title: string;
167
167
  CreateUserType: string;
168
168
  EditUserType: string;
169
+ AddUserType: string;
169
170
  Edit: string;
170
171
  EditLayout: string;
171
172
  Delete: string;
@@ -0,0 +1,47 @@
1
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<Record<string, any>>) => {
2
+ $: import("vue").ComponentInternalInstance;
3
+ $data: {};
4
+ $props: {};
5
+ $attrs: {
6
+ [x: string]: unknown;
7
+ };
8
+ $refs: {
9
+ [x: string]: unknown;
10
+ };
11
+ $slots: Readonly<{
12
+ [name: string]: import("vue").Slot<any>;
13
+ }>;
14
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
15
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
16
+ $emit: (event: string, ...args: any[]) => void;
17
+ $el: any;
18
+ $options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
19
+ beforeCreate?: (() => void) | (() => void)[];
20
+ created?: (() => void) | (() => void)[];
21
+ beforeMount?: (() => void) | (() => void)[];
22
+ mounted?: (() => void) | (() => void)[];
23
+ beforeUpdate?: (() => void) | (() => void)[];
24
+ updated?: (() => void) | (() => void)[];
25
+ activated?: (() => void) | (() => void)[];
26
+ deactivated?: (() => void) | (() => void)[];
27
+ beforeDestroy?: (() => void) | (() => void)[];
28
+ beforeUnmount?: (() => void) | (() => void)[];
29
+ destroyed?: (() => void) | (() => void)[];
30
+ unmounted?: (() => void) | (() => void)[];
31
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
32
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
33
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
34
+ };
35
+ $forceUpdate: () => void;
36
+ $nextTick: typeof import("vue").nextTick;
37
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
38
+ } & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
39
+ propsDefinition: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {
40
+ "v-slots"?: {} & Omit<{
41
+ default?: import("vue").Slot;
42
+ }, never>;
43
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string | number>;
44
+ } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>;
47
+ export default _default;
@@ -0,0 +1,47 @@
1
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<Record<string, any>>) => {
2
+ $: import("vue").ComponentInternalInstance;
3
+ $data: {};
4
+ $props: {};
5
+ $attrs: {
6
+ [x: string]: unknown;
7
+ };
8
+ $refs: {
9
+ [x: string]: unknown;
10
+ };
11
+ $slots: Readonly<{
12
+ [name: string]: import("vue").Slot<any>;
13
+ }>;
14
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
15
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
16
+ $emit: (event: string, ...args: any[]) => void;
17
+ $el: any;
18
+ $options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
19
+ beforeCreate?: (() => void) | (() => void)[];
20
+ created?: (() => void) | (() => void)[];
21
+ beforeMount?: (() => void) | (() => void)[];
22
+ mounted?: (() => void) | (() => void)[];
23
+ beforeUpdate?: (() => void) | (() => void)[];
24
+ updated?: (() => void) | (() => void)[];
25
+ activated?: (() => void) | (() => void)[];
26
+ deactivated?: (() => void) | (() => void)[];
27
+ beforeDestroy?: (() => void) | (() => void)[];
28
+ beforeUnmount?: (() => void) | (() => void)[];
29
+ destroyed?: (() => void) | (() => void)[];
30
+ unmounted?: (() => void) | (() => void)[];
31
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
32
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
33
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
34
+ };
35
+ $forceUpdate: () => void;
36
+ $nextTick: typeof import("vue").nextTick;
37
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
38
+ } & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
39
+ propsDefinition: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {
40
+ "v-slots"?: {} & Omit<{
41
+ default?: import("vue").Slot;
42
+ }, never>;
43
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string | number>;
44
+ } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>;
47
+ export default _default;
@@ -11,7 +11,7 @@ export interface DisabledButtonTooltips {
11
11
  delete?: string;
12
12
  remove?: string;
13
13
  }
14
- export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"toned", boolean, false, null, "IF the color is toned"> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the blade and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"id", guid, true, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"ok", boolean, false, false, "Specify if the blade should show a ok button. If a ok button is shown, a cancel button will also be shown."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"searchable", boolean, false, false, "Specify if the blade should show a search field."> & DefineProp<"delete", boolean, false, false, "Specify if the blade should show a delete button."> & DefineProp<"remove", boolean, false, false, "Specify if the blade should show a remove button."> & DefineProp<"disabled", boolean, false, false, "Specify if the blade should shoud be read only."> & DefineProp<"manageList", boolean, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"settings", boolean, false, false, "Specify if the blade should show a settings button."> & DefineProp<"create", boolean, false, false, "Specify if the blade should show a create button."> & DefineProp<"bladeContext", BladeContexts | BladeContext, false, null, "Specify context of the journey."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"variant", BladeVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"onOk", () => boolean | Promise<boolean>, false, null, "Trigger when user click ok, return true if ok to close the blade."> & DefineProp<"onRemove", () => boolean | Promise<boolean>, false, null, "Trigger when user click remove, return true if ok to close the blade."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onDelete", () => boolean | Promise<boolean>, false, null, "Trigger when user click delete, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"confirmDeleteDialogOption", ConfirmDialogOptions, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"click:add", (id: guid) => true> & DefineEmit<"click:back", (id: guid) => true> & DefineEmit<"click:cancel", (id: guid) => true> & DefineEmit<"click:settings", (id: guid) => true> & DefineEmit<"click:confirm", () => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:manageList", () => true>;
14
+ export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"toned", boolean, false, null, "IF the color is toned"> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the blade and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"id", guid, true, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"ok", boolean, false, false, "Specify if the blade should show a ok button. If a ok button is shown, a cancel button will also be shown."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"searchable", boolean, false, false, "Specify if the blade should show a search field."> & DefineProp<"delete", boolean, false, false, "Specify if the blade should show a delete button."> & DefineProp<"remove", boolean, false, false, "Specify if the blade should show a remove button."> & DefineProp<"disabled", boolean, false, false, "Specify if the blade should shoud be read only."> & DefineProp<"manageList", boolean, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"settings", boolean, false, false, "Specify if the blade should show a settings button."> & DefineProp<"create", boolean, false, false, "Specify if the blade should show a create button."> & DefineProp<"bladeContext", BladeContexts | BladeContext, false, null, "Specify context of the journey."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"variant", BladeVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"onOk", () => boolean | Promise<boolean>, false, null, "Trigger when user click ok, return true if ok to close the blade."> & DefineProp<"onRemove", () => boolean | Promise<boolean>, false, null, "Trigger when user click remove, return true if ok to close the blade."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onDelete", () => boolean | Promise<boolean>, false, null, "Trigger when user click delete, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"confirmDeleteDialogOption", ConfirmDialogOptions, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"click:create", (id: guid) => true> & DefineEmit<"click:back", (id: guid) => true> & DefineEmit<"click:cancel", (id: guid) => true> & DefineEmit<"click:settings", (id: guid) => true> & DefineEmit<"click:confirm", () => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:manageList", () => true>;
15
15
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<JourneyBladeProps>) => {
16
16
  $: import("vue").ComponentInternalInstance;
17
17
  $data: {};
@@ -62,7 +62,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<J
62
62
  "onClick:confirm"?: () => any;
63
63
  "onClick:back"?: (id: guid) => any;
64
64
  onSearch?: (searchText: string) => any;
65
- "onClick:add"?: (id: guid) => any;
65
+ "onClick:create"?: (id: guid) => any;
66
66
  "onClick:settings"?: (id: guid) => any;
67
67
  "onClick:manageList"?: () => any;
68
68
  } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "switch" | "icon" | "title" | "id" | "delete" | "size" | "disabled" | "toned" | "settings" | "remove" | "variant" | "subTitle" | "create" | "ok" | "save" | "getApi" | "loading" | "searchable" | "manageList" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips">;
@@ -8,6 +8,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
8
8
  modelValue?: string;
9
9
  } & {
10
10
  placeholder?: string;
11
+ } & {
12
+ toolbar?: boolean;
11
13
  } & {
12
14
  edit?: boolean;
13
15
  } & {
@@ -58,6 +60,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
58
60
  modelValue?: string;
59
61
  } & {
60
62
  placeholder?: string;
63
+ } & {
64
+ toolbar?: boolean;
61
65
  } & {
62
66
  edit?: boolean;
63
67
  } & {
@@ -68,7 +72,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
68
72
  }, never>;
69
73
  } & {
70
74
  "onUpdate:modelValue"?: (value: string) => any;
71
- } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "placeholder" | "edit" | "v-model" | "onUpdate:modelValue" | "modelValue" | "getApi">;
75
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toolbar" | "placeholder" | "edit" | "v-model" | "onUpdate:modelValue" | "modelValue" | "getApi">;
72
76
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
73
77
  [key: string]: any;
74
78
  }>;
@@ -0,0 +1,5 @@
1
+ export declare const MarkdownToolbarStyles: {
2
+ wrapper: string;
3
+ show: string;
4
+ hide: string;
5
+ };
@@ -0,0 +1,440 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
+ editorId?: guid;
4
+ } & {
5
+ editorStore?: {
6
+ state: {
7
+ markdownContent: string;
8
+ editMode: boolean;
9
+ editor: HTMLDivElement;
10
+ telePorts: JSX.Element[];
11
+ id: string;
12
+ storedRange: Range;
13
+ };
14
+ events: {
15
+ onMutatedMarkdownContent: import("../..").MessageBusExposeOnlySubscription<string>;
16
+ onMutatedEditMode: import("../..").MessageBusExposeOnlySubscription<boolean>;
17
+ onMutatedEditor: import("../..").MessageBusExposeOnlySubscription<HTMLDivElement>;
18
+ onMutatedTelePorts: import("../..").MessageBusExposeOnlySubscription<JSX.Element[]>;
19
+ onMutatedId: import("../..").MessageBusExposeOnlySubscription<string>;
20
+ onMutatedStoredRange: import("../..").MessageBusExposeOnlySubscription<Range>;
21
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
22
+ actions: {
23
+ onDispatching: {
24
+ registerPlugin: {
25
+ subscribe(fn: (plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
26
+ };
27
+ toHtml: {
28
+ subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
29
+ };
30
+ toMarkdown: {
31
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
32
+ };
33
+ setContent: {
34
+ subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
35
+ };
36
+ setEditorMode: {
37
+ subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
38
+ };
39
+ setEditorContainer: {
40
+ subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
41
+ };
42
+ registerPluginContext: {
43
+ subscribe(fn: (ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
44
+ };
45
+ formatting: {
46
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
47
+ };
48
+ element: {
49
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
50
+ };
51
+ commands: {
52
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
53
+ };
54
+ };
55
+ onDispatched: {
56
+ registerPlugin: {
57
+ subscribe(fn: (result: void, plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
58
+ };
59
+ toHtml: {
60
+ subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
61
+ };
62
+ toMarkdown: {
63
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
64
+ };
65
+ setContent: {
66
+ subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
67
+ };
68
+ setEditorMode: {
69
+ subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
70
+ };
71
+ setEditorContainer: {
72
+ subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
73
+ };
74
+ registerPluginContext: {
75
+ subscribe(fn: (result: void, ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
76
+ };
77
+ formatting: {
78
+ subscribe(fn: (result: {
79
+ add: (element: HTMLElement) => void;
80
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
81
+ };
82
+ element: {
83
+ subscribe(fn: (result: {
84
+ createForComponent: (componentName: string) => HTMLDivElement;
85
+ createText: () => HTMLParagraphElement;
86
+ create: (tagName: string, dataType: "text" | "formatting") => HTMLElement;
87
+ add: (element: HTMLElement) => void;
88
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
89
+ };
90
+ commands: {
91
+ subscribe(fn: (result: {
92
+ exec: (command: string, data: object) => void;
93
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
94
+ };
95
+ };
96
+ onFailure: {
97
+ registerPlugin: {
98
+ subscribe(fn: (failureReason: any, plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
99
+ };
100
+ toHtml: {
101
+ subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
102
+ };
103
+ toMarkdown: {
104
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
105
+ };
106
+ setContent: {
107
+ subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
108
+ };
109
+ setEditorMode: {
110
+ subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
111
+ };
112
+ setEditorContainer: {
113
+ subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
114
+ };
115
+ registerPluginContext: {
116
+ subscribe(fn: (failureReason: any, ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
117
+ };
118
+ formatting: {
119
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
120
+ };
121
+ element: {
122
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
123
+ };
124
+ commands: {
125
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
+ };
127
+ };
128
+ } & {
129
+ registerPlugin: (plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void;
130
+ toHtml: (markdown: string) => string;
131
+ toMarkdown: () => void;
132
+ setContent: (markdown: string) => void;
133
+ setEditorMode: (editMode: boolean) => void;
134
+ setEditorContainer: (el: HTMLDivElement) => void;
135
+ registerPluginContext: (ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void;
136
+ formatting: () => {
137
+ add: (element: HTMLElement) => void;
138
+ };
139
+ element: () => {
140
+ createForComponent: (componentName: string) => HTMLDivElement;
141
+ createText: () => HTMLParagraphElement;
142
+ create: (tagName: string, dataType: "text" | "formatting") => HTMLElement;
143
+ add: (element: HTMLElement) => void;
144
+ };
145
+ commands: () => {
146
+ exec: (command: string, data: object) => void;
147
+ };
148
+ };
149
+ get: {
150
+ toolbarStore: {
151
+ state: {
152
+ show: boolean;
153
+ textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
154
+ additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
155
+ toolbarOwnerId: guid;
156
+ };
157
+ events: {
158
+ onMutatedShow: import("../..").MessageBusExposeOnlySubscription<boolean>;
159
+ onMutatedTextActions: import("../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
160
+ onMutatedAdditionalActions: import("../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
161
+ onMutatedToolbarOwnerId: import("../..").MessageBusExposeOnlySubscription<guid>;
162
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
163
+ actions: {
164
+ onDispatching: {
165
+ addAdditionalAction: {
166
+ subscribe(fn: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
167
+ };
168
+ setEditorStore: {
169
+ subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
170
+ };
171
+ };
172
+ onDispatched: {
173
+ addAdditionalAction: {
174
+ subscribe(fn: (result: void, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
175
+ };
176
+ setEditorStore: {
177
+ subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
178
+ };
179
+ };
180
+ onFailure: {
181
+ addAdditionalAction: {
182
+ subscribe(fn: (failureReason: any, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
183
+ };
184
+ setEditorStore: {
185
+ subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
186
+ };
187
+ };
188
+ } & {
189
+ addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
190
+ setEditorStore: (store: any) => void;
191
+ };
192
+ get: {
193
+ isActiveStore(): boolean;
194
+ };
195
+ };
196
+ };
197
+ };
198
+ }>) => {
199
+ $: import("vue").ComponentInternalInstance;
200
+ $data: {};
201
+ $props: {};
202
+ $attrs: {
203
+ [x: string]: unknown;
204
+ };
205
+ $refs: {
206
+ [x: string]: unknown;
207
+ };
208
+ $slots: Readonly<{
209
+ [name: string]: import("vue").Slot<any>;
210
+ }>;
211
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
212
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
213
+ $emit: (event: string, ...args: any[]) => void;
214
+ $el: any;
215
+ $options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
216
+ beforeCreate?: (() => void) | (() => void)[];
217
+ created?: (() => void) | (() => void)[];
218
+ beforeMount?: (() => void) | (() => void)[];
219
+ mounted?: (() => void) | (() => void)[];
220
+ beforeUpdate?: (() => void) | (() => void)[];
221
+ updated?: (() => void) | (() => void)[];
222
+ activated?: (() => void) | (() => void)[];
223
+ deactivated?: (() => void) | (() => void)[];
224
+ beforeDestroy?: (() => void) | (() => void)[];
225
+ beforeUnmount?: (() => void) | (() => void)[];
226
+ destroyed?: (() => void) | (() => void)[];
227
+ unmounted?: (() => void) | (() => void)[];
228
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
229
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
230
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
231
+ };
232
+ $forceUpdate: () => void;
233
+ $nextTick: typeof import("vue").nextTick;
234
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
235
+ } & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
236
+ propsDefinition: import("@omnia/fx/ux").ExtractProps<{
237
+ editorId?: guid;
238
+ } & {
239
+ editorStore?: {
240
+ state: {
241
+ markdownContent: string;
242
+ editMode: boolean;
243
+ editor: HTMLDivElement;
244
+ telePorts: JSX.Element[];
245
+ id: string;
246
+ storedRange: Range;
247
+ };
248
+ events: {
249
+ onMutatedMarkdownContent: import("../..").MessageBusExposeOnlySubscription<string>;
250
+ onMutatedEditMode: import("../..").MessageBusExposeOnlySubscription<boolean>;
251
+ onMutatedEditor: import("../..").MessageBusExposeOnlySubscription<HTMLDivElement>;
252
+ onMutatedTelePorts: import("../..").MessageBusExposeOnlySubscription<JSX.Element[]>;
253
+ onMutatedId: import("../..").MessageBusExposeOnlySubscription<string>;
254
+ onMutatedStoredRange: import("../..").MessageBusExposeOnlySubscription<Range>;
255
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
256
+ actions: {
257
+ onDispatching: {
258
+ registerPlugin: {
259
+ subscribe(fn: (plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
260
+ };
261
+ toHtml: {
262
+ subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
263
+ };
264
+ toMarkdown: {
265
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
266
+ };
267
+ setContent: {
268
+ subscribe(fn: (markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
269
+ };
270
+ setEditorMode: {
271
+ subscribe(fn: (editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
272
+ };
273
+ setEditorContainer: {
274
+ subscribe(fn: (el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
275
+ };
276
+ registerPluginContext: {
277
+ subscribe(fn: (ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
278
+ };
279
+ formatting: {
280
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
281
+ };
282
+ element: {
283
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
284
+ };
285
+ commands: {
286
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
287
+ };
288
+ };
289
+ onDispatched: {
290
+ registerPlugin: {
291
+ subscribe(fn: (result: void, plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
292
+ };
293
+ toHtml: {
294
+ subscribe(fn: (result: string, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
295
+ };
296
+ toMarkdown: {
297
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
298
+ };
299
+ setContent: {
300
+ subscribe(fn: (result: void, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
301
+ };
302
+ setEditorMode: {
303
+ subscribe(fn: (result: void, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
304
+ };
305
+ setEditorContainer: {
306
+ subscribe(fn: (result: void, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
307
+ };
308
+ registerPluginContext: {
309
+ subscribe(fn: (result: void, ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
310
+ };
311
+ formatting: {
312
+ subscribe(fn: (result: {
313
+ add: (element: HTMLElement) => void;
314
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
315
+ };
316
+ element: {
317
+ subscribe(fn: (result: {
318
+ createForComponent: (componentName: string) => HTMLDivElement;
319
+ createText: () => HTMLParagraphElement;
320
+ create: (tagName: string, dataType: "text" | "formatting") => HTMLElement;
321
+ add: (element: HTMLElement) => void;
322
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
323
+ };
324
+ commands: {
325
+ subscribe(fn: (result: {
326
+ exec: (command: string, data: object) => void;
327
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
328
+ };
329
+ };
330
+ onFailure: {
331
+ registerPlugin: {
332
+ subscribe(fn: (failureReason: any, plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
333
+ };
334
+ toHtml: {
335
+ subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
336
+ };
337
+ toMarkdown: {
338
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
339
+ };
340
+ setContent: {
341
+ subscribe(fn: (failureReason: any, markdown: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
342
+ };
343
+ setEditorMode: {
344
+ subscribe(fn: (failureReason: any, editMode: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
345
+ };
346
+ setEditorContainer: {
347
+ subscribe(fn: (failureReason: any, el: HTMLDivElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
348
+ };
349
+ registerPluginContext: {
350
+ subscribe(fn: (failureReason: any, ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
351
+ };
352
+ formatting: {
353
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
354
+ };
355
+ element: {
356
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
357
+ };
358
+ commands: {
359
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
360
+ };
361
+ };
362
+ } & {
363
+ registerPlugin: (plugin: () => import("./models/MarkdownPlugin").MarkdownPlugin) => void;
364
+ toHtml: (markdown: string) => string;
365
+ toMarkdown: () => void;
366
+ setContent: (markdown: string) => void;
367
+ setEditorMode: (editMode: boolean) => void;
368
+ setEditorContainer: (el: HTMLDivElement) => void;
369
+ registerPluginContext: (ctx: import("./models/MarkdownPlugin").MarkdownPluginContext) => void;
370
+ formatting: () => {
371
+ add: (element: HTMLElement) => void;
372
+ };
373
+ element: () => {
374
+ createForComponent: (componentName: string) => HTMLDivElement;
375
+ createText: () => HTMLParagraphElement;
376
+ create: (tagName: string, dataType: "text" | "formatting") => HTMLElement;
377
+ add: (element: HTMLElement) => void;
378
+ };
379
+ commands: () => {
380
+ exec: (command: string, data: object) => void;
381
+ };
382
+ };
383
+ get: {
384
+ toolbarStore: {
385
+ state: {
386
+ show: boolean;
387
+ textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
388
+ additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
389
+ toolbarOwnerId: guid;
390
+ };
391
+ events: {
392
+ onMutatedShow: import("../..").MessageBusExposeOnlySubscription<boolean>;
393
+ onMutatedTextActions: import("../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
394
+ onMutatedAdditionalActions: import("../..").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
395
+ onMutatedToolbarOwnerId: import("../..").MessageBusExposeOnlySubscription<guid>;
396
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
397
+ actions: {
398
+ onDispatching: {
399
+ addAdditionalAction: {
400
+ subscribe(fn: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
401
+ };
402
+ setEditorStore: {
403
+ subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
404
+ };
405
+ };
406
+ onDispatched: {
407
+ addAdditionalAction: {
408
+ subscribe(fn: (result: void, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
409
+ };
410
+ setEditorStore: {
411
+ subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
412
+ };
413
+ };
414
+ onFailure: {
415
+ addAdditionalAction: {
416
+ subscribe(fn: (failureReason: any, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
417
+ };
418
+ setEditorStore: {
419
+ subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
420
+ };
421
+ };
422
+ } & {
423
+ addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
424
+ setEditorStore: (store: any) => void;
425
+ };
426
+ get: {
427
+ isActiveStore(): boolean;
428
+ };
429
+ };
430
+ };
431
+ };
432
+ }> & {
433
+ "v-slots"?: {} & Omit<{
434
+ default?: import("vue").Slot;
435
+ }, never>;
436
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editorId" | "editorStore">;
437
+ } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
438
+ [key: string]: any;
439
+ }>;
440
+ export default _default;
@@ -4,6 +4,7 @@ export interface MarkdownPlugin {
4
4
  type: "inline" | "component";
5
5
  toMarkdown: (el: HTMLElement) => string;
6
6
  toHtml: (el: HTMLDivElement, data: string | object, ctx: MarkdownPluginContext) => HTMLDivElement;
7
+ commands?: object;
7
8
  }
8
9
  export interface MarkdownPluginContext {
9
10
  componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
@@ -1,5 +1,6 @@
1
- import { VelcronAppDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
1
+ import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared";
2
2
  import { MarkdownPlugin, MarkdownPluginContext } from "../models/MarkdownPlugin";
3
+ type dataTypes = "text" | "formatting";
3
4
  export declare const useMarkdownStore: () => {
4
5
  state: {
5
6
  markdownContent: string;
@@ -40,11 +41,14 @@ export declare const useMarkdownStore: () => {
40
41
  registerPluginContext: {
41
42
  subscribe(fn: (ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
42
43
  };
43
- createComponent: {
44
- subscribe(fn: (componentDef: any, props: {}, el: HTMLElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
44
+ formatting: {
45
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
46
+ };
47
+ element: {
48
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
45
49
  };
46
- addVelcronDefinition: {
47
- subscribe(fn: (definition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
50
+ commands: {
51
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
48
52
  };
49
53
  };
50
54
  onDispatched: {
@@ -69,11 +73,23 @@ export declare const useMarkdownStore: () => {
69
73
  registerPluginContext: {
70
74
  subscribe(fn: (result: void, ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
71
75
  };
72
- createComponent: {
73
- subscribe(fn: (result: void, componentDef: any, props: {}, el: HTMLElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
76
+ formatting: {
77
+ subscribe(fn: (result: {
78
+ add: (element: HTMLElement) => void;
79
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
74
80
  };
75
- addVelcronDefinition: {
76
- subscribe(fn: (result: void, definition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
81
+ element: {
82
+ subscribe(fn: (result: {
83
+ createForComponent: (componentName: string) => HTMLDivElement;
84
+ createText: () => HTMLParagraphElement;
85
+ create: (tagName: string, dataType: dataTypes) => HTMLElement;
86
+ add: (element: HTMLElement) => void;
87
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
88
+ };
89
+ commands: {
90
+ subscribe(fn: (result: {
91
+ exec: (command: string, data: object) => void;
92
+ }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
77
93
  };
78
94
  };
79
95
  onFailure: {
@@ -98,11 +114,14 @@ export declare const useMarkdownStore: () => {
98
114
  registerPluginContext: {
99
115
  subscribe(fn: (failureReason: any, ctx: MarkdownPluginContext) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
100
116
  };
101
- createComponent: {
102
- subscribe(fn: (failureReason: any, componentDef: any, props: {}, el: HTMLElement) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
117
+ formatting: {
118
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
103
119
  };
104
- addVelcronDefinition: {
105
- subscribe(fn: (failureReason: any, definition: VelcronAppDefinition<object>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
120
+ element: {
121
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
122
+ };
123
+ commands: {
124
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
106
125
  };
107
126
  };
108
127
  } & {
@@ -113,8 +132,66 @@ export declare const useMarkdownStore: () => {
113
132
  setEditorMode: (editMode: boolean) => void;
114
133
  setEditorContainer: (el: HTMLDivElement) => void;
115
134
  registerPluginContext: (ctx: MarkdownPluginContext) => void;
116
- createComponent: (componentDef: any, props: {}, el: HTMLElement) => void;
117
- addVelcronDefinition: (definition: VelcronAppDefinition) => void;
135
+ formatting: () => {
136
+ add: (element: HTMLElement) => void;
137
+ };
138
+ element: () => {
139
+ createForComponent: (componentName: string) => HTMLDivElement;
140
+ createText: () => HTMLParagraphElement;
141
+ create: (tagName: string, dataType: dataTypes) => HTMLElement;
142
+ add: (element: HTMLElement) => void;
143
+ };
144
+ commands: () => {
145
+ exec: (command: string, data: object) => void;
146
+ };
147
+ };
148
+ get: {
149
+ toolbarStore: {
150
+ state: {
151
+ show: boolean;
152
+ textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
153
+ additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
154
+ toolbarOwnerId: guid;
155
+ };
156
+ events: {
157
+ onMutatedShow: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<boolean>;
158
+ onMutatedTextActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
159
+ onMutatedAdditionalActions: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<import("@omnia/fx-models").MarkdownEditorActionRegistration[]>;
160
+ onMutatedToolbarOwnerId: import("@omnia/fx-models/internal-do-not-import-from-here/shared").MessageBusExposeOnlySubscription<guid>;
161
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
162
+ actions: {
163
+ onDispatching: {
164
+ addAdditionalAction: {
165
+ subscribe(fn: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
166
+ };
167
+ setEditorStore: {
168
+ subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
169
+ };
170
+ };
171
+ onDispatched: {
172
+ addAdditionalAction: {
173
+ subscribe(fn: (result: void, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
174
+ };
175
+ setEditorStore: {
176
+ subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
177
+ };
178
+ };
179
+ onFailure: {
180
+ addAdditionalAction: {
181
+ subscribe(fn: (failureReason: any, action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
182
+ };
183
+ setEditorStore: {
184
+ subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
185
+ };
186
+ };
187
+ } & {
188
+ addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
189
+ setEditorStore: (store: any) => void;
190
+ };
191
+ get: {
192
+ isActiveStore(): boolean;
193
+ };
194
+ };
118
195
  };
119
- get: {};
120
196
  };
197
+ export {};
@@ -0,0 +1,47 @@
1
+ import { MarkdownEditorActionRegistration, guid } from "@omnia/fx-models";
2
+ export declare const useMarkdownToolbarStore: () => {
3
+ state: {
4
+ show: boolean;
5
+ textActions: MarkdownEditorActionRegistration[];
6
+ additionalActions: MarkdownEditorActionRegistration[];
7
+ toolbarOwnerId: guid;
8
+ };
9
+ events: {
10
+ onMutatedShow: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
11
+ onMutatedTextActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
12
+ onMutatedAdditionalActions: import("@omnia/fx").MessageBusExposeOnlySubscription<MarkdownEditorActionRegistration[]>;
13
+ onMutatedToolbarOwnerId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
14
+ } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
15
+ actions: {
16
+ onDispatching: {
17
+ addAdditionalAction: {
18
+ subscribe(fn: (action: MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
19
+ };
20
+ setEditorStore: {
21
+ subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
22
+ };
23
+ };
24
+ onDispatched: {
25
+ addAdditionalAction: {
26
+ subscribe(fn: (result: void, action: MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
27
+ };
28
+ setEditorStore: {
29
+ subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
30
+ };
31
+ };
32
+ onFailure: {
33
+ addAdditionalAction: {
34
+ subscribe(fn: (failureReason: any, action: MarkdownEditorActionRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
35
+ };
36
+ setEditorStore: {
37
+ subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
38
+ };
39
+ };
40
+ } & {
41
+ addAdditionalAction: (action: MarkdownEditorActionRegistration) => void;
42
+ setEditorStore: (store: any) => void;
43
+ };
44
+ get: {
45
+ isActiveStore(): boolean;
46
+ };
47
+ };
@@ -1,4 +1,3 @@
1
- import { useMarkdownEditorStore } from "@omnia/fx/stores";
2
1
  import { VelcronAppDefinition, VelcronDefinition, VelcronDefinitionRegistration, ContainerBlueprint, ContainerVariant, VelcronSectionInstance, guid, BorderSelectorActionRegistration } from "@omnia/fx-models";
3
2
  type InsertMode = "add" | "change";
4
3
  export interface InsertOptions {
@@ -76,82 +75,7 @@ export declare const useVelcronContentEditorStore: () => {
76
75
  actions: {
77
76
  onDispatching: {
78
77
  setMarkdownEditorStore: {
79
- subscribe(fn: (store: {
80
- state: {
81
- toolbar: {
82
- show: boolean;
83
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
84
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
85
- };
86
- toolbarOwnerId: guid;
87
- activeEditor: import("@toast-ui/editor").Editor;
88
- };
89
- events: {
90
- onMutatedToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<{
91
- show: boolean;
92
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
93
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
94
- }>;
95
- onMutatedToolbarOwnerId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
96
- onMutatedActiveEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@toast-ui/editor").Editor>;
97
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
98
- actions: {
99
- onDispatching: {
100
- commands: {
101
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
102
- };
103
- toolbar: {
104
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
105
- };
106
- editor: {
107
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
108
- };
109
- };
110
- onDispatched: {
111
- commands: {
112
- subscribe(fn: (result: {
113
- exec: (command: string, payload: any) => void;
114
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
115
- };
116
- toolbar: {
117
- subscribe(fn: (result: {
118
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
119
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
120
- };
121
- editor: {
122
- subscribe(fn: (result: {
123
- onEnter: (editor: import("@toast-ui/editor").Editor, editorId: guid) => void;
124
- onLeave: (id: any) => void;
125
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
126
- };
127
- };
128
- onFailure: {
129
- commands: {
130
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
131
- };
132
- toolbar: {
133
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
134
- };
135
- editor: {
136
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
137
- };
138
- };
139
- } & {
140
- commands: () => {
141
- exec: (command: string, payload: any) => void;
142
- };
143
- toolbar: () => {
144
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
145
- };
146
- editor: () => {
147
- onEnter: (editor: import("@toast-ui/editor").Editor, editorId: guid) => void;
148
- onLeave: (id: any) => void;
149
- };
150
- };
151
- get: {
152
- isActiveStore(): boolean;
153
- };
154
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
78
+ subscribe(fn: (store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
155
79
  };
156
80
  selectorActions: {
157
81
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -177,82 +101,7 @@ export declare const useVelcronContentEditorStore: () => {
177
101
  };
178
102
  onDispatched: {
179
103
  setMarkdownEditorStore: {
180
- subscribe(fn: (result: void, store: {
181
- state: {
182
- toolbar: {
183
- show: boolean;
184
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
185
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
186
- };
187
- toolbarOwnerId: guid;
188
- activeEditor: import("@toast-ui/editor").Editor;
189
- };
190
- events: {
191
- onMutatedToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<{
192
- show: boolean;
193
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
194
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
195
- }>;
196
- onMutatedToolbarOwnerId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
197
- onMutatedActiveEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@toast-ui/editor").Editor>;
198
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
199
- actions: {
200
- onDispatching: {
201
- commands: {
202
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
203
- };
204
- toolbar: {
205
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
206
- };
207
- editor: {
208
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
209
- };
210
- };
211
- onDispatched: {
212
- commands: {
213
- subscribe(fn: (result: {
214
- exec: (command: string, payload: any) => void;
215
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
216
- };
217
- toolbar: {
218
- subscribe(fn: (result: {
219
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
220
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
221
- };
222
- editor: {
223
- subscribe(fn: (result: {
224
- onEnter: (editor: import("@toast-ui/editor").Editor, editorId: guid) => void;
225
- onLeave: (id: any) => void;
226
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
227
- };
228
- };
229
- onFailure: {
230
- commands: {
231
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
232
- };
233
- toolbar: {
234
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
235
- };
236
- editor: {
237
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
238
- };
239
- };
240
- } & {
241
- commands: () => {
242
- exec: (command: string, payload: any) => void;
243
- };
244
- toolbar: () => {
245
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
246
- };
247
- editor: () => {
248
- onEnter: (editor: import("@toast-ui/editor").Editor, editorId: guid) => void;
249
- onLeave: (id: any) => void;
250
- };
251
- };
252
- get: {
253
- isActiveStore(): boolean;
254
- };
255
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
104
+ subscribe(fn: (result: void, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
256
105
  };
257
106
  selectorActions: {
258
107
  subscribe(fn: (result: {
@@ -293,7 +142,7 @@ export declare const useVelcronContentEditorStore: () => {
293
142
  definition: {
294
143
  subscribe(fn: (result: {
295
144
  updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
296
- addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
145
+ addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => void;
297
146
  addBySection: (definitions: Array<VelcronSectionInstance>) => void;
298
147
  delete: (definition: VelcronSectionInstance) => void;
299
148
  deleteReference: (definition: VelcronSectionInstance) => any;
@@ -312,82 +161,7 @@ export declare const useVelcronContentEditorStore: () => {
312
161
  };
313
162
  onFailure: {
314
163
  setMarkdownEditorStore: {
315
- subscribe(fn: (failureReason: any, store: {
316
- state: {
317
- toolbar: {
318
- show: boolean;
319
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
320
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
321
- };
322
- toolbarOwnerId: guid;
323
- activeEditor: import("@toast-ui/editor").Editor;
324
- };
325
- events: {
326
- onMutatedToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<{
327
- show: boolean;
328
- textActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
329
- additionalActions: import("@omnia/fx-models").MarkdownEditorActionRegistration[];
330
- }>;
331
- onMutatedToolbarOwnerId: import("@omnia/fx").MessageBusExposeOnlySubscription<guid>;
332
- onMutatedActiveEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@toast-ui/editor").Editor>;
333
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
334
- actions: {
335
- onDispatching: {
336
- commands: {
337
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
338
- };
339
- toolbar: {
340
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
341
- };
342
- editor: {
343
- subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
344
- };
345
- };
346
- onDispatched: {
347
- commands: {
348
- subscribe(fn: (result: {
349
- exec: (command: string, payload: any) => void;
350
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
351
- };
352
- toolbar: {
353
- subscribe(fn: (result: {
354
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
355
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
356
- };
357
- editor: {
358
- subscribe(fn: (result: {
359
- onEnter: (editor: import("@toast-ui/editor").Editor, editorId: guid) => void;
360
- onLeave: (id: any) => void;
361
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
362
- };
363
- };
364
- onFailure: {
365
- commands: {
366
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
367
- };
368
- toolbar: {
369
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
370
- };
371
- editor: {
372
- subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
373
- };
374
- };
375
- } & {
376
- commands: () => {
377
- exec: (command: string, payload: any) => void;
378
- };
379
- toolbar: () => {
380
- addAdditionalAction: (action: import("@omnia/fx-models").MarkdownEditorActionRegistration) => void;
381
- };
382
- editor: () => {
383
- onEnter: (editor: import("@toast-ui/editor").Editor, editorId: guid) => void;
384
- onLeave: (id: any) => void;
385
- };
386
- };
387
- get: {
388
- isActiveStore(): boolean;
389
- };
390
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
164
+ subscribe(fn: (failureReason: any, store: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
391
165
  };
392
166
  selectorActions: {
393
167
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
@@ -412,7 +186,7 @@ export declare const useVelcronContentEditorStore: () => {
412
186
  };
413
187
  };
414
188
  } & {
415
- setMarkdownEditorStore(store: ReturnType<typeof useMarkdownEditorStore>): void;
189
+ setMarkdownEditorStore(store: any): void;
416
190
  selectorActions: () => {
417
191
  hideDefaultSelector: () => void;
418
192
  showCopySelector(): void;
@@ -441,7 +215,7 @@ export declare const useVelcronContentEditorStore: () => {
441
215
  };
442
216
  definition: () => {
443
217
  updateColorSchema: (definitionRegistration: VelcronSectionInstance, colorSchemaType: string) => void;
444
- addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => VelcronSectionInstance;
218
+ addByRegistration: (definition: VelcronDefinitionRegistration, insertOptions: InsertOptions, setAsActive?: boolean) => void;
445
219
  addBySection: (definitions: Array<VelcronSectionInstance>) => void;
446
220
  delete: (definition: VelcronSectionInstance) => void;
447
221
  deleteReference: (definition: VelcronSectionInstance) => any;
@@ -67,6 +67,7 @@ import wc744b3f31e00c4815b63ecaf638ad7a7a from './ux/markdown/MarkdownEditor';
67
67
  import wcc8b990d01ddc45ab930b4409fc406435 from './ux/markdown/MarkdownRenderer';
68
68
  import wccbd18219fce4454d92afd1867f0ef43b from './ux/markdown/MarkdownToolbar';
69
69
  import wcfaee0b6397494a9abca9c480856e2498 from './ux/markdown2/MarkdownEditorFuture';
70
+ import wc755f943792b441eab300c1fdc8709d22 from './ux/markdown2/MarkdownToolbar';
70
71
  import wce9bb3179713943d787e139cedf749838 from './ux/mediapickerimage/MediaPickerImage';
71
72
  import wc4b2648ed8b124e62a09b21b099b43399 from './ux/mediapickervideo/MediaPickerVideo';
72
73
  import wc2e8004b49c8d44dd8edb56ce884c2b57 from './ux/monaco/MonacoEditor';
@@ -737,6 +738,9 @@ declare global {
737
738
  "omfx-markdown-editor-future": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
738
739
  propsDefinition: infer TProp;
739
740
  } ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wcfaee0b6397494a9abca9c480856e2498 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wcfaee0b6397494a9abca9c480856e2498>, "propsDefinition">> : never;
741
+ "omfx-markdown-editor-toolbar-future": typeof wc755f943792b441eab300c1fdc8709d22 extends {
742
+ propsDefinition: infer TProp;
743
+ } ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wc755f943792b441eab300c1fdc8709d22 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wc755f943792b441eab300c1fdc8709d22>, "propsDefinition">> : never;
740
744
  "omfx-media-picker-image": typeof wce9bb3179713943d787e139cedf749838 extends {
741
745
  propsDefinition: infer TProp;
742
746
  } ? (TProp & Omit<VueComponentBaseProps, keyof TProp>) : typeof wce9bb3179713943d787e139cedf749838 extends (...args: any[]) => any ? ExtractJsxProps<Pick<ReturnType<typeof wce9bb3179713943d787e139cedf749838>, "propsDefinition">> : never;
@@ -3135,20 +3139,29 @@ declare global {
3135
3139
  };
3136
3140
  "markdown": {
3137
3141
  "editor": {
3138
- "toolbar": typeof wccbd18219fce4454d92afd1867f0ef43b extends {
3142
+ "toolbar": {
3143
+ "future": typeof wc755f943792b441eab300c1fdc8709d22 extends {
3144
+ propsDefinition: infer TProp;
3145
+ } ? {
3146
+ new (...args: any[]): {
3147
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3148
+ };
3149
+ } : typeof wc755f943792b441eab300c1fdc8709d22;
3150
+ };
3151
+ "future": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
3139
3152
  propsDefinition: infer TProp;
3140
3153
  } ? {
3141
3154
  new (...args: any[]): {
3142
3155
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3143
3156
  };
3144
- } : typeof wccbd18219fce4454d92afd1867f0ef43b;
3145
- "future": typeof wcfaee0b6397494a9abca9c480856e2498 extends {
3157
+ } : typeof wcfaee0b6397494a9abca9c480856e2498;
3158
+ "toolbar$": typeof wccbd18219fce4454d92afd1867f0ef43b extends {
3146
3159
  propsDefinition: infer TProp;
3147
3160
  } ? {
3148
3161
  new (...args: any[]): {
3149
3162
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
3150
3163
  };
3151
- } : typeof wcfaee0b6397494a9abca9c480856e2498;
3164
+ } : typeof wccbd18219fce4454d92afd1867f0ef43b;
3152
3165
  };
3153
3166
  "renderer": typeof wcc8b990d01ddc45ab930b4409fc406435 extends {
3154
3167
  propsDefinition: infer TProp;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.238-dev",
4
+ "version": "8.0.239-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.238-dev",
23
+ "@omnia/fx-models": "8.0.239-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",