@omnia/fx 8.0.383-dev → 8.0.385-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/services/SecurityService.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/DefineStore.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/system/submenu/customemail/loc/localize.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/app/management/tabs/namingpolicies/AffixRow.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ButtonsEditorStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts +475 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/renderers/SwatchRenderer.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/stores/ColorPickerStore.d.ts +48 -0
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/store/FillPickerStore.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +31 -0
- package/internal-do-not-import-from-here/ux/inputtoken/InputToken.d.ts +23 -30
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/SettingsJourneyMenu.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/journey/models/SettingsBladeRegistration.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +58 -1
- package/internal-do-not-import-from-here/ux/models/DataTable.d.ts +1 -13
- package/internal-do-not-import-from-here/ux/optionpicker/OptionPicker.d.ts +27 -79
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/CellRenderer.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +4 -26
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +4 -3
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.stylex.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/selection/SelectionComponent.d.ts +21 -21
- package/internal-do-not-import-from-here/ux/sitelogoicon/SiteLogoIcon.d.ts +9 -12
- package/internal-do-not-import-from-here/wctypings.d.ts +28 -0
- package/package.json +3 -3
@@ -1,32 +1,25 @@
|
|
1
|
-
import { VueComponentBase, IInputToken, InputTokenStyles } from "@omnia/fx/ux";
|
2
1
|
import "./InputToken.css";
|
3
|
-
|
4
|
-
styles?:
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
+
styles?: {
|
4
|
+
wordBreak?: import("typestyle/lib/types").NestedCSSProperties;
|
5
|
+
};
|
6
|
+
} & {
|
7
|
+
"emit:update:modelValue": (value: string) => void;
|
8
|
+
} & {
|
9
|
+
"v-model"?: string;
|
10
|
+
} & {
|
11
|
+
modelValue?: string;
|
12
|
+
} & {
|
13
|
+
class?: string | string[];
|
14
|
+
} & {
|
15
|
+
label?: string;
|
16
|
+
} & {
|
9
17
|
disabled?: boolean;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
private loadingTokens;
|
19
|
-
private openTokenPicker;
|
20
|
-
private triggeredLoadTokens;
|
21
|
-
private headers;
|
22
|
-
created(): void;
|
23
|
-
mounted(): void;
|
24
|
-
beforeDestroy(): void;
|
25
|
-
private ensureLoadTokens;
|
26
|
-
private handleChange;
|
27
|
-
private handleSelectToken;
|
28
|
-
private handleKeyUp;
|
29
|
-
private closePicker;
|
30
|
-
private renderTokenPicker;
|
31
|
-
render(): import("vue/jsx-runtime").JSX.Element;
|
32
|
-
}
|
18
|
+
}> & {
|
19
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
20
|
+
} & {
|
21
|
+
"v-slots"?: {} & Omit<{
|
22
|
+
default?: import("vue").Slot;
|
23
|
+
}, never>;
|
24
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "class" | "label" | "disabled" | "styles" | "modelValue" | "v-model" | "emit:update:modelValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
25
|
+
export default _default;
|
@@ -4,7 +4,7 @@ declare const _default: {
|
|
4
4
|
headerButtons: string;
|
5
5
|
headerIcon: string;
|
6
6
|
switchWrapper: string;
|
7
|
-
wrapper: (totalWidth: number, dark: boolean, compactMode: boolean) => string;
|
7
|
+
wrapper: (totalWidth: number, dark: boolean, compactMode: boolean, compactModeWidth?: number) => string;
|
8
8
|
fullScreenWrapper: string;
|
9
9
|
};
|
10
10
|
export default _default;
|
@@ -11,7 +11,7 @@ export interface DisabledButtonTooltips {
|
|
11
11
|
delete?: string;
|
12
12
|
remove?: string;
|
13
13
|
}
|
14
|
-
export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"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<"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."> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => 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<"click:manageList", () => true>;
|
14
|
+
export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"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<"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> & 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<"click:manageList", () => true>;
|
15
15
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBladeProps> & {
|
16
16
|
"onClick:cancel"?: (id: guid) => any;
|
17
17
|
"onClick:confirm"?: () => any;
|
@@ -28,5 +28,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBlade
|
|
28
28
|
} & Omit<{
|
29
29
|
default?: import("vue").Slot;
|
30
30
|
}, "actions" | "actionsFooter">;
|
31
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "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" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:search" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "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" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:search" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
32
32
|
export default _default;
|
@@ -4,14 +4,15 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
4
4
|
items?: SettingsJourneyMenuItem[] | Ref<SettingsJourneyMenuItem[], SettingsJourneyMenuItem[]>;
|
5
5
|
} & {
|
6
6
|
getApi?: (store: ReturnType<typeof useJourneyStore>) => void;
|
7
|
-
} & DefineSlot<"append", () => VNodeChild> & DefineRef<{
|
7
|
+
} & DefineSlot<"append", () => VNodeChild> & DefineSlot<"item", (item: SettingsJourneyMenuItem, index: Number) => VNodeChild> & DefineRef<{
|
8
8
|
journeyStore: ReturnType<typeof useJourneyStore>;
|
9
9
|
}>> & {} & {
|
10
10
|
"v-slots"?: {
|
11
11
|
append?: () => VNodeChild;
|
12
|
+
item?: (item: SettingsJourneyMenuItem, index: Number) => VNodeChild;
|
12
13
|
} & Omit<{
|
13
14
|
default?: import("vue").Slot;
|
14
|
-
}, "append">;
|
15
|
+
}, "item" | "append">;
|
15
16
|
} & {
|
16
17
|
ref?: Ref<{
|
17
18
|
journeyStore: ReturnType<typeof useJourneyStore>;
|
@@ -20,5 +21,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
20
21
|
}> | ((ref: {
|
21
22
|
journeyStore: ReturnType<typeof useJourneyStore>;
|
22
23
|
}) => void);
|
23
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "ref" | "getApi" | "slot:append"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
24
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "ref" | "slot:item" | "getApi" | "slot:append"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
24
25
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { guid } from "@omnia/fx-models";
|
2
2
|
import { type StoreEvents, type StoreReturnDefineAction } from "@omnia/fx/stores";
|
3
|
-
import { BladeInstance, defineBlade } from "@omnia/fx/ux";
|
3
|
+
import { BladeInstance, defineBlade, useScrollContainerStore } from "@omnia/fx/ux";
|
4
4
|
import { BladeSizeTypes } from "../models/Constants";
|
5
5
|
import { JourneyVariant } from "../Journey.css";
|
6
6
|
export type JourneyStore = ReturnType<typeof useJourneyStore>;
|
@@ -48,6 +48,62 @@ export type InternalJourneyStoreType = {
|
|
48
48
|
};
|
49
49
|
};
|
50
50
|
export declare const useJourneyStore: () => {
|
51
|
+
readonly scrollContainer: {
|
52
|
+
state: {
|
53
|
+
elementRef: HTMLElement;
|
54
|
+
elementId: string;
|
55
|
+
disableScrolling: boolean;
|
56
|
+
height: string;
|
57
|
+
width: string;
|
58
|
+
scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
|
59
|
+
coordinates: {
|
60
|
+
readonly bottom: number;
|
61
|
+
readonly left: number;
|
62
|
+
readonly right: number;
|
63
|
+
readonly top: number;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
events: StoreEvents<{
|
67
|
+
elementRef: HTMLElement;
|
68
|
+
elementId: string;
|
69
|
+
disableScrolling: boolean;
|
70
|
+
height: string;
|
71
|
+
width: string;
|
72
|
+
scrollingDirection: import("@omnia/fx-models").OScrollTypesCombination;
|
73
|
+
coordinates: {
|
74
|
+
readonly bottom: number;
|
75
|
+
readonly left: number;
|
76
|
+
readonly right: number;
|
77
|
+
readonly top: number;
|
78
|
+
};
|
79
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
80
|
+
actions: StoreReturnDefineAction<{
|
81
|
+
scroll: () => void;
|
82
|
+
calculateDynamicHeight: () => void;
|
83
|
+
setHeight: (height: string) => void;
|
84
|
+
setWidth: (width: string) => void;
|
85
|
+
setScrolling: (scrolling: import("@omnia/fx-models").OScrollTypesCombination) => void;
|
86
|
+
calculateScrollHeight: (referenceElementIds: string[]) => void;
|
87
|
+
isElementNameStillInView: (elementName: string) => boolean;
|
88
|
+
isElementIdStillInView: (elementId: string) => boolean;
|
89
|
+
scrollToStart: () => void;
|
90
|
+
scrollToElementId: (elementId: string, anchor?: import("@omnia/fx/ux").AnchorPosition) => void;
|
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;
|
94
|
+
}>;
|
95
|
+
get: {
|
96
|
+
readonly coordinates: {
|
97
|
+
readonly bottom: number;
|
98
|
+
readonly left: number;
|
99
|
+
readonly right: number;
|
100
|
+
readonly top: number;
|
101
|
+
};
|
102
|
+
readonly scrollPosition: number;
|
103
|
+
};
|
104
|
+
} & {
|
105
|
+
dispose?: () => void;
|
106
|
+
};
|
51
107
|
state: {
|
52
108
|
blades: Array<BladeInstance>;
|
53
109
|
bladeRenderers: Array<BladeRenderRegistration>;
|
@@ -81,6 +137,7 @@ export declare const useJourneyStore: () => {
|
|
81
137
|
movePrev(fromBladeId: guid): void;
|
82
138
|
travelTo(fromBladeId: guid, toBladeId: guid): void;
|
83
139
|
setActiveIndex(index: number): void;
|
140
|
+
setScrollContainer(store: ReturnType<typeof useScrollContainerStore>): void;
|
84
141
|
}>;
|
85
142
|
} & {
|
86
143
|
dispose?: () => void;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { TdHTMLAttributes, VNodeChild } from "vue";
|
1
|
+
import { TdHTMLAttributes } from "vue";
|
3
2
|
import { ConstructComponentProps } from "@omnia/fx/ux";
|
4
3
|
import { PublicDataTableRowProps } from "../oxide/datatable/RowRenderer";
|
5
4
|
export type SelectItemKey = boolean | string | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any);
|
@@ -20,17 +19,6 @@ export type DataTableHeader = {
|
|
20
19
|
};
|
21
20
|
export declare const RowVariant: readonly ["navigation", "default"];
|
22
21
|
export type RowVariantType = typeof RowVariant[number];
|
23
|
-
export interface IDataTableRowRenderer<T = any> {
|
24
|
-
value: T;
|
25
|
-
index: number;
|
26
|
-
classes(classes: string): Omit<IDataTableRowRenderer, "classes">;
|
27
|
-
disableNavigation(): any;
|
28
|
-
select(selected: boolean): Omit<IDataTableRowRenderer, "select">;
|
29
|
-
onClick(callback: () => void): Omit<IDataTableRowRenderer, "onClick">;
|
30
|
-
addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
31
|
-
addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
32
|
-
addIcon(icon: IIcon): any;
|
33
|
-
}
|
34
22
|
export interface IDataTableRow<T = any> {
|
35
23
|
value: T;
|
36
24
|
index: number;
|
@@ -1,80 +1,28 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
options: import("vue").Prop<object[], object[]>;
|
29
|
-
optionValue: import("vue").Prop<string, string>;
|
30
|
-
optionText: import("vue").Prop<string, string>;
|
31
|
-
valueBind: import("vue").Prop<any[], any[]>;
|
32
|
-
onValueChanged: import("vue").Prop<(value: any[]) => void, (value: any[]) => void>;
|
33
|
-
required: import("vue").Prop<boolean, boolean>;
|
34
|
-
hideDetails: import("vue").Prop<boolean, boolean>;
|
35
|
-
onVnodeBeforeMount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
36
|
-
onVnodeMounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
37
|
-
onVnodeBeforeUpdate?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
38
|
-
onVnodeUpdated?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
39
|
-
onVnodeBeforeUnmount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
40
|
-
onVnodeUnmounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
41
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
42
|
-
__isFragment?: never;
|
43
|
-
__isTeleport?: never;
|
44
|
-
__isSuspense?: never;
|
45
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
46
|
-
title: import("vue").Prop<string, string>;
|
47
|
-
multipleChoice: import("vue").Prop<boolean, boolean>;
|
48
|
-
options: import("vue").Prop<object[], object[]>;
|
49
|
-
optionValue: import("vue").Prop<string, string>;
|
50
|
-
optionText: import("vue").Prop<string, string>;
|
51
|
-
valueBind: import("vue").Prop<any[], any[]>;
|
52
|
-
onValueChanged: import("vue").Prop<(value: any[]) => void, (value: any[]) => void>;
|
53
|
-
required: import("vue").Prop<boolean, boolean>;
|
54
|
-
hideDetails: import("vue").Prop<boolean, boolean>;
|
55
|
-
onVnodeBeforeMount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
56
|
-
onVnodeMounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
57
|
-
onVnodeBeforeUpdate?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
58
|
-
onVnodeUpdated?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
59
|
-
onVnodeBeforeUnmount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
60
|
-
onVnodeUnmounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
61
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
62
|
-
propsDefinition: Omit<Readonly<{} & {
|
63
|
-
title?: string;
|
64
|
-
options?: object[];
|
65
|
-
required?: boolean;
|
66
|
-
valueBind?: any[];
|
67
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
68
|
-
onVnodeMounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
69
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
|
70
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
|
71
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
72
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
73
|
-
hideDetails?: boolean;
|
74
|
-
onValueChanged?: (value: any[]) => void;
|
75
|
-
multipleChoice?: boolean;
|
76
|
-
optionValue?: string;
|
77
|
-
optionText?: string;
|
78
|
-
}>, never>;
|
79
|
-
};
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
2
|
+
title?: string;
|
3
|
+
} & {
|
4
|
+
multipleChoice?: boolean;
|
5
|
+
} & {
|
6
|
+
options?: object[];
|
7
|
+
} & {
|
8
|
+
optionValue?: string;
|
9
|
+
} & {
|
10
|
+
optionText?: string;
|
11
|
+
} & {
|
12
|
+
"emit:update:modelValue": (value: any[]) => void;
|
13
|
+
} & {
|
14
|
+
"v-model"?: any[];
|
15
|
+
} & {
|
16
|
+
modelValue?: any[];
|
17
|
+
} & {
|
18
|
+
required?: boolean;
|
19
|
+
} & {
|
20
|
+
hideDetails?: boolean;
|
21
|
+
}> & {
|
22
|
+
"onUpdate:modelValue"?: (value: any[]) => any;
|
23
|
+
} & {
|
24
|
+
"v-slots"?: {} & Omit<{
|
25
|
+
default?: import("vue").Slot;
|
26
|
+
}, never>;
|
27
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "options" | "required" | "modelValue" | "hideDetails" | "v-model" | "emit:update:modelValue" | "multipleChoice" | "optionValue" | "optionText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
80
28
|
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { ButtonIconOptions, OOxideButtonPresets, ButtonTooltipOptions, OSizeTypes, OIconAnimations, ButtonBlueprint, OButtonVariants } from "@omnia/fx-models";
|
1
|
+
import { ButtonIconOptions, OOxideButtonPresets, ButtonTooltipOptions, OSizeTypes, OIconAnimations, ButtonBlueprint, OButtonVariants, ButtonBlueprintVariant } from "@omnia/fx-models";
|
2
2
|
import { DefinePropTheming, DefineProp } from "@omnia/fx/ux";
|
3
|
-
type ButtonProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"icon", ButtonIconOptions, false, null, "The icon to be displayed."> & DefineProp<"text", string, false, null, "Specifies the text to display on the button."> & DefineProp<"href", string, false, null, "Designates the component as anchor and applies the href attribute."> & DefineProp<"target", "_blank" | "_self" | "_parent" | "_top" | "framename", false, null, "The target attribute specifies where to open the linked document."> & DefineProp<"variant", OButtonVariants, false, null, "Applies a distinct style to the component. Prominent should be used for call to action. Toolbar will create a transparent button to be used in toolbars."> & DefineProp<"overrides", object, false, null, "Sets the icon to display on the button. If no text is provided the button will be displayed as an icon button."> & DefineProp<"preset", OOxideButtonPresets, false, null, "Sets the default values of the button to the specified preset."> & DefineProp<"tooltip", ButtonTooltipOptions, false, null, "Sets tooltip to display when hovering the button."> & DefineProp<"size", OSizeTypes, false, null, "Sets the size of the button."> & DefineProp<"grouped", boolean, false, false, "Adds spacing to the left of the button to group it with other buttons. Should be used when more than one button is displayed."> & DefineProp<"toned", boolean, false, false, "Applies a toned background to the button. Should be used when the button is displayed on a colored background."> & DefineProp<"transparentHover", boolean, false, false, "Makes the button transparent and no hover effect."> & DefineProp<"active", boolean, false, false, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar. Can either be a String which specifies which color is applied to the progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"block", boolean, false, false, "Block buttons extend the full width of their container. This is useful for creating buttons that span the full width of a card or dialog."> & DefineProp<"stacked", boolean, false, false, "Displays the button as a column with the icon on top."> & DefineProp<"disableBlueprint", boolean, false, false, "Disables the blueprint and use properties instead."> & DefineProp<"animation", OIconAnimations, false, null, "Sets the animation on the icon when hovering the button."> & DefineProp<"blueprint", ButtonBlueprint, false, null, "Sets a custom blueprint for the button.">;
|
3
|
+
type ButtonProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"icon", ButtonIconOptions, false, null, "The icon to be displayed."> & DefineProp<"text", string, false, null, "Specifies the text to display on the button."> & DefineProp<"href", string, false, null, "Designates the component as anchor and applies the href attribute."> & DefineProp<"target", "_blank" | "_self" | "_parent" | "_top" | "framename", false, null, "The target attribute specifies where to open the linked document."> & DefineProp<"variant", OButtonVariants, false, null, "Applies a distinct style to the component. Prominent should be used for call to action. Toolbar will create a transparent button to be used in toolbars."> & DefineProp<"overrides", object, false, null, "Sets the icon to display on the button. If no text is provided the button will be displayed as an icon button."> & DefineProp<"preset", OOxideButtonPresets, false, null, "Sets the default values of the button to the specified preset."> & DefineProp<"tooltip", ButtonTooltipOptions, false, null, "Sets tooltip to display when hovering the button."> & DefineProp<"size", OSizeTypes, false, null, "Sets the size of the button."> & DefineProp<"grouped", boolean, false, false, "Adds spacing to the left of the button to group it with other buttons. Should be used when more than one button is displayed."> & DefineProp<"toned", boolean, false, false, "Applies a toned background to the button. Should be used when the button is displayed on a colored background."> & DefineProp<"transparentHover", boolean, false, false, "Makes the button transparent and no hover effect."> & DefineProp<"active", boolean, false, false, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar. Can either be a String which specifies which color is applied to the progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"block", boolean, false, false, "Block buttons extend the full width of their container. This is useful for creating buttons that span the full width of a card or dialog."> & DefineProp<"stacked", boolean, false, false, "Displays the button as a column with the icon on top."> & DefineProp<"disableBlueprint", boolean, false, false, "Disables the blueprint and use properties instead."> & DefineProp<"animation", OIconAnimations, false, null, "Sets the animation on the icon when hovering the button."> & DefineProp<"blueprint", ButtonBlueprint | ButtonBlueprintVariant, false, null, "Sets a custom blueprint for the button.">;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ButtonProps> & {} & {
|
5
5
|
"v-slots"?: {} & Omit<{
|
6
6
|
default?: import("vue").Slot;
|
@@ -6,7 +6,7 @@ export declare enum ColorType {
|
|
6
6
|
CorporateColor = 3,
|
7
7
|
CustomColor = 4
|
8
8
|
}
|
9
|
-
type ColorPickerVariant = "default" | "blade";
|
9
|
+
type ColorPickerVariant = "default" | "blade" | "virtual-list";
|
10
10
|
type ColorPickerProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", string, false, null, false, "The v-model of the component."> & DefineProp<"variant", ColorPickerVariant, false, null, "The variant of the color picker."> & DefineProp<"label", string, false, null, "Specifies the label to display on the component."> & DefineProp<"labelColor", string, false, null, "Specifies the color of the label."> & DefineProp<"selectedColorAsLabel", boolean, false, false, "Displays the selected color on the label."> & DefineProp<"show", boolean, false, false, "Control show/hide of the color picker."> & DefineProp<"disabled", boolean, false, false, "Removed the ability to interact with the component."> & DefineSlot<"activator", () => VNodeChild>;
|
11
11
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ColorPickerProps> & {
|
12
12
|
"onUpdate:modelValue"?: (value: string) => any;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
2
|
+
columnName?: string;
|
3
|
+
}> & {} & {
|
4
|
+
"v-slots"?: {} & Omit<{
|
5
|
+
default?: import("vue").Slot;
|
6
|
+
}, never>;
|
7
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "columnName"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
|
+
export default _default;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow,
|
1
|
+
import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
export type DataTableOptions = {
|
4
4
|
page: number;
|
5
5
|
itemsPerPage: number;
|
6
6
|
sortBy: SortItem[];
|
7
7
|
};
|
8
|
-
export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, true, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, true, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"
|
8
|
+
export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, true, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, true, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<"top", () => VNodeChild> & DefineSlot<"expanded-row", (e: {
|
9
9
|
item: T;
|
10
10
|
}) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
11
11
|
item: T;
|
@@ -27,7 +27,7 @@ declare const _default: <TItem extends unknown, TVariant extends "default" | "cl
|
|
27
27
|
"v-slots"?: (DataTableProps<TItem, TVariant> extends infer T_3 ? { [K_3 in keyof T_3 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never) & Omit<{
|
28
28
|
default?: import("vue").Slot;
|
29
29
|
}, keyof (DataTableProps<TItem, TVariant> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never)>;
|
30
|
-
} & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "drag" | "class" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "loading" | "hover" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "
|
30
|
+
} & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "drag" | "class" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "loading" | "hover" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
|
31
31
|
itemHeight?: string | number;
|
32
32
|
} : TVariant extends "client-pagination-page" ? ClientPaginationPageProps<TItem_1> : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? ServerPaginationScrollProps<TItem> : DefaultProps)> & import("@omnia/fx/ux").VNodeEvents) => any;
|
33
33
|
export default _default;
|
@@ -1,30 +1,6 @@
|
|
1
1
|
import { IIcon } from "@omnia/fx-models";
|
2
|
-
import { DefineEmit, DefineProp, DefineSlot
|
2
|
+
import { DataTableHeader, DefineEmit, DefineProp, DefineSlot } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
export declare class DataTableRowRenderer implements IDataTableRowRenderer {
|
5
|
-
value: any;
|
6
|
-
index: any;
|
7
|
-
cells: Array<{
|
8
|
-
node: VNodeChild;
|
9
|
-
colSpan: number;
|
10
|
-
classes?: string;
|
11
|
-
styles?: string;
|
12
|
-
}>;
|
13
|
-
icon: IIcon;
|
14
|
-
actions: Array<VNodeChild>;
|
15
|
-
click: () => void;
|
16
|
-
preselect: any;
|
17
|
-
navigation: boolean;
|
18
|
-
cssRowClasses: string;
|
19
|
-
constructor(value: any, index: any);
|
20
|
-
select(selected: boolean): this;
|
21
|
-
classes(classes: string): this;
|
22
|
-
onClick(callback: () => void): this;
|
23
|
-
disableNavigation(): this;
|
24
|
-
addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
25
|
-
addIcon(icon: IIcon): void;
|
26
|
-
addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
27
|
-
}
|
28
4
|
export type PublicDataTableRowProps = DefineProp<"active", boolean, false, false> & DefineProp<"remove", boolean, false, false> & DefineProp<"icon", IIcon> & 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.">;
|
29
5
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
30
6
|
active?: boolean;
|
@@ -34,6 +10,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
34
10
|
icon?: IIcon;
|
35
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> & {
|
36
12
|
drag?: boolean;
|
13
|
+
} & {
|
14
|
+
headers?: DataTableHeader[];
|
37
15
|
} & {
|
38
16
|
draggableIcon?: () => VNodeChild;
|
39
17
|
}> & {
|
@@ -46,5 +24,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
46
24
|
} & Omit<{
|
47
25
|
default?: import("vue").Slot;
|
48
26
|
}, "actions">;
|
49
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
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;
|
50
28
|
export default _default;
|
@@ -3,15 +3,16 @@ import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel } f
|
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
export * from "./Dialog.stylex";
|
5
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<"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: {
|
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: {
|
7
7
|
hideNavigation: () => void;
|
8
8
|
showNavigation: () => void;
|
9
|
-
}) => VNodeChild> & DefineSlot<"header", () => VNodeChild> & DefineEmit<"click:close", () => void> & DefineEmit<"click:cancel", () => void> & DefineEmit<"click:confirm", () => void> & DefineProp<"location", DialogLocation, false, "center", "Sets location of the dialog.">;
|
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.">;
|
10
10
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DialogProps> & {
|
11
11
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
12
12
|
"onClick:close"?: () => any;
|
13
13
|
"onClick:cancel"?: () => any;
|
14
14
|
"onClick:confirm"?: () => any;
|
15
|
+
"onClick:backButton"?: () => any;
|
15
16
|
} & {
|
16
17
|
"v-slots"?: {
|
17
18
|
fixedContent?: () => VNodeChild;
|
@@ -26,5 +27,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DialogProps>
|
|
26
27
|
} & Omit<{
|
27
28
|
default?: import("vue").Slot;
|
28
29
|
}, "navigation" | "actions" | "header" | "activator" | "fixedContent" | "headerButtons">;
|
29
|
-
} & {} & 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" | "buttonApi" | "slot:fixedContent" | "slot:activator" | "slot:headerButtons" | "slot:navigation" | "slot:header" | "emit:click:close" | "emit:click:cancel" | "emit:click:confirm"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
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
31
|
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { DefineProp } from "@omnia/fx/ux";
|
2
|
-
import { OPageDividerTypes, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
|
3
|
-
type DividerProps = DefineProp<"class", String | String[]> & DefineProp<"variant", OPageDividerTypes, false, null> & DefineProp<"label", string, false, null> & DefineProp<"vertical", boolean, false, false> & DefineProp<"toned", boolean, false, false> & DefineProp<"labelSize", TypographySize | TypographySizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"labelType", TypographyType | TypographyTypes, false, null, "Specifies the typography type. Should be used only if the variants size does not match the context.">;
|
2
|
+
import { IIcon, OPageDividerTypes, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
|
3
|
+
type DividerProps = DefineProp<"class", String | String[]> & DefineProp<"variant", OPageDividerTypes, false, null> & DefineProp<"icon", IIcon, false, null, "The icon to be displayed."> & DefineProp<"label", string, false, null> & DefineProp<"vertical", boolean, false, false> & DefineProp<"toned", boolean, false, false> & DefineProp<"labelSize", TypographySize | TypographySizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"labelType", TypographyType | TypographyTypes, false, null, "Specifies the typography type. Should be used only if the variants size does not match the context.">;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DividerProps> & {} & {
|
5
5
|
"v-slots"?: {} & Omit<{
|
6
6
|
default?: import("vue").Slot;
|
7
7
|
}, never>;
|
8
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "vertical" | "class" | "label" | "toned" | "labelSize" | "labelType"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "vertical" | "class" | "label" | "toned" | "labelSize" | "labelType"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
9
|
export default _default;
|
@@ -2,7 +2,6 @@ import { ColorDefinition } from "../../velcron/core";
|
|
2
2
|
import { OPanelVariants, OPaddingCombination } from "@omnia/fx-models";
|
3
3
|
export declare const PanelStyles: {
|
4
4
|
tabSettingsPadding: Readonly<import("@omnia/fx/ux").StylexValue>;
|
5
|
-
templateTitle: (variant: OPanelVariants, titelOnTopDivider: boolean, color: string, spacelessTop: boolean, spacelessBottom: boolean, paddings: OPaddingCombination) => Readonly<import("@omnia/fx/ux").StylexValue>;
|
6
5
|
dividerOnTitle: Readonly<import("@omnia/fx/ux").StylexValue>;
|
7
6
|
panelHoverBackground: (color: ColorDefinition) => Readonly<import("@omnia/fx/ux").StylexValue>;
|
8
7
|
panelWrapper: (hide: boolean, variant: OPanelVariants, grouped: boolean, spacelessTop: boolean, spacelessBottom: boolean, hasLeftDivider: any, hasRightDivider: any, dark: boolean, paddings: OPaddingCombination) => Readonly<import("@omnia/fx/ux").StylexValue>;
|
@@ -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> & 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<"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<"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>;
|
7
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PickerProps> & {
|
8
8
|
"onUpdate:modelValue"?: (value: MenuState) => any;
|
9
9
|
"onClick:clear"?: () => any;
|