@omnia/fx 8.0.74-vnext → 8.0.76-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.
@@ -52,8 +52,12 @@ declare const _default: {
52
52
  [key: string]: any;
53
53
  }>) => void)[];
54
54
  readonly icon?: IIcon;
55
+ readonly "v-slots"?: {
56
+ default?: import("../../DefineVueTypings").Slot<any[]>;
57
+ } & {
58
+ selection?: (selected: JourneyMenuItem) => VNode;
59
+ };
55
60
  readonly items?: JourneyMenuItem[];
56
- readonly selectedNodeRenderer?: (selected: JourneyMenuItem) => VNode;
57
61
  onItemSelected?: (item: JourneyMenuItem) => any;
58
62
  };
59
63
  $attrs: {
@@ -70,9 +74,11 @@ declare const _default: {
70
74
  $emit: (event: "itemSelected", item: JourneyMenuItem) => void;
71
75
  $el: any;
72
76
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
73
- selectedNodeRenderer: {
74
- type: import("vue").PropType<(selected: JourneyMenuItem) => VNode>;
75
- };
77
+ "v-slots": import("vue").Prop<{
78
+ default?: import("../../DefineVueTypings").Slot<any[]>;
79
+ } & {
80
+ selection?: (selected: JourneyMenuItem) => VNode;
81
+ }>;
76
82
  items: {
77
83
  type: import("vue").PropType<JourneyMenuItem[]>;
78
84
  required: false;
@@ -111,9 +117,11 @@ declare const _default: {
111
117
  $nextTick: typeof import("vue").nextTick;
112
118
  $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;
113
119
  } & Readonly<import("vue").ExtractPropTypes<{
114
- selectedNodeRenderer: {
115
- type: import("vue").PropType<(selected: JourneyMenuItem) => VNode>;
116
- };
120
+ "v-slots": import("vue").Prop<{
121
+ default?: import("../../DefineVueTypings").Slot<any[]>;
122
+ } & {
123
+ selection?: (selected: JourneyMenuItem) => VNode;
124
+ }>;
117
125
  items: {
118
126
  type: import("vue").PropType<JourneyMenuItem[]>;
119
127
  required: false;
@@ -134,9 +142,11 @@ declare const _default: {
134
142
  __isTeleport?: never;
135
143
  __isSuspense?: never;
136
144
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
137
- selectedNodeRenderer: {
138
- type: import("vue").PropType<(selected: JourneyMenuItem) => VNode>;
139
- };
145
+ "v-slots": import("vue").Prop<{
146
+ default?: import("../../DefineVueTypings").Slot<any[]>;
147
+ } & {
148
+ selection?: (selected: JourneyMenuItem) => VNode;
149
+ }>;
140
150
  items: {
141
151
  type: import("vue").PropType<JourneyMenuItem[]>;
142
152
  required: false;
@@ -159,8 +169,12 @@ declare const _default: {
159
169
  title?: string;
160
170
  id?: string;
161
171
  icon?: IIcon;
172
+ "v-slots"?: {
173
+ default?: import("../../DefineVueTypings").Slot<any[]>;
174
+ } & {
175
+ selection?: (selected: JourneyMenuItem) => VNode;
176
+ };
162
177
  items?: JourneyMenuItem[];
163
- selectedNodeRenderer?: (selected: JourneyMenuItem) => VNode;
164
178
  }>, "onItemSelected"> & {
165
179
  onItemSelected?: (item: JourneyMenuItem) => any;
166
180
  };
@@ -27,4 +27,6 @@ export interface IValidationRuleBuilder {
27
27
  }
28
28
  export interface IInternalValidator extends IPublicValidator {
29
29
  builtinValidate(): Promise<boolean>;
30
+ overrideResetValidation(func: () => void): void;
31
+ builtinResetValidation(): void;
30
32
  }
@@ -1,5 +1,5 @@
1
1
  import { UrlPropertyValue } from "../../../fx/models";
2
- import { IValidator, TsxAllowUnknowProperties } from "@omnia/fx/ux";
2
+ import { IValidator } from "@omnia/fx/ux";
3
3
  export interface IUrlInputProperties {
4
4
  /**Label */
5
5
  label?: string;
@@ -27,16 +27,3 @@ export interface IUrlInput extends IUrlInputProperties {
27
27
  onValueChanged: (model: UrlPropertyValue) => void;
28
28
  onBlur?: () => void;
29
29
  }
30
- declare global {
31
- namespace JSX {
32
- interface Element {
33
- }
34
- interface ElementClass {
35
- }
36
- interface ElementAttributesProperty {
37
- }
38
- interface IntrinsicElements {
39
- "omfx-url-input": TsxAllowUnknowProperties<IUrlInput>;
40
- }
41
- }
42
- }
@@ -1,46 +1,193 @@
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
- }
1
+ export type UrlType = "default" | "msTeam";
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: {
7
+ readonly label?: string;
8
+ style?: unknown;
9
+ class?: unknown;
10
+ readonly type?: UrlType;
11
+ key?: string | number | symbol;
12
+ readonly required?: boolean;
13
+ ref?: import("vue").VNodeRef;
14
+ ref_for?: boolean;
15
+ ref_key?: string;
16
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ [key: string]: any;
18
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>) => void)[];
21
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
22
+ [key: string]: any;
23
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }>) => void)[];
26
+ onVnodeBeforeUpdate?: ((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) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>) => void)[];
35
+ onVnodeUpdated?: ((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) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>) => void)[];
44
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>) => void)[];
49
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ [key: string]: any;
51
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>) => void)[];
54
+ readonly modelValue: string;
55
+ "onUpdate:modelValue"?: ((value: string) => any) & ((value: string) => any);
56
+ readonly "v-model": string;
57
+ };
58
+ $attrs: {
59
+ [x: string]: unknown;
60
+ };
61
+ $refs: {
62
+ [x: string]: unknown;
63
+ };
64
+ $slots: Readonly<{
65
+ [name: string]: import("vue").Slot<any>;
66
+ }>;
67
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
68
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
69
+ $emit: (event: "update:modelValue", value: string) => void;
70
+ $el: any;
71
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
72
+ label: {
73
+ type: import("vue").PropType<string>;
74
+ } & {
75
+ type: import("vue").PropType<string>;
76
+ };
77
+ required: {
78
+ type: import("vue").PropType<boolean>;
79
+ required: false;
80
+ };
81
+ type: {
82
+ type: import("vue").PropType<UrlType>;
83
+ required: false;
84
+ };
85
+ "onUpdate:modelValue": {
86
+ type: import("vue").PropType<(value: string) => any>;
87
+ };
88
+ "v-model": {
89
+ type: import("vue").PropType<string>;
90
+ required: true;
91
+ };
92
+ modelValue: {
93
+ type: import("vue").PropType<string>;
94
+ required: true;
95
+ };
96
+ }>> & {
97
+ "onUpdate:modelValue"?: (value: string) => any;
98
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
+ "update:modelValue": (value: string) => boolean;
100
+ }, string, {}, {}, string, {}> & {
101
+ beforeCreate?: (() => void) | (() => void)[];
102
+ created?: (() => void) | (() => void)[];
103
+ beforeMount?: (() => void) | (() => void)[];
104
+ mounted?: (() => void) | (() => void)[];
105
+ beforeUpdate?: (() => void) | (() => void)[];
106
+ updated?: (() => void) | (() => void)[];
107
+ activated?: (() => void) | (() => void)[];
108
+ deactivated?: (() => void) | (() => void)[];
109
+ beforeDestroy?: (() => void) | (() => void)[];
110
+ beforeUnmount?: (() => void) | (() => void)[];
111
+ destroyed?: (() => void) | (() => void)[];
112
+ unmounted?: (() => void) | (() => void)[];
113
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
114
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
115
+ 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)[];
116
+ };
117
+ $forceUpdate: () => void;
118
+ $nextTick: typeof import("vue").nextTick;
119
+ $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;
120
+ } & Readonly<import("vue").ExtractPropTypes<{
121
+ label: {
122
+ type: import("vue").PropType<string>;
123
+ } & {
124
+ type: import("vue").PropType<string>;
125
+ };
126
+ required: {
127
+ type: import("vue").PropType<boolean>;
128
+ required: false;
129
+ };
130
+ type: {
131
+ type: import("vue").PropType<UrlType>;
132
+ required: false;
133
+ };
134
+ "onUpdate:modelValue": {
135
+ type: import("vue").PropType<(value: string) => any>;
136
+ };
137
+ "v-model": {
138
+ type: import("vue").PropType<string>;
139
+ required: true;
140
+ };
141
+ modelValue: {
142
+ type: import("vue").PropType<string>;
143
+ required: true;
144
+ };
145
+ }>> & {
146
+ "onUpdate:modelValue"?: (value: string) => any;
147
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
148
+ __isFragment?: never;
149
+ __isTeleport?: never;
150
+ __isSuspense?: never;
151
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
152
+ label: {
153
+ type: import("vue").PropType<string>;
154
+ } & {
155
+ type: import("vue").PropType<string>;
156
+ };
157
+ required: {
158
+ type: import("vue").PropType<boolean>;
159
+ required: false;
160
+ };
161
+ type: {
162
+ type: import("vue").PropType<UrlType>;
163
+ required: false;
164
+ };
165
+ "onUpdate:modelValue": {
166
+ type: import("vue").PropType<(value: string) => any>;
167
+ };
168
+ "v-model": {
169
+ type: import("vue").PropType<string>;
170
+ required: true;
171
+ };
172
+ modelValue: {
173
+ type: import("vue").PropType<string>;
174
+ required: true;
175
+ };
176
+ }>> & {
177
+ "onUpdate:modelValue"?: (value: string) => any;
178
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
179
+ "update:modelValue": (value: string) => boolean;
180
+ }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
181
+ propsDefinition: Omit<Readonly<{
182
+ modelValue: string;
183
+ "v-model": string;
184
+ } & {
185
+ label?: string;
186
+ type?: UrlType;
187
+ required?: boolean;
188
+ "onUpdate:modelValue"?: (value: string) => any;
189
+ }>, "onUpdate:modelValue"> & {
190
+ "onUpdate:modelValue"?: (value: string) => any;
191
+ };
192
+ };
193
+ export default _default;
@@ -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
+ }
@@ -63,6 +63,7 @@ import wcbc3b9409639d45829a6e58a4295bc470 from './ux/signin/omnia/Renderer';
63
63
  import wcf297290b5ea4409a9738ca880f1ea612 from './ux/signout/SignOut';
64
64
  import wc564bced7081c496483e8df717f600ff3 from './ux/spacingpicker/SpacingPicker3';
65
65
  import wccb83d46eaaed44d4920d4d5da21bc488 from './ux/statusmessageoverlay/StatusMessageOverlay';
66
+ import wcf13af715395f4e4586306b5372478aaf from './ux/urlinput/UrlInput';
66
67
  import wc21a1f20b3d404602853049c1c8b8da2f from './ux/userpresence/UserPresence';
67
68
  import wc30289e2b58ff48b0aabb3cb3732c3038 from './ux/usertypelayout/UserTypeLayoutRenderer';
68
69
  import wc5b26d2a399c041f3beae9c1115d6e8d8 from './ux/usertypelayout/UserTypeLayoutBladeBuilder';
@@ -311,6 +312,7 @@ declare global {
311
312
  "omfx-signout": typeof wcf297290b5ea4409a9738ca880f1ea612.propsDefinition & VueComponentBaseProps;
312
313
  "omfx-spacing-picker": typeof wc564bced7081c496483e8df717f600ff3.propsDefinition & VueComponentBaseProps;
313
314
  "omfx-status-message-overlay": typeof wccb83d46eaaed44d4920d4d5da21bc488.propsDefinition & VueComponentBaseProps;
315
+ "omfx-url-input": typeof wcf13af715395f4e4586306b5372478aaf.propsDefinition & VueComponentBaseProps;
314
316
  "omfx-user-presence": typeof wc21a1f20b3d404602853049c1c8b8da2f.propsDefinition & VueComponentBaseProps;
315
317
  "omfx-usertype-layout-renderer": typeof wc30289e2b58ff48b0aabb3cb3732c3038.propsDefinition & VueComponentBaseProps;
316
318
  "omfx-usertype-layout-blade-builder": typeof wc5b26d2a399c041f3beae9c1115d6e8d8.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.74-vnext",
4
+ "version": "8.0.76-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.74-vnext",
23
+ "@omnia/fx-models": "8.0.76-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",