@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
@@ -1,7 +1,6 @@
|
|
1
1
|
import { OmniaContext } from "../../..";
|
2
2
|
import { VueComponentBase, OmniaTheming } from "../..";
|
3
3
|
import { IAppProvisioningStepComponent, AppProvisioningStepContext } from "../../../models";
|
4
|
-
import { IValidator } from "../../validation";
|
5
4
|
export declare class AppProvisioningStepComponentBase<Props = IAppProvisioningStepComponent, EventsWithOn = {}, ScopedSlotArgs = {}> extends VueComponentBase<Props, EventsWithOn, ScopedSlotArgs> {
|
6
5
|
context: AppProvisioningStepContext;
|
7
6
|
registerOnGoToNext: (onGoToNext: () => Promise<boolean>) => void;
|
@@ -10,8 +9,7 @@ export declare class AppProvisioningStepComponentBase<Props = IAppProvisioningSt
|
|
10
9
|
allowMemberAndGroup?: boolean;
|
11
10
|
omniaTheming: OmniaTheming;
|
12
11
|
omniaContext: OmniaContext;
|
13
|
-
protected formValidator: IValidator;
|
14
12
|
constructor();
|
15
13
|
created(): void;
|
16
|
-
protected canGoNext: (
|
14
|
+
protected canGoNext: () => Promise<boolean>;
|
17
15
|
}
|
@@ -25,7 +25,7 @@ export declare class RichTextFieldEdit extends VueComponentBase implements IWebC
|
|
25
25
|
created(): void;
|
26
26
|
beforeDestroy(): void;
|
27
27
|
hasBlockContent(content: any): boolean;
|
28
|
-
validate(): boolean
|
28
|
+
validate(): Promise<boolean>;
|
29
29
|
onConfigureExtensionsRTE(extensions: Array<RichTextEditorExtension>): RichTextEditorExtension[];
|
30
30
|
render(): JSX.Element;
|
31
31
|
}
|
@@ -48,7 +48,7 @@ export declare class EnterprisePropertyPicker extends VueComponentBase implement
|
|
48
48
|
created(): void;
|
49
49
|
mounted(): void;
|
50
50
|
beforeDestroy(): void;
|
51
|
-
validate(): boolean
|
51
|
+
validate(): Promise<boolean>;
|
52
52
|
clearValidation(): void;
|
53
53
|
private validateValue;
|
54
54
|
private init;
|
@@ -46,7 +46,7 @@ export declare class EnterprisePropertySetPicker extends VueComponentBase implem
|
|
46
46
|
created(): void;
|
47
47
|
mounted(): void;
|
48
48
|
beforeDestroy(): void;
|
49
|
-
validate(): boolean
|
49
|
+
validate(): Promise<boolean>;
|
50
50
|
clearValidation(): void;
|
51
51
|
private validateValue;
|
52
52
|
private init;
|
@@ -111,6 +111,9 @@ declare const _default: {
|
|
111
111
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
112
112
|
propsDefinition: Omit<Readonly<{} & {
|
113
113
|
section?: Section<StepperSectionSettings>;
|
114
|
-
}>, never>;
|
114
|
+
}>, never>; /**
|
115
|
+
* Render
|
116
|
+
* @param h
|
117
|
+
*/
|
115
118
|
};
|
116
119
|
export default _default;
|
@@ -20,8 +20,10 @@ export type RowVariantType = typeof RowVariant[number];
|
|
20
20
|
export interface IDataTableRowRenderer {
|
21
21
|
value: any;
|
22
22
|
index: number;
|
23
|
+
disableNavigation(): any;
|
23
24
|
select(selected: boolean): Omit<IDataTableRowRenderer, "select">;
|
24
25
|
onClick(callback: () => void): Omit<IDataTableRowRenderer, "onClick">;
|
25
26
|
variant(variant: RowVariantType): Omit<IDataTableRowRenderer, "setVariant">;
|
26
|
-
addCell(node: VNodeChild, colSpan?: number): Pick<IDataTableRowRenderer, "addCell">;
|
27
|
+
addCell(node: VNodeChild, colSpan?: number): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
28
|
+
addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
|
27
29
|
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
export type ValidationResult = string | boolean;
|
2
|
+
export type ValidationRule = ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
|
3
|
+
export interface IValidationScope {
|
4
|
+
validate(): Promise<boolean>;
|
5
|
+
resetValidation(): void;
|
6
|
+
}
|
7
|
+
export interface IValidator extends IValidationScope {
|
8
|
+
createRules(): IValidationRuleBuilder;
|
9
|
+
}
|
10
|
+
export interface IValidationRuleBuilder {
|
11
|
+
require<T>(this: T, customMessage?: string): Omit<T, "require">;
|
12
|
+
number<T>(this: T, customMessage?: string): Omit<T, "number">;
|
13
|
+
minLength<T>(this: T, minLength: number, customMessage?: string): Omit<T, "minLength">;
|
14
|
+
maxLength<T>(this: T, minLength: number, customMessage?: string): Omit<T, "maxLength">;
|
15
|
+
minValue<T>(this: T, min: number, customMessage?: string): Omit<T, "minValue">;
|
16
|
+
maxValue<T>(this: T, max: number, customMessage?: string): Omit<T, "maxValue">;
|
17
|
+
customRule<T>(callback: ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>)): Omit<T, "customRule">;
|
18
|
+
done(): ValidationRule[];
|
19
|
+
}
|
20
|
+
export interface IValidatorInternal extends IValidator {
|
21
|
+
createValidationScope(): IValidationScope;
|
22
|
+
register(validation: IValidationScope): any;
|
23
|
+
unregister(validation: IValidationScope): any;
|
24
|
+
overrideValidate(func: () => Promise<boolean>): any;
|
25
|
+
}
|
@@ -49,3 +49,4 @@ export * from "./QueryablePropertiesStyles";
|
|
49
49
|
export * from "./SidePanelStyles";
|
50
50
|
export * from "./SharePointVideoSettingsStyles";
|
51
51
|
export * from "./DataTable";
|
52
|
+
export { type IValidationRuleBuilder, type IValidationScope, type IValidator, type ValidationRule, type ValidationResult } from "./Validation";
|
@@ -60,7 +60,7 @@ export declare class MultilingualInput extends VueComponentBase implements IWebC
|
|
60
60
|
mounted(): void;
|
61
61
|
get selectedInputLanguage(): Language;
|
62
62
|
get darkValue(): boolean;
|
63
|
-
validate(): boolean
|
63
|
+
validate(): Promise<boolean>;
|
64
64
|
clearValidation(): void;
|
65
65
|
created(): void;
|
66
66
|
subscribeFlushMessage(): void;
|
@@ -214,8 +214,7 @@ declare const _default: {
|
|
214
214
|
blueprintType?: any;
|
215
215
|
blueprint?: any;
|
216
216
|
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
217
|
-
|
218
|
-
__isFragment?: never; /** Component host provider settings */
|
217
|
+
__isFragment?: never;
|
219
218
|
__isTeleport?: never;
|
220
219
|
__isSuspense?: never;
|
221
220
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
12
12
|
readonly sm?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
13
13
|
readonly md?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
14
14
|
readonly lg?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
15
|
+
readonly xl?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
15
16
|
style?: unknown;
|
16
17
|
class?: String | String[];
|
17
18
|
key?: string | number | symbol;
|
@@ -57,7 +58,6 @@ declare const _default: {
|
|
57
58
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
58
59
|
[key: string]: any;
|
59
60
|
}>) => void)[];
|
60
|
-
readonly xl?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
61
61
|
readonly cols?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
62
62
|
};
|
63
63
|
$attrs: {
|
@@ -214,9 +214,9 @@ declare const _default: {
|
|
214
214
|
sm?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
215
215
|
md?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
216
216
|
lg?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
217
|
+
xl?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
217
218
|
class?: String | String[];
|
218
219
|
alignSelf?: "center" | "auto" | "stretch" | "end" | "start" | "baseline";
|
219
|
-
xl?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
220
220
|
cols?: "1" | "4" | "2" | "3" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
221
221
|
}>, never>;
|
222
222
|
};
|
@@ -50,8 +50,8 @@ declare const _default: {
|
|
50
50
|
}>) => void)[];
|
51
51
|
readonly variant?: "default" | "footer" | "header" | "content" | "navigation" | "settings" | "info-section";
|
52
52
|
readonly force?: boolean;
|
53
|
-
readonly componentHost?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel";
|
54
|
-
readonly "component-host"?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel";
|
53
|
+
readonly componentHost?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
54
|
+
readonly "component-host"?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
55
55
|
};
|
56
56
|
$attrs: {
|
57
57
|
[x: string]: unknown;
|
@@ -78,10 +78,10 @@ declare const _default: {
|
|
78
78
|
type: import("vue").PropType<"default" | "footer" | "header" | "content" | "navigation" | "settings" | "info-section">;
|
79
79
|
};
|
80
80
|
"component-host": {
|
81
|
-
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel">;
|
81
|
+
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
82
82
|
};
|
83
83
|
componentHost: {
|
84
|
-
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel">;
|
84
|
+
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
85
85
|
};
|
86
86
|
host: {
|
87
87
|
type: import("vue").PropType<"admin" | "editor" | "docs">;
|
@@ -122,10 +122,10 @@ declare const _default: {
|
|
122
122
|
type: import("vue").PropType<"default" | "footer" | "header" | "content" | "navigation" | "settings" | "info-section">;
|
123
123
|
};
|
124
124
|
"component-host": {
|
125
|
-
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel">;
|
125
|
+
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
126
126
|
};
|
127
127
|
componentHost: {
|
128
|
-
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel">;
|
128
|
+
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
129
129
|
};
|
130
130
|
host: {
|
131
131
|
type: import("vue").PropType<"admin" | "editor" | "docs">;
|
@@ -150,10 +150,10 @@ declare const _default: {
|
|
150
150
|
type: import("vue").PropType<"default" | "footer" | "header" | "content" | "navigation" | "settings" | "info-section">;
|
151
151
|
};
|
152
152
|
"component-host": {
|
153
|
-
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel">;
|
153
|
+
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
154
154
|
};
|
155
155
|
componentHost: {
|
156
|
-
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel">;
|
156
|
+
type: import("vue").PropType<"dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
157
157
|
};
|
158
158
|
host: {
|
159
159
|
type: import("vue").PropType<"admin" | "editor" | "docs">;
|
@@ -167,8 +167,8 @@ declare const _default: {
|
|
167
167
|
host?: "admin" | "editor" | "docs";
|
168
168
|
variant?: "default" | "footer" | "header" | "content" | "navigation" | "settings" | "info-section";
|
169
169
|
force?: boolean;
|
170
|
-
componentHost?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel";
|
171
|
-
"component-host"?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel";
|
170
|
+
componentHost?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
171
|
+
"component-host"?: "dialog" | "table" | "tab" | "toolbar" | "drawer" | "expansion-panel" | "blade" | "app" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
172
172
|
}>, never>;
|
173
173
|
};
|
174
174
|
export default _default;
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
12
12
|
style?: unknown;
|
13
13
|
class?: String | String[];
|
14
14
|
key?: string | number | symbol;
|
15
|
+
readonly direction?: "horizontal" | "vertical";
|
15
16
|
ref?: import("vue").VNodeRef;
|
16
17
|
ref_for?: boolean;
|
17
18
|
ref_key?: string;
|
@@ -53,6 +54,7 @@ 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 variant?: "default" | "prominent";
|
56
58
|
readonly "v-model"?: any;
|
57
59
|
readonly modelValue?: any;
|
58
60
|
"onUpdate:modelValue"?: ((value: any) => any) & ((value: any) => any);
|
@@ -75,6 +77,12 @@ declare const _default: {
|
|
75
77
|
$emit: (event: "update:modelValue", value: any) => void;
|
76
78
|
$el: any;
|
77
79
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
80
|
+
variant: {
|
81
|
+
type: import("vue").PropType<"default" | "prominent">;
|
82
|
+
};
|
83
|
+
direction: {
|
84
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
85
|
+
};
|
78
86
|
noThumbLabel: {
|
79
87
|
type: import("vue").PropType<boolean>;
|
80
88
|
};
|
@@ -141,6 +149,12 @@ declare const _default: {
|
|
141
149
|
$nextTick: typeof import("vue").nextTick;
|
142
150
|
$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;
|
143
151
|
} & Readonly<import("vue").ExtractPropTypes<{
|
152
|
+
variant: {
|
153
|
+
type: import("vue").PropType<"default" | "prominent">;
|
154
|
+
};
|
155
|
+
direction: {
|
156
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
157
|
+
};
|
144
158
|
noThumbLabel: {
|
145
159
|
type: import("vue").PropType<boolean>;
|
146
160
|
};
|
@@ -183,6 +197,12 @@ declare const _default: {
|
|
183
197
|
__isTeleport?: never;
|
184
198
|
__isSuspense?: never;
|
185
199
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
200
|
+
variant: {
|
201
|
+
type: import("vue").PropType<"default" | "prominent">;
|
202
|
+
};
|
203
|
+
direction: {
|
204
|
+
type: import("vue").PropType<"horizontal" | "vertical">;
|
205
|
+
};
|
186
206
|
noThumbLabel: {
|
187
207
|
type: import("vue").PropType<boolean>;
|
188
208
|
};
|
@@ -238,6 +258,8 @@ declare const _default: {
|
|
238
258
|
} & {
|
239
259
|
label?: string;
|
240
260
|
class?: String | String[];
|
261
|
+
direction?: "horizontal" | "vertical";
|
262
|
+
variant?: "default" | "prominent";
|
241
263
|
"v-model"?: any;
|
242
264
|
modelValue?: any;
|
243
265
|
"onUpdate:modelValue"?: (value: any) => any;
|
@@ -0,0 +1,111 @@
|
|
1
|
+
import { IValidationScope } 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
|
+
"onCreate:validation"?: (validation: IValidationScope) => any;
|
52
|
+
};
|
53
|
+
$attrs: {
|
54
|
+
[x: string]: unknown;
|
55
|
+
};
|
56
|
+
$refs: {
|
57
|
+
[x: string]: unknown;
|
58
|
+
};
|
59
|
+
$slots: Readonly<{
|
60
|
+
[name: string]: import("vue").Slot<any>;
|
61
|
+
}>;
|
62
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
63
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
64
|
+
$emit: (event: "create:validation", validation: IValidationScope) => void;
|
65
|
+
$el: any;
|
66
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
|
67
|
+
"onCreate:validation"?: (validation: IValidationScope) => any;
|
68
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
69
|
+
[key: string]: any;
|
70
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
71
|
+
"create:validation": (validation: IValidationScope) => true;
|
72
|
+
}, string, {}, {}, string, {}> & {
|
73
|
+
beforeCreate?: (() => void) | (() => void)[];
|
74
|
+
created?: (() => void) | (() => void)[];
|
75
|
+
beforeMount?: (() => void) | (() => void)[];
|
76
|
+
mounted?: (() => void) | (() => void)[];
|
77
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
78
|
+
updated?: (() => void) | (() => void)[];
|
79
|
+
activated?: (() => void) | (() => void)[];
|
80
|
+
deactivated?: (() => void) | (() => void)[];
|
81
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
82
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
83
|
+
destroyed?: (() => void) | (() => void)[];
|
84
|
+
unmounted?: (() => void) | (() => void)[];
|
85
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
86
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
87
|
+
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)[];
|
88
|
+
};
|
89
|
+
$forceUpdate: () => void;
|
90
|
+
$nextTick: typeof import("vue").nextTick;
|
91
|
+
$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;
|
92
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & {
|
93
|
+
"onCreate:validation"?: (validation: IValidationScope) => any;
|
94
|
+
} & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
95
|
+
[key: string]: any;
|
96
|
+
}>[]> & {} & import("vue").ComponentCustomProperties & {};
|
97
|
+
__isFragment?: never;
|
98
|
+
__isTeleport?: never;
|
99
|
+
__isSuspense?: never;
|
100
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
|
101
|
+
"onCreate:validation"?: (validation: IValidationScope) => any;
|
102
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
103
|
+
[key: string]: any;
|
104
|
+
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
105
|
+
"create:validation": (validation: IValidationScope) => true;
|
106
|
+
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
107
|
+
propsDefinition: Omit<Readonly<{} & {}>, "onCreate:validation"> & {
|
108
|
+
"onCreate:validation"?: (validation: IValidationScope) => any;
|
109
|
+
};
|
110
|
+
};
|
111
|
+
export default _default;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { PermissionInputSettings, RolePermissionSetting, GuidValue, PermissionBinding } from "../../models";
|
2
2
|
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
|
3
|
-
import { IValidator } from "../validation";
|
4
3
|
export interface IPermissionInputAttributes {
|
5
4
|
disabled?: boolean;
|
6
5
|
dark?: boolean;
|
@@ -18,7 +17,6 @@ export interface IPermissionInput extends IPermissionInputAttributes {
|
|
18
17
|
};
|
19
18
|
onValueUpdated?: (rolePermissionSetting: Array<RolePermissionSetting>) => Promise<void>;
|
20
19
|
onValueUpdating?: () => Promise<void>;
|
21
|
-
useValidator?: IValidator;
|
22
20
|
}
|
23
21
|
declare global {
|
24
22
|
namespace JSX {
|
@@ -2,7 +2,6 @@ import { VueComponentBase } from "..";
|
|
2
2
|
import { IWebComponentInstance, SubscriptionHandler } from "../../";
|
3
3
|
import { GuidValue, Identity, PermissionBinding, PermissionInputSettings, RolePermissionSetting } from "../../models";
|
4
4
|
import { IPermissionInput } from "./IPermissionInput";
|
5
|
-
import { IValidator } from "../validation";
|
6
5
|
export declare class PermissionInput extends VueComponentBase implements IWebComponentInstance, IPermissionInput {
|
7
6
|
subscriptionHandler: SubscriptionHandler;
|
8
7
|
private permissionService;
|
@@ -22,9 +21,6 @@ export declare class PermissionInput extends VueComponentBase implements IWebCom
|
|
22
21
|
dataSource?: {
|
23
22
|
[roleId: string]: Array<PermissionBinding>;
|
24
23
|
};
|
25
|
-
useValidator: IValidator;
|
26
|
-
private styles;
|
27
|
-
validator: IValidator;
|
28
24
|
isResolving: boolean;
|
29
25
|
errMsg: string;
|
30
26
|
isSaving: boolean;
|
@@ -28,7 +28,6 @@ export declare class RichTextEditorSettings extends VueComponentBase implements
|
|
28
28
|
private RTFContents;
|
29
29
|
private isRendering;
|
30
30
|
private richTextEdiorSettingsStyles;
|
31
|
-
private formValidator;
|
32
31
|
private textStylesSettingKey;
|
33
32
|
private headings;
|
34
33
|
created(): void;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { ColorDefinition } from "../velcron/core";
|
2
|
+
export type Positions = "top" | "right" | "bottom" | "left";
|
3
|
+
export declare const SpacingPickerStyles: {
|
4
|
+
iconWrapper: (color: ColorDefinition) => string;
|
5
|
+
columnWrapper: string;
|
6
|
+
spacingValueWrapper: string;
|
7
|
+
groupWrapper: string;
|
8
|
+
textInput: (onBase: ColorDefinition) => string;
|
9
|
+
spacingItem: (base: ColorDefinition, onBase: ColorDefinition, selected: boolean) => string;
|
10
|
+
sliderMenuWrapper: (color: ColorDefinition) => string;
|
11
|
+
spacingSlider: string;
|
12
|
+
spacingIndicator: (vertical: boolean, color: ColorDefinition, disabled: boolean) => string;
|
13
|
+
centerColumn: string;
|
14
|
+
boxWrapper: (color: ColorDefinition) => string;
|
15
|
+
};
|