@omnia/fx 8.0.347-dev → 8.0.349-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.
@@ -35,7 +35,6 @@ export * from "./decorators";
35
35
  export * from "./directives";
36
36
  export * from "./docs";
37
37
  export * from "./editorchrome";
38
- export * from "./filepicker";
39
38
  export * from "./filepickerprovider/mycomputerprovider";
40
39
  export * from "./filterengine";
41
40
  export * from "./headingconfigurations";
@@ -1,28 +1,13 @@
1
- import { FilePickerProvider, FilePickerStorageProviderContext, FilePickerHandler, ILayoutFileContext } from "@omnia/fx-models";
2
- import { OmniaUxLocalization } from "..";
3
- import { FileStorageService } from "../../services";
4
- import { FileUploaderStore } from "../../stores";
5
- import { VueComponentBase } from "../VueComponentBase";
6
- import { IFileUploaderProviderProps } from "./IFilePickerRenderer";
7
- import { FilePickerLocalization } from "./loc/localize";
8
- export declare class FilePickerRenderer extends VueComponentBase implements IFileUploaderProviderProps {
9
- context: ILayoutFileContext;
1
+ import { FilePickerProvider, FilePickerHandler, ILayoutFileContext } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ context?: ILayoutFileContext;
4
+ } & {
10
5
  handler?: FilePickerHandler;
11
- providers: Array<FilePickerProvider>;
12
- uxLoc: OmniaUxLocalization;
13
- filePickerLoc: FilePickerLocalization.locInterface;
14
- fileUploaderStore: FileUploaderStore;
15
- fileService: FileStorageService<FilePickerStorageProviderContext>;
16
- private subscriptionHandler;
17
- private fileToUpload;
18
- private isShowLoadingOverlay;
19
- private selectedDocument;
20
- private selectedTabId;
21
- created(): void;
22
- mounted(): void;
23
- handleUploadFile(): Promise<any>;
24
- protected toggleLoadingUI(show: boolean): void;
25
- private renderLoading;
26
- renderMultipleProviders(): JSX.Element[];
27
- render(): JSX.Element;
28
- }
6
+ } & {
7
+ providers?: FilePickerProvider[];
8
+ }> & {} & {
9
+ "v-slots"?: {} & Omit<{
10
+ default?: import("vue").Slot;
11
+ }, never>;
12
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "context" | "handler" | "providers"> & import("@omnia/fx/ux").VNodeEvents) => any;
13
+ export default _default;
@@ -1 +0,0 @@
1
- export * from "./IFilePickerRenderer";
@@ -31,5 +31,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
31
31
  } & Omit<{
32
32
  default?: import("vue").Slot;
33
33
  }, "itemRendering">;
34
- } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "grow" | "size" | "class" | "label" | "filters" | "modelValue" | "v-model" | "emit:update:modelValue" | "sortable" | "slot:itemRendering" | "singleSelect" | "emit:item:removed" | "emit:item:sorted"> & import("@omnia/fx/ux").VNodeEvents) => any;
34
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "grow" | "size" | "class" | "label" | "filters" | "modelValue" | "v-model" | "emit:update:modelValue" | "slot:itemRendering" | "sortable" | "singleSelect" | "emit:item:removed" | "emit:item:sorted"> & import("@omnia/fx/ux").VNodeEvents) => any;
35
35
  export default _default;
@@ -1,385 +1,25 @@
1
1
  import { MediaScalingSettings } from "@omnia/fx-models";
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
- group: {
5
- type: import("vue").PropType<boolean>;
6
- };
7
- mandatory: {
8
- type: import("vue").PropType<boolean>;
9
- };
10
- "onUpdate:modelValue": {
11
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
12
- };
13
- "v-model": {
14
- type: import("vue").PropType<MediaScalingSettings>;
15
- required: false;
16
- };
17
- modelValue: {
18
- type: import("vue").PropType<MediaScalingSettings>;
19
- required: false;
20
- };
21
- name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
22
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
23
- }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
24
- type: import("vue").PropType<MediaScalingSettings>;
25
- required: false;
26
- }; } & { [key_2 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
27
- type: import("vue").PropType<MediaScalingSettings>;
28
- required: false;
29
- }; } & {
30
- require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, MediaScalingSettings, {
31
- "onUpdate:modelValue": {
32
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
33
- };
34
- } & {
35
- "v-model": {
36
- type: import("vue").PropType<MediaScalingSettings>;
37
- required: false;
38
- };
39
- } & {
40
- modelValue: {
41
- type: import("vue").PropType<MediaScalingSettings>;
42
- required: false;
43
- };
44
- }>;
45
- defaultValue(value?: MediaScalingSettings): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, MediaScalingSettings, {
46
- "onUpdate:modelValue": {
47
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
48
- };
49
- } & {
50
- "v-model": {
51
- type: import("vue").PropType<MediaScalingSettings>;
52
- required: false;
53
- };
54
- } & {
55
- modelValue: {
56
- type: import("vue").PropType<MediaScalingSettings>;
57
- required: false;
58
- };
59
- }, false>;
60
- doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, MediaScalingSettings, {
61
- "onUpdate:modelValue": {
62
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
63
- };
64
- } & {
65
- "v-model": {
66
- type: import("vue").PropType<MediaScalingSettings>;
67
- required: false;
68
- };
69
- } & {
70
- modelValue: {
71
- type: import("vue").PropType<MediaScalingSettings>;
72
- required: false;
73
- };
74
- }>;
75
- };
76
- class: {
77
- type: import("vue").PropType<String | String[]>;
78
- required: boolean;
79
- };
80
- colorSchemaType: {
81
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
82
- required: boolean;
83
- };
84
- container: {
85
- type: BooleanConstructor;
86
- required: boolean;
87
- };
88
- colors: {
89
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
90
- required: boolean;
91
- };
92
- }>> & {
93
- "onUpdate:modelValue"?: (value: any) => any;
94
- "onUpdate:add"?: (value: any) => any;
95
- "onUpdate:delete"?: (value: any) => any;
96
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
97
- "update:modelValue": (value: any) => true;
98
- "update:add": (value: any) => true;
99
- "update:delete": (value: any) => true;
100
- }, import("vue").PublicProps, {
101
- container: boolean;
102
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
103
- P: {};
104
- B: {};
105
- D: {};
106
- C: {};
107
- M: {};
108
- Defaults: {};
109
- }, Readonly<import("vue").ExtractPropTypes<{
110
- group: {
111
- type: import("vue").PropType<boolean>;
112
- };
113
- mandatory: {
114
- type: import("vue").PropType<boolean>;
115
- };
116
- "onUpdate:modelValue": {
117
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
118
- };
119
- "v-model": {
120
- type: import("vue").PropType<MediaScalingSettings>;
121
- required: false;
122
- };
123
- modelValue: {
124
- type: import("vue").PropType<MediaScalingSettings>;
125
- required: false;
126
- };
127
- name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
128
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
129
- }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
130
- type: import("vue").PropType<MediaScalingSettings>;
131
- required: false;
132
- }; } & { [key_2 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
133
- type: import("vue").PropType<MediaScalingSettings>;
134
- required: false;
135
- }; } & {
136
- require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, MediaScalingSettings, {
137
- "onUpdate:modelValue": {
138
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
139
- };
140
- } & {
141
- "v-model": {
142
- type: import("vue").PropType<MediaScalingSettings>;
143
- required: false;
144
- };
145
- } & {
146
- modelValue: {
147
- type: import("vue").PropType<MediaScalingSettings>;
148
- required: false;
149
- };
150
- }>;
151
- defaultValue(value?: MediaScalingSettings): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, MediaScalingSettings, {
152
- "onUpdate:modelValue": {
153
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
154
- };
155
- } & {
156
- "v-model": {
157
- type: import("vue").PropType<MediaScalingSettings>;
158
- required: false;
159
- };
160
- } & {
161
- modelValue: {
162
- type: import("vue").PropType<MediaScalingSettings>;
163
- required: false;
164
- };
165
- }, false>;
166
- doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, MediaScalingSettings, {
167
- "onUpdate:modelValue": {
168
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
169
- };
170
- } & {
171
- "v-model": {
172
- type: import("vue").PropType<MediaScalingSettings>;
173
- required: false;
174
- };
175
- } & {
176
- modelValue: {
177
- type: import("vue").PropType<MediaScalingSettings>;
178
- required: false;
179
- };
180
- }>;
181
- };
182
- class: {
183
- type: import("vue").PropType<String | String[]>;
184
- required: boolean;
185
- };
186
- colorSchemaType: {
187
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
188
- required: boolean;
189
- };
190
- container: {
191
- type: BooleanConstructor;
192
- required: boolean;
193
- };
194
- colors: {
195
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
196
- required: boolean;
197
- };
198
- }>> & {
199
- "onUpdate:modelValue"?: (value: any) => any;
200
- "onUpdate:add"?: (value: any) => any;
201
- "onUpdate:delete"?: (value: any) => any;
202
- }, () => JSX.Element, {}, {}, {}, {
203
- container: boolean;
204
- }>;
205
- __isFragment?: never;
206
- __isTeleport?: never;
207
- __isSuspense?: never;
208
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
209
- group: {
210
- type: import("vue").PropType<boolean>;
211
- };
212
- mandatory: {
213
- type: import("vue").PropType<boolean>;
214
- };
215
- "onUpdate:modelValue": {
216
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
217
- };
218
- "v-model": {
219
- type: import("vue").PropType<MediaScalingSettings>;
220
- required: false;
221
- };
222
- modelValue: {
223
- type: import("vue").PropType<MediaScalingSettings>;
224
- required: false;
225
- };
226
- name: <TName extends string>(n?: TName) => { [key in import("../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
227
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
228
- }; } & { [key_1 in import("../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
229
- type: import("vue").PropType<MediaScalingSettings>;
230
- required: false;
231
- }; } & { [key_2 in import("../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
232
- type: import("vue").PropType<MediaScalingSettings>;
233
- required: false;
234
- }; } & {
235
- require(): import("../../DefineVueTypings").DefinePropModelRequire<TName, MediaScalingSettings, {
236
- "onUpdate:modelValue": {
237
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
238
- };
239
- } & {
240
- "v-model": {
241
- type: import("vue").PropType<MediaScalingSettings>;
242
- required: false;
243
- };
244
- } & {
245
- modelValue: {
246
- type: import("vue").PropType<MediaScalingSettings>;
247
- required: false;
248
- };
249
- }>;
250
- defaultValue(value?: MediaScalingSettings): import("../../DefineVueTypings").DefinePropModelDefaultValue<TName, MediaScalingSettings, {
251
- "onUpdate:modelValue": {
252
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
253
- };
254
- } & {
255
- "v-model": {
256
- type: import("vue").PropType<MediaScalingSettings>;
257
- required: false;
258
- };
259
- } & {
260
- modelValue: {
261
- type: import("vue").PropType<MediaScalingSettings>;
262
- required: false;
263
- };
264
- }, false>;
265
- doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<TName, MediaScalingSettings, {
266
- "onUpdate:modelValue": {
267
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
268
- };
269
- } & {
270
- "v-model": {
271
- type: import("vue").PropType<MediaScalingSettings>;
272
- required: false;
273
- };
274
- } & {
275
- modelValue: {
276
- type: import("vue").PropType<MediaScalingSettings>;
277
- required: false;
278
- };
279
- }>;
280
- };
281
- class: {
282
- type: import("vue").PropType<String | String[]>;
283
- required: boolean;
284
- };
285
- colorSchemaType: {
286
- type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
287
- required: boolean;
288
- };
289
- container: {
290
- type: BooleanConstructor;
291
- required: boolean;
292
- };
293
- colors: {
294
- type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
295
- required: boolean;
296
- };
297
- }>> & {
298
- "onUpdate:modelValue"?: (value: any) => any;
299
- "onUpdate:add"?: (value: any) => any;
300
- "onUpdate:delete"?: (value: any) => any;
301
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
302
- "update:modelValue": (value: any) => true;
303
- "update:add": (value: any) => true;
304
- "update:delete": (value: any) => true;
305
- }, string, {
306
- container: boolean;
307
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
308
- propsDefinition: Omit<Readonly<{} & {
309
- name?: {
310
- [x: `onUpdate:${string}`]: {
311
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
312
- };
313
- } & {
314
- [x: `v-model:${string}`]: {
315
- type: import("vue").PropType<MediaScalingSettings>;
316
- required: false;
317
- };
318
- } & {
319
- [x: string]: {
320
- type: import("vue").PropType<MediaScalingSettings>;
321
- required: false;
322
- };
323
- } & {
324
- require(): import("../../DefineVueTypings").DefinePropModelRequire<string, MediaScalingSettings, {
325
- "onUpdate:modelValue": {
326
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
327
- };
328
- } & {
329
- "v-model": {
330
- type: import("vue").PropType<MediaScalingSettings>;
331
- required: false;
332
- };
333
- } & {
334
- modelValue: {
335
- type: import("vue").PropType<MediaScalingSettings>;
336
- required: false;
337
- };
338
- }>;
339
- defaultValue(value?: MediaScalingSettings): import("../../DefineVueTypings").DefinePropModelDefaultValue<string, MediaScalingSettings, {
340
- "onUpdate:modelValue": {
341
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
342
- };
343
- } & {
344
- "v-model": {
345
- type: import("vue").PropType<MediaScalingSettings>;
346
- required: false;
347
- };
348
- } & {
349
- modelValue: {
350
- type: import("vue").PropType<MediaScalingSettings>;
351
- required: false;
352
- };
353
- }, false>;
354
- doc$(description?: string): import("../../DefineVueTypings").DefinePropModelDoc<string, MediaScalingSettings, {
355
- "onUpdate:modelValue": {
356
- type: import("vue").PropType<(value: MediaScalingSettings) => any | void>;
357
- };
358
- } & {
359
- "v-model": {
360
- type: import("vue").PropType<MediaScalingSettings>;
361
- required: false;
362
- };
363
- } & {
364
- modelValue: {
365
- type: import("vue").PropType<MediaScalingSettings>;
366
- required: false;
367
- };
368
- }>;
369
- };
370
- container?: boolean;
371
- class?: String | String[];
372
- mandatory?: boolean;
373
- colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
374
- modelValue?: MediaScalingSettings;
375
- "onUpdate:modelValue"?: (value: MediaScalingSettings) => any | void;
376
- colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
377
- "v-model"?: MediaScalingSettings;
378
- group?: boolean;
379
- }>, "onUpdate:modelValue" | "onUpdate:add" | "onUpdate:delete"> & {
380
- "onUpdate:modelValue"?: (value: any) => any;
381
- "onUpdate:add"?: (value: any) => any;
382
- "onUpdate:delete"?: (value: any) => any;
383
- };
384
- };
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ "emit:update:modelValue": (value: MediaScalingSettings) => void;
4
+ } & {
5
+ "v-model"?: MediaScalingSettings;
6
+ } & {
7
+ modelValue?: MediaScalingSettings;
8
+ } & {
9
+ class?: String | String[];
10
+ } & {
11
+ mandatory?: boolean;
12
+ } & {
13
+ group?: boolean;
14
+ } & {
15
+ hideScaling?: boolean;
16
+ } & {
17
+ hideRatio?: boolean;
18
+ }> & {
19
+ "onUpdate:modelValue"?: (value: MediaScalingSettings) => any;
20
+ } & {
21
+ "v-slots"?: {} & Omit<{
22
+ default?: import("vue").Slot;
23
+ }, never>;
24
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "class" | "mandatory" | "modelValue" | "v-model" | "emit:update:modelValue" | "group" | "hideScaling" | "hideRatio"> & import("@omnia/fx/ux").VNodeEvents) => any;
385
25
  export default _default;
@@ -0,0 +1,10 @@
1
+ export declare namespace ScalingSettingsLocalization {
2
+ const namespace = "Omnia.ScalingSettings";
3
+ interface locInterface {
4
+ DefaultScaling: string;
5
+ ForceDefaultScaling: string;
6
+ KeepRatio: string;
7
+ CropRatios: string;
8
+ CustomRatio: string;
9
+ }
10
+ }
@@ -26,6 +26,7 @@ import wc041c5cb1e6fc487f98669ee2fb4edee0 from './ux/features/blades/FeatureProp
26
26
  import wc629ff3fc45f84df382ddb6282d968547 from './ux/features/FeaturesJourneyTenant';
27
27
  import wc47f40c108c6d482197c5f462acf292d2 from './ux/features/FeaturesJourneyAppInstance';
28
28
  import wc828d6c37d5524e7d9f949270c521b6da from './ux/fieldcontainer/FieldContainer';
29
+ import wcdf386f66c6a746298c4f53b2948e14be from './ux/filepicker/FilePickerRenderer';
29
30
  import wc1fab0218538f431c91ece4e10cbd468c from './ux/fileuploader/FileUploader';
30
31
  import wca91d4cd2b5744de3a672110cb1cdf7ba from './ux/filterengine/FilterEngineSettings';
31
32
  import wc34e1cea969d744f1bbec4770b51d49f5 from './ux/filterengine/FilterEngineRenderer';
@@ -1032,6 +1033,13 @@ declare global {
1032
1033
  } : typeof wc90cfd68bb4e04f67bfd5677bdf4af59d;
1033
1034
  };
1034
1035
  "file": {
1036
+ "picker": typeof wcdf386f66c6a746298c4f53b2948e14be extends {
1037
+ propsDefinition: infer TProp;
1038
+ } ? {
1039
+ new (...args: any[]): {
1040
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1041
+ };
1042
+ } : typeof wcdf386f66c6a746298c4f53b2948e14be;
1035
1043
  "uploader": typeof wc1fab0218538f431c91ece4e10cbd468c extends {
1036
1044
  propsDefinition: infer TProp;
1037
1045
  } ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.347-dev",
4
+ "version": "8.0.349-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.347-dev",
23
+ "@omnia/fx-models": "8.0.349-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
@@ -1,20 +0,0 @@
1
- import { FilePickerProvider, FilePickerHandler, ILayoutFileContext } from "@omnia/fx-models";
2
- import { TsxAllowUnknowProperties } from "..";
3
- export interface IFileUploaderProviderProps {
4
- context: ILayoutFileContext;
5
- handler?: FilePickerHandler;
6
- providers: Array<FilePickerProvider>;
7
- }
8
- declare global {
9
- namespace JSX {
10
- interface Element {
11
- }
12
- interface ElementClass {
13
- }
14
- interface ElementAttributesProperty {
15
- }
16
- interface IntrinsicElements {
17
- "omfx-file-picker": TsxAllowUnknowProperties<IFileUploaderProviderProps>;
18
- }
19
- }
20
- }