@omnia/fx 8.0.539-dev → 8.0.540-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/manifests/omnia.fx.ux.editor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/store/TextStylePickerStore.d.ts +7 -1
- package/internal-do-not-import-from-here/ux/aurora/store/TextStyleConfigurationStore.d.ts +6 -20
- package/internal-do-not-import-from-here/ux/editorchrome/define/DefineChromeAction.d.ts +36 -0
- package/internal-do-not-import-from-here/ux/editorchrome/define/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/editorchrome/renderers/ChromeActionItemRenderer.d.ts +14 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.css.d.ts +5 -20
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/RichTextEditorRenderer.css.d.ts +5 -20
- package/internal-do-not-import-from-here/wctypings.d.ts +8 -0
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['e0d8cdbf-5683-4f1b-883b-da203e8193a4']","content":{"./node_modules/@omnia/fx/ux/editor/index.js":{"id":"9a97c476-5a09-4522-b16d-db752dc06c7e","buildMeta":{"exportsType":"namespace"},"expo.js":["defineEditorChromeConfiguration","defineEditorChromeView","defineJourneyMenuSettings","defineLayoutEditorCanvas","useBlockJourneyMenuSettings","useEditorChromeConfigurationHelper","useJourneyMenuSettingsStore"]}}}
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['e0d8cdbf-5683-4f1b-883b-da203e8193a4']","content":{"./node_modules/@omnia/fx/ux/editor/index.js":{"id":"9a97c476-5a09-4522-b16d-db752dc06c7e","buildMeta":{"exportsType":"namespace"},"expo.js":["defineChromeAction","defineEditorChromeConfiguration","defineEditorChromeView","defineJourneyMenuSettings","defineLayoutEditorCanvas","useBlockJourneyMenuSettings","useEditorChromeConfigurationHelper","useJourneyMenuSettingsStore"]}}}
|
package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts
CHANGED
@@ -26,6 +26,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
26
26
|
showSlots?: boolean;
|
27
27
|
} & {
|
28
28
|
clearable?: boolean;
|
29
|
+
} & {
|
30
|
+
ignoreStylingInSelection?: boolean;
|
29
31
|
} & {
|
30
32
|
toned?: boolean;
|
31
33
|
} & {
|
@@ -45,5 +47,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
45
47
|
default?: import("vue").Slot;
|
46
48
|
$stable?: boolean;
|
47
49
|
}, "activator">;
|
48
|
-
} & {} & 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" | "sampleText"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
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;
|
49
51
|
export default _default;
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { ThemedTextStyleValue, TextStyleValue, TypographyBlueprint, TextStyleBreakpointType, TextStyleConfiguration } from "@omnia/fx-models";
|
2
|
+
import { usePickerStore } from "internal/fx/ux/oxide/picker/stores/PickerStore";
|
3
|
+
import { PickerVariant } from "internal/fx/ux/oxide/picker/models/SharedSettings";
|
2
4
|
export type ViewTypes = "type-scale" | "system-styles" | "custom-styles" | "system-styles custom-styles" | "default";
|
3
5
|
/**Default will us the tenant styles */
|
4
6
|
export declare const useTextStylePickerStore: () => {
|
@@ -9,8 +11,12 @@ export declare const useTextStylePickerStore: () => {
|
|
9
11
|
typographyBlueprint: TypographyBlueprint;
|
10
12
|
breakPoint: TextStyleBreakpointType;
|
11
13
|
configurations: TextStyleConfiguration[];
|
14
|
+
settings: {
|
15
|
+
variant: PickerVariant;
|
16
|
+
};
|
12
17
|
};
|
13
18
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
19
|
+
setPickerStore(store: ReturnType<typeof usePickerStore>): void;
|
14
20
|
clear: () => void;
|
15
21
|
setScaleValue(value: number): void;
|
16
22
|
select: (value: TextStyleValue | TextStyleConfiguration) => void;
|
@@ -20,7 +26,7 @@ export declare const useTextStylePickerStore: () => {
|
|
20
26
|
readonly iconSize: number;
|
21
27
|
readonly textStyle: TextStyleValue;
|
22
28
|
fontSize: (textStyle: TextStyleValue | number) => any;
|
23
|
-
displayText: (textStyle:
|
29
|
+
displayText: (textStyle: TextStyleValue | TextStyleConfiguration | number) => any;
|
24
30
|
displayIcon: (textStyle: ThemedTextStyleValue) => import("@omnia/fx-models").FontAwesomeIcon;
|
25
31
|
};
|
26
32
|
rules: {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { guid, HeadingConfiguration, TextStyleConfiguration } from "@omnia/fx-models";
|
2
|
+
import { NestedCSSProperties } from "typestyle/lib/types";
|
2
3
|
export interface TextStyleSettings {
|
3
4
|
headings: Array<HeadingConfiguration>; /**Old depricated stuff... */
|
4
5
|
textStyles: Array<TextStyleConfiguration>;
|
@@ -26,26 +27,11 @@ export declare const useTextStyleConfigurationStore: () => {
|
|
26
27
|
byId: (id: guid) => TextStyleConfiguration;
|
27
28
|
};
|
28
29
|
textStyling: {
|
29
|
-
byId: (id: guid) =>
|
30
|
-
byConfiguration: (configuration: TextStyleConfiguration) =>
|
31
|
-
default: () =>
|
32
|
-
object: (id: guid) =>
|
33
|
-
|
34
|
-
fontFamily: string;
|
35
|
-
fontSize: string;
|
36
|
-
fontWeight: number;
|
37
|
-
lineHeight: string;
|
38
|
-
fontStyle: string;
|
39
|
-
textTransform: any;
|
40
|
-
letterSpacing: string;
|
41
|
-
textDecoration: string;
|
42
|
-
$nest: {};
|
43
|
-
};
|
44
|
-
mediumStyles: any;
|
45
|
-
smallStyles: any;
|
46
|
-
queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
|
47
|
-
queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
|
48
|
-
};
|
30
|
+
byId: (id: guid) => any;
|
31
|
+
byConfiguration: (configuration: TextStyleConfiguration) => any;
|
32
|
+
default: () => any;
|
33
|
+
object: (id: guid) => any;
|
34
|
+
toSelector: (id: guid, selector: string) => NestedCSSProperties;
|
49
35
|
};
|
50
36
|
};
|
51
37
|
deactivated(): void;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { SetupFactoryContext } from "@omnia/fx";
|
2
|
+
import { guid, IIcon, InstanceLifetimes } from "@omnia/fx-models";
|
3
|
+
import { type ConfirmDialogOptions } from "../../confirmdialog";
|
4
|
+
import { VNodeChild } from "vue";
|
5
|
+
export interface SetupChromeActionontext extends SetupFactoryContext {
|
6
|
+
defineAction(action: ChromeActionOptions): ChromeActionInstance;
|
7
|
+
}
|
8
|
+
export type ChromeActionOptions = {
|
9
|
+
id?: guid;
|
10
|
+
active?: boolean;
|
11
|
+
disableToggle?: boolean;
|
12
|
+
disabled?: boolean;
|
13
|
+
hidden?: boolean;
|
14
|
+
compactMode?: {
|
15
|
+
showText?: boolean;
|
16
|
+
hide?: boolean;
|
17
|
+
};
|
18
|
+
confirmation?: ConfirmDialogOptions;
|
19
|
+
requiredRoles?: guid[];
|
20
|
+
excludedRoles?: guid[];
|
21
|
+
title?: string | (() => string);
|
22
|
+
toolTip?: string | (() => string);
|
23
|
+
description?: string;
|
24
|
+
loading?: boolean | (() => boolean);
|
25
|
+
icon?: IIcon;
|
26
|
+
clickHandler?: (e: MouseEvent, store: any) => void | Promise<void>;
|
27
|
+
activator?: (activatorRenderer: VNodeChild) => VNodeChild;
|
28
|
+
};
|
29
|
+
export type ChromeActionInstance = ChromeActionOptions & {
|
30
|
+
id: guid;
|
31
|
+
};
|
32
|
+
export declare function defineChromeAction(setup: (ctx: SetupChromeActionontext) => ChromeActionInstance, lifetime?: InstanceLifetimes): () => ChromeActionOptions & {
|
33
|
+
id: guid;
|
34
|
+
} & {
|
35
|
+
dispose?: () => void;
|
36
|
+
};
|
package/internal-do-not-import-from-here/ux/editorchrome/renderers/ChromeActionItemRenderer.d.ts
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
import { ChromeActionItem } from "@omnia/fx-models";
|
2
|
+
import { DefineSlot } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
4
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
5
|
+
action: ChromeActionItem;
|
6
|
+
} & DefineSlot<"renderer", (action: ChromeActionItem) => VNodeChild>> & {} & {
|
7
|
+
"v-slots"?: {
|
8
|
+
renderer?: (action: ChromeActionItem) => VNodeChild;
|
9
|
+
} & Omit<{
|
10
|
+
default?: import("vue").Slot;
|
11
|
+
$stable?: boolean;
|
12
|
+
}, "renderer">;
|
13
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "slot:renderer" | "action"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
14
|
+
export default _default;
|
@@ -27,26 +27,11 @@ export declare const TextStyling: {
|
|
27
27
|
byId: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
|
28
28
|
};
|
29
29
|
textStyling: {
|
30
|
-
byId: (id: import("@omnia/fx-models").guid) =>
|
31
|
-
byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) =>
|
32
|
-
default: () =>
|
33
|
-
object: (id: import("@omnia/fx-models").guid) =>
|
34
|
-
|
35
|
-
fontFamily: string;
|
36
|
-
fontSize: string;
|
37
|
-
fontWeight: number;
|
38
|
-
lineHeight: string;
|
39
|
-
fontStyle: string;
|
40
|
-
textTransform: any;
|
41
|
-
letterSpacing: string;
|
42
|
-
textDecoration: string;
|
43
|
-
$nest: {};
|
44
|
-
};
|
45
|
-
mediumStyles: any;
|
46
|
-
smallStyles: any;
|
47
|
-
queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
|
48
|
-
queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
|
49
|
-
};
|
30
|
+
byId: (id: import("@omnia/fx-models").guid) => any;
|
31
|
+
byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) => any;
|
32
|
+
default: () => any;
|
33
|
+
object: (id: import("@omnia/fx-models").guid) => any;
|
34
|
+
toSelector: (id: import("@omnia/fx-models").guid, selector: string) => import("typestyle/lib/types").NestedCSSProperties;
|
50
35
|
};
|
51
36
|
};
|
52
37
|
deactivated(): void;
|
package/internal-do-not-import-from-here/ux/richtexteditorrenderer/RichTextEditorRenderer.css.d.ts
CHANGED
@@ -22,26 +22,11 @@ export declare const TextStyling: {
|
|
22
22
|
byId: (id: import("@omnia/fx-models").guid) => import("@omnia/fx-models").TextStyleConfiguration;
|
23
23
|
};
|
24
24
|
textStyling: {
|
25
|
-
byId: (id: import("@omnia/fx-models").guid) =>
|
26
|
-
byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) =>
|
27
|
-
default: () =>
|
28
|
-
object: (id: import("@omnia/fx-models").guid) =>
|
29
|
-
|
30
|
-
fontFamily: string;
|
31
|
-
fontSize: string;
|
32
|
-
fontWeight: number;
|
33
|
-
lineHeight: string;
|
34
|
-
fontStyle: string;
|
35
|
-
textTransform: any;
|
36
|
-
letterSpacing: string;
|
37
|
-
textDecoration: string;
|
38
|
-
$nest: {};
|
39
|
-
};
|
40
|
-
mediumStyles: any;
|
41
|
-
smallStyles: any;
|
42
|
-
queryOnSmallScreen: import("typestyle/lib/types").MediaQuery;
|
43
|
-
queryOnMediumScreen: import("typestyle/lib/types").MediaQuery;
|
44
|
-
};
|
25
|
+
byId: (id: import("@omnia/fx-models").guid) => any;
|
26
|
+
byConfiguration: (configuration: import("@omnia/fx-models").TextStyleConfiguration) => any;
|
27
|
+
default: () => any;
|
28
|
+
object: (id: import("@omnia/fx-models").guid) => any;
|
29
|
+
toSelector: (id: import("@omnia/fx-models").guid, selector: string) => import("typestyle/lib/types").NestedCSSProperties;
|
45
30
|
};
|
46
31
|
};
|
47
32
|
deactivated(): void;
|
@@ -23,6 +23,7 @@ import wc60feadd89e4d4c2eb095cee9f104ee96 from './ux/dynamicplaceholder/DynamicP
|
|
23
23
|
import wcac8a9be60cfb47f288f602ececa6687f from './ux/dynamicplaceholder/DynamicPlaceholderSettings';
|
24
24
|
import wc710dc11b823c4a80b2a031395c206325 from './ux/editorchrome/EditorChrome_old';
|
25
25
|
import wc0e9f4c84ccb64abc958671f40207f4dc from './ux/editorchrome/EditorChrome';
|
26
|
+
import wca9dc29070baf4880b2d66554dcc84ba2 from './ux/editorchrome/renderers/ChromeActionItemRenderer';
|
26
27
|
import wc41a6d1b1b02e4b368aac19ded6b391a1 from './ux/enterpriseglossary/EnterpriseGlossaryPicker';
|
27
28
|
import wc0619d10d541645aaabbdc17d5b867501 from './ux/enterprisepropertysets/Picker';
|
28
29
|
import wc82e8cb4daeee4ea6a50c727b93bbbac3 from './ux/errormessage/ErrorMessage';
|
@@ -1063,6 +1064,13 @@ declare global {
|
|
1063
1064
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1064
1065
|
};
|
1065
1066
|
} : typeof wc0e9f4c84ccb64abc958671f40207f4dc;
|
1067
|
+
"action": typeof wca9dc29070baf4880b2d66554dcc84ba2 extends {
|
1068
|
+
propsDefinition: infer TProp;
|
1069
|
+
} ? {
|
1070
|
+
new (...args: any[]): {
|
1071
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
1072
|
+
};
|
1073
|
+
} : typeof wca9dc29070baf4880b2d66554dcc84ba2;
|
1066
1074
|
};
|
1067
1075
|
"canvas": {
|
1068
1076
|
"block": {
|
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.540-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.540-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|