@omnia/fx 8.0.108-dev → 8.0.109-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/InternalDefineComponent.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +20 -20
- package/package.json +2 -2
@@ -142,7 +142,7 @@ export declare function defineVueComponent<Props extends Record<string, any>, E
|
|
142
142
|
props?: (keyof Props)[];
|
143
143
|
emits?: E | EE[];
|
144
144
|
slots?: S;
|
145
|
-
}, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): ((props: Props & EmitsToProps<E> & SlotsToProps<S> & Omit<VueComponentBaseProps, keyof Props>) => ComponentPublicInstance & {
|
145
|
+
}, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): ((props: Props & Omit<EmitsToProps<E>, keyof Props> & SlotsToProps<S> & Omit<VueComponentBaseProps, keyof Props>) => ComponentPublicInstance & {
|
146
146
|
propsDefinition: Props & EmitsToProps<E> & Omit<VueComponentBaseProps, keyof Props>;
|
147
147
|
} & VNode);
|
148
148
|
export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (ctx: SetupComponentContext<Props, E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
|
@@ -27,10 +27,10 @@ declare const _default: <T1 extends unknown, T2 extends unknown>(props: {
|
|
27
27
|
rules?: ValidationRule[];
|
28
28
|
} & {
|
29
29
|
isAppendIcon?: boolean;
|
30
|
-
} & {
|
30
|
+
} & Omit<{
|
31
31
|
"onUpdate:modelValue"?: (value: MultiTextInputItem<T1>) => any;
|
32
32
|
onSelectItem?: (item: MultiTextInputItem<T2>, index: number) => any;
|
33
|
-
} & {
|
33
|
+
}, "mode" | "label" | "disabled" | "items" | "v-model" | "onUpdate:modelValue" | "modelValue" | "autofocus" | "rules" | "itemValue" | "openMenu" | "defaultValueItem" | "hideEditGrid" | "isAppendIcon"> & {
|
34
34
|
"v-slots"?: {
|
35
35
|
default?: import("vue").Slot;
|
36
36
|
};
|
@@ -553,10 +553,10 @@ declare const _default: <T extends unknown>(props: {
|
|
553
553
|
headers?: DataTableHeader[];
|
554
554
|
} & {
|
555
555
|
items?: T[];
|
556
|
-
} & {
|
556
|
+
} & Omit<{
|
557
557
|
"onUpdate:sortBy"?: (item: SortItem[]) => any;
|
558
558
|
"onUpdate:expanded"?: (expanded: string[]) => any;
|
559
|
-
} & {
|
559
|
+
}, "headers" | "container" | "height" | "expanded" | "colorSchemaType" | "items" | "colors" | "loading" | "hover" | "sortBy" | "mustSort" | "showExpand" | "noDataText" | "itemsPerPage" | "onUpdate:sortBy" | "onUpdate:expanded" | "clickable" | "v-model:expanded" | "v-model:sortBy"> & {
|
560
560
|
"v-slots"?: {
|
561
561
|
default?: import("vue").Slot;
|
562
562
|
} & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DefineSlot, SelectItemKey, ValidationRule } from "@omnia/fx/ux";
|
1
|
+
import { DefineSlot, ItemType, SelectItemKey, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { OSelectRenderingItem } from "@omnia/fx-models";
|
4
4
|
import { VSelectSlots } from "../../ComponentTypings";
|
@@ -8,7 +8,7 @@ export interface OSelectSlots extends Omit<VSelectSlots, "item" | "selection" |
|
|
8
8
|
item?: (item: OSelectRenderingItem, index: Number) => VNodeChild;
|
9
9
|
"append-item"?: () => VNodeChild;
|
10
10
|
}
|
11
|
-
declare const _default: <
|
11
|
+
declare const _default: <TItem extends readonly any[], TModel extends unknown>(props: {
|
12
12
|
colorSchemaType?: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes;
|
13
13
|
} & {
|
14
14
|
container?: boolean;
|
@@ -533,11 +533,11 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
533
533
|
} & {
|
534
534
|
class?: String | String[];
|
535
535
|
} & {
|
536
|
-
"v-model"?:
|
536
|
+
"v-model"?: TModel;
|
537
537
|
} & {
|
538
|
-
"onUpdate:modelValue"?: (value:
|
538
|
+
"onUpdate:modelValue"?: (value: TModel) => void;
|
539
539
|
} & {
|
540
|
-
modelValue?:
|
540
|
+
modelValue?: TModel;
|
541
541
|
} & {
|
542
542
|
rules?: ValidationRule[];
|
543
543
|
} & {
|
@@ -545,11 +545,11 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
545
545
|
} & {
|
546
546
|
hint?: string;
|
547
547
|
} & {
|
548
|
-
items?:
|
548
|
+
items?: TItem;
|
549
549
|
} & {
|
550
|
-
itemTitle?: SelectItemKey<
|
550
|
+
itemTitle?: SelectItemKey<ItemType<TItem>>;
|
551
551
|
} & {
|
552
|
-
itemValue?: SelectItemKey<
|
552
|
+
itemValue?: SelectItemKey<ItemType<TItem>>;
|
553
553
|
} & {
|
554
554
|
variant?: "default" | "add" | "picker" | "combobox";
|
555
555
|
} & {
|
@@ -572,15 +572,15 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
572
572
|
persistentHint?: boolean;
|
573
573
|
} & {
|
574
574
|
hideSelected?: boolean;
|
575
|
-
} & {
|
576
|
-
"onUpdate:modelValue"?: (value:
|
575
|
+
} & Omit<{
|
576
|
+
"onUpdate:modelValue"?: (value: TModel) => any;
|
577
577
|
"onUpdate:focused"?: (value: boolean) => any;
|
578
578
|
"onClick:button"?: (value: any) => any;
|
579
579
|
"onUpdate:search"?: (value: string) => any;
|
580
|
-
} & {
|
580
|
+
}, "container" | "label" | "class" | "multiple" | "disabled" | "readonly" | "colorSchemaType" | "items" | "colors" | "v-model" | "onUpdate:modelValue" | "modelValue" | "variant" | "toned" | "loading" | "searchable" | "rules" | "hint" | "persistentHint" | "clearable" | "itemTitle" | "itemValue" | "returnObject" | "hideSelected"> & {
|
581
581
|
"v-slots"?: {
|
582
582
|
default?: import("vue").Slot;
|
583
|
-
} & DefineSlot<"chip", (item: OSelectRenderingItem<
|
583
|
+
} & DefineSlot<"chip", (item: OSelectRenderingItem<ItemType<TItem>, any>, index: Number) => VNodeChild> & DefineSlot<"selection", (item: OSelectRenderingItem<ItemType<TItem>, any>, index: Number) => VNodeChild> & DefineSlot<"item", (item: OSelectRenderingItem<ItemType<TItem>, any>, index: Number) => VNodeChild> & DefineSlot<"append-item", () => VNodeChild>;
|
584
584
|
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "container" | "label" | "class" | "multiple" | "disabled" | "readonly" | "colorSchemaType" | "items" | "colors" | "v-model" | "onUpdate:modelValue" | "modelValue" | "variant" | "toned" | "loading" | "searchable" | "rules" | "hint" | "persistentHint" | "clearable" | "itemTitle" | "itemValue" | "returnObject" | "hideSelected">) => {
|
585
585
|
$: import("vue").ComponentInternalInstance;
|
586
586
|
$data: {};
|
@@ -617,7 +617,7 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
617
617
|
};
|
618
618
|
$forceUpdate: () => void;
|
619
619
|
$nextTick: typeof import("vue").nextTick;
|
620
|
-
$watch<
|
620
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
621
621
|
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
622
622
|
propsDefinition: {
|
623
623
|
colorSchemaType?: "info" | "error" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | import("@omnia/fx-models").ColorSchemaTypes;
|
@@ -1144,11 +1144,11 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
1144
1144
|
} & {
|
1145
1145
|
class?: String | String[];
|
1146
1146
|
} & {
|
1147
|
-
"v-model"?:
|
1147
|
+
"v-model"?: TModel;
|
1148
1148
|
} & {
|
1149
|
-
"onUpdate:modelValue"?: (value:
|
1149
|
+
"onUpdate:modelValue"?: (value: TModel) => void;
|
1150
1150
|
} & {
|
1151
|
-
modelValue?:
|
1151
|
+
modelValue?: TModel;
|
1152
1152
|
} & {
|
1153
1153
|
rules?: ValidationRule[];
|
1154
1154
|
} & {
|
@@ -1156,11 +1156,11 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
1156
1156
|
} & {
|
1157
1157
|
hint?: string;
|
1158
1158
|
} & {
|
1159
|
-
items?:
|
1159
|
+
items?: TItem;
|
1160
1160
|
} & {
|
1161
|
-
itemTitle?: SelectItemKey<
|
1161
|
+
itemTitle?: SelectItemKey<ItemType<TItem>>;
|
1162
1162
|
} & {
|
1163
|
-
itemValue?: SelectItemKey<
|
1163
|
+
itemValue?: SelectItemKey<ItemType<TItem>>;
|
1164
1164
|
} & {
|
1165
1165
|
variant?: "default" | "add" | "picker" | "combobox";
|
1166
1166
|
} & {
|
@@ -1184,7 +1184,7 @@ declare const _default: <T extends unknown, V extends unknown>(props: {
|
|
1184
1184
|
} & {
|
1185
1185
|
hideSelected?: boolean;
|
1186
1186
|
} & {
|
1187
|
-
"onUpdate:modelValue"?: (value:
|
1187
|
+
"onUpdate:modelValue"?: (value: TModel) => any;
|
1188
1188
|
"onUpdate:focused"?: (value: boolean) => any;
|
1189
1189
|
"onClick:button"?: (value: any) => any;
|
1190
1190
|
"onUpdate:search"?: (value: string) => any;
|
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.109-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": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.109-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|