@omnia/fx 8.0.200-dev → 8.0.202-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,5 +1,8 @@
1
- import { DateTimePropertyDefinition, IPropertyDisplayRenderer } from "@omnia/fx-models";
2
- export type DateTimeDisplayProps = IPropertyDisplayRenderer<DateTimePropertyDefinition>;
1
+ import { DefineProp, DefineVModel } from "@omnia/fx/ux";
2
+ import { DateTimeDisplayStyles } from "./DateTimeDisplay.css";
3
+ import { DateTimeDisplaySettings, DateTimePropertyDefinition, DateTimePropertyValue, IPropertyDisplayRenderer } from "@omnia/fx-models";
4
+ export type DateTimeDisplayProps = IPropertyDisplayRenderer<DateTimePropertyDefinition> & ComponentProps;
5
+ type ComponentProps = DefineVModel<"", DateTimePropertyValue> & DefineProp<"displaySettings", DateTimeDisplaySettings> & DefineProp<"styles", typeof DateTimeDisplayStyles> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"persistentLabels", boolean, false, false>;
3
6
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<DateTimeDisplayProps>) => {
4
7
  $: import("vue").ComponentInternalInstance;
5
8
  $data: {};
@@ -42,7 +45,7 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<D
42
45
  "v-slots"?: {
43
46
  default?: import("vue").Slot;
44
47
  } & {};
45
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, keyof DateTimeDisplayProps>;
48
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "styles" | "v-model" | "onUpdate:modelValue" | keyof IPropertyDisplayRenderer<DateTimePropertyDefinition>>;
46
49
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
50
  [key: string]: any;
48
51
  }>;
@@ -1,5 +1,12 @@
1
- import { TagsPropertyDefinition, IPropertyDisplayRenderer } from "@omnia/fx-models";
2
- export type TagsDisplayProps = IPropertyDisplayRenderer<TagsPropertyDefinition>;
1
+ import { TagsPropertyDefinition, IPropertyDisplayRenderer, PropertyValueType, Tag, IIcon, TagsDisplaySettings } from "@omnia/fx-models";
2
+ import { DefineProp, DefineSlot, DefineVModel, TagsFieldDisplayStyles } from "@omnia/fx/ux";
3
+ export type TagsDisplayProps = IPropertyDisplayRenderer<TagsPropertyDefinition> & ComponentProps;
4
+ type ComponentProps = DefineVModel<"", PropertyValueType<TagsPropertyDefinition>> & DefineProp<"displaySettings", TagsDisplaySettings> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"renderTextOnly", boolean, false, false> & DefineProp<"clickableIcon", IIcon> & DefineProp<"appendedTagContents", {
5
+ [tagName: string]: {
6
+ icon: IIcon;
7
+ title: string;
8
+ };
9
+ }[]> & DefineProp<"hideSelected", boolean> & DefineProp<"styles", typeof TagsFieldDisplayStyles> & DefineProp<"contentColor", string> & DefineProp<"onTagClicked", (tag: Tag) => void> & DefineProp<"persistentLabels", boolean, false, false> & DefineSlot<"appendedElement", () => JSX.Element>;
3
10
  declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<TagsDisplayProps>) => {
4
11
  $: import("vue").ComponentInternalInstance;
5
12
  $data: {};
@@ -41,8 +48,10 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<T
41
48
  propsDefinition: import("@omnia/fx/ux").ExtractProps<TagsDisplayProps> & {
42
49
  "v-slots"?: {
43
50
  default?: import("vue").Slot;
44
- } & {};
45
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, keyof TagsDisplayProps>;
51
+ } & {
52
+ appendedElement?: () => JSX.Element;
53
+ };
54
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "styles" | "v-model" | "onUpdate:modelValue" | "modelValue" | "hideSelected" | "displaySettings" | "clickableIcon" | "setupSettings" | "contentColor" | "renderTextOnly" | "persistentLabels" | "appendedTagContents" | "onTagClicked">;
46
55
  } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
56
  [key: string]: any;
48
57
  }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.200-dev",
4
+ "version": "8.0.202-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.200-dev",
23
+ "@omnia/fx-models": "8.0.202-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",