@omnia/fx 8.0.428-dev → 8.0.429-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/Exposes.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +6 -3
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTableStore.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/oxide/labeledtext/LabeledText.d.ts +8 -5
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +8 -3
- package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +29 -85
- package/package.json +2 -2
@@ -74,5 +74,5 @@ export type { FocusOption, LinkHandlerOptions, ScrollOption } from "./directives
|
|
74
74
|
export { FocusDirective, LinkHandlerDirective } from "./directives";
|
75
75
|
export { VueComponentBase, VueComponentConnect, getVuetifyAppClasses } from "./VueComponentBase";
|
76
76
|
export type { VueComponentBaseEvents, VueComponentBaseProps } from "./VueComponentBase";
|
77
|
-
export { createVueNode, definePropFunctionType, definePropObjectType, defineVue, defineVueComponent, getElementName, isElement, type VNodeEvents, type SetupComponentContext, type ExtractProps, type ExtractEmits, type ExtractSlots, type ConstructComponentProps, type ExtractVModels } from "./InternalDefineComponent";
|
77
|
+
export { createVueNode, definePropFunctionType, definePropObjectType, defineVue, defineVueComponent, getElementName, isElement, type VNodeEvents, type SetupComponentContext, type ExtractProps, type ExtractEmits, type ExtractSlots, type ExtractExpose, type ConstructComponentProps, type ExtractVModels } from "./InternalDefineComponent";
|
78
78
|
export { type DefineEmit, type DefineProp, type DefineRef, type DefinePropTheming, type DefineSlot, type DefineType, type DefineVModel, type ItemType, type SelectItemKey, type ItemValueType } from "./DefineVueTypings";
|
@@ -1,11 +1,14 @@
|
|
1
|
-
import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
|
1
|
+
import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineRef, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
+
import { useDataTableStore } from "./DataTableStore";
|
3
4
|
export type DataTableOptions = {
|
4
5
|
page: number;
|
5
6
|
itemsPerPage: number;
|
6
7
|
sortBy: SortItem[];
|
7
8
|
};
|
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<"mobileColumn", number, false, 1, "Specific a column to render in mobile view."> & 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> &
|
9
|
+
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<"mobileColumn", number, false, 1, "Specific a column to render in mobile view."> & 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> & DefineRef<{
|
10
|
+
store: ReturnType<typeof useDataTableStore>;
|
11
|
+
}> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<"top", () => VNodeChild> & DefineSlot<"expanded-row", (e: {
|
9
12
|
item: T;
|
10
13
|
}) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
|
11
14
|
item: T;
|
@@ -27,7 +30,7 @@ declare const _default: <TItem extends unknown, TVariant extends "default" | "cl
|
|
27
30
|
"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
31
|
default?: import("vue").Slot;
|
29
32
|
}, 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" | "colors" | "emit:update:modelValue" | "modelValue" | "v-model" | "items" | "loading" | "hover" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "mobileColumn" | "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" ? {
|
33
|
+
} & (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" | "ref" | "colorSchemaType" | "colors" | "emit:update:modelValue" | "modelValue" | "v-model" | "items" | "loading" | "hover" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "mobileColumn" | "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
34
|
itemHeight?: string | number;
|
32
35
|
} : 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
36
|
export default _default;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { VNodeChild } from "vue";
|
2
|
+
export type RowDetail = Array<{
|
3
|
+
columnName: string;
|
4
|
+
element: VNodeChild;
|
5
|
+
}>;
|
6
|
+
export declare const useDataTableStore: () => {
|
7
|
+
state: {
|
8
|
+
selectedRowToRenderDetail: RowDetail;
|
9
|
+
};
|
10
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
11
|
+
selectedRowToRenderDetail: RowDetail;
|
12
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
13
|
+
} & {
|
14
|
+
dispose?: () => void;
|
15
|
+
};
|
@@ -14,6 +14,10 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
14
14
|
mobileVariant?: "card" | "one-column";
|
15
15
|
} & {
|
16
16
|
mobileColumn?: number;
|
17
|
+
} & {
|
18
|
+
"emit:update:visibleActionColumn": (value: boolean) => void;
|
19
|
+
} & {
|
20
|
+
"v-model:visibleActionColumn"?: boolean;
|
17
21
|
} & {
|
18
22
|
visibleActionColumn?: boolean;
|
19
23
|
} & {
|
@@ -24,11 +28,12 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
24
28
|
"onUpdate:mouseOver"?: () => any;
|
25
29
|
"onUpdate:mouseOut"?: () => any;
|
26
30
|
"onClick:navigation"?: (e: MouseEvent) => any;
|
31
|
+
"onUpdate:visibleActionColumn"?: (value: boolean) => any;
|
27
32
|
} & {
|
28
33
|
"v-slots"?: {
|
29
34
|
actions?: () => VNodeChild;
|
30
35
|
} & Omit<{
|
31
36
|
default?: import("vue").Slot;
|
32
37
|
}, "actions">;
|
33
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "icon" | "active" | "drag" | "remove" | "slot:actions" | "mobileColumn" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "mobileVariant" | "visibleActionColumn" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
38
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "icon" | "active" | "drag" | "remove" | "slot:actions" | "mobileColumn" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "mobileVariant" | "visibleActionColumn" | "emit:update:visibleActionColumn" | "v-model:visibleActionColumn" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
34
39
|
export default _default;
|
@@ -1,8 +1,11 @@
|
|
1
|
-
import { DefineProp } from "@omnia/fx/ux";
|
2
|
-
|
1
|
+
import { DefineProp, DefineSlot } from "@omnia/fx/ux";
|
2
|
+
import { VNodeChild } from "vue";
|
3
|
+
type LabeledTextProps = DefineProp<"label", String, false, null, "Sets the label of the component."> & DefineProp<"text", String, false, null, "Sets the text value of the component."> & DefineSlot<"text", () => VNodeChild, "Custom render text.">;
|
3
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<LabeledTextProps> & {} & {
|
4
|
-
"v-slots"?: {
|
5
|
+
"v-slots"?: {
|
6
|
+
text?: () => VNodeChild;
|
7
|
+
} & Omit<{
|
5
8
|
default?: import("vue").Slot;
|
6
|
-
},
|
7
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "label"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
|
+
}, "text">;
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "label" | "slot:text"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
11
|
export default _default;
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot } from "@omnia/fx/ux";
|
2
2
|
import { IIcon, OToolbarVariants } from "@omnia/fx/models";
|
3
3
|
import { VNodeChild } from "vue";
|
4
|
-
type ToolbarProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OToolbarVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"title", string, false, null, "The title of the toolbar"> & DefineProp<"subTitle", string, false, null, "Sub title of the toolbar"> & DefineProp<"icon", IIcon, false, null, "The icon of the toolbar."> & DefineProp<"toned", boolean, false, false> & DefineProp<"divider", boolean, false, false, "If true, the toolbar will have a bottom divider."> & DefineProp<"closeButton", boolean, false, false, "If true, a close button will be rendered in the toolbar."> & DefineProp<"backButton", boolean, false, false, "If true, a back button will be rendered in the toolbar."> & DefineSlot<"title", () => VNodeChild> & DefineSlot<"customButtons", () => VNodeChild> &
|
4
|
+
type ToolbarProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OToolbarVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"title", string, false, null, "The title of the toolbar"> & DefineProp<"subTitle", string, false, null, "Sub title of the toolbar"> & DefineProp<"icon", IIcon, false, null, "The icon of the toolbar."> & DefineProp<"toned", boolean, false, false> & DefineProp<"divider", boolean, false, false, "If true, the toolbar will have a bottom divider."> & DefineProp<"closeButton", boolean, false, false, "If true, a close button will be rendered in the toolbar."> & DefineProp<"backButton", boolean, false, false, "If true, a back button will be rendered in the toolbar."> & DefineSlot<"title", () => VNodeChild> & DefineSlot<"customButtons", () => VNodeChild> & DefineSlot<"prepend", (params: {
|
5
|
+
renderCustomIcon: (icon: IIcon) => VNodeChild;
|
6
|
+
}) => VNodeChild, "Adds an item outside the title and before title content."> & DefineEmit<"click:close", () => void> & DefineEmit<"click:back", () => void>;
|
5
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarProps> & {
|
6
8
|
"onClick:close"?: () => any;
|
7
9
|
"onClick:back"?: () => any;
|
@@ -9,8 +11,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarProps
|
|
9
11
|
"v-slots"?: {
|
10
12
|
title?: () => VNodeChild;
|
11
13
|
customButtons?: () => VNodeChild;
|
14
|
+
prepend?: (params: {
|
15
|
+
renderCustomIcon: (icon: IIcon) => VNodeChild;
|
16
|
+
}) => VNodeChild;
|
12
17
|
} & Omit<{
|
13
18
|
default?: import("vue").Slot;
|
14
|
-
}, "title" | "customButtons">;
|
15
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "colorSchemaType" | "toned" | "colors" | "subTitle" | "backButton" | "emit:click:close" | "divider" | "emit:click:back" | "closeButton" | "slot:title" | "slot:customButtons"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
19
|
+
}, "title" | "prepend" | "customButtons">;
|
20
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "icon" | "variant" | "class" | "colorSchemaType" | "toned" | "colors" | "subTitle" | "backButton" | "emit:click:close" | "divider" | "slot:prepend" | "emit:click:back" | "closeButton" | "slot:title" | "slot:customButtons"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
16
21
|
export default _default;
|
package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts
CHANGED
@@ -1,88 +1,32 @@
|
|
1
1
|
import { PropertyLockStatus } from "@omnia/fx/ux";
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
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)[]>;
|
20
|
-
onVnodeBeforeUnmount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
21
|
-
onVnodeUnmounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
22
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
23
|
-
P: {};
|
24
|
-
B: {};
|
25
|
-
D: {};
|
26
|
-
C: {};
|
27
|
-
M: {};
|
28
|
-
Defaults: {};
|
29
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
30
|
-
lockingStatus: import("vue").Prop<PropertyLockStatus, PropertyLockStatus>;
|
31
|
-
onValueChanged: import("vue").Prop<Function, Function>;
|
32
|
-
allowRollback: import("vue").Prop<unknown, unknown>;
|
33
|
-
rollback: import("vue").Prop<Function, Function>;
|
34
|
-
renderBody: import("vue").Prop<() => VNodeChild, () => VNodeChild>;
|
35
|
-
styles: import("vue").Prop<{
|
36
|
-
lockingWrapper: import("typestyle/lib/types").NestedCSSProperties;
|
37
|
-
}, {
|
38
|
-
lockingWrapper: import("typestyle/lib/types").NestedCSSProperties;
|
39
|
-
}>;
|
40
|
-
showLockConfiguration: import("vue").Prop<boolean, boolean>;
|
41
|
-
onVnodeBeforeMount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
42
|
-
onVnodeMounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
43
|
-
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)[]>;
|
44
|
-
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)[]>;
|
45
|
-
onVnodeBeforeUnmount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
46
|
-
onVnodeUnmounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
47
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
48
|
-
__isFragment?: never;
|
49
|
-
__isTeleport?: never;
|
50
|
-
__isSuspense?: never;
|
51
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
52
|
-
lockingStatus: import("vue").Prop<PropertyLockStatus, PropertyLockStatus>;
|
53
|
-
onValueChanged: import("vue").Prop<Function, Function>;
|
54
|
-
allowRollback: import("vue").Prop<unknown, unknown>;
|
55
|
-
rollback: import("vue").Prop<Function, Function>;
|
56
|
-
renderBody: import("vue").Prop<() => VNodeChild, () => VNodeChild>;
|
57
|
-
styles: import("vue").Prop<{
|
2
|
+
import { TooltipPosition } from "@omnia/fx-models";
|
3
|
+
interface PropertyLockingTooltip {
|
4
|
+
text: string;
|
5
|
+
position?: TooltipPosition;
|
6
|
+
}
|
7
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
8
|
+
"emit:update:modelValue": (value: PropertyLockStatus) => void;
|
9
|
+
} & {
|
10
|
+
"v-model"?: PropertyLockStatus;
|
11
|
+
} & {
|
12
|
+
modelValue?: PropertyLockStatus;
|
13
|
+
} & {
|
14
|
+
allowRollback?: boolean;
|
15
|
+
} & {
|
16
|
+
rollback?: Function;
|
17
|
+
} & {
|
18
|
+
styles?: {
|
58
19
|
lockingWrapper: import("typestyle/lib/types").NestedCSSProperties;
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
styles?: {
|
72
|
-
lockingWrapper: import("typestyle/lib/types").NestedCSSProperties;
|
73
|
-
};
|
74
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
75
|
-
onVnodeMounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
76
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
|
77
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
|
78
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
79
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
80
|
-
onValueChanged?: Function;
|
81
|
-
rollback?: Function;
|
82
|
-
showLockConfiguration?: boolean;
|
83
|
-
renderBody?: () => VNodeChild;
|
84
|
-
lockingStatus?: PropertyLockStatus;
|
85
|
-
allowRollback?: unknown;
|
86
|
-
}>, never>;
|
87
|
-
};
|
20
|
+
};
|
21
|
+
} & {
|
22
|
+
showLockConfiguration?: boolean;
|
23
|
+
} & {
|
24
|
+
tooltip?: PropertyLockingTooltip;
|
25
|
+
}> & {
|
26
|
+
"onUpdate:modelValue"?: (value: PropertyLockStatus) => any;
|
27
|
+
} & {
|
28
|
+
"v-slots"?: {} & Omit<{
|
29
|
+
default?: import("vue").Slot;
|
30
|
+
}, never>;
|
31
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "tooltip" | "styles" | "emit:update:modelValue" | "modelValue" | "v-model" | "rollback" | "showLockConfiguration" | "allowRollback"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
88
32
|
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.429-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.429-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|