@omnia/fx-models 8.0.97-dev → 8.0.98-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.
- package/Constants.js +1 -1
- package/Enums.d.ts +1 -0
- package/Layout.d.ts +1 -0
- package/ManifestIds.d.ts +1 -2
- package/ManifestIds.js +3 -6
- package/identities/BuiltInIdentityProvider.d.ts +7 -0
- package/identities/BuiltInIdentityProvider.js +23 -0
- package/identities/IdentityCreationRequest.d.ts +3 -3
- package/identities/UserIdentity.js +3 -3
- package/identities/index.d.ts +1 -0
- package/identities/index.js +1 -0
- package/oxide/OxideTypeDefinitions.d.ts +7 -0
- package/oxide/OxideTypeDefinitions.js +6 -3
- package/package.json +1 -1
package/Constants.js
CHANGED
@@ -236,7 +236,7 @@ exports.Constants = {
|
|
236
236
|
builtInIdentityProviderIds: {
|
237
237
|
azureAd: new models_1.Guid("bb9f80dd-9dfa-4147-b923-7e2f8e0e7a0c"),
|
238
238
|
omnia: new models_1.Guid("aa000000-0000-aaaa-0000-0000000000aa"),
|
239
|
-
ldap: new models_1.Guid("ab5c4983-1254-44d7-87e9-72021703dfc5")
|
239
|
+
ldap: new models_1.Guid("ab5c4983-1254-44d7-87e9-72021703dfc5")
|
240
240
|
},
|
241
241
|
builtInGroupTypeIds: {
|
242
242
|
unknown: new models_1.Guid("16486d7d-6e3f-459e-9924-ecb3574345f8"),
|
package/Enums.d.ts
CHANGED
@@ -1394,6 +1394,7 @@ export declare enum DisplayBreakpointCodes {
|
|
1394
1394
|
}
|
1395
1395
|
export declare const DisplayBreakpoints: readonly ["s", "m", "l"];
|
1396
1396
|
export type DisplayBreakpointTypes = typeof DisplayBreakpoints[number];
|
1397
|
+
export type ContainerBreakpointTypes = "layout" | "column" | "parent";
|
1397
1398
|
export declare enum LocalServingMessageType {
|
1398
1399
|
Connected = "connected",
|
1399
1400
|
FullReload = "full-reload",
|
package/Layout.d.ts
CHANGED
@@ -132,6 +132,7 @@ export interface LayoutEngineRenderContext<TItemType = LayoutItem, TSettings = L
|
|
132
132
|
useScrollMarginFix?: boolean;
|
133
133
|
state?: object;
|
134
134
|
maxWidth?: number;
|
135
|
+
minWidth?: number;
|
135
136
|
orphaned?: boolean;
|
136
137
|
}
|
137
138
|
export interface SectionSettings extends LayoutItemSettings {
|
package/ManifestIds.d.ts
CHANGED
@@ -23,8 +23,6 @@ export declare class OmniaResourceManifests {
|
|
23
23
|
static get AppPlaceHolderApis(): Guid;
|
24
24
|
static get FxUxVuetifyCommon(): Guid;
|
25
25
|
static get FxUxMonacoEditor(): Guid;
|
26
|
-
static get FxUxVueChartJS(): Guid;
|
27
|
-
static get FxUxDraggable(): Guid;
|
28
26
|
static get FxUxAutocomplete(): Guid;
|
29
27
|
static get ClientBoot(): Guid;
|
30
28
|
static get FxUxVuetifyBottomnav(): Guid;
|
@@ -167,6 +165,7 @@ export declare class OmniaWebComponentManifests {
|
|
167
165
|
static get OBtn(): Guid;
|
168
166
|
static get OBtnGroup(): Guid;
|
169
167
|
static get OCard(): Guid;
|
168
|
+
static get OChart(): Guid;
|
170
169
|
static get OCheckBox(): Guid;
|
171
170
|
static get OChip(): Guid;
|
172
171
|
static get ONotification(): Guid;
|
package/ManifestIds.js
CHANGED
@@ -67,12 +67,6 @@ class OmniaResourceManifests {
|
|
67
67
|
static get FxUxMonacoEditor() {
|
68
68
|
return new models_1.Guid("dd2a06c1-85a6-4fd9-a542-1cc9d34ed98e");
|
69
69
|
}
|
70
|
-
static get FxUxVueChartJS() {
|
71
|
-
return new models_1.Guid("8679de65-f34e-4d07-8747-49aba81d513d");
|
72
|
-
}
|
73
|
-
static get FxUxDraggable() {
|
74
|
-
return new models_1.Guid("b839671d-e444-47f8-9aab-8fd449aede74");
|
75
|
-
}
|
76
70
|
static get FxUxAutocomplete() {
|
77
71
|
return new models_1.Guid("5d79340e-c1ce-4006-b88b-ad101d2e031e");
|
78
72
|
}
|
@@ -514,6 +508,9 @@ class OmniaWebComponentManifests {
|
|
514
508
|
static get OCard() {
|
515
509
|
return new models_1.Guid("9349eb77-1427-4f73-bb91-f7994524e5c8");
|
516
510
|
}
|
511
|
+
static get OChart() {
|
512
|
+
return new models_1.Guid("3d712fc3-294b-4b6c-8283-934e5d0ce00c");
|
513
|
+
}
|
517
514
|
static get OCheckBox() {
|
518
515
|
return new models_1.Guid("f552852b-a987-4a37-8c93-29da62aaf9dc");
|
519
516
|
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { GuidValue, Guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
export declare class BuiltInIdentityProviderIds {
|
3
|
+
static get azureAd(): Guid;
|
4
|
+
static get omnia(): Guid;
|
5
|
+
static get ldap(): Guid;
|
6
|
+
static get defaultAd(): GuidValue;
|
7
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BuiltInIdentityProviderIds = void 0;
|
4
|
+
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
|
+
const Enums_1 = require("../Enums");
|
6
|
+
class BuiltInIdentityProviderIds {
|
7
|
+
static get azureAd() {
|
8
|
+
return new models_1.Guid("bb9f80dd-9dfa-4147-b923-7e2f8e0e7a0c");
|
9
|
+
}
|
10
|
+
static get omnia() {
|
11
|
+
return new models_1.Guid("aa000000-0000-aaaa-0000-0000000000aa");
|
12
|
+
}
|
13
|
+
static get ldap() {
|
14
|
+
return new models_1.Guid("ab5c4983-1254-44d7-87e9-72021703dfc5");
|
15
|
+
}
|
16
|
+
static get defaultAd() {
|
17
|
+
if (window.omnia?.enviroment?.backendRuntime === Enums_1.OmniaBackendRuntimes.SharePointServer) {
|
18
|
+
return this.ldap;
|
19
|
+
}
|
20
|
+
return this.azureAd;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.BuiltInIdentityProviderIds = BuiltInIdentityProviderIds;
|
@@ -5,6 +5,7 @@ import { BoolFilter } from "../Enums";
|
|
5
5
|
import { Identity } from "./Identity";
|
6
6
|
import { UserAuthenticationInformation } from "./UserIdentity";
|
7
7
|
import { MultilingualString } from "../MultilingualString";
|
8
|
+
import { IExtendedEnterprisepropertiesPropertyDefinitionSettings } from "../enterprise-properties";
|
8
9
|
export interface ResolvedIdentityCreationRequestSettings {
|
9
10
|
userRequestFormDisplaySettings: Array<UserRequestFormDisplaySetting>;
|
10
11
|
captchaEnabled: boolean;
|
@@ -65,9 +66,8 @@ export declare class IdentityCreationRequestSettings {
|
|
65
66
|
userRequestFormSettings: Array<UserRequestFormSetting>;
|
66
67
|
}
|
67
68
|
export declare class PropertyBindingDisplay {
|
68
|
-
|
69
|
-
|
70
|
-
setting: PropertyBindingSetting;
|
69
|
+
propertyDefintionSetting: IExtendedEnterprisepropertiesPropertyDefinitionSettings;
|
70
|
+
propertyBindingSetting: PropertyBindingSetting;
|
71
71
|
}
|
72
72
|
export declare class UserRequestFormSetting {
|
73
73
|
userTypeId: GuidValue;
|
@@ -2,10 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UserSortColumn = exports.DocumentDirectionSettings = exports.UserAccessibilitySettings = exports.UserPropertyBagModel = exports.ResolvedUserIdentity = exports.UserIdentity = void 0;
|
4
4
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
|
-
const Constants_1 = require("../Constants");
|
6
5
|
const Enums_1 = require("../Enums");
|
7
6
|
const ManifestIds_1 = require("../ManifestIds");
|
8
7
|
const NamedProperty_1 = require("../NamedProperty");
|
8
|
+
const BuiltInIdentityProvider_1 = require("./BuiltInIdentityProvider");
|
9
9
|
const Identity_1 = require("./Identity");
|
10
10
|
const IdentityTypes_1 = require("./IdentityTypes");
|
11
11
|
class AzureAdUserPropertyValues {
|
@@ -40,10 +40,10 @@ class ResolvedUserIdentity extends UserIdentity {
|
|
40
40
|
}, options);
|
41
41
|
}
|
42
42
|
static isAzureAdUser(resolvedUser) {
|
43
|
-
return resolvedUser?.providerId ==
|
43
|
+
return resolvedUser?.providerId == BuiltInIdentityProvider_1.BuiltInIdentityProviderIds.azureAd;
|
44
44
|
}
|
45
45
|
static isOmniaUser(resolvedUser) {
|
46
|
-
return resolvedUser?.providerId ==
|
46
|
+
return resolvedUser?.providerId == BuiltInIdentityProvider_1.BuiltInIdentityProviderIds.omnia;
|
47
47
|
}
|
48
48
|
static tryToGetAzureAdProperties(resolvedUser) {
|
49
49
|
if (!resolvedUser || !this.isAzureAdUser(resolvedUser)) {
|
package/identities/index.d.ts
CHANGED
@@ -23,6 +23,7 @@ export * from "./IdentityProviderState";
|
|
23
23
|
export * from "./IdentityProviderProperty";
|
24
24
|
export * from "./IdentityPropertySyncBinding";
|
25
25
|
export * from "./IdentityExternalMapping";
|
26
|
+
export * from "./BuiltInIdentityProvider";
|
26
27
|
export * from "./UserManagementQuery";
|
27
28
|
export * from "./GroupManagementQuery";
|
28
29
|
export * from "./ArchiveIdentityManagementQuery";
|
package/identities/index.js
CHANGED
@@ -26,6 +26,7 @@ tslib_1.__exportStar(require("./IdentityProviderState"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./IdentityProviderProperty"), exports);
|
27
27
|
tslib_1.__exportStar(require("./IdentityPropertySyncBinding"), exports);
|
28
28
|
tslib_1.__exportStar(require("./IdentityExternalMapping"), exports);
|
29
|
+
tslib_1.__exportStar(require("./BuiltInIdentityProvider"), exports);
|
29
30
|
tslib_1.__exportStar(require("./UserManagementQuery"), exports);
|
30
31
|
tslib_1.__exportStar(require("./GroupManagementQuery"), exports);
|
31
32
|
tslib_1.__exportStar(require("./ArchiveIdentityManagementQuery"), exports);
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ChartData, ChartOptions, ChartTypeRegistry } from "chart.js";
|
1
2
|
/**Shared */
|
2
3
|
declare const block: readonly ["top", "bottom"];
|
3
4
|
declare const inline: readonly ["start", "end", "left", "right"];
|
@@ -57,6 +58,12 @@ export declare const OAlignmentTypesName = "OAlignmentTypes";
|
|
57
58
|
export declare const OColumnVariantDefinitions: readonly ["default", "grid"];
|
58
59
|
export type OColumnVariants = typeof OColumnVariantDefinitions[number];
|
59
60
|
export declare const OColumnVariantsName = "OColumnVariants";
|
61
|
+
/** Chart */
|
62
|
+
export declare const OChartVariationDefinitions: readonly ["bar", "line", "pie"];
|
63
|
+
export type OChartVariants = typeof OChartVariationDefinitions[number];
|
64
|
+
export declare const OChartVariantsName = "OChartVariants";
|
65
|
+
export type OChartOptions<ChartType extends keyof ChartTypeRegistry> = ChartOptions<ChartType>;
|
66
|
+
export type OChartData<ChartType extends keyof ChartTypeRegistry> = ChartData<ChartType>;
|
60
67
|
/** Dialog */
|
61
68
|
export declare const ODialogTypeDefinitions: readonly ["save-cancel", "confirm", "ok-cancel", "default", "app", "retry"];
|
62
69
|
export type ODialogTypes = typeof ODialogTypeDefinitions[number];
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = void 0;
|
3
|
+
exports.OListItemVariantDefinitions = exports.ORatioTypesName = exports.ORatioTypeDefinitions = exports.OIconVariantsName = exports.OIconVariantDefinitions = exports.OIconAnimationsName = exports.OIconAnimationsDefinition = exports.OIconSizesName = exports.OIconSizeDefinitions = exports.OIconPresetsName = exports.OIconPresetDefinitions = exports.OPanelTypesName = exports.OPanelTypeDefinitions = exports.OPageDividerTypesName = exports.OPageDividerTypeDefinitions = exports.ODialogSizeDefinitions = exports.ODialogTypesName = exports.ODialogTypeDefinitions = exports.OChartVariantsName = exports.OChartVariationDefinitions = exports.OColumnVariantsName = exports.OColumnVariantDefinitions = exports.OAlignmentTypesName = exports.OAlignmentTypeDefinitions = exports.OColValuesName = exports.OColValueDefinitions = exports.OButtonGroupTypesName = exports.OButtonGroupTypeDefinitions = exports.OButtonVariantsName = exports.OButtonVariantDefinitions = exports.OButtonPresetsName = exports.OButtonPresetDefinitions = exports.OAlertTypesName = exports.OAlertTypeDefinitions = exports.OAppBarTypesName = exports.OAppBarTypeDefinitions = exports.OProgressSizeTypesName = exports.OProgressSizeTypeDefinitions = exports.OProgressVariantsName = exports.OProgressVariantDefinitions = exports.OProgressTypesName = exports.OProgressTypeDefinitions = exports.OSliderVariantsName = exports.OSliderVariantDefinitions = exports.ODirectionTypesName = exports.ODirectionDefinitions = exports.ONotificationSizeTypeDefinitions = exports.OContentHeightDefinitions = exports.OSizeTypesName = exports.OSizeTypeDefinitions = void 0;
|
4
|
+
exports.ORatingLengthDefinition = exports.ORatingDensityTypesName = exports.ORatingDensityDefinitions = exports.OLazyVariationDefinitions = exports.OInfiniteScrollStatusDefinitions = exports.ODraggableVariantsName = exports.ODraggableVariationDefinitions = exports.OToolbarVariantsName = exports.OToolbarVariationDefinitions = exports.OTextBoxTypesName = exports.OTextBoxTypeDefinitions = exports.OTextBoxVariantTypesName = exports.OTextBoxVariantTypeDefinitions = exports.OTabVariantsName = exports.OTabVariantDefinitions = exports.OScrollOffsetTypesName = exports.OScrollOffsetTypeDefinitions = exports.OSkeletonLoaderName = exports.OSkeletonLoaderTypeDefinitions = exports.OSelectTypesName = exports.OSelectTypeDefinitions = exports.OScrollTypesName = exports.OScrollTypeDefinitions = exports.OFlexVariantsName = exports.OFlexVariantDefinitions = exports.OVerticalAlignmentsName = exports.OVerticalAlignmentDefinitions = exports.OTabAlignmentsName = exports.OTabAlignmentDefinitions = exports.OHorizontalAlignmentsName = exports.OHorizontalAlignmentDefinitions = exports.OPanelVariantsName = exports.OPanelVariantDefinitions = exports.ORowDirectionsName = exports.ORowDirectionDefinitions = exports.OPaddingTypesName = exports.OPaddingTypeDefinitions = exports.ODividerTypesName = exports.ODividerTypeDefinitions = exports.ONavigationDrawerVariantsName = exports.ONavigationDrawerVariantDefinitions = exports.ONavigationDrawerLocationsName = exports.ONavigationDrawerLocationDefinitions = exports.OMenuLocationsName = exports.OMenuLocationDefinitions = exports.OListLineTypesName = exports.OListLineTypeDefinitions = exports.OListTypesName = exports.OListTypeDefinitions = exports.OListItemVariantsName = void 0;
|
5
|
+
exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = void 0;
|
6
6
|
/**Shared */
|
7
7
|
const block = ["top", "bottom"];
|
8
8
|
const inline = ["start", "end", "left", "right"];
|
@@ -43,6 +43,9 @@ exports.OAlignmentTypeDefinitions = ["end", "center", "start", "baseline", "stre
|
|
43
43
|
exports.OAlignmentTypesName = "OAlignmentTypes";
|
44
44
|
exports.OColumnVariantDefinitions = ["default", "grid"];
|
45
45
|
exports.OColumnVariantsName = "OColumnVariants";
|
46
|
+
/** Chart */
|
47
|
+
exports.OChartVariationDefinitions = ["bar", "line", "pie"];
|
48
|
+
exports.OChartVariantsName = "OChartVariants";
|
46
49
|
/** Dialog */
|
47
50
|
exports.ODialogTypeDefinitions = ["save-cancel", "confirm", "ok-cancel", "default", "app", "retry"];
|
48
51
|
exports.ODialogTypesName = "ODialogTypes";
|