@omnia/fx 8.0.404-dev → 8.0.406-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/usermanagement/userproperties/GDPRBlade.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/typography/store/TypographyEditorStore.d.ts +9 -8
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +13 -6
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/store/TextStylePickerStore.d.ts +9 -3
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TextStyleEditor.d.ts +34 -0
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyBlueprintsViewer.d.ts +9 -7
- package/internal-do-not-import-from-here/ux/aurora/components/typography/store/TextStyleEditorStore.d.ts +83 -0
- package/internal-do-not-import-from-here/ux/aurora/components/typography/store/TypographyViewerStore.d.ts +12 -7
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintManager.d.ts +13 -6
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settings/extendedproperty/ExtendedPropertySettings.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/stores/JourneySelectStore.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/oxide/selection/Selection.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberConfiguration.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberEditor.d.ts +19 -67
- package/internal-do-not-import-from-here/ux/properties/property-cover/PropertyCover.d.ts +4 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +16 -8
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyEditor.d.ts +0 -357
- package/internal-do-not-import-from-here/ux/aurora/components/typography/store/TypographyEditorStore.d.ts +0 -63
package/internal-do-not-import-from-here/ux/admin/usermanagement/userproperties/GDPRBlade.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
|
2
|
+
"v-slots"?: {} & Omit<{
|
3
|
+
default?: import("vue").Slot;
|
4
|
+
}, never>;
|
5
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
|
6
|
+
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { guid, ITemplateRegistration, TypographyBlueprint, TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyFontDefinition, IFontBlueprints, TypographyFontRef, BlueprintVariant, FontAwesomeIcon,
|
1
|
+
import { guid, ITemplateRegistration, TypographyBlueprint, TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyFontDefinition, IFontBlueprints, TypographyFontRef, BlueprintVariant, FontAwesomeIcon, TextStyleBreakpointType } from "@omnia/fx-models";
|
2
2
|
export interface BreakpointItem {
|
3
3
|
icon: FontAwesomeIcon;
|
4
4
|
title: string;
|
5
5
|
subTitle: string;
|
6
|
-
scale:
|
6
|
+
scale: TextStyleBreakpointType;
|
7
7
|
}
|
8
8
|
type StyleVariant = "system-styles" | "custom-styles" | "type-scale";
|
9
9
|
export declare const useTypographyEditorStore: () => {
|
@@ -17,7 +17,7 @@ export declare const useTypographyEditorStore: () => {
|
|
17
17
|
styleVariant: StyleVariant;
|
18
18
|
};
|
19
19
|
selected: {
|
20
|
-
|
20
|
+
textStyle: {
|
21
21
|
type: TextStyleType;
|
22
22
|
size: TextStyleSizes;
|
23
23
|
definition: TextStyleDefinition;
|
@@ -35,7 +35,7 @@ export declare const useTypographyEditorStore: () => {
|
|
35
35
|
styleVariant: StyleVariant;
|
36
36
|
};
|
37
37
|
selected: {
|
38
|
-
|
38
|
+
textStyle: {
|
39
39
|
type: TextStyleType;
|
40
40
|
size: TextStyleSizes;
|
41
41
|
definition: TextStyleDefinition;
|
@@ -56,11 +56,10 @@ export declare const useTypographyEditorStore: () => {
|
|
56
56
|
ativateBreakpoint(value: boolean): void;
|
57
57
|
};
|
58
58
|
calculate(): {
|
59
|
-
editingDefinitionFromBaseStyles(): void;
|
60
59
|
baseScale(): void;
|
61
60
|
};
|
62
61
|
breakpoint(): {
|
63
|
-
setSelected(breakpoint:
|
62
|
+
setSelected(breakpoint: TextStyleBreakpointType): void;
|
64
63
|
activate(value: boolean): void;
|
65
64
|
};
|
66
65
|
variants(): {
|
@@ -94,6 +93,7 @@ export declare const useTypographyEditorStore: () => {
|
|
94
93
|
deleteRegistration(): Promise<boolean>;
|
95
94
|
}>;
|
96
95
|
get: {
|
96
|
+
textStyleName: (textStyleType: TextStyleType, size: TextStyleSizes) => string;
|
97
97
|
typeScale: {
|
98
98
|
active: {
|
99
99
|
readonly scale: number;
|
@@ -137,7 +137,7 @@ export declare const useTypographyEditorStore: () => {
|
|
137
137
|
xs: TextStyleDefinition;
|
138
138
|
font?: TypographyFontRef;
|
139
139
|
};
|
140
|
-
|
140
|
+
selectedTextStyleSizeFont: () => string;
|
141
141
|
};
|
142
142
|
bladeId: {
|
143
143
|
startBlade: guid;
|
@@ -150,7 +150,8 @@ export declare const useTypographyEditorStore: () => {
|
|
150
150
|
};
|
151
151
|
rules: {
|
152
152
|
breakpoint: {
|
153
|
-
|
153
|
+
readonly showStatus: boolean;
|
154
|
+
isActive: (size: TextStyleBreakpointType) => boolean;
|
154
155
|
readonly showEnableDisable: boolean;
|
155
156
|
readonly isEnabled: boolean;
|
156
157
|
};
|
package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts
CHANGED
@@ -1,22 +1,29 @@
|
|
1
1
|
import { DefineSlot } from "@omnia/fx/ux";
|
2
|
-
import { TextBlueprint, ThemeContextType, TextStyleValue } from "@omnia/fx-models";
|
2
|
+
import { TextBlueprint, ThemeContextType, TextStyleValue, TypographyBlueprint, TextStyleBreakpointType } from "@omnia/fx-models";
|
3
3
|
import { VNode } from "vue";
|
4
4
|
import { PickerVariant } from "internal/fx/ux/oxide/picker/models/SharedSettings";
|
5
|
+
import { ViewTypes } from "./store/TextStylePickerStore";
|
5
6
|
export type TypographyPickerTypes = "default" | "title" | "text" | "variant" | "navigation";
|
6
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
7
|
-
"emit:update:modelValue": (value: TextStyleValue) => void;
|
8
|
+
"emit:update:modelValue": (value: number | TextStyleValue) => void;
|
8
9
|
} & {
|
9
|
-
"v-model"?: TextStyleValue;
|
10
|
+
"v-model"?: number | TextStyleValue;
|
10
11
|
} & {
|
11
|
-
modelValue?: TextStyleValue;
|
12
|
+
modelValue?: number | TextStyleValue;
|
12
13
|
} & {
|
13
14
|
customTyping?: boolean;
|
14
15
|
} & {
|
15
16
|
themeType?: ThemeContextType;
|
17
|
+
} & {
|
18
|
+
viewType?: ViewTypes;
|
16
19
|
} & {
|
17
20
|
type?: TypographyPickerTypes;
|
18
21
|
} & {
|
19
22
|
textBlueprint?: TextBlueprint;
|
23
|
+
} & {
|
24
|
+
typographyBlueprint?: TypographyBlueprint;
|
25
|
+
} & {
|
26
|
+
breakpoint?: TextStyleBreakpointType;
|
20
27
|
} & {
|
21
28
|
toned?: boolean;
|
22
29
|
} & {
|
@@ -28,12 +35,12 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
28
35
|
} & {
|
29
36
|
sampleText?: string;
|
30
37
|
} & DefineSlot<"activator", () => VNode>> & {
|
31
|
-
"onUpdate:modelValue"?: (value: TextStyleValue) => any;
|
38
|
+
"onUpdate:modelValue"?: (value: number | TextStyleValue) => any;
|
32
39
|
} & {
|
33
40
|
"v-slots"?: {
|
34
41
|
activator?: () => VNode;
|
35
42
|
} & Omit<{
|
36
43
|
default?: import("vue").Slot;
|
37
44
|
}, "activator">;
|
38
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "type" | "variant" | "modelValue" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "themeType" | "slot:activator" | "textBlueprint" | "customTyping" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
45
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "type" | "variant" | "modelValue" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "themeType" | "slot:activator" | "textBlueprint" | "customTyping" | "viewType" | "typographyBlueprint" | "breakpoint" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
39
46
|
export default _default;
|
@@ -1,15 +1,21 @@
|
|
1
|
-
import { ThemeContextType, ThemedTextStyleValue, TextStyleValue as textStyle } from "@omnia/fx-models";
|
1
|
+
import { ThemeContextType, ThemedTextStyleValue, TextStyleValue as textStyle, TypographyBlueprint, TextStyleBreakpointType } from "@omnia/fx-models";
|
2
|
+
export type ViewTypes = "type-scale" | "system-styles" | "custom-styles";
|
2
3
|
export declare const useTextStylePickerStore: () => {
|
3
4
|
state: {
|
4
|
-
internalModel: textStyle;
|
5
|
+
internalModel: number | textStyle;
|
5
6
|
sampleText: string;
|
7
|
+
viewType: ViewTypes;
|
8
|
+
typographyBlueprint: TypographyBlueprint;
|
9
|
+
breakPoint: TextStyleBreakpointType;
|
6
10
|
};
|
7
11
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
8
12
|
clear: () => void;
|
13
|
+
setScaleValue(value: number): void;
|
9
14
|
select: (value: textStyle) => void;
|
10
|
-
initState: (model: textStyle, sampleText: string, themeType: ThemeContextType) => void;
|
15
|
+
initState: (model: textStyle | number, sampleText: string, themeType: ThemeContextType, viewType: ViewTypes, typographyBlueprint: TypographyBlueprint, breakpoint: TextStyleBreakpointType) => void;
|
11
16
|
}>;
|
12
17
|
get: {
|
18
|
+
readonly textStyle: textStyle;
|
13
19
|
displayText: (textStyle: ThemedTextStyleValue) => string;
|
14
20
|
displayIcon: (textStyle: ThemedTextStyleValue) => import("@omnia/fx-models").FontAwesomeIcon;
|
15
21
|
};
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { TextStyleDefinition, TypographyBlueprint, TextStyleBreakpointType, TextStyleSizes } from "@omnia/fx-models";
|
2
|
+
import { DefineSlot } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
4
|
+
type EditorVariant = "default" | "dialog" | "blade-inline";
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
+
"emit:update:modelValue": (value: TextStyleDefinition) => void;
|
7
|
+
} & {
|
8
|
+
"v-model"?: TextStyleDefinition;
|
9
|
+
} & {
|
10
|
+
modelValue?: TextStyleDefinition;
|
11
|
+
} & {
|
12
|
+
variant?: EditorVariant;
|
13
|
+
} & {
|
14
|
+
blueprint?: TypographyBlueprint;
|
15
|
+
} & {
|
16
|
+
textStyleType?: "display" | "headline" | "title" | "text" | "label" | "variants";
|
17
|
+
} & {
|
18
|
+
textStyleSize?: TextStyleSizes;
|
19
|
+
} & {
|
20
|
+
breakpoint?: TextStyleBreakpointType;
|
21
|
+
} & {
|
22
|
+
sampleText?: string;
|
23
|
+
} & {
|
24
|
+
toolbarCallback?: (value: () => VNodeChild) => void;
|
25
|
+
} & DefineSlot<"activator", () => VNodeChild>> & {
|
26
|
+
"onUpdate:modelValue"?: (value: TextStyleDefinition) => any;
|
27
|
+
} & {
|
28
|
+
"v-slots"?: {
|
29
|
+
activator?: () => VNodeChild;
|
30
|
+
} & Omit<{
|
31
|
+
default?: import("vue").Slot;
|
32
|
+
}, "activator">;
|
33
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "variant" | "modelValue" | "v-model" | "emit:update:modelValue" | "slot:activator" | "breakpoint" | "sampleText" | "toolbarCallback" | "textStyleType" | "textStyleSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
34
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ThemeContextType, TypographyBlueprint, TextStyleSizes, TextStyleType, TextStyleBreakpointType } from "@omnia/fx-models";
|
2
2
|
import { DefineEmit } from "@omnia/fx/ux";
|
3
3
|
import { ViewTypes } from "./store/TypographyViewerStore";
|
4
4
|
type Variant = "list" | "picker";
|
@@ -6,6 +6,10 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
6
6
|
blueprint?: TypographyBlueprint;
|
7
7
|
} & {
|
8
8
|
toned?: boolean;
|
9
|
+
} & {
|
10
|
+
showActivationStatus?: boolean;
|
11
|
+
} & {
|
12
|
+
activeScale?: number;
|
9
13
|
} & {
|
10
14
|
sampleText?: string;
|
11
15
|
} & {
|
@@ -13,19 +17,17 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
13
17
|
} & {
|
14
18
|
viewtype?: ViewTypes;
|
15
19
|
} & {
|
16
|
-
breakpoint?:
|
20
|
+
breakpoint?: TextStyleBreakpointType;
|
17
21
|
} & {
|
18
22
|
editable?: boolean;
|
19
23
|
} & {
|
20
24
|
themeType?: ThemeContextType;
|
21
|
-
} & DefineEmit<"click:select", (typography: TextStyleType, size: TextStyleSizes) => true> & DefineEmit<"click:
|
22
|
-
"onClick:add"?: () => any;
|
25
|
+
} & DefineEmit<"click:select", (typography: TextStyleType, size: TextStyleSizes) => true> & DefineEmit<"click:selectScale", (scale: number) => true>> & {
|
23
26
|
"onClick:select"?: (typography: "display" | "headline" | "title" | "text" | "label" | "variants", size: TextStyleSizes) => any;
|
24
|
-
"onClick:
|
25
|
-
"onClick:addFill"?: () => any;
|
27
|
+
"onClick:selectScale"?: (scale: number) => any;
|
26
28
|
} & {
|
27
29
|
"v-slots"?: {} & Omit<{
|
28
30
|
default?: import("vue").Slot;
|
29
31
|
}, never>;
|
30
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "variant" | "editable" | "toned" | "themeType" | "emit:click:
|
32
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "blueprint" | "variant" | "editable" | "toned" | "themeType" | "emit:click:select" | "breakpoint" | "sampleText" | "showActivationStatus" | "activeScale" | "viewtype" | "emit:click:selectScale"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
33
|
export default _default;
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { FontAwesomeIcon, TextStyleBreakPoint, TextStyleDefinition, TextStyleType, TypographyBlueprint, TextStyleBreakpointType, TextStyleSizes } from "@omnia/fx-models";
|
2
|
+
export interface BreakpointItem {
|
3
|
+
icon: FontAwesomeIcon;
|
4
|
+
title: string;
|
5
|
+
active: boolean;
|
6
|
+
breakpoint: TextStyleBreakpointType;
|
7
|
+
}
|
8
|
+
type lineHeightType = "dynamic" | "fixed" | "typescale";
|
9
|
+
type fontSizeType = "custom" | "typescale";
|
10
|
+
interface SettingsOption {
|
11
|
+
text: string;
|
12
|
+
value: string;
|
13
|
+
}
|
14
|
+
export declare const useTextStyleEditorStore: () => {
|
15
|
+
state: {
|
16
|
+
internalModel: TextStyleDefinition;
|
17
|
+
blueprint: TypographyBlueprint;
|
18
|
+
textStyleType: "display" | "headline" | "title" | "text" | "label" | "variants";
|
19
|
+
textStyleSize: TextStyleSizes;
|
20
|
+
lineHeightType: lineHeightType;
|
21
|
+
fontSizeType: fontSizeType;
|
22
|
+
breakpoint: TextStyleBreakpointType;
|
23
|
+
customValues: {
|
24
|
+
lineHeightMultiplier: number;
|
25
|
+
lineHeight: number;
|
26
|
+
fontSize: number;
|
27
|
+
scale: number;
|
28
|
+
};
|
29
|
+
};
|
30
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
31
|
+
textStyleDefinition: () => {
|
32
|
+
update: () => void;
|
33
|
+
};
|
34
|
+
set: () => {
|
35
|
+
fontSize: {
|
36
|
+
fontType: (value: fontSizeType) => void;
|
37
|
+
fixedValue(value: number): void;
|
38
|
+
scale(value: number): void;
|
39
|
+
};
|
40
|
+
lineHeight: {
|
41
|
+
lineHeightType: (value: lineHeightType) => void;
|
42
|
+
fixedValue(value: number): void;
|
43
|
+
multiplier: (value: number) => void;
|
44
|
+
};
|
45
|
+
fontWeight: (value: number) => void;
|
46
|
+
letterSpacing: (value: number) => void;
|
47
|
+
};
|
48
|
+
breakpoint: () => {
|
49
|
+
activate: (value: boolean) => void;
|
50
|
+
};
|
51
|
+
init: () => {
|
52
|
+
customValues: () => void;
|
53
|
+
state: (model: TextStyleDefinition, textStyleType: TextStyleType, breakpoint: TextStyleBreakpointType, blueprint: TypographyBlueprint, textStyleSize: TextStyleSizes) => void;
|
54
|
+
};
|
55
|
+
}>;
|
56
|
+
get: {
|
57
|
+
typeScale: {
|
58
|
+
readonly lineHeightMultiplier: number;
|
59
|
+
readonly defaultTextStyle: TextStyleBreakPoint;
|
60
|
+
};
|
61
|
+
readonly breakpoint: {
|
62
|
+
readonly textStyle: TextStyleBreakPoint;
|
63
|
+
};
|
64
|
+
readonly baseStyle: {
|
65
|
+
readonly scale: number;
|
66
|
+
};
|
67
|
+
};
|
68
|
+
rules: {
|
69
|
+
readonly isEnabled: boolean;
|
70
|
+
show: {
|
71
|
+
readonly enableDisableSwitch: boolean;
|
72
|
+
readonly name: boolean;
|
73
|
+
readonly ItalicSettings: boolean;
|
74
|
+
};
|
75
|
+
};
|
76
|
+
dataTypes: {
|
77
|
+
lineHeightOptions: SettingsOption[];
|
78
|
+
fontSizeOptions: SettingsOption[];
|
79
|
+
};
|
80
|
+
} & {
|
81
|
+
dispose?: () => void;
|
82
|
+
};
|
83
|
+
export {};
|
@@ -1,18 +1,21 @@
|
|
1
|
-
import { TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyBlueprint,
|
1
|
+
import { TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyBlueprint, TextStyleBreakpointType } from "@omnia/fx-models";
|
2
2
|
export type ViewTypes = "type-scale" | "system-styles" | "custom-styles";
|
3
3
|
export declare const useTypographyViewerStore: () => {
|
4
4
|
state: {
|
5
5
|
blueprint: TypographyBlueprint;
|
6
6
|
viewType: ViewTypes;
|
7
|
-
breakPoint:
|
7
|
+
breakPoint: TextStyleBreakpointType;
|
8
8
|
sampleText: string;
|
9
|
+
settings: {
|
10
|
+
showBreakpiontActivStatues: boolean;
|
11
|
+
};
|
9
12
|
};
|
10
13
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
11
|
-
initState: (blueprint: TypographyBlueprint, viewType: ViewTypes, breakPoint:
|
14
|
+
initState: (blueprint: TypographyBlueprint, viewType: ViewTypes, breakPoint: TextStyleBreakpointType, sampleText: string) => void;
|
12
15
|
}>;
|
13
16
|
get: {
|
14
17
|
typeScale: {
|
15
|
-
|
18
|
+
textStyleDefinition: {
|
16
19
|
bySize: (size: any) => {
|
17
20
|
textStyleDefinition: TextStyleDefinition;
|
18
21
|
fontSize: number;
|
@@ -22,10 +25,10 @@ export declare const useTypographyViewerStore: () => {
|
|
22
25
|
lineHeight: (definition: TextStyleDefinition) => number;
|
23
26
|
};
|
24
27
|
};
|
25
|
-
|
28
|
+
textStyleName: (textStyle: TextStyleType, size: TextStyleSizes) => string;
|
26
29
|
fontSizeDisplayFormat: (fontCss: string) => string;
|
27
30
|
sampleText: (typography: TextStyleType, size: TextStyleSizes) => string;
|
28
|
-
typeStyling: (
|
31
|
+
typeStyling: (textStyleTpe: TextStyleType, size: TextStyleSizes) => any;
|
29
32
|
};
|
30
33
|
rules: {
|
31
34
|
typeScale: {
|
@@ -33,12 +36,14 @@ export declare const useTypographyViewerStore: () => {
|
|
33
36
|
isSizeUsed(size: number): boolean;
|
34
37
|
};
|
35
38
|
breakpoint: {
|
39
|
+
isActive(textStyleType: TextStyleType, size: TextStyleSizes): boolean;
|
40
|
+
readonly showActivationStatus: boolean;
|
36
41
|
readonly isCustomBreakpoint: boolean;
|
37
42
|
};
|
38
43
|
variants: {
|
39
44
|
isPlaceholder: (size: string) => boolean;
|
40
45
|
};
|
41
|
-
canStyleBeDisplayed: (
|
46
|
+
canStyleBeDisplayed: (textStyleType: TextStyleType, size: TextStyleSizes, isVariants: boolean) => boolean;
|
42
47
|
};
|
43
48
|
} & {
|
44
49
|
dispose?: () => void;
|
@@ -1,14 +1,21 @@
|
|
1
|
-
import { TextStyleDefinition,
|
1
|
+
import { TextStyleDefinition, TypographyBlueprint } from "@omnia/fx-models";
|
2
|
+
interface BreakpointScale {
|
3
|
+
lg: number;
|
4
|
+
md: number;
|
5
|
+
sm: number;
|
6
|
+
}
|
2
7
|
export declare function useTypographyBlueprintManager(): {
|
3
8
|
typeScale: {
|
4
|
-
|
9
|
+
createTextStyleDefinition: (blueprint: TypographyBlueprint, scaleSlots: BreakpointScale) => TextStyleDefinition;
|
5
10
|
};
|
6
|
-
|
7
|
-
|
8
|
-
|
11
|
+
textStyledefinition: {
|
12
|
+
createAll(blueprint: TypographyBlueprint): TypographyBlueprint;
|
13
|
+
update(definition: TextStyleDefinition, blueprint: TypographyBlueprint): TextStyleDefinition;
|
14
|
+
strip(definition: TextStyleDefinition): TextStyleDefinition;
|
9
15
|
};
|
10
16
|
blueprint: {
|
11
|
-
|
17
|
+
initFromScale(blueprint: TypographyBlueprint): TypographyBlueprint;
|
12
18
|
strip(blueprint: TypographyBlueprint): TypographyBlueprint;
|
13
19
|
};
|
14
20
|
};
|
21
|
+
export {};
|
@@ -11,6 +11,9 @@ export declare const useTypographyBlueprintStore: () => {
|
|
11
11
|
id: guid;
|
12
12
|
availableFonts: TypographyFontDefinition[];
|
13
13
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
14
|
+
rules: {
|
15
|
+
isStyleActive: (textStyleType: TextStyleType, size: TextStyleSizes) => boolean;
|
16
|
+
};
|
14
17
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
15
18
|
normalize(blueprint: TypographyBlueprint): TypographyBlueprint;
|
16
19
|
setBlueprint(): void;
|
@@ -1,4 +1,6 @@
|
|
1
|
+
import { DefineSlot } from "@omnia/fx/ux";
|
1
2
|
import { ExtendedPropertyEnterprisePropertyDefinition } from "@omnia/fx/models";
|
3
|
+
import { VNodeChild } from "vue";
|
2
4
|
import * as ux from "@omnia/fx/ux";
|
3
5
|
declare const _default: (props: ux.ExtractProps<{
|
4
6
|
property: ExtendedPropertyEnterprisePropertyDefinition;
|
@@ -6,9 +8,11 @@ declare const _default: (props: ux.ExtractProps<{
|
|
6
8
|
styles?: {
|
7
9
|
container: import("typestyle/lib/types").NestedCSSProperties;
|
8
10
|
};
|
9
|
-
}
|
10
|
-
"v-slots"?: {
|
11
|
+
} & DefineSlot<"settings", () => VNodeChild>> & {} & {
|
12
|
+
"v-slots"?: {
|
13
|
+
settings?: () => VNodeChild;
|
14
|
+
} & Omit<{
|
11
15
|
default?: import("vue").Slot;
|
12
|
-
},
|
13
|
-
} & {} & Omit<ux.VueComponentBaseProps, "styles" | "property"> & ux.VNodeEvents) => any;
|
16
|
+
}, "settings">;
|
17
|
+
} & {} & Omit<ux.VueComponentBaseProps, "styles" | "property" | "slot:settings"> & ux.VNodeEvents) => any;
|
14
18
|
export default _default;
|
@@ -323,9 +323,9 @@ declare const _default: {
|
|
323
323
|
hideGroupTypeSelection?: Boolean;
|
324
324
|
hideUserTypeSelection?: Boolean;
|
325
325
|
hideDynamicGroupSelection?: Boolean;
|
326
|
+
displayIdentityType?: Boolean;
|
326
327
|
enableSpecialUser?: ISpecialUserConfiguration;
|
327
328
|
showSelectedIdentities?: Boolean;
|
328
|
-
displayIdentityType?: Boolean;
|
329
329
|
isClosed?: Boolean;
|
330
330
|
}>, "onRemove" | "onDoc$" | "onAdd" | "onCloseDialog"> & {
|
331
331
|
onRemove?: (identity: Identity) => any;
|
@@ -35,6 +35,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
35
35
|
hideUserTypeSelection?: boolean;
|
36
36
|
} & {
|
37
37
|
hideDynamicGroupSelection?: boolean;
|
38
|
+
} & {
|
39
|
+
displayIdentityType?: boolean;
|
38
40
|
} & {
|
39
41
|
identityStore?: IIdentityPickerStore;
|
40
42
|
} & {
|
@@ -52,5 +54,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
52
54
|
"v-slots"?: {} & Omit<{
|
53
55
|
default?: import("vue").Slot;
|
54
56
|
}, never>;
|
55
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "identityStore" | "disabled" | "location" | "modelValue" | "v-model" | "emit:update:modelValue" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "attachToParent" | "keepSelectionMenu" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "hideDynamicGroupSelection" | "enableSpecialUser" | "emit:identityChanged"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
57
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "identityStore" | "disabled" | "location" | "modelValue" | "v-model" | "emit:update:modelValue" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "attachToParent" | "keepSelectionMenu" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "hideDynamicGroupSelection" | "displayIdentityType" | "enableSpecialUser" | "emit:identityChanged"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
56
58
|
export default _default;
|
@@ -55,6 +55,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
55
55
|
hideUserTypeSelection?: boolean;
|
56
56
|
} & {
|
57
57
|
hideDynamicGroupSelection?: boolean;
|
58
|
+
} & {
|
59
|
+
displayIdentityType?: boolean;
|
58
60
|
} & {
|
59
61
|
identityStore?: IIdentityPickerStore;
|
60
62
|
} & {
|
@@ -72,5 +74,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
72
74
|
"v-slots"?: {} & Omit<{
|
73
75
|
default?: import("vue").Slot;
|
74
76
|
}, never>;
|
75
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "label" | "type" | "top" | "variant" | "identityStore" | "required" | "multiple" | "dense" | "disabled" | "modelValue" | "v-model" | "emit:update:modelValue" | "description" | "ariaInvalid" | "ariaDescribedby" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "hideDynamicGroupSelection" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
77
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "label" | "type" | "top" | "variant" | "identityStore" | "required" | "multiple" | "dense" | "disabled" | "modelValue" | "v-model" | "emit:update:modelValue" | "description" | "ariaInvalid" | "ariaDescribedby" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "hideDynamicGroupSelection" | "displayIdentityType" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
76
78
|
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectItem, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { ActionDefinition } from "@omnia/fx-models";
|
4
|
-
type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> & DefineProp<"getApi", (store: ReturnType<typeof useJourneySelectStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"items", Array<TItem>, false, null, "Items to select from"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"multiple", boolean, false, null, "If it is allowed to select multiple or single"> & DefineProp<"propertyValueMapping", JourneySelectPropertyMapping<TItem>, false, null, "Property value mappings"> & DefineProp<"returnSelectionAsObject", boolean, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value"> & DefineProp<"label", string, null, null, "The label of the component"> & DefineProp<"labelAdd", string, null, null, "The add label of the component"> & DefineProp<"titleAdd", string, null, null, "The add title of the add blade"> & DefineProp<"titleEdit", string, null, null, "The edit title of the edit blade"> & DefineProp<"disableSearch", boolean, false, null, "Disables the automatic search"> & DefineProp<"disableSave", boolean, false, null, "If it is allowed save"> & DefineProp<"sortable", boolean, false, null, "If it is allowed to sort"> & DefineProp<"readonly", boolean, false, null, "Disable add and delete"> & DefineProp<"list", boolean, false, null, "Always render the items as a list"> & DefineProp<"confirmDelete", boolean, false, null, "If you confirm before delete from the items"> & DefineProp<"noAddConfirm", boolean, false, null, "If items are added without a save button"> & DefineProp<"bladelessAdd", boolean, false, null, "If addis not a blade and only fires events"> & DefineProp<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineProp<"actions", ActionDefinition[], false, null, "Actions to display in the blade header"> & DefineProp<"itemSettingable", (item: TItem) => boolean, false, null, "Item has settings or not."> & DefineSlot<"selectionItemRender", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineEmit<"click:add", (item: Array<TItem> | TItem) => true> & DefineEmit<"click:update", (item: TItem, index: number) => true> & DefineEmit<"click:delete", (item: TItem, index: number) => true>;
|
4
|
+
type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> & DefineProp<"getApi", (store: ReturnType<typeof useJourneySelectStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"items", Array<TItem>, false, null, "Items to select from"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"multiple", boolean, false, null, "If it is allowed to select multiple or single"> & DefineProp<"propertyValueMapping", JourneySelectPropertyMapping<TItem>, false, null, "Property value mappings"> & DefineProp<"returnSelectionAsObject", boolean, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value"> & DefineProp<"label", string, null, null, "The label of the component"> & DefineProp<"labelAdd", string, null, null, "The add label of the component"> & DefineProp<"titleAdd", string, null, null, "The add title of the add blade"> & DefineProp<"titleEdit", string, null, null, "The edit title of the edit blade"> & DefineProp<"disableSearch", boolean, false, null, "Disables the automatic search"> & DefineProp<"disableSave", boolean, false, null, "If it is allowed save"> & DefineProp<"sortable", boolean, false, null, "If it is allowed to sort"> & DefineProp<"readonly", boolean, false, null, "Disable add and delete"> & DefineProp<"list", boolean, false, null, "Always render the items as a list"> & DefineProp<"confirmDelete", boolean, false, null, "If you confirm before delete from the items"> & DefineProp<"noAddConfirm", boolean, false, null, "If items are added without a save button"> & DefineProp<"bladelessAdd", boolean, false, null, "If addis not a blade and only fires events"> & DefineProp<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineProp<"actions", ActionDefinition[], false, null, "Actions to display in the blade header of the selection blade"> & DefineProp<"itemSettingable", (item: TItem) => boolean, false, null, "Item has settings or not."> & DefineProp<"itemDeletable", (item: TItem) => boolean, false, null, "Item can be deleted or not."> & DefineSlot<"selectionItemRender", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineEmit<"click:add", (item: Array<TItem> | TItem) => true> & DefineEmit<"click:update", (item: TItem, index: number) => true> & DefineEmit<"click:delete", (item: TItem, index: number) => true>;
|
5
5
|
declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
|
6
6
|
"onUpdate:modelValue"?: (value: any) => any;
|
7
7
|
"onClick:clear"?: () => any;
|
@@ -21,5 +21,5 @@ declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/u
|
|
21
21
|
} & Omit<{
|
22
22
|
default?: import("vue").Slot;
|
23
23
|
}, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender">;
|
24
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "actions" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "emit:search" | "getApi" | "emit:click:clear" | "emit:click:add" | "emit:click:delete" | "sortable" | "labelAdd" | "propertyValueMapping" | "returnSelectionAsObject" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
24
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "actions" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "emit:search" | "getApi" | "emit:click:clear" | "emit:click:add" | "emit:click:delete" | "sortable" | "labelAdd" | "propertyValueMapping" | "returnSelectionAsObject" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "itemSettingable" | "itemDeletable" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
25
25
|
export default _default;
|
@@ -51,6 +51,7 @@ export declare const useJourneySelectStore: () => {
|
|
51
51
|
selectedItems: {
|
52
52
|
all: JourneySelectItem<any>[];
|
53
53
|
inEdit: JourneySelectItem<any>[];
|
54
|
+
isDeletable: (item: any) => boolean;
|
54
55
|
};
|
55
56
|
selectedItem: {
|
56
57
|
item: JourneySelectItem<any>;
|
@@ -92,6 +93,7 @@ export declare const useJourneySelectStore: () => {
|
|
92
93
|
selectedItems: {
|
93
94
|
all: JourneySelectItem<any>[];
|
94
95
|
inEdit: JourneySelectItem<any>[];
|
96
|
+
isDeletable: (item: any) => boolean;
|
95
97
|
};
|
96
98
|
selectedItem: {
|
97
99
|
item: JourneySelectItem<any>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, ItemValueType } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { OMultiSelectionStyles } from "@omnia/fx-models";
|
4
|
-
type SelectionVariants = "remove" | "settings";
|
4
|
+
type SelectionVariants = "remove" | "settings" | "readonly";
|
5
5
|
type BaseProps<TItem> = DefinePropTheming & DefineProp<"items", TItem[], false, null, "TItem must be an array of objects or array of strings. When using objects, will look for a title, value and disabled keys. This can be changed using the item-title, item-value and item-disabled props."> & DefineProp<"variant", SelectionVariants, false, null, "The component variants"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"sorting", boolean, false, null, "Sets the component to sorting mode"> & DefineProp<"itemValue", ItemValueType<TItem>, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemTitle", ItemValueType<TItem>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemSubtitle", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemIcon", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"enableAdd", boolean, false, null, "If add button is shown"> & DefineProp<"selectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineProp<"itemSettingable", (item: TItem) => boolean, false, null, "Item has settings or not."> & DefineSlot<"item", (item: TItem, index: Number) => VNodeChild> & DefineEmit<"selectItem", (index: any) => true> & DefineEmit<"sort:update", (items: TItem[]) => true> & DefineEmit<"addItem", () => true>;
|
6
6
|
declare const _default: <TItem extends unknown>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
|
7
7
|
onSelectItem?: (index: any) => any;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IPropertyConfigurationRenderer, PhoneNumberPropertyDefinition } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<IPropertyConfigurationRenderer<PhoneNumberPropertyDefinition>> & {} & {
|
3
|
+
"v-slots"?: {} & Omit<{
|
4
|
+
default?: import("vue").Slot;
|
5
|
+
}, never>;
|
6
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, keyof IPropertyConfigurationRenderer<PhoneNumberPropertyDefinition>> & import("@omnia/fx/ux").VNodeEvents) => any;
|
7
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberEditor.d.ts
CHANGED
@@ -1,69 +1,21 @@
|
|
1
1
|
import { PhoneDisplaySettings, PhoneEditorSettings, PhoneNumberPropertyValue } from "@omnia/fx-models";
|
2
|
-
declare const _default: {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
M: {};
|
22
|
-
Defaults: {};
|
23
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
24
|
-
modelValue: import("vue").Prop<PhoneNumberPropertyValue, PhoneNumberPropertyValue>;
|
25
|
-
editorSettings: import("vue").Prop<PhoneEditorSettings, PhoneEditorSettings>;
|
26
|
-
displaySettings: import("vue").Prop<PhoneDisplaySettings, PhoneDisplaySettings>;
|
27
|
-
setupSettings?: import("vue").Prop<never, never>;
|
28
|
-
disabled?: import("vue").Prop<boolean, boolean>;
|
29
|
-
"v-model": import("vue").Prop<PhoneNumberPropertyValue, PhoneNumberPropertyValue>;
|
30
|
-
onVnodeBeforeMount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
31
|
-
onVnodeMounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
32
|
-
onVnodeBeforeUpdate?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
33
|
-
onVnodeUpdated?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
34
|
-
onVnodeBeforeUnmount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
35
|
-
onVnodeUnmounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
36
|
-
}>>, {}, {}, {}, {}, {}>;
|
37
|
-
__isFragment?: never;
|
38
|
-
__isTeleport?: never;
|
39
|
-
__isSuspense?: never;
|
40
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
41
|
-
modelValue: import("vue").Prop<PhoneNumberPropertyValue, PhoneNumberPropertyValue>;
|
42
|
-
editorSettings: import("vue").Prop<PhoneEditorSettings, PhoneEditorSettings>;
|
43
|
-
displaySettings: import("vue").Prop<PhoneDisplaySettings, PhoneDisplaySettings>;
|
44
|
-
setupSettings?: import("vue").Prop<never, never>;
|
45
|
-
disabled?: import("vue").Prop<boolean, boolean>;
|
46
|
-
"v-model": import("vue").Prop<PhoneNumberPropertyValue, PhoneNumberPropertyValue>;
|
47
|
-
onVnodeBeforeMount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
48
|
-
onVnodeMounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
49
|
-
onVnodeBeforeUpdate?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
50
|
-
onVnodeUpdated?: import("vue").Prop<((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]>;
|
51
|
-
onVnodeBeforeUnmount?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
52
|
-
onVnodeUnmounted?: import("vue").Prop<((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[], ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]>;
|
53
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
54
|
-
propsDefinition: Omit<Readonly<{} & {
|
55
|
-
disabled?: boolean;
|
56
|
-
modelValue?: PhoneNumberPropertyValue;
|
57
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
58
|
-
onVnodeMounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
59
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
|
60
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[];
|
61
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
62
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
|
63
|
-
"v-model"?: PhoneNumberPropertyValue;
|
64
|
-
displaySettings?: PhoneDisplaySettings;
|
65
|
-
setupSettings?: never;
|
66
|
-
editorSettings?: PhoneEditorSettings;
|
67
|
-
}>, never>;
|
68
|
-
};
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
+
"emit:update:modelValue": (value: PhoneNumberPropertyValue) => void;
|
4
|
+
} & {
|
5
|
+
"v-model"?: PhoneNumberPropertyValue;
|
6
|
+
} & {
|
7
|
+
modelValue?: PhoneNumberPropertyValue;
|
8
|
+
} & {
|
9
|
+
displaySettings?: PhoneDisplaySettings;
|
10
|
+
} & {
|
11
|
+
editorSettings?: PhoneEditorSettings;
|
12
|
+
} & {
|
13
|
+
disabled?: boolean;
|
14
|
+
}> & {
|
15
|
+
"onUpdate:modelValue"?: (value: PhoneNumberPropertyValue) => any;
|
16
|
+
} & {
|
17
|
+
"v-slots"?: {} & Omit<{
|
18
|
+
default?: import("vue").Slot;
|
19
|
+
}, never>;
|
20
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "disabled" | "modelValue" | "v-model" | "emit:update:modelValue" | "displaySettings" | "editorSettings"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
69
21
|
export default _default;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { DefineSlot } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefineSlot<"display", (elementConfig: VNodeChild) => VNodeChild> & DefineSlot<"edit", (elementConfig: VNodeChild) => VNodeChild>> & {} & {
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefineSlot<"display", (elementConfig: VNodeChild) => VNodeChild> & DefineSlot<"edit", (elementConfig: VNodeChild) => VNodeChild> & DefineSlot<"setup", (elementConfig: VNodeChild) => VNodeChild>> & {} & {
|
4
4
|
"v-slots"?: {
|
5
5
|
display?: (elementConfig: VNodeChild) => VNodeChild;
|
6
6
|
edit?: (elementConfig: VNodeChild) => VNodeChild;
|
7
|
+
setup?: (elementConfig: VNodeChild) => VNodeChild;
|
7
8
|
} & Omit<{
|
8
9
|
default?: import("vue").Slot;
|
9
|
-
}, "display" | "edit">;
|
10
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "slot:display" | "slot:edit"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
10
|
+
}, "display" | "setup" | "edit">;
|
11
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "slot:display" | "slot:edit" | "slot:setup"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
12
|
export default _default;
|
@@ -431,7 +431,7 @@ import wc287d666180644ba5ab5def0471a75a89 from './ux/aurora/components/textstyle
|
|
431
431
|
import wc252ece0016594978b3ddfafdd59adda4 from './ux/aurora/components/themepicker/ThemePicker';
|
432
432
|
import wc73e1c232690249f78967e3e3f6d92bd7 from './ux/aurora/components/themepreview/ThemePreview';
|
433
433
|
import wcc6eec07d48af435ab0c75195d9c7dcfc from './ux/aurora/components/themepreview/ComponentPreview';
|
434
|
-
import wc99a73153b5c647da9d6de517f51e53f0 from './ux/aurora/components/typography/
|
434
|
+
import wc99a73153b5c647da9d6de517f51e53f0 from './ux/aurora/components/typography/TextStyleEditor';
|
435
435
|
import wc2f742a14a560434abb899360a69c314b from './ux/aurora/components/typography/TypographyBlueprintsViewer';
|
436
436
|
import wc49703cb13c254c5b8eb30bd1a3eaf431 from './ux/aurora/components/typography/TypographyBlueprintPicker';
|
437
437
|
import wc6bcccc7dd1c74fe591a660641ac62cd7 from './ux/aurora/components/viewtemplatepicker/ViewTemplatePicker';
|
@@ -504,6 +504,7 @@ import wc784d162feec24424a993d8ba812b9c94 from './ux/properties/builtins/multili
|
|
504
504
|
import wc4abd8ef8e96f4beca6d375984132b6ec from './ux/properties/builtins/multilingualText/MultilingualTextEditor';
|
505
505
|
import wcae83e3f39ff443b8abb93e483c14f48f from './ux/properties/builtins/phone-number/PhoneNumberDisplay';
|
506
506
|
import wcaad7c8da16f04a46b9503564b10a8f34 from './ux/properties/builtins/phone-number/PhoneNumberEditor';
|
507
|
+
import wc7d02c7f4a383469b8ab4d2e196735ef9 from './ux/properties/builtins/phone-number/PhoneNumberConfiguration';
|
507
508
|
import wc13f465ea57024a47ae66d4bf1d927974 from './ux/properties/builtins/tags/TagsDisplay';
|
508
509
|
import wc4fc24b6b58014b5f9a3474a8f5cc4f00 from './ux/properties/builtins/tags/TagsEditor';
|
509
510
|
import wcdf429c59a8ec42cf8ec34907705793a9 from './ux/properties/builtins/text/TextDisplay';
|
@@ -1437,6 +1438,13 @@ declare global {
|
|
1437
1438
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1438
1439
|
};
|
1439
1440
|
} : typeof wc287d666180644ba5ab5def0471a75a89;
|
1441
|
+
"editor": typeof wc99a73153b5c647da9d6de517f51e53f0 extends {
|
1442
|
+
propsDefinition: infer TProp;
|
1443
|
+
} ? {
|
1444
|
+
new (...args: any[]): {
|
1445
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1446
|
+
};
|
1447
|
+
} : typeof wc99a73153b5c647da9d6de517f51e53f0;
|
1440
1448
|
};
|
1441
1449
|
};
|
1442
1450
|
"boolean": {
|
@@ -3925,6 +3933,13 @@ declare global {
|
|
3925
3933
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3926
3934
|
};
|
3927
3935
|
} : typeof wcaad7c8da16f04a46b9503564b10a8f34;
|
3936
|
+
"configuration": typeof wc7d02c7f4a383469b8ab4d2e196735ef9 extends {
|
3937
|
+
propsDefinition: infer TProp;
|
3938
|
+
} ? {
|
3939
|
+
new (...args: any[]): {
|
3940
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3941
|
+
};
|
3942
|
+
} : typeof wc7d02c7f4a383469b8ab4d2e196735ef9;
|
3928
3943
|
};
|
3929
3944
|
};
|
3930
3945
|
"tags": {
|
@@ -4229,13 +4244,6 @@ declare global {
|
|
4229
4244
|
} : typeof wcb4ddcf67388c4aa494cad4fa07ff8937;
|
4230
4245
|
};
|
4231
4246
|
"typography": {
|
4232
|
-
"editor": typeof wc99a73153b5c647da9d6de517f51e53f0 extends {
|
4233
|
-
propsDefinition: infer TProp;
|
4234
|
-
} ? {
|
4235
|
-
new (...args: any[]): {
|
4236
|
-
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
4237
|
-
};
|
4238
|
-
} : typeof wc99a73153b5c647da9d6de517f51e53f0;
|
4239
4247
|
"viewer": typeof wc2f742a14a560434abb899360a69c314b extends {
|
4240
4248
|
propsDefinition: infer TProp;
|
4241
4249
|
} ? {
|
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.406-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.406-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyEditor.d.ts
DELETED
@@ -1,357 +0,0 @@
|
|
1
|
-
import { TextStyleDefinition } from "@omnia/fx-models";
|
2
|
-
import { VNodeChild } from "vue";
|
3
|
-
type EditorVariant = "default" | "dialog" | "blade-inline";
|
4
|
-
declare const _default: {
|
5
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
6
|
-
"v-slots": import("vue").Prop<{
|
7
|
-
default?: import("../../../DefineVueTypings").Slot;
|
8
|
-
} & {
|
9
|
-
activator?: () => VNodeChild;
|
10
|
-
}>;
|
11
|
-
toolbarCallback: {
|
12
|
-
type: import("vue").PropType<(value: () => VNodeChild) => void>;
|
13
|
-
};
|
14
|
-
sampleText: {
|
15
|
-
type: import("vue").PropType<string>;
|
16
|
-
};
|
17
|
-
textStyleType: {
|
18
|
-
type: import("vue").PropType<"display" | "headline" | "title" | "text" | "label" | "variants">;
|
19
|
-
};
|
20
|
-
variant: {
|
21
|
-
type: import("vue").PropType<EditorVariant>;
|
22
|
-
};
|
23
|
-
"onUpdate:modelValue": {
|
24
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
25
|
-
};
|
26
|
-
"v-model": {
|
27
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
28
|
-
required: false;
|
29
|
-
};
|
30
|
-
modelValue: {
|
31
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
32
|
-
required: false;
|
33
|
-
};
|
34
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
35
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
36
|
-
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
37
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
38
|
-
required: false;
|
39
|
-
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
40
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
41
|
-
required: false;
|
42
|
-
}; } & {
|
43
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, TextStyleDefinition, {
|
44
|
-
"onUpdate:modelValue": {
|
45
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
46
|
-
};
|
47
|
-
} & {
|
48
|
-
"v-model": {
|
49
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
50
|
-
required: false;
|
51
|
-
};
|
52
|
-
} & {
|
53
|
-
modelValue: {
|
54
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
55
|
-
required: false;
|
56
|
-
};
|
57
|
-
}>;
|
58
|
-
defaultValue(value?: TextStyleDefinition): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, TextStyleDefinition, {
|
59
|
-
"onUpdate:modelValue": {
|
60
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
61
|
-
};
|
62
|
-
} & {
|
63
|
-
"v-model": {
|
64
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
65
|
-
required: false;
|
66
|
-
};
|
67
|
-
} & {
|
68
|
-
modelValue: {
|
69
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
70
|
-
required: false;
|
71
|
-
};
|
72
|
-
}, false>;
|
73
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, TextStyleDefinition, {
|
74
|
-
"onUpdate:modelValue": {
|
75
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
76
|
-
};
|
77
|
-
} & {
|
78
|
-
"v-model": {
|
79
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
80
|
-
required: false;
|
81
|
-
};
|
82
|
-
} & {
|
83
|
-
modelValue: {
|
84
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
85
|
-
required: false;
|
86
|
-
};
|
87
|
-
}>;
|
88
|
-
};
|
89
|
-
}>> & {
|
90
|
-
"onClick:confirm"?: (model: TextStyleDefinition) => any;
|
91
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
92
|
-
"click:confirm": (model: TextStyleDefinition) => true;
|
93
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
94
|
-
P: {};
|
95
|
-
B: {};
|
96
|
-
D: {};
|
97
|
-
C: {};
|
98
|
-
M: {};
|
99
|
-
Defaults: {};
|
100
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
101
|
-
"v-slots": import("vue").Prop<{
|
102
|
-
default?: import("../../../DefineVueTypings").Slot;
|
103
|
-
} & {
|
104
|
-
activator?: () => VNodeChild;
|
105
|
-
}>;
|
106
|
-
toolbarCallback: {
|
107
|
-
type: import("vue").PropType<(value: () => VNodeChild) => void>;
|
108
|
-
};
|
109
|
-
sampleText: {
|
110
|
-
type: import("vue").PropType<string>;
|
111
|
-
};
|
112
|
-
textStyleType: {
|
113
|
-
type: import("vue").PropType<"display" | "headline" | "title" | "text" | "label" | "variants">;
|
114
|
-
};
|
115
|
-
variant: {
|
116
|
-
type: import("vue").PropType<EditorVariant>;
|
117
|
-
};
|
118
|
-
"onUpdate:modelValue": {
|
119
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
120
|
-
};
|
121
|
-
"v-model": {
|
122
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
123
|
-
required: false;
|
124
|
-
};
|
125
|
-
modelValue: {
|
126
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
127
|
-
required: false;
|
128
|
-
};
|
129
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
130
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
131
|
-
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
132
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
133
|
-
required: false;
|
134
|
-
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
135
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
136
|
-
required: false;
|
137
|
-
}; } & {
|
138
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, TextStyleDefinition, {
|
139
|
-
"onUpdate:modelValue": {
|
140
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
141
|
-
};
|
142
|
-
} & {
|
143
|
-
"v-model": {
|
144
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
145
|
-
required: false;
|
146
|
-
};
|
147
|
-
} & {
|
148
|
-
modelValue: {
|
149
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
150
|
-
required: false;
|
151
|
-
};
|
152
|
-
}>;
|
153
|
-
defaultValue(value?: TextStyleDefinition): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, TextStyleDefinition, {
|
154
|
-
"onUpdate:modelValue": {
|
155
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
156
|
-
};
|
157
|
-
} & {
|
158
|
-
"v-model": {
|
159
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
160
|
-
required: false;
|
161
|
-
};
|
162
|
-
} & {
|
163
|
-
modelValue: {
|
164
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
165
|
-
required: false;
|
166
|
-
};
|
167
|
-
}, false>;
|
168
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, TextStyleDefinition, {
|
169
|
-
"onUpdate:modelValue": {
|
170
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
171
|
-
};
|
172
|
-
} & {
|
173
|
-
"v-model": {
|
174
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
175
|
-
required: false;
|
176
|
-
};
|
177
|
-
} & {
|
178
|
-
modelValue: {
|
179
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
180
|
-
required: false;
|
181
|
-
};
|
182
|
-
}>;
|
183
|
-
};
|
184
|
-
}>> & {
|
185
|
-
"onClick:confirm"?: (model: TextStyleDefinition) => any;
|
186
|
-
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
187
|
-
__isFragment?: never;
|
188
|
-
__isTeleport?: never;
|
189
|
-
__isSuspense?: never;
|
190
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
191
|
-
"v-slots": import("vue").Prop<{
|
192
|
-
default?: import("../../../DefineVueTypings").Slot;
|
193
|
-
} & {
|
194
|
-
activator?: () => VNodeChild;
|
195
|
-
}>;
|
196
|
-
toolbarCallback: {
|
197
|
-
type: import("vue").PropType<(value: () => VNodeChild) => void>;
|
198
|
-
};
|
199
|
-
sampleText: {
|
200
|
-
type: import("vue").PropType<string>;
|
201
|
-
};
|
202
|
-
textStyleType: {
|
203
|
-
type: import("vue").PropType<"display" | "headline" | "title" | "text" | "label" | "variants">;
|
204
|
-
};
|
205
|
-
variant: {
|
206
|
-
type: import("vue").PropType<EditorVariant>;
|
207
|
-
};
|
208
|
-
"onUpdate:modelValue": {
|
209
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
210
|
-
};
|
211
|
-
"v-model": {
|
212
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
213
|
-
required: false;
|
214
|
-
};
|
215
|
-
modelValue: {
|
216
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
217
|
-
required: false;
|
218
|
-
};
|
219
|
-
name: <TName extends string>(n?: TName) => { [key in import("../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
|
220
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
221
|
-
}; } & { [key_1 in import("../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
|
222
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
223
|
-
required: false;
|
224
|
-
}; } & { [key_2 in import("../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
|
225
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
226
|
-
required: false;
|
227
|
-
}; } & {
|
228
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<TName, TextStyleDefinition, {
|
229
|
-
"onUpdate:modelValue": {
|
230
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
231
|
-
};
|
232
|
-
} & {
|
233
|
-
"v-model": {
|
234
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
235
|
-
required: false;
|
236
|
-
};
|
237
|
-
} & {
|
238
|
-
modelValue: {
|
239
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
240
|
-
required: false;
|
241
|
-
};
|
242
|
-
}>;
|
243
|
-
defaultValue(value?: TextStyleDefinition): import("../../../DefineVueTypings").DefinePropModelDefaultValue<TName, TextStyleDefinition, {
|
244
|
-
"onUpdate:modelValue": {
|
245
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
246
|
-
};
|
247
|
-
} & {
|
248
|
-
"v-model": {
|
249
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
250
|
-
required: false;
|
251
|
-
};
|
252
|
-
} & {
|
253
|
-
modelValue: {
|
254
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
255
|
-
required: false;
|
256
|
-
};
|
257
|
-
}, false>;
|
258
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<TName, TextStyleDefinition, {
|
259
|
-
"onUpdate:modelValue": {
|
260
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
261
|
-
};
|
262
|
-
} & {
|
263
|
-
"v-model": {
|
264
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
265
|
-
required: false;
|
266
|
-
};
|
267
|
-
} & {
|
268
|
-
modelValue: {
|
269
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
270
|
-
required: false;
|
271
|
-
};
|
272
|
-
}>;
|
273
|
-
};
|
274
|
-
}>> & {
|
275
|
-
"onClick:confirm"?: (model: TextStyleDefinition) => any;
|
276
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
277
|
-
"click:confirm": (model: TextStyleDefinition) => true;
|
278
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
279
|
-
propsDefinition: Omit<Readonly<{} & {
|
280
|
-
name?: {
|
281
|
-
[x: `onUpdate:${string}`]: {
|
282
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
283
|
-
};
|
284
|
-
} & {
|
285
|
-
[x: `v-model:${string}`]: {
|
286
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
287
|
-
required: false;
|
288
|
-
};
|
289
|
-
} & {
|
290
|
-
[x: string]: {
|
291
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
292
|
-
required: false;
|
293
|
-
};
|
294
|
-
} & {
|
295
|
-
require(): import("../../../DefineVueTypings").DefinePropModelRequire<string, TextStyleDefinition, {
|
296
|
-
"onUpdate:modelValue": {
|
297
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
298
|
-
};
|
299
|
-
} & {
|
300
|
-
"v-model": {
|
301
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
302
|
-
required: false;
|
303
|
-
};
|
304
|
-
} & {
|
305
|
-
modelValue: {
|
306
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
307
|
-
required: false;
|
308
|
-
};
|
309
|
-
}>;
|
310
|
-
defaultValue(value?: TextStyleDefinition): import("../../../DefineVueTypings").DefinePropModelDefaultValue<string, TextStyleDefinition, {
|
311
|
-
"onUpdate:modelValue": {
|
312
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
313
|
-
};
|
314
|
-
} & {
|
315
|
-
"v-model": {
|
316
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
317
|
-
required: false;
|
318
|
-
};
|
319
|
-
} & {
|
320
|
-
modelValue: {
|
321
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
322
|
-
required: false;
|
323
|
-
};
|
324
|
-
}, false>;
|
325
|
-
doc$(description?: string): import("../../../DefineVueTypings").DefinePropModelDoc<string, TextStyleDefinition, {
|
326
|
-
"onUpdate:modelValue": {
|
327
|
-
type: import("vue").PropType<(value: TextStyleDefinition) => any | void>;
|
328
|
-
};
|
329
|
-
} & {
|
330
|
-
"v-model": {
|
331
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
332
|
-
required: false;
|
333
|
-
};
|
334
|
-
} & {
|
335
|
-
modelValue: {
|
336
|
-
type: import("vue").PropType<TextStyleDefinition>;
|
337
|
-
required: false;
|
338
|
-
};
|
339
|
-
}>;
|
340
|
-
};
|
341
|
-
variant?: EditorVariant;
|
342
|
-
modelValue?: TextStyleDefinition;
|
343
|
-
"v-slots"?: {
|
344
|
-
default?: import("../../../DefineVueTypings").Slot;
|
345
|
-
} & {
|
346
|
-
activator?: () => VNodeChild;
|
347
|
-
};
|
348
|
-
"onUpdate:modelValue"?: (value: TextStyleDefinition) => any | void;
|
349
|
-
"v-model"?: TextStyleDefinition;
|
350
|
-
sampleText?: string;
|
351
|
-
toolbarCallback?: (value: () => VNodeChild) => void;
|
352
|
-
textStyleType?: "display" | "headline" | "title" | "text" | "label" | "variants";
|
353
|
-
}>, "onClick:confirm"> & {
|
354
|
-
"onClick:confirm"?: (model: TextStyleDefinition) => any;
|
355
|
-
};
|
356
|
-
};
|
357
|
-
export default _default;
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { FontAwesomeIcon, TextStyleBreakPoint, TextStyleDefinition } from "@omnia/fx-models";
|
2
|
-
export interface BreakpointItem {
|
3
|
-
icon: FontAwesomeIcon;
|
4
|
-
title: string;
|
5
|
-
active: boolean;
|
6
|
-
breakpoint: "sm" | "md" | "lg";
|
7
|
-
}
|
8
|
-
export declare const useTypographyEditorStore: () => {
|
9
|
-
state: {
|
10
|
-
internalModel: TextStyleDefinition;
|
11
|
-
breakpoint: {
|
12
|
-
large: TextStyleBreakPoint;
|
13
|
-
medium: TextStyleBreakPoint;
|
14
|
-
small: TextStyleBreakPoint;
|
15
|
-
};
|
16
|
-
selectedBreakpoint: BreakpointItem;
|
17
|
-
settings: {
|
18
|
-
textStyleType: "display" | "headline" | "title" | "text" | "label" | "variants";
|
19
|
-
};
|
20
|
-
};
|
21
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
22
|
-
set: () => {
|
23
|
-
fontSize: (value: number) => void;
|
24
|
-
lineHeight: (value: number) => void;
|
25
|
-
fontWeight: (value: number) => void;
|
26
|
-
letterSpacing: (value: number) => void;
|
27
|
-
};
|
28
|
-
breakPoint: () => {
|
29
|
-
selected: {
|
30
|
-
enable: (value: boolean) => void;
|
31
|
-
set: {
|
32
|
-
custom: (value: boolean) => void;
|
33
|
-
};
|
34
|
-
};
|
35
|
-
clean: (key: string) => void;
|
36
|
-
ensure: (key: string) => void;
|
37
|
-
};
|
38
|
-
initState: (model: TextStyleDefinition) => void;
|
39
|
-
}>;
|
40
|
-
get: {
|
41
|
-
selection: {
|
42
|
-
breakpoint: {
|
43
|
-
readonly definition: TextStyleBreakPoint;
|
44
|
-
};
|
45
|
-
};
|
46
|
-
};
|
47
|
-
rules: {
|
48
|
-
readonly showEnableBreakpoint: boolean;
|
49
|
-
show: {
|
50
|
-
readonly customSizeSwitch: boolean;
|
51
|
-
readonly name: boolean;
|
52
|
-
readonly upperCaseAndItalicSettings: boolean;
|
53
|
-
readonly fontSizeAndLineHeight: boolean;
|
54
|
-
readonly letterSpacing: boolean;
|
55
|
-
readonly fontWeight: boolean;
|
56
|
-
};
|
57
|
-
};
|
58
|
-
dataTypes: {
|
59
|
-
breakpoints: BreakpointItem[];
|
60
|
-
};
|
61
|
-
} & {
|
62
|
-
dispose?: () => void;
|
63
|
-
};
|