@omnia/fx 8.0.315-dev → 8.0.316-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.
@@ -1,7 +1,4 @@
1
1
  import { Section, StepperSectionSettings } from "../../../../models";
2
- import { VueComponentBase } from "../../..";
3
- import { MultilingualStore } from "../../../../stores";
4
- import { OmniaUxLocalization } from "../../../UxModels";
5
2
  export interface LayoutSectionStepperProps {
6
3
  section: Section;
7
4
  layoutId: string;
@@ -9,13 +6,13 @@ export interface LayoutSectionStepperProps {
9
6
  tabState: object;
10
7
  themeTargetId?: string;
11
8
  }
12
- export declare class LayoutSectionStepper extends VueComponentBase<LayoutSectionStepperProps> {
13
- multilingualStore: MultilingualStore;
14
- omniaUxLoc: OmniaUxLocalization;
15
- section: Section<StepperSectionSettings>;
16
- layoutId: string;
17
- useScrollMargingFix: boolean;
18
- tabState: object;
19
- private renderSectionItem;
20
- render(): JSX.Element;
21
- }
9
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
10
+ section?: Section<StepperSectionSettings>;
11
+ } & {
12
+ layoutId?: string;
13
+ } & {
14
+ useScrollMargingFix?: boolean;
15
+ } & {
16
+ tabState?: object;
17
+ }>) => any;
18
+ export default _default;
@@ -1,7 +1,4 @@
1
- import { LayoutCanvasStore } from "../../";
2
1
  import { SectionSettings, SectionItem, SteppedSectionItemSettings } from "../../../../models";
3
- import { VueComponentBase } from "../../..";
4
- import { MediaPickerService } from "../../../../services";
5
2
  export interface StepProps {
6
3
  step: SectionItem<SteppedSectionItemSettings>;
7
4
  settings: SectionSettings;
@@ -9,38 +6,15 @@ export interface StepProps {
9
6
  useScrollMargingFix: boolean;
10
7
  tabState: object;
11
8
  }
12
- export declare class LayoutStep extends VueComponentBase<StepProps> {
13
- step: SectionItem<SteppedSectionItemSettings>;
14
- settings: SectionSettings;
15
- layoutId: string;
16
- useScrollMargingFix: boolean;
17
- tabState: object;
18
- layoutEditorStore: LayoutCanvasStore;
19
- mediaPickerService: MediaPickerService;
20
- private get backgroundImage();
21
- /**
22
- * Function to render the columns
23
- * @param h is the hyperscript reference
24
- */
25
- private renderChildren;
26
- /**
27
- * Renders the layout selector
28
- * @param h
29
- */
30
- private renderLayoutSelector;
31
- /**
32
- * Renders the edit mode
33
- * @param h
34
- */
35
- private renderContentMode;
36
- /**
37
- * Renders the designmode
38
- * @param h
39
- */
40
- private renderLayoutMode;
41
- /**
42
- * Render
43
- * @param h
44
- */
45
- render(): any;
46
- }
9
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
10
+ step?: SectionItem<SteppedSectionItemSettings>;
11
+ } & {
12
+ settings?: SectionSettings;
13
+ } & {
14
+ layoutId?: string;
15
+ } & {
16
+ useScrollMargingFix?: boolean;
17
+ } & {
18
+ tabState?: object;
19
+ }>) => any;
20
+ export default _default;
@@ -1,41 +1,7 @@
1
1
  import { Section, SectionItem, SteppedSectionItemSettings, StepperSectionSettings } from "@omnia/fx/models";
2
- declare const _default: {
3
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
- renderSectionItem: {
5
- type: import("vue").PropType<(sectionItem: SectionItem<SteppedSectionItemSettings>) => JSX.Element | Array<JSX.Element>>;
6
- };
7
- section: {
8
- type: import("vue").PropType<Section<StepperSectionSettings>>;
9
- };
10
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
11
- P: {};
12
- B: {};
13
- D: {};
14
- C: {};
15
- M: {};
16
- Defaults: {};
17
- }, Readonly<import("vue").ExtractPropTypes<{
18
- renderSectionItem: {
19
- type: import("vue").PropType<(sectionItem: SectionItem<SteppedSectionItemSettings>) => JSX.Element | Array<JSX.Element>>;
20
- };
21
- section: {
22
- type: import("vue").PropType<Section<StepperSectionSettings>>;
23
- };
24
- }>>, () => JSX.Element, {}, {}, {}, {}>;
25
- __isFragment?: never;
26
- __isTeleport?: never;
27
- __isSuspense?: never;
28
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
29
- renderSectionItem: {
30
- type: import("vue").PropType<(sectionItem: SectionItem<SteppedSectionItemSettings>) => JSX.Element | Array<JSX.Element>>;
31
- };
32
- section: {
33
- type: import("vue").PropType<Section<StepperSectionSettings>>;
34
- };
35
- }>>, () => JSX.Element, unknown, {}, {}, 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 & {
36
- propsDefinition: Omit<Readonly<{} & {
37
- section?: Section<StepperSectionSettings>;
38
- renderSectionItem?: (sectionItem: SectionItem<SteppedSectionItemSettings>) => JSX.Element | Array<JSX.Element>;
39
- }>, never>;
40
- };
2
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
+ section?: Section<StepperSectionSettings>;
4
+ } & {
5
+ renderSectionItem?: (sectionItem: SectionItem<SteppedSectionItemSettings>) => JSX.Element | Array<JSX.Element>;
6
+ }>) => any;
41
7
  export default _default;
@@ -5,63 +5,13 @@ export interface LayoutSectionStepperRendererProps {
5
5
  useScrollMargingFix: boolean;
6
6
  themeTargetId?: string;
7
7
  }
8
- declare const _default: {
9
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
10
- themeTargetId: {
11
- type: import("vue").PropType<string>;
12
- };
13
- useScrollMargingFix: {
14
- type: import("vue").PropType<boolean>;
15
- };
16
- layoutId: {
17
- type: import("vue").PropType<string>;
18
- };
19
- section: {
20
- type: import("vue").PropType<Section<StepperSectionSettings>>;
21
- };
22
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly<import("vue").ExtractPropTypes<{
30
- themeTargetId: {
31
- type: import("vue").PropType<string>;
32
- };
33
- useScrollMargingFix: {
34
- type: import("vue").PropType<boolean>;
35
- };
36
- layoutId: {
37
- type: import("vue").PropType<string>;
38
- };
39
- section: {
40
- type: import("vue").PropType<Section<StepperSectionSettings>>;
41
- };
42
- }>>, () => JSX.Element, {}, {}, {}, {}>;
43
- __isFragment?: never;
44
- __isTeleport?: never;
45
- __isSuspense?: never;
46
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
47
- themeTargetId: {
48
- type: import("vue").PropType<string>;
49
- };
50
- useScrollMargingFix: {
51
- type: import("vue").PropType<boolean>;
52
- };
53
- layoutId: {
54
- type: import("vue").PropType<string>;
55
- };
56
- section: {
57
- type: import("vue").PropType<Section<StepperSectionSettings>>;
58
- };
59
- }>>, () => JSX.Element, unknown, {}, {}, 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 & {
60
- propsDefinition: Omit<Readonly<{} & {
61
- section?: Section<StepperSectionSettings>;
62
- themeTargetId?: string;
63
- layoutId?: string;
64
- useScrollMargingFix?: boolean;
65
- }>, never>;
66
- };
8
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
9
+ section?: Section<StepperSectionSettings>;
10
+ } & {
11
+ layoutId?: string;
12
+ } & {
13
+ useScrollMargingFix?: boolean;
14
+ } & {
15
+ themeTargetId?: string;
16
+ }>) => any;
67
17
  export default _default;
@@ -5,7 +5,12 @@ export interface SeoBasicInfo {
5
5
  lastSnapShotAt: string;
6
6
  lastCrawlAt: string;
7
7
  snapshotDuration: number;
8
+ metadata: SeoMetadata;
9
+ crawlServices: Record<string, number>;
8
10
  }
9
11
  export interface SeoSnapShotInfo {
10
12
  url: string;
11
13
  }
14
+ export interface SeoMetadata extends Record<string, string> {
15
+ cachedThumbnail: string;
16
+ }
@@ -18,5 +18,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
18
18
  variant?: "default" | "editable" | "understep";
19
19
  } & {
20
20
  hideLabel?: boolean;
21
+ } & {
22
+ nonLinear?: boolean;
21
23
  }>) => any;
22
24
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { ColorDefinition } from "@omnia/fx-models";
2
2
  export declare const StepperStyles: {
3
3
  container: (baseSelected: ColorDefinition, onBaseSelected: ColorDefinition) => Readonly<import("@omnia/fx/ux").StylexValue>;
4
+ hiddenIcon: () => Readonly<import("@omnia/fx/ux").StylexValue>;
4
5
  };
@@ -19,5 +19,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
19
19
  rules?: ValidationRule[];
20
20
  } & {
21
21
  eager?: boolean;
22
+ } & {
23
+ hideIcon?: boolean;
22
24
  } & DefineSlot<"title", () => VNodeChild>>) => any;
23
25
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { DefinePropTheming, DefineProp } from "@omnia/fx/ux";
2
2
  import { ColorType, ColorTypes, OTextAlignmentTypes, TextBlueprint, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx/models";
3
3
  type textWrapping = "none";
4
- type TextProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"typography", TypographyType | TypographyTypes, false, null, "Applies a specific typography to be used. Default is text."> & DefineProp<"size", TypographySize | TypographySizes, 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<"divider", boolean, false, false, "If true, each item will have a bottom divider"> & DefineProp<"toned", boolean, false, false, "Applies a tonal color to the text."> & DefineProp<"wordBreak", textWrapping, false, null, "Specifies how the text should wrap."> & DefineProp<"whiteSpace", "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line", false, null, "Specifies how is 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.">;
4
+ type TextProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"typography", TypographyType | TypographyTypes, false, null, "Applies a specific typography to be used. Default is text."> & DefineProp<"size", TypographySize | TypographySizes, 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<"divider", boolean, false, false, "If true, each item will have a bottom divider"> & DefineProp<"toned", boolean, false, false, "Applies a tonal color to the text."> & DefineProp<"wordBreak", textWrapping, false, null, "Specifies how the text should wrap."> & DefineProp<"whiteSpace", "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line", false, null, "Specifies how is 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
5
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<TextProps>) => any;
6
6
  export default _default;
@@ -1,13 +1,19 @@
1
- import { Spacing, SpacingValue } from "@omnia/fx-models";
1
+ import { IIcon, Spacing, SpacingValue } from "@omnia/fx-models";
2
2
  import { DefineSlot, DefineEmit } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
+ type TreeViewItem<T> = {
5
+ position: number;
6
+ value: T;
7
+ totalSlibings?: number;
8
+ children?: TreeViewItem<T>[];
9
+ };
4
10
  type TreewViewItemSlot<T> = {
5
11
  isActive: boolean;
6
12
  isOpen: boolean;
7
13
  isSelected: boolean;
8
14
  isIndeterminate: boolean;
9
15
  select: (value: boolean) => void;
10
- item: T;
16
+ item: TreeViewItem<T>;
11
17
  };
12
18
  declare const _default: <T extends Object>(props: import("@omnia/fx/ux").ConstructComponentProps<{
13
19
  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;
@@ -41,6 +47,8 @@ declare const _default: <T extends Object>(props: import("@omnia/fx/ux").Constru
41
47
  itemTitle?: string | ((item: T) => string);
42
48
  } & {
43
49
  itemValue?: string | ((item: T) => string);
50
+ } & {
51
+ itemIcon?: string | ((item: T) => IIcon);
44
52
  } & {
45
53
  itemChildren?: string;
46
54
  } & {
@@ -284,6 +284,16 @@ export interface VelcronVideoDefinition extends VelcronDefinition {
284
284
  aspectRatio?: VelcronBindableProp<"16:9" | "4:3" | "1:1">;
285
285
  autoplay?: VelcronBindableProp<boolean>;
286
286
  muted?: VelcronBindableProp<boolean>;
287
+ showPlayPause?: boolean;
288
+ showProgressBar?: boolean;
289
+ showVolumeControl?: boolean;
290
+ showMuteButton?: boolean;
291
+ showFullscreenButton?: boolean;
292
+ showTimeDisplay?: boolean;
293
+ placeholderImage?: VelcronBindableProp<string>;
294
+ playButtonImage?: VelcronBindableProp<string>;
295
+ placeholder?: VelcronDefinition;
296
+ playButton?: VelcronDefinition;
287
297
  }
288
298
  export interface VelcronButtonDefinition extends VelcronDefinition, VelcronColorStyling {
289
299
  type: "button";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.315-dev",
4
+ "version": "8.0.316-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": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.315-dev",
23
+ "@omnia/fx-models": "8.0.316-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",