@omnia/fx 8.0.344-dev → 8.0.345-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/DefineVueTypings.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/SeoInfo.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/oxide/selectionpicker/InputSelect.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/oxide/selectionpicker/InputSelect.stylex.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/selectionpicker/docs/ExampleComponents.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/selectionpicker/docs/SampleComponent.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/oxide/selectionpicker/docs/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/oxide/treeview/OTreeViewV3.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronData.d.ts +1 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +8 -0
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/ux/docs/designpatterns/{SelectionWithBlades.d.ts → SelectionPatterns.d.ts} +0 -0
@@ -37,7 +37,7 @@ export type DefineVModel<TName extends string, TType, Required extends boolean =
|
|
37
37
|
export type ItemValueType<T, TReturn = any> = keyof T | ((item: T) => TReturn);
|
38
38
|
export type ItemType<T> = T extends readonly (infer U)[] ? U : never;
|
39
39
|
export type SelectItemKey<T = Record<string, any>> = boolean | null | undefined | string | readonly (string | number)[] | ((item: T, fallback?: any) => any);
|
40
|
-
export type DefinePropTheming = DefineProp<"colorSchemaType", ColorSchemaTypes | ColorSchemaType> & DefineProp<"
|
40
|
+
export type DefinePropTheming = DefineProp<"colorSchemaType", ColorSchemaTypes | ColorSchemaType> & DefineProp<"colors", ColorSchemaStoreType>;
|
41
41
|
type BuildVModelName<TName extends string, TPropType, Required extends boolean = false> = Required extends false ? {
|
42
42
|
[key in VModelEmitsInJsxElement<TName>]: {
|
43
43
|
type: PropType<(value: TPropType) => any | void>;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export interface SeoBasicInfo {
|
2
|
+
clusteredId: number;
|
2
3
|
path: string;
|
3
4
|
crawlCount: number;
|
4
5
|
version: number;
|
@@ -12,6 +13,7 @@ export interface SeoSnapShotInfo {
|
|
12
13
|
url: string;
|
13
14
|
}
|
14
15
|
export interface SeoDetail {
|
16
|
+
clusteredId: number;
|
15
17
|
path: string;
|
16
18
|
size: number;
|
17
19
|
metadata: SeoMetadata;
|
@@ -7,10 +7,10 @@ type ListItemSlot = {
|
|
7
7
|
isIndeterminate: boolean;
|
8
8
|
select: (value: boolean) => void;
|
9
9
|
};
|
10
|
-
export type OListItemProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"icon", ButtonIconOptions, false, null, "The icon of the component."> & DefineProp<"title", VNodeChild, false, false, "The title of the component."> & DefineProp<"subtitle", VNodeChild, false, false, "Specify a subtitle text for the component."> & DefineProp<"active", boolean, false, false, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"disabled", boolean, false, null, "Removed the ability to interact with the component."> & DefineProp<"variant", OListItemVariants, false, null, "Applies a distinct style to the component."> & DefineSlot<"append", (item: ListItemSlot) => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"prepend", (item: ListItemSlot) => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"default", (item: ListItemSlot) => VNodeChild, "The default Vue slot."> & DefineSlot<"title", (value: {
|
10
|
+
export type OListItemProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"icon", ButtonIconOptions, false, null, "The icon of the component."> & DefineProp<"title", VNodeChild, false, false, "The title of the component."> & DefineProp<"subtitle", VNodeChild, false, false, "Specify a subtitle text for the component."> & DefineProp<"active", boolean, false, false, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"selected", boolean, null, null, "Controls the active state of the item. This is typically used to highlight the component."> & DefineProp<"disabled", boolean, false, null, "Removed the ability to interact with the component."> & DefineProp<"variant", OListItemVariants, false, null, "Applies a distinct style to the component."> & DefineSlot<"append", (item: ListItemSlot) => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"prepend", (item: ListItemSlot) => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"default", (item: ListItemSlot) => VNodeChild, "The default Vue slot."> & DefineSlot<"title", (value: {
|
11
11
|
title: string | number;
|
12
12
|
}) => VNodeChild, "Slot for the component’s title content."> & DefineSlot<"subtitle", (value: {
|
13
13
|
subtitle: string | number;
|
14
|
-
}) => VNodeChild, "Slot for the component’s subtitle content."> & DefineEmit<"click:delete", (e: MouseEvent) => VNodeChild, "Emit a delete event."> & DefineEmit<"click:navigate", (e: MouseEvent) => VNodeChild, "Emit a navigate event.">;
|
14
|
+
}) => VNodeChild, "Slot for the component’s subtitle content."> & DefineEmit<"click:delete", (e: MouseEvent) => VNodeChild, "Emit a delete event."> & DefineEmit<"click:navigate", (e: MouseEvent) => VNodeChild, "Emit a navigate event."> & DefineEmit<"click:select", (e: MouseEvent) => VNodeChild, "Emit a navigate event.">;
|
15
15
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<OListItemProps>) => any;
|
16
16
|
export default _default;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
2
2
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
3
|
-
} & {
|
4
|
-
container?: boolean;
|
5
3
|
} & {
|
6
4
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
7
5
|
} & {
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { InputSelectItem } from "@omnia/fx-models";
|
2
|
+
import { DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
4
|
+
type BaseProps = DefinePropTheming & DefineVModel<"", Array<InputSelectItem>, false, null, true, "The v-model of the component"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"multiple", boolean, false, null, "If it is allowed to select multiple or single"> & DefineSlot<"selectionRender", (item: InputSelectItem, index: Number) => VNodeChild> & DefineSlot<"settingsRender", (item: InputSelectItem) => VNodeChild> & DefineSlot<"chipRenderer", (item: InputSelectItem, index: Number) => VNodeChild> & DefineProp<"label", string, null, null, "The label of the component"> & DefineProp<"items", Array<InputSelectItem>, false, null, "Items to select from">;
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<BaseProps>) => any;
|
6
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const SelectionPickerStyles: {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ExampleComponents: import("@omnia/fx/ux").DocumentationSpec;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const spec: import("@omnia/fx/ux").DocumentationSpec;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
2
2
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
3
|
-
} & {
|
4
|
-
container?: boolean;
|
5
3
|
} & {
|
6
4
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
7
5
|
} & {
|
@@ -11,8 +11,6 @@ type TreewViewItemSlot<T> = {
|
|
11
11
|
};
|
12
12
|
declare const _default: <T extends Object>(props: import("@omnia/fx/ux").ConstructComponentProps<{
|
13
13
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
14
|
-
} & {
|
15
|
-
container?: boolean;
|
16
14
|
} & {
|
17
15
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
18
16
|
} & {
|
@@ -12,8 +12,6 @@ export interface TreeViewPagingModel {
|
|
12
12
|
}
|
13
13
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
14
14
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
15
|
-
} & {
|
16
|
-
container?: boolean;
|
17
15
|
} & {
|
18
16
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
19
17
|
} & {
|
@@ -8,8 +8,6 @@ export declare function useDraggable(): {
|
|
8
8
|
Draggable: DraggableComponentTypings;
|
9
9
|
readonly DraggableIcon: (props: ConstructComponentProps<{
|
10
10
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
11
|
-
} & {
|
12
|
-
container?: boolean;
|
13
11
|
} & {
|
14
12
|
colors?: import("..").ColorSchemaStoreType;
|
15
13
|
} & {
|
@@ -237,7 +237,7 @@ export interface VelcronPosition extends VelcronDimensions {
|
|
237
237
|
export type VelcronOverflowValues = "visible" | "hidden" | "scroll" | "auto";
|
238
238
|
export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow {
|
239
239
|
type: "column";
|
240
|
-
events?: VelcronOnPressEvent;
|
240
|
+
events?: VelcronOnPressEvent & VelcronOnPressOutsideEvent & VelcronOnPointerEnterEvent & VelcronOnPointerLeaveEvent;
|
241
241
|
grow?: number;
|
242
242
|
blueprint?: ContainerFillBlueprint | BlueprintVariant;
|
243
243
|
alignY?: VelcronVerticalAlignments;
|
@@ -258,6 +258,7 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
|
|
258
258
|
value?: VelcronBindableProp;
|
259
259
|
placeholder?: VelcronBindableProp;
|
260
260
|
lineClamp?: VelcronBindableProp<number>;
|
261
|
+
mode?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
261
262
|
noWrap?: VelcronBindableProp<boolean>;
|
262
263
|
wordBreak?: VelcronBindableProp<"none">;
|
263
264
|
align?: VelcronHorizontalAlignments;
|
@@ -21,6 +21,7 @@ export declare class VelcronData {
|
|
21
21
|
static evaluateArray(template: string, renderContext: VelcronRenderContext): Array<any> | null;
|
22
22
|
static evaluateBoolean(template: string | Boolean, renderContext: VelcronRenderContext): boolean | null;
|
23
23
|
static tryParseBoolean(bool: any): ParseResult<boolean | null>;
|
24
|
+
static tryParseNumber(value: any): ParseResult<number | null>;
|
24
25
|
static isString(text: any): text is string;
|
25
26
|
static isBoolean(value: any): value is boolean;
|
26
27
|
static isNumber(value: any): value is number;
|
@@ -304,6 +304,7 @@ import wc8a82f6b541cc49b2ade3e5b880fd3a58 from './ux/oxide/rangeslider/RangeSlid
|
|
304
304
|
import wc4c41fd8799ae43468150fd47661e8100 from './ux/oxide/rating/Rating';
|
305
305
|
import wc177587e103904861b5d4d491388a01b1 from './ux/oxide/scrollcontainer/ScrollContainer';
|
306
306
|
import wc578e2a4d5cd247a4b1291911256253a7 from './ux/oxide/select/Select';
|
307
|
+
import wcb433dc66d68f4a47997e8934e9afda22 from './ux/oxide/selectionpicker/InputSelect';
|
307
308
|
import wc2ade92721b3c426fac97c63026f77351 from './ux/oxide/skeletonloader/SkeletonLoader';
|
308
309
|
import wc8b0bddecd5d74fcba7aac87913137ca3 from './ux/oxide/slidepanel/SlidePanel';
|
309
310
|
import wcd5ff31018df44196a5c6ab219bab4c25 from './ux/oxide/slidepanel/Slide';
|
@@ -5012,6 +5013,13 @@ declare global {
|
|
5012
5013
|
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
5013
5014
|
};
|
5014
5015
|
} : typeof wc51871a0562b54e25bcaf95beba7470c6;
|
5016
|
+
"select": typeof wcb433dc66d68f4a47997e8934e9afda22 extends {
|
5017
|
+
propsDefinition: infer TProp;
|
5018
|
+
} ? {
|
5019
|
+
new (...args: any[]): {
|
5020
|
+
$props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
|
5021
|
+
};
|
5022
|
+
} : typeof wcb433dc66d68f4a47997e8934e9afda22;
|
5015
5023
|
};
|
5016
5024
|
"layout": typeof wc428e436c13dc457898a408786361c9b1 extends {
|
5017
5025
|
propsDefinition: infer TProp;
|
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.345-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.345-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
File without changes
|