@omnia/fx-models 8.0.0-vnext → 8.0.2-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.
- package/Constants.d.ts +2 -0
- package/Constants.js +5 -1
- package/Exposes.d.ts +1 -0
- package/Exposes.js +1 -0
- package/Feature.d.ts +4 -0
- package/ManifestIds.d.ts +3 -0
- package/ManifestIds.js +9 -0
- package/filterengine/Shared.d.ts +2 -0
- package/package.json +1 -1
- package/sidepanel/Shared.d.ts +5 -0
- package/sidepanel/Shared.js +9 -0
- package/sidepanel/index.d.ts +1 -0
- package/sidepanel/index.js +4 -0
- package/ux/SidePanelApi.d.ts +13 -0
- package/ux/SidePanelApi.js +2 -0
- package/ux/index.d.ts +1 -0
- package/ux/index.js +1 -0
package/Constants.d.ts
CHANGED
package/Constants.js
CHANGED
|
@@ -6,6 +6,7 @@ const Enums_1 = require("./Enums");
|
|
|
6
6
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
|
7
7
|
const filterengine_1 = require("./filterengine");
|
|
8
8
|
const properties_1 = require("./properties");
|
|
9
|
+
const sidepanel_1 = require("./sidepanel");
|
|
9
10
|
const propertyBindingIds = {
|
|
10
11
|
builtIn: {
|
|
11
12
|
Generic: {
|
|
@@ -72,6 +73,7 @@ exports.Constants = {
|
|
|
72
73
|
saveFilterState: false,
|
|
73
74
|
showSelectedValuesArea: false,
|
|
74
75
|
selectedValuesAreaPosition: filterengine_1.FilterEngineDefaultPosition.Top,
|
|
76
|
+
selectedDialogPosition: sidepanel_1.SidePanelPosition.Right,
|
|
75
77
|
showPropertyLabel: false,
|
|
76
78
|
maxVisibleSelections: 0,
|
|
77
79
|
outlinedStyle: false,
|
|
@@ -145,7 +147,9 @@ exports.Constants = {
|
|
|
145
147
|
omniaContentBody: "omnia-content-body",
|
|
146
148
|
omniaContentFooter: "omnia-content-footer",
|
|
147
149
|
omniaContentDialogLeft: "omnia-content-dialog-left",
|
|
148
|
-
omniaContentDialogRight: "omnia-content-dialog-right"
|
|
150
|
+
omniaContentDialogRight: "omnia-content-dialog-right",
|
|
151
|
+
omniaLeftSidePanel: "omnia-left-side-panel",
|
|
152
|
+
omniaRightSidePanel: "omnia-right-side-panel"
|
|
149
153
|
},
|
|
150
154
|
},
|
|
151
155
|
themeTargetIds: {
|
package/Exposes.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ export * from "./versionedlayout";
|
|
|
112
112
|
export * from "./filterengine";
|
|
113
113
|
export * from "@omnia/fx-models/internal-do-not-import-from-here/velcron/core/models";
|
|
114
114
|
export * from "./auth";
|
|
115
|
+
export * from "./sidepanel";
|
|
115
116
|
export * from "./FilePicker";
|
|
116
117
|
export * from "./FileIdentifier";
|
|
117
118
|
export * from "./UserAgent";
|
package/Exposes.js
CHANGED
|
@@ -124,6 +124,7 @@ tslib_1.__exportStar(require("./versionedlayout"), exports);
|
|
|
124
124
|
tslib_1.__exportStar(require("./filterengine"), exports);
|
|
125
125
|
tslib_1.__exportStar(require("@omnia/fx-models/internal-do-not-import-from-here/velcron/core/models"), exports);
|
|
126
126
|
tslib_1.__exportStar(require("./auth"), exports);
|
|
127
|
+
tslib_1.__exportStar(require("./sidepanel"), exports);
|
|
127
128
|
//************************************************************************************ */
|
|
128
129
|
// End of folder exports
|
|
129
130
|
//************************************************************************************ */
|
package/Feature.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export interface Feature {
|
|
|
29
29
|
uiOptions: FeatureUIOption;
|
|
30
30
|
hidden: boolean;
|
|
31
31
|
requiresAzureAdAppPermissions: AzureAdAppPermissionInfo[];
|
|
32
|
+
configuration: IFeatureConfiguration;
|
|
33
|
+
}
|
|
34
|
+
export interface IFeatureConfiguration {
|
|
35
|
+
readonly typeId: GuidValue;
|
|
32
36
|
}
|
|
33
37
|
export interface FeatureInstanceProperties {
|
|
34
38
|
contextParams: {
|
package/ManifestIds.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export declare class OmniaResourceManifests {
|
|
|
78
78
|
static get LinkHandlerRegistration(): Guid;
|
|
79
79
|
static get EnterpriseGlossaryRegistrationApi(): Guid;
|
|
80
80
|
static get AppProvisioningValidatorApi(): Guid;
|
|
81
|
+
static get SidePanelRegistrationApi(): Guid;
|
|
81
82
|
static get GraphClientRegistrationApi(): Guid;
|
|
82
83
|
static get SharepointClientRegistrationApi(): Guid;
|
|
83
84
|
static get FilterEngineRegistrationApi(): Guid;
|
|
@@ -268,6 +269,7 @@ export declare class OmniaWebComponentManifests {
|
|
|
268
269
|
static get FxUxSecurityTrimer(): Guid;
|
|
269
270
|
static get FxUxSpacingPicker(): Guid;
|
|
270
271
|
static get FxUxFilterEngineSettings(): Guid;
|
|
272
|
+
static get FxUxFilterEngineDialogContent(): Guid;
|
|
271
273
|
static get FxUxFilterEnginePersonPropertySettings(): Guid;
|
|
272
274
|
static get FxUxFilterEnginePersonPropertyDefaultValueInput(): Guid;
|
|
273
275
|
static get FxUxFilterEngineBooleanPropertySettings(): Guid;
|
|
@@ -370,4 +372,5 @@ export declare class OmniaWebComponentManifests {
|
|
|
370
372
|
static get SharePointUserPropertyProviderDisplay(): Guid;
|
|
371
373
|
static get SharePointUserPropertyProviderEditor(): Guid;
|
|
372
374
|
static get FxUxConnectedTenantPicker(): Guid;
|
|
375
|
+
static get FxUxSidePanel(): Guid;
|
|
373
376
|
}
|
package/ManifestIds.js
CHANGED
|
@@ -265,6 +265,9 @@ class OmniaResourceManifests {
|
|
|
265
265
|
static get AppProvisioningValidatorApi() {
|
|
266
266
|
return new models_1.Guid("814378a1-a227-4a43-9244-0769a73285bb");
|
|
267
267
|
}
|
|
268
|
+
static get SidePanelRegistrationApi() {
|
|
269
|
+
return new models_1.Guid("e72fd5dc-6085-47d7-ad9e-87ad8a1ea48c");
|
|
270
|
+
}
|
|
268
271
|
static get GraphClientRegistrationApi() {
|
|
269
272
|
return new models_1.Guid("2d1d00fa-ba8e-4f30-a42e-e3f482442ca2");
|
|
270
273
|
}
|
|
@@ -827,6 +830,9 @@ class OmniaWebComponentManifests {
|
|
|
827
830
|
static get FxUxFilterEngineSettings() {
|
|
828
831
|
return new models_1.Guid("a91d4cd2-b574-4de3-a672-110cb1cdf7ba");
|
|
829
832
|
}
|
|
833
|
+
static get FxUxFilterEngineDialogContent() {
|
|
834
|
+
return new models_1.Guid("937eab37-2066-440f-a955-51ac8cba45d7");
|
|
835
|
+
}
|
|
830
836
|
static get FxUxFilterEnginePersonPropertySettings() {
|
|
831
837
|
return new models_1.Guid("eed905b1-712c-498e-bd5b-b24f12ed10d7");
|
|
832
838
|
}
|
|
@@ -1131,5 +1137,8 @@ class OmniaWebComponentManifests {
|
|
|
1131
1137
|
static get FxUxConnectedTenantPicker() {
|
|
1132
1138
|
return new models_1.Guid("1031c576-1045-4244-90ad-29fb0f2d94d4");
|
|
1133
1139
|
}
|
|
1140
|
+
static get FxUxSidePanel() {
|
|
1141
|
+
return new models_1.Guid("539d199f-6993-4c10-a963-f142e4f3056d");
|
|
1142
|
+
}
|
|
1134
1143
|
}
|
|
1135
1144
|
exports.OmniaWebComponentManifests = OmniaWebComponentManifests;
|
package/filterengine/Shared.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { PropertyIndexedType, UserPickingType } from "../Enums";
|
|
|
4
4
|
import { Identity } from "../identities";
|
|
5
5
|
import { PromotedTagOptions } from "../PromotedTagOptions";
|
|
6
6
|
import { FilterLogicalOperator, FilterOperator } from "../QueryFilter";
|
|
7
|
+
import { SidePanelPosition } from "../sidepanel";
|
|
7
8
|
import { ITypedFilterEngineHandler } from "./ITypedFilterEngineHandler";
|
|
8
9
|
export declare enum FilterEngineRenderType {
|
|
9
10
|
Dropdown = 0,
|
|
@@ -168,6 +169,7 @@ export interface FilterEngineSettings {
|
|
|
168
169
|
saveFilterState: boolean;
|
|
169
170
|
showSelectedValuesArea: boolean;
|
|
170
171
|
selectedValuesAreaPosition: FilterEngineDefaultPosition;
|
|
172
|
+
selectedDialogPosition: SidePanelPosition;
|
|
171
173
|
showPropertyLabel: boolean;
|
|
172
174
|
maxVisibleSelections: number;
|
|
173
175
|
filterWidth: number;
|
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmallScreenBreakpoint = exports.SidePanelPosition = void 0;
|
|
4
|
+
var SidePanelPosition;
|
|
5
|
+
(function (SidePanelPosition) {
|
|
6
|
+
SidePanelPosition[SidePanelPosition["Right"] = 0] = "Right";
|
|
7
|
+
SidePanelPosition[SidePanelPosition["Left"] = 1] = "Left";
|
|
8
|
+
})(SidePanelPosition = exports.SidePanelPosition || (exports.SidePanelPosition = {}));
|
|
9
|
+
exports.SmallScreenBreakpoint = 800;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Shared";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApiPath } from "../Extends";
|
|
2
|
+
import { SidePanelPosition } from "..";
|
|
3
|
+
export interface ISidePanelElementRegistration {
|
|
4
|
+
registerElement: (element: HTMLElement, position?: SidePanelPosition) => void;
|
|
5
|
+
}
|
|
6
|
+
declare module "./UxApi" {
|
|
7
|
+
interface IOmniaUxApi {
|
|
8
|
+
sidePanel: Promise<ISidePanelElementRegistration>;
|
|
9
|
+
}
|
|
10
|
+
interface IOmniaUxExtendApiManifest {
|
|
11
|
+
sidePanel: ApiPath;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/ux/index.d.ts
CHANGED
package/ux/index.js
CHANGED
|
@@ -17,3 +17,4 @@ tslib_1.__exportStar(require("./AppManagementApi"), exports);
|
|
|
17
17
|
tslib_1.__exportStar(require("./LinkHandlerApi"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./FeatureManagementApi"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./FeatureValidatorBase"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./SidePanelApi"), exports);
|