@omnia/fx-models 8.0.30-vnext → 8.0.31-vnext

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,6 +1,6 @@
1
1
  import { TextAlignment, BorderPositions, IconPositions, IconSizes } from "./Enums";
2
2
  import { IIcon } from "./Icon";
3
- import { SpacingSettings } from "./SpacingSetting";
3
+ import { SpacingSettings } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
4
4
  import { BusinessProfileProperty } from "./BusinessProfile";
5
5
  import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
6
6
  export declare class BusinessProfileBlockTitleSettings extends BusinessProfileProperty implements BlockTitleSettings {
@@ -3,6 +3,7 @@ import { WebComponentDefinition } from "./ComponentComposer";
3
3
  import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
4
4
  import { OmniaNamedModel } from ".";
5
5
  export interface OmniaManifests {
6
+ omniaServiceId: GuidValue;
6
7
  webcomponent: Array<WebComponentBundleManifest>;
7
8
  resource: Array<ResourcesBundleManifest>;
8
9
  groupedResouresAndComponents: Array<GroupedBundleManifest>;
@@ -12,8 +13,10 @@ export interface OmniaManifests {
12
13
  export interface OmniaServiceManifests {
13
14
  [omniaServiceId: string]: OmniaManifests;
14
15
  }
16
+ export type ClientManifestTargetTypes = "admin" | "editor";
15
17
  export interface ClientManifest {
16
18
  manifestType: ClientManifestTypes;
19
+ target?: ClientManifestTargetTypes;
17
20
  }
18
21
  export interface RegiterApiConfiguration {
19
22
  disableAutoLoadingManifests?: boolean;
@@ -26,7 +29,7 @@ export interface BundleIdentity {
26
29
  /**
27
30
  The unique id of the omnia service to which the resource id belong.
28
31
  */
29
- omniaServiceId: string;
32
+ omniaServiceId?: string;
30
33
  }
31
34
  export interface BundleManifest extends ClientManifest, BundleIdentity {
32
35
  /**
@@ -37,6 +40,17 @@ export interface BundleManifest extends ClientManifest, BundleIdentity {
37
40
  export interface ClientManifestByTypeCollection {
38
41
  [manifestType: string]: Array<ClientManifest>;
39
42
  }
43
+ export type ClientManifestByTargetCollection = {
44
+ [target in ClientManifestTargetTypes]: {
45
+ target: ClientManifestTargetTypes;
46
+ omniaServiceId: GuidValue;
47
+ } | ClientManifestByTypeCollection;
48
+ } & {
49
+ public: {
50
+ target: string;
51
+ omniaServiceId: GuidValue;
52
+ } | ClientManifestByTypeCollection;
53
+ };
40
54
  export interface ManifestLoadResult {
41
55
  manifest: LoadableBundleManifest;
42
56
  status: ManifestLoadStatus;
@@ -45,7 +59,7 @@ export interface LoadableBundleManifest extends BundleManifest, ManifestSupporti
45
59
  version: {
46
60
  [bundleType: string]: string;
47
61
  };
48
- dependingOnManifests: Array<BundleIdentity>;
62
+ dependingOnManifests?: Array<BundleIdentity>;
49
63
  availableBundleTargetTypes: Array<BundleTargetTypes>;
50
64
  }
51
65
  export interface ApiBundleManifest {
@@ -72,7 +86,7 @@ export interface WebComponentBundleManifest extends LoadableBundleManifest, ApiB
72
86
  e.g. use project as prefix myuniqueprojectname-componentName.
73
87
  i.e. <myuniqueprojectname-componentName></myuniqueprojectname-componentName> */
74
88
  elementName: string;
75
- definition: WebComponentDefinition;
89
+ definition?: WebComponentDefinition;
76
90
  }
77
91
  export interface GroupedBundleManifest extends LoadableBundleManifest, SecurityBundleManifest {
78
92
  /** The manifest id's in this group */
@@ -118,7 +132,7 @@ export interface ClientResolvableLoadRule {
118
132
  resolver?: () => Promise<boolean>;
119
133
  }
120
134
  export interface ManifestSupportingCombinedLoadRules {
121
- combinedLoadRules: Array<ClientResolvableLoadRule>;
135
+ combinedLoadRules?: Array<ClientResolvableLoadRule>;
122
136
  }
123
137
  /**
124
138
  Rules applied clientside
package/Exposes.d.ts CHANGED
@@ -35,7 +35,6 @@ export * from "./Store";
35
35
  export * from "./SiteLogo";
36
36
  export * from "./PermissionInputSettings";
37
37
  export * from "./Security";
38
- export * from "./SpacingSetting";
39
38
  export * from "./SecurityContextParamRegistrationHandler";
40
39
  export * from "./TargetingProperty";
41
40
  export * from "./TimeZone";
package/Exposes.js CHANGED
@@ -41,7 +41,6 @@ tslib_1.__exportStar(require("./Store"), exports);
41
41
  tslib_1.__exportStar(require("./SiteLogo"), exports);
42
42
  tslib_1.__exportStar(require("./PermissionInputSettings"), exports);
43
43
  tslib_1.__exportStar(require("./Security"), exports);
44
- tslib_1.__exportStar(require("./SpacingSetting"), exports);
45
44
  tslib_1.__exportStar(require("./SecurityContextParamRegistrationHandler"), exports);
46
45
  tslib_1.__exportStar(require("./TargetingProperty"), exports);
47
46
  tslib_1.__exportStar(require("./TimeZone"), exports);
@@ -3,7 +3,7 @@ import { EnterprisePropertyDefinition } from "../enterprise-properties/Enterpris
3
3
  import { AppInstanceScopedQueryTypes, PropertyIndexedType } from "../Enums";
4
4
  import { MultilingualString } from "../MultilingualString";
5
5
  import { OrderBy, RollupEnums, RollupFilter } from "../RollupQuery";
6
- import { SpacingSettings } from "../SpacingSetting";
6
+ import { SpacingSettings } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
7
7
  import { AppInstance, AppInstanceInfo, AppInstanceInfoUser, AppInstanceTemplateFilter } from "./App";
8
8
  export declare class AppInstanceRollupConstants {
9
9
  static AppInstanceProperties: {
@@ -1,5 +1,5 @@
1
- import { SpacingSettings } from "@omnia/fx-models";
2
1
  import { Guid } from "../Guid";
2
+ import { SpacingSettings } from "./SpacingSetting";
3
3
  import { ColorSchemaType, ColorSchemaTypes } from "./ThemeDefinitionV2";
4
4
  import { TypographyDefinition } from "./TypographyDefinition";
5
5
  export interface BoxDimensions extends SpacingSettings {
@@ -13,11 +13,12 @@ export interface BluePrintDefinitions {
13
13
  variant2: BlueprintDefinition;
14
14
  variant3: BlueprintDefinition;
15
15
  }
16
- export type WebBlueprintDefintionType = "button" | "block" | "typography";
16
+ export type WebBlueprintDefintionType = "button" | "block" | "typography" | "searchbox";
17
17
  export declare enum WebBlueprintDefintionTypes {
18
18
  button = "button",
19
19
  block = "block",
20
- typography = "typography"
20
+ typography = "typography",
21
+ searchbox = "searchbox"
21
22
  }
22
23
  export type VelcronBlueprintDefintionType = "button" | "typography";
23
24
  export declare enum VelcronBlueprintDefintionTypes {
@@ -29,6 +30,7 @@ export interface BlueprintItemDefinition {
29
30
  type: any;
30
31
  }
31
32
  export interface BlockBlueprint extends BlueprintItemDefinition {
33
+ type: "block";
32
34
  header?: {
33
35
  definitionId: Guid;
34
36
  };
@@ -41,8 +43,14 @@ export interface BlockBlueprint extends BlueprintItemDefinition {
41
43
  };
42
44
  }
43
45
  export interface TypographyBlueprint extends BlueprintItemDefinition {
46
+ type: "typography";
44
47
  definition: TypographyDefinition;
45
48
  }
49
+ export interface SearchBoxBlueprint extends BlueprintItemDefinition {
50
+ type: "searchbox";
51
+ borderRadius?: BoxDimensions;
52
+ variant?: "outlined" | "solo" | "regular" | "plain" | "underlined";
53
+ }
46
54
  export interface BlueprintDefinition {
47
55
  id: Guid;
48
56
  definitions: Array<BlueprintItemDefinition>;
@@ -6,6 +6,7 @@ var WebBlueprintDefintionTypes;
6
6
  WebBlueprintDefintionTypes["button"] = "button";
7
7
  WebBlueprintDefintionTypes["block"] = "block";
8
8
  WebBlueprintDefintionTypes["typography"] = "typography";
9
+ WebBlueprintDefintionTypes["searchbox"] = "searchbox";
9
10
  })(WebBlueprintDefintionTypes = exports.WebBlueprintDefintionTypes || (exports.WebBlueprintDefintionTypes = {}));
10
11
  var VelcronBlueprintDefintionTypes;
11
12
  (function (VelcronBlueprintDefintionTypes) {
@@ -3,3 +3,4 @@ export * from "./TypographyDefinition";
3
3
  export * from "./OmniaThemes";
4
4
  export * from "./UseThemeMethods";
5
5
  export * from "./BlueprintDefinition";
6
+ export * from "./SpacingSetting";
@@ -6,3 +6,4 @@ tslib_1.__exportStar(require("./TypographyDefinition"), exports);
6
6
  tslib_1.__exportStar(require("./OmniaThemes"), exports);
7
7
  tslib_1.__exportStar(require("./UseThemeMethods"), exports);
8
8
  tslib_1.__exportStar(require("./BlueprintDefinition"), exports);
9
+ tslib_1.__exportStar(require("./SpacingSetting"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.30-vnext",
4
+ "version": "8.0.31-vnext",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"