@omnia/fx 8.0.207-dev → 8.0.208-dev

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,9 @@
1
- import { ITokenRouterRegistration } from "@omnia/fx-models";
1
+ import { Future, ITokenRouterRegistration } from "@omnia/fx-models";
2
2
  export interface IInternalTokenRouterRegistration extends ITokenRouterRegistration {
3
+ ensureLoadManifestForPrefixToken(prefixToken: string): Future<void>;
3
4
  }
4
5
  export declare class TokenRouterRegistration implements IInternalTokenRouterRegistration {
5
6
  private tokens;
6
7
  registerPrefixToken(prefixToken: string): void;
7
- getAllPrefixTokens(): any[];
8
+ ensureLoadManifestForPrefixToken(prefixToken: string): Future<void>;
8
9
  }
@@ -34,6 +34,7 @@ export interface OmniaUxLocalization {
34
34
  ShowDetails: string;
35
35
  ShowMore: string;
36
36
  Reorder: string;
37
+ Confirm: string;
37
38
  };
38
39
  Yes: string;
39
40
  No: string;
@@ -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<"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<"reorder", 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<"search", (searchText: string) => true> & DefineEmit<"update:reorder", (enable: boolean) => 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<"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<"reorder", 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:reorder", () => true>;
15
15
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<JourneyBladeProps>) => {
16
16
  $: import("vue").ComponentInternalInstance;
17
17
  $data: {};
@@ -59,11 +59,12 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<J
59
59
  };
60
60
  } & {
61
61
  "onClick:cancel"?: (id: guid) => any;
62
+ "onClick:confirm"?: () => any;
62
63
  "onClick:back"?: (id: guid) => any;
63
64
  onSearch?: (searchText: string) => any;
64
65
  "onClick:add"?: (id: guid) => any;
65
66
  "onClick:settings"?: (id: guid) => any;
66
- "onUpdate:reorder"?: (enable: boolean) => any;
67
+ "onClick:reorder"?: () => any;
67
68
  } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "switch" | "icon" | "title" | "delete" | "id" | "size" | "disabled" | "settings" | "remove" | "variant" | "subTitle" | "create" | "ok" | "save" | "reorder" | "getApi" | "loading" | "searchable" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips">;
68
69
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
69
70
  [key: string]: any;
@@ -48,7 +48,7 @@ declare const _default: {
48
48
  type: import("vue").PropType<ButtonTooltipOptions>;
49
49
  };
50
50
  preset: {
51
- type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
51
+ type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "confirm" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
52
52
  };
53
53
  overrides: {
54
54
  type: import("vue").PropType<object>;
@@ -131,7 +131,7 @@ declare const _default: {
131
131
  type: import("vue").PropType<ButtonTooltipOptions>;
132
132
  };
133
133
  preset: {
134
- type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
134
+ type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "confirm" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
135
135
  };
136
136
  overrides: {
137
137
  type: import("vue").PropType<object>;
@@ -223,7 +223,7 @@ declare const _default: {
223
223
  type: import("vue").PropType<ButtonTooltipOptions>;
224
224
  };
225
225
  preset: {
226
- type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
226
+ type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "confirm" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
227
227
  };
228
228
  overrides: {
229
229
  type: import("vue").PropType<object>;
@@ -312,7 +312,7 @@ declare const _default: {
312
312
  type: import("vue").PropType<ButtonTooltipOptions>;
313
313
  };
314
314
  preset: {
315
- type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
315
+ type: import("vue").PropType<"select" | "cancel" | "close" | "delete" | "details" | "confirm" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
316
316
  };
317
317
  overrides: {
318
318
  type: import("vue").PropType<object>;
@@ -372,7 +372,7 @@ declare const _default: {
372
372
  grouped?: boolean;
373
373
  loading?: boolean;
374
374
  overrides?: object;
375
- preset?: "select" | "cancel" | "close" | "delete" | "details" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request";
375
+ preset?: "select" | "cancel" | "close" | "delete" | "details" | "confirm" | "settings" | "remove" | "retry" | "create" | "ok" | "save" | "reorder" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request";
376
376
  transparentHover?: boolean;
377
377
  stacked?: boolean;
378
378
  disableBlueprint?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.207-dev",
4
+ "version": "8.0.208-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.207-dev",
23
+ "@omnia/fx-models": "8.0.208-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",