@omnia/fx-models 8.0.159-dev → 8.0.161-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.d.ts +2 -0
- package/Constants.js +3 -1
- package/filterengine/Shared.d.ts +1 -0
- package/filterengine/Shared.js +1 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +4 -2
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronEvents.d.ts +3 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +10 -2
- package/omniasearch/OmniaRefiner.d.ts +8 -0
- package/omniasearch/OmniaRefiner.js +2 -0
- package/omniasearch/OmniaSearchUser.d.ts +34 -0
- package/omniasearch/OmniaSearchUser.js +16 -0
- package/omniasearch/PagedOmniaSearchResult.d.ts +2 -0
- package/omniasearch/SearchUserQuery.d.ts +4 -4
- package/omniasearch/SearchUserQuery.js +9 -9
- package/omniasearch/index.d.ts +2 -0
- package/omniasearch/index.js +2 -0
- package/package.json +1 -1
- package/velcron/VelcronDefinitionRegistration.d.ts +1 -1
package/Constants.d.ts
CHANGED
@@ -111,6 +111,7 @@ export declare const Constants: {
|
|
111
111
|
namespaces: {
|
112
112
|
App: string;
|
113
113
|
User: string;
|
114
|
+
Identities: string;
|
114
115
|
};
|
115
116
|
};
|
116
117
|
apps: {
|
@@ -162,6 +163,7 @@ export declare const Constants: {
|
|
162
163
|
legacyUserProfileCard: Guid;
|
163
164
|
legacyAppPermissions: Guid;
|
164
165
|
appOnlyReadAccessToSharePointTermstore: Guid;
|
166
|
+
provisionOmniaSearchUserData: Guid;
|
165
167
|
};
|
166
168
|
app: {
|
167
169
|
tableName: string;
|
package/Constants.js
CHANGED
@@ -142,6 +142,7 @@ exports.Constants = {
|
|
142
142
|
namespaces: {
|
143
143
|
App: "Omnia.Ux.App",
|
144
144
|
User: "Omnia.Ux.User",
|
145
|
+
Identities: "Omnia.Ux.Identities",
|
145
146
|
},
|
146
147
|
},
|
147
148
|
apps: {
|
@@ -192,7 +193,8 @@ exports.Constants = {
|
|
192
193
|
brokenLinkDetection: new models_1.Guid("d1b958e2-8023-4324-a538-157b8f2c57b3"),
|
193
194
|
legacyUserProfileCard: new models_1.Guid("01586ffc-5987-40d2-bf06-f97ab955a965"),
|
194
195
|
legacyAppPermissions: new models_1.Guid("36c6fe6a-d79e-4f87-9349-cff9d3e1ab71"),
|
195
|
-
appOnlyReadAccessToSharePointTermstore: new models_1.Guid("8095f802-38f0-426c-8d81-22cb22a2a019")
|
196
|
+
appOnlyReadAccessToSharePointTermstore: new models_1.Guid("8095f802-38f0-426c-8d81-22cb22a2a019"),
|
197
|
+
provisionOmniaSearchUserData: new models_1.Guid("8fc1325d-4196-406e-8dca-ebb78824896f")
|
196
198
|
},
|
197
199
|
app: {
|
198
200
|
tableName: "AppInstances",
|
package/filterengine/Shared.d.ts
CHANGED
@@ -313,6 +313,7 @@ export declare abstract class FilterEngineContext {
|
|
313
313
|
getExcludedPropertyTypeIds(): GuidValue[];
|
314
314
|
readonly abstract uniqueId: string;
|
315
315
|
readonly supportFullTextSearch: boolean;
|
316
|
+
readonly isSortableRefinementValue: boolean;
|
316
317
|
}
|
317
318
|
export declare abstract class DbQueryFilterEngineContext extends FilterEngineContext {
|
318
319
|
componentId: string;
|
package/filterengine/Shared.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IFontAwesomeIcon } from "@omnia/fx-models";
|
2
2
|
import { DynamicState } from "../DynamicState";
|
3
|
-
import { VelcronEvent, VelcronOnEditModeEvent, VelcronOnLoadEvent, VelcronOnPersistingStateEvent, VelcronOnSavingEvent } from "./VelcronEvents";
|
3
|
+
import { VelcronEvent, VelcronOnActiveEvent, VelcronOnEditModeEvent, VelcronOnLoadEvent, VelcronOnPersistingStateEvent, VelcronOnSavingEvent } from "./VelcronEvents";
|
4
4
|
/**
|
5
5
|
* Velcron definition base
|
6
6
|
*/
|
@@ -31,9 +31,11 @@ export interface VelcronSpacing {
|
|
31
31
|
bottom?: number | string;
|
32
32
|
left?: number | string;
|
33
33
|
}
|
34
|
+
export type VelcronSpacingTypes = "inner" | "layout";
|
34
35
|
interface VelcronDimensionStyling {
|
35
36
|
margin?: VelcronSpacing;
|
36
37
|
padding?: VelcronSpacing;
|
38
|
+
spacingType?: VelcronSpacingTypes;
|
37
39
|
}
|
38
40
|
export interface VelcronStyling {
|
39
41
|
margin?: number;
|
@@ -75,7 +77,7 @@ export interface VelcronAppDefinition<TState extends DynamicState = DynamicState
|
|
75
77
|
version?: string;
|
76
78
|
name?: string;
|
77
79
|
body?: Array<VelcronDefinition>;
|
78
|
-
events?: VelcronOnLoadEvent & VelcronOnEditModeEvent & VelcronOnSavingEvent & VelcronOnPersistingStateEvent;
|
80
|
+
events?: VelcronOnLoadEvent & VelcronOnEditModeEvent & VelcronOnSavingEvent & VelcronOnPersistingStateEvent & VelcronOnActiveEvent;
|
79
81
|
actions?: {
|
80
82
|
[name: string]: Array<string>;
|
81
83
|
};
|
@@ -7,6 +7,9 @@ export type VelcronOnLoadEvent = {
|
|
7
7
|
export type VelcronOnSavingEvent = {
|
8
8
|
onSaving?: Array<string>;
|
9
9
|
};
|
10
|
+
export type VelcronOnActiveEvent = {
|
11
|
+
onActive?: Array<string>;
|
12
|
+
};
|
10
13
|
export type VelcronOnPersistingStateEvent = {
|
11
14
|
onPersistState?: Array<string>;
|
12
15
|
onRestoreState?: Array<string>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint, BackgroundDefinition } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
1
|
+
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint, BackgroundDefinition, VelcronStateEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, useVelcronThemingStore } from "..";
|
@@ -35,6 +35,7 @@ export interface BuiltInComponentRenderers {
|
|
35
35
|
"rive": unknown;
|
36
36
|
"lottie": unknown;
|
37
37
|
"slide-panel": unknown;
|
38
|
+
"editor": unknown;
|
38
39
|
}
|
39
40
|
export interface ColorSchemaReference {
|
40
41
|
name: string;
|
@@ -63,7 +64,8 @@ export interface VelcronRenderContext {
|
|
63
64
|
parent?: VelcronRenderContext;
|
64
65
|
hooks?: VelcronRenderContextHooks;
|
65
66
|
eventHandlers?: VelcronRenderContextEventHandlersInstance;
|
66
|
-
|
67
|
+
$editmode?: boolean;
|
68
|
+
$active?: boolean;
|
67
69
|
disposers: Array<() => void>;
|
68
70
|
subApp?: boolean;
|
69
71
|
}
|
@@ -293,6 +295,12 @@ export interface VelcronSlidePanelDefinition extends VelcronDefinition {
|
|
293
295
|
style?: VelcronCardStyling;
|
294
296
|
events?: VelcronOnPressEvent;
|
295
297
|
}
|
298
|
+
export interface VelcronEditorDefinition extends VelcronDefinition {
|
299
|
+
type: "editor";
|
300
|
+
editor: VelcronStateEditor;
|
301
|
+
value: VelcronBindableProp<string>;
|
302
|
+
events?: VelcronOnUpdatedEvent;
|
303
|
+
}
|
296
304
|
export interface VelcronDimensions {
|
297
305
|
top: number | string;
|
298
306
|
right: number | string;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { Identity } from "../Exposes";
|
2
|
+
export interface ReindexOmniaSearchUser {
|
3
|
+
id: number;
|
4
|
+
status: ReindexOmniaSearchUserStatus;
|
5
|
+
createdAt: string;
|
6
|
+
createdBy: Identity;
|
7
|
+
modifiedAt: string;
|
8
|
+
modifiedBy: Identity;
|
9
|
+
error?: string;
|
10
|
+
resourceId?: string;
|
11
|
+
content: ReindexOmniaSearchUserLogContent;
|
12
|
+
}
|
13
|
+
export declare enum ReindexOmniaSearchUserStatus {
|
14
|
+
Unassigned = 0,
|
15
|
+
Assigned = 1,
|
16
|
+
Success = 2,
|
17
|
+
Exception = 3
|
18
|
+
}
|
19
|
+
export interface ReindexOmniaSearchUserLogResult {
|
20
|
+
total: number;
|
21
|
+
value: ReindexOmniaSearchUser[];
|
22
|
+
}
|
23
|
+
export declare enum ReindexOmniaSearchUserLogSortColumn {
|
24
|
+
Started = 1,
|
25
|
+
Ended = 2,
|
26
|
+
Status = 3
|
27
|
+
}
|
28
|
+
export interface ReindexOmniaSearchUserLogContent {
|
29
|
+
totalUserChanges: number;
|
30
|
+
totalUpdatedUsers: number;
|
31
|
+
totalDeletedUsers: number;
|
32
|
+
totalUpdatedUsersSuccess: number;
|
33
|
+
totalDeletedUsersSuccess: number;
|
34
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ReindexOmniaSearchUserLogSortColumn = exports.ReindexOmniaSearchUserStatus = void 0;
|
4
|
+
var ReindexOmniaSearchUserStatus;
|
5
|
+
(function (ReindexOmniaSearchUserStatus) {
|
6
|
+
ReindexOmniaSearchUserStatus[ReindexOmniaSearchUserStatus["Unassigned"] = 0] = "Unassigned";
|
7
|
+
ReindexOmniaSearchUserStatus[ReindexOmniaSearchUserStatus["Assigned"] = 1] = "Assigned";
|
8
|
+
ReindexOmniaSearchUserStatus[ReindexOmniaSearchUserStatus["Success"] = 2] = "Success";
|
9
|
+
ReindexOmniaSearchUserStatus[ReindexOmniaSearchUserStatus["Exception"] = 3] = "Exception";
|
10
|
+
})(ReindexOmniaSearchUserStatus || (exports.ReindexOmniaSearchUserStatus = ReindexOmniaSearchUserStatus = {}));
|
11
|
+
var ReindexOmniaSearchUserLogSortColumn;
|
12
|
+
(function (ReindexOmniaSearchUserLogSortColumn) {
|
13
|
+
ReindexOmniaSearchUserLogSortColumn[ReindexOmniaSearchUserLogSortColumn["Started"] = 1] = "Started";
|
14
|
+
ReindexOmniaSearchUserLogSortColumn[ReindexOmniaSearchUserLogSortColumn["Ended"] = 2] = "Ended";
|
15
|
+
ReindexOmniaSearchUserLogSortColumn[ReindexOmniaSearchUserLogSortColumn["Status"] = 3] = "Status";
|
16
|
+
})(ReindexOmniaSearchUserLogSortColumn || (exports.ReindexOmniaSearchUserLogSortColumn = ReindexOmniaSearchUserLogSortColumn = {}));
|
@@ -4,14 +4,14 @@ export interface SearchUserQuery {
|
|
4
4
|
hitsPerPage: number;
|
5
5
|
nextPage?: number;
|
6
6
|
sorts?: Array<SourceRelatedOmniaSortProperty>;
|
7
|
-
|
7
|
+
filters?: Array<Array<ConditionalSearchProperty>>;
|
8
8
|
refiners?: Array<SourceRelatedOmniaRefinerProperty>;
|
9
9
|
}
|
10
|
-
export interface
|
11
|
-
operator:
|
10
|
+
export interface ConditionalSearchProperty {
|
11
|
+
operator: ConditionalOperator;
|
12
12
|
sourceRelatedOmniaSearchProperty: SourceRelatedOmniaSearchProperty;
|
13
13
|
}
|
14
|
-
export declare enum
|
14
|
+
export declare enum ConditionalOperator {
|
15
15
|
Equals = 0,
|
16
16
|
GreaterThan = 1,
|
17
17
|
GreaterThanOrEqual = 2,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
(function (
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
})(
|
3
|
+
exports.ConditionalOperator = void 0;
|
4
|
+
var ConditionalOperator;
|
5
|
+
(function (ConditionalOperator) {
|
6
|
+
ConditionalOperator[ConditionalOperator["Equals"] = 0] = "Equals";
|
7
|
+
ConditionalOperator[ConditionalOperator["GreaterThan"] = 1] = "GreaterThan";
|
8
|
+
ConditionalOperator[ConditionalOperator["GreaterThanOrEqual"] = 2] = "GreaterThanOrEqual";
|
9
|
+
ConditionalOperator[ConditionalOperator["LessThan"] = 3] = "LessThan";
|
10
|
+
ConditionalOperator[ConditionalOperator["LessThanOrEqual"] = 4] = "LessThanOrEqual";
|
11
|
+
})(ConditionalOperator || (exports.ConditionalOperator = ConditionalOperator = {}));
|
package/omniasearch/index.d.ts
CHANGED
package/omniasearch/index.js
CHANGED
@@ -19,3 +19,5 @@ tslib_1.__exportStar(require("./RefinerProperty"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./SearchUserIdentity"), exports);
|
20
20
|
tslib_1.__exportStar(require("./PagedOmniaSearchResult"), exports);
|
21
21
|
tslib_1.__exportStar(require("./SearchUserQuery"), exports);
|
22
|
+
tslib_1.__exportStar(require("./OmniaRefiner"), exports);
|
23
|
+
tslib_1.__exportStar(require("./OmniaSearchUser"), exports);
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DynamicState, GuidValue, ThemeDefinitionV2, VelcronAppDefinition } from "..";
|
2
|
-
export type VelcronDefitinionRegistrationsTypes = "content" | "card" | "header" | "general" | "property" | "block-header" | "social";
|
2
|
+
export type VelcronDefitinionRegistrationsTypes = "content" | "card" | "header" | "general" | "property" | "block-header" | "social" | "spacing";
|
3
3
|
export interface VelcronDefinitionRegistration<TDefinitionState extends DynamicState = DynamicState> {
|
4
4
|
id: GuidValue;
|
5
5
|
definition: VelcronAppDefinition<TDefinitionState>;
|