@omnia/fx 8.0.314-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;
@@ -8,4 +8,5 @@ export declare const LayoutSectionStyles: {
8
8
  getAlignmentSettings: (sectionSettings: SectionSettings) => any;
9
9
  sectionWrapper: (sectionSettings: SectionSettings) => string;
10
10
  sectionContent: (settings: SectionSettings, useScrollMargingFix: boolean) => string;
11
+ headerWrapper: (settings: SectionSettings) => string;
11
12
  };
@@ -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;
@@ -0,0 +1,65 @@
1
+ import { IIcon, Spacing, SpacingValue } from "@omnia/fx-models";
2
+ import { DefineSlot, DefineEmit } from "@omnia/fx/ux";
3
+ import { VNodeChild } from "vue";
4
+ type TreeViewItem<T> = {
5
+ position: number;
6
+ value: T;
7
+ totalSlibings?: number;
8
+ children?: TreeViewItem<T>[];
9
+ };
10
+ type TreewViewItemSlot<T> = {
11
+ isActive: boolean;
12
+ isOpen: boolean;
13
+ isSelected: boolean;
14
+ isIndeterminate: boolean;
15
+ select: (value: boolean) => void;
16
+ item: TreeViewItem<T>;
17
+ };
18
+ declare const _default: <T extends Object>(props: import("@omnia/fx/ux").ConstructComponentProps<{
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;
20
+ } & {
21
+ container?: boolean;
22
+ } & {
23
+ colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
24
+ } & {
25
+ "emit:update:modelValue": (value: T[]) => void;
26
+ } & {
27
+ "v-model"?: T[];
28
+ } & {
29
+ modelValue?: T[];
30
+ } & {
31
+ "emit:update:expanded": (value: T[]) => void;
32
+ } & {
33
+ "v-model:expanded"?: T[];
34
+ } & {
35
+ expanded?: T[];
36
+ } & {
37
+ items?: T[];
38
+ } & {
39
+ expandOnSelection?: boolean;
40
+ } & {
41
+ multiple?: boolean;
42
+ } & {
43
+ openAll?: boolean;
44
+ } & {
45
+ batchChildrensDisplay?: number;
46
+ } & {
47
+ itemTitle?: string | ((item: T) => string);
48
+ } & {
49
+ itemValue?: string | ((item: T) => string);
50
+ } & {
51
+ itemIcon?: string | ((item: T) => IIcon);
52
+ } & {
53
+ itemChildren?: string;
54
+ } & {
55
+ loadChildren?: (selectedNode: T) => void | Promise<void>;
56
+ } & {
57
+ onMoveNode?: (item: T, currentPosition: number, newPosition: number) => void | Promise<void>;
58
+ } & {
59
+ checkNodeToMove?: (item: T) => boolean;
60
+ } & {
61
+ padding?: Spacing | SpacingValue;
62
+ } & {
63
+ indentation?: SpacingValue;
64
+ } & DefineSlot<"append", (value: TreewViewItemSlot<T>) => VNodeChild, "Appends content after label.."> & DefineSlot<"prepend", (value: TreewViewItemSlot<T>) => VNodeChild, "Prepends content before label.."> & DefineEmit<"update:active", (items: T[]) => void>>) => any;
65
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { Spacing } from "@omnia/fx-models";
2
+ export declare const treeViewStylex: {
3
+ wrapper: (backgroundColor: string, color: string, iconColor: string, hoverColor: string) => Readonly<import("../../Styles.stylex").StylexValue>;
4
+ paddingWrapper: (padding: Spacing) => Readonly<import("../../Styles.stylex").StylexValue>;
5
+ };
@@ -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";
@@ -319,8 +319,8 @@ import wc1e7db8a98533485d97b4359f64601ff0 from './ux/oxide/textarea/TextArea';
319
319
  import wc7b2cf06ba1cf47f7adcc6d8a1a0117f0 from './ux/oxide/timepicker/TimePicker';
320
320
  import wc575bd9ad6c0d4fc9ab53fbd1b93786c4 from './ux/oxide/toolbar/Toolbar';
321
321
  import wc19adb19938604f41b10f3a00eb3eb534 from './ux/oxide/tooltip/Tooltip';
322
- import wcc617a9d7e25249929c41becb55905973 from './ux/oxide/treeview/Treeview_old';
323
- import wcd9216ea897894e7bb6f3f1ff13015966 from './ux/oxide/treeview/Treeview';
322
+ import wc943114ca0d5c4f48a881eb6e047daf4d from './ux/oxide/treeview/TreeView_v3';
323
+ import wcc617a9d7e25249929c41becb55905973 from './ux/oxide/treeview/Treeview';
324
324
  import wc1e7fa637f4914cbeb9ceb6d577fec150 from './ux/oxide/validation/Validation';
325
325
  import wc87d2f5f7fa15440ba71dbb642b0dcf38 from './ux/post/templates/PostTemplate';
326
326
  import wc8270a3e368484538870b0bc4a6654234 from './ux/properties/block/PropertyBlock';
@@ -5241,20 +5241,20 @@ declare global {
5241
5241
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
5242
5242
  };
5243
5243
  } : typeof wc19adb19938604f41b10f3a00eb3eb534;
5244
- "treeviewold": typeof wcc617a9d7e25249929c41becb55905973 extends {
5244
+ "treeviewv3": typeof wc943114ca0d5c4f48a881eb6e047daf4d extends {
5245
5245
  propsDefinition: infer TProp;
5246
5246
  } ? {
5247
5247
  new (...args: any[]): {
5248
5248
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
5249
5249
  };
5250
- } : typeof wcc617a9d7e25249929c41becb55905973;
5251
- "treeview": typeof wcd9216ea897894e7bb6f3f1ff13015966 extends {
5250
+ } : typeof wc943114ca0d5c4f48a881eb6e047daf4d;
5251
+ "treeview": typeof wcc617a9d7e25249929c41becb55905973 extends {
5252
5252
  propsDefinition: infer TProp;
5253
5253
  } ? {
5254
5254
  new (...args: any[]): {
5255
5255
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
5256
5256
  };
5257
- } : typeof wcd9216ea897894e7bb6f3f1ff13015966;
5257
+ } : typeof wcc617a9d7e25249929c41becb55905973;
5258
5258
  "validation": typeof wc1e7fa637f4914cbeb9ceb6d577fec150 extends {
5259
5259
  propsDefinition: infer TProp;
5260
5260
  } ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.314-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.314-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",