@omnia/fx 8.0.264-dev → 8.0.265-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.
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownPluginStore.d.ts → floweditor/FlowEditorPluginStore.d.ts} +11 -11
- package/internal-do-not-import-from-here/stores/{markdown/MarkdownToolbarStateStore.d.ts → floweditor/FlowEditorToolbarStateStore.d.ts} +1 -1
- package/internal-do-not-import-from-here/stores/floweditor/index.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +2 -13
- package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/features/models/VDataGridItemScopedSlot.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/features/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/FeatureActions.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/features/stores/FeatureJourneyStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.d.ts → floweditor/FlowEditor.d.ts} +4 -4
- package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.css.d.ts → floweditor/FlowEditorToolbar.css.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/EditorCommands.d.ts +8 -7
- package/internal-do-not-import-from-here/ux/floweditor/commands/helpers/EditorNodeHelper.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/HtmlNodehelper.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorModels.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/floweditor/models/EditorPlugin.d.ts +30 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/HtmlParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/floweditor/parsers/JSONParser.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/bold/BoldPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/colorstyle/ColorStylePlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/italic/ItalicPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/testdata/TestDataPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/floweditor/plugins/text/TextPlugin.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyButton.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/typography/TypographyPlugin.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/velcron/VelcronPlugin.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownStore.d.ts → floweditor/stores/FlowEditorStore.d.ts} +24 -24
- package/internal-do-not-import-from-here/ux/{markdown2/stores/MarkdownToolbarStore.d.ts → floweditor/stores/FlowEditorToolbarStore.d.ts} +107 -107
- package/internal-do-not-import-from-here/ux/markdown/stores/MarkdownEditorStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditorNew/stores/ContentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/Property.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +5 -5
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -16
- package/package.json +2 -2
- package/internal-do-not-import-from-here/stores/markdown/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/markdown2/commands/helpers/EditorNodeHelper.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/markdown2/markdowntester/MarkdownTester.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorModels.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/markdown2/models/EditorPlugin.d.ts +0 -18
- package/internal-do-not-import-from-here/ux/markdown2/parsers/HtmlParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/JSONParser.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/MarkdownParser_engine.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/component.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/tags.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/parsers/markdownparser_old/textParser.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/markdown2/plugins/text/TextPlugin.d.ts +0 -7
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownEditorFuture.css.d.ts → floweditor/FlowEditor.css.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2/MarkdownToolbar.d.ts → floweditor/FlowEditorToolbar.d.ts} +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/PluginRegistrationHandler.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/ClipboardCommands.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/helpers/Editorhelper.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/registrations/PluginRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/sourceeditor/SourceEditorButton.d.ts +0 -0
@@ -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","
|
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","useFlowEditorPluginStore","useFlowEditorToolbarStateStore","useLocalizationStore","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,16 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
export declare const
|
1
|
+
import { FlowEditorPluginRegistration, guid } from "@omnia/fx-models";
|
2
|
+
export declare const useFlowEditorPluginStore: () => {
|
3
3
|
state: {
|
4
|
-
plugins:
|
5
|
-
hiddenPlugins:
|
4
|
+
plugins: FlowEditorPluginRegistration[];
|
5
|
+
hiddenPlugins: FlowEditorPluginRegistration[];
|
6
6
|
};
|
7
7
|
get: {
|
8
|
-
byId(id: guid):
|
8
|
+
byId(id: guid): FlowEditorPluginRegistration;
|
9
9
|
};
|
10
10
|
actions: {
|
11
11
|
onDispatching: {
|
12
12
|
addPlugin: {
|
13
|
-
subscribe(fn: (plugin:
|
13
|
+
subscribe(fn: (plugin: FlowEditorPluginRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
14
14
|
};
|
15
15
|
load: {
|
16
16
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -18,7 +18,7 @@ export declare const useMarkdownPluginStore: () => {
|
|
18
18
|
};
|
19
19
|
onDispatched: {
|
20
20
|
addPlugin: {
|
21
|
-
subscribe(fn: (result: void, plugin:
|
21
|
+
subscribe(fn: (result: void, plugin: FlowEditorPluginRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
22
22
|
};
|
23
23
|
load: {
|
24
24
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -26,19 +26,19 @@ export declare const useMarkdownPluginStore: () => {
|
|
26
26
|
};
|
27
27
|
onFailure: {
|
28
28
|
addPlugin: {
|
29
|
-
subscribe(fn: (failureReason: any, plugin:
|
29
|
+
subscribe(fn: (failureReason: any, plugin: FlowEditorPluginRegistration) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
30
30
|
};
|
31
31
|
load: {
|
32
32
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
33
33
|
};
|
34
34
|
};
|
35
35
|
} & {
|
36
|
-
addPlugin(plugin:
|
36
|
+
addPlugin(plugin: FlowEditorPluginRegistration): void;
|
37
37
|
load(): Promise<void>;
|
38
38
|
};
|
39
39
|
events: {
|
40
|
-
onMutatedPlugins: import("internal/fx/core").MessageBusExposeOnlySubscription<
|
41
|
-
onMutatedHiddenPlugins: import("internal/fx/core").MessageBusExposeOnlySubscription<
|
40
|
+
onMutatedPlugins: import("internal/fx/core").MessageBusExposeOnlySubscription<FlowEditorPluginRegistration[]>;
|
41
|
+
onMutatedHiddenPlugins: import("internal/fx/core").MessageBusExposeOnlySubscription<FlowEditorPluginRegistration[]>;
|
42
42
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
43
43
|
} & {
|
44
44
|
dispose?: () => void;
|
@@ -5,19 +5,6 @@ export interface VDataGridHeader {
|
|
5
5
|
text: string;
|
6
6
|
align: string;
|
7
7
|
}
|
8
|
-
export interface VDataGridItemScopedSlot<TItem> {
|
9
|
-
item?: TItem;
|
10
|
-
selected?: boolean;
|
11
|
-
isGroupHeader?: boolean;
|
12
|
-
title?: string;
|
13
|
-
description?: string;
|
14
|
-
consentInformation?: string;
|
15
|
-
category?: string;
|
16
|
-
needConsent?: boolean;
|
17
|
-
isBusy?: boolean;
|
18
|
-
hasError?: boolean;
|
19
|
-
errorMsg?: string;
|
20
|
-
}
|
21
8
|
export interface IFeatureActivationProps {
|
22
9
|
appInstanceId?: guid;
|
23
10
|
handleClose: () => void;
|
@@ -26,6 +13,8 @@ export interface IFeatureActivationProps {
|
|
26
13
|
}
|
27
14
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
28
15
|
appInstanceId?: guid;
|
16
|
+
} & {
|
17
|
+
idTeleport?: guid;
|
29
18
|
} & {
|
30
19
|
targetResolverType?: string;
|
31
20
|
} & DefineEmit<"handleFeatureAction", (action: string, featureId: guid) => true> & DefineEmit<"openConsentUrl", () => void>>) => any;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface VDataGridItemScopedSlot<TItem> {
|
2
|
+
item?: TItem;
|
3
|
+
selected?: boolean;
|
4
|
+
isGroupHeader?: boolean;
|
5
|
+
title?: string;
|
6
|
+
description?: string;
|
7
|
+
consentInformation?: string;
|
8
|
+
category?: string;
|
9
|
+
needConsent?: boolean;
|
10
|
+
isBusy?: boolean;
|
11
|
+
hasError?: boolean;
|
12
|
+
errorMsg?: string;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./FeatureActions";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { AppInstance, AppTemplate, AzurePermissionResource, FeatureInstance, guid, TargetResolverTypes } from "@omnia/fx-models";
|
2
|
-
import { FeatureInstanceDetails, RequiredAzureAdPermission } from "..";
|
3
|
-
import { VDataGridItemScopedSlot } from "../FeatureActivation";
|
2
|
+
import { FeatureInstanceDetails, RequiredAzureAdPermission, VDataGridItemScopedSlot } from "..";
|
4
3
|
export declare const useFeatureJourneyStore: () => {
|
5
4
|
state: {
|
6
5
|
targetResolverType: TargetResolverTypes;
|
@@ -156,7 +155,7 @@ export declare const useFeatureJourneyStore: () => {
|
|
156
155
|
isLastRequiredPermissionFeature: (featureDeactivated: VDataGridItemScopedSlot<FeatureInstance>) => void;
|
157
156
|
};
|
158
157
|
get: {
|
159
|
-
isLoading
|
158
|
+
isLoading(): boolean;
|
160
159
|
getFeaturesByCategory(category: string): FeatureInstanceDetails<FeatureInstance>[];
|
161
160
|
getConsentUrl(): string;
|
162
161
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DefineEmit } from "@omnia/fx/ux";
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { FlowEditorPluginSettings } from "@omnia/fx-models";
|
3
|
+
import { useFlowEditorStore } from "./stores/FlowEditorStore";
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
5
5
|
"emit:update:modelValue": (value: string) => void;
|
6
6
|
} & {
|
@@ -16,8 +16,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
|
16
16
|
} & {
|
17
17
|
edit?: boolean;
|
18
18
|
} & {
|
19
|
-
getApi?: (store: ReturnType<typeof
|
19
|
+
getApi?: (store: ReturnType<typeof useFlowEditorStore>) => void;
|
20
20
|
} & {
|
21
|
-
plugins?:
|
21
|
+
plugins?: FlowEditorPluginSettings[];
|
22
22
|
} & DefineEmit<"update:modelValue", (value: string) => true>>) => any;
|
23
23
|
export default _default;
|
package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/commands/EditorCommands.d.ts
RENAMED
@@ -1,15 +1,15 @@
|
|
1
|
-
import {
|
1
|
+
import { FlowContent, NodeSelection } from "../models/EditorModels";
|
2
2
|
export type builtIndataTypes = "text" | "formatting";
|
3
3
|
export declare function useEditorCommands(state: {
|
4
4
|
editor: HTMLDivElement;
|
5
5
|
selectedRange: Range;
|
6
6
|
maxNodeId: number;
|
7
|
-
editorContent:
|
7
|
+
editorContent: FlowContent;
|
8
8
|
nodeSelection: NodeSelection;
|
9
9
|
}): {
|
10
10
|
selection: {
|
11
11
|
get: {
|
12
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
12
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
13
13
|
};
|
14
14
|
};
|
15
15
|
actions: {
|
@@ -20,8 +20,9 @@ export declare function useEditorCommands(state: {
|
|
20
20
|
enter: () => void;
|
21
21
|
};
|
22
22
|
formatting: {
|
23
|
-
add: (element: HTMLElement
|
24
|
-
remove: (dataType: string) => void;
|
23
|
+
add: (element: HTMLElement) => void;
|
24
|
+
remove: (dataType: string | HTMLElement) => void;
|
25
|
+
has: (dataType: string | HTMLElement) => boolean;
|
25
26
|
};
|
26
27
|
element: {
|
27
28
|
add: (element: HTMLElement) => void;
|
@@ -39,11 +40,11 @@ export declare function useEditorCommands(state: {
|
|
39
40
|
};
|
40
41
|
editorNode: {
|
41
42
|
getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
|
42
|
-
getNodesInArrayByDataType: (nodes: Array<import("../models/EditorModels").
|
43
|
+
getNodesInArrayByDataType: (nodes: Array<import("../models/EditorModels").FlowNodeReference>, dataType: string) => Array<import("../models/EditorModels").FlowNodeReference>;
|
43
44
|
};
|
44
45
|
htmlNode: {
|
45
46
|
getNodeSelectionForRange: (range: Range) => NodeSelection;
|
46
|
-
removeNodes: (nodes2Remove: Array<import("../models/EditorModels").
|
47
|
+
removeNodes: (nodes2Remove: Array<import("../models/EditorModels").FlowNodeReference>, editor: HTMLElement) => void;
|
47
48
|
getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
|
48
49
|
surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
|
49
50
|
surroundContents: (element: HTMLElement, range: Range) => void;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { FlowNodeReference } from "../../models/EditorModels";
|
2
|
+
export declare function useEditorNodeHelper(): {
|
3
|
+
getTopNodeElementInEditor: (element: HTMLElement) => HTMLElement;
|
4
|
+
getNodesInArrayByDataType: (nodes: Array<FlowNodeReference>, dataType: string) => Array<FlowNodeReference>;
|
5
|
+
};
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { FlowNodeReference, NodeSelection } from "../../models/EditorModels";
|
2
2
|
export type builtIndataTypes = "text" | "formatting";
|
3
3
|
export declare function useHtmlNodeHelper(): {
|
4
4
|
getNodeSelectionForRange: (range: Range) => NodeSelection;
|
5
|
-
removeNodes: (nodes2Remove: Array<
|
5
|
+
removeNodes: (nodes2Remove: Array<FlowNodeReference>, editor: HTMLElement) => void;
|
6
6
|
getHtmlElementInStructureById: (id: number, currentElement: HTMLElement) => HTMLElement;
|
7
7
|
surroundSelectionWithElement: (element: HTMLElement, range: Range) => void;
|
8
8
|
surroundContents: (element: HTMLElement, range: Range) => void;
|
@@ -0,0 +1,21 @@
|
|
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
|
+
}
|
12
|
+
export interface FlowNodeReference {
|
13
|
+
type: string;
|
14
|
+
id: number;
|
15
|
+
element: HTMLElement;
|
16
|
+
}
|
17
|
+
export interface NodeSelection {
|
18
|
+
commonAncestorContainer: FlowNodeReference;
|
19
|
+
formatters: FlowNodeReference[];
|
20
|
+
nodes: FlowNodeReference[];
|
21
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { FlowEditorActionRegistration } from "@omnia/fx-models";
|
2
|
+
import { FlowNode } from "./EditorModels";
|
3
|
+
import { useFlowEditorStore } from "../stores/FlowEditorStore";
|
4
|
+
import { useFlowEditorToolbarStore } from "../stores/FlowEditorToolbarStore";
|
5
|
+
export interface FlowEditorPlugin {
|
6
|
+
name: string;
|
7
|
+
commands?: object;
|
8
|
+
actions?: Array<FlowEditorActionRegistration>;
|
9
|
+
}
|
10
|
+
export interface FlowRenderingContext {
|
11
|
+
parentElement: HTMLElement;
|
12
|
+
}
|
13
|
+
export interface FlowToHtmlContext {
|
14
|
+
node: FlowNode;
|
15
|
+
pluginContext: FlowEditorPluginContext;
|
16
|
+
renderingContext: FlowRenderingContext;
|
17
|
+
}
|
18
|
+
export interface FlowToJsonContext {
|
19
|
+
element: HTMLElement;
|
20
|
+
parent: FlowNode;
|
21
|
+
}
|
22
|
+
export interface FlowEditorContentPlugin extends FlowEditorPlugin {
|
23
|
+
toJSON: (context: FlowToJsonContext) => FlowNode;
|
24
|
+
toHtml: (context: FlowToHtmlContext) => HTMLElement;
|
25
|
+
}
|
26
|
+
export interface FlowEditorPluginContext {
|
27
|
+
componentCreator?: (componentDef: any, props: {}, el: HTMLElement) => void;
|
28
|
+
editorStore: ReturnType<typeof useFlowEditorStore>;
|
29
|
+
toolbarStore: ReturnType<typeof useFlowEditorToolbarStore>;
|
30
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { FlowEditorPlugin } from "../models/EditorPlugin";
|
2
|
+
import { FlowContent } from "../models/EditorModels";
|
3
|
+
export declare function useHtmlParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
plugins: Array<FlowEditorPlugin>;
|
6
|
+
}): {
|
7
|
+
toJSON: () => FlowContent;
|
8
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { FlowContent } from "../models/EditorModels";
|
2
|
+
import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
|
3
|
+
export declare function useJSONParser(state: {
|
4
|
+
editor: HTMLDivElement;
|
5
|
+
plugins: Array<FlowEditorPlugin>;
|
6
|
+
}, pluginContext: FlowEditorPluginContext): {
|
7
|
+
loadJSONToEditor: (editorContent: FlowContent) => any;
|
8
|
+
};
|
package/internal-do-not-import-from-here/ux/{markdown2 → floweditor}/plugins/DefineEditorPlugin.d.ts
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { SetupFactoryContext } from "@omnia/fx";
|
2
|
-
import {
|
2
|
+
import { FlowEditorContentPlugin, FlowEditorPlugin } from "../models/EditorPlugin";
|
3
3
|
interface SetupEditorPluginContext extends SetupFactoryContext {
|
4
4
|
}
|
5
|
-
export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) =>
|
5
|
+
export declare function defineEditorPlugin<TArgs extends any[]>(setup: (ctx: SetupEditorPluginContext) => FlowEditorPlugin | FlowEditorContentPlugin): () => FlowEditorPlugin & {
|
6
6
|
dispose?: () => void;
|
7
7
|
};
|
8
8
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ColorValue } from "@omnia/fx-models";
|
2
|
-
import {
|
3
|
-
export interface ColorFormatNode extends
|
2
|
+
import { FlowNode } from "../../models/EditorModels";
|
3
|
+
export interface ColorFormatNode extends FlowNode {
|
4
4
|
data: ColorValue;
|
5
5
|
}
|
6
6
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TypographyValue } from "@omnia/fx-models";
|
2
|
-
import {
|
3
|
-
export interface TypographyFormatNode extends
|
2
|
+
import { FlowNode } from "../../models/EditorModels";
|
3
|
+
export interface TypographyFormatNode extends FlowNode {
|
4
4
|
data: TypographyValue;
|
5
5
|
}
|
6
6
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{}>) => any;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { VelcronAppDefinition } from "@omnia/fx-models";
|
2
|
-
import {
|
3
|
-
export interface VelcronContentNode extends
|
2
|
+
import { FlowNode } from "../../models/EditorModels";
|
3
|
+
export interface VelcronContentNode extends FlowNode {
|
4
4
|
definition: VelcronAppDefinition;
|
5
5
|
}
|
6
|
-
export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").
|
6
|
+
export declare const velcronRendererPlugin: () => import("../../models/EditorPlugin").FlowEditorPlugin & {
|
7
7
|
dispose?: () => void;
|
8
8
|
};
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
export declare const
|
1
|
+
import { FlowEditorActionRegistration, FlowEditorPluginSettings } from "@omnia/fx-models";
|
2
|
+
import { FlowEditorPlugin, FlowEditorPluginContext } from "../models/EditorPlugin";
|
3
|
+
import { FlowContent, NodeSelection } from "../models/EditorModels";
|
4
|
+
export declare const useFlowEditorStore: () => {
|
5
5
|
state: {
|
6
|
-
editorContent:
|
7
|
-
plugins:
|
6
|
+
editorContent: FlowContent;
|
7
|
+
plugins: FlowEditorPlugin[];
|
8
8
|
hideToolbar: boolean;
|
9
9
|
editMode: boolean;
|
10
10
|
maxNodeId: number;
|
11
|
-
toolbarActions:
|
11
|
+
toolbarActions: FlowEditorActionRegistration[];
|
12
12
|
editor: HTMLDivElement;
|
13
13
|
nodeSelection: NodeSelection;
|
14
14
|
telePorts: JSX.Element[];
|
@@ -17,12 +17,12 @@ export declare const useMarkdownStore: () => {
|
|
17
17
|
showPlaceHolder: boolean;
|
18
18
|
};
|
19
19
|
events: {
|
20
|
-
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
21
|
-
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
20
|
+
onMutatedEditorContent: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowContent>;
|
21
|
+
onMutatedPlugins: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorPlugin[]>;
|
22
22
|
onMutatedHideToolbar: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
23
23
|
onMutatedEditMode: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
24
24
|
onMutatedMaxNodeId: import("@omnia/fx").MessageBusExposeOnlySubscription<number>;
|
25
|
-
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
25
|
+
onMutatedToolbarActions: import("@omnia/fx").MessageBusExposeOnlySubscription<FlowEditorActionRegistration[]>;
|
26
26
|
onMutatedEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<HTMLDivElement>;
|
27
27
|
onMutatedNodeSelection: import("@omnia/fx").MessageBusExposeOnlySubscription<NodeSelection>;
|
28
28
|
onMutatedTelePorts: import("@omnia/fx").MessageBusExposeOnlySubscription<JSX.Element[]>;
|
@@ -64,16 +64,16 @@ export declare const useMarkdownStore: () => {
|
|
64
64
|
plugin: {
|
65
65
|
subscribe(fn: (result: {
|
66
66
|
register: {
|
67
|
-
plugin: (pluginSettings:
|
68
|
-
plugins: (pluginSettings:
|
69
|
-
context: (ctx:
|
67
|
+
plugin: (pluginSettings: FlowEditorPluginSettings) => void;
|
68
|
+
plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
|
69
|
+
context: (ctx: FlowEditorPluginContext) => void;
|
70
70
|
};
|
71
71
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
72
72
|
};
|
73
73
|
content: {
|
74
74
|
subscribe(fn: (result: {
|
75
75
|
set: {
|
76
|
-
byJSON: (content:
|
76
|
+
byJSON: (content: FlowContent) => void;
|
77
77
|
byString: (content: string) => void;
|
78
78
|
};
|
79
79
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -89,7 +89,7 @@ export declare const useMarkdownStore: () => {
|
|
89
89
|
};
|
90
90
|
toolbarAction: {
|
91
91
|
subscribe(fn: (result: {
|
92
|
-
add: (action:
|
92
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
93
93
|
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
94
94
|
};
|
95
95
|
formatting: {
|
@@ -146,14 +146,14 @@ export declare const useMarkdownStore: () => {
|
|
146
146
|
} & {
|
147
147
|
plugin: () => {
|
148
148
|
register: {
|
149
|
-
plugin: (pluginSettings:
|
150
|
-
plugins: (pluginSettings:
|
151
|
-
context: (ctx:
|
149
|
+
plugin: (pluginSettings: FlowEditorPluginSettings) => void;
|
150
|
+
plugins: (pluginSettings: FlowEditorPluginSettings | FlowEditorPluginSettings[]) => Promise<void>;
|
151
|
+
context: (ctx: FlowEditorPluginContext) => void;
|
152
152
|
};
|
153
153
|
};
|
154
154
|
content: () => {
|
155
155
|
set: {
|
156
|
-
byJSON: (content:
|
156
|
+
byJSON: (content: FlowContent) => void;
|
157
157
|
byString: (content: string) => void;
|
158
158
|
};
|
159
159
|
};
|
@@ -161,7 +161,7 @@ export declare const useMarkdownStore: () => {
|
|
161
161
|
setEditorContainer: (el: HTMLDivElement) => void;
|
162
162
|
focusEditor: () => void;
|
163
163
|
toolbarAction: () => {
|
164
|
-
add: (action:
|
164
|
+
add: (action: FlowEditorActionRegistration | FlowEditorActionRegistration[]) => void;
|
165
165
|
};
|
166
166
|
formatting: () => {
|
167
167
|
add: (element: HTMLElement) => void;
|
@@ -180,10 +180,10 @@ export declare const useMarkdownStore: () => {
|
|
180
180
|
};
|
181
181
|
};
|
182
182
|
get: {
|
183
|
-
plugins:
|
184
|
-
hasContent: () => boolean;
|
183
|
+
plugins: FlowEditorPlugin[];
|
185
184
|
content: {
|
186
|
-
|
185
|
+
isEmpty: () => boolean;
|
186
|
+
asJSON: () => FlowContent;
|
187
187
|
asString: () => string;
|
188
188
|
};
|
189
189
|
selection: {
|
@@ -191,7 +191,7 @@ export declare const useMarkdownStore: () => {
|
|
191
191
|
dataType: (dataType: string) => boolean;
|
192
192
|
};
|
193
193
|
get: {
|
194
|
-
byDataType: (dataType: string) => import("../models/EditorModels").
|
194
|
+
byDataType: (dataType: string) => import("../models/EditorModels").FlowNodeReference[];
|
195
195
|
};
|
196
196
|
};
|
197
197
|
};
|