@omnia/fx 8.0.443-dev → 8.0.445-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/store/ThemeEditorStore.d.ts +19 -0
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/store/ButtonStyleEditorStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabBlueprintViewer.d.ts +18 -0
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStylePickerStore.d.ts +32 -0
- package/internal-do-not-import-from-here/ux/iconpicker/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/iconpicker/v2/IconPicker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +26 -26
- package/internal-do-not-import-from-here/ux/vuetify/VuetifyCore.d.ts +1 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +2 -2
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabBlueprintsViewer.d.ts +0 -26
@@ -6,6 +6,10 @@ export declare const useThemeEditorStore: () => {
|
|
6
6
|
enableDelete: boolean;
|
7
7
|
showComponentsEditor: boolean;
|
8
8
|
displayKey: guid;
|
9
|
+
layoutType: {
|
10
|
+
selected: string;
|
11
|
+
width: number;
|
12
|
+
};
|
9
13
|
fills: {
|
10
14
|
show: boolean;
|
11
15
|
fillType: "text" | "container";
|
@@ -17,6 +21,10 @@ export declare const useThemeEditorStore: () => {
|
|
17
21
|
enableDelete: boolean;
|
18
22
|
showComponentsEditor: boolean;
|
19
23
|
displayKey: guid;
|
24
|
+
layoutType: {
|
25
|
+
selected: string;
|
26
|
+
width: number;
|
27
|
+
};
|
20
28
|
fills: {
|
21
29
|
show: boolean;
|
22
30
|
fillType: "text" | "container";
|
@@ -26,8 +34,13 @@ export declare const useThemeEditorStore: () => {
|
|
26
34
|
colors: {
|
27
35
|
isBuiltIn: (colorSchema: ColorSchema) => boolean;
|
28
36
|
};
|
37
|
+
showLayoutTypeSettings: () => boolean;
|
29
38
|
};
|
30
39
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
40
|
+
layoutType(): {
|
41
|
+
set: (type: string) => void;
|
42
|
+
width: (width: number) => void;
|
43
|
+
};
|
31
44
|
setPreviewTheme(): void;
|
32
45
|
showFills(type: "container" | "text"): void;
|
33
46
|
showComponentEditor(): void;
|
@@ -60,6 +73,12 @@ export declare const useThemeEditorStore: () => {
|
|
60
73
|
viewBlade: guid;
|
61
74
|
editColorSchemasBlade: guid;
|
62
75
|
};
|
76
|
+
dataTypes: {
|
77
|
+
itemTypes: {
|
78
|
+
id: string;
|
79
|
+
title: string;
|
80
|
+
}[];
|
81
|
+
};
|
63
82
|
} & {
|
64
83
|
dispose?: () => void;
|
65
84
|
};
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { ButtonBlueprint, ButtonBlueprintVariant } from "@omnia/fx-models";
|
1
|
+
import { ButtonBlueprint, ButtonBlueprintVariant, TextBlueprint } from "@omnia/fx-models";
|
2
2
|
export declare const useButtonStyleEditorStore: () => {
|
3
3
|
state: {
|
4
4
|
internalModel: ButtonBlueprint;
|
5
|
+
textBlueprint: TextBlueprint;
|
5
6
|
upperCase: boolean;
|
6
7
|
defaultColorSchemaType: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
7
8
|
templateOption: string;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { TabsBlueprint } from "@omnia/fx-models";
|
2
|
+
import { DefineEmit } from "@omnia/fx/ux";
|
3
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
+
blueprint?: TabsBlueprint;
|
5
|
+
} & {
|
6
|
+
toned?: boolean;
|
7
|
+
} & {
|
8
|
+
label?: string;
|
9
|
+
} & {
|
10
|
+
selectable?: boolean;
|
11
|
+
} & DefineEmit<"click:select", () => true>> & {
|
12
|
+
"onClick:select"?: () => any;
|
13
|
+
} & {
|
14
|
+
"v-slots"?: {} & Omit<{
|
15
|
+
default?: import("vue").Slot;
|
16
|
+
}, never>;
|
17
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "blueprint" | "toned" | "emit:click:select" | "selectable"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStylePickerStore.d.ts
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
import { BlueprintsStrategyBase, BlueprintVariant, TabsBlueprint, TabsBlueprints } from "@omnia/fx-models";
|
2
|
+
export interface ButtonType {
|
3
|
+
id: string;
|
4
|
+
title: string;
|
5
|
+
}
|
6
|
+
export declare const useTabStylePickerStore: () => {
|
7
|
+
state: {
|
8
|
+
showSelectionMenu: boolean;
|
9
|
+
internalModel: BlueprintVariant | TabsBlueprint;
|
10
|
+
blueprints: TabsBlueprints;
|
11
|
+
baseStrategy: BlueprintsStrategyBase;
|
12
|
+
};
|
13
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
14
|
+
selectItem(value: TabsBlueprint | BlueprintVariant): void;
|
15
|
+
initState: (model: TabsBlueprint | BlueprintVariant, blueprints: TabsBlueprints, baseStrategy: BlueprintsStrategyBase) => void;
|
16
|
+
}>;
|
17
|
+
get: {
|
18
|
+
blueprint: {
|
19
|
+
fallbackBlueprint: (variant: BlueprintVariant) => any;
|
20
|
+
byVariant: (type: BlueprintVariant) => any;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
rules: {
|
24
|
+
isDefaultBlueprint: (variant: BlueprintVariant) => boolean;
|
25
|
+
isPlaceHolder: (variant: BlueprintVariant) => boolean;
|
26
|
+
};
|
27
|
+
dataTypes: {
|
28
|
+
itemTypes: BlueprintVariant[];
|
29
|
+
};
|
30
|
+
} & {
|
31
|
+
dispose?: () => void;
|
32
|
+
};
|
@@ -7,6 +7,8 @@ declare const _default: <TType extends IIcon | MediaPickerImage | LegacyIconPick
|
|
7
7
|
modelValue?: TType;
|
8
8
|
} & {
|
9
9
|
mediaPickerStorageProviderContext?: MediaPickerStorageProviderContext;
|
10
|
+
} & {
|
11
|
+
density?: "compact" | "comfortable";
|
10
12
|
} & {
|
11
13
|
required?: boolean;
|
12
14
|
} & {
|
@@ -21,5 +23,5 @@ declare const _default: <TType extends IIcon | MediaPickerImage | LegacyIconPick
|
|
21
23
|
"v-slots"?: {} & Omit<{
|
22
24
|
default?: import("vue").Slot;
|
23
25
|
}, never>;
|
24
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "required" | "modelValue" | "emit:update:modelValue" | "v-model" | "mediaPickerStorageProviderContext" | "library"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
26
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "variant" | "required" | "modelValue" | "density" | "emit:update:modelValue" | "v-model" | "mediaPickerStorageProviderContext" | "library"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
25
27
|
export default _default;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { DefinePropTheming, DefineProp } from "@omnia/fx/ux";
|
2
2
|
import { ColorType, ColorTypes, OTextAlignmentTypes, TextBlueprint, TextStyleSize, TextStyleSizes, TextStyleType, TextStyleTypes } from "@omnia/fx/models";
|
3
3
|
type textWrapping = "none";
|
4
|
-
type
|
4
|
+
type textTransform = "none" | "capitalize" | "uppercase" | "lowercase";
|
5
|
+
type TextProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"typography", TextStyleType | TextStyleTypes, false, null, "Applies a specific typography to be used. Default is text."> & DefineProp<"size", TextStyleSize | TextStyleSizes, false, null, "Applies a specific typography size to be used. Default is medium text."> & DefineProp<"colorType", ColorTypes | ColorType, false, null, "Applies a specific color type to be used. Default is onBase."> & DefineProp<"color", string, false, null, "Applies a specific color"> & DefineProp<"toned", boolean, false, false, "Applies a tonal color to the text."> & DefineProp<"ignoreLineHeight", boolean, false, false, "Ignores line height. Aligns the text correct in buttons etc."> & DefineProp<"bold", boolean, false, false, "Applies a bold style to the text. Can only be used with the typography text"> & DefineProp<"wordBreak", textWrapping, false, null, "Specifies how the text should wrap."> & DefineProp<"textTransform", textTransform, false, null, "Specifies how the text should be transformed."> & DefineProp<"as", "text" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6", false, null, "Specifies how to render the text tag result will render"> & DefineProp<"whiteSpace", "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line", false, null, "Specifies how white space inside text is handled"> & DefineProp<"align", OTextAlignmentTypes, false, null, "Specifiecs text alignment."> & DefineProp<"truncateLines", number, false, null, "Specifies if text should be truncated and number of lines before truncating."> & DefineProp<"blueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text.">;
|
5
6
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TextProps> & {} & {
|
6
7
|
"v-slots"?: {} & Omit<{
|
7
8
|
default?: import("vue").Slot;
|
8
9
|
}, never>;
|
9
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "bold" | "color" | "typography" | "blueprint" | "whiteSpace" | "wordBreak" | "size" | "class" | "colorSchemaType" | "align" | "colors" | "toned" | "colorType" | "ignoreLineHeight" | "as" | "truncateLines"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
10
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "bold" | "color" | "typography" | "blueprint" | "textTransform" | "whiteSpace" | "wordBreak" | "size" | "class" | "colorSchemaType" | "align" | "colors" | "toned" | "colorType" | "ignoreLineHeight" | "as" | "truncateLines"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
10
11
|
export default _default;
|
@@ -200,10 +200,10 @@ export interface VelcronFlexDefinition extends VelcronDefinition, VelcronColorSt
|
|
200
200
|
}
|
201
201
|
export interface VelcronGridDefinition extends VelcronDefinition {
|
202
202
|
type: "grid";
|
203
|
-
minColumnWidth?: number | string;
|
204
|
-
columns?: number | Array<string>;
|
205
|
-
gapX?: number | string;
|
206
|
-
gapY?: number | string;
|
203
|
+
minColumnWidth?: VelcronBindableProp<number> | string;
|
204
|
+
columns?: VelcronBindableProp<number> | Array<string>;
|
205
|
+
gapX?: VelcronBindableProp<number> | string;
|
206
|
+
gapY?: VelcronBindableProp<number> | string;
|
207
207
|
}
|
208
208
|
export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow {
|
209
209
|
type: "row";
|
@@ -213,16 +213,16 @@ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColo
|
|
213
213
|
zIndex?: VelcronBindableProp<number>;
|
214
214
|
blueprint?: ContainerFillBlueprint | BlueprintVariant;
|
215
215
|
background?: BackgroundDefinition;
|
216
|
-
wrap?: boolean
|
217
|
-
gapX?: number | string;
|
218
|
-
gapY?: number | string;
|
219
|
-
alignX?: VelcronHorizontalAlignments
|
220
|
-
alignY?: VelcronVerticalAlignments
|
221
|
-
grow?: number | "default";
|
222
|
-
width?: number | string;
|
223
|
-
minWidth?: number | string;
|
224
|
-
height?: number | string;
|
225
|
-
minHeight?: number | string;
|
216
|
+
wrap?: VelcronBindableProp<boolean>;
|
217
|
+
gapX?: VelcronBindableProp<number> | string;
|
218
|
+
gapY?: VelcronBindableProp<number> | string;
|
219
|
+
alignX?: VelcronBindableProp<VelcronHorizontalAlignments>;
|
220
|
+
alignY?: VelcronBindableProp<VelcronVerticalAlignments>;
|
221
|
+
grow?: VelcronBindableProp<number> | "default";
|
222
|
+
width?: VelcronBindableProp<number> | string;
|
223
|
+
minWidth?: VelcronBindableProp<number> | string;
|
224
|
+
height?: VelcronBindableProp<number> | string;
|
225
|
+
minHeight?: VelcronBindableProp<number> | string;
|
226
226
|
}
|
227
227
|
export interface VelcronPosition extends VelcronDimensions {
|
228
228
|
type: "absolute" | "fixed" | "relative" | "sticky";
|
@@ -230,14 +230,14 @@ export interface VelcronPosition extends VelcronDimensions {
|
|
230
230
|
export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow {
|
231
231
|
type: "column";
|
232
232
|
events?: VelcronOnPressEvent & VelcronOnPressOutsideEvent & VelcronOnPointerEnterEvent & VelcronOnPointerLeaveEvent;
|
233
|
-
grow?: number
|
234
|
-
blueprint?: ContainerFillBlueprint | BlueprintVariant
|
235
|
-
alignY?: VelcronVerticalAlignments
|
236
|
-
position?: VelcronPosition
|
237
|
-
absolute?: VelcronSpacing
|
238
|
-
zIndex?: number
|
239
|
-
width?: number | string;
|
240
|
-
minWidth?: number | string;
|
233
|
+
grow?: VelcronBindableProp<number>;
|
234
|
+
blueprint?: VelcronBindableProp<ContainerFillBlueprint> | VelcronBindableProp<BlueprintVariant>;
|
235
|
+
alignY?: VelcronBindableProp<VelcronVerticalAlignments>;
|
236
|
+
position?: VelcronBindableProp<VelcronPosition>;
|
237
|
+
absolute?: VelcronBindableProp<VelcronSpacing>;
|
238
|
+
zIndex?: VelcronBindableProp<number>;
|
239
|
+
width?: VelcronBindableProp<number> | string;
|
240
|
+
minWidth?: VelcronBindableProp<number> | string;
|
241
241
|
}
|
242
242
|
export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorStyling {
|
243
243
|
type: "card";
|
@@ -290,11 +290,11 @@ export interface VelcronVideoDefinition extends VelcronDefinition {
|
|
290
290
|
}
|
291
291
|
export interface VelcronButtonDefinition extends VelcronDefinition, VelcronColorStyling {
|
292
292
|
type: "button";
|
293
|
-
text: string
|
294
|
-
icon?: VelcronIcon
|
295
|
-
disabled?: boolean
|
293
|
+
text: VelcronBindableProp<string>;
|
294
|
+
icon?: VelcronBindableProp<VelcronIcon>;
|
295
|
+
disabled?: VelcronBindableProp<boolean>;
|
296
296
|
events?: VelcronOnPressEvent;
|
297
|
-
size?: string
|
297
|
+
size?: VelcronBindableProp<string>;
|
298
298
|
blueprint?: VelcronBindableProp<ButtonBlueprint>;
|
299
299
|
}
|
300
300
|
export interface VelcronTextInputDefinition extends VelcronDefinition {
|
@@ -70,6 +70,7 @@ export declare const vuetifyPlugin: {
|
|
70
70
|
getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
|
71
71
|
getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
|
72
72
|
getWeekdays: (firstDayOfWeek?: number | string) => string[];
|
73
|
+
getWeek: (date: unknown, firstDayOfWeek?: number | string, firstWeekMinSize?: number) => number;
|
73
74
|
getMonth: (date: unknown) => number;
|
74
75
|
setMonth: (date: unknown, month: number) => unknown;
|
75
76
|
getDate: (date: unknown) => number;
|
@@ -430,7 +430,7 @@ import wc2157fcfafda94827a7f41a35bd78e1e1 from './ux/aurora/components/spacingpi
|
|
430
430
|
import wcb4ddcf67388c4aa494cad4fa07ff8937 from './ux/aurora/components/stylepicker/StylePicker';
|
431
431
|
import wce35c6b2d296345329c39928b82b1ec77 from './ux/aurora/components/tabs/TabStylePicker';
|
432
432
|
import wcb2429c572d6c41809c621c408bbba855 from './ux/aurora/components/tabs/TabStyleEditor';
|
433
|
-
import wcfd6b575dc7c44149ac3129492fc83aa6 from './ux/aurora/components/tabs/
|
433
|
+
import wcfd6b575dc7c44149ac3129492fc83aa6 from './ux/aurora/components/tabs/TabBlueprintViewer';
|
434
434
|
import wc5ac01b439b7b494baf066921c2ae7f9a from './ux/aurora/components/textcolorpicker/TextColorPicker';
|
435
435
|
import wc1f8e62af53af4535864eeff5b7e34248 from './ux/aurora/components/textcolorpicker/TextColorBlueprintsPicker';
|
436
436
|
import wc287d666180644ba5ab5def0471a75a89 from './ux/aurora/components/textstylepicker/TextStylePicker';
|
@@ -3007,7 +3007,7 @@ declare global {
|
|
3007
3007
|
};
|
3008
3008
|
} : typeof wcb2429c572d6c41809c621c408bbba855;
|
3009
3009
|
};
|
3010
|
-
"
|
3010
|
+
"blueprint": {
|
3011
3011
|
"viewer": typeof wcfd6b575dc7c44149ac3129492fc83aa6 extends {
|
3012
3012
|
propsDefinition: infer TProp;
|
3013
3013
|
} ? {
|
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.445-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.445-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.1.5",
|
28
28
|
"vue": "3.5.13",
|
29
|
-
"vuetify": "3.8.
|
29
|
+
"vuetify": "3.8.4",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.8.2",
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { BlueprintVariant, TabsBlueprints } from "@omnia/fx-models";
|
2
|
-
import { DefineEmit } from "@omnia/fx/ux";
|
3
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
-
"emit:update:modelValue": (value: TabsBlueprints) => void;
|
5
|
-
} & {
|
6
|
-
"v-model"?: TabsBlueprints;
|
7
|
-
} & {
|
8
|
-
modelValue?: TabsBlueprints;
|
9
|
-
} & {
|
10
|
-
toned?: boolean;
|
11
|
-
} & {
|
12
|
-
selectable?: boolean;
|
13
|
-
} & {
|
14
|
-
editable?: boolean;
|
15
|
-
} & {
|
16
|
-
blueprintStrategy?: string;
|
17
|
-
} & DefineEmit<"click:select", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true>> & {
|
18
|
-
"onUpdate:modelValue"?: (value: TabsBlueprints) => any;
|
19
|
-
"onClick:add"?: () => any;
|
20
|
-
"onClick:select"?: (variant: BlueprintVariant) => any;
|
21
|
-
} & {
|
22
|
-
"v-slots"?: {} & Omit<{
|
23
|
-
default?: import("vue").Slot;
|
24
|
-
}, never>;
|
25
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "emit:update:modelValue" | "v-model" | "toned" | "emit:click:add" | "emit:click:select" | "selectable" | "blueprintStrategy"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
26
|
-
export default _default;
|