@omnia/fx 8.0.399-dev → 8.0.400-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.
@@ -15,5 +15,9 @@ export declare namespace TenantRegionalLocalization {
15
15
  Hour12: string;
16
16
  ExcludeCountry: string;
17
17
  LanguageDefault: string;
18
+ FirstDayOfWeek: string;
19
+ Monday: string;
20
+ Sunday: string;
21
+ ErrorDateFormat: string;
18
22
  }
19
23
  }
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
14
+ propsDefinition: Omit<Readonly<{} & {}>, never>;
15
+ };
16
+ export default _default;
@@ -75,6 +75,7 @@ export declare const useTypographyEditorStore: () => {
75
75
  bladeId: {
76
76
  startBlade: guid;
77
77
  editTypographyBlade: guid;
78
+ editTypeScaleBlade: guid;
78
79
  editFillBlade: guid;
79
80
  settingsBlade: guid;
80
81
  };
@@ -1,10 +1,10 @@
1
1
  import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
2
- import { OPanelVariants, OBorderCombination, OPaddingCombination, TextStyleSize, TextStyleSizes } from "@omnia/fx/models";
2
+ import { OPanelVariants, TextStyleSize, TextStyleSizes, Spacing, SpacingValue } from "@omnia/fx/models";
3
3
  export * from "./Panel.stylex";
4
- type PanelProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"title", string, false, null, "Specifies the title of the panel. The size of the title is adjusted according to the variant of the panel."> & DefineProp<"titleSize", TextStyleSize | TextStyleSizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"variant", OPanelVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"hide", boolean, false, null, "Hides the panel. The panel can be toggled using this property with an animation on hide/show."> & DefineProp<"divider", OBorderCombination, false, null, "Applies dividers at the top/bottom/left/right to the panel. This Should be used to create distinct sections."> & DefineProp<"filled", boolean, false, null, "Applies the a background color to the panel. The color is based on the colorSchema either set or inherited"> & DefineProp<"grouped", boolean, false, null, "Removes spacing at the bottom of the panel. Should be used when panels are stacked vertically in settings etc to avoid to much spacing."> & DefineProp<"toned", boolean, false, null> & DefineProp<"spacelessTop", boolean, false, null, "Removes the top spacing of the panel. Should be used when panels are stacked vertically in settings etc to avoid to much spacing."> & DefineProp<"spacelessBottom", boolean, false, null, "Removes the top spacing of the panel. Should be used when panels are stacked vertically in settings etc to avoid to much spacing."> & DefineProp<"padding", OPaddingCombination, false, null, "Ensures padding of the panel. Should be used for variants like dialog to ensure default padding. The padding depends of the panel variant">;
4
+ type PanelProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"title", string, false, null, "Specifies the title of the panel. The size of the title is adjusted according to the variant of the panel."> & DefineProp<"titleSize", TextStyleSize | TextStyleSizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"variant", OPanelVariants, false, null, "Applies a distinct style to the component."> & DefineProp<"filled", boolean, false, null, "Applies the a background color to the panel. The color is based on the colorSchema either set or inherited"> & DefineProp<"toned", boolean, false, null> & DefineProp<"padding", Spacing | SpacingValue, false, null, "Ensures padding of the col from the blueprint. Apply to all dimensions using only one value."> & DefineProp<"margin", Spacing | SpacingValue, false, null, "Ensures margin of the col from the blueprint.Apply to all dimensions using only one value.">;
5
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<PanelProps> & {} & {
6
6
  "v-slots"?: {} & Omit<{
7
7
  default?: import("vue").Slot;
8
8
  }, never>;
9
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "padding" | "variant" | "filled" | "class" | "hide" | "colorSchemaType" | "colors" | "grouped" | "toned" | "titleSize" | "divider" | "spacelessTop" | "spacelessBottom"> & import("@omnia/fx/ux").VNodeEvents) => any;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "margin" | "padding" | "variant" | "filled" | "class" | "colorSchemaType" | "colors" | "toned" | "titleSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
10
10
  export default _default;
@@ -1,9 +1,5 @@
1
- import { ColorDefinition } from "../../velcron/core";
2
- import { OPanelVariants, OPaddingCombination } from "@omnia/fx-models";
1
+ import { ColorDefinition } from "@omnia/fx-models";
3
2
  export declare const PanelStyles: {
4
- tabSettingsPadding: Readonly<import("@omnia/fx/ux").StylexValue>;
5
- dividerOnTitle: Readonly<import("@omnia/fx/ux").StylexValue>;
6
- panelHoverBackground: (color: ColorDefinition) => Readonly<import("@omnia/fx/ux").StylexValue>;
7
- panelWrapper: (hide: boolean, variant: OPanelVariants, grouped: boolean, spacelessTop: boolean, spacelessBottom: boolean, hasLeftDivider: any, hasRightDivider: any, dark: boolean, paddings: OPaddingCombination) => Readonly<import("@omnia/fx/ux").StylexValue>;
8
- contentWrapper: (variant: OPanelVariants, grouped: boolean, spacelessTop: boolean, spacelessBottom: boolean, paddings: OPaddingCombination, noContentPadding: boolean) => Readonly<import("@omnia/fx/ux").StylexValue>;
3
+ wrapper: () => void;
4
+ panelHoverBackground: (color: ColorDefinition) => Readonly<import("../..").StylexValue>;
9
5
  };
@@ -1,6 +0,0 @@
1
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
2
- "v-slots"?: {} & Omit<{
3
- default?: import("vue").Slot;
4
- }, never>;
5
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
2
- "v-slots"?: {} & Omit<{
3
- default?: import("vue").Slot;
4
- }, never>;
5
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
2
- "v-slots"?: {} & Omit<{
3
- default?: import("vue").Slot;
4
- }, never>;
5
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
6
- export default _default;
@@ -0,0 +1,34 @@
1
+ import { Spacing, SpacingValue, TextStyleSizes, TextStyleTypes } from "@omnia/fx-models";
2
+ export declare const usePanelStore: () => {
3
+ get: {
4
+ typography: {
5
+ readonly type: TextStyleTypes;
6
+ readonly size: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
7
+ readonly toned: boolean;
8
+ };
9
+ readonly margin: Spacing | SpacingValue;
10
+ readonly padding: Spacing | SpacingValue;
11
+ };
12
+ state: {
13
+ onClickEvent: any;
14
+ settings: {
15
+ variant: "tab" | "default" | "dialog" | "tab-vertical";
16
+ padding: SpacingValue | Spacing;
17
+ margin: SpacingValue | Spacing;
18
+ title: string;
19
+ titleSize: "l" | "s" | "xs" | "m" | "xl" | TextStyleSizes | "variant1" | "variant2" | "variant3" | "variant4" | "variant5" | "variant6" | "variant7" | "variant8";
20
+ toned: boolean;
21
+ };
22
+ };
23
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
24
+ initState: (onClickEvent: any) => void;
25
+ }>;
26
+ rules: {
27
+ readonly hasClickEvent: boolean;
28
+ title: {
29
+ readonly show: boolean;
30
+ };
31
+ };
32
+ } & {
33
+ dispose?: () => void;
34
+ };
@@ -2,15 +2,16 @@ import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, ItemValueType }
2
2
  import { VNodeChild } from "vue";
3
3
  import { OMultiSelectionStyles } from "@omnia/fx-models";
4
4
  type SelectionVariants = "remove" | "settings";
5
- type BaseProps<TItem> = DefinePropTheming & DefineProp<"items", TItem[], false, null, "TItem must be an array of objects or array of strings. When using objects, will look for a title, value and disabled keys. This can be changed using the item-title, item-value and item-disabled props."> & DefineProp<"variant", SelectionVariants, false, null, "The component variants"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"sorting", boolean, false, null, "Sets the component to sorting mode"> & DefineProp<"itemValue", ItemValueType<TItem>, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemTitle", ItemValueType<TItem>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemSubtitle", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemIcon", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"enableAdd", boolean, false, null, "If add button is shown"> & DefineProp<"selectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineSlot<"item", (item: TItem, index: Number) => VNodeChild> & DefineEmit<"selectItem", (index: any) => true> & DefineEmit<"addItem", () => true>;
5
+ type BaseProps<TItem> = DefinePropTheming & DefineProp<"items", TItem[], false, null, "TItem must be an array of objects or array of strings. When using objects, will look for a title, value and disabled keys. This can be changed using the item-title, item-value and item-disabled props."> & DefineProp<"variant", SelectionVariants, false, null, "The component variants"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"sorting", boolean, false, null, "Sets the component to sorting mode"> & DefineProp<"itemValue", ItemValueType<TItem>, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemTitle", ItemValueType<TItem>, false, null, "Property on supplied items that contains its title."> & DefineProp<"itemSubtitle", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"itemIcon", string, false, null, "Property on supplied items that contains its value."> & DefineProp<"enableAdd", boolean, false, null, "If add button is shown"> & DefineProp<"selectionStyle", OMultiSelectionStyles, false, null, "The style of multi select"> & DefineSlot<"item", (item: TItem, index: Number) => VNodeChild> & DefineEmit<"selectItem", (index: any) => true> & DefineEmit<"sort:update", (items: TItem[]) => true> & DefineEmit<"addItem", () => true>;
6
6
  declare const _default: <TItem extends unknown>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
7
7
  onSelectItem?: (index: any) => any;
8
8
  onAddItem?: () => any;
9
+ "onSort:update"?: (items: TItem[]) => any;
9
10
  } & {
10
11
  "v-slots"?: {
11
12
  item?: (item: TItem, index: Number) => VNodeChild;
12
13
  } & Omit<{
13
14
  default?: import("vue").Slot;
14
15
  }, "item">;
15
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "colorSchemaType" | "items" | "colors" | "toned" | "itemValue" | "slot:item" | "itemTitle" | "itemIcon" | "emit:selectItem" | "sorting" | "itemSubtitle" | "enableAdd" | "selectionStyle" | "emit:addItem"> & import("@omnia/fx/ux").VNodeEvents) => any;
16
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "colorSchemaType" | "items" | "colors" | "toned" | "itemValue" | "slot:item" | "itemTitle" | "itemIcon" | "emit:selectItem" | "sorting" | "itemSubtitle" | "enableAdd" | "selectionStyle" | "emit:sort:update" | "emit:addItem"> & import("@omnia/fx/ux").VNodeEvents) => any;
16
17
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.399-dev",
4
+ "version": "8.0.400-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.399-dev",
23
+ "@omnia/fx-models": "8.0.400-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",