@omnia/fx 8.0.407-dev → 8.0.408-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/ux/identities/loc/Localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/journeyfilter/JourneyFilterDialog.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/journey/stores/JourneySelectStore.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +1 -1
- package/package.json +2 -2
@@ -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" | "id" | "delete" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "save" | "toned" | "subTitle" | "emit:click:cancel" | "emit:click:confirm" | "
|
35
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "actions" | "variant" | "size" | "add" | "id" | "delete" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "save" | "toned" | "subTitle" | "emit:click:cancel" | "emit:click:confirm" | "searchable" | "slot:filter" | "emit:search" | "emit:closeFilter" | "getApi" | "manageList" | "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"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
36
|
export default _default;
|
@@ -8,13 +8,13 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
8
8
|
searchable?: boolean | Ref<boolean, boolean>;
|
9
9
|
} & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"applyFilter", () => true> & DefineEmit<"closeFilter", () => true>> & {
|
10
10
|
onSearch?: (searchText: string) => any;
|
11
|
-
onCloseFilter?: () => any;
|
12
11
|
onApplyFilter?: () => any;
|
12
|
+
onCloseFilter?: () => any;
|
13
13
|
} & {
|
14
14
|
"v-slots"?: {
|
15
15
|
filter?: () => VNodeChild;
|
16
16
|
} & Omit<{
|
17
17
|
default?: import("vue").Slot;
|
18
18
|
}, "filter">;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "
|
19
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "heightDialog" | "countFieldHasValue" | "searchable" | "slot:filter" | "emit:search" | "emit:applyFilter" | "emit:closeFilter"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
20
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectItem, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
|
1
|
+
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectBladeElement, JourneySelectItem, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { ActionDefinition } from "@omnia/fx-models";
|
4
4
|
type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> & DefineProp<"getApi", (store: ReturnType<typeof useJourneySelectStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"items", Array<TItem>, false, null, "Items to select from"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"multiple", boolean, false, null, "If it is allowed to select multiple or single"> & DefineProp<"propertyValueMapping", JourneySelectPropertyMapping<TItem>, false, null, "Property value mappings"> & DefineProp<"returnSelectionAsObject", boolean, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value"> & DefineProp<"label", string, null, null, "The label of the component"> & DefineProp<"labelAdd", string, null, null, "The add label of the component"> & DefineProp<"titleAdd", string, null, null, "The add title of the add blade"> & DefineProp<"titleEdit", string, null, null, "The edit title of the edit blade"> & DefineProp<"disableSearch", boolean, false, null, "Disables the automatic search"> & DefineProp<"disableSave", boolean, false, null, "If it is allowed save"> & DefineProp<"sortable", boolean, false, null, "If it is allowed to sort"> & DefineProp<"readonly", boolean, false, null, "Disable add and delete"> & DefineProp<"list", boolean, false, null, "Always render the items as a list"> & DefineProp<"confirmDelete", boolean, false, null, "If you confirm before delete from the items"> & DefineProp<"noAddConfirm", boolean, false, null, "If items are added without a save button"> & DefineProp<"bladelessAdd", boolean, false, null, "If addis not a blade and only fires events"> & DefineProp<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineProp<"actions", ActionDefinition[], false, null, "Actions to display in the blade header of the selection blade"> & DefineProp<"itemSettingable", (item: TItem) => boolean, false, null, "Item has settings or not."> & DefineProp<"itemDeletable", (item: TItem) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"selectionItemRender", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRenderV2", (item: {
|
5
|
-
SettingsRenderer:
|
5
|
+
SettingsRenderer: JourneySelectBladeElement;
|
6
6
|
item: JourneySelectItem<any>;
|
7
7
|
index: number;
|
8
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>;
|
@@ -22,7 +22,7 @@ declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/u
|
|
22
22
|
selectedItemRenderer?: (item: JourneySelectItem<any>, index: number) => VNodeChild;
|
23
23
|
settingsRender?: (item: JourneySelectItem<any>, index: number) => VNodeChild;
|
24
24
|
settingsRenderV2?: (item: {
|
25
|
-
SettingsRenderer:
|
25
|
+
SettingsRenderer: JourneySelectBladeElement;
|
26
26
|
item: JourneySelectItem<any>;
|
27
27
|
index: number;
|
28
28
|
}) => VNodeChild;
|
@@ -30,5 +30,5 @@ declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/u
|
|
30
30
|
} & Omit<{
|
31
31
|
default?: import("vue").Slot;
|
32
32
|
}, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender" | "settingsRenderV2">;
|
33
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "actions" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "
|
33
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "actions" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "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;
|
34
34
|
export default _default;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { ActionDefinition, guid, MenuState } from "@omnia/fx-models";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
-
import { JourneySelectItem, JourneySelectPropertyMapping } from "@omnia/fx/ux";
|
3
|
+
import { ConstructComponentProps, JourneySelectItem, JourneySelectPropertyMapping, VNodeEvents } from "@omnia/fx/ux";
|
4
|
+
import { type JourneyBladeProps } from "../JourneyBlade";
|
5
|
+
export type JourneySelectBladeElement = (props: Omit<ConstructComponentProps<JourneyBladeProps>, "id" | "getApi" | "manageList"> & VNodeEvents) => any;
|
4
6
|
export declare const useJourneySelectStore: () => {
|
5
7
|
readonly settings: {
|
6
8
|
multiple: boolean;
|
@@ -18,7 +20,7 @@ export declare const useJourneySelectStore: () => {
|
|
18
20
|
readonly slots: {
|
19
21
|
settingsRender: (item: any, index: number) => VNodeChild;
|
20
22
|
settingsRenderV2: (item: {
|
21
|
-
SettingsRenderer:
|
23
|
+
SettingsRenderer: JourneySelectBladeElement;
|
22
24
|
item: JourneySelectItem<any>;
|
23
25
|
index: number;
|
24
26
|
}) => VNodeChild;
|
@@ -146,7 +148,7 @@ export declare const useJourneySelectStore: () => {
|
|
146
148
|
init(items: Array<any>, externalModel: Array<any> | any, renderingSlots: {
|
147
149
|
settingsRender: (item: any, index: number) => VNodeChild;
|
148
150
|
settingsRenderV2: (item: {
|
149
|
-
SettingsRenderer:
|
151
|
+
SettingsRenderer: JourneySelectBladeElement;
|
150
152
|
item: JourneySelectItem<any>;
|
151
153
|
index: number;
|
152
154
|
}) => VNodeChild;
|
@@ -16,5 +16,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps>
|
|
16
16
|
} & Omit<{
|
17
17
|
default?: import("vue").Slot;
|
18
18
|
}, "actions" | "activator" | "selectedItemRenderer">;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "label" | "blueprint" | "grid" | "maxHeight" | "actions" | "variant" | "class" | "disabled" | "modelValue" | "slot:actions" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "slot:activator" | "
|
19
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "label" | "blueprint" | "grid" | "maxHeight" | "actions" | "variant" | "class" | "disabled" | "modelValue" | "slot:actions" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "slot:activator" | "searchable" | "emit:search" | "getApi" | "emit:click:clear" | "clearable" | "visibleOnContentClick" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
20
|
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.
|
4
|
+
"version": "8.0.408-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.
|
23
|
+
"@omnia/fx-models": "8.0.408-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|