@omnia/fx 8.0.437-dev → 8.0.438-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.
@@ -34,8 +34,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
34
34
  } & {
35
35
  getApi?: (api: GroupDetailBladeApi) => void;
36
36
  } & DefineEmit<"save", () => void> & DefineEmit<"delete", () => void> & DefineSlot<"actions", () => VNodeChild>> & {
37
- onSave?: () => any;
38
37
  onDelete?: () => any;
38
+ onSave?: () => any;
39
39
  } & {
40
40
  "v-slots"?: {
41
41
  actions?: () => VNodeChild;
@@ -12,7 +12,7 @@ export interface DisabledButtonTooltips {
12
12
  remove?: string;
13
13
  commit?: string;
14
14
  }
15
- 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 | Ref<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 | Ref<boolean>, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"manageListText", string, false, null, "Customize the text for Manage List Button."> & 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<"add", boolean, false, false, "Specify if the blade should show a add button."> & DefineProp<"actions", ActionDefinition[], false, null, "Specify if the blade should show responsive actions. Useful for both mobile and desktop."> & 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<"eager", boolean, false, false, "Force the tab content to preload. This is useful if you have content that you want to be preloaded, instead of 'load on click' default behavior."> & DefineProp<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"sizeOnMobile", BladeSizeTypes, false, null, "Specify the size of the blade on mobile. Default full width on mobile view"> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"click:create", (id: guid) => true> & 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<"changeFilter", () => true> & DefineEmit<"closeFilter", () => true> & DefineEmit<"hidden", () => true> & DefineEmit<"click:manageList", () => true> & DefineProp<"commit", "create" | "save", false, null, "Specify the commit type, and a button with the specified type will be automatically generated in the footer. The default value is Save."> & DefineProp<"onCommit", () => boolean | Promise<boolean>, false, null, "Trigger when users commit the changes. Return true to close the blade.">;
15
+ 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<"searchable", boolean | Ref<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 | Ref<boolean>, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"manageListText", string, false, null, "Customize the text for Manage List Button."> & 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<"add", boolean, false, false, "Specify if the blade should show a add button."> & DefineProp<"actions", ActionDefinition[], false, null, "Specify if the blade should show responsive actions. Useful for both mobile and desktop."> & 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<"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<"eager", boolean, false, false, "Force the tab content to preload. This is useful if you have content that you want to be preloaded, instead of 'load on click' default behavior."> & DefineProp<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"sizeOnMobile", BladeSizeTypes, false, null, "Specify the size of the blade on mobile. Default full width on mobile view"> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"click:create", (id: guid) => true> & 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<"changeFilter", () => true> & DefineEmit<"closeFilter", () => true> & DefineEmit<"hidden", () => true> & DefineEmit<"click:manageList", () => true> & DefineProp<"commit", "create" | "save", false, null, "Specify the commit type, and a button with the specified type will be automatically generated in the footer. The default value is Save."> & DefineProp<"onCommit", () => boolean | Promise<boolean>, false, null, "Trigger when users commit the changes. Return true to close the blade.">;
16
16
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBladeProps> & {
17
17
  "onClick:cancel"?: (id: guid) => any;
18
18
  "onClick:back"?: (id: guid) => any;
@@ -32,5 +32,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBlade
32
32
  } & Omit<{
33
33
  default?: import("vue").Slot;
34
34
  }, "filter" | "actions" | "actionsFooter">;
35
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "actions" | "variant" | "size" | "add" | "delete" | "id" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "save" | "toned" | "subTitle" | "emit:click:cancel" | "searchable" | "slot:filter" | "emit:search" | "emit:closeFilter" | "getApi" | "manageList" | "manageListText" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:changeFilter" | "emit:hidden" | "emit:click:manageList" | "commit" | "onCommit"> & import("@omnia/fx/ux").VNodeEvents) => any;
35
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "actions" | "variant" | "size" | "add" | "delete" | "id" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "toned" | "subTitle" | "emit:click:cancel" | "searchable" | "slot:filter" | "emit:search" | "emit:closeFilter" | "getApi" | "manageList" | "manageListText" | "bladeContext" | "onOk" | "onRemove" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:changeFilter" | "emit:hidden" | "emit:click:manageList" | "commit" | "onCommit"> & import("@omnia/fx/ux").VNodeEvents) => any;
36
36
  export default _default;
@@ -14,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyMenuP
14
14
  } & Omit<{
15
15
  default?: import("vue").Slot;
16
16
  }, "selection" | "actionsFooter">;
17
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "size" | "id" | "items" | "loading" | "save" | "getApi" | "onSave" | "onSwitch" | "slot:actionsFooter" | "emit:valueChanged" | "slot:selection" | "emit:itemSelected"> & import("@omnia/fx/ux").VNodeEvents) => any;
17
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "size" | "id" | "items" | "loading" | "save" | "getApi" | "onSwitch" | "slot:actionsFooter" | "emit:valueChanged" | "onSave" | "slot:selection" | "emit:itemSelected"> & import("@omnia/fx/ux").VNodeEvents) => any;
18
18
  export default _default;
@@ -9,7 +9,6 @@ export interface BladeInstance {
9
9
  size: BladeSizeTypes;
10
10
  visible?: boolean;
11
11
  active?: boolean;
12
- disabledSaveButton?: boolean;
13
12
  disabledCommitButton?: boolean;
14
13
  changeFilter?: (value: any) => void;
15
14
  countFieldHasValue?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.437-dev",
4
+ "version": "8.0.438-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": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.437-dev",
23
+ "@omnia/fx-models": "8.0.438-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",