@omnia/fx 8.0.113-vnext → 8.0.114-vnext
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/admin/chrome/AdminChrome.css.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/mediapickerV2/mediaprovider/MediaProvider.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.css.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/loc/localize.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/models/UnsplashImage.d.ts +41 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/services/UnsplashImageService.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +11 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +7 -0
- package/package.json +2 -2
@@ -3,7 +3,10 @@ export declare const AdminChromeStyles: {
|
|
3
3
|
wrapper: (color: ColorDefinition) => string;
|
4
4
|
backgroundIcon: string;
|
5
5
|
omniaLogo: {
|
6
|
+
wrapperCircle: string;
|
6
7
|
wrapper: string;
|
7
8
|
fill: (dark: boolean) => string;
|
9
|
+
fillGear: (color: ColorDefinition) => string;
|
10
|
+
background: (color: string) => string;
|
8
11
|
};
|
9
12
|
};
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/UnsplashProvider.d.ts
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: {
|
6
|
+
style?: unknown;
|
7
|
+
class?: unknown;
|
8
|
+
key?: string | number | symbol;
|
9
|
+
ref?: import("vue").VNodeRef;
|
10
|
+
ref_for?: boolean;
|
11
|
+
ref_key?: string;
|
12
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
13
|
+
[key: string]: any;
|
14
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
15
|
+
[key: string]: any;
|
16
|
+
}>) => void)[];
|
17
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
18
|
+
[key: string]: any;
|
19
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
20
|
+
[key: string]: any;
|
21
|
+
}>) => void)[];
|
22
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
23
|
+
[key: string]: any;
|
24
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
25
|
+
[key: string]: any;
|
26
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
27
|
+
[key: string]: any;
|
28
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
+
[key: string]: any;
|
30
|
+
}>) => void)[];
|
31
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
+
[key: string]: any;
|
33
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
+
[key: string]: any;
|
35
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
+
[key: string]: any;
|
37
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
38
|
+
[key: string]: any;
|
39
|
+
}>) => void)[];
|
40
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
+
[key: string]: any;
|
42
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>) => void)[];
|
45
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
+
[key: string]: any;
|
47
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
+
[key: string]: any;
|
49
|
+
}>) => void)[];
|
50
|
+
};
|
51
|
+
$attrs: {
|
52
|
+
[x: string]: unknown;
|
53
|
+
};
|
54
|
+
$refs: {
|
55
|
+
[x: string]: unknown;
|
56
|
+
};
|
57
|
+
$slots: Readonly<{
|
58
|
+
[name: string]: import("vue").Slot<any>;
|
59
|
+
}>;
|
60
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
61
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
62
|
+
$emit: (event: string, ...args: any[]) => void;
|
63
|
+
$el: any;
|
64
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
65
|
+
beforeCreate?: (() => void) | (() => void)[];
|
66
|
+
created?: (() => void) | (() => void)[];
|
67
|
+
beforeMount?: (() => void) | (() => void)[];
|
68
|
+
mounted?: (() => void) | (() => void)[];
|
69
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
70
|
+
updated?: (() => void) | (() => void)[];
|
71
|
+
activated?: (() => void) | (() => void)[];
|
72
|
+
deactivated?: (() => void) | (() => void)[];
|
73
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
74
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
75
|
+
destroyed?: (() => void) | (() => void)[];
|
76
|
+
unmounted?: (() => void) | (() => void)[];
|
77
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
78
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
79
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
80
|
+
};
|
81
|
+
$forceUpdate: () => void;
|
82
|
+
$nextTick: typeof import("vue").nextTick;
|
83
|
+
$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;
|
84
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
85
|
+
__isFragment?: never;
|
86
|
+
__isTeleport?: never;
|
87
|
+
__isSuspense?: never;
|
88
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
89
|
+
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
90
|
+
};
|
91
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare module UnsplashProviderLocalization {
|
2
|
+
const namespace = "Omnia.Ux.UnsplashProvider";
|
3
|
+
interface locInterface {
|
4
|
+
Title: string;
|
5
|
+
FeatureTitle: string;
|
6
|
+
FeatureDescription: string;
|
7
|
+
DowloadImageFailed: string;
|
8
|
+
PhotoBy: string;
|
9
|
+
PhotosProviderBy: string;
|
10
|
+
}
|
11
|
+
}
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/unsplash/models/UnsplashImage.d.ts
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
import { ImageItem } from "../../../../models";
|
2
|
+
interface UnsplashImageSource {
|
3
|
+
original: string;
|
4
|
+
large2x: string;
|
5
|
+
large: string;
|
6
|
+
medium: string;
|
7
|
+
small: string;
|
8
|
+
portrait: string;
|
9
|
+
landscape: string;
|
10
|
+
tiny: string;
|
11
|
+
}
|
12
|
+
export interface UnsplashServerImage {
|
13
|
+
id: number;
|
14
|
+
width: number;
|
15
|
+
height: number;
|
16
|
+
urls: {
|
17
|
+
full: string;
|
18
|
+
raw: string;
|
19
|
+
regular: string;
|
20
|
+
small: string;
|
21
|
+
thumb: string;
|
22
|
+
};
|
23
|
+
links: {
|
24
|
+
self: string;
|
25
|
+
html: string;
|
26
|
+
download: string;
|
27
|
+
};
|
28
|
+
description: string;
|
29
|
+
user: {
|
30
|
+
id: string;
|
31
|
+
first_name: string;
|
32
|
+
last_name: string;
|
33
|
+
};
|
34
|
+
color: string;
|
35
|
+
src: UnsplashImageSource;
|
36
|
+
liked: boolean;
|
37
|
+
}
|
38
|
+
export interface UnsplashImage extends ImageItem {
|
39
|
+
serverImage: UnsplashServerImage;
|
40
|
+
}
|
41
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { UnsplashImage } from "../models/UnsplashImage";
|
2
|
+
export declare class UnsplashImageService {
|
3
|
+
private httpClient;
|
4
|
+
private commonHttpClient;
|
5
|
+
search: (keyword: string, offset?: number, limit?: number) => Promise<Array<UnsplashImage>>;
|
6
|
+
private getImages;
|
7
|
+
}
|
@@ -71,6 +71,7 @@ declare const _default: {
|
|
71
71
|
readonly items?: any[];
|
72
72
|
readonly itemValue?: NonNullable<SelectItemKey>;
|
73
73
|
readonly returnObject?: boolean;
|
74
|
+
readonly noDataText?: string;
|
74
75
|
readonly showExpand?: boolean;
|
75
76
|
readonly itemsPerPage?: number;
|
76
77
|
readonly "onUpdate:expanded"?: (value: string[]) => any;
|
@@ -119,6 +120,9 @@ declare const _default: {
|
|
119
120
|
height: {
|
120
121
|
type: import("vue").PropType<string | number>;
|
121
122
|
};
|
123
|
+
noDataText: {
|
124
|
+
type: import("vue").PropType<string>;
|
125
|
+
};
|
122
126
|
clickable: {
|
123
127
|
type: import("vue").PropType<boolean>;
|
124
128
|
required: false;
|
@@ -214,6 +218,9 @@ declare const _default: {
|
|
214
218
|
height: {
|
215
219
|
type: import("vue").PropType<string | number>;
|
216
220
|
};
|
221
|
+
noDataText: {
|
222
|
+
type: import("vue").PropType<string>;
|
223
|
+
};
|
217
224
|
clickable: {
|
218
225
|
type: import("vue").PropType<boolean>;
|
219
226
|
required: false;
|
@@ -287,6 +294,9 @@ declare const _default: {
|
|
287
294
|
height: {
|
288
295
|
type: import("vue").PropType<string | number>;
|
289
296
|
};
|
297
|
+
noDataText: {
|
298
|
+
type: import("vue").PropType<string>;
|
299
|
+
};
|
290
300
|
clickable: {
|
291
301
|
type: import("vue").PropType<boolean>;
|
292
302
|
required: false;
|
@@ -355,6 +365,7 @@ declare const _default: {
|
|
355
365
|
items?: any[];
|
356
366
|
itemValue?: NonNullable<SelectItemKey>;
|
357
367
|
returnObject?: boolean;
|
368
|
+
noDataText?: string;
|
358
369
|
showExpand?: boolean;
|
359
370
|
itemsPerPage?: number;
|
360
371
|
"onUpdate:expanded"?: (value: string[]) => any;
|
@@ -123,6 +123,7 @@ import wcfc7e793328e64088ab1b37b8f89e8693 from './ux/mediapickerproviders/bingpr
|
|
123
123
|
import wc8f6c9579f26646dfb316c087e04455cc from './ux/mediapickerproviders/dalleprovider/PollingImageComponent';
|
124
124
|
import wc29de17877bbb49b1961e75210d865a1b from './ux/mediapickerproviders/mediaflow/MediaflowVideoPlayer';
|
125
125
|
import wc0c762bb5c7e64ccd8a89907200dffca5 from './ux/mediapickerproviders/pexelsprovider-V2/PexelProvider';
|
126
|
+
import wc6e7529d994f9489ea5be5a129406caa2 from './ux/mediapickerproviders/unsplash/UnsplashProvider';
|
126
127
|
import wc90d19714df6c4b16bd5d42bc705e7692 from './ux/oxide/appbar/Appbar';
|
127
128
|
import wc8848766a05fd4a7a8e1a89376b3cf09a from './ux/oxide/avatar/Avatar';
|
128
129
|
import wc4cc48714e16a45feb2d213932a13d1f8 from './ux/oxide/badge/Badge';
|
@@ -415,6 +416,7 @@ declare global {
|
|
415
416
|
"omfx-media-picker-dalle-polling-image": typeof wc8f6c9579f26646dfb316c087e04455cc.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc8f6c9579f26646dfb316c087e04455cc.propsDefinition>;
|
416
417
|
"omfx-mediaflow-provider-video-player": typeof wc29de17877bbb49b1961e75210d865a1b.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc29de17877bbb49b1961e75210d865a1b.propsDefinition>;
|
417
418
|
"omfx-media-picker-pexels-provider-v2": typeof wc0c762bb5c7e64ccd8a89907200dffca5.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc0c762bb5c7e64ccd8a89907200dffca5.propsDefinition>;
|
419
|
+
"omfx-media-picker-unsplash-provider": typeof wc6e7529d994f9489ea5be5a129406caa2.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc6e7529d994f9489ea5be5a129406caa2.propsDefinition>;
|
418
420
|
"o-app-bar": typeof wc90d19714df6c4b16bd5d42bc705e7692.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc90d19714df6c4b16bd5d42bc705e7692.propsDefinition>;
|
419
421
|
"o-avatar": typeof wc8848766a05fd4a7a8e1a89376b3cf09a.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc8848766a05fd4a7a8e1a89376b3cf09a.propsDefinition>;
|
420
422
|
"o-badge": typeof wc4cc48714e16a45feb2d213932a13d1f8.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc4cc48714e16a45feb2d213932a13d1f8.propsDefinition>;
|
@@ -1201,6 +1203,11 @@ declare global {
|
|
1201
1203
|
$props: typeof wc0c762bb5c7e64ccd8a89907200dffca5.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc0c762bb5c7e64ccd8a89907200dffca5.propsDefinition>;
|
1202
1204
|
};
|
1203
1205
|
};
|
1206
|
+
"MediaPickerUnsplashProvider": {
|
1207
|
+
new (...args: any[]): {
|
1208
|
+
$props: typeof wc6e7529d994f9489ea5be5a129406caa2.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc6e7529d994f9489ea5be5a129406caa2.propsDefinition>;
|
1209
|
+
};
|
1210
|
+
};
|
1204
1211
|
"OAppBar": {
|
1205
1212
|
new (...args: any[]): {
|
1206
1213
|
$props: typeof wc90d19714df6c4b16bd5d42bc705e7692.propsDefinition & Omit<VueComponentBaseProps, keyof typeof wc90d19714df6c4b16bd5d42bc705e7692.propsDefinition>;
|
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.114-vnext",
|
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.114-vnext",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|