@omnia/fx 8.0.423-dev → 8.0.426-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.
@@ -30,6 +30,7 @@ export declare namespace UserManagementLocalization {
30
30
  Disabled: string;
31
31
  ErrorStartDateBiggerThanEndDate: string;
32
32
  ErrorEmptyValueWhenAccountIsTimeLimited: string;
33
+ EmptyUserAndGroup: string;
33
34
  FirstLoginTime: string;
34
35
  LastLoginTime: string;
35
36
  NotYetLoggedIn: string;
@@ -5,16 +5,13 @@ type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> &
5
5
  SettingsRenderer: JourneySelectBladeElement;
6
6
  item: JourneySelectItem<any>;
7
7
  index: number;
8
- }) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineEmit<"click:add", (item: Array<TItem> | TItem) => true> & DefineEmit<"click:update", (item: TItem, index: number) => true> & DefineEmit<"click:delete", (item: TItem, index: number) => true>;
8
+ }) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineProp<"onClickAdd", (item: Array<TItem> | TItem) => void | boolean | Promise<boolean>> & DefineProp<"onClickUpdate", (item: TItem, index: number) => void | boolean | Promise<boolean>> & DefineProp<"onClickDelete", (item: TItem, index: number) => void | boolean | Promise<boolean>>;
9
9
  declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
10
10
  "onUpdate:modelValue"?: (value: any) => any;
11
11
  "onClick:clear"?: () => any;
12
12
  onSearch?: (searchText: string) => any;
13
- "onClick:add"?: (item: TItem | TItem[]) => any;
14
- "onClick:delete"?: (item: TItem, index: number) => any;
15
13
  onShowAdd?: () => any;
16
14
  onShowEdit?: (item: TItem, index: number) => any;
17
- "onClick:update"?: (item: TItem, index: number) => any;
18
15
  } & {
19
16
  "v-slots"?: {
20
17
  selectionItemRender?: (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild;
@@ -30,5 +27,5 @@ declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/u
30
27
  } & Omit<{
31
28
  default?: import("vue").Slot;
32
29
  }, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender" | "settingsRenderV2">;
33
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "actions" | "multiple" | "list" | "colorSchemaType" | "toned" | "colors" | "emit:update:modelValue" | "modelValue" | "v-model" | "items" | "readonly" | "slot:actions" | "emit:search" | "getApi" | "emit:click:clear" | "emit:click:add" | "emit:click:delete" | "sortable" | "labelAdd" | "propertyValueMapping" | "returnSelectionAsObject" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "itemDeletable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "slot:settingsRenderV2" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
30
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "actions" | "multiple" | "list" | "colorSchemaType" | "toned" | "colors" | "emit:update:modelValue" | "modelValue" | "v-model" | "items" | "readonly" | "slot:actions" | "emit:search" | "getApi" | "emit:click:clear" | "sortable" | "labelAdd" | "propertyValueMapping" | "returnSelectionAsObject" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "itemDeletable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "slot:settingsRenderV2" | "emit:showAdd" | "emit:showEdit" | "onClickAdd" | "onClickUpdate" | "onClickDelete"> & import("@omnia/fx/ux").VNodeEvents) => any;
34
31
  export default _default;
@@ -1,7 +1,9 @@
1
- import { DefinePropTheming } from "@omnia/fx/ux";
2
- declare const _default: <T extends string | boolean>(props: import("@omnia/fx/ux").ExtractProps<DefinePropTheming> & {} & {
1
+ import { OSwitchesVariants } from "@omnia/fx-models";
2
+ import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
3
+ type SwitchProps<T> = DefinePropTheming & DefineProp<"variant", OSwitchesVariants, false, null, "Applies a distinct style to the component.">;
4
+ declare const _default: <T extends string | boolean>(props: import("@omnia/fx/ux").ExtractProps<SwitchProps<T_1>> & {} & {
3
5
  "v-slots"?: {} & Omit<{
4
6
  default?: import("vue").Slot;
5
7
  }, never>;
6
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
8
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
7
9
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.423-dev",
4
+ "version": "8.0.426-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.423-dev",
23
+ "@omnia/fx-models": "8.0.426-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",