@omnia/fx 8.0.386-dev → 8.0.387-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/ComponentTypings.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/EditLocalizationBlade.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/stores/LocalizationAdminStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceprogressblade/AppInstanceProgressBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceCompletedStepVueComponent.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/store/BorderPickerStore.d.ts +32 -0
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStyleEditor.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.css.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaEditor.d.ts +11 -7
- package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/ContainerBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/store/FillPickerStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStyleEditor.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/aurora/components/input/InputBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/input/InputStyleEditor.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabStyleEditor.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeEditor.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyBlueprintsViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyEditor.d.ts +11 -7
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyPicker.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settingpicker/EnterprisePropertySettingPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/features/blades/FeatureHomeBlade.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/features/loc/localize.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.css.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +6 -5
- package/internal-do-not-import-from-here/ux/journey/SettingsJourneyMenu.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/journeyfilter/JourneyFilterDialog.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/journey/models/BladeInstance.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/journey/stores/JourneySelectStore.d.ts +10 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/jsonexportimport/ExportImport.d.ts +13 -3
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/mediapickerV2/mediaprovider/MediaProvider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/actionmenu/ActionMenu.d.ts +1 -11
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.stylex.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +10 -2
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/OTreeViewV3.d.ts +1 -1
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/renderers/SwatchRenderer.d.ts +0 -47
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker_old.d.ts +0 -0
package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyPicker.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { DefineSlot } from "@omnia/fx/ux";
|
2
2
|
import { TextBlueprint, ThemeContextType, TypographyValue } from "@omnia/fx-models";
|
3
3
|
import { VNode } from "vue";
|
4
|
+
import { PickerVariant } from "internal/fx/ux/oxide/picker/models/SharedSettings";
|
4
5
|
export type TypographyPickerTypes = "default" | "title" | "text";
|
5
6
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
7
|
"emit:update:modelValue": (value: TypographyValue) => void;
|
@@ -18,6 +19,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
18
19
|
textBlueprint?: TextBlueprint;
|
19
20
|
} & {
|
20
21
|
toned?: boolean;
|
22
|
+
} & {
|
23
|
+
variant?: PickerVariant;
|
21
24
|
} & {
|
22
25
|
label?: string;
|
23
26
|
} & {
|
@@ -32,5 +35,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
32
35
|
} & Omit<{
|
33
36
|
default?: import("vue").Slot;
|
34
37
|
}, "activator">;
|
35
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "type" | "label" | "modelValue" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "themeType" | "slot:activator" | "textBlueprint" | "customTyping" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
38
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "type" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "themeType" | "slot:activator" | "textBlueprint" | "customTyping" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
39
|
export default _default;
|
@@ -15,5 +15,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePr
|
|
15
15
|
} & Omit<{
|
16
16
|
default?: import("vue").Slot;
|
17
17
|
}, "selection">;
|
18
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "
|
18
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "slot:selection" | "emit:click:delete" | "emit:change" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems" | "allowDuplicate"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
19
19
|
export default _default;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { DefineEmit } from "@omnia/fx/ux";
|
2
2
|
import { guid } from "@omnia/fx-models";
|
3
|
+
import { FeatureFilters } from "./blades/FeatureHomeBlade";
|
3
4
|
export interface VDataGridHeader {
|
4
5
|
sortable: boolean;
|
5
6
|
text: string;
|
@@ -17,6 +18,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
17
18
|
idTeleport?: guid;
|
18
19
|
} & {
|
19
20
|
targetResolverType?: string;
|
21
|
+
} & {
|
22
|
+
featureFilters?: FeatureFilters;
|
20
23
|
} & DefineEmit<"handleFeatureAction", (action: string, featureId: guid) => true> & DefineEmit<"openConsentUrl", () => void> & DefineEmit<"travelToProperties", () => void>> & {
|
21
24
|
onHandleFeatureAction?: (action: string, featureId: guid) => any;
|
22
25
|
onOpenConsentUrl?: () => any;
|
@@ -25,5 +28,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
25
28
|
"v-slots"?: {} & Omit<{
|
26
29
|
default?: import("vue").Slot;
|
27
30
|
}, never>;
|
28
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appInstanceId" | "targetResolverType" | "idTeleport" | "emit:handleFeatureAction" | "emit:openConsentUrl" | "emit:travelToProperties"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appInstanceId" | "targetResolverType" | "idTeleport" | "featureFilters" | "emit:handleFeatureAction" | "emit:openConsentUrl" | "emit:travelToProperties"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
29
32
|
export default _default;
|
@@ -1,5 +1,13 @@
|
|
1
1
|
import { DefineEmit } from "@omnia/fx/ux";
|
2
2
|
import { guid } from "../../../models";
|
3
|
+
export interface FeatureFilters {
|
4
|
+
type?: string;
|
5
|
+
status?: StatusFilter;
|
6
|
+
}
|
7
|
+
interface StatusFilter {
|
8
|
+
key: string;
|
9
|
+
value?: number;
|
10
|
+
}
|
3
11
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
12
|
appInstanceId?: guid;
|
5
13
|
} & {
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { guid, IIcon } from "@omnia/fx-models";
|
1
|
+
import { ActionDefinition, guid, IIcon } from "@omnia/fx-models";
|
2
2
|
import { BladeContext, BladeContexts, BladeSizeTypes, BladeVariantTypes, ConfirmDialogOptions, DefineEmit, DefineProp, DefineSlot, useJourneyStore } from "@omnia/fx/ux";
|
3
3
|
import { Ref, VNodeChild } from "vue";
|
4
|
-
import { ActionDefinition } from "../oxide/actionmenu/ActionMenu";
|
5
4
|
export interface SwitchValue {
|
6
5
|
value: boolean;
|
7
6
|
label: string;
|
@@ -12,7 +11,7 @@ export interface DisabledButtonTooltips {
|
|
12
11
|
delete?: string;
|
13
12
|
remove?: string;
|
14
13
|
}
|
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<"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"> &
|
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<"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<"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<"click:confirm", () => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"changeFilter", () => true> & DefineEmit<"click:manageList", () => true>;
|
16
15
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBladeProps> & {
|
17
16
|
"onClick:cancel"?: (id: guid) => any;
|
18
17
|
"onClick:confirm"?: () => any;
|
@@ -21,13 +20,15 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBlade
|
|
21
20
|
"onClick:create"?: (id: guid) => any;
|
22
21
|
"onClick:add"?: (id: guid) => any;
|
23
22
|
"onClick:settings"?: (id: guid) => any;
|
23
|
+
onChangeFilter?: () => any;
|
24
24
|
"onClick:manageList"?: () => any;
|
25
25
|
} & {
|
26
26
|
"v-slots"?: {
|
27
27
|
actions?: () => VNodeChild;
|
28
28
|
actionsFooter?: () => VNodeChild;
|
29
|
+
filter?: () => VNodeChild;
|
29
30
|
} & Omit<{
|
30
31
|
default?: import("vue").Slot;
|
31
|
-
}, "actions" | "actionsFooter">;
|
32
|
-
} & {} & 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" | "getApi" | "searchable" | "manageList" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "
|
32
|
+
}, "filter" | "actions" | "actionsFooter">;
|
33
|
+
} & {} & 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" | "slot:filter" | "getApi" | "searchable" | "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:search" | "emit:changeFilter" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
33
34
|
export default _default;
|
@@ -21,5 +21,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
21
21
|
}> | ((ref: {
|
22
22
|
journeyStore: ReturnType<typeof useJourneyStore>;
|
23
23
|
}) => void);
|
24
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "ref" | "slot:item" | "
|
24
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "ref" | "slot:item" | "getApi" | "slot:append"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
25
25
|
export default _default;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { VNodeChild } from "vue";
|
2
|
+
import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
+
"emit:update:modelValue": (value: boolean) => void;
|
5
|
+
} & {
|
6
|
+
"v-model"?: boolean;
|
7
|
+
} & {
|
8
|
+
modelValue?: boolean;
|
9
|
+
} & DefineSlot<"filter", () => VNodeChild> & {
|
10
|
+
attach?: string;
|
11
|
+
} & DefineEmit<"applyFilter", () => true>> & {
|
12
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
13
|
+
onApplyFilter?: () => any;
|
14
|
+
} & {
|
15
|
+
"v-slots"?: {
|
16
|
+
filter?: () => VNodeChild;
|
17
|
+
} & Omit<{
|
18
|
+
default?: import("vue").Slot;
|
19
|
+
}, "filter">;
|
20
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "attach" | "v-model" | "emit:update:modelValue" | "slot:filter" | "emit:applyFilter"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
|
+
export default _default;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectItem, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
-
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, 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<"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<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineSlot<"selectionItemRender", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: any, index: number) => 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>;
|
3
|
+
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, 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<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineSlot<"selectionItemRender", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: any, index: number) => 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>;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps<any>> & {
|
5
5
|
"onUpdate:modelValue"?: (value: any) => any;
|
6
|
-
"onClick:delete"?: (item: any, index: number) => any;
|
7
6
|
"onClick:clear"?: () => any;
|
8
7
|
onSearch?: (searchText: string) => any;
|
9
8
|
"onClick:add"?: (item: any) => any;
|
9
|
+
"onClick:delete"?: (item: any, index: number) => any;
|
10
10
|
onShowAdd?: () => any;
|
11
11
|
onShowEdit?: (item: any, index: number) => any;
|
12
12
|
"onClick:update"?: (item: any, index: number) => any;
|
@@ -16,8 +16,9 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps<an
|
|
16
16
|
selectionRender?: () => VNodeChild;
|
17
17
|
selectedItemRenderer?: (item: JourneySelectItem<any>, index: number) => VNodeChild;
|
18
18
|
settingsRender?: (item: any, index: number) => VNodeChild;
|
19
|
+
actions?: () => VNodeChild;
|
19
20
|
} & Omit<{
|
20
21
|
default?: import("vue").Slot;
|
21
|
-
}, "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender">;
|
22
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "
|
22
|
+
}, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender">;
|
23
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "getApi" | "emit:click:add" | "emit:search" | "emit:click:clear" | "emit:click:delete" | "sortable" | "disableSave" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "titleAdd" | "titleEdit" | "disableSearch" | "confirmDelete" | "noAddConfirm" | "bladeless" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
23
24
|
export default _default;
|
@@ -20,12 +20,13 @@ export declare const useJourneySelectStore: () => {
|
|
20
20
|
selectionItemRender: (item: any, index: number, isSelected: boolean) => VNodeChild;
|
21
21
|
selectionRender: () => VNodeChild;
|
22
22
|
selectedItemRenderer: (item: any, index: number) => VNodeChild;
|
23
|
+
actionsRender: () => VNodeChild;
|
23
24
|
};
|
24
25
|
rules: {
|
25
26
|
externalStateHandling: () => boolean;
|
26
27
|
hasSelectionBlade: () => boolean;
|
27
28
|
hasSettingsBlade: () => boolean;
|
28
|
-
|
29
|
+
renderAsSingleSelectPicker: () => boolean;
|
29
30
|
searchable: () => boolean;
|
30
31
|
submitItemsOnSelection: () => boolean;
|
31
32
|
canEditItems: () => boolean;
|
@@ -38,6 +39,10 @@ export declare const useJourneySelectStore: () => {
|
|
38
39
|
searchText: string;
|
39
40
|
singelSelection: MenuState;
|
40
41
|
noSelectionHandling: boolean;
|
42
|
+
titles: {
|
43
|
+
addItem: string;
|
44
|
+
editItem: string;
|
45
|
+
};
|
41
46
|
items: {
|
42
47
|
all: JourneySelectItem<any>[];
|
43
48
|
filtered: JourneySelectItem<any>[];
|
@@ -69,6 +74,10 @@ export declare const useJourneySelectStore: () => {
|
|
69
74
|
searchText: string;
|
70
75
|
singelSelection: MenuState;
|
71
76
|
noSelectionHandling: boolean;
|
77
|
+
titles: {
|
78
|
+
addItem: string;
|
79
|
+
editItem: string;
|
80
|
+
};
|
72
81
|
items: {
|
73
82
|
all: JourneySelectItem<any>[];
|
74
83
|
filtered: JourneySelectItem<any>[];
|
@@ -87,10 +87,10 @@ export declare const useJourneyStore: () => {
|
|
87
87
|
isElementNameStillInView: (elementName: string) => boolean;
|
88
88
|
isElementIdStillInView: (elementId: string) => boolean;
|
89
89
|
scrollToStart: () => void;
|
90
|
-
scrollToElementId: (elementId: string, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
|
90
|
+
scrollToElementId: (elementId: string, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
91
91
|
scrollToElementName: (elementName: string, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
|
92
|
-
scrollToElement: (element: HTMLElement, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
|
93
|
-
scrollToSelector: (selector: string, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
|
92
|
+
scrollToElement: (element: HTMLElement, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
93
|
+
scrollToSelector: (selector: string, anchor?: import("@omnia/fx/ux").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
94
94
|
}>;
|
95
95
|
get: {
|
96
96
|
readonly coordinates: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
|
1
|
+
import { DefineEmit, DefineRef, DefineSlot } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
4
|
"emit:update:modelValue": (value: Object) => void;
|
@@ -8,7 +8,9 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
8
8
|
modelValue?: Object;
|
9
9
|
} & {
|
10
10
|
readOnly?: boolean;
|
11
|
-
} & DefineEmit<"click:import", (data: any) => void> & DefineSlot<"activator", () => VNodeChild
|
11
|
+
} & DefineEmit<"click:import", (data: any) => void> & DefineSlot<"activator", () => VNodeChild> & DefineRef<{
|
12
|
+
openDialog: () => void;
|
13
|
+
}>> & {
|
12
14
|
"onUpdate:modelValue"?: (value: Object) => any;
|
13
15
|
"onClick:import"?: (data: any) => any;
|
14
16
|
} & {
|
@@ -17,5 +19,13 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
17
19
|
} & Omit<{
|
18
20
|
default?: import("vue").Slot;
|
19
21
|
}, "activator">;
|
20
|
-
} & {
|
22
|
+
} & {
|
23
|
+
ref?: import("vue").Ref<{
|
24
|
+
openDialog: () => void;
|
25
|
+
}, {
|
26
|
+
openDialog: () => void;
|
27
|
+
}> | ((ref: {
|
28
|
+
openDialog: () => void;
|
29
|
+
}) => void);
|
30
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "ref" | "v-model" | "emit:update:modelValue" | "slot:activator" | "readOnly" | "emit:click:import"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
21
31
|
export default _default;
|
@@ -56,10 +56,10 @@ export declare class LayoutCanvasStore extends Store implements ILayoutCanvasSto
|
|
56
56
|
isElementNameStillInView: (elementName: string) => boolean;
|
57
57
|
isElementIdStillInView: (elementId: string) => boolean;
|
58
58
|
scrollToStart: () => void;
|
59
|
-
scrollToElementId: (elementId: string, anchor?: import("../../oxide").AnchorPosition) => void;
|
59
|
+
scrollToElementId: (elementId: string, anchor?: import("../../oxide").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
60
60
|
scrollToElementName: (elementName: string, anchor?: import("../../oxide").AnchorPosition) => void;
|
61
|
-
scrollToElement: (element: HTMLElement, anchor?: import("../../oxide").AnchorPosition) => void;
|
62
|
-
scrollToSelector: (selector: string, anchor?: import("../../oxide").AnchorPosition) => void;
|
61
|
+
scrollToElement: (element: HTMLElement, anchor?: import("../../oxide").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
62
|
+
scrollToSelector: (selector: string, anchor?: import("../../oxide").AnchorPosition, handler?: (target: HTMLElement, container: HTMLElement) => void) => void;
|
63
63
|
}>;
|
64
64
|
get: {
|
65
65
|
readonly coordinates: {
|
@@ -137,7 +137,7 @@ declare const _default: <TType extends MediaProviderTypes>(props: ExtractProps<{
|
|
137
137
|
welcomeMessage?: boolean;
|
138
138
|
} & {
|
139
139
|
infiniteScroll?: boolean;
|
140
|
-
} & DefineSlot<"search", () => VNodeChild, "Slot for custom search field."> & DefineSlot<"provider", () => VNodeChild, "The handle for providers including the logic for searching, selecting media, scaling image."> & DefineSlot<"filter", () => VNodeChild, "Slot for custom filter field.">)[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "type" | "searchable" | "slot:search" | "welcomeMessage" | "infiniteScroll" | "slot:provider" |
|
140
|
+
} & DefineSlot<"search", () => VNodeChild, "Slot for custom search field."> & DefineSlot<"provider", () => VNodeChild, "The handle for providers including the logic for searching, selecting media, scaling image."> & DefineSlot<"filter", () => VNodeChild, "Slot for custom filter field.">)[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "type" | "slot:filter" | "searchable" | "slot:search" | "welcomeMessage" | "infiniteScroll" | "slot:provider" | keyof (TType extends "image" ? {
|
141
141
|
handler: IMediaPickerProviderHandler;
|
142
142
|
} : {})> & import("@omnia/fx/ux").VNodeEvents) => any;
|
143
143
|
export default _default;
|
@@ -1,16 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { ActionDefinition, Spacing, SpacingValue } from "@omnia/fx-models";
|
2
2
|
import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
export interface ActionDefinition {
|
5
|
-
title: string;
|
6
|
-
description?: string;
|
7
|
-
separator?: boolean;
|
8
|
-
id?: string;
|
9
|
-
disabled?: boolean;
|
10
|
-
loading?: boolean;
|
11
|
-
icon: IIcon;
|
12
|
-
onClick?: () => void;
|
13
|
-
}
|
14
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
15
5
|
items?: ActionDefinition[];
|
16
6
|
} & {
|
@@ -10,6 +10,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
10
10
|
icon?: IIcon;
|
11
11
|
} & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row."> & DefineEmit<"click:navigation", (e: MouseEvent) => void> & {
|
12
12
|
drag?: boolean;
|
13
|
+
} & {
|
14
|
+
visibleActionColumn?: boolean;
|
13
15
|
} & {
|
14
16
|
headers?: DataTableHeader[];
|
15
17
|
} & {
|
@@ -24,5 +26,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
24
26
|
} & Omit<{
|
25
27
|
default?: import("vue").Slot;
|
26
28
|
}, "actions">;
|
27
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
29
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "visibleActionColumn" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
28
30
|
export default _default;
|
@@ -2,8 +2,8 @@ import { Future, IIcon, OContentHeight, ODialogBuiltinButtons, ODialogButtonInst
|
|
2
2
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
export * from "./Dialog.stylex";
|
5
|
-
type DialogLocation = "left" | "center" | "right";
|
6
|
-
type DialogProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", boolean, false, null, false, "The v-model of the component."> & DefineProp<"persistent", boolean, false, false, "Specify if the dialog is closed if clicked outside of the dialog."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts."> & DefineProp<"title", string, false, null, "Specify the title of the dialog."> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the dialog and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the dialog. This is almost mandatory and is used to hightlight the dialog context."> & DefineProp<"hiddenCloseButton", boolean, false, false, "Hide the close button of the dialog."> & DefineProp<"backButton", boolean, false, false, "I a back button is displayed to close the dialog."> & DefineProp<"size", ODialogSizes, false, "medium", "Specify the size of the dialog. Default is mediumsize."> & DefineProp<"variant", ODialogTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"contentHeight", OContentHeight, false, "static", "Sets the content responsive strategy for the dialog . With dynamic it will adapt to the content height. This should only be used with content that does not change size."> & DefineProp<"customScrolling", boolean, false, false, "Disables the default scrolling behavior of the dialog. This should be used when the dialog contains a custom scrollable element such as a o.tab or a component with custom scrollable requirements."> & DefineProp<"horizontalScroll", boolean, false, false, "Adds a horizontal scrollbar to the dialog. This should be used when the dialog contains a custom vertiacl scrollable element such as a <o-journey> or a component with custom scrollable requirements."> & DefineProp<"journey", boolean, false, false, "The dialog is a journey dialog where the header supports navigation."> & DefineProp<"canClose", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"canBack", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"buttonApi", (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void, false, null, "Function that can get reference to the buttons to control the state of them."> & DefineSlot<"fixedContent", () => VNodeChild> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"headerButtons", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"navigation", (apis: {
|
5
|
+
export type DialogLocation = "left" | "center" | "right";
|
6
|
+
type DialogProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", boolean, false, null, false, "The v-model of the component."> & DefineProp<"persistent", boolean, false, false, "Specify if the dialog is closed if clicked outside of the dialog."> & DefineProp<"eager", boolean, false, false, "Forces the component’s content to render when it mounts."> & DefineProp<"title", string, false, null, "Specify the title of the dialog."> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the dialog and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the dialog. This is almost mandatory and is used to hightlight the dialog context."> & DefineProp<"hiddenCloseButton", boolean, false, false, "Hide the close button of the dialog."> & DefineProp<"backButton", boolean, false, false, "I a back button is displayed to close the dialog."> & DefineProp<"size", ODialogSizes, false, "medium", "Specify the size of the dialog. Default is mediumsize."> & DefineProp<"attach", string, false, null, "Specifies which DOM element the overlay content should teleport to."> & DefineProp<"variant", ODialogTypes, false, "default", "Applies a distinct style to the component."> & DefineProp<"contentHeight", OContentHeight, false, "static", "Sets the content responsive strategy for the dialog . With dynamic it will adapt to the content height. This should only be used with content that does not change size."> & DefineProp<"customScrolling", boolean, false, false, "Disables the default scrolling behavior of the dialog. This should be used when the dialog contains a custom scrollable element such as a o.tab or a component with custom scrollable requirements."> & DefineProp<"horizontalScroll", boolean, false, false, "Adds a horizontal scrollbar to the dialog. This should be used when the dialog contains a custom vertiacl scrollable element such as a <o-journey> or a component with custom scrollable requirements."> & DefineProp<"journey", boolean, false, false, "The dialog is a journey dialog where the header supports navigation."> & DefineProp<"canClose", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"canBack", (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>, false, null, "Function that can control if the dialog is allowed to be closed. When the promise is resolved the dialog will close. If the promise is rejected the dialog will not close."> & DefineProp<"buttonApi", (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void, false, null, "Function that can get reference to the buttons to control the state of them."> & DefineSlot<"fixedContent", () => VNodeChild> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"headerButtons", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"navigation", (apis: {
|
7
7
|
hideNavigation: () => void;
|
8
8
|
showNavigation: () => void;
|
9
9
|
}) => VNodeChild> & DefineSlot<"header", () => VNodeChild> & DefineEmit<"click:close", () => void> & DefineEmit<"click:cancel", () => void> & DefineEmit<"click:confirm", () => void> & DefineEmit<"click:backButton", () => void> & DefineProp<"location", DialogLocation, false, "center", "Sets location of the dialog.">;
|
@@ -27,5 +27,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DialogProps>
|
|
27
27
|
} & Omit<{
|
28
28
|
default?: import("vue").Slot;
|
29
29
|
}, "navigation" | "actions" | "header" | "activator" | "fixedContent" | "headerButtons">;
|
30
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "size" | "class" | "persistent" | "eager" | "colorSchemaType" | "location" | "modelValue" | "slot:actions" | "colors" | "v-model" | "toned" | "journey" | "emit:update:modelValue" | "subTitle" | "hiddenCloseButton" | "backButton" | "contentHeight" | "customScrolling" | "horizontalScroll" | "canClose" | "canBack" | "buttonApi" | "slot:fixedContent" | "slot:activator" | "slot:headerButtons" | "slot:navigation" | "slot:header" | "emit:click:close" | "emit:click:cancel" | "emit:click:confirm" | "emit:click:backButton"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
30
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "size" | "class" | "persistent" | "eager" | "colorSchemaType" | "location" | "modelValue" | "attach" | "slot:actions" | "colors" | "v-model" | "toned" | "journey" | "emit:update:modelValue" | "subTitle" | "hiddenCloseButton" | "backButton" | "contentHeight" | "customScrolling" | "horizontalScroll" | "canClose" | "canBack" | "buttonApi" | "slot:fixedContent" | "slot:activator" | "slot:headerButtons" | "slot:navigation" | "slot:header" | "emit:click:close" | "emit:click:cancel" | "emit:click:confirm" | "emit:click:backButton"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
31
|
export default _default;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { useColorSchemaStore } from "@omnia/fx/ux";
|
2
2
|
import { ColorDefinition, ODialogTypes } from "@omnia/fx-models";
|
3
|
+
import { DialogLocation } from "./Dialog";
|
3
4
|
export declare const DialogStyles: {
|
4
5
|
templateTitle: Readonly<import("@omnia/fx/ux").StylexValue>;
|
5
6
|
titleWrapper: (dark: boolean) => Readonly<import("@omnia/fx/ux").StylexValue>;
|
@@ -12,4 +13,5 @@ export declare const DialogStyles: {
|
|
12
13
|
iconWrapper: (dark: boolean) => Readonly<import("@omnia/fx/ux").StylexValue>;
|
13
14
|
footerWrapper: (backgroundColor: ColorDefinition) => Readonly<import("@omnia/fx/ux").StylexValue>;
|
14
15
|
scroll(colors: ReturnType<typeof useColorSchemaStore>): Readonly<import("@omnia/fx/ux").StylexValue>;
|
16
|
+
getCssForRightLocationDialog(location: DialogLocation): import("@omnia/fx/ux").StylexValue;
|
15
17
|
};
|
@@ -1,8 +1,16 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
-
type ImageProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"aspectRatio", string | number, false, null, "The aspect ratio of the image."> & DefineProp<"src", string, false, null, "The image URL. This prop is mandatory."> & DefineProp<"height", number | string, false, null, "Sets the height for the component."> & DefineProp<"width", number | string, false, null, "Sets the height for the component."> & DefineProp<"cover", boolean, false, true, "Resizes the image to cover the entire container."> & DefineProp<"alt", string, false, "", "Alternate text for screen readers. Leave empty for decorative images."> & DefineProp<"maxWidth", number | string, false, null> & DefineProp<"maxHeight", number | string, false, null> & DefineProp<"placeholder", string, false, null, "The placeholder image to display while the main image is loading."> & DefineProp<"lazySrc", string, false, null, "The image to display while the main image is loading."> & DefineEmit<"load", (
|
3
|
+
type ImageProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"aspectRatio", string | number, false, null, "The aspect ratio of the image."> & DefineProp<"src", string, false, null, "The image URL. This prop is mandatory."> & DefineProp<"height", number | string, false, null, "Sets the height for the component."> & DefineProp<"width", number | string, false, null, "Sets the height for the component."> & DefineProp<"cover", boolean, false, true, "Resizes the image to cover the entire container."> & DefineProp<"alt", string, false, "", "Alternate text for screen readers. Leave empty for decorative images."> & DefineProp<"maxWidth", number | string, false, null> & DefineProp<"maxHeight", number | string, false, null> & DefineProp<"placeholder", string, false, null, "The placeholder image to display while the main image is loading."> & DefineProp<"lazySrc", string, false, null, "The image to display while the main image is loading."> & DefineEmit<"load", (info: {
|
4
|
+
naturalWidth: number;
|
5
|
+
naturalHeight: number;
|
6
|
+
image: HTMLElement;
|
7
|
+
}) => void> & DefineSlot<"placeholder", () => VNodeChild>;
|
4
8
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ImageProps> & {
|
5
|
-
onLoad?: (
|
9
|
+
onLoad?: (info: {
|
10
|
+
naturalWidth: number;
|
11
|
+
naturalHeight: number;
|
12
|
+
image: HTMLElement;
|
13
|
+
}) => any;
|
6
14
|
} & {
|
7
15
|
"v-slots"?: {
|
8
16
|
placeholder?: () => VNodeChild;
|
@@ -31,5 +31,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<OListItemPro
|
|
31
31
|
} & Omit<{
|
32
32
|
default?: import("vue").Slot;
|
33
33
|
}, "title" | "default" | "append" | "prepend" | "subtitle">;
|
34
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "active" | "class" | "disabled" | "colorSchemaType" | "colors" | "divider" | "
|
34
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "active" | "class" | "disabled" | "colorSchemaType" | "colors" | "divider" | "slot:title" | "slot:append" | "slot:prepend" | "subtitle" | "expandableHeight" | "selected" | "slot:default" | "slot:subtitle" | "emit:click:delete" | "emit:click:remove" | "emit:click:navigate" | "emit:click:select"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
35
35
|
export default _default;
|
@@ -3,7 +3,7 @@ import { InputBlueprint, MenuState } from "@omnia/fx/models";
|
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
import { PickerVariant } from "./models/SharedSettings";
|
5
5
|
import { usePickerStore } from "./stores/PickerStore";
|
6
|
-
type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant, false, "dropdown"> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"maxHeight", number, null, null, "Limit the max height of the dropdown"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild>;
|
6
|
+
type PickerProps = DefineVModel<"", MenuState> & DefineProp<"getApi", (store: ReturnType<typeof usePickerStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"class", String | String[]> & DefineProp<"variant", PickerVariant, false, "dropdown"> & DefineProp<"label", string, false, null, "Sets the label of the component."> & DefineProp<"text", string, false, null, "Sets the text of the component."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the control."> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineProp<"visibleOnContentClick", boolean, false, null, "Sets the component to disabled"> & DefineProp<"grid", boolean, false, null, "Sets the component to disabled"> & DefineProp<"disabled", boolean, false, null, "Sets the component to disabled"> & DefineProp<"clearable", boolean, false, null, "If a clear icon can be shown"> & DefineProp<"searchable", boolean, null, null, "A search box is displayed with the text value"> & DefineProp<"maxHeight", number, null, null, "Limit the max height of the dropdown"> & DefineProp<"isLoading", boolean, false, null, "Displays a loading indicator"> & DefineProp<"hasSelection", boolean | any, false, null, "If the component has selection or not. If true it will render the selection slot"> & DefineProp<"placeholder", string, false, null, "Sets the placeholder of the component. The placeholder is shown if there is no selection and displays select if empty"> & DefineProp<"toned", boolean, false, null, "Sets the component to disabled"> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"selectedItemRenderer", () => VNodeChild> & DefineSlot<"actions", () => VNodeChild>;
|
7
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps> & {
|
8
8
|
"onUpdate:modelValue"?: (value: MenuState) => any;
|
9
9
|
"onClick:clear"?: () => any;
|
@@ -12,8 +12,9 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps>
|
|
12
12
|
"v-slots"?: {
|
13
13
|
activator?: () => VNodeChild;
|
14
14
|
selectedItemRenderer?: () => VNodeChild;
|
15
|
+
actions?: () => VNodeChild;
|
15
16
|
} & Omit<{
|
16
17
|
default?: import("vue").Slot;
|
17
|
-
}, "activator" | "selectedItemRenderer">;
|
18
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "blueprint" | "grid" | "maxHeight" | "variant" | "class" | "label" | "disabled" | "modelValue" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "slot:activator" | "
|
18
|
+
}, "actions" | "activator" | "selectedItemRenderer">;
|
19
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "blueprint" | "grid" | "maxHeight" | "variant" | "class" | "label" | "disabled" | "modelValue" | "slot:actions" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "slot:activator" | "getApi" | "searchable" | "emit:search" | "emit:click:clear" | "clearable" | "visibleOnContentClick" | "isLoading" | "slot:selectedItemRenderer" | "hasSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
19
20
|
export default _default;
|
package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts
CHANGED
@@ -2,6 +2,7 @@ import { OScrollTypesCombination } from "@omnia/fx-models";
|
|
2
2
|
export declare const AnchorPositionValues: readonly ["start", "end"];
|
3
3
|
export type AnchorPosition = typeof AnchorPositionValues[number];
|
4
4
|
type Coordinates = Pick<DOMRect, "left" | "right" | "top" | "bottom">;
|
5
|
+
type HandlerScroll = (target: HTMLElement, container: HTMLElement) => void;
|
5
6
|
export declare const useScrollContainerStore: () => {
|
6
7
|
state: {
|
7
8
|
elementRef: HTMLElement;
|
@@ -31,10 +32,10 @@ export declare const useScrollContainerStore: () => {
|
|
31
32
|
isElementNameStillInView: (elementName: string) => boolean;
|
32
33
|
isElementIdStillInView: (elementId: string) => boolean;
|
33
34
|
scrollToStart: () => void;
|
34
|
-
scrollToElementId: (elementId: string, anchor?: AnchorPosition) => void;
|
35
|
+
scrollToElementId: (elementId: string, anchor?: AnchorPosition, handler?: HandlerScroll) => void;
|
35
36
|
scrollToElementName: (elementName: string, anchor?: AnchorPosition) => void;
|
36
|
-
scrollToElement: (element: HTMLElement, anchor?: AnchorPosition) => void;
|
37
|
-
scrollToSelector: (selector: string, anchor?: AnchorPosition) => void;
|
37
|
+
scrollToElement: (element: HTMLElement, anchor?: AnchorPosition, handler?: HandlerScroll) => void;
|
38
|
+
scrollToSelector: (selector: string, anchor?: AnchorPosition, handler?: HandlerScroll) => void;
|
38
39
|
}>;
|
39
40
|
get: {
|
40
41
|
readonly coordinates: Coordinates;
|
@@ -12,5 +12,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarProps
|
|
12
12
|
} & Omit<{
|
13
13
|
default?: import("vue").Slot;
|
14
14
|
}, "title" | "customButtons">;
|
15
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "colorSchemaType" | "closeButton" | "colors" | "toned" | "subTitle" | "backButton" | "emit:click:close" | "divider" | "
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "colorSchemaType" | "closeButton" | "colors" | "toned" | "subTitle" | "backButton" | "emit:click:close" | "divider" | "emit:click:back" | "slot:title" | "slot:customButtons"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
16
16
|
export default _default;
|
@@ -65,5 +65,5 @@ declare const _default: <T extends Object>(props: import("@omnia/fx/ux").Extract
|
|
65
65
|
} & Omit<{
|
66
66
|
default?: import("vue").Slot;
|
67
67
|
}, "title" | "prepend" | "appendInnerItem">;
|
68
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "padding" | "multiple" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "slot:
|
68
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "padding" | "multiple" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "slot:title" | "slot:prepend" | "itemTitle" | "itemChildren" | "expandOnSelection" | "batchChildrensDisplay" | "itemIcon" | "loadChildren" | "onMoveNode" | "checkNodeToMove" | "indentation" | "slot:appendInnerItem" | "emit:update:active" | "openAll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
69
69
|
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.387-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.387-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts
DELETED
File without changes
|