@omnia/fx 8.0.542-dev → 8.0.544-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/aurora/admin/themedesigner/themes/models/Theme.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/themes/store/ThemesJourneyStore.d.ts +21 -8
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +8 -2
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStyleViewer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/store/TextStylePickerStore.d.ts +7 -2
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +10 -8
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.css.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/aurora/components/themepicker/store/ThemePickerStore.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/aurora/components/themepreview/ThemePreview.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/aurora/store/TextStyleConfigurationStore.d.ts +9 -2
- package/internal-do-not-import-from-here/ux/editorchrome/define/DefineChromeAction.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/inputlanguagepicker/InputLanguagePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/calendar/Calendar.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.css.d.ts +9 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +11 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorStore_old.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/store/RichTextEditorStore.d.ts +133 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/store/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/RichTextEditorRenderer.css.d.ts +9 -2
- package/internal-do-not-import-from-here/ux/texttranslator/TextTranslator.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/vuetify/VuetifyCore.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +4 -4
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorStore.d.ts +0 -18
- /package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/themes/{ThemesJourney.d.ts → ThemeSelectionJourney.d.ts} +0 -0
package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/themes/models/Theme.d.ts
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
import { guid
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
2
|
declare const ModeSettingDefinitions: readonly ["admin", "default"];
|
3
3
|
export type ModeSetting = typeof ModeSettingDefinitions[number];
|
4
4
|
export interface ThemingRender {
|
5
5
|
id: guid;
|
6
6
|
title: string;
|
7
|
-
themeDefinition: ITemplateRegistration<ResolvedThemeDefinition>;
|
8
7
|
modeSetting: ModeSetting;
|
9
8
|
}
|
10
9
|
export {};
|
@@ -1,24 +1,37 @@
|
|
1
|
-
import { AppThemeManager, BusinessProfileThemeManager, ResolvedThemeDefinition, TargetResolverTypes, TenantThemeManager, ThemeSelection } from "@omnia/fx-models";
|
1
|
+
import { AppThemeManager, BusinessProfileThemeManager, guid, ResolvedThemeDefinition, TargetResolverTypes, TenantThemeManager, ThemeSelection } from "@omnia/fx-models";
|
2
2
|
import { ThemingRender } from "../models";
|
3
|
-
export declare enum ColorMode {
|
4
|
-
colorOnly = "color",
|
5
|
-
linearGradient = "linear",
|
6
|
-
radialGradient = "radial"
|
7
|
-
}
|
8
3
|
export declare const useThemeJourneyStore: () => {
|
9
4
|
state: {
|
10
5
|
themeManager: TenantThemeManager | AppThemeManager | BusinessProfileThemeManager;
|
11
6
|
themingSetting: ThemeSelection;
|
12
|
-
themeRenderers: ThemingRender[];
|
13
7
|
settings: {
|
14
8
|
targetResolverType: TargetResolverTypes;
|
15
9
|
};
|
10
|
+
editing: {
|
11
|
+
renderer: ThemingRender;
|
12
|
+
accessibility: guid;
|
13
|
+
default: guid;
|
14
|
+
additional: guid[];
|
15
|
+
};
|
16
16
|
};
|
17
17
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
18
|
+
AdditionalTheme: () => {
|
19
|
+
add: (id: guid) => void;
|
20
|
+
remove: (id: guid) => void;
|
21
|
+
};
|
22
|
+
updateTheme: (id: guid, mode: "default" | "accessibility") => void;
|
23
|
+
save: () => Promise<boolean>;
|
24
|
+
selectThemerenderer: (renderer: ThemingRender) => void;
|
18
25
|
setTheme: (theme: ThemingRender, newTheme: ResolvedThemeDefinition) => void;
|
19
26
|
initState: (targetResolverType: TargetResolverTypes) => Promise<void>;
|
20
27
|
}>;
|
21
|
-
get: {
|
28
|
+
get: {
|
29
|
+
themeTemplates: import("@omnia/fx-models").ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>[];
|
30
|
+
editingBlade: (props: Omit<import("@omnia/fx/ux").ConstructComponentProps<import("../../../../../journey/JourneyBlade").JourneyBladeProps>, "id" | "getApi" | "manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
31
|
+
};
|
32
|
+
dataTypes: {
|
33
|
+
themeRenderers: ThemingRender[];
|
34
|
+
};
|
22
35
|
rules: {};
|
23
36
|
} & {
|
24
37
|
dispose?: () => void;
|
package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
import { DefineSlot } from "@omnia/fx/ux";
|
2
|
-
import { TextBlueprint, TextStyleValue, TypographyBlueprint, TextStyleBreakpointType, TextStyleConfiguration } from "@omnia/fx-models";
|
2
|
+
import { TextBlueprint, TextStyleValue, guid, TypographyBlueprint, TextStyleBreakpointType, TextStyleConfiguration } from "@omnia/fx-models";
|
3
3
|
import { VNode } from "vue";
|
4
4
|
import { PickerVariant } from "internal/fx/ux/oxide/picker/models/SharedSettings";
|
5
5
|
import { ViewTypes } from "./store/TextStylePickerStore";
|
6
6
|
type previewTypes = "default" | "icon";
|
7
7
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
8
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
9
|
+
} & {
|
10
|
+
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
11
|
+
} & {
|
8
12
|
"emit:update:modelValue": (value: number | TextStyleConfiguration | TextStyleValue) => void;
|
9
13
|
} & {
|
10
14
|
"v-model"?: number | TextStyleConfiguration | TextStyleValue;
|
@@ -16,6 +20,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
16
20
|
viewType?: ViewTypes;
|
17
21
|
} & {
|
18
22
|
previewType?: previewTypes;
|
23
|
+
} & {
|
24
|
+
filters?: guid[];
|
19
25
|
} & {
|
20
26
|
textBlueprint?: TextBlueprint;
|
21
27
|
} & {
|
@@ -47,5 +53,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
47
53
|
default?: import("vue").Slot;
|
48
54
|
$stable?: boolean;
|
49
55
|
}, "activator">;
|
50
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "customTyping" | "viewType" | "previewType" | "textBlueprint" | "typographyBlueprint" | "breakpoint" | "showSlots" | "clearable" | "ignoreStylingInSelection" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
56
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "colorSchemaType" | "variant" | "filters" | "colors" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "placeholder" | "slot:activator" | "customTyping" | "viewType" | "previewType" | "textBlueprint" | "typographyBlueprint" | "breakpoint" | "showSlots" | "clearable" | "ignoreStylingInSelection" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
51
57
|
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStyleViewer.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { DefineProp } from "@omnia/fx/ux";
|
2
2
|
import { TextStyleConfiguration } from "@omnia/fx-models";
|
3
|
-
type ViewerProps = DefineProp<"item", TextStyleConfiguration> & DefineProp<"ignoreLineHeight", boolean>;
|
3
|
+
type ViewerProps = DefineProp<"item", TextStyleConfiguration> & DefineProp<"ignoreLineHeight", boolean> & DefineProp<"textColor", string>;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ViewerProps> & {} & {
|
5
5
|
"v-slots"?: {} & Omit<{
|
6
6
|
default?: import("vue").Slot;
|
7
7
|
$stable?: boolean;
|
8
8
|
}, never>;
|
9
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "item" | "ignoreLineHeight"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "item" | "textColor" | "ignoreLineHeight"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
10
10
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ThemedTextStyleValue, TextStyleValue, TypographyBlueprint, TextStyleBreakpointType, TextStyleConfiguration } from "@omnia/fx-models";
|
1
|
+
import { ThemedTextStyleValue, TextStyleValue, TypographyBlueprint, TextStyleBreakpointType, TextStyleConfiguration, guid } from "@omnia/fx-models";
|
2
2
|
import { usePickerStore } from "internal/fx/ux/oxide/picker/stores/PickerStore";
|
3
3
|
import { PickerVariant } from "internal/fx/ux/oxide/picker/models/SharedSettings";
|
4
4
|
export type ViewTypes = "type-scale" | "system-styles" | "custom-styles" | "system-styles custom-styles" | "default";
|
@@ -10,7 +10,11 @@ export declare const useTextStylePickerStore: () => {
|
|
10
10
|
viewType: ViewTypes;
|
11
11
|
typographyBlueprint: TypographyBlueprint;
|
12
12
|
breakPoint: TextStyleBreakpointType;
|
13
|
-
configurations:
|
13
|
+
configurations: {
|
14
|
+
all: TextStyleConfiguration[];
|
15
|
+
filtered: TextStyleConfiguration[];
|
16
|
+
};
|
17
|
+
filters: guid[];
|
14
18
|
settings: {
|
15
19
|
variant: PickerVariant;
|
16
20
|
};
|
@@ -18,6 +22,7 @@ export declare const useTextStylePickerStore: () => {
|
|
18
22
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
19
23
|
setPickerStore(store: ReturnType<typeof usePickerStore>): void;
|
20
24
|
clear: () => void;
|
25
|
+
setFilters: (filters: Array<guid>) => void;
|
21
26
|
setScaleValue(value: number): void;
|
22
27
|
select: (value: TextStyleValue | TextStyleConfiguration) => void;
|
23
28
|
initState: (model: TextStyleValue | number | TextStyleConfiguration, sampleText: string, viewType: ViewTypes, typographyBlueprint: TypographyBlueprint, breakpoint: TextStyleBreakpointType) => void;
|
package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.css.d.ts
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
import { ColorSchema, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
1
|
export declare const ThemeDefinitionPickerStyles: {
|
3
2
|
menuContainer: (backgroundColor: string) => string;
|
4
|
-
itemContainer: (definition: ResolvedThemeDefinition, selectedView: boolean) => string;
|
5
|
-
IconColumn: string;
|
6
|
-
titleColumn: string;
|
7
|
-
colorPreview: (schema: ColorSchema) => string;
|
8
3
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DefineSlot, DefineEmit } from "@omnia/fx/ux";
|
2
|
-
import { Func, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType } from "@omnia/fx-models";
|
2
|
+
import { Func, guid, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType } from "@omnia/fx-models";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
type ThemePickerVariant = "picker" | "virtual-list" | "journey";
|
5
5
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
@@ -10,17 +10,19 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
10
10
|
label?: string;
|
11
11
|
} & {
|
12
12
|
enableClear?: boolean;
|
13
|
+
} & {
|
14
|
+
navigation?: boolean;
|
13
15
|
} & {
|
14
16
|
filter?: "custom";
|
15
17
|
} & {
|
16
|
-
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
18
|
+
"emit:update:modelValue": (value: guid | ResolvedThemeDefinition) => void;
|
17
19
|
} & {
|
18
|
-
"v-model"?: ResolvedThemeDefinition;
|
20
|
+
"v-model"?: guid | ResolvedThemeDefinition;
|
19
21
|
} & {
|
20
|
-
modelValue?: ResolvedThemeDefinition;
|
21
|
-
} & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ResolvedThemeDefinition>) => true>> & {
|
22
|
-
"onUpdate:modelValue"?: (value: ResolvedThemeDefinition) => any;
|
23
|
-
"onItem:selected"?: (theme: ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType>) => any;
|
22
|
+
modelValue?: guid | ResolvedThemeDefinition;
|
23
|
+
} & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ResolvedThemeDefinition> | guid) => true>> & {
|
24
|
+
"onUpdate:modelValue"?: (value: guid | ResolvedThemeDefinition) => any;
|
25
|
+
"onItem:selected"?: (theme: guid | ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType>) => any;
|
24
26
|
} & {
|
25
27
|
"v-slots"?: {
|
26
28
|
activator?: Func<[VNodeChild]>;
|
@@ -28,5 +30,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
28
30
|
default?: import("vue").Slot;
|
29
31
|
$stable?: boolean;
|
30
32
|
}, "activator">;
|
31
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "slot:activator" | "enableClear" | "emit:item:selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
33
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "label" | "variant" | "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "navigation" | "slot:activator" | "enableClear" | "emit:item:selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
32
34
|
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeViewer.css.d.ts
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ColorSchema, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
|
+
export declare const ThemeViewerStyles: {
|
3
|
+
itemContainer: (definition: ResolvedThemeDefinition, selectedView: boolean) => string;
|
4
|
+
IconColumn: string;
|
5
|
+
titleColumn: string;
|
6
|
+
colorPreview: (schema: ColorSchema) => string;
|
7
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
+
definition?: ResolvedThemeDefinition;
|
4
|
+
} & {
|
5
|
+
selected?: boolean;
|
6
|
+
}> & {} & {
|
7
|
+
"v-slots"?: {} & Omit<{
|
8
|
+
default?: import("vue").Slot;
|
9
|
+
$stable?: boolean;
|
10
|
+
}, never>;
|
11
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "definition" | "selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
12
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
|
1
|
+
import { guid, ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
2
|
export declare enum ColorMode {
|
3
3
|
colorOnly = "color",
|
4
4
|
linearGradient = "linear",
|
@@ -6,7 +6,7 @@ export declare enum ColorMode {
|
|
6
6
|
}
|
7
7
|
export declare const useThemePickerStore: () => {
|
8
8
|
state: {
|
9
|
-
internalModel: ResolvedThemeDefinition;
|
9
|
+
internalModel: guid | ResolvedThemeDefinition;
|
10
10
|
pickerStore: {
|
11
11
|
readonly slots: {
|
12
12
|
selectionRender: () => import("vue").VNodeChild;
|
@@ -32,7 +32,7 @@ export declare const useThemePickerStore: () => {
|
|
32
32
|
}>;
|
33
33
|
get: {
|
34
34
|
readonly bladesId: {
|
35
|
-
selection:
|
35
|
+
selection: guid;
|
36
36
|
};
|
37
37
|
};
|
38
38
|
} & {
|
@@ -42,7 +42,7 @@ export declare const useThemePickerStore: () => {
|
|
42
42
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
43
43
|
clear: () => void;
|
44
44
|
select: (theme: ITemplateRegistration<ResolvedThemeDefinition>) => void;
|
45
|
-
initState: (model: ResolvedThemeDefinition) => void;
|
45
|
+
initState: (model: ResolvedThemeDefinition | guid) => void;
|
46
46
|
}>;
|
47
47
|
get: {
|
48
48
|
selectedRegistration: () => ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>;
|
@@ -52,6 +52,7 @@ export declare const useThemePickerStore: () => {
|
|
52
52
|
};
|
53
53
|
};
|
54
54
|
rules: {
|
55
|
+
isSelected: (theme: ITemplateRegistration<ResolvedThemeDefinition>) => boolean;
|
55
56
|
readonly hasSelection: boolean;
|
56
57
|
};
|
57
58
|
} & {
|
package/internal-do-not-import-from-here/ux/aurora/components/themepreview/ThemePreview.d.ts
CHANGED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ResolvedThemeDefinition } from "@omnia/fx-models";
|
2
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
|
-
"emit:update:modelValue": (value: ResolvedThemeDefinition) => void;
|
4
|
-
} & {
|
5
|
-
"v-model"?: ResolvedThemeDefinition;
|
6
|
-
} & {
|
7
|
-
modelValue?: ResolvedThemeDefinition;
|
8
|
-
} & {
|
9
|
-
hideColorSchemas?: boolean;
|
10
|
-
} & {
|
11
|
-
toned?: boolean;
|
12
|
-
}> & {
|
13
|
-
"onUpdate:modelValue"?: (value: ResolvedThemeDefinition) => any;
|
14
|
-
} & {
|
15
|
-
"v-slots"?: {} & Omit<{
|
16
|
-
default?: import("vue").Slot;
|
17
|
-
$stable?: boolean;
|
18
|
-
}, never>;
|
19
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "modelValue" | "emit:update:modelValue" | "hideColorSchemas"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
20
|
-
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { guid, HeadingConfiguration, TextStyleConfiguration } from "@omnia/fx-models";
|
2
|
-
import {
|
2
|
+
import { NestedCSSSelectors } from "typestyle/lib/types";
|
3
3
|
export interface TextStyleSettings {
|
4
4
|
headings: Array<HeadingConfiguration>; /**Old depricated stuff... */
|
5
5
|
textStyles: Array<TextStyleConfiguration>;
|
@@ -20,18 +20,25 @@ export declare const useTextStyleConfigurationStore: () => {
|
|
20
20
|
createNew: () => TextStyleConfiguration;
|
21
21
|
}>;
|
22
22
|
get: {
|
23
|
+
id: {
|
24
|
+
byClass: (classes: string) => guid;
|
25
|
+
};
|
23
26
|
configurations: {
|
24
27
|
readonly active: TextStyleConfiguration[];
|
25
28
|
readonly disabled: TextStyleConfiguration[];
|
26
29
|
readonly default: TextStyleConfiguration;
|
27
30
|
byId: (id: guid) => TextStyleConfiguration;
|
31
|
+
byIdWithDefaultFallback: (id: guid) => TextStyleConfiguration;
|
32
|
+
byFilter: (ids: Array<guid>) => TextStyleConfiguration[];
|
28
33
|
};
|
29
34
|
textStyling: {
|
35
|
+
className: (id: guid) => string;
|
30
36
|
byId: (id: guid) => any;
|
31
37
|
byConfiguration: (configuration: TextStyleConfiguration) => any;
|
32
38
|
default: () => any;
|
33
39
|
object: (id: guid) => any;
|
34
|
-
toSelector: (id: guid, selector: string) =>
|
40
|
+
toSelector: (id: guid, selector: string) => NestedCSSSelectors;
|
41
|
+
allClasses: (selector?: string) => NestedCSSSelectors;
|
35
42
|
};
|
36
43
|
};
|
37
44
|
deactivated(): void;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { SetupFactoryContext } from "@omnia/fx";
|
2
2
|
import { guid, IIcon, InstanceLifetimes } from "@omnia/fx-models";
|
3
3
|
import { type ConfirmDialogOptions } from "../../confirmdialog";
|
4
|
-
import { VNodeChild } from "vue";
|
4
|
+
import { Ref, VNodeChild } from "vue";
|
5
5
|
export interface SetupChromeActionontext extends SetupFactoryContext {
|
6
6
|
defineAction(action: ChromeActionOptions): ChromeActionInstance;
|
7
7
|
}
|
8
8
|
export type ChromeActionOptions = {
|
9
9
|
id?: guid;
|
10
|
-
active?: boolean
|
11
|
-
disableToggle?: boolean
|
12
|
-
disabled?: boolean
|
13
|
-
hidden?: boolean
|
10
|
+
active?: boolean | Ref<boolean>;
|
11
|
+
disableToggle?: boolean | Ref<boolean>;
|
12
|
+
disabled?: boolean | Ref<boolean>;
|
13
|
+
hidden?: boolean | Ref<boolean>;
|
14
14
|
compactMode?: {
|
15
15
|
showText?: boolean;
|
16
16
|
hide?: boolean;
|
@@ -11,5 +11,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
11
11
|
default?: import("vue").Slot;
|
12
12
|
$stable?: boolean;
|
13
13
|
}, never>;
|
14
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "tooltip" | "
|
14
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "tooltip" | "multilingualContext" | "buttonSettings"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
15
15
|
export default _default;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel, EventType } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
|
+
import { CalendarDaySlotScope } from "vuetify/lib/labs/VCalendar/types";
|
3
4
|
declare const defaultWeekDays: (0 | 1 | 4 | 3 | 2 | 5 | 6)[];
|
4
5
|
type CalendarProps<T extends EventType> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", Date[], false, null, true, "The v-model of the component"> & DefineProp<"events", T[], false, null, "Array of events specific to this interval."> & DefineProp<"viewMode", "month" | "day" | "week", false, "month", "The current view mode of the calendar."> & DefineProp<"weekdays", Array<0 | 1 | 2 | 3 | 4 | 5 | 6>, false, typeof defaultWeekDays, "Specifies which days of the week to display.Default is [0, 1, 2, 3, 4, 5, 6]"> & DefineProp<"year", number, false, null, "Specifies the year for the calendar view."> & DefineProp<"month", number, false, null, "Specifies the month for the calendar view."> & DefineProp<"intervalHeight", number, false, null, "Height of the interval in pixels in the calendar view."> & DefineProp<"intervals", number, false, 24, "Total number of intervals in a day view."> & DefineProp<"intervalStart", number, false, 0, "Starting time for this specific interval."> & DefineProp<"max", Date, false, null, "Maximum date or value that can be selected."> & DefineProp<"min", Date, false, null, "Minimum date or value that can be selected."> & DefineProp<"hideWeekNumber", boolean, false, false, "Toggles the display of week numbers in a calendar view."> & DefineProp<"hideDayHeader", boolean, false, false, "Determines whether the day header is visible in the calendar day view."> & DefineProp<"hideHeader", boolean, false, false, "Determines whether the header is hidden in the calendar view."> & DefineProp<"allowedDates", Date[] | ((date: Date) => boolean), false, null, "Determines which dates are selectable."> & DefineSlot<"event", (event: {
|
5
|
-
day:
|
6
|
-
|
6
|
+
day: CalendarDaySlotScope;
|
7
|
+
timed: boolean;
|
7
8
|
event: T;
|
8
9
|
}) => VNodeChild> & DefineSlot<"header", (header: {
|
9
10
|
title: string;
|
@@ -13,8 +14,8 @@ declare const _default: <T extends EventType>(props: import("@omnia/fx/ux").Extr
|
|
13
14
|
} & {
|
14
15
|
"v-slots"?: {
|
15
16
|
event?: (event: {
|
16
|
-
day:
|
17
|
-
|
17
|
+
day: CalendarDaySlotScope;
|
18
|
+
timed: boolean;
|
18
19
|
event: T;
|
19
20
|
}) => VNodeChild;
|
20
21
|
header?: (header: {
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { OMenuLocations } from "@omnia/fx-models";
|
4
|
-
|
4
|
+
interface MenuPosition {
|
5
|
+
left?: number;
|
6
|
+
}
|
7
|
+
type MenuProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"", boolean, false, false> & DefineProp<"activator", string, false, null, "Supply a CSS selector string to activator prop."> & DefineProp<"attach", string | boolean | Element, false, null, "Specifies which DOM element the overlay content should teleport to."> & DefineProp<"minWidth", string | number, false, null, "Sets the minimum width for the component. Use auto to use the activator width."> & DefineProp<"maxWidth", string | number, false, null, "Sets the maximum width for the component."> & DefineProp<"minHeight", string | number, false, null, "Sets the minimum height for the component."> & DefineProp<"maxHeight", string | number, false, null, "Sets the maximum height for the component."> & DefineProp<"closeDelay", string | number, false, null, "Milliseconds to wait before closing component. Only works with the open-on-hover prop."> & DefineProp<"location", OMenuLocations, false, "bottom start", "Designates where the menu should be placed."> & DefineProp<"openOnHover", boolean, false, null, "Designates whether menu should open on hover or not."> & DefineProp<"visibleOnContentClick", boolean, false, false, "Designates if menu still show when its content is clicked"> & DefineProp<"disabled", boolean, false, false, "Removed the ability to interact with the component."> & DefineProp<"scrollStrategy", "close" | "none" | "block" | "reposition", false, "close", "Strategy used when the component is activate and user scrolls."> & DefineProp<"eager", boolean, false, false> & DefineProp<"position", MenuPosition, false, null, "Designates the position of the menu. Should be used only for really specific advanced scenarios."> & DefineSlot<"activator", () => VNodeChild>;
|
5
8
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<MenuProps> & {
|
6
9
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
7
10
|
} & {
|
@@ -11,5 +14,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<MenuProps> &
|
|
11
14
|
default?: import("vue").Slot;
|
12
15
|
$stable?: boolean;
|
13
16
|
}, "activator">;
|
14
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "colorSchemaType" | "class" | "disabled" | "colors" | "v-model" | "modelValue" | "emit:update:modelValue" | "eager" | "location" | "closeDelay" | "scrollStrategy" | "openOnHover" | "activator" | "attach" | "slot:activator" | "visibleOnContentClick"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "position" | "colorSchemaType" | "class" | "disabled" | "colors" | "v-model" | "modelValue" | "emit:update:modelValue" | "eager" | "location" | "closeDelay" | "scrollStrategy" | "openOnHover" | "activator" | "attach" | "slot:activator" | "visibleOnContentClick"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
15
18
|
export default _default;
|
@@ -20,18 +20,25 @@ export declare const TextStyling: {
|
|
20
20
|
createNew: () => import("@omnia/fx-models").TextStyleConfiguration;
|
21
21
|
}>;
|
22
22
|
get: {
|
23
|
+
id: {
|
24
|
+
byClass: (classes: string) => import("@omnia/fx-models").guid;
|
25
|
+
};
|
23
26
|
configurations: {
|
24
27
|
readonly active: import("@omnia/fx-models").TextStyleConfiguration[];
|
25
28
|
readonly disabled: import("@omnia/fx-models").TextStyleConfiguration[];
|
26
29
|
readonly default: import("@omnia/fx-models").TextStyleConfiguration;
|
27
30
|
byId: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
|
31
|
+
byIdWithDefaultFallback: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
|
32
|
+
byFilter: (ids: Array<import("@omnia/fx-models").guid>) => import("@omnia/fx-models").TextStyleConfiguration[];
|
28
33
|
};
|
29
34
|
textStyling: {
|
35
|
+
className: (id: import("@omnia/fx-models").guid) => string;
|
30
36
|
byId: (id: import("@omnia/fx-models").guid) => any;
|
31
37
|
byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) => any;
|
32
38
|
default: () => any;
|
33
39
|
object: (id: import("@omnia/fx-models").guid) => any;
|
34
|
-
toSelector: (id: import("@omnia/fx-models").guid, selector: string) => import("typestyle/lib/types").
|
40
|
+
toSelector: (id: import("@omnia/fx-models").guid, selector: string) => import("typestyle/lib/types").NestedCSSSelectors;
|
41
|
+
allClasses: (selector?: string) => import("typestyle/lib/types").NestedCSSSelectors;
|
35
42
|
};
|
36
43
|
};
|
37
44
|
deactivated(): void;
|
@@ -45,5 +52,5 @@ export declare const TextStyling: {
|
|
45
52
|
}, name?: import("@omnia/fx-models").ContainerBreakpointTypes) => {};
|
46
53
|
device: (styles: import("typestyle/lib/types").NestedCSSProperties, breakpoint: import("@omnia/fx-models").DisplayBreakpointTypes) => {};
|
47
54
|
};
|
48
|
-
default: () => string;
|
55
|
+
default: (textColor: string) => string;
|
49
56
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { RichTextContentHelper, RichTextEditorPlaceHolder } from ".";
|
1
|
+
import { RichTextContentHelper, RichTextEditorPlaceHolder, useRichTextEditorStore } from ".";
|
2
2
|
import { RichTextEditorExtension, RichTextEditorExtensionRegistration, RichTextModes } from "../../models";
|
3
3
|
import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
|
4
4
|
import "./RichTextEditor.css";
|
@@ -34,6 +34,9 @@ declare const _default: {
|
|
34
34
|
bodyClass: {
|
35
35
|
type: import("vue").PropType<string>;
|
36
36
|
};
|
37
|
+
getApi: {
|
38
|
+
type: import("vue").PropType<(store: ReturnType<typeof useRichTextEditorStore>) => void>;
|
39
|
+
};
|
37
40
|
outlined: {
|
38
41
|
type: import("vue").PropType<boolean>;
|
39
42
|
};
|
@@ -116,6 +119,9 @@ declare const _default: {
|
|
116
119
|
bodyClass: {
|
117
120
|
type: import("vue").PropType<string>;
|
118
121
|
};
|
122
|
+
getApi: {
|
123
|
+
type: import("vue").PropType<(store: ReturnType<typeof useRichTextEditorStore>) => void>;
|
124
|
+
};
|
119
125
|
outlined: {
|
120
126
|
type: import("vue").PropType<boolean>;
|
121
127
|
};
|
@@ -195,6 +201,9 @@ declare const _default: {
|
|
195
201
|
bodyClass: {
|
196
202
|
type: import("vue").PropType<string>;
|
197
203
|
};
|
204
|
+
getApi: {
|
205
|
+
type: import("vue").PropType<(store: ReturnType<typeof useRichTextEditorStore>) => void>;
|
206
|
+
};
|
198
207
|
outlined: {
|
199
208
|
type: import("vue").PropType<boolean>;
|
200
209
|
};
|
@@ -267,6 +276,7 @@ declare const _default: {
|
|
267
276
|
menubarLanguagePicker?: import("typestyle/lib/types").NestedCSSProperties;
|
268
277
|
};
|
269
278
|
ariaInvalid?: boolean;
|
279
|
+
getApi?: (store: ReturnType<typeof useRichTextEditorStore>) => void;
|
270
280
|
disableAutofocus?: boolean;
|
271
281
|
bodyClass?: string;
|
272
282
|
onContentDataChange?: (richtextHelper: RichTextContentHelper) => void;
|
File without changes
|
@@ -0,0 +1,133 @@
|
|
1
|
+
import { guid, RichTextEditorExtensionRegistration, RichTextEditorExtension, PastedMenuToolBar, PastedContext, TipTapEditor, RichTextEditorSettingsModel, RichTextModes } from "@omnia/fx-models";
|
2
|
+
import { BubbleMenuConfiguration, RichTextEditorNodeRegistration, RichTextEditorPlaceHolder, ToolbarConfiguration } from "../IRichTextEditor";
|
3
|
+
import { RichTextContentExtensionData, RichTextContentHelper } from "../RichTextContentHelper";
|
4
|
+
import { ComponentPublicInstance } from "vue";
|
5
|
+
import { RichTextEditorInstance } from "../RichTextEditorInstance";
|
6
|
+
import { IRichTextEditorExtensionHelper } from "../IRichTextEditorExtensionHelper";
|
7
|
+
import { EditorView } from "@tiptap/pm/view";
|
8
|
+
import { Editor } from "@tiptap/vue-3";
|
9
|
+
export declare const useRichTextEditorStore: () => {
|
10
|
+
state: {
|
11
|
+
sharedValues: {
|
12
|
+
[key: string]: any;
|
13
|
+
};
|
14
|
+
id: guid;
|
15
|
+
status: {
|
16
|
+
isLoading: boolean;
|
17
|
+
showToolbar: boolean;
|
18
|
+
suggestedMenu: boolean;
|
19
|
+
selectionIsDebouncing: boolean;
|
20
|
+
updateToolbar: boolean;
|
21
|
+
};
|
22
|
+
settings: {
|
23
|
+
editor: RichTextEditorSettingsModel;
|
24
|
+
textStyleFilters: guid[];
|
25
|
+
textColor: {
|
26
|
+
defaultColor: string;
|
27
|
+
schemaName: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
28
|
+
};
|
29
|
+
paddingTop: number;
|
30
|
+
lastScrollTop: number;
|
31
|
+
parentScrollOffset: {
|
32
|
+
top: number;
|
33
|
+
};
|
34
|
+
stickyElmScrollableParent: any;
|
35
|
+
isRightToLeft: boolean;
|
36
|
+
hasLanguagePicker: boolean;
|
37
|
+
mode: RichTextModes;
|
38
|
+
placeholder: RichTextEditorPlaceHolder;
|
39
|
+
};
|
40
|
+
nodes: RichTextEditorNodeRegistration[];
|
41
|
+
toolbarItems: ToolbarConfiguration[];
|
42
|
+
extensionsData: {
|
43
|
+
[extensionName: string]: RichTextContentExtensionData;
|
44
|
+
};
|
45
|
+
bubbleMenuItems: BubbleMenuConfiguration[];
|
46
|
+
suggestedMenuItem: BubbleMenuConfiguration[];
|
47
|
+
pastedMenuItem: BubbleMenuConfiguration[];
|
48
|
+
pastedPosition: PastedMenuToolBar;
|
49
|
+
pastedContext: PastedContext;
|
50
|
+
extensionOnFocusFuncs: Array<(editor: TipTapEditor, setExtensionData: (data: RichTextContentExtensionData) => void) => void>;
|
51
|
+
extensionOnBlurFuncs: Array<(editor: TipTapEditor, setExtensionData: (data: RichTextContentExtensionData) => void) => void>;
|
52
|
+
currentEmitedContent: string;
|
53
|
+
};
|
54
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
55
|
+
sharedValues: {
|
56
|
+
[key: string]: any;
|
57
|
+
};
|
58
|
+
id: guid;
|
59
|
+
status: {
|
60
|
+
isLoading: boolean;
|
61
|
+
showToolbar: boolean;
|
62
|
+
suggestedMenu: boolean;
|
63
|
+
selectionIsDebouncing: boolean;
|
64
|
+
updateToolbar: boolean;
|
65
|
+
};
|
66
|
+
settings: {
|
67
|
+
editor: RichTextEditorSettingsModel;
|
68
|
+
textStyleFilters: guid[];
|
69
|
+
textColor: {
|
70
|
+
defaultColor: string;
|
71
|
+
schemaName: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
72
|
+
};
|
73
|
+
paddingTop: number;
|
74
|
+
lastScrollTop: number;
|
75
|
+
parentScrollOffset: {
|
76
|
+
top: number;
|
77
|
+
};
|
78
|
+
stickyElmScrollableParent: any;
|
79
|
+
isRightToLeft: boolean;
|
80
|
+
hasLanguagePicker: boolean;
|
81
|
+
mode: RichTextModes;
|
82
|
+
placeholder: RichTextEditorPlaceHolder;
|
83
|
+
};
|
84
|
+
nodes: RichTextEditorNodeRegistration[];
|
85
|
+
toolbarItems: ToolbarConfiguration[];
|
86
|
+
extensionsData: {
|
87
|
+
[extensionName: string]: RichTextContentExtensionData;
|
88
|
+
};
|
89
|
+
bubbleMenuItems: BubbleMenuConfiguration[];
|
90
|
+
suggestedMenuItem: BubbleMenuConfiguration[];
|
91
|
+
pastedMenuItem: BubbleMenuConfiguration[];
|
92
|
+
pastedPosition: PastedMenuToolBar;
|
93
|
+
pastedContext: PastedContext;
|
94
|
+
extensionOnFocusFuncs: Array<(editor: TipTapEditor, setExtensionData: (data: RichTextContentExtensionData) => void) => void>;
|
95
|
+
extensionOnBlurFuncs: Array<(editor: TipTapEditor, setExtensionData: (data: RichTextContentExtensionData) => void) => void>;
|
96
|
+
currentEmitedContent: string;
|
97
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
98
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
99
|
+
set: () => import("@omnia/fx/stores").StoreReturnDefineAction<{
|
100
|
+
sharedValue(value: {
|
101
|
+
[key: string]: any;
|
102
|
+
}): void;
|
103
|
+
textStyleFilters(value: Array<guid>): void;
|
104
|
+
}>;
|
105
|
+
hideBubbleMenu(): void;
|
106
|
+
editorUpdated(extensionName?: string, data?: RichTextContentExtensionData): void;
|
107
|
+
contentChangedFromToolbar(content: string, extensionName?: string, data?: RichTextContentExtensionData): void;
|
108
|
+
handleCursorPosition(formatedText: string, formatedHtml: string, view: EditorView, from: number, to: number): void;
|
109
|
+
setExtensionData(data: RichTextContentExtensionData): void;
|
110
|
+
selectionChange(): void;
|
111
|
+
focusEditor(): void;
|
112
|
+
init(vueInstanceRef: ComponentPublicInstance, editorInstanceRef: RichTextEditorInstance): Promise<void>;
|
113
|
+
}>;
|
114
|
+
hooks: {
|
115
|
+
scrollCallback: () => void;
|
116
|
+
onContentDataChange: (richtextHelper: RichTextContentHelper) => void;
|
117
|
+
onConfigureExtensions: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
|
118
|
+
onContentChange: (content: string) => void;
|
119
|
+
};
|
120
|
+
rules: {
|
121
|
+
/**
|
122
|
+
*
|
123
|
+
* @param editor the editor instance
|
124
|
+
* @returns true if the editor is have selection
|
125
|
+
*/
|
126
|
+
doesEditorHaveSelection(editor: Pick<Editor, "isFocused" | "state">): boolean;
|
127
|
+
};
|
128
|
+
get: {
|
129
|
+
sharedValue: (key: string) => any;
|
130
|
+
};
|
131
|
+
} & {
|
132
|
+
dispose?: () => void;
|
133
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./RichTextEditorStore";
|
package/internal-do-not-import-from-here/ux/richtexteditorrenderer/RichTextEditorRenderer.css.d.ts
CHANGED
@@ -15,18 +15,25 @@ export declare const TextStyling: {
|
|
15
15
|
createNew: () => import("@omnia/fx-models").TextStyleConfiguration;
|
16
16
|
}>;
|
17
17
|
get: {
|
18
|
+
id: {
|
19
|
+
byClass: (classes: string) => import("@omnia/fx-models").guid;
|
20
|
+
};
|
18
21
|
configurations: {
|
19
22
|
readonly active: import("@omnia/fx-models").TextStyleConfiguration[];
|
20
23
|
readonly disabled: import("@omnia/fx-models").TextStyleConfiguration[];
|
21
24
|
readonly default: import("@omnia/fx-models").TextStyleConfiguration;
|
22
25
|
byId: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
|
26
|
+
byIdWithDefaultFallback: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
|
27
|
+
byFilter: (ids: Array<import("@omnia/fx-models").guid>) => import("@omnia/fx-models").TextStyleConfiguration[];
|
23
28
|
};
|
24
29
|
textStyling: {
|
30
|
+
className: (id: import("@omnia/fx-models").guid) => string;
|
25
31
|
byId: (id: import("@omnia/fx-models").guid) => any;
|
26
32
|
byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) => any;
|
27
33
|
default: () => any;
|
28
34
|
object: (id: import("@omnia/fx-models").guid) => any;
|
29
|
-
toSelector: (id: import("@omnia/fx-models").guid, selector: string) => import("typestyle/lib/types").
|
35
|
+
toSelector: (id: import("@omnia/fx-models").guid, selector: string) => import("typestyle/lib/types").NestedCSSSelectors;
|
36
|
+
allClasses: (selector?: string) => import("typestyle/lib/types").NestedCSSSelectors;
|
30
37
|
};
|
31
38
|
};
|
32
39
|
deactivated(): void;
|
@@ -40,5 +47,5 @@ export declare const TextStyling: {
|
|
40
47
|
}, name?: import("@omnia/fx-models").ContainerBreakpointTypes) => {};
|
41
48
|
device: (styles: import("typestyle/lib/types").NestedCSSProperties, breakpoint: import("@omnia/fx-models").DisplayBreakpointTypes) => {};
|
42
49
|
};
|
43
|
-
default: () => string;
|
50
|
+
default: (textColor: string) => string;
|
44
51
|
};
|
@@ -8,5 +8,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TextTranslat
|
|
8
8
|
default?: import("vue").Slot;
|
9
9
|
$stable?: boolean;
|
10
10
|
}, never>;
|
11
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "
|
11
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "text" | "icon" | "buttonSettings" | "srcLanguage" | "forceTenantLanguages" | "emit:translateCompleted"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
12
12
|
export default _default;
|
@@ -71,7 +71,7 @@ export declare const vuetifyPlugin: {
|
|
71
71
|
getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
|
72
72
|
getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
|
73
73
|
getWeekdays: (firstDayOfWeek?: number | string, weekdayFormat?: "long" | "short" | "narrow") => string[];
|
74
|
-
getWeek: (date: unknown, firstDayOfWeek?: number | string,
|
74
|
+
getWeek: (date: unknown, firstDayOfWeek?: number | string, firstDayOfYear?: number | string) => number;
|
75
75
|
getMonth: (date: unknown) => number;
|
76
76
|
setMonth: (date: unknown, month: number) => unknown;
|
77
77
|
getDate: (date: unknown) => number;
|
@@ -449,7 +449,7 @@ import wc1f8e62af53af4535864eeff5b7e34248 from './ux/aurora/components/textcolor
|
|
449
449
|
import wc287d666180644ba5ab5def0471a75a89 from './ux/aurora/components/textstylepicker/TextStylePicker';
|
450
450
|
import wc24f60b68e89540ebb5775cf7ff2df8b7 from './ux/aurora/components/textstylepicker/TextStyleViewer';
|
451
451
|
import wc252ece0016594978b3ddfafdd59adda4 from './ux/aurora/components/themepicker/ThemePicker';
|
452
|
-
import
|
452
|
+
import wc745ebe98504141a5b29aa7dd6dea8b9a from './ux/aurora/components/themepicker/ThemeViewer';
|
453
453
|
import wcc6eec07d48af435ab0c75195d9c7dcfc from './ux/aurora/components/themepreview/ComponentPreview';
|
454
454
|
import wc99a73153b5c647da9d6de517f51e53f0 from './ux/aurora/components/typography/TextStyleEditor';
|
455
455
|
import wc2f742a14a560434abb899360a69c314b from './ux/aurora/components/typography/TypographyBlueprintsViewer';
|
@@ -572,7 +572,7 @@ import wcfebab40186954cadbb54852c509f31e6 from './ux/aurora/admin/themedesigner/
|
|
572
572
|
import wc8142fa90f0d34258bb080a15aa21ab74 from './ux/aurora/admin/themedesigner/fontsmanager/FontManager';
|
573
573
|
import wc891de93e73cc47b0a552d24fdf34c9cf from './ux/aurora/admin/themedesigner/spacing/SpacingJourney';
|
574
574
|
import wc682077b575c74b2086cbf438346e0ed3 from './ux/aurora/admin/themedesigner/templates/TemplatesJourney';
|
575
|
-
import wcbed95d1ec67f4a15986fc72adebdb78f from './ux/aurora/admin/themedesigner/themes/
|
575
|
+
import wcbed95d1ec67f4a15986fc72adebdb78f from './ux/aurora/admin/themedesigner/themes/ThemeSelectionJourney';
|
576
576
|
import wcfc2401c7c3384790ae7ce17d05b0855f from './ux/aurora/admin/themedesigner/typography/TypographyJourney';
|
577
577
|
import wc4834285963564938a31a1ac1dfb1b5d8 from './ux/layoutcanvas/editor/_old/blockplaceholder/BlockPlaceholder';
|
578
578
|
import wc4512676606d342adbd011def4b615151 from './ux/layoutcanvas/editor/_old/canvastoolbar/CanvasToolbar';
|
@@ -3129,13 +3129,13 @@ declare global {
|
|
3129
3129
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3130
3130
|
};
|
3131
3131
|
} : typeof wc252ece0016594978b3ddfafdd59adda4;
|
3132
|
-
"viewer": typeof
|
3132
|
+
"viewer": typeof wc745ebe98504141a5b29aa7dd6dea8b9a extends {
|
3133
3133
|
propsDefinition: infer TProp;
|
3134
3134
|
} ? {
|
3135
3135
|
new (...args: any[]): {
|
3136
3136
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
3137
3137
|
};
|
3138
|
-
} : typeof
|
3138
|
+
} : typeof wc745ebe98504141a5b29aa7dd6dea8b9a;
|
3139
3139
|
};
|
3140
3140
|
"component": {
|
3141
3141
|
"preview": typeof wcc6eec07d48af435ab0c75195d9c7dcfc extends {
|
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.544-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,13 +20,13 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.544-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
27
27
|
"splitpanes": "3.2.0",
|
28
28
|
"vue": "3.5.21",
|
29
|
-
"vuetify": "3.
|
29
|
+
"vuetify": "3.10.0",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.8.2",
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
@@ -1,18 +0,0 @@
|
|
1
|
-
export type RichTextEditorStore = ReturnType<typeof useRichTextEditorStore>;
|
2
|
-
export declare const useRichTextEditorStore: () => {
|
3
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
4
|
-
_sharedValue: {
|
5
|
-
[key: string]: any;
|
6
|
-
};
|
7
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
8
|
-
get: {
|
9
|
-
getSharedValue(key: string): any;
|
10
|
-
};
|
11
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
12
|
-
setSharedValue(value: {
|
13
|
-
[key: string]: any;
|
14
|
-
}): void;
|
15
|
-
}>;
|
16
|
-
} & {
|
17
|
-
dispose?: () => void;
|
18
|
-
};
|