@omnia/fx 8.0.75-vnext → 8.0.77-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.
@@ -87,8 +87,8 @@ declare const _default: {
87
87
  readonly itemTitle?: any;
88
88
  readonly itemValue?: any;
89
89
  readonly returnObject?: boolean;
90
- readonly toned?: boolean;
91
90
  readonly clearable?: boolean;
91
+ readonly toned?: boolean;
92
92
  "onClick:button"?: (value: any) => any;
93
93
  readonly searchable?: boolean;
94
94
  };
@@ -419,8 +419,8 @@ declare const _default: {
419
419
  itemTitle?: any;
420
420
  itemValue?: any;
421
421
  returnObject?: boolean;
422
- toned?: boolean;
423
422
  clearable?: boolean;
423
+ toned?: boolean;
424
424
  searchable?: boolean;
425
425
  }>, "onUpdate:modelValue" | "onClick:button"> & {
426
426
  "onUpdate:modelValue"?: (value: any) => any;
@@ -1,3 +1,4 @@
1
+ import { VTextAreaSlots } from "../../ComponentTypings";
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
@@ -53,7 +54,13 @@ declare const _default: {
53
54
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
55
  [key: string]: any;
55
56
  }>) => void)[];
57
+ readonly disabled?: boolean;
58
+ readonly errorMessages?: string | string[];
59
+ readonly "v-slots"?: {
60
+ default?: import("../../DefineVueTypings").Slot<any[]>;
61
+ } & VTextAreaSlots;
56
62
  readonly modelValue?: string;
63
+ "onUpdate:focused"?: (value: boolean) => any;
57
64
  "onUpdate:modelValue"?: ((value: string) => any) & ((value: string) => any);
58
65
  readonly "v-model"?: string;
59
66
  readonly clearable?: boolean;
@@ -70,9 +77,16 @@ declare const _default: {
70
77
  }>;
71
78
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
72
79
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
73
- $emit: ((event: "update:modelValue", value: string) => void) & ((event: "click:button") => void);
80
+ $emit: ((event: "update:modelValue", value: string) => void) & ((event: "update:focused", value: boolean) => void) & ((event: "click:button") => void);
74
81
  $el: any;
75
82
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
83
+ disabled: {
84
+ type: import("vue").PropType<boolean>;
85
+ required: false;
86
+ };
87
+ errorMessages: {
88
+ type: import("vue").PropType<string | string[]>;
89
+ };
76
90
  clearable: {
77
91
  type: import("vue").PropType<boolean>;
78
92
  };
@@ -90,6 +104,9 @@ declare const _default: {
90
104
  type: import("vue").PropType<string>;
91
105
  required: false;
92
106
  };
107
+ "v-slots": import("vue").Prop<{
108
+ default?: import("../../DefineVueTypings").Slot<any[]>;
109
+ } & VTextAreaSlots>;
93
110
  class: {
94
111
  type: import("vue").PropType<String | String[]>;
95
112
  required: boolean;
@@ -100,9 +117,11 @@ declare const _default: {
100
117
  blueprintType?: any;
101
118
  blueprint?: any;
102
119
  }>> & {
120
+ "onUpdate:focused"?: (value: boolean) => any;
103
121
  "onUpdate:modelValue"?: (value: string) => any;
104
122
  "onClick:button"?: () => any;
105
123
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
124
+ "update:focused": (value: boolean) => true;
106
125
  "update:modelValue": (value: string) => true;
107
126
  "click:button": () => true;
108
127
  }, string, {
@@ -132,6 +151,13 @@ declare const _default: {
132
151
  $nextTick: typeof import("vue").nextTick;
133
152
  $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;
134
153
  } & Readonly<import("vue").ExtractPropTypes<{
154
+ disabled: {
155
+ type: import("vue").PropType<boolean>;
156
+ required: false;
157
+ };
158
+ errorMessages: {
159
+ type: import("vue").PropType<string | string[]>;
160
+ };
135
161
  clearable: {
136
162
  type: import("vue").PropType<boolean>;
137
163
  };
@@ -149,6 +175,9 @@ declare const _default: {
149
175
  type: import("vue").PropType<string>;
150
176
  required: false;
151
177
  };
178
+ "v-slots": import("vue").Prop<{
179
+ default?: import("../../DefineVueTypings").Slot<any[]>;
180
+ } & VTextAreaSlots>;
152
181
  class: {
153
182
  type: import("vue").PropType<String | String[]>;
154
183
  required: boolean;
@@ -159,6 +188,7 @@ declare const _default: {
159
188
  blueprintType?: any;
160
189
  blueprint?: any;
161
190
  }>> & {
191
+ "onUpdate:focused"?: (value: boolean) => any;
162
192
  "onUpdate:modelValue"?: (value: string) => any;
163
193
  "onClick:button"?: () => any;
164
194
  } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
@@ -166,6 +196,13 @@ declare const _default: {
166
196
  __isTeleport?: never;
167
197
  __isSuspense?: never;
168
198
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
199
+ disabled: {
200
+ type: import("vue").PropType<boolean>;
201
+ required: false;
202
+ };
203
+ errorMessages: {
204
+ type: import("vue").PropType<string | string[]>;
205
+ };
169
206
  clearable: {
170
207
  type: import("vue").PropType<boolean>;
171
208
  };
@@ -183,6 +220,9 @@ declare const _default: {
183
220
  type: import("vue").PropType<string>;
184
221
  required: false;
185
222
  };
223
+ "v-slots": import("vue").Prop<{
224
+ default?: import("../../DefineVueTypings").Slot<any[]>;
225
+ } & VTextAreaSlots>;
186
226
  class: {
187
227
  type: import("vue").PropType<String | String[]>;
188
228
  required: boolean;
@@ -193,9 +233,11 @@ declare const _default: {
193
233
  blueprintType?: any;
194
234
  blueprint?: any;
195
235
  }>> & {
236
+ "onUpdate:focused"?: (value: boolean) => any;
196
237
  "onUpdate:modelValue"?: (value: string) => any;
197
238
  "onClick:button"?: () => any;
198
239
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
240
+ "update:focused": (value: boolean) => true;
199
241
  "update:modelValue": (value: string) => true;
200
242
  "click:button": () => true;
201
243
  }, string, {
@@ -214,11 +256,17 @@ declare const _default: {
214
256
  } & {
215
257
  label?: string;
216
258
  class?: String | String[];
259
+ disabled?: boolean;
260
+ errorMessages?: string | string[];
261
+ "v-slots"?: {
262
+ default?: import("../../DefineVueTypings").Slot<any[]>;
263
+ } & VTextAreaSlots;
217
264
  modelValue?: string;
218
265
  "onUpdate:modelValue"?: (value: string) => any;
219
266
  "v-model"?: string;
220
267
  clearable?: boolean;
221
- }>, "onUpdate:modelValue" | "onClick:button"> & {
268
+ }>, "onUpdate:focused" | "onUpdate:modelValue" | "onClick:button"> & {
269
+ "onUpdate:focused"?: (value: boolean) => any;
222
270
  "onUpdate:modelValue"?: (value: string) => any;
223
271
  "onClick:button"?: () => any;
224
272
  };
@@ -1,9 +1,5 @@
1
1
  import { ValidationRule } from "@omnia/fx/ux";
2
- import { VNodeChild } from "vue";
3
2
  import { VTextFieldSlots } from "../../ComponentTypings";
4
- interface OTextFieldSlots extends VTextFieldSlots {
5
- filterMenu?(closeMenuCallback: () => void): VNodeChild;
6
- }
7
3
  declare const _default: {
8
4
  new (...args: any[]): {
9
5
  $: import("vue").ComponentInternalInstance;
@@ -62,9 +58,10 @@ declare const _default: {
62
58
  }>) => void)[];
63
59
  readonly disabled?: boolean;
64
60
  readonly placeholder?: string;
61
+ readonly errorMessages?: string | string[];
65
62
  readonly "v-slots"?: {
66
63
  default?: import("../../DefineVueTypings").Slot<any[]>;
67
- } & OTextFieldSlots;
64
+ } & VTextFieldSlots;
68
65
  readonly variant?: "search" | "link" | "default" | "media" | "find-slim";
69
66
  readonly loading?: boolean;
70
67
  readonly modelValue?: string | number;
@@ -72,10 +69,10 @@ declare const _default: {
72
69
  readonly rules?: ValidationRule[];
73
70
  "onUpdate:modelValue"?: ((value: string | number) => any) & ((value: string) => any);
74
71
  readonly "v-model"?: string | number;
75
- readonly toned?: boolean;
76
- "onClick:clear"?: () => any;
77
72
  readonly clearable?: boolean;
73
+ "onClick:clear"?: () => any;
78
74
  readonly autofocus?: boolean;
75
+ readonly toned?: boolean;
79
76
  onDoc$?: (description?: string) => any;
80
77
  "onClick:button"?: () => any;
81
78
  };
@@ -93,6 +90,9 @@ declare const _default: {
93
90
  $emit: ((event: "doc$", description?: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:focused", value: boolean) => void) & ((event: "click:clear") => void) & ((event: "click:button") => void);
94
91
  $el: any;
95
92
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
93
+ errorMessages: {
94
+ type: import("vue").PropType<string | string[]>;
95
+ };
96
96
  disabled: {
97
97
  type: import("vue").PropType<boolean>;
98
98
  required: false;
@@ -141,7 +141,7 @@ declare const _default: {
141
141
  };
142
142
  "v-slots": import("vue").Prop<{
143
143
  default?: import("../../DefineVueTypings").Slot<any[]>;
144
- } & OTextFieldSlots>;
144
+ } & VTextFieldSlots>;
145
145
  class: {
146
146
  type: import("vue").PropType<String | String[]>;
147
147
  required: boolean;
@@ -192,6 +192,9 @@ declare const _default: {
192
192
  $nextTick: typeof import("vue").nextTick;
193
193
  $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;
194
194
  } & Readonly<import("vue").ExtractPropTypes<{
195
+ errorMessages: {
196
+ type: import("vue").PropType<string | string[]>;
197
+ };
195
198
  disabled: {
196
199
  type: import("vue").PropType<boolean>;
197
200
  required: false;
@@ -240,7 +243,7 @@ declare const _default: {
240
243
  };
241
244
  "v-slots": import("vue").Prop<{
242
245
  default?: import("../../DefineVueTypings").Slot<any[]>;
243
- } & OTextFieldSlots>;
246
+ } & VTextFieldSlots>;
244
247
  class: {
245
248
  type: import("vue").PropType<String | String[]>;
246
249
  required: boolean;
@@ -261,6 +264,9 @@ declare const _default: {
261
264
  __isTeleport?: never;
262
265
  __isSuspense?: never;
263
266
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
267
+ errorMessages: {
268
+ type: import("vue").PropType<string | string[]>;
269
+ };
264
270
  disabled: {
265
271
  type: import("vue").PropType<boolean>;
266
272
  required: false;
@@ -309,7 +315,7 @@ declare const _default: {
309
315
  };
310
316
  "v-slots": import("vue").Prop<{
311
317
  default?: import("../../DefineVueTypings").Slot<any[]>;
312
- } & OTextFieldSlots>;
318
+ } & VTextFieldSlots>;
313
319
  class: {
314
320
  type: import("vue").PropType<String | String[]>;
315
321
  required: boolean;
@@ -352,18 +358,19 @@ declare const _default: {
352
358
  type?: "number" | "text" | "password";
353
359
  disabled?: boolean;
354
360
  placeholder?: string;
361
+ errorMessages?: string | string[];
355
362
  "v-slots"?: {
356
363
  default?: import("../../DefineVueTypings").Slot<any[]>;
357
- } & OTextFieldSlots;
364
+ } & VTextFieldSlots;
358
365
  variant?: "search" | "link" | "default" | "media" | "find-slim";
359
366
  loading?: boolean;
360
367
  modelValue?: string | number;
361
368
  rules?: ValidationRule[];
362
369
  "onUpdate:modelValue"?: (value: string | number) => any;
363
370
  "v-model"?: string | number;
364
- toned?: boolean;
365
371
  clearable?: boolean;
366
372
  autofocus?: boolean;
373
+ toned?: boolean;
367
374
  }>, "onUpdate:focused" | "onUpdate:modelValue" | "onClick:clear" | "onDoc$" | "onClick:button"> & {
368
375
  "onUpdate:focused"?: (value: boolean) => any;
369
376
  "onUpdate:modelValue"?: (value: string) => any;
@@ -1,3 +1,4 @@
1
+ import { Position } from "@omnia/fx-models";
1
2
  import { VNodeChild } from "vue";
2
3
  declare const _default: {
3
4
  new (...args: any[]): {
@@ -54,6 +55,7 @@ declare const _default: {
54
55
  } & {
55
56
  activator?: () => VNodeChild;
56
57
  };
58
+ readonly location?: Position;
57
59
  readonly openOnHover?: boolean;
58
60
  readonly activateOnLength?: number;
59
61
  };
@@ -76,6 +78,10 @@ declare const _default: {
76
78
  } & {
77
79
  activator?: () => VNodeChild;
78
80
  }>;
81
+ location: {
82
+ type: import("vue").PropType<Position>;
83
+ required: false;
84
+ };
79
85
  openOnHover: {
80
86
  type: import("vue").PropType<boolean>;
81
87
  };
@@ -111,6 +117,10 @@ declare const _default: {
111
117
  } & {
112
118
  activator?: () => VNodeChild;
113
119
  }>;
120
+ location: {
121
+ type: import("vue").PropType<Position>;
122
+ required: false;
123
+ };
114
124
  openOnHover: {
115
125
  type: import("vue").PropType<boolean>;
116
126
  };
@@ -130,6 +140,10 @@ declare const _default: {
130
140
  } & {
131
141
  activator?: () => VNodeChild;
132
142
  }>;
143
+ location: {
144
+ type: import("vue").PropType<Position>;
145
+ required: false;
146
+ };
133
147
  openOnHover: {
134
148
  type: import("vue").PropType<boolean>;
135
149
  };
@@ -147,6 +161,7 @@ declare const _default: {
147
161
  } & {
148
162
  activator?: () => VNodeChild;
149
163
  };
164
+ location?: Position;
150
165
  openOnHover?: boolean;
151
166
  activateOnLength?: number;
152
167
  }>, never>;
@@ -36,7 +36,7 @@ declare global {
36
36
  interface ElementAttributesProperty {
37
37
  }
38
38
  interface IntrinsicElements {
39
- "omfx-url-input": TsxAllowUnknowProperties<IUrlInput>;
39
+ "omfx-url-input-legacy": TsxAllowUnknowProperties<IUrlInput>;
40
40
  }
41
41
  }
42
42
  }
@@ -1,46 +0,0 @@
1
- import { IWebComponentInstance } from "@omnia/fx";
2
- import { IValidator, VueComponentBase } from "@omnia/fx/ux";
3
- import { UrlPropertyValue } from "../../models";
4
- import { MSTeamsStore } from "../../stores";
5
- import { IUrlInput } from "./IUrlInput";
6
- import { UrlInputLocalization } from "./loc/localize";
7
- import "./UrlInputStyles.css";
8
- export declare class UrlInput extends VueComponentBase implements IWebComponentInstance, IUrlInput {
9
- valueBind: UrlPropertyValue;
10
- onValueChanged: (value: UrlPropertyValue) => void;
11
- onBlur: () => void;
12
- label?: string;
13
- filled?: boolean;
14
- light?: boolean;
15
- dark?: boolean;
16
- disabled?: boolean;
17
- requiredWithValidator: IValidator;
18
- defaultUrlResolving?: boolean;
19
- enabledInputMSTeamsUrl?: boolean;
20
- urlInputLoc: UrlInputLocalization.locInterface;
21
- msTeamsStore: MSTeamsStore;
22
- internalModel: UrlPropertyValue;
23
- internalDisabled: boolean;
24
- private editingPropertyName;
25
- private isListView;
26
- private isFocused;
27
- private urlInputStyles;
28
- private urlValidationFlags;
29
- private isValidateTrigged;
30
- private propertyNames;
31
- onValueBindChanged(): void;
32
- mounted(): void;
33
- created(): void;
34
- init(): void;
35
- onUrlChanged(val: string): void;
36
- private onBlurEvent;
37
- validateMSTeamsUrl(): boolean;
38
- validateDefaultUrl(): boolean;
39
- validate(): Promise<boolean>;
40
- clearValidation(): void;
41
- onClickUrlCategoryIcon(selectedProperty: string): void;
42
- renderLabel(): JSX.Element;
43
- renderTabView(): JSX.Element;
44
- renderListView(): JSX.Element;
45
- render(): JSX.Element;
46
- }
@@ -0,0 +1,46 @@
1
+ import { IWebComponentInstance } from "@omnia/fx";
2
+ import { IValidator, VueComponentBase } from "@omnia/fx/ux";
3
+ import { UrlPropertyValue } from "../../models";
4
+ import { MSTeamsStore } from "../../stores";
5
+ import { IUrlInput } from "./IUrlInput";
6
+ import { UrlInputLocalization } from "./loc/localize";
7
+ import "./UrlInputStyles.css";
8
+ export declare class UrlInput extends VueComponentBase implements IWebComponentInstance, IUrlInput {
9
+ valueBind: UrlPropertyValue;
10
+ onValueChanged: (value: UrlPropertyValue) => void;
11
+ onBlur: () => void;
12
+ label?: string;
13
+ filled?: boolean;
14
+ light?: boolean;
15
+ dark?: boolean;
16
+ disabled?: boolean;
17
+ requiredWithValidator: IValidator;
18
+ defaultUrlResolving?: boolean;
19
+ enabledInputMSTeamsUrl?: boolean;
20
+ urlInputLoc: UrlInputLocalization.locInterface;
21
+ msTeamsStore: MSTeamsStore;
22
+ internalModel: UrlPropertyValue;
23
+ internalDisabled: boolean;
24
+ private editingPropertyName;
25
+ private isListView;
26
+ private isFocused;
27
+ private urlInputStyles;
28
+ private urlValidationFlags;
29
+ private isValidateTrigged;
30
+ private propertyNames;
31
+ onValueBindChanged(): void;
32
+ mounted(): void;
33
+ created(): void;
34
+ init(): void;
35
+ onUrlChanged(val: string): void;
36
+ private onBlurEvent;
37
+ validateMSTeamsUrl(): boolean;
38
+ validateDefaultUrl(): boolean;
39
+ validate(): Promise<boolean>;
40
+ clearValidation(): void;
41
+ onClickUrlCategoryIcon(selectedProperty: string): void;
42
+ renderLabel(): JSX.Element;
43
+ renderTabView(): JSX.Element;
44
+ renderListView(): JSX.Element;
45
+ render(): JSX.Element;
46
+ }
@@ -42,6 +42,7 @@ import wcf365f5cb3a694c20be7b96423bbc3eca from './ux/magiclink/MagicLink';
42
42
  import wc744b3f31e00c4815b63ecaf638ad7a7a from './ux/markdown/MarkdownEditor';
43
43
  import wcc8b990d01ddc45ab930b4409fc406435 from './ux/markdown/MarkdownRenderer';
44
44
  import wc2e8004b49c8d44dd8edb56ce884c2b57 from './ux/monaco/MonacoEditor';
45
+ import wce95c4611a45548a79e4c3984d8e5228d from './ux/multilingualinput/MultilingualInput';
45
46
  import wc7f06e68f94904b48b827b23acd148bec from './ux/optionpicker/OptionPicker';
46
47
  import wcfb67bd4d1cc24073ab123c822d78ea17 from './ux/permissioninput/PermissionInput';
47
48
  import wc1a58948a606a42078da3fb919cc4f7e6 from './ux/presetupwizard/PreSetupWizard';
@@ -290,6 +291,7 @@ declare global {
290
291
  "omfx-markdown-editor": typeof wc744b3f31e00c4815b63ecaf638ad7a7a.propsDefinition & VueComponentBaseProps;
291
292
  "omfx-markdown-renderer": typeof wcc8b990d01ddc45ab930b4409fc406435.propsDefinition & VueComponentBaseProps;
292
293
  "monaco-editor": typeof wc2e8004b49c8d44dd8edb56ce884c2b57.propsDefinition & VueComponentBaseProps;
294
+ "omfx-multilingual-input": typeof wce95c4611a45548a79e4c3984d8e5228d.propsDefinition & VueComponentBaseProps;
293
295
  "omfx-option-picker": typeof wc7f06e68f94904b48b827b23acd148bec.propsDefinition & VueComponentBaseProps;
294
296
  "omfx-permission-input": typeof wcfb67bd4d1cc24073ab123c822d78ea17.propsDefinition & VueComponentBaseProps;
295
297
  "omfx-presetup-wizard": typeof wc1a58948a606a42078da3fb919cc4f7e6.propsDefinition & VueComponentBaseProps;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.75-vnext",
4
+ "version": "8.0.77-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.75-vnext",
23
+ "@omnia/fx-models": "8.0.77-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",