@omnia/fx 8.0.292-dev → 8.0.293-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/internal-do-not-import-from-here/apis/ApiHelper.d.ts +2 -2
  2. package/internal-do-not-import-from-here/core/Extend.d.ts +1 -0
  3. package/internal-do-not-import-from-here/ux/flow/editor/FlowEditor.css.d.ts +2 -2
  4. package/internal-do-not-import-from-here/ux/flow/editor/plugins/colorstyle/ColorButton.d.ts +4 -0
  5. package/internal-do-not-import-from-here/ux/flow/editor/plugins/link/LinkButton.d.ts +4 -0
  6. package/internal-do-not-import-from-here/ux/flow/editor/plugins/spacing/SpacingButton.d.ts +4 -0
  7. package/internal-do-not-import-from-here/ux/flow/editor/plugins/typography/TypographyButton.d.ts +4 -0
  8. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorStore.d.ts +5 -1
  9. package/internal-do-not-import-from-here/ux/flow/editor/stores/FlowEditorToolbarStore.d.ts +20 -0
  10. package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.css.d.ts +2 -2
  11. package/internal-do-not-import-from-here/ux/flow/renderer/stores/FlowRendererStore.d.ts +5 -1
  12. package/internal-do-not-import-from-here/ux/{linkpicker → links}/LinkPicker.d.ts +2 -2
  13. package/internal-do-not-import-from-here/ux/{linkpicker → links}/LinkRenderer.d.ts +2 -2
  14. package/internal-do-not-import-from-here/ux/links/apis/InternalLinkProviderRegistrationApi.d.ts +5 -0
  15. package/internal-do-not-import-from-here/ux/{linkpicker → links}/store/LinkPickerStore.d.ts +16 -7
  16. package/internal-do-not-import-from-here/ux/models/linkpicker/LinkPickerRegistration.d.ts +5 -11
  17. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/LinkResolverEditor.d.ts +1 -1
  18. package/internal-do-not-import-from-here/wctypings.d.ts +2 -2
  19. package/package.json +2 -2
  20. package/internal-do-not-import-from-here/ux/linkpicker/apis/InternalLinkProviderRegistrationApi.d.ts +0 -5
  21. /package/internal-do-not-import-from-here/ux/{linkpicker → links}/LinkPicker.css.d.ts +0 -0
  22. /package/internal-do-not-import-from-here/ux/{linkpicker → links}/LinkRenderer.css.d.ts +0 -0
  23. /package/internal-do-not-import-from-here/ux/{linkpicker → links}/apis/InternalLinkHandlerRegistrationApi.d.ts +0 -0
  24. /package/internal-do-not-import-from-here/ux/{linkpicker → links}/apis/Registration.d.ts +0 -0
  25. /package/internal-do-not-import-from-here/ux/{linkpicker → links}/factory/LinkItemFactory.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- import { IExtendApiManifest, IExtendApiManifestWithConfiguration, LoadableBundleManifest } from "@omnia/fx-models";
1
+ import { Future, IExtendApiManifest, IExtendApiManifestWithConfiguration, LoadableBundleManifest } from "@omnia/fx-models";
2
2
  import { ExtendApiConfigurationManifest } from "../core/Extend";
3
3
  export declare class ApiHelper {
4
4
  private static _resolvableApiConfigs;
5
5
  static getExtendApiConfiguration<T>(api: ((extend: IExtendApiManifest) => IExtendApiManifestWithConfiguration<T>)): Promise<ExtendApiConfigurationManifest<T>[]>;
6
- static loadExtendApiManifest<T>(api: ((extend: IExtendApiManifest) => IExtendApiManifestWithConfiguration<T>), callback: (configs: ExtendApiConfigurationManifest<T>[]) => LoadableBundleManifest[]): Promise<void>;
6
+ static loadExtendApiManifest<T>(api: ((extend: IExtendApiManifest) => IExtendApiManifestWithConfiguration<T>), callback: (configs: ExtendApiConfigurationManifest<T>[]) => LoadableBundleManifest[]): Future<void>;
7
7
  /**
8
8
  * Check condition if manifest loadable with load rules
9
9
  * @param loadableBundleManifest
@@ -8,6 +8,7 @@ export declare function registerApi<T>(targetApi: ((extend: IExtend) => Promise<
8
8
  export declare namespace InternalExtend {
9
9
  function getApiPathString(exp: (extend: IExtend | IExtendApiManifest) => ApiPath | IExtendApiManifestWithConfiguration<any>): string;
10
10
  function getExtendApiConfiguration<T>(targetApi: (extend: IExtendApiManifest) => IExtendApiManifestWithConfiguration<T>): Promise<ExtendApiConfigurationManifest<T>[]>;
11
+ function resolveExtendApiManifests<T>(targetApi: (extend: IExtendApiManifest) => IExtendApiManifestWithConfiguration<T>, manifests: LoadableBundleManifest[]): Promise<void>;
11
12
  function extendApi<T, TConfiguration>(targetApi: ((extend: IExtend) => Promise<T>) | string, omniaServiceId: guid, omniaManifestId: guid, callback?: (api: T, configuration: TConfiguration) => void | Promise<void>): void;
12
13
  function initApiHub(): Future<void>;
13
14
  }
@@ -1,6 +1,6 @@
1
- import { ColorDefinition, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
1
+ import { ColorDefinition, SpacingValue, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
2
2
  import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
3
3
  export declare const flowEditorStyles: {
4
4
  placeholder: string;
5
- container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => string;
5
+ container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize, rowSpacing: SpacingValue) => string;
6
6
  };
@@ -23,6 +23,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
23
23
  };
24
24
  settings: {
25
25
  gridWidth: number;
26
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
27
+ textStyle: import("@omnia/fx-models").TextBlueprint;
26
28
  };
27
29
  };
28
30
  events: {
@@ -46,6 +48,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
46
48
  }>;
47
49
  onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
48
50
  gridWidth: number;
51
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
52
+ textStyle: import("@omnia/fx-models").TextBlueprint;
49
53
  }>;
50
54
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
51
55
  actions: {
@@ -23,6 +23,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
23
23
  };
24
24
  settings: {
25
25
  gridWidth: number;
26
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
27
+ textStyle: import("@omnia/fx-models").TextBlueprint;
26
28
  };
27
29
  };
28
30
  events: {
@@ -46,6 +48,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
46
48
  }>;
47
49
  onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
48
50
  gridWidth: number;
51
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
52
+ textStyle: import("@omnia/fx-models").TextBlueprint;
49
53
  }>;
50
54
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
51
55
  actions: {
@@ -23,6 +23,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
23
23
  };
24
24
  settings: {
25
25
  gridWidth: number;
26
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
27
+ textStyle: import("@omnia/fx-models").TextBlueprint;
26
28
  };
27
29
  };
28
30
  events: {
@@ -46,6 +48,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
46
48
  }>;
47
49
  onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
48
50
  gridWidth: number;
51
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
52
+ textStyle: import("@omnia/fx-models").TextBlueprint;
49
53
  }>;
50
54
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
51
55
  actions: {
@@ -23,6 +23,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
23
23
  };
24
24
  settings: {
25
25
  gridWidth: number;
26
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
27
+ textStyle: import("@omnia/fx-models").TextBlueprint;
26
28
  };
27
29
  };
28
30
  events: {
@@ -46,6 +48,8 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
46
48
  }>;
47
49
  onMutatedSettings: import("../../../../..").MessageBusExposeOnlySubscription<{
48
50
  gridWidth: number;
51
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
52
+ textStyle: import("@omnia/fx-models").TextBlueprint;
49
53
  }>;
50
54
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
51
55
  actions: {
@@ -1,4 +1,4 @@
1
- import { FlowEditorActionRegistration, FlowEditorPluginSettings, guid, Future } from "@omnia/fx-models";
1
+ import { FlowEditorActionRegistration, FlowEditorPluginSettings, guid, Future, SpacingValue, TextBlueprint } from "@omnia/fx-models";
2
2
  import { FlowEditorPlugin, FlowEditorPluginContext, NodeSelection } from "@omnia/fx/ux";
3
3
  import { FlowContent } from "@omnia/fx/ux";
4
4
  export declare const useFlowEditorStore: () => {
@@ -23,6 +23,8 @@ export declare const useFlowEditorStore: () => {
23
23
  };
24
24
  settings: {
25
25
  gridWidth: number;
26
+ rowSpacing: SpacingValue;
27
+ textStyle: TextBlueprint;
26
28
  };
27
29
  };
28
30
  events: {
@@ -46,6 +48,8 @@ export declare const useFlowEditorStore: () => {
46
48
  }>;
47
49
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
48
50
  gridWidth: number;
51
+ rowSpacing: SpacingValue;
52
+ textStyle: TextBlueprint;
49
53
  }>;
50
54
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
51
55
  actions: {
@@ -24,6 +24,8 @@ export declare const useFlowEditorToolbarStore: () => {
24
24
  };
25
25
  settings: {
26
26
  gridWidth: number;
27
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
28
+ textStyle: import("@omnia/fx-models").TextBlueprint;
27
29
  };
28
30
  };
29
31
  events: {
@@ -47,6 +49,8 @@ export declare const useFlowEditorToolbarStore: () => {
47
49
  }>;
48
50
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
49
51
  gridWidth: number;
52
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
53
+ textStyle: import("@omnia/fx-models").TextBlueprint;
50
54
  }>;
51
55
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
52
56
  actions: {
@@ -475,6 +479,8 @@ export declare const useFlowEditorToolbarStore: () => {
475
479
  };
476
480
  settings: {
477
481
  gridWidth: number;
482
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
483
+ textStyle: import("@omnia/fx-models").TextBlueprint;
478
484
  };
479
485
  };
480
486
  events: {
@@ -498,6 +504,8 @@ export declare const useFlowEditorToolbarStore: () => {
498
504
  }>;
499
505
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
500
506
  gridWidth: number;
507
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
508
+ textStyle: import("@omnia/fx-models").TextBlueprint;
501
509
  }>;
502
510
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
503
511
  actions: {
@@ -940,6 +948,8 @@ export declare const useFlowEditorToolbarStore: () => {
940
948
  };
941
949
  settings: {
942
950
  gridWidth: number;
951
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
952
+ textStyle: import("@omnia/fx-models").TextBlueprint;
943
953
  };
944
954
  };
945
955
  events: {
@@ -963,6 +973,8 @@ export declare const useFlowEditorToolbarStore: () => {
963
973
  }>;
964
974
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
965
975
  gridWidth: number;
976
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
977
+ textStyle: import("@omnia/fx-models").TextBlueprint;
966
978
  }>;
967
979
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
968
980
  actions: {
@@ -1405,6 +1417,8 @@ export declare const useFlowEditorToolbarStore: () => {
1405
1417
  };
1406
1418
  settings: {
1407
1419
  gridWidth: number;
1420
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
1421
+ textStyle: import("@omnia/fx-models").TextBlueprint;
1408
1422
  };
1409
1423
  };
1410
1424
  events: {
@@ -1428,6 +1442,8 @@ export declare const useFlowEditorToolbarStore: () => {
1428
1442
  }>;
1429
1443
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
1430
1444
  gridWidth: number;
1445
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
1446
+ textStyle: import("@omnia/fx-models").TextBlueprint;
1431
1447
  }>;
1432
1448
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
1433
1449
  actions: {
@@ -1870,6 +1886,8 @@ export declare const useFlowEditorToolbarStore: () => {
1870
1886
  };
1871
1887
  settings: {
1872
1888
  gridWidth: number;
1889
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
1890
+ textStyle: import("@omnia/fx-models").TextBlueprint;
1873
1891
  };
1874
1892
  };
1875
1893
  events: {
@@ -1893,6 +1911,8 @@ export declare const useFlowEditorToolbarStore: () => {
1893
1911
  }>;
1894
1912
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
1895
1913
  gridWidth: number;
1914
+ rowSpacing: import("@omnia/fx-models").SpacingValue;
1915
+ textStyle: import("@omnia/fx-models").TextBlueprint;
1896
1916
  }>;
1897
1917
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
1898
1918
  actions: {
@@ -1,5 +1,5 @@
1
- import { ColorDefinition, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
1
+ import { ColorDefinition, SpacingValue, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
2
2
  import { useColorSchemaStore, useTypographyBlueprintStore } from "@omnia/fx/ux";
3
3
  export declare const flowRendererStyles: {
4
- container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => string;
4
+ container: (color: ColorDefinition, colors: ReturnType<typeof useColorSchemaStore>, blueprints: ReturnType<typeof useTypographyBlueprintStore>, toned: boolean, textBlueprint: TextBlueprint, typography: TypographyTypes | TypographyType, size: TypographySizes | TypographySize, rowSpacing: SpacingValue) => string;
5
5
  };
@@ -1,4 +1,4 @@
1
- import { Future } from "@omnia/fx-models";
1
+ import { Future, SpacingValue, TextBlueprint } from "@omnia/fx-models";
2
2
  import { FlowRendererPlugin, FlowRendererPluginContext } from "../models";
3
3
  import { FlowContent } from "@omnia/fx/ux";
4
4
  export declare const useFlowRendererStore: () => {
@@ -12,6 +12,8 @@ export declare const useFlowRendererStore: () => {
12
12
  pluginsLoadedPromise: Future<void>;
13
13
  settings: {
14
14
  gridWidth: number;
15
+ rowSpacing: SpacingValue;
16
+ textStyle: TextBlueprint;
15
17
  };
16
18
  };
17
19
  events: {
@@ -24,6 +26,8 @@ export declare const useFlowRendererStore: () => {
24
26
  onMutatedPluginsLoadedPromise: import("@omnia/fx").MessageBusExposeOnlySubscription<Future<void>>;
25
27
  onMutatedSettings: import("@omnia/fx").MessageBusExposeOnlySubscription<{
26
28
  gridWidth: number;
29
+ rowSpacing: SpacingValue;
30
+ textStyle: TextBlueprint;
27
31
  }>;
28
32
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
29
33
  actions: {
@@ -1,4 +1,4 @@
1
- import { guid, LinkItem } from "@omnia/fx-models";
1
+ import { LinkItem, LinkProviderId } from "@omnia/fx-models";
2
2
  import { DefineEmit } from "@omnia/fx/ux";
3
3
  import "./LinkPicker.css";
4
4
  import { LinkPickerRegistration } from "@omnia/fx/ux";
@@ -22,7 +22,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
22
22
  } & {
23
23
  editMode?: boolean;
24
24
  } & {
25
- providerFilter?: guid[];
25
+ selectableProviders?: LinkProviderId[];
26
26
  } & {
27
27
  styles?: {
28
28
  toolbar?: import("typestyle/lib/types").NestedCSSProperties;
@@ -1,6 +1,6 @@
1
- import { DefineSlot, DefineVModel } from "@omnia/fx/ux";
1
+ import { DefineProp, DefineSlot, DefineVModel } from "@omnia/fx/ux";
2
2
  import { LinkItem } from "@omnia/fx-models";
3
3
  export type targetOpts = "_self" | "_target";
4
- export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineVModel<"", LinkItem>;
4
+ export type InternalLinkRender = DefineSlot<"renderer", (link: LinkItem) => void> & DefineVModel<"", LinkItem> & DefineProp<"hideTitle", boolean> & DefineProp<"disabled", boolean>;
5
5
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<InternalLinkRender>) => any;
6
6
  export default _default;
@@ -0,0 +1,5 @@
1
+ import { ILinkPickerRegistrationApi } from "@omnia/fx-models";
2
+ import { LinkPickerRegistration } from "@omnia/fx/ux";
3
+ export interface ILinkProviderRegistrationApiInternal extends ILinkPickerRegistrationApi {
4
+ getAllLinkPickers: () => LinkPickerRegistration[];
5
+ }
@@ -1,32 +1,41 @@
1
+ import { LinkItem } from "@omnia/fx-models";
1
2
  import { LinkPickerRegistration } from "@omnia/fx/ux";
2
3
  export declare const useLinkPickerStore: () => {
3
- state: {
4
- providers: LinkPickerRegistration[];
5
- };
6
- getters: {
7
- currentProvider: () => LinkPickerRegistration[];
8
- getProviders: (filters: string[]) => LinkPickerRegistration[];
4
+ get: {
5
+ readonly pickers: LinkPickerRegistration[];
6
+ link: LinkItem;
9
7
  };
10
8
  mutate: {
11
- providers: (value: LinkPickerRegistration[] | ((prev: LinkPickerRegistration[]) => LinkPickerRegistration[])) => void;
9
+ pickers: (value: LinkPickerRegistration[] | ((prev: LinkPickerRegistration[]) => LinkPickerRegistration[])) => void;
10
+ link: (value: LinkItem | ((prev: LinkItem) => LinkItem)) => void;
12
11
  };
13
12
  actions: {
14
13
  onDispatching: {
14
+ setLink: {
15
+ subscribe(fn: (link: LinkItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
16
+ };
15
17
  ensureLinkPickerProviders: {
16
18
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
17
19
  };
18
20
  };
19
21
  onDispatched: {
22
+ setLink: {
23
+ subscribe(fn: (result: void, link: LinkItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
24
+ };
20
25
  ensureLinkPickerProviders: {
21
26
  subscribe(fn: (result: LinkPickerRegistration[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
22
27
  };
23
28
  };
24
29
  onFailure: {
30
+ setLink: {
31
+ subscribe(fn: (failureReason: any, link: LinkItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
32
+ };
25
33
  ensureLinkPickerProviders: {
26
34
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
27
35
  };
28
36
  };
29
37
  } & {
38
+ setLink(link: LinkItem): void;
30
39
  ensureLinkPickerProviders(): Promise<LinkPickerRegistration[]>;
31
40
  };
32
41
  } & {
@@ -1,12 +1,12 @@
1
1
  import { IIcon } from "@omnia/fx/ux";
2
- import { ILinkPickerProvider } from "./ILinkPickerProvider";
3
- import { guid, LinkItem } from "@omnia/fx-models";
4
- export interface LinkPickerRegistration extends ILinkPickerProvider {
5
- id: guid;
2
+ import { guid, LinkItem, LinkProviderId } from "@omnia/fx-models";
3
+ export interface LinkPickerRegistration {
4
+ id: LinkProviderId;
6
5
  name: string;
7
6
  icon: IIcon;
8
- elementPickerToRender: string;
7
+ componentManifestToRender: guid;
9
8
  weight: number;
9
+ onSaved?: (link: LinkItem) => Promise<LinkItem>;
10
10
  /**
11
11
  * Provider use to handle onClick, href on <a> tag of Link item
12
12
  *
@@ -14,10 +14,4 @@ export interface LinkPickerRegistration extends ILinkPickerProvider {
14
14
  */
15
15
  handlerProviderId?: guid;
16
16
  getProviderProperties?: () => object;
17
- /**
18
- * Post process after link process is saved
19
- * @param link
20
- * @returns Promise result of link item
21
- */
22
- onSaved?: (link: LinkItem) => Promise<LinkItem>;
23
17
  }
@@ -1,5 +1,5 @@
1
1
  import { EditorLocation, LinkItem, VelcronLinkResolverEditorSettings } from "@omnia/fx-models";
2
2
  import { DefineProp, DefineVModel } from "@omnia/fx/ux";
3
- type LinkEditorProps = DefineProp<"location", EditorLocation> & DefineProp<"settings", VelcronLinkResolverEditorSettings> & DefineVModel<"", LinkItem[]>;
3
+ type LinkEditorProps = DefineProp<"location", EditorLocation> & DefineProp<"settings", VelcronLinkResolverEditorSettings> & DefineVModel<"", LinkItem>;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<LinkEditorProps>) => any;
5
5
  export default _default;
@@ -61,8 +61,8 @@ import wcd91fa8e10e3b4350bb158f9cbeace0e8 from './ux/journey/SettingsJourneyMenu
61
61
  import wc3392707566c844e39f57097aade4e81c from './ux/jsonexportimport/ExportImport';
62
62
  import wc20b4e8166fb44f2b8b240724eb5f2db2 from './ux/languagepicker/LanguagePicker';
63
63
  import wc6c2ac8bf4da44a2b8e544eaf5b42099f from './ux/limited-label/LimitedLabel';
64
- import wc9e7b4a48efba4dc390986eeb638b34cd from './ux/linkpicker/LinkPicker';
65
- import wc4892102894624a4ca84e67df764cbe93 from './ux/linkpicker/LinkRenderer';
64
+ import wc9e7b4a48efba4dc390986eeb638b34cd from './ux/links/LinkPicker';
65
+ import wc4892102894624a4ca84e67df764cbe93 from './ux/links/LinkRenderer';
66
66
  import wc106dba3f206e4ad7bbb28e574e3da49e from './ux/magiclink/MagicLinkLogin';
67
67
  import wc168b37eb8cbc4e46944cbf9a6a5e9063 from './ux/magiclink/MagicLinkSuccess';
68
68
  import wcd836de74ad894f4999e21046b1ba2cab from './ux/magiclink/MagicLinkFailure';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.292-dev",
4
+ "version": "8.0.293-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.292-dev",
23
+ "@omnia/fx-models": "8.0.293-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,5 +0,0 @@
1
- import { ILinkProviderRegistrationApi } from "@omnia/fx-models";
2
- import { LinkPickerRegistration } from "@omnia/fx/ux";
3
- export interface ILinkProviderRegistrationApiInternal extends ILinkProviderRegistrationApi {
4
- getAllLinkProviders: () => LinkPickerRegistration[];
5
- }