@omnia/fx 8.0.387-dev → 8.0.389-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/ux/UxModels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/admin/settings/blades/mediapicker/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/system/models/SubMenuItem.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/admin/system/store/SystemJourneyStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/admin/usermanagement/loginlog/LoginLogDetailBlade.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/admin/usermanagement/loginlog/useLoginLogBlade.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +27 -27
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/stores/ColorPickerStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/textcolorpicker/TextColorPicker.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textcolorpicker/TextColorPicker.d.ts +36 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textcolorpicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textcolorpicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/TextFormatPicker.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/TextFormatPicker.d.ts +36 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/docs/SampleComponent.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.css.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +19 -16
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/store/TextStylePickerStore.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyBlueprintsViewer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyEditor.d.ts +79 -79
- package/internal-do-not-import-from-here/ux/aurora/components/typography/components/TypographyFillRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/aurora/designkits/documentation/themes/BlueprintsTypography.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/designkits/editor/themes/BlueprintsTypography.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/designkits/shared/TypographyBlueprints.d.ts +19 -19
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/styling/UseStyling.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Typography.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/features/loc/localize.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/flow/editor/FlowEditor.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/flow/renderer/FlowRenderer.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/models/TypographyEditorModel.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/models/flow/TypographyNode.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/link/Link.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/VelcronEditorBuilder.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronTextContentBuilder.d.ts +3 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +20 -16
- package/package.json +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyPicker.css.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyPicker.d.ts +0 -39
- /package/internal-do-not-import-from-here/ux/{admin/settings/blades/mediapicker/components/filesize/FileSizeLimitSettingsJourney.d.ts → aurora/components/textcolorpicker/docs/SampleComponent.d.ts} +0 -0
@@ -10,7 +10,7 @@ export declare const SystemJourneyStore: () => {
|
|
10
10
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
11
11
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
12
12
|
setActiveSubMenuItem: (item: SubMenuItem) => void;
|
13
|
-
addOrUpdateSubMenuItem: (item: SubMenuItem
|
13
|
+
addOrUpdateSubMenuItem: (item: SubMenuItem) => void;
|
14
14
|
removeActiveSubMenuItem: (item: SubMenuItem) => void;
|
15
15
|
addSubMenuItems: (items: SubMenuItem[]) => void;
|
16
16
|
}>;
|
package/internal-do-not-import-from-here/ux/admin/usermanagement/loginlog/LoginLogDetailBlade.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
import { LoginLogItem, ResolvedUserIdentity } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
+
item?: LoginLogItem;
|
4
|
+
} & {
|
5
|
+
identity?: ResolvedUserIdentity;
|
6
|
+
}> & {} & {
|
7
|
+
"v-slots"?: {} & Omit<{
|
8
|
+
default?: import("vue").Slot;
|
9
|
+
}, never>;
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "item" | "identity"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
11
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/admin/usermanagement/loginlog/useLoginLogBlade.d.ts
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { LoginLogItem, ResolvedUserIdentity } from "@omnia/fx-models";
|
2
|
+
export default function useLoginLogBlade(): {
|
3
|
+
renderDateTime: (value: Date) => string;
|
4
|
+
renderLoginTimeValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
5
|
+
renderApplicationValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
6
|
+
renderStatusValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
7
|
+
renderIPAddressValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
8
|
+
renderLocationValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
9
|
+
renderLoginMethodValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
10
|
+
renderURLValue: (loginLog: LoginLogItem) => import("vue/jsx-runtime").JSX.Element;
|
11
|
+
renderUserIdentity: (identity: ResolvedUserIdentity) => import("vue/jsx-runtime").JSX.Element;
|
12
|
+
};
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { FillDefinition, guid, ITemplateRegistration, TypographyBlueprint,
|
1
|
+
import { FillDefinition, guid, ITemplateRegistration, TypographyBlueprint, TextStyleDefinition, TextStyleSizes, TextStyleType, TypographyFontDefinition, IFontBlueprints, TypographyFontRef, BlueprintVariant } from "@omnia/fx-models";
|
2
2
|
export declare const useTypographyEditorStore: () => {
|
3
3
|
state: {
|
4
4
|
blueprintRegistration: ITemplateRegistration<TypographyBlueprint>;
|
5
5
|
availableFonts: ITemplateRegistration<IFontBlueprints>;
|
6
6
|
blueprint: TypographyBlueprint;
|
7
7
|
editMode: boolean;
|
8
|
-
editingType:
|
8
|
+
editingType: TextStyleType;
|
9
9
|
selectedTypography: {
|
10
|
-
type:
|
11
|
-
size:
|
12
|
-
definition:
|
10
|
+
type: TextStyleType;
|
11
|
+
size: TextStyleSizes;
|
12
|
+
definition: TextStyleDefinition;
|
13
13
|
};
|
14
14
|
selectedFill: FillDefinition;
|
15
15
|
selectedFillVariant: BlueprintVariant;
|
@@ -19,18 +19,18 @@ export declare const useTypographyEditorStore: () => {
|
|
19
19
|
availableFonts: ITemplateRegistration<IFontBlueprints>;
|
20
20
|
blueprint: TypographyBlueprint;
|
21
21
|
editMode: boolean;
|
22
|
-
editingType:
|
22
|
+
editingType: TextStyleType;
|
23
23
|
selectedTypography: {
|
24
|
-
type:
|
25
|
-
size:
|
26
|
-
definition:
|
24
|
+
type: TextStyleType;
|
25
|
+
size: TextStyleSizes;
|
26
|
+
definition: TextStyleDefinition;
|
27
27
|
};
|
28
28
|
selectedFill: FillDefinition;
|
29
29
|
selectedFillVariant: BlueprintVariant;
|
30
30
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
31
31
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
32
|
-
setSelectedDefinition(type:
|
33
|
-
addVariant(variantType:
|
32
|
+
setSelectedDefinition(type: TextStyleType, size: TextStyleSizes): void;
|
33
|
+
addVariant(variantType: TextStyleType): BlueprintVariant;
|
34
34
|
deleteEditingVariant(): void;
|
35
35
|
updateSelectedDefinition(): void;
|
36
36
|
editBlueprints(blueprints: ITemplateRegistration<TypographyBlueprint>): void;
|
@@ -48,26 +48,26 @@ export declare const useTypographyEditorStore: () => {
|
|
48
48
|
delete(): Promise<boolean>;
|
49
49
|
}>;
|
50
50
|
get: {
|
51
|
-
definitionType: () => import("@omnia/fx-models").VariantBlueprints<FillDefinition> | import("@omnia/fx-models").VariantBlueprints<
|
52
|
-
xl:
|
53
|
-
l:
|
54
|
-
m:
|
55
|
-
s:
|
56
|
-
xs:
|
51
|
+
definitionType: () => import("@omnia/fx-models").VariantBlueprints<FillDefinition> | import("@omnia/fx-models").VariantBlueprints<TextStyleDefinition> | {
|
52
|
+
xl: TextStyleDefinition;
|
53
|
+
l: TextStyleDefinition;
|
54
|
+
m: TextStyleDefinition;
|
55
|
+
s: TextStyleDefinition;
|
56
|
+
xs: TextStyleDefinition;
|
57
57
|
font?: TypographyFontRef;
|
58
58
|
} | {
|
59
|
-
xl?:
|
60
|
-
l:
|
61
|
-
m:
|
62
|
-
s:
|
63
|
-
xs:
|
59
|
+
xl?: TextStyleDefinition;
|
60
|
+
l: TextStyleDefinition;
|
61
|
+
m: TextStyleDefinition;
|
62
|
+
s: TextStyleDefinition;
|
63
|
+
xs: TextStyleDefinition;
|
64
64
|
font?: TypographyFontRef;
|
65
65
|
} | {
|
66
|
-
xl?:
|
67
|
-
l:
|
68
|
-
m:
|
69
|
-
s?:
|
70
|
-
xs?:
|
66
|
+
xl?: TextStyleDefinition;
|
67
|
+
l: TextStyleDefinition;
|
68
|
+
m: TextStyleDefinition;
|
69
|
+
s?: TextStyleDefinition;
|
70
|
+
xs?: TextStyleDefinition;
|
71
71
|
font?: TypographyFontRef;
|
72
72
|
};
|
73
73
|
selectedTypoSizeFont: () => string;
|
@@ -26,7 +26,7 @@ export declare const useColorPickerStore: () => {
|
|
26
26
|
settings: {
|
27
27
|
dynamicColor: {
|
28
28
|
show: boolean;
|
29
|
-
|
29
|
+
isEnabled: boolean;
|
30
30
|
colorShemaType: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
31
31
|
};
|
32
32
|
showCustomColorPicker: boolean;
|
package/internal-do-not-import-from-here/ux/aurora/components/textcolorpicker/TextColorPicker.d.ts
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
import { TextBlueprint, ThemeContextType } from "@omnia/fx-models";
|
2
|
+
import { DefineSlot } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
4
|
+
type variant = "editor" | "picker" | "journey";
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
+
"emit:update:modelValue": (value: TextBlueprint) => void;
|
7
|
+
} & {
|
8
|
+
"v-model"?: TextBlueprint;
|
9
|
+
} & {
|
10
|
+
modelValue?: TextBlueprint;
|
11
|
+
} & {
|
12
|
+
defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
13
|
+
} & {
|
14
|
+
themeType?: ThemeContextType;
|
15
|
+
} & {
|
16
|
+
variant?: variant;
|
17
|
+
} & {
|
18
|
+
toned?: boolean;
|
19
|
+
} & {
|
20
|
+
label?: string;
|
21
|
+
} & {
|
22
|
+
customTyping?: boolean;
|
23
|
+
} & {
|
24
|
+
singleColor?: boolean;
|
25
|
+
} & {
|
26
|
+
enableDynamicColor?: boolean;
|
27
|
+
} & DefineSlot<"activator", () => VNodeChild>> & {
|
28
|
+
"onUpdate:modelValue"?: (value: TextBlueprint) => any;
|
29
|
+
} & {
|
30
|
+
"v-slots"?: {
|
31
|
+
activator?: () => VNodeChild;
|
32
|
+
} & Omit<{
|
33
|
+
default?: import("vue").Slot;
|
34
|
+
}, "activator">;
|
35
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "customTyping" | "enableDynamicColor" | "defaultColorSchemaType" | "singleColor"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ExampleComponents: import("@omnia/fx/ux").DocumentationSpec;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const spec: import("@omnia/fx/ux").DocumentationSpec;
|
package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/TextFormatPicker.d.ts
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
import { TextBlueprint, ThemeContextType } from "@omnia/fx-models";
|
2
|
+
import { DefineSlot } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
4
|
+
type variant = "dropdown" | "journey";
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
+
"emit:update:modelValue": (value: TextBlueprint) => void;
|
7
|
+
} & {
|
8
|
+
"v-model"?: TextBlueprint;
|
9
|
+
} & {
|
10
|
+
modelValue?: TextBlueprint;
|
11
|
+
} & {
|
12
|
+
defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
13
|
+
} & {
|
14
|
+
themeType?: ThemeContextType;
|
15
|
+
} & {
|
16
|
+
variant?: variant;
|
17
|
+
} & {
|
18
|
+
toned?: boolean;
|
19
|
+
} & {
|
20
|
+
label?: string;
|
21
|
+
} & {
|
22
|
+
customTyping?: boolean;
|
23
|
+
} & {
|
24
|
+
singleColor?: boolean;
|
25
|
+
} & {
|
26
|
+
enableDynamicColor?: boolean;
|
27
|
+
} & DefineSlot<"activator", () => VNodeChild>> & {
|
28
|
+
"onUpdate:modelValue"?: (value: TextBlueprint) => any;
|
29
|
+
} & {
|
30
|
+
"v-slots"?: {
|
31
|
+
activator?: () => VNodeChild;
|
32
|
+
} & Omit<{
|
33
|
+
default?: import("vue").Slot;
|
34
|
+
}, "activator">;
|
35
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "customTyping" | "enableDynamicColor" | "defaultColorSchemaType" | "singleColor"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ExampleComponents: import("@omnia/fx/ux").DocumentationSpec;
|
@@ -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;
|
package/internal-do-not-import-from-here/ux/aurora/components/textformatpicker/docs/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export declare const spec: import("@omnia/fx/ux").DocumentationSpec;
|
@@ -1,4 +1,6 @@
|
|
1
1
|
export declare const TextStylePickerStyles: {
|
2
|
-
|
3
|
-
|
2
|
+
container: string;
|
3
|
+
colorPreview: (hoverColor: string) => string;
|
4
|
+
selectedPlaceholder: (dark: boolean) => string;
|
5
|
+
selected: (color: string, onBase: string) => string;
|
4
6
|
};
|
package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts
CHANGED
@@ -1,36 +1,39 @@
|
|
1
|
-
import { TextBlueprint, ThemeContextType } from "@omnia/fx-models";
|
2
1
|
import { DefineSlot } from "@omnia/fx/ux";
|
3
|
-
import {
|
4
|
-
|
2
|
+
import { TextBlueprint, ThemeContextType, TextStyleValue } from "@omnia/fx-models";
|
3
|
+
import { VNode } from "vue";
|
4
|
+
import { PickerVariant } from "internal/fx/ux/oxide/picker/models/SharedSettings";
|
5
|
+
export type TypographyPickerTypes = "default" | "title" | "text" | "variant" | "navigation";
|
5
6
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
6
|
-
"emit:update:modelValue": (value:
|
7
|
+
"emit:update:modelValue": (value: TextStyleValue) => void;
|
7
8
|
} & {
|
8
|
-
"v-model"?:
|
9
|
+
"v-model"?: TextStyleValue;
|
9
10
|
} & {
|
10
|
-
modelValue?:
|
11
|
+
modelValue?: TextStyleValue;
|
11
12
|
} & {
|
12
|
-
|
13
|
+
customTyping?: boolean;
|
13
14
|
} & {
|
14
15
|
themeType?: ThemeContextType;
|
15
16
|
} & {
|
16
|
-
|
17
|
+
type?: TypographyPickerTypes;
|
18
|
+
} & {
|
19
|
+
textBlueprint?: TextBlueprint;
|
17
20
|
} & {
|
18
21
|
toned?: boolean;
|
19
22
|
} & {
|
20
|
-
|
23
|
+
variant?: PickerVariant;
|
21
24
|
} & {
|
22
|
-
|
25
|
+
label?: string;
|
23
26
|
} & {
|
24
|
-
|
27
|
+
placeholder?: string;
|
25
28
|
} & {
|
26
|
-
|
27
|
-
} & DefineSlot<"activator", () =>
|
28
|
-
"onUpdate:modelValue"?: (value:
|
29
|
+
sampleText?: string;
|
30
|
+
} & DefineSlot<"activator", () => VNode>> & {
|
31
|
+
"onUpdate:modelValue"?: (value: TextStyleValue) => any;
|
29
32
|
} & {
|
30
33
|
"v-slots"?: {
|
31
|
-
activator?: () =>
|
34
|
+
activator?: () => VNode;
|
32
35
|
} & Omit<{
|
33
36
|
default?: import("vue").Slot;
|
34
37
|
}, "activator">;
|
35
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "
|
38
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "type" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "placeholder" | "emit:update:modelValue" | "themeType" | "slot:activator" | "textBlueprint" | "customTyping" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
36
39
|
export default _default;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ThemeContextType, ThemedTextStyleValue, TextStyleValue as textStyle } from "@omnia/fx-models";
|
2
|
+
export declare const useTextStylePickerStore: () => {
|
3
|
+
state: {
|
4
|
+
internalModel: textStyle;
|
5
|
+
sampleText: string;
|
6
|
+
};
|
7
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
8
|
+
clear: () => void;
|
9
|
+
select: (value: textStyle) => void;
|
10
|
+
initState: (model: textStyle, sampleText: string, themeType: ThemeContextType) => void;
|
11
|
+
}>;
|
12
|
+
get: {
|
13
|
+
displayText: (textStyle: ThemedTextStyleValue) => string;
|
14
|
+
displayIcon: (textStyle: ThemedTextStyleValue) => import("@omnia/fx-models").FontAwesomeIcon;
|
15
|
+
};
|
16
|
+
rules: {
|
17
|
+
isPlacerHolder: (textStyle: ThemedTextStyleValue) => boolean;
|
18
|
+
isSelected: (textStyle: textStyle) => boolean;
|
19
|
+
showTextStyle: (textStyle: ThemedTextStyleValue) => boolean;
|
20
|
+
};
|
21
|
+
dataTypes: {
|
22
|
+
titleStyles: ThemedTextStyleValue[];
|
23
|
+
textStyles: ThemedTextStyleValue[];
|
24
|
+
variantStyles: ThemedTextStyleValue[];
|
25
|
+
navigationStyles: ThemedTextStyleValue[];
|
26
|
+
};
|
27
|
+
} & {
|
28
|
+
dispose?: () => void;
|
29
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BlueprintVariant, ThemeContextType, TypographyBlueprint,
|
1
|
+
import { BlueprintVariant, ThemeContextType, TypographyBlueprint, TextStyleSizes, TextStyleType } from "@omnia/fx-models";
|
2
2
|
import { DefineEmit } from "@omnia/fx/ux";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
4
|
"emit:update:modelValue": (value: TypographyBlueprint) => void;
|
@@ -14,10 +14,10 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
14
14
|
editable?: boolean;
|
15
15
|
} & {
|
16
16
|
themeType?: ThemeContextType;
|
17
|
-
} & DefineEmit<"click:select", (typography:
|
17
|
+
} & DefineEmit<"click:select", (typography: TextStyleType, size: TextStyleSizes) => true> & DefineEmit<"click:selectFill", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true> & DefineEmit<"click:addFill", () => true>> & {
|
18
18
|
"onUpdate:modelValue"?: (value: TypographyBlueprint) => any;
|
19
19
|
"onClick:add"?: () => any;
|
20
|
-
"onClick:select"?: (typography: "title" | "text" | "navigation" | "variants" | "fills", size:
|
20
|
+
"onClick:select"?: (typography: "title" | "text" | "navigation" | "variants" | "fills", size: TextStyleSizes) => any;
|
21
21
|
"onClick:selectFill"?: (variant: BlueprintVariant) => any;
|
22
22
|
"onClick:addFill"?: () => any;
|
23
23
|
} & {
|