@omnia/fx 8.0.51-vnext → 8.0.53-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/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.d.ts +12 -7
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.js +2 -1
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.d.ts +21 -4
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.js +9 -0
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +18 -18
- package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +3 -8
- package/internal-do-not-import-from-here/ux/appprovisioning/AppInstanceComponentProps.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/IAppProvisioningValidatorComponent.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceeditingjourney/EditEnterprisePropertiesBlade.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceeditingjourney/EditProperiesBlade.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceroutepathblade/AppInstanceRoutePathBlade.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/apppropertynamingpolicyinput/IAppPropertyNamingPolicyInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningwizard/AppProvisioningWizard.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/approuteinput/AppRouteInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/approuteinput/IAppRouteInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/apptitledescription/AppDescriptionInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/apptitledescription/IAppDescriptionInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/apptitleinput/AppTitleInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/apptitleinput/IAppTitleInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceEnterprisePropertiesVueComponent.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceInformationVueComponent.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstancePermissionsVueComponent.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppProvisioningStepComponentBase.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/richtextfield/RichTextFieldEdit.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterprisepropertysets/picker/EnterprisePropertySetPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/features/FeatureComponentProps.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/items/StepListingSettingsPanel.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/models/DataTable.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/models/Validation.d.ts +25 -0
- package/internal-do-not-import-from-here/ux/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/oxide/validation/Validation.d.ts +111 -0
- package/internal-do-not-import-from-here/ux/permissioninput/IPermissionInput.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/permissioninput/PermissionInput.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorSettings.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker3.css.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker3.d.ts +540 -0
- package/internal-do-not-import-from-here/ux/spacingpicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/spacingpicker/docs/SampleComponent.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/spacingpicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/spacingpicker/loc/localize.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/theming-v2/styling/UseBlueprintStyling.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/theming-v2/themes/SpacingTypes.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/urlinput/UrlInput.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +35 -4
- package/internal-do-not-import-from-here/ux/use/UseValidation.d.ts +2 -10
- package/internal-do-not-import-from-here/ux/use/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/validation/FieldValidation.d.ts +132 -17
- package/internal-do-not-import-from-here/ux/validation/FieldValueValidation.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/validation/FormValidator.d.ts +1 -10
- package/internal-do-not-import-from-here/ux/validation/IComponentValidationEnabled.d.ts +1 -10
- package/internal-do-not-import-from-here/ux/validation/IFieldValidation.d.ts +1 -21
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/LayoutAliasBlade.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutListBladeBuilder.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/alternatelayout/AlternateLayoutCreationForm.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/alternatelayout/AlternateLayoutRenameForm.d.ts +0 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +5 -3
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/playground_test/PlayComponent.d.ts +0 -108
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/FileUploaderTab.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/MediaPickerTab.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/MultilingualInputTab.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/RichtextEditorTab.d.ts +0 -12
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/SharePointPermissionTab.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/TermPickerTab.d.ts +0 -10
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/TestChart.d.ts +0 -15
- package/internal-do-not-import-from-here/ux/playground_test/play2tabs/TimePeriodPickerTab.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/playground_test/testvalidate/DemoValidate.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/playground_test/testvalidate/IDemoValidate.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/playground_test/testvalidate/SubComponent1.d.ts +0 -8
- /package/internal-do-not-import-from-here/ux/{playground_test/Play2Component.d.ts → oxide/slider/docs/SampleComponent2.d.ts} +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Guid, SpacingDefinition } from "@omnia/fx-models";
|
2
|
+
export declare class DefaultLayoutSpacing implements SpacingDefinition {
|
3
|
+
id: Guid;
|
4
|
+
xs: number;
|
5
|
+
s: number;
|
6
|
+
m: number;
|
7
|
+
l: number;
|
8
|
+
xl: number;
|
9
|
+
}
|
10
|
+
export declare class DefaultInnerSpacing implements SpacingDefinition {
|
11
|
+
id: Guid;
|
12
|
+
xs: number;
|
13
|
+
s: number;
|
14
|
+
m: number;
|
15
|
+
l: number;
|
16
|
+
xl: number;
|
17
|
+
}
|
@@ -36,7 +36,7 @@ export declare class UrlInput extends VueComponentBase implements IWebComponentI
|
|
36
36
|
private onBlurEvent;
|
37
37
|
validateMSTeamsUrl(): boolean;
|
38
38
|
validateDefaultUrl(): boolean;
|
39
|
-
validate(): boolean
|
39
|
+
validate(): Promise<boolean>;
|
40
40
|
clearValidation(): void;
|
41
41
|
onClickUrlCategoryIcon(selectedProperty: string): void;
|
42
42
|
renderLabel(): JSX.Element;
|
@@ -7,15 +7,46 @@ export declare function useIcons(): {
|
|
7
7
|
fbIcon: (name: string) => FabricIcon;
|
8
8
|
svgIcon: (name: string) => SvgIcon;
|
9
9
|
customIcon: (name: string) => CustomIcon;
|
10
|
+
icon: {
|
11
|
+
add: FontAwesomeIcon;
|
12
|
+
back: FontAwesomeIcon;
|
13
|
+
copy: MaterialIcon;
|
14
|
+
code: MaterialIcon;
|
15
|
+
clone: FontAwesomeIcon;
|
16
|
+
close: FontAwesomeIcon;
|
17
|
+
delete: FontAwesomeIcon;
|
18
|
+
device: FontAwesomeIcon;
|
19
|
+
drag: FontAwesomeIcon;
|
20
|
+
edit: FontAwesomeIcon;
|
21
|
+
expand: FontAwesomeIcon;
|
22
|
+
info: FontAwesomeIcon;
|
23
|
+
lock: FontAwesomeIcon;
|
24
|
+
lock_open: FontAwesomeIcon;
|
25
|
+
lock_edit: FontAwesomeIcon;
|
26
|
+
move: FontAwesomeIcon;
|
27
|
+
navigate: FontAwesomeIcon;
|
28
|
+
remove: FontAwesomeIcon;
|
29
|
+
settings: FontAwesomeIcon;
|
30
|
+
};
|
10
31
|
presets: {
|
11
32
|
add: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
12
|
-
|
13
|
-
|
14
|
-
drag: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
33
|
+
back: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
34
|
+
close: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
15
35
|
copy: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
36
|
+
clone: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
16
37
|
code: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
38
|
+
del: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
39
|
+
device: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
40
|
+
drag: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
41
|
+
edit: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
17
42
|
expand: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
18
|
-
remove: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
19
43
|
info: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
44
|
+
lock: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
45
|
+
lock_open: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
46
|
+
lock_edit: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
47
|
+
move: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
48
|
+
navigate: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
49
|
+
remove: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
50
|
+
settings: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
|
20
51
|
};
|
21
52
|
};
|
@@ -1,10 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare function
|
3
|
-
export declare function useValidation(): {
|
4
|
-
validate: () => boolean;
|
5
|
-
addValidation: (validation: any) => void;
|
6
|
-
clearValidation: (validation: any) => void;
|
7
|
-
};
|
8
|
-
export interface InternalVueValidationInstance {
|
9
|
-
__validationInstance: ReturnType<typeof useValidation>;
|
10
|
-
}
|
1
|
+
import { IValidatorInternal } from "../models/Validation";
|
2
|
+
export declare function useValidatorInternal(): IValidatorInternal;
|
@@ -5,7 +5,7 @@ export * from "./UseBreakPoint";
|
|
5
5
|
export * from "./UseConfirm";
|
6
6
|
export * from "./UseVueInstance";
|
7
7
|
export * from "./UseJourney";
|
8
|
-
export
|
8
|
+
export {} from "./UseValidation";
|
9
9
|
export * from "./UseEventHook";
|
10
10
|
export * from "./UseClone";
|
11
11
|
export * from "./UseKeyboard";
|
@@ -1,17 +1,132 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
import
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
}
|
1
|
+
import { ValidationRule } from "@omnia/fx/ux";
|
2
|
+
declare const _default: {
|
3
|
+
new (...args: any[]): {
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
5
|
+
$data: {};
|
6
|
+
$props: {
|
7
|
+
style?: unknown;
|
8
|
+
class?: unknown;
|
9
|
+
key?: string | number | symbol;
|
10
|
+
ref?: import("vue").VNodeRef;
|
11
|
+
ref_for?: boolean;
|
12
|
+
ref_key?: string;
|
13
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
14
|
+
[key: string]: any;
|
15
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
16
|
+
[key: string]: any;
|
17
|
+
}>) => void)[];
|
18
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
19
|
+
[key: string]: any;
|
20
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
21
|
+
[key: string]: any;
|
22
|
+
}>) => void)[];
|
23
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
24
|
+
[key: string]: any;
|
25
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
+
[key: string]: any;
|
27
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
28
|
+
[key: string]: any;
|
29
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
30
|
+
[key: string]: any;
|
31
|
+
}>) => void)[];
|
32
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
33
|
+
[key: string]: any;
|
34
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
35
|
+
[key: string]: any;
|
36
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
37
|
+
[key: string]: any;
|
38
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
+
[key: string]: any;
|
40
|
+
}>) => void)[];
|
41
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
+
[key: string]: any;
|
43
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
|
+
[key: string]: any;
|
45
|
+
}>) => void)[];
|
46
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
47
|
+
[key: string]: any;
|
48
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>) => void)[];
|
51
|
+
readonly rules?: ValidationRule[];
|
52
|
+
readonly checkValue?: any;
|
53
|
+
readonly "check-value"?: any;
|
54
|
+
};
|
55
|
+
$attrs: {
|
56
|
+
[x: string]: unknown;
|
57
|
+
};
|
58
|
+
$refs: {
|
59
|
+
[x: string]: unknown;
|
60
|
+
};
|
61
|
+
$slots: Readonly<{
|
62
|
+
[name: string]: import("vue").Slot<any>;
|
63
|
+
}>;
|
64
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
65
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
66
|
+
$emit: (event: string, ...args: any[]) => void;
|
67
|
+
$el: any;
|
68
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
69
|
+
rules: {
|
70
|
+
type: import("vue").PropType<ValidationRule[]>;
|
71
|
+
required: false;
|
72
|
+
};
|
73
|
+
"check-value": {
|
74
|
+
type: import("vue").PropType<any>;
|
75
|
+
};
|
76
|
+
checkValue: {
|
77
|
+
type: import("vue").PropType<any>;
|
78
|
+
};
|
79
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
80
|
+
beforeCreate?: (() => void) | (() => void)[];
|
81
|
+
created?: (() => void) | (() => void)[];
|
82
|
+
beforeMount?: (() => void) | (() => void)[];
|
83
|
+
mounted?: (() => void) | (() => void)[];
|
84
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
85
|
+
updated?: (() => void) | (() => void)[];
|
86
|
+
activated?: (() => void) | (() => void)[];
|
87
|
+
deactivated?: (() => void) | (() => void)[];
|
88
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
89
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
90
|
+
destroyed?: (() => void) | (() => void)[];
|
91
|
+
unmounted?: (() => void) | (() => void)[];
|
92
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
93
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
94
|
+
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)[];
|
95
|
+
};
|
96
|
+
$forceUpdate: () => void;
|
97
|
+
$nextTick: typeof import("vue").nextTick;
|
98
|
+
$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;
|
99
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
100
|
+
rules: {
|
101
|
+
type: import("vue").PropType<ValidationRule[]>;
|
102
|
+
required: false;
|
103
|
+
};
|
104
|
+
"check-value": {
|
105
|
+
type: import("vue").PropType<any>;
|
106
|
+
};
|
107
|
+
checkValue: {
|
108
|
+
type: import("vue").PropType<any>;
|
109
|
+
};
|
110
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
111
|
+
__isFragment?: never;
|
112
|
+
__isTeleport?: never;
|
113
|
+
__isSuspense?: never;
|
114
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
115
|
+
rules: {
|
116
|
+
type: import("vue").PropType<ValidationRule[]>;
|
117
|
+
required: false;
|
118
|
+
};
|
119
|
+
"check-value": {
|
120
|
+
type: import("vue").PropType<any>;
|
121
|
+
};
|
122
|
+
checkValue: {
|
123
|
+
type: import("vue").PropType<any>;
|
124
|
+
};
|
125
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
126
|
+
propsDefinition: Omit<Readonly<{} & {
|
127
|
+
rules?: ValidationRule[];
|
128
|
+
checkValue?: any;
|
129
|
+
"check-value"?: any;
|
130
|
+
}>, never>;
|
131
|
+
};
|
132
|
+
export default _default;
|
@@ -1,10 +1 @@
|
|
1
|
-
|
2
|
-
import { VueComponentBase } from "./../VueComponentBase";
|
3
|
-
export declare class FormValidator implements IValidator {
|
4
|
-
private components;
|
5
|
-
constructor(component?: VueComponentBase<any>);
|
6
|
-
register: (component: VueComponentBase<any>) => void;
|
7
|
-
unregister(component: VueComponentBase<any>): void;
|
8
|
-
validateAll: (isAutoScroll?: boolean) => boolean;
|
9
|
-
clearValidation: () => void;
|
10
|
-
}
|
1
|
+
export {};
|
@@ -1,10 +1 @@
|
|
1
|
-
|
2
|
-
export interface IValidator {
|
3
|
-
register: (component: VueComponentBase<any>) => void;
|
4
|
-
unregister(component: VueComponentBase<any>): void;
|
5
|
-
validateAll: (isAutoScroll?: boolean) => boolean;
|
6
|
-
clearValidation: () => void;
|
7
|
-
}
|
8
|
-
export interface IComponentValidationEnabled {
|
9
|
-
useValidator?: IValidator;
|
10
|
-
}
|
1
|
+
export {};
|
@@ -1,21 +1 @@
|
|
1
|
-
|
2
|
-
import { IValidator } from "./IComponentValidationEnabled";
|
3
|
-
export interface IFieldValidation {
|
4
|
-
useValidator: IValidator;
|
5
|
-
checkValue: any;
|
6
|
-
rules: Array<(value: any) => boolean | string>;
|
7
|
-
getCheckValue?: () => any;
|
8
|
-
}
|
9
|
-
declare global {
|
10
|
-
namespace JSX {
|
11
|
-
interface Element {
|
12
|
-
}
|
13
|
-
interface ElementClass {
|
14
|
-
}
|
15
|
-
interface ElementAttributesProperty {
|
16
|
-
}
|
17
|
-
interface IntrinsicElements {
|
18
|
-
"omfx-field-validation": TsxAllowUnknowProperties<IFieldValidation>;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
1
|
+
export {};
|
@@ -12,7 +12,6 @@ export declare class LayoutAliasBlade extends VueComponentBase<LayoutAliasBladeP
|
|
12
12
|
private multilingualStore;
|
13
13
|
private isSaving;
|
14
14
|
private unexptedErrorMessage;
|
15
|
-
private formValidator;
|
16
15
|
private internalLayout;
|
17
16
|
created(): void;
|
18
17
|
onLayoutChanged(): void;
|
@@ -12,7 +12,6 @@ export declare class AlternateLayoutCreationForm extends VueComponentBase<Altern
|
|
12
12
|
closed: (createdAlternateLayout?: VersionedAlternateLayout) => void;
|
13
13
|
private omniaLoc;
|
14
14
|
private themeStore;
|
15
|
-
private formValidator;
|
16
15
|
private title;
|
17
16
|
private isCreating;
|
18
17
|
private publishedVersionRefToCopy;
|
@@ -41,7 +41,6 @@ import wc744b3f31e00c4815b63ecaf638ad7a7a from './ux/markdown/MarkdownEditor';
|
|
41
41
|
import wcc8b990d01ddc45ab930b4409fc406435 from './ux/markdown/MarkdownRenderer';
|
42
42
|
import wc2e8004b49c8d44dd8edb56ce884c2b57 from './ux/monaco/MonacoEditor';
|
43
43
|
import wc7f06e68f94904b48b827b23acd148bec from './ux/optionpicker/OptionPicker';
|
44
|
-
import wcb6ddbf2c41224cd29b92fcecbbdd31a0 from './ux/playground_test/Play2Component';
|
45
44
|
import wc1a58948a606a42078da3fb919cc4f7e6 from './ux/presetupwizard/PreSetupWizard';
|
46
45
|
import wc6d1d84cb210643c59ca8437fc36c75a1 from './ux/profilecard/ProfileCardRenderer';
|
47
46
|
import wc091ee9b103234b26a5e2bd5f992b2582 from './ux/properties/property-picker/PropertyPicker';
|
@@ -59,11 +58,12 @@ import wcb5315b31203e4bd1beb3c33f2122cbfe from './ux/signin/SignInPage';
|
|
59
58
|
import wce4b25c06803a417a9c4aa4b7280a599b from './ux/signin/SignInBlock';
|
60
59
|
import wcbc3b9409639d45829a6e58a4295bc470 from './ux/signin/omnia/Renderer';
|
61
60
|
import wcf297290b5ea4409a9738ca880f1ea612 from './ux/signout/SignOut';
|
62
|
-
import wc564bced7081c496483e8df717f600ff3 from './ux/spacingpicker/
|
61
|
+
import wc564bced7081c496483e8df717f600ff3 from './ux/spacingpicker/SpacingPicker3';
|
63
62
|
import wccb83d46eaaed44d4920d4d5da21bc488 from './ux/statusmessageoverlay/StatusMessageOverlay';
|
64
63
|
import wc21a1f20b3d404602853049c1c8b8da2f from './ux/userpresence/UserPresence';
|
65
64
|
import wc30289e2b58ff48b0aabb3cb3732c3038 from './ux/usertypelayout/UserTypeLayoutRenderer';
|
66
65
|
import wc5b26d2a399c041f3beae9c1115d6e8d8 from './ux/usertypelayout/UserTypeLayoutBladeBuilder';
|
66
|
+
import wc90cfd68bb4e04f67bfd5677bdf4af59d from './ux/validation/FieldValidation';
|
67
67
|
import wcba03fc7e6921468289c0a0ffe0cf942e from './ux/versionedlayout/renderer/VersionedLayoutRenderer';
|
68
68
|
import wc73154f51a92944acbe248779a3fa7ef5 from './ux/versionedlayout/editor/VersionedLayoutEditor';
|
69
69
|
import wc28d15a1179a04eaa9f2e82abe15f7177 from '../../fx-sp/internal-do-not-import-from-here/ux/filterengine/TaxonomyPropertyRenderer';
|
@@ -132,6 +132,7 @@ import wc9a7ad06b091e4633a0fc3d380210f9cb from './ux/oxide/textfield/TextField';
|
|
132
132
|
import wc53c3a240c5bf4d39ac29ac7f1f7415ae from './ux/oxide/toolbar/Toolbar';
|
133
133
|
import wca734925baa664530a42731d3b9719681 from './ux/oxide/tooltip/Tooltip';
|
134
134
|
import wce1b9681a96a94f65a08577ef52b83752 from './ux/oxide/treeview/Treeview';
|
135
|
+
import wc9c86a47101cd489e852f210d1e815d1c from './ux/oxide/validation/Validation';
|
135
136
|
import wc58330f37503947799af05363e58bda3c from './ux/richtexteditor/Emoticon/EmoticonComponent';
|
136
137
|
import wc327ec741777b4e1ea8017f1d0a3b8d9d from './ux/richtexteditor/TextCompletionPanel/TextCompletionPanel';
|
137
138
|
import wc4ff736bf8c544324883ed49f2a38f846 from './ux/theming/components/ThemeDefinitionEditor';
|
@@ -284,7 +285,6 @@ declare global {
|
|
284
285
|
"omfx-markdown-renderer": typeof wcc8b990d01ddc45ab930b4409fc406435.propsDefinition & VueComponentBaseProps;
|
285
286
|
"monaco-editor": typeof wc2e8004b49c8d44dd8edb56ce884c2b57.propsDefinition & VueComponentBaseProps;
|
286
287
|
"omfx-option-picker": typeof wc7f06e68f94904b48b827b23acd148bec.propsDefinition & VueComponentBaseProps;
|
287
|
-
"omnia-play-2": typeof wcb6ddbf2c41224cd29b92fcecbbdd31a0.propsDefinition & VueComponentBaseProps;
|
288
288
|
"omfx-presetup-wizard": typeof wc1a58948a606a42078da3fb919cc4f7e6.propsDefinition & VueComponentBaseProps;
|
289
289
|
"omfx-profilecard-renderer": typeof wc6d1d84cb210643c59ca8437fc36c75a1.propsDefinition & VueComponentBaseProps;
|
290
290
|
"omfx-datasource-property-picker": typeof wc091ee9b103234b26a5e2bd5f992b2582.propsDefinition & VueComponentBaseProps;
|
@@ -307,6 +307,7 @@ declare global {
|
|
307
307
|
"omfx-user-presence": typeof wc21a1f20b3d404602853049c1c8b8da2f.propsDefinition & VueComponentBaseProps;
|
308
308
|
"omfx-usertype-layout-renderer": typeof wc30289e2b58ff48b0aabb3cb3732c3038.propsDefinition & VueComponentBaseProps;
|
309
309
|
"omfx-usertype-layout-blade-builder": typeof wc5b26d2a399c041f3beae9c1115d6e8d8.propsDefinition & VueComponentBaseProps;
|
310
|
+
"omfx-field-validation": typeof wc90cfd68bb4e04f67bfd5677bdf4af59d.propsDefinition & VueComponentBaseProps;
|
310
311
|
"omfx-versioned-layout-renderer": typeof wcba03fc7e6921468289c0a0ffe0cf942e.propsDefinition & VueComponentBaseProps;
|
311
312
|
"omfx-versioned-layout-editor": typeof wc73154f51a92944acbe248779a3fa7ef5.propsDefinition & VueComponentBaseProps;
|
312
313
|
"omfx-taxonomy-filterengine-renderer": typeof wc28d15a1179a04eaa9f2e82abe15f7177.propsDefinition & VueComponentBaseProps;
|
@@ -375,6 +376,7 @@ declare global {
|
|
375
376
|
"o-toolbar": typeof wc53c3a240c5bf4d39ac29ac7f1f7415ae.propsDefinition & VueComponentBaseProps;
|
376
377
|
"o-tooltip": typeof wca734925baa664530a42731d3b9719681.propsDefinition & VueComponentBaseProps;
|
377
378
|
"o-treeview": typeof wce1b9681a96a94f65a08577ef52b83752.propsDefinition & VueComponentBaseProps;
|
379
|
+
"o-validation": typeof wc9c86a47101cd489e852f210d1e815d1c.propsDefinition & VueComponentBaseProps;
|
378
380
|
"omfx-emoticon": typeof wc58330f37503947799af05363e58bda3c.propsDefinition & VueComponentBaseProps;
|
379
381
|
"omfx-textcompletion-panel": typeof wc327ec741777b4e1ea8017f1d0a3b8d9d.propsDefinition & VueComponentBaseProps;
|
380
382
|
"omfx-themedefinition-editor": typeof wc4ff736bf8c544324883ed49f2a38f846.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.
|
4
|
+
"version": "8.0.53-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.53-vnext",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|
@@ -1,108 +0,0 @@
|
|
1
|
-
import { IWebComponentInstance } from "../..";
|
2
|
-
import { SpacingSettings, GuidValue, TimeZone, UrlPropertyValue, Identity } from "../../models";
|
3
|
-
import { Color } from "../vuetify";
|
4
|
-
import { VueComponentBase } from "..";
|
5
|
-
import { CommentLikeService } from "../social/test/CommentLikeService";
|
6
|
-
import { CommentLikeTemplateDynamicInput } from "../social/templates/CommentLikeTemplate";
|
7
|
-
import { CommentLikeStore } from "../../stores";
|
8
|
-
import { TargetingFilterProperty } from "../../sp/models/TargetingFilterProperty";
|
9
|
-
export declare class PlayGroundComponent extends VueComponentBase<{}, {}, {}> implements IWebComponentInstance {
|
10
|
-
commentLikeService: CommentLikeService;
|
11
|
-
commentLikeStore: CommentLikeStore;
|
12
|
-
private omniaTheming;
|
13
|
-
created(): void;
|
14
|
-
mounted(): void;
|
15
|
-
dynamicInput: CommentLikeTemplateDynamicInput;
|
16
|
-
color: Color;
|
17
|
-
monacoEditorStyle: string;
|
18
|
-
state: {
|
19
|
-
visibleThemeDialog: boolean;
|
20
|
-
};
|
21
|
-
selectingTab: any;
|
22
|
-
speeddial: any;
|
23
|
-
radio: string;
|
24
|
-
checkbox: boolean;
|
25
|
-
htmlForEditor: string;
|
26
|
-
monacoEditor: string;
|
27
|
-
monacoHtmlEditor: string;
|
28
|
-
iframeJsContent2: string;
|
29
|
-
iframeHtmlContent2: string;
|
30
|
-
iframeJsContent: string;
|
31
|
-
iframeHtmlContent: string;
|
32
|
-
slider: {
|
33
|
-
volume: number;
|
34
|
-
value: number;
|
35
|
-
price: number[];
|
36
|
-
};
|
37
|
-
items: {
|
38
|
-
id: number;
|
39
|
-
title: string;
|
40
|
-
}[];
|
41
|
-
simpleItems: string[];
|
42
|
-
itemsTreeView: ({
|
43
|
-
id: number;
|
44
|
-
name: string;
|
45
|
-
children: {
|
46
|
-
id: number;
|
47
|
-
name: string;
|
48
|
-
children: {
|
49
|
-
id: number;
|
50
|
-
name: string;
|
51
|
-
children: {
|
52
|
-
id: number;
|
53
|
-
name: string;
|
54
|
-
}[];
|
55
|
-
}[];
|
56
|
-
}[];
|
57
|
-
} | {
|
58
|
-
id: number;
|
59
|
-
name: string;
|
60
|
-
children: ({
|
61
|
-
id: number;
|
62
|
-
name: string;
|
63
|
-
children: {
|
64
|
-
id: number;
|
65
|
-
name: string;
|
66
|
-
}[];
|
67
|
-
} | {
|
68
|
-
id: number;
|
69
|
-
name: string;
|
70
|
-
children?: undefined;
|
71
|
-
})[];
|
72
|
-
})[];
|
73
|
-
readyToRenderPeoplePicker: boolean;
|
74
|
-
peoplePickerModel: Array<Identity>;
|
75
|
-
timezoneModel: TimeZone;
|
76
|
-
comboboxInputModel: string;
|
77
|
-
paddingSetting: SpacingSettings;
|
78
|
-
paddingSetting2: SpacingSettings;
|
79
|
-
preselectedItem: Array<GuidValue>;
|
80
|
-
checkTerm(term: any): {
|
81
|
-
display: boolean;
|
82
|
-
selectable: boolean;
|
83
|
-
};
|
84
|
-
urlPropertyValue: UrlPropertyValue;
|
85
|
-
private externalPropertyItems;
|
86
|
-
private epPickerSingleValue;
|
87
|
-
private epPickerMultipleValue;
|
88
|
-
private epsPickerSingleValue;
|
89
|
-
private epsPickerMultipleValue;
|
90
|
-
private spEnterpriseGlossary;
|
91
|
-
private calendarModel;
|
92
|
-
private spacingModel;
|
93
|
-
render(): JSX.Element;
|
94
|
-
renderVuetifyBreakpoint(): JSX.Element;
|
95
|
-
renderWizard(): JSX.Element;
|
96
|
-
targetingFilter: any;
|
97
|
-
targetingFilter2: TargetingFilterProperty;
|
98
|
-
targetingFilter3: TargetingFilterProperty;
|
99
|
-
renderTheming(): JSX.Element;
|
100
|
-
renderTargeting(): JSX.Element;
|
101
|
-
renderTheme(): JSX.Element;
|
102
|
-
renderPermissionInput(): any;
|
103
|
-
renderCommentLike(): JSX.Element;
|
104
|
-
}
|
105
|
-
export declare class ThemeVueComponent extends VueComponentBase {
|
106
|
-
mounted(): void;
|
107
|
-
render(): JSX.Element;
|
108
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { FileUploaderItemHandler } from "../../../models";
|
2
|
-
import { VueComponentBase } from "@omnia/fx/ux";
|
3
|
-
export default class FileUploaderTab extends VueComponentBase {
|
4
|
-
disabled: boolean;
|
5
|
-
created(): void;
|
6
|
-
onFileChanged(files: Array<FileUploaderItemHandler>): void;
|
7
|
-
render(): JSX.Element;
|
8
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
2
|
-
export default class MediaPickerTab extends VueComponentBase {
|
3
|
-
disabled: boolean;
|
4
|
-
private provider;
|
5
|
-
private selectedMedia;
|
6
|
-
private renderMediaPicker;
|
7
|
-
created(): void;
|
8
|
-
render(): JSX.Element;
|
9
|
-
private configureProviders;
|
10
|
-
private onSave;
|
11
|
-
private onClose;
|
12
|
-
}
|
package/internal-do-not-import-from-here/ux/playground_test/play2tabs/MultilingualInputTab.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { MultilingualString } from "../../../models";
|
2
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
3
|
-
export default class MultilingualInputTab extends VueComponentBase {
|
4
|
-
disabled: boolean;
|
5
|
-
model1: MultilingualString;
|
6
|
-
model2: MultilingualString;
|
7
|
-
model3: MultilingualString;
|
8
|
-
private internalValidator;
|
9
|
-
created(): void;
|
10
|
-
reset(): void;
|
11
|
-
render(): JSX.Element;
|
12
|
-
}
|
package/internal-do-not-import-from-here/ux/playground_test/play2tabs/RichtextEditorTab.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
2
|
-
export default class RichtextEditorTab extends VueComponentBase {
|
3
|
-
disabled: boolean;
|
4
|
-
private testDataOnePug;
|
5
|
-
private testDataTwoPug;
|
6
|
-
private testSvg;
|
7
|
-
private initialContent;
|
8
|
-
private placeholder;
|
9
|
-
private richTextContent1;
|
10
|
-
created(): void;
|
11
|
-
render(): JSX.Element;
|
12
|
-
}
|
package/internal-do-not-import-from-here/ux/playground_test/play2tabs/SharePointPermissionTab.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { TimePeriodSettings } from "../../../models";
|
2
|
-
import { SiteGroupView, PrincipalService } from "../../../sp";
|
3
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
4
|
-
export default class SharePointPermissionTab extends VueComponentBase {
|
5
|
-
principalService: PrincipalService;
|
6
|
-
settings: TimePeriodSettings;
|
7
|
-
spUrl: string;
|
8
|
-
siteGroupView: SiteGroupView;
|
9
|
-
getting: boolean;
|
10
|
-
saving: boolean;
|
11
|
-
created(): void;
|
12
|
-
getSiteGroupView(): void;
|
13
|
-
save(): void;
|
14
|
-
renderSiteGroupView(): JSX.Element | "Don't have ManagedWeb permission";
|
15
|
-
numberField: number;
|
16
|
-
render(): JSX.Element;
|
17
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { GuidValue } from "../../../models";
|
2
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
3
|
-
export default class TermPickerTab extends VueComponentBase {
|
4
|
-
uniqueKey1: string;
|
5
|
-
uniqueKey: string;
|
6
|
-
selectedTermIds: Array<GuidValue>;
|
7
|
-
selectedTermIds2: Array<GuidValue>;
|
8
|
-
created(): void;
|
9
|
-
render(): JSX.Element;
|
10
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
2
|
-
export default class TestChart extends VueComponentBase {
|
3
|
-
created(): void;
|
4
|
-
mounted(): void;
|
5
|
-
chartData: {
|
6
|
-
labels: string[];
|
7
|
-
datasets: {
|
8
|
-
label: string;
|
9
|
-
backgroundColor: string;
|
10
|
-
borderColor: string;
|
11
|
-
data: number[];
|
12
|
-
}[];
|
13
|
-
};
|
14
|
-
render(): JSX.Element;
|
15
|
-
}
|
package/internal-do-not-import-from-here/ux/playground_test/play2tabs/TimePeriodPickerTab.d.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
import { TimePeriodSettings } from "../../../models";
|
2
|
-
import { VueComponentBase } from "../../VueComponentBase";
|
3
|
-
export default class TimePeriodPickerTab extends VueComponentBase {
|
4
|
-
settings: TimePeriodSettings;
|
5
|
-
created(): void;
|
6
|
-
mounted(): void;
|
7
|
-
render(): JSX.Element;
|
8
|
-
}
|