@omnia/fx 8.0.452-dev → 8.0.454-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/core/http/HttpClient.d.ts +2 -0
- package/internal-do-not-import-from-here/core/index.d.ts +10 -10
- package/internal-do-not-import-from-here/index.d.ts +21 -21
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/StyleFlow.d.ts +0 -155
- package/internal-do-not-import-from-here/ux/Styles.stylex.d.ts +1 -158
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/ComponentEditorStore.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/aurora/admin/themedesigner/componentblueprints/store/TabsEditorStore.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabStylePicker.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/aurora/components/tabs/store/TabStyleEditorStore.d.ts +43 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ColorSchemaStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ComponentBlueprintStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/DefineThemeProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/FontStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/SpacingBlueprintStore.d.ts +42 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/StateManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TemplateRegistrationStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeContextStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeMigrations.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/ThemeNormalizer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemePreviewContextStore.d.ts +100 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeProvider.d.ts +39 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeSharedModels.d.ts +33 -0
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/ThemeStore.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TypographyBlueprintManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/TypographyBlueprintStore.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/aurora/shared-mobile/index.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStorage.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +16 -15
- package/internal-do-not-import-from-here/ux/aurora/styling/UseStyling.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/styling/styles/Spacing.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/docs/chrome/SampleViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datetimefield/DateTimeFieldEdit.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/dalleprovider/DallEProvider.stylex.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/mobile/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanel.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/fab/FloatingActionButton..d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/link/link.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/selection/Selection.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/skeletonloader/SkeletonLoader.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/stickycontainer/StickyContainer.stylex.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.stylex.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/table/Table.stylex.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/timepicker/TimePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/OTreeViewV3.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/shapedivider/ShapeDivider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/Typings.d.ts +894 -0
- package/internal-do-not-import-from-here/ux/shared-mobile/stylex/index.d.ts +154 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +1 -5
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronState.d.ts +1 -71
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronContentStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronImageStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronPropertyMappingStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronStateBuilder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/old/state/VelcronTextContentBuilder.d.ts +1 -2
- package/package.json +2 -2
- package/internal-do-not-import-from-here/core/ObjectMerger.d.ts +0 -7
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +0 -40
- package/internal-do-not-import-from-here/ux/aurora/store/ThemePreviewContextStore.d.ts +0 -100
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStore.d.ts +0 -91
- /package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/VariantManager.d.ts +0 -0
@@ -0,0 +1,154 @@
|
|
1
|
+
import { CSSProperties as StylexCssProperties } from "./Typings";
|
2
|
+
export type StylexValue = {
|
3
|
+
class?: string;
|
4
|
+
style?: Readonly<{
|
5
|
+
[$$Key$$: string]: string | number;
|
6
|
+
}>;
|
7
|
+
};
|
8
|
+
export type SpacingStylexType = {
|
9
|
+
top?: string | number;
|
10
|
+
right?: string | number;
|
11
|
+
bottom?: string | number;
|
12
|
+
left?: string | number;
|
13
|
+
};
|
14
|
+
export type CSSProperties = {
|
15
|
+
-readonly [k in keyof StylexCssProperties]: StylexCssProperties[k];
|
16
|
+
};
|
17
|
+
export interface ICssRules {
|
18
|
+
position(position: string): StylexValue;
|
19
|
+
textFillColor(textFillColor: string): StylexValue;
|
20
|
+
backgroundClip(backgroundClip: string, important?: boolean): StylexValue;
|
21
|
+
fontFamily(fontFamily: string): StylexValue;
|
22
|
+
flexBasis(flexBasis: string | number): StylexValue;
|
23
|
+
flexGrow(flexGrow: number): StylexValue;
|
24
|
+
maxWidth(maxWidth: string): StylexValue;
|
25
|
+
alignSelf(alignSelf: string): StylexValue;
|
26
|
+
minWidth(minWidth: string | number, important?: boolean): StylexValue;
|
27
|
+
flex(flex: string | number, important?: boolean): StylexValue;
|
28
|
+
justifyContent(justifyContent: string): StylexValue;
|
29
|
+
flexWrap(flexWrap: string): StylexValue;
|
30
|
+
rowGap(rowGap: string): StylexValue;
|
31
|
+
columnGap(columnGap: string): StylexValue;
|
32
|
+
flexDirection(flexDirection: string): StylexValue;
|
33
|
+
width(width: string | number, important?: boolean): StylexValue;
|
34
|
+
height(width: string | number, important?: boolean): StylexValue;
|
35
|
+
maxHeight(width: string | number, important?: boolean): StylexValue;
|
36
|
+
minHeight(minHeight: string | number): StylexValue;
|
37
|
+
alignItems(alignItems: string): StylexValue;
|
38
|
+
boxSizing(boxSizing: string): StylexValue;
|
39
|
+
display(display: string): StylexValue;
|
40
|
+
wordBreak(wordBreak: string): StylexValue;
|
41
|
+
fontStyle(fontstyle: string): StylexValue;
|
42
|
+
whiteSpace(whiteSpace: string): StylexValue;
|
43
|
+
backDropFilter(backDropFilter: string): StylexValue;
|
44
|
+
transition(transition: string): StylexValue;
|
45
|
+
transform(transform: string): StylexValue;
|
46
|
+
fontSize(fontSize: string | number, important?: boolean): StylexValue;
|
47
|
+
fontWeight(fontWeight: number): StylexValue;
|
48
|
+
lineHeight(lineHeight: string): StylexValue;
|
49
|
+
letterSpacing(letterSpacing: string): StylexValue;
|
50
|
+
textDecoration(textDecoration: string, important?: boolean): StylexValue;
|
51
|
+
background(background: string, important?: boolean): StylexValue;
|
52
|
+
opacity(opacity: string | number): StylexValue;
|
53
|
+
backgroundImage(backgroundImage: string, important?: boolean): StylexValue;
|
54
|
+
backgroundPosition(backgroundPosition: string, important?: boolean): StylexValue;
|
55
|
+
backgroundRepeat(backgroundRepeat: string, important?: boolean): StylexValue;
|
56
|
+
backgroundSize(backgroundSize: string, important?: boolean): StylexValue;
|
57
|
+
backgroundColor(backgroundColor: string, important?: boolean): StylexValue;
|
58
|
+
color(color: string, important?: boolean): StylexValue;
|
59
|
+
borderTopLeftRadius(borderTopLeftRadius: string, important?: boolean): StylexValue;
|
60
|
+
borderTopRightRadius(borderTopRightRadius: string, important?: boolean): StylexValue;
|
61
|
+
borderBottomRightRadius(borderBottomRightRadius: string, important?: boolean): StylexValue;
|
62
|
+
borderBottomLeftRadius(borderBottomLeftRadius: string, important?: boolean): StylexValue;
|
63
|
+
border(value: SpacingStylexType | string): StylexValue;
|
64
|
+
margin(value: SpacingStylexType | string | number, important?: boolean): StylexValue;
|
65
|
+
marginLeft(marginLeft: string | number, important?: boolean): StylexValue;
|
66
|
+
marginBottom(marginBottom: string | number, important?: boolean): StylexValue;
|
67
|
+
marginRight(marginRight: string | number, important?: boolean): StylexValue;
|
68
|
+
marginTop(marginTop: string | number, important?: boolean): StylexValue;
|
69
|
+
padding(value: SpacingStylexType | string | number, important?: boolean): StylexValue;
|
70
|
+
paddingLeft(paddingLeft: string | number, important?: boolean): StylexValue;
|
71
|
+
paddingRight(paddingRight: string | number, important?: boolean): StylexValue;
|
72
|
+
paddingBottom(paddingBottom: string | number, important?: boolean): StylexValue;
|
73
|
+
paddingTop(paddingTop: string | number, important?: boolean): StylexValue;
|
74
|
+
borderLeft(borderLeft: string | number, important?: boolean): StylexValue;
|
75
|
+
borderRight(borderRight: string | number, important?: boolean): StylexValue;
|
76
|
+
borderBottom(borderBottom: string | number, important?: boolean): StylexValue;
|
77
|
+
borderTop(borderTop: string | number, important?: boolean): StylexValue;
|
78
|
+
borderRadius(borderRadius: string | number): StylexValue;
|
79
|
+
textTransform(textTransform: string): StylexValue;
|
80
|
+
lineCamp(lineCamp: number): StylexValue;
|
81
|
+
overflow(overflow: string, important?: boolean): StylexValue;
|
82
|
+
overflowY(overflowY: string, important?: boolean): StylexValue;
|
83
|
+
overflowX(overflowX: string, important?: boolean): StylexValue;
|
84
|
+
boxOrient(boxOrient: string): StylexValue;
|
85
|
+
cursor(cursor: string, important?: boolean): StylexValue;
|
86
|
+
top(top: number | string, important?: boolean): StylexValue;
|
87
|
+
bottom(bottom: number | string, important?: boolean): StylexValue;
|
88
|
+
left(left: number | string): StylexValue;
|
89
|
+
right(right: number | string, important?: boolean): StylexValue;
|
90
|
+
zIndex(zIndex: number, important?: boolean): StylexValue;
|
91
|
+
visibility(visibility: "visible" | "hidden" | "collapse" | "initial" | "inherit"): StylexValue;
|
92
|
+
textAlign(textAlign: string): StylexValue;
|
93
|
+
transformOrigin(transformOrigin: string): StylexValue;
|
94
|
+
borderColor(borderColor: string): StylexValue;
|
95
|
+
pointerEvents(pointerEvents: string): StylexValue;
|
96
|
+
verticalAlign(verticalAlign: string): StylexValue;
|
97
|
+
textOverflow(textOverflow: string): StylexValue;
|
98
|
+
flexShrink(flexShrink: string | number): StylexValue;
|
99
|
+
boxShadow(boxShadow: string): StylexValue;
|
100
|
+
gridTemplateColumns(gridTemplateColumns: string | number): StylexValue;
|
101
|
+
objectFit(objectFit: string): StylexValue;
|
102
|
+
hover: {
|
103
|
+
opacity(opacity: string, important?: boolean): StylexValue;
|
104
|
+
cursor(cursor: string, important?: boolean): StylexValue;
|
105
|
+
transform(transform: string): StylexValue;
|
106
|
+
background(background: string): StylexValue;
|
107
|
+
backgroundColor(backgroundColor: string, important?: boolean): StylexValue;
|
108
|
+
boxShadow(boxShadow: string): StylexValue;
|
109
|
+
textDecoration(textDecoration: string, important?: boolean): StylexValue;
|
110
|
+
};
|
111
|
+
nest: {
|
112
|
+
iframe: {
|
113
|
+
paddingLeft(paddingLeft: string | number): StylexValue;
|
114
|
+
paddingRight(paddingRight: string | number): StylexValue;
|
115
|
+
paddingBottom(paddingBottom: string | number): StylexValue;
|
116
|
+
paddingTop(paddingTop: string | number): StylexValue;
|
117
|
+
};
|
118
|
+
};
|
119
|
+
media: {
|
120
|
+
sm: {
|
121
|
+
maxHeight(value: string, important?: boolean): StylexValue;
|
122
|
+
height(value: string, important?: boolean): StylexValue;
|
123
|
+
maxWidth(value: string, important?: boolean): StylexValue;
|
124
|
+
width(value: string, important?: boolean): StylexValue;
|
125
|
+
fontSize(fontSize: string, important?: boolean): StylexValue;
|
126
|
+
fontWeight(fontWeight: number, important?: boolean): StylexValue;
|
127
|
+
lineHeight(lineHeight: string, important?: boolean): StylexValue;
|
128
|
+
letterSpacing(letterSpacing: string, important?: boolean): StylexValue;
|
129
|
+
};
|
130
|
+
md: {
|
131
|
+
maxHeight(value: string, important?: boolean): StylexValue;
|
132
|
+
height(value: string, important?: boolean): StylexValue;
|
133
|
+
maxWidth(value: string, important?: boolean): StylexValue;
|
134
|
+
width(value: string, important?: boolean): StylexValue;
|
135
|
+
fontSize(fontSize: string, important?: boolean): StylexValue;
|
136
|
+
fontWeight(fontWeight: number, important?: boolean): StylexValue;
|
137
|
+
lineHeight(lineHeight: string, important?: boolean): StylexValue;
|
138
|
+
letterSpacing(letterSpacing: string, important?: boolean): StylexValue;
|
139
|
+
};
|
140
|
+
lg: {
|
141
|
+
fontSize(fontSize: string, important?: boolean): StylexValue;
|
142
|
+
fontWeight(fontWeight: number, important?: boolean): StylexValue;
|
143
|
+
lineHeight(lineHeight: string, important?: boolean): StylexValue;
|
144
|
+
letterSpacing(letterSpacing: string, important?: boolean): StylexValue;
|
145
|
+
};
|
146
|
+
};
|
147
|
+
}
|
148
|
+
export declare const Stylex: {
|
149
|
+
cssRules: ICssRules;
|
150
|
+
mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>;
|
151
|
+
createCssString(styles: CSSProperties): string;
|
152
|
+
createStylex(cssProperties: StylexCssProperties): StylexValue;
|
153
|
+
};
|
154
|
+
export declare function registerStylexProvider(stylex: ICssRules, mergeCssRules: (...styles: ReadonlyArray<StylexValue>) => Readonly<StylexValue>): void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, VelcronEditor, ContainerFillBlueprint, BackgroundDefinition, BlueprintVariant, IconBlueprint, ButtonBlueprint, VelcronOnPressOutsideEvent, VelcronOnPointerEnterEvent, VelcronOnPointerLeaveEvent, VelcronColorStyling, VelcronOverflowValues, VelcronImageRatios } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronComponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
|
@@ -257,10 +257,6 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
|
|
257
257
|
events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
|
258
258
|
blueprint?: VelcronBindableProp<TextBlueprint>;
|
259
259
|
}
|
260
|
-
export declare enum VelcronImageRatios {
|
261
|
-
square = "square",
|
262
|
-
landscape = "landscape"
|
263
|
-
}
|
264
260
|
export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
|
265
261
|
type: "image";
|
266
262
|
value?: VelcronBindableProp<string>;
|
@@ -1,74 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
|
-
export interface VelcronState {
|
4
|
-
states?: {
|
5
|
-
active?: boolean;
|
6
|
-
};
|
7
|
-
component?: {
|
8
|
-
title: string;
|
9
|
-
icon: string;
|
10
|
-
};
|
11
|
-
images?: VelcronImagesState;
|
12
|
-
container?: {
|
13
|
-
maxWidth?: number;
|
14
|
-
minHeight?: number;
|
15
|
-
alignX?: string;
|
16
|
-
alignY?: string;
|
17
|
-
colorSchemaType?: string;
|
18
|
-
spacing?: VelcronSpacing;
|
19
|
-
blueprint?: ContainerFillBlueprint | BlueprintVariant;
|
20
|
-
background?: BackgroundDefinition;
|
21
|
-
};
|
22
|
-
grid?: VelcronGridState;
|
23
|
-
content?: VelcronContentState;
|
24
|
-
header?: VelcronHeaderState;
|
25
|
-
properties?: VelcronPropertiesState;
|
26
|
-
spacing?: VelcronSpacingState;
|
27
|
-
}
|
28
|
-
export interface VelcronGridState {
|
29
|
-
columnWidth?: number;
|
30
|
-
columns?: Array<object>;
|
31
|
-
gap?: string | number;
|
32
|
-
}
|
33
|
-
export interface VelcronSpacingState {
|
34
|
-
container?: VelcronSpacing;
|
35
|
-
}
|
36
|
-
export interface VelcronHeaderState {
|
37
|
-
title?: VelcronTextState;
|
38
|
-
icon?: string;
|
39
|
-
}
|
40
|
-
export interface VelcronTextState {
|
41
|
-
text?: string;
|
42
|
-
placeholder?: string;
|
43
|
-
typography?: VelcronTypographyState;
|
44
|
-
}
|
45
|
-
export interface VelcronTypographyState {
|
46
|
-
type?: TextStyleType;
|
47
|
-
size?: TextStyleSize;
|
48
|
-
toned?: boolean;
|
49
|
-
}
|
50
|
-
export interface VelcronContentState {
|
51
|
-
caption?: VelcronTextState;
|
52
|
-
main?: VelcronTextState;
|
53
|
-
title?: VelcronTextState;
|
54
|
-
summary?: VelcronTextState;
|
55
|
-
}
|
56
|
-
export interface VelcronPropertiesState {
|
57
|
-
user: any;
|
58
|
-
mappings: Array<any>;
|
59
|
-
}
|
60
|
-
export interface VelcronImagesState {
|
61
|
-
main?: VelcronImageState;
|
62
|
-
alt1?: VelcronImageState;
|
63
|
-
alt2?: VelcronImageState;
|
64
|
-
}
|
65
|
-
export interface VelcronImageState {
|
66
|
-
url?: string;
|
67
|
-
ratio?: VelcronImageRatios;
|
68
|
-
caption?: VelcronTextState;
|
69
|
-
width?: number;
|
70
|
-
height?: number;
|
71
|
-
}
|
1
|
+
import { TextBlueprint } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
72
2
|
export declare const VelcronImagesStateBinding: {
|
73
3
|
main: {
|
74
4
|
mediapickerImage: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
import { VelcronTextContentBuilder } from "./VelcronTextContentBuilder";
|
4
4
|
export declare class VelcronContentStateBuilder extends VelcronStateBuilderBase {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronImageRatios, VelcronState } from "
|
1
|
+
import { VelcronImageRatios, VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
export declare class VelcronImageStateBuilder extends VelcronStateBuilderBase {
|
4
4
|
private mainImageUrl;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderBase } from "./VelcronStateBuilderBase";
|
3
3
|
export declare class VelcronPropertyMappingStateBuilder extends VelcronStateBuilderBase {
|
4
4
|
private propertyItemsValue;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronState } from "
|
1
|
+
import { VelcronState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronColorSchemaStateBuilder } from "./VelcronColorSchemaBuilder";
|
3
3
|
import { VelcronContentStateBuilder } from "./VelcronContentStateBuilder";
|
4
4
|
import { VelcronImageStateBuilder } from "./VelcronImageStateBuilder";
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { TextStyleSize, TextStyleType } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { TextStyleSize, TextStyleType, VelcronTextState, VelcronTypographyState } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronStateBuilderStrategy } from "./VelcronStateBuilderBase";
|
3
|
-
import { VelcronTextState, VelcronTypographyState } from "../../../models";
|
4
3
|
export declare class VelcronTextContentBuilder<TBaseBuilder> extends VelcronStateBuilderStrategy {
|
5
4
|
private _textState;
|
6
5
|
private bindingContextValue;
|
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.454-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.454-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare class ObjectMerger {
|
2
|
-
static isEmptyObject(item: any): boolean;
|
3
|
-
static objectKeysWithFilter(object: any, includeFunctions: boolean): Array<string>;
|
4
|
-
static mergeObjects<T extends object = object>(target: T, nullOrUndefinedValueCustomHandler: (missingPropertyName: string, parent: object, defaultValue: object) => object, emptyStringValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, emptyArrayValueCustomHandler: (propertyName: string, parent: object, defaultValue: object) => object, ...sources: T[]): T;
|
5
|
-
static customNullCondition<T extends object = object>(target: T, condition: (target: T) => boolean): T;
|
6
|
-
static deleteNullProperties<T extends object = object>(target: T, disableTreatingEmptyStringAsNull?: boolean, disableTreatingFalseAsNull?: boolean, disableTreatingZeroAsNull?: boolean, disableTreatingEmptyArrayAsNull?: boolean): void;
|
7
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { BlueprintVariant, guid } from "@omnia/fx-models";
|
2
|
-
import { useThemeStore } from "./ThemeStore";
|
3
|
-
export declare const useSpacingBlueprintStore: () => {
|
4
|
-
state: {
|
5
|
-
blueprint: import("@omnia/fx-models").SpacingBlueprint;
|
6
|
-
blueprintType: BlueprintVariant;
|
7
|
-
id: guid;
|
8
|
-
};
|
9
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
10
|
-
blueprint: import("@omnia/fx-models").SpacingBlueprint;
|
11
|
-
blueprintType: BlueprintVariant;
|
12
|
-
id: guid;
|
13
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
14
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
15
|
-
setBlueprint(): void;
|
16
|
-
setThemeStore(themeStoreInstance: ReturnType<typeof useThemeStore>): void;
|
17
|
-
}>;
|
18
|
-
get: {
|
19
|
-
readonly defaultSpacingBlueprint: import("@omnia/fx-models").SpacingBlueprint;
|
20
|
-
readonly themeStore: ReturnType<typeof useThemeStore>;
|
21
|
-
readonly blueprint: import("@omnia/fx-models").SpacingBlueprint;
|
22
|
-
readonly spacingScaling: {
|
23
|
-
get: {
|
24
|
-
valueWithoutScale: (value: import("@omnia/fx-models").SpacingValue) => string | number;
|
25
|
-
scaleFromValue: (value: import("@omnia/fx-models").SpacingValue) => import("@omnia/fx-models").SpacingScale;
|
26
|
-
scale: (value: import("@omnia/fx-models").Spacing | import("@omnia/fx-models").SpacingValue) => import("@omnia/fx-models").SpacingScale;
|
27
|
-
};
|
28
|
-
add: {
|
29
|
-
scaleToValue: (value: import("@omnia/fx-models").SpacingValue, scale: import("@omnia/fx-models").SpacingScale) => string | number;
|
30
|
-
fallBackScale: (value: import("@omnia/fx-models").SpacingValue, scale: import("@omnia/fx-models").SpacingScale) => string | number;
|
31
|
-
};
|
32
|
-
has: {
|
33
|
-
scaling: (value: import("@omnia/fx-models").SpacingValue) => boolean;
|
34
|
-
};
|
35
|
-
};
|
36
|
-
};
|
37
|
-
deactivated(): void;
|
38
|
-
} & {
|
39
|
-
dispose?: () => void;
|
40
|
-
};
|
@@ -1,100 +0,0 @@
|
|
1
|
-
export declare const useThemePreviewContextStore: () => {
|
2
|
-
actions: {
|
3
|
-
onDispatching: {};
|
4
|
-
onDispatched: {};
|
5
|
-
onFailure: {};
|
6
|
-
};
|
7
|
-
get: {
|
8
|
-
readonly themeStore: {
|
9
|
-
id: import("@omnia/fx-models").guid;
|
10
|
-
state: {
|
11
|
-
currentTheme: import("@omnia/fx-models").ResolvedThemeDefinition;
|
12
|
-
};
|
13
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
14
|
-
currentTheme: import("@omnia/fx-models").ResolvedThemeDefinition;
|
15
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
16
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
17
|
-
setTheme(themeDefinition: import("@omnia/fx-models").ResolvedThemeDefinition): void;
|
18
|
-
}>;
|
19
|
-
get: {
|
20
|
-
getOrSetColorSchema(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, container?: boolean): {
|
21
|
-
value: import("./ColorSchemaStore").ColorSchemaStoreType;
|
22
|
-
setValue(value: import("./ColorSchemaStore").ColorSchemaStoreType): void;
|
23
|
-
};
|
24
|
-
componentBlueprintStore(): {
|
25
|
-
state: {
|
26
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
27
|
-
};
|
28
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
29
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
30
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
31
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
32
|
-
ensure(): {
|
33
|
-
buttons: () => void;
|
34
|
-
};
|
35
|
-
setBlueprint(type: "default"): void;
|
36
|
-
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
37
|
-
}>;
|
38
|
-
get: {
|
39
|
-
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
40
|
-
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
41
|
-
fallbackBlueprints: {
|
42
|
-
get(): import("@omnia/fx-models").ComponentBlueprints;
|
43
|
-
byType(strategyType: import("@omnia/fx-models").BlueprintsStrategyBase): import("@omnia/fx-models").ComponentBlueprints;
|
44
|
-
};
|
45
|
-
button: {
|
46
|
-
iconBlueprintBySize(sizeType: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").ButtonBlueprint;
|
47
|
-
blueprintByType(type: import("@omnia/fx-models").ButtonBlueprintVariant | import("@omnia/fx-models").ButtonBlueprint): any;
|
48
|
-
};
|
49
|
-
input: {
|
50
|
-
blueprintByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").InputBlueprint): import("@omnia/fx-models").InputBlueprint;
|
51
|
-
};
|
52
|
-
tabs: {
|
53
|
-
blueprintByType(type: import("@omnia/fx-models").BlueprintVariant | import("@omnia/fx-models").TabsBlueprint): import("@omnia/fx-models").TabsBlueprint;
|
54
|
-
};
|
55
|
-
icon: {
|
56
|
-
blueprint(size: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").IconBlueprint;
|
57
|
-
size: {
|
58
|
-
byBluePrint(blueprint: import("@omnia/fx-models").IconBlueprint, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
59
|
-
byIconSize(size: import("@omnia/fx-models").OIconSizes, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
60
|
-
};
|
61
|
-
};
|
62
|
-
containerFill: {
|
63
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
64
|
-
getByType(type: import("@omnia/fx-models").ContainerFillValue): any;
|
65
|
-
};
|
66
|
-
header: {
|
67
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
68
|
-
getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
|
69
|
-
};
|
70
|
-
};
|
71
|
-
deactivated(): void;
|
72
|
-
} & {
|
73
|
-
dispose?: () => void;
|
74
|
-
};
|
75
|
-
colorSchema(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType | import("@omnia/fx-models").ColorSchema): import("@omnia/fx-models").ColorSchema;
|
76
|
-
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
77
|
-
fills(): {
|
78
|
-
text: {
|
79
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
80
|
-
byValue(value: import("@omnia/fx-models").TextFillDefinitionValue): import("@omnia/fx-models").TextFillDefinitionValue;
|
81
|
-
};
|
82
|
-
container: {
|
83
|
-
hasVariant(type: import("@omnia/fx-models").BlueprintVariant | string): boolean;
|
84
|
-
bluePrints(): import("@omnia/fx-models").ContainerFillBlueprints;
|
85
|
-
byValue(value: import("@omnia/fx-models").ContainerFillValue): import("@omnia/fx-models").ContainerFillBlueprint;
|
86
|
-
};
|
87
|
-
};
|
88
|
-
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
89
|
-
component(): import("@omnia/fx-models").ComponentBlueprints;
|
90
|
-
color(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorTypes | import("@omnia/fx-models").ColorType): string;
|
91
|
-
colorDefinition(colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorTypes | import("@omnia/fx-models").ColorType): import("@omnia/fx-models").ColorDefinition;
|
92
|
-
currentTheme(): import("@omnia/fx-models").ResolvedThemeDefinition;
|
93
|
-
};
|
94
|
-
} & {
|
95
|
-
dispose?: () => void;
|
96
|
-
};
|
97
|
-
};
|
98
|
-
} & {
|
99
|
-
dispose?: () => void;
|
100
|
-
};
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, BlueprintVariant, ResolvedThemeDefinition, guid, TextFillDefinitionValue, ContainerFillValue, ContainerFillBlueprint } from "@omnia/fx-models";
|
2
|
-
import { type ColorSchemaStoreType } from "./ColorSchemaStore";
|
3
|
-
export declare const useThemeStore: () => {
|
4
|
-
id: guid;
|
5
|
-
state: {
|
6
|
-
currentTheme: ResolvedThemeDefinition;
|
7
|
-
};
|
8
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
9
|
-
currentTheme: ResolvedThemeDefinition;
|
10
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
11
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
12
|
-
setTheme(themeDefinition: ResolvedThemeDefinition): void;
|
13
|
-
}>;
|
14
|
-
get: {
|
15
|
-
getOrSetColorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType, container?: boolean): {
|
16
|
-
value: ColorSchemaStoreType;
|
17
|
-
setValue(value: ColorSchemaStoreType): void;
|
18
|
-
};
|
19
|
-
componentBlueprintStore(): {
|
20
|
-
state: {
|
21
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
22
|
-
};
|
23
|
-
events: import("@omnia/fx/stores").StoreEvents<{
|
24
|
-
blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
25
|
-
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
26
|
-
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
27
|
-
ensure(): {
|
28
|
-
buttons: () => void;
|
29
|
-
};
|
30
|
-
setBlueprint(type: "default"): void;
|
31
|
-
setBluePrints(componentBlueprints: import("@omnia/fx-models").ComponentBlueprints): void;
|
32
|
-
}>;
|
33
|
-
get: {
|
34
|
-
byType<TType extends import("@omnia/fx-models").Blueprint>(type: import("@omnia/fx-models").WebBlueprintItemDefintionType): any;
|
35
|
-
readonly blueprints: import("@omnia/fx-models").ComponentBlueprints;
|
36
|
-
fallbackBlueprints: {
|
37
|
-
get(): import("@omnia/fx-models").ComponentBlueprints;
|
38
|
-
byType(strategyType: import("@omnia/fx-models").BlueprintsStrategyBase): import("@omnia/fx-models").ComponentBlueprints;
|
39
|
-
};
|
40
|
-
button: {
|
41
|
-
iconBlueprintBySize(sizeType: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").ButtonBlueprint;
|
42
|
-
blueprintByType(type: import("@omnia/fx-models").ButtonBlueprintVariant | import("@omnia/fx-models").ButtonBlueprint): any;
|
43
|
-
};
|
44
|
-
input: {
|
45
|
-
blueprintByType(type: BlueprintVariant | import("@omnia/fx-models").InputBlueprint): import("@omnia/fx-models").InputBlueprint;
|
46
|
-
};
|
47
|
-
tabs: {
|
48
|
-
blueprintByType(type: BlueprintVariant | import("@omnia/fx-models").TabsBlueprint): import("@omnia/fx-models").TabsBlueprint;
|
49
|
-
};
|
50
|
-
icon: {
|
51
|
-
blueprint(size: import("@omnia/fx-models").OIconSizes): import("@omnia/fx-models").IconBlueprint;
|
52
|
-
size: {
|
53
|
-
byBluePrint(blueprint: import("@omnia/fx-models").IconBlueprint, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
54
|
-
byIconSize(size: import("@omnia/fx-models").OIconSizes, typographyBlueprint: import("@omnia/fx-models").TypographyBlueprint): import("@omnia/fx-models").TextStyleDefinition;
|
55
|
-
};
|
56
|
-
};
|
57
|
-
containerFill: {
|
58
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
59
|
-
getByType(type: ContainerFillValue): any;
|
60
|
-
};
|
61
|
-
header: {
|
62
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
63
|
-
getRendererBlueprint(type: import("@omnia/fx-models").HeaderBlueprint): import("@omnia/fx-models").HeaderBlueprint;
|
64
|
-
};
|
65
|
-
};
|
66
|
-
deactivated(): void;
|
67
|
-
} & {
|
68
|
-
dispose?: () => void;
|
69
|
-
};
|
70
|
-
colorSchema(colorSchemaType: ColorSchemaTypes | ColorSchemaType | ColorSchema): ColorSchema;
|
71
|
-
typography(): import("@omnia/fx-models").TypographyBlueprint;
|
72
|
-
fills(): {
|
73
|
-
text: {
|
74
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
75
|
-
byValue(value: TextFillDefinitionValue): TextFillDefinitionValue;
|
76
|
-
};
|
77
|
-
container: {
|
78
|
-
hasVariant(type: BlueprintVariant | string): boolean;
|
79
|
-
bluePrints(): import("@omnia/fx-models").ContainerFillBlueprints;
|
80
|
-
byValue(value: ContainerFillValue): ContainerFillBlueprint;
|
81
|
-
};
|
82
|
-
};
|
83
|
-
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
84
|
-
component(): import("@omnia/fx-models").ComponentBlueprints;
|
85
|
-
color(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): string;
|
86
|
-
colorDefinition(colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType): import("@omnia/fx-models").ColorDefinition;
|
87
|
-
currentTheme(): ResolvedThemeDefinition;
|
88
|
-
};
|
89
|
-
} & {
|
90
|
-
dispose?: () => void;
|
91
|
-
};
|
/package/internal-do-not-import-from-here/ux/aurora/{store → shared-mobile}/VariantManager.d.ts
RENAMED
File without changes
|