@omnia/fx 7.0.422-dev → 7.0.424-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.
Files changed (19) hide show
  1. package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
  2. package/internal-do-not-import-from-here/ux/app/AppPropertiesProvider.d.ts +2 -2
  3. package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +1 -0
  4. package/internal-do-not-import-from-here/ux/properties/models/DataSource.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfigurationRenderer.d.ts +19 -0
  6. package/internal-do-not-import-from-here/ux/user/UserPropertiesByMicrosoftGraphProvider.d.ts +1 -29
  7. package/internal-do-not-import-from-here/wctypings.d.ts +2 -6
  8. package/package.json +2 -2
  9. package/internal-do-not-import-from-here/ux/testpropertyblock/PropertyBlock.css.d.ts +0 -19
  10. package/internal-do-not-import-from-here/ux/testpropertyblock/PropertyBlock.d.ts +0 -6
  11. package/internal-do-not-import-from-here/ux/testpropertyblock/PropertyBlockSettings.css.d.ts +0 -10
  12. package/internal-do-not-import-from-here/ux/testpropertyblock/PropertyBlockSettings.d.ts +0 -6
  13. package/internal-do-not-import-from-here/ux/testpropertyblock/PropertyConfiguration.d.ts +0 -8
  14. package/internal-do-not-import-from-here/ux/testpropertyblock/index.d.ts +0 -2
  15. package/internal-do-not-import-from-here/ux/testpropertyblock/loc/localize.d.ts +0 -44
  16. package/internal-do-not-import-from-here/ux/testpropertyblock/shared/PropertyBlockConstants.d.ts +0 -4
  17. package/internal-do-not-import-from-here/ux/testpropertyblock/shared/PropertyBlockFactory.d.ts +0 -4
  18. package/internal-do-not-import-from-here/ux/testpropertyblock/shared/PropertyBlockModel.d.ts +0 -16
  19. package/internal-do-not-import-from-here/ux/testpropertyblock/shared/index.d.ts +0 -3
@@ -393,6 +393,7 @@ export interface OmniaUxLocalization {
393
393
  EnterpriseGlossaryPicker: string;
394
394
  };
395
395
  Properties: {
396
+ SelectPropertyType: string;
396
397
  DataSource: string;
397
398
  SelectProperties: string;
398
399
  Definitions: {
@@ -1,4 +1,4 @@
1
- import { DataSourcePropertyBinding, Guid, GuidValue, PropertyBinding, PropertyConfiguration, PropertyDefinition, PropertyValue } from "@omnia/fx-models";
1
+ import { DataSourcePropertyBinding, Guid, PropertyBinding, PropertyConfiguration, PropertyDefinition, PropertyValue } from "@omnia/fx-models";
2
2
  import { LegacyEnterprisePropertiesProvider, PropertyDataSourceBase } from "..";
3
3
  import { EnterprisePropertyStore, MultilingualStore } from "@omnia/fx/stores";
4
4
  import { LocalizationService } from "@omnia/fx/services";
@@ -19,7 +19,7 @@ export declare class AppPropertiesProvider extends PropertyDataSourceBase {
19
19
  title: string;
20
20
  definitionId: Guid;
21
21
  }[];
22
- getPropertyBinding(propertyBindingId: GuidValue): Promise<PropertyBinding<PropertyDefinition<any, any, any>>>;
22
+ getPropertyBinding(property: PropertyConfiguration<PropertyDefinition<any, any, any>>): Promise<PropertyBinding<PropertyDefinition<any, any, any>>>;
23
23
  getProperties(): Promise<Array<DataSourcePropertyBinding>>;
24
24
  getPropertyValue(property: PropertyConfiguration<PropertyDefinition<any, any, any>>): Promise<PropertyValue<PropertyDefinition<any, any, any>>>;
25
25
  }
@@ -18,5 +18,6 @@ export declare class MediaPickerImageComponent extends VueComponentBase<IMediaPi
18
18
  mounted(): void;
19
19
  onImagedataChanged(imagejson: string): void;
20
20
  private ensureRemoveInvalidCharactersFromSvgHtml;
21
+ private resolveImageUrl;
21
22
  render(): VueTsxSupport.JSX.Element;
22
23
  }
@@ -9,7 +9,7 @@ export declare abstract class PropertyDataSourceBase {
9
9
  abstract onSavePropertyValue(properties: PropertyValue<PropertyDefinition<any, any, any>>[]): Promise<void>;
10
10
  abstract getProperties(): Promise<Array<DataSourcePropertyBinding>>;
11
11
  abstract getPropertyValue(property: PropertyConfiguration<PropertyDefinition<any, any, any>>): Promise<PropertyValue<PropertyDefinition<any, any, any>>>;
12
- abstract getPropertyBinding(propertyBindingId: GuidValue): Promise<PropertyBinding<PropertyDefinition<any, any, any>>>;
12
+ abstract getPropertyBinding(property: PropertyConfiguration<PropertyDefinition<any, any, any>>): Promise<PropertyBinding<PropertyDefinition<any, any, any>>>;
13
13
  }
14
14
  export interface IPropertyDataSourceRegistrationApi {
15
15
  register(registrations: new () => PropertyDataSourceBase | Array<new () => PropertyDataSourceBase>): void;
@@ -0,0 +1,19 @@
1
+ import { PropertyConfiguration, PropertyDefinition } from "@omnia/fx-models";
2
+ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
+ valueBind: PropertyConfiguration<PropertyDefinition<any, any, any>>;
4
+ onValueBindChanged: (newValue: PropertyConfiguration<PropertyDefinition<any, any, any>>) => void;
5
+ }, "valueBind" | "onValueBindChanged">, any, any, any>> & {
6
+ propsDefinition: import("vue-tsx-support").PropsForOutside<{
7
+ valueBind: PropertyConfiguration<PropertyDefinition<any, any, any>>;
8
+ onValueBindChanged: (newValue: PropertyConfiguration<PropertyDefinition<any, any, any>>) => void;
9
+ }, "valueBind" | "onValueBindChanged">;
10
+ }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
11
+ valueBind: PropertyConfiguration<PropertyDefinition<any, any, any>>;
12
+ onValueBindChanged: (newValue: PropertyConfiguration<PropertyDefinition<any, any, any>>) => void;
13
+ }, "valueBind" | "onValueBindChanged">, any, any, any>> & {
14
+ propsDefinition: import("vue-tsx-support").PropsForOutside<{
15
+ valueBind: PropertyConfiguration<PropertyDefinition<any, any, any>>;
16
+ onValueBindChanged: (newValue: PropertyConfiguration<PropertyDefinition<any, any, any>>) => void;
17
+ }, "valueBind" | "onValueBindChanged">;
18
+ });
19
+ export default _default;
@@ -1,29 +1 @@
1
- import { Guid, EmailPropertyValue, TextPropertyValue, PhoneNumberPropertyValue, HtmlPropertyValue } from "@omnia/fx-models";
2
- import { MSGraphUserPropertyValue } from "./MSGraphUserPropertyProviderDefinition";
3
- export declare const msGraphBirthdayPropertyBindingId: Guid;
4
- export declare const msGraphPropertiesMapping: ({
5
- id: Guid;
6
- name: string;
7
- propertyDefinitionId: Guid;
8
- valueType: typeof EmailPropertyValue;
9
- } | {
10
- id: Guid;
11
- name: string;
12
- propertyDefinitionId: Guid;
13
- valueType: typeof TextPropertyValue;
14
- } | {
15
- id: Guid;
16
- name: string;
17
- propertyDefinitionId: Guid;
18
- valueType: typeof PhoneNumberPropertyValue;
19
- } | {
20
- id: Guid;
21
- name: string;
22
- propertyDefinitionId: Guid;
23
- valueType: typeof HtmlPropertyValue;
24
- } | {
25
- id: Guid;
26
- name: string;
27
- propertyDefinitionId: Guid;
28
- valueType: typeof MSGraphUserPropertyValue;
29
- })[];
1
+ export {};
@@ -73,6 +73,7 @@ import wceb1460af73a8467597c5d0987d38cae5 from './ux/properties/builtins/time/Ti
73
73
  import wcf6b07b9fb080465498768f4fc8c58415 from './ux/properties/builtins/time/TimeEditor';
74
74
  import wc091ee9b103234b26a5e2bd5f992b2582 from './ux/properties/property-picker/PropertyPicker';
75
75
  import wc48e897be803c4b5cb1db09dbadd04fe5 from './ux/properties/property-renderer/PropertyRenderer';
76
+ import wc0beecee9c6ce42c88bd468bde23f9f32 from './ux/properties/property-configuration/PropertyConfigurationRenderer';
76
77
  import wc089c74fc73af4e9f920237c71b475d8b from './ux/properties/property-renderer/PropertyDatasourceRenderer';
77
78
  import wcb174dcf2716344b0bb02c981ae68dd73 from './ux/properties/property-picker/PropertyInput';
78
79
  import wc646cfdda09044ebc9339f2ac31318512 from './ux/properties/legacy-enterprise-property/LegacyEnterprisePropertyDisplay';
@@ -80,9 +81,6 @@ import wc332ae4244d4e4b0296befadb2ad2ac6b from './ux/properties/legacy-enterpris
80
81
  import wce4b25c06803a417a9c4aa4b7280a599b from './ux/signin/SignIn';
81
82
  import wcbc3b9409639d45829a6e58a4295bc470 from './ux/signin/providers/omnia/Renderer';
82
83
  import wce22913cb9acf41998abc4f19fe618970 from './ux/signin/providers/kaizala/Renderer';
83
- import wcbed9575757d5437b89c242a673c3c2b9 from './ux/testpropertyblock/PropertyBlock';
84
- import wc0fb7e1ef157d42d081afa427efab0208 from './ux/testpropertyblock/PropertyBlockSettings';
85
- import wc0776a5c7422d41c98bd7e310839411d8 from './ux/testpropertyblock/PropertyConfiguration';
86
84
  import wc8f4747f0b0884fd2a3b60baef21b67fc from './ux/user/components/UserPropertyProviderDisplay';
87
85
  import wc909b95011fbe44c28440ad9cd6aaff85 from './ux/user/components/UserPropertyProviderEditor';
88
86
  import wc7f2ffaf9ec9e4faba84db55101236094 from './ux/user/components/MSGraphUserPropertyProviderDisplay';
@@ -177,6 +175,7 @@ declare global {
177
175
  "omfx-properties-time-editor": base.CombinedTsxComponentAttrs<typeof wcf6b07b9fb080465498768f4fc8c58415.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
178
176
  "omfx-property-picker": base.CombinedTsxComponentAttrs<typeof wc091ee9b103234b26a5e2bd5f992b2582.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
179
177
  "omfx-property-renderer": base.CombinedTsxComponentAttrs<typeof wc48e897be803c4b5cb1db09dbadd04fe5.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
178
+ "omfx-property-configuration-renderer": base.CombinedTsxComponentAttrs<typeof wc0beecee9c6ce42c88bd468bde23f9f32.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
180
179
  "omfx-property-datasource-renderer": base.CombinedTsxComponentAttrs<typeof wc089c74fc73af4e9f920237c71b475d8b.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
181
180
  "omfx-property-input": base.CombinedTsxComponentAttrs<typeof wcb174dcf2716344b0bb02c981ae68dd73.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
182
181
  "omfx-app-legacy-enterprise-properties-display": base.CombinedTsxComponentAttrs<typeof wc646cfdda09044ebc9339f2ac31318512.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
@@ -184,9 +183,6 @@ declare global {
184
183
  "omfx-signin": base.CombinedTsxComponentAttrs<typeof wce4b25c06803a417a9c4aa4b7280a599b.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
185
184
  "omfx-signin-omnia": base.CombinedTsxComponentAttrs<typeof wcbc3b9409639d45829a6e58a4295bc470.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
186
185
  "omfx-signin-kaizala": base.CombinedTsxComponentAttrs<typeof wce22913cb9acf41998abc4f19fe618970.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
187
- "test-property-block": base.CombinedTsxComponentAttrs<typeof wcbed9575757d5437b89c242a673c3c2b9.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
188
- "test-property-block-settings": base.CombinedTsxComponentAttrs<typeof wc0fb7e1ef157d42d081afa427efab0208.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
189
- "test-property-block-settings-configuration": base.CombinedTsxComponentAttrs<typeof wc0776a5c7422d41c98bd7e310839411d8.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
190
186
  "omfx-properties-user-provider-display": base.CombinedTsxComponentAttrs<typeof wc8f4747f0b0884fd2a3b60baef21b67fc.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
191
187
  "omfx-properties-user-provider-editor": base.CombinedTsxComponentAttrs<typeof wc909b95011fbe44c28440ad9cd6aaff85.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
192
188
  "omfx-properties-msgraph-user-provider-display": base.CombinedTsxComponentAttrs<typeof wc7f2ffaf9ec9e4faba84db55101236094.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.422-dev",
4
+ "version": "7.0.424-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": "7.0.422-dev",
23
+ "@omnia/fx-models": "7.0.424-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
@@ -1,19 +0,0 @@
1
- import { types } from "typestyle";
2
- import { ITheming } from "@omnia/fx/ux";
3
- import { SpacingSettings } from "@omnia/fx-models";
4
- import { PropertyBlockBlockSettings } from ".";
5
- /**
6
- * Styles for the PropertyBlock component
7
- */
8
- export declare const PropertyBlockStyles: {
9
- container: types.NestedCSSProperties;
10
- propertiesWrapper?: (settings: PropertyBlockBlockSettings, theming: ITheming) => types.NestedCSSProperties;
11
- padding?: (spacing: SpacingSettings) => types.NestedCSSProperties;
12
- contentHidden: types.NestedCSSProperties;
13
- propertyContentWrapper?: (settings: PropertyBlockBlockSettings) => types.NestedCSSProperties;
14
- propertyWrapper?: types.NestedCSSProperties;
15
- propertyValue?: (textColor: string) => types.NestedCSSProperties;
16
- icon?: types.NestedCSSProperties;
17
- propertyLabelWrapper?: (fullWidth: boolean, textColor: string) => types.NestedCSSProperties;
18
- propertyLabel?: (fullWidth: boolean) => types.NestedCSSProperties;
19
- };
@@ -1,6 +0,0 @@
1
- declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
2
- propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
3
- }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
4
- propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
5
- });
6
- export default _default;
@@ -1,10 +0,0 @@
1
- import { types } from "typestyle";
2
- import { ITheming } from "@omnia/fx/ux";
3
- /**
4
- * Styles for the PropertyTypeBlockSettings component
5
- */
6
- export declare const PropertyBlockSettingsStyles: {
7
- container: types.NestedCSSProperties;
8
- dragIcon: types.NestedCSSProperties;
9
- header: (theme: ITheming) => types.NestedCSSProperties;
10
- };
@@ -1,6 +0,0 @@
1
- declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
2
- propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
3
- }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
4
- propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
5
- });
6
- export default _default;
@@ -1,8 +0,0 @@
1
- interface PropertyConfigurationProps {
2
- }
3
- declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<PropertyConfigurationProps, never>, any, any, any>> & {
4
- propsDefinition: import("vue-tsx-support").PropsForOutside<PropertyConfigurationProps, never>;
5
- }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<PropertyConfigurationProps, never>, any, any, any>> & {
6
- propsDefinition: import("vue-tsx-support").PropsForOutside<PropertyConfigurationProps, never>;
7
- });
8
- export default _default;
@@ -1,2 +0,0 @@
1
- export * from "./loc/localize";
2
- export * from "./shared";
@@ -1,44 +0,0 @@
1
- export declare module PropertiesLocalization {
2
- const namespace = "Test.Properties";
3
- interface locInterface {
4
- EmptyMessage: string;
5
- BlockDescription: string;
6
- BlockTitle: string;
7
- General: string;
8
- Display: string;
9
- Style: string;
10
- HideSeparator: string;
11
- SeparatorType: string;
12
- Horizontal: string;
13
- ItemPadding: string;
14
- LabelColor: string;
15
- ValueColor: string;
16
- TextOnly: string;
17
- HideAvatar: string;
18
- CustomLabel: string;
19
- LabelPosition: {
20
- Title: string;
21
- Top: string;
22
- Left: string;
23
- };
24
- Settings: {
25
- SelectProperties: string;
26
- SelectProvider: string;
27
- ShowLabel: string;
28
- DateFormatMode: string;
29
- Format: string;
30
- FormatModeDefault: string;
31
- FormatModeNormal: string;
32
- FormatModeSocial: string;
33
- };
34
- Subscription: {
35
- SubscribeTitle: string;
36
- SubscribeMessage: string;
37
- UnSubscribeTitle: string;
38
- UnSubscribeMessage: string;
39
- Subscribe: string;
40
- UnSubscribe: string;
41
- };
42
- PageTypeIsMissing: string;
43
- }
44
- }
@@ -1,4 +0,0 @@
1
- export declare enum LabelPositions {
2
- left = 1,
3
- top = 2
4
- }
@@ -1,4 +0,0 @@
1
- import { PropertyBlockBlockSettings } from "./PropertyBlockModel";
2
- export declare const PropertyBlockFactory: {
3
- defaultSettings(): PropertyBlockBlockSettings;
4
- };
@@ -1,16 +0,0 @@
1
- import { MultilingualString, PropertyConfiguration, PropertyDefinition, SpacingSettings } from "@omnia/fx-models";
2
- import { PropertyDataSourceRegistrationId } from "../../properties";
3
- import { LabelPositions } from "./PropertyBlockConstants";
4
- export interface PropertyBlockDataSettings {
5
- propertyConfiguration: PropertyConfiguration<PropertyDefinition<any, any, any>>;
6
- dataSourceId: PropertyDataSourceRegistrationId;
7
- }
8
- export interface PropertyBlockBlockSettings {
9
- blockTitle: MultilingualString;
10
- propertyBlockDataSettings: Array<PropertyBlockDataSettings>;
11
- spacing?: SpacingSettings;
12
- rowspacing: SpacingSettings;
13
- labelPosition: LabelPositions;
14
- horizontal: boolean;
15
- hideSeparator: boolean;
16
- }
@@ -1,3 +0,0 @@
1
- export * from "./PropertyBlockConstants";
2
- export * from "./PropertyBlockFactory";
3
- export * from "./PropertyBlockModel";