@omnia/fx-models 8.0.156-dev → 8.0.158-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/Enums.d.ts +4 -0
- package/Enums.js +6 -1
- package/LoginLogFilter.d.ts +4 -0
- package/ManifestIds.d.ts +20 -0
- package/ManifestIds.js +60 -0
- package/filterengine/Shared.d.ts +5 -1
- package/filterengine/Shared.js +4 -0
- package/identities/UserTypeSettings.d.ts +3 -1
- package/identities/UserTypeSettings.js +2 -0
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +19 -1
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +3 -1
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +12 -16
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js +19 -19
- package/omniasearch/OmniaUserSource.d.ts +33 -0
- package/omniasearch/OmniaUserSource.js +49 -0
- package/omniasearch/PagedOmniaSearchResult.d.ts +7 -0
- package/omniasearch/PagedOmniaSearchResult.js +2 -0
- package/omniasearch/PropertySource.d.ts +8 -0
- package/omniasearch/PropertySource.js +9 -0
- package/omniasearch/RefinerProperty.d.ts +4 -0
- package/omniasearch/RefinerProperty.js +9 -0
- package/omniasearch/SearchProperty.d.ts +5 -0
- package/omniasearch/SearchProperty.js +10 -0
- package/omniasearch/SearchUserIdentity.d.ts +4 -0
- package/omniasearch/SearchUserIdentity.js +2 -0
- package/omniasearch/SearchUserQuery.d.ts +20 -0
- package/omniasearch/SearchUserQuery.js +11 -0
- package/omniasearch/SortProperty.d.ts +5 -0
- package/omniasearch/SortProperty.js +10 -0
- package/omniasearch/index.d.ts +8 -0
- package/omniasearch/index.js +8 -0
- package/package.json +1 -1
- package/properties/definitions/BirthdayPropertyDefinition.d.ts +1 -0
- package/properties/definitions/BirthdayPropertyDefinition.js +3 -2
- package/properties/definitions/BooleanPropertyDefinition.d.ts +1 -0
- package/properties/definitions/BooleanPropertyDefinition.js +3 -2
- package/properties/definitions/DatePropertyDefinition.d.ts +1 -0
- package/properties/definitions/DatePropertyDefinition.js +3 -2
- package/properties/definitions/DateTimePropertyDefinition.d.ts +1 -0
- package/properties/definitions/DateTimePropertyDefinition.js +3 -2
- package/properties/definitions/EmailPropertyDefinition.d.ts +1 -0
- package/properties/definitions/EmailPropertyDefinition.js +3 -2
- package/properties/definitions/HtmlPropertyDefinition.d.ts +1 -0
- package/properties/definitions/HtmlPropertyDefinition.js +3 -2
- package/properties/definitions/IntegerPropertyDefinition.d.ts +1 -0
- package/properties/definitions/IntegerPropertyDefinition.js +3 -2
- package/properties/definitions/LanguagePropertyDefinition.d.ts +1 -0
- package/properties/definitions/LanguagePropertyDefinition.js +3 -2
- package/properties/definitions/LinkPropertyDefinition.d.ts +1 -0
- package/properties/definitions/LinkPropertyDefinition.js +3 -2
- package/properties/definitions/MediaPropertyDefinition.d.ts +1 -0
- package/properties/definitions/MediaPropertyDefinition.js +3 -2
- package/properties/definitions/MultilineTextPropertyDefinition.d.ts +1 -0
- package/properties/definitions/MultilineTextPropertyDefinition.js +3 -2
- package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +1 -0
- package/properties/definitions/PhoneNumberPropertyDefinition.js +3 -2
- package/properties/definitions/TagsPropertyDefinition.d.ts +1 -0
- package/properties/definitions/TagsPropertyDefinition.js +3 -2
- package/properties/definitions/TimePropertyDefinition.d.ts +1 -0
- package/properties/definitions/TimePropertyDefinition.js +3 -2
package/Enums.d.ts
CHANGED
package/Enums.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.TimePeriodTypes = exports.TargetUser = exports.RedirectRuleType = exports.MultilingualScopes = exports.OmniaRoleTypes = exports.TargetResolverTypes = exports.PermissionRoles = exports.TimeFormats = exports.CompareBusinessProfilePathType = exports.StatusMessageOverlayType = exports.HttpStatusCode = exports.QueueMessageStatus = exports.StaticEndpoint = exports.ThemeType = exports.FeatureInstanceStatus = exports.RoleDefinitions = exports.Parameters = exports.ParamTypes = exports.PropertyIndexedType = exports.UserPickingType = exports.BoolFilter = exports.PrincipalTypes = exports.AppInstanceScopedQueryTypes = exports.AppInstanceStatus = exports.VideoRatio = exports.AdminNavigationBuiltInCategory = exports.AdminVisibility = exports.AuthenticationValidationStatuses = exports.IconSources = exports.IconTypes = exports.LocaleNames = exports.LanguageTags = exports.LocalizationTargetTypes = exports.BundleTargetTypes = exports.ServerManifestTypes = exports.ClientManifestTypes = exports.RuleLogicalOperator = exports.ResourceEvaluators = exports.ConsoleStateStorageMessageTypes = exports.ConsoleMessageTypes = exports.LogLevels = exports.ManifestLoadStatus = exports.LogSources = exports.AppTemplatePermissionLevel = exports.SecurityAccessType = exports.SecurityIdentities = exports.SecurityRoleScopes = exports.SecurityProviderTypes = exports.BuiltInAppInstanceInternalNames = exports.BuiltInEnterprisePropertyInternalNames = void 0;
|
4
|
-
exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpoints = exports.DisplayBreakpointCodes = exports.OmniaMimeType = exports.IdentityUserIdTypeMatch = exports.OmniaClientRuntimes = exports.OmniaBackendRuntimes = exports.PropertyEditModeElementNameType = exports.DirectionRules = exports.MediaPickerEnums = exports.PropertyArchiveType = exports.ImageSources = exports.IconSizes = exports.BlockRenderingModes = exports.LayoutCanvasModes = exports.ChromeTypes = exports.LayoutItemActions = exports.LayoutEditorModes = exports.TabbedDisplayModes = exports.TabbedIconPositions = exports.Positions = exports.BorderPositions = exports.IconPositions = exports.TextAlignment = exports.LayoutItemTypes = exports.LayoutDrawerTabs = exports.VerticalAlignments = exports.HorizontalAlignments = exports.BladeSizes = exports.ImageResolution = exports.ServiceLocatorUrlType = exports.AppInstanceAction = exports.VDataGridHeaderType = exports.VDataGridHeaderAlign = exports.ButtonSizes = exports.ButtonModes = exports.ButtonIconPosition = exports.ButtonTooltipPosition = exports.RichTextModes = void 0;
|
4
|
+
exports.StatusFilter = exports.PersistentDiskTypes = exports.CookieKeys = exports.LocalServingMessageType = exports.DisplayBreakpoints = exports.DisplayBreakpointCodes = exports.OmniaMimeType = exports.IdentityUserIdTypeMatch = exports.OmniaClientRuntimes = exports.OmniaBackendRuntimes = exports.PropertyEditModeElementNameType = exports.DirectionRules = exports.MediaPickerEnums = exports.PropertyArchiveType = exports.ImageSources = exports.IconSizes = exports.BlockRenderingModes = exports.LayoutCanvasModes = exports.ChromeTypes = exports.LayoutItemActions = exports.LayoutEditorModes = exports.TabbedDisplayModes = exports.TabbedIconPositions = exports.Positions = exports.BorderPositions = exports.IconPositions = exports.TextAlignment = exports.LayoutItemTypes = exports.LayoutDrawerTabs = exports.VerticalAlignments = exports.HorizontalAlignments = exports.BladeSizes = exports.ImageResolution = exports.ServiceLocatorUrlType = exports.AppInstanceAction = exports.VDataGridHeaderType = exports.VDataGridHeaderAlign = exports.ButtonSizes = exports.ButtonModes = exports.ButtonIconPosition = exports.ButtonTooltipPosition = exports.RichTextModes = void 0;
|
5
5
|
var BuiltInEnterprisePropertyInternalNames;
|
6
6
|
(function (BuiltInEnterprisePropertyInternalNames) {
|
7
7
|
BuiltInEnterprisePropertyInternalNames["Title"] = "title";
|
@@ -1392,3 +1392,8 @@ var PersistentDiskTypes;
|
|
1392
1392
|
PersistentDiskTypes["Standard"] = "Standard";
|
1393
1393
|
PersistentDiskTypes["Premium"] = "Premium";
|
1394
1394
|
})(PersistentDiskTypes || (exports.PersistentDiskTypes = PersistentDiskTypes = {}));
|
1395
|
+
var StatusFilter;
|
1396
|
+
(function (StatusFilter) {
|
1397
|
+
StatusFilter[StatusFilter["Success"] = 1] = "Success";
|
1398
|
+
StatusFilter[StatusFilter["Failed"] = 2] = "Failed";
|
1399
|
+
})(StatusFilter || (exports.StatusFilter = StatusFilter = {}));
|
package/LoginLogFilter.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import { StatusFilter } from "./Enums";
|
2
|
+
import { UserIdentity } from "./identities";
|
1
3
|
export interface LoginLogFilter {
|
2
4
|
fromDate?: Date;
|
3
5
|
toDate?: Date;
|
@@ -5,6 +7,8 @@ export interface LoginLogFilter {
|
|
5
7
|
pageSize?: number;
|
6
8
|
sortColumn?: LoginLogSortColumn;
|
7
9
|
sortDesc?: boolean;
|
10
|
+
status?: StatusFilter;
|
11
|
+
userIdentity?: UserIdentity;
|
8
12
|
}
|
9
13
|
export declare enum LoginLogSortColumn {
|
10
14
|
Time = 1
|
package/ManifestIds.d.ts
CHANGED
@@ -91,12 +91,26 @@ export declare class OmniaResourceManifests {
|
|
91
91
|
static get FilterEngineRegistrationApi(): Guid;
|
92
92
|
static get TaxonomyFilterEngineRegistrationApi(): Guid;
|
93
93
|
static get EnterpriseKeywordsFilterEngineRegistrationApi(): Guid;
|
94
|
+
static get ExtendedTaxonomyFilterEngineRegistrationApi(): Guid;
|
94
95
|
static get PersonFilterEngineRegistrationApi(): Guid;
|
95
96
|
static get TagsFilterEngineRegistrationApi(): Guid;
|
96
97
|
static get BooleanFilterEngineRegistrationApi(): Guid;
|
97
98
|
static get TextFilterEngineRegistrationApi(): Guid;
|
98
99
|
static get NumberFilterEngineRegistrationApi(): Guid;
|
99
100
|
static get DateTimeFilterEngineRegistrationApi(): Guid;
|
101
|
+
static get ExtendedIdentityFilterEngineRegistrationApi(): Guid;
|
102
|
+
static get ExtendedBooleanFilterEngineRegistrationApi(): Guid;
|
103
|
+
static get ExtendedTextFilterEngineRegistrationApi(): Guid;
|
104
|
+
static get ExtendedIntegerFilterEngineRegistrationApi(): Guid;
|
105
|
+
static get ExtendedDateTimeFilterEngineRegistrationApi(): Guid;
|
106
|
+
static get ExtendedDateFilterEngineRegistrationApi(): Guid;
|
107
|
+
static get ExtendedEmailFilterEngineRegistrationApi(): Guid;
|
108
|
+
static get ExtendedHtmlFilterEngineRegistrationApi(): Guid;
|
109
|
+
static get ExtendedLinkFilterEngineRegistrationApi(): Guid;
|
110
|
+
static get ExtendedMultilineTextFilterEngineRegistrationApi(): Guid;
|
111
|
+
static get ExtendedMultilingualTextFilterEngineRegistrationApi(): Guid;
|
112
|
+
static get ExtendedPhoneNumberFilterEngineRegistrationApi(): Guid;
|
113
|
+
static get ExtendedBirthdayFilterEngineRegistrationApi(): Guid;
|
100
114
|
static get AppInstanceRollupViewRegistrationApi(): Guid;
|
101
115
|
static get AppInstanceRollupViewBase(): Guid;
|
102
116
|
static get UserProfileActionHandlerApi(): Guid;
|
@@ -113,6 +127,11 @@ export declare class OmniaResourceManifests {
|
|
113
127
|
static get FxUxCommentDialog(): Guid;
|
114
128
|
static get FeaturesActivation(): Guid;
|
115
129
|
static get FxUxFilterEngineCore(): Guid;
|
130
|
+
static get FxUxBooleanFilterEngineCore(): Guid;
|
131
|
+
static get FxUxDateFilterEngineCore(): Guid;
|
132
|
+
static get FxUxNumberFilterEngineCore(): Guid;
|
133
|
+
static get FxUxPersonFilterEngineCore(): Guid;
|
134
|
+
static get FxUxTextFilterEngineCore(): Guid;
|
116
135
|
static get FxUxTaxonomyFilterEngineCore(): Guid;
|
117
136
|
static get IdentitySyncProviderApi(): Guid;
|
118
137
|
static get BuiltinSyncProvidersRegistration(): Guid;
|
@@ -392,6 +411,7 @@ export declare class OmniaWebComponentManifests {
|
|
392
411
|
static get FxUxFilterEngineDateTimePropertyDefaultValueInput(): Guid;
|
393
412
|
static get FxUxFilterEngineTaxonomyPropertySettings(): Guid;
|
394
413
|
static get FxUxFilterEngineTaxonomyPropertyDefaultValueInput(): Guid;
|
414
|
+
static get FxUxFilterEngineExtendedTaxonomyPropertyDefaultValueInput(): Guid;
|
395
415
|
static get FxUxFilterEngineNumberPropertySettings(): Guid;
|
396
416
|
static get FxUxFilterEngineNumberPropertyDefaultValueInput(): Guid;
|
397
417
|
static get FxUxFilterEngineRenderer(): Guid;
|
package/ManifestIds.js
CHANGED
@@ -299,6 +299,9 @@ class OmniaResourceManifests {
|
|
299
299
|
static get EnterpriseKeywordsFilterEngineRegistrationApi() {
|
300
300
|
return new models_1.Guid("5478f12b-8dcb-400a-85ab-4ffe5b142eac");
|
301
301
|
}
|
302
|
+
static get ExtendedTaxonomyFilterEngineRegistrationApi() {
|
303
|
+
return new models_1.Guid("a5bc8d5d-b7a1-4150-9a42-266973d34c54");
|
304
|
+
}
|
302
305
|
static get PersonFilterEngineRegistrationApi() {
|
303
306
|
return new models_1.Guid("4ab2176a-77dc-4d4d-acb7-d0bd71e5e487");
|
304
307
|
}
|
@@ -317,6 +320,45 @@ class OmniaResourceManifests {
|
|
317
320
|
static get DateTimeFilterEngineRegistrationApi() {
|
318
321
|
return new models_1.Guid("281e9ea4-1732-4ff0-8dcd-32a1891dadd8");
|
319
322
|
}
|
323
|
+
static get ExtendedIdentityFilterEngineRegistrationApi() {
|
324
|
+
return new models_1.Guid("6fd230dd-4933-4eca-adfc-04812ab20327");
|
325
|
+
}
|
326
|
+
static get ExtendedBooleanFilterEngineRegistrationApi() {
|
327
|
+
return new models_1.Guid("aaecd7ac-d64a-40dd-983c-c416491e23c4");
|
328
|
+
}
|
329
|
+
static get ExtendedTextFilterEngineRegistrationApi() {
|
330
|
+
return new models_1.Guid("a184b024-7d36-45f2-a5e0-df78af0f4d24");
|
331
|
+
}
|
332
|
+
static get ExtendedIntegerFilterEngineRegistrationApi() {
|
333
|
+
return new models_1.Guid("d252bdbd-5754-4156-a02e-20708704da4d");
|
334
|
+
}
|
335
|
+
static get ExtendedDateTimeFilterEngineRegistrationApi() {
|
336
|
+
return new models_1.Guid("ed8ab1ac-8266-47b5-bc43-f1959ba96c69");
|
337
|
+
}
|
338
|
+
static get ExtendedDateFilterEngineRegistrationApi() {
|
339
|
+
return new models_1.Guid("eba3868e-a118-4e30-8ae1-0e82fc5ba058");
|
340
|
+
}
|
341
|
+
static get ExtendedEmailFilterEngineRegistrationApi() {
|
342
|
+
return new models_1.Guid("15d31bb4-6d4c-4d34-a986-a7e2fff6b7ab");
|
343
|
+
}
|
344
|
+
static get ExtendedHtmlFilterEngineRegistrationApi() {
|
345
|
+
return new models_1.Guid("fc5eff93-2ab8-4bb2-a42f-b1d1caebcdc1");
|
346
|
+
}
|
347
|
+
static get ExtendedLinkFilterEngineRegistrationApi() {
|
348
|
+
return new models_1.Guid("2d46acc7-f723-4ef7-9775-1d09115508c3");
|
349
|
+
}
|
350
|
+
static get ExtendedMultilineTextFilterEngineRegistrationApi() {
|
351
|
+
return new models_1.Guid("13e66eef-05e2-4741-8752-e6fa03d9a1ae");
|
352
|
+
}
|
353
|
+
static get ExtendedMultilingualTextFilterEngineRegistrationApi() {
|
354
|
+
return new models_1.Guid("587e076c-4c95-4aba-ba6e-a71123b4460e");
|
355
|
+
}
|
356
|
+
static get ExtendedPhoneNumberFilterEngineRegistrationApi() {
|
357
|
+
return new models_1.Guid("212ded85-f659-45df-8c00-2c06e0dc4b18");
|
358
|
+
}
|
359
|
+
static get ExtendedBirthdayFilterEngineRegistrationApi() {
|
360
|
+
return new models_1.Guid("9edf5082-ac0a-48c5-8daf-0bccf26f2e15");
|
361
|
+
}
|
320
362
|
static get AppInstanceRollupViewRegistrationApi() {
|
321
363
|
return new models_1.Guid("0860144b-ea8e-4dc5-bed8-ce459ddc92c6");
|
322
364
|
}
|
@@ -363,6 +405,21 @@ class OmniaResourceManifests {
|
|
363
405
|
static get FxUxFilterEngineCore() {
|
364
406
|
return new models_1.Guid("234f4bf0-c7fc-4805-ada0-e413962b8a36");
|
365
407
|
}
|
408
|
+
static get FxUxBooleanFilterEngineCore() {
|
409
|
+
return new models_1.Guid("d93019e6-46ff-4ff0-a821-f4831d62adf5");
|
410
|
+
}
|
411
|
+
static get FxUxDateFilterEngineCore() {
|
412
|
+
return new models_1.Guid("97ccc4a2-197b-4355-b077-bdcaa37a65ee");
|
413
|
+
}
|
414
|
+
static get FxUxNumberFilterEngineCore() {
|
415
|
+
return new models_1.Guid("2ea250ea-379c-401d-ab18-a99a3e0af9fe");
|
416
|
+
}
|
417
|
+
static get FxUxPersonFilterEngineCore() {
|
418
|
+
return new models_1.Guid("5aeee054-ec93-4510-b078-5b58dfeb54f0");
|
419
|
+
}
|
420
|
+
static get FxUxTextFilterEngineCore() {
|
421
|
+
return new models_1.Guid("1cea0d1b-b4fc-40e9-a29c-e0b1b57351ac");
|
422
|
+
}
|
366
423
|
static get FxUxTaxonomyFilterEngineCore() {
|
367
424
|
return new models_1.Guid("15132d82-3993-4544-af09-e10d4053652c");
|
368
425
|
}
|
@@ -1196,6 +1253,9 @@ class OmniaWebComponentManifests {
|
|
1196
1253
|
static get FxUxFilterEngineTaxonomyPropertyDefaultValueInput() {
|
1197
1254
|
return new models_1.Guid("ded30c24-0e6c-4688-9558-67472a8d0a02");
|
1198
1255
|
}
|
1256
|
+
static get FxUxFilterEngineExtendedTaxonomyPropertyDefaultValueInput() {
|
1257
|
+
return new models_1.Guid("0fb3af11-82d8-49fc-89b0-4ed67949091e");
|
1258
|
+
}
|
1199
1259
|
static get FxUxFilterEngineNumberPropertySettings() {
|
1200
1260
|
return new models_1.Guid("ee09ecc9-d4fb-46de-8f1a-408e38858030");
|
1201
1261
|
}
|
package/filterengine/Shared.d.ts
CHANGED
@@ -20,7 +20,8 @@ export declare enum FilterEngineDefaultPosition {
|
|
20
20
|
}
|
21
21
|
export declare enum FilterEngineChipColorType {
|
22
22
|
Default = 0,
|
23
|
-
EnterpriseGlossary = 1
|
23
|
+
EnterpriseGlossary = 1,
|
24
|
+
Custom = 2
|
24
25
|
}
|
25
26
|
export declare enum FilterEngineBooleanOption {
|
26
27
|
No = 0,
|
@@ -288,6 +289,8 @@ export interface FilterEngineSettings {
|
|
288
289
|
roundedStyle: boolean;
|
289
290
|
filledStyle: boolean;
|
290
291
|
chipColors: FilterEngineChipColorType;
|
292
|
+
customChipTextColor: string;
|
293
|
+
customChipBackgroundColor: string;
|
291
294
|
runQueryOnLoad: boolean;
|
292
295
|
fixedFilter: boolean;
|
293
296
|
breakLine: boolean;
|
@@ -307,6 +310,7 @@ export declare abstract class FilterEngineContext {
|
|
307
310
|
constructor(componentId: string);
|
308
311
|
isRefinable(prop: BaseFilterEngineProperty): boolean;
|
309
312
|
getAvailableProperties(): EnterprisePropertyDefinition[];
|
313
|
+
getExcludedPropertyTypeIds(): GuidValue[];
|
310
314
|
readonly abstract uniqueId: string;
|
311
315
|
readonly supportFullTextSearch: boolean;
|
312
316
|
}
|
package/filterengine/Shared.js
CHANGED
@@ -19,6 +19,7 @@ var FilterEngineChipColorType;
|
|
19
19
|
(function (FilterEngineChipColorType) {
|
20
20
|
FilterEngineChipColorType[FilterEngineChipColorType["Default"] = 0] = "Default";
|
21
21
|
FilterEngineChipColorType[FilterEngineChipColorType["EnterpriseGlossary"] = 1] = "EnterpriseGlossary";
|
22
|
+
FilterEngineChipColorType[FilterEngineChipColorType["Custom"] = 2] = "Custom";
|
22
23
|
})(FilterEngineChipColorType || (exports.FilterEngineChipColorType = FilterEngineChipColorType = {}));
|
23
24
|
var FilterEngineBooleanOption;
|
24
25
|
(function (FilterEngineBooleanOption) {
|
@@ -92,6 +93,9 @@ class FilterEngineContext {
|
|
92
93
|
getAvailableProperties() {
|
93
94
|
return [];
|
94
95
|
}
|
96
|
+
getExcludedPropertyTypeIds() {
|
97
|
+
return [EnterprisePropertyDataTypeIds.Extended];
|
98
|
+
}
|
95
99
|
}
|
96
100
|
exports.FilterEngineContext = FilterEngineContext;
|
97
101
|
class DbQueryFilterEngineContext extends FilterEngineContext {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
import { ImagePropertyDefinition, LanguagePropertyDefinition, PropertyBinding, TextPropertyDefinition,
|
2
|
+
import { BusinessProfilePropertyDefinition, EmailPropertyDefinition, ImagePropertyDefinition, LanguagePropertyDefinition, PropertyBinding, TextPropertyDefinition, UserTypePropertyDefinition } from "../properties";
|
3
3
|
export interface UserTypeFormProperties {
|
4
4
|
new: FormProperties;
|
5
5
|
edit: FormProperties;
|
@@ -20,6 +20,8 @@ export declare const builtInPropertyBindings: {
|
|
20
20
|
email: PropertyBinding<EmailPropertyDefinition>;
|
21
21
|
preferredLanguage: PropertyBinding<LanguagePropertyDefinition>;
|
22
22
|
uiLanguage: PropertyBinding<LanguagePropertyDefinition>;
|
23
|
+
userType: PropertyBinding<UserTypePropertyDefinition>;
|
24
|
+
owner: PropertyBinding<BusinessProfilePropertyDefinition>;
|
23
25
|
};
|
24
26
|
};
|
25
27
|
export declare const UserTypeSettingsFactory: {
|
@@ -11,6 +11,8 @@ exports.builtInPropertyBindings = {
|
|
11
11
|
email: new properties_1.PropertyBinding(properties_1.EmailPropertyDefinition, new models_1.Guid("143d9a73-ba3d-43ff-9f6b-9808f6ca3d2b")),
|
12
12
|
preferredLanguage: new properties_1.PropertyBinding(properties_1.LanguagePropertyDefinition, new models_1.Guid("aea79130-57c9-4a8a-baa4-f2b2865a4fd7")),
|
13
13
|
uiLanguage: new properties_1.PropertyBinding(properties_1.LanguagePropertyDefinition, new models_1.Guid("5ba31954-1b4d-4578-a3cd-e62ebddc2a03")),
|
14
|
+
userType: new properties_1.PropertyBinding(properties_1.UserTypePropertyDefinition, new models_1.Guid("53546e52-3016-4233-bdf0-6ba2a29606c9")),
|
15
|
+
owner: new properties_1.PropertyBinding(properties_1.BusinessProfilePropertyDefinition, new models_1.Guid("6de8a80c-5880-45f4-b8e8-faf06da97ea1")),
|
14
16
|
},
|
15
17
|
};
|
16
18
|
const buitinUserPropertiesBindingIdList = Object.values(exports.builtInPropertyBindings.user).map(item => item.bindingId);
|
@@ -129,6 +129,11 @@ export interface BackgroundDefinition {
|
|
129
129
|
fill?: FillDefinitionValue;
|
130
130
|
border?: BorderStylingDefinition;
|
131
131
|
elevation?: number;
|
132
|
+
media?: BackgroundMedia;
|
133
|
+
}
|
134
|
+
export interface BackgroundMedia {
|
135
|
+
type: "image" | "video";
|
136
|
+
src: string;
|
132
137
|
}
|
133
138
|
export interface FillDefinition {
|
134
139
|
colors: Array<ColorValue | ColorGradientValue>;
|
@@ -1,5 +1,7 @@
|
|
1
|
+
import { ContainerBlueprint, ContainerVariant } from "./Blueprints";
|
1
2
|
import { ColorDefinition, ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes } from "./ThemeDefinitionV2";
|
2
3
|
export declare function useThemeMethods(getThemeDefinition: () => any): {
|
4
|
+
containerBlueprint: (type: ContainerVariant | ContainerBlueprint | string) => any;
|
3
5
|
colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => ColorSchema;
|
4
6
|
color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
|
5
7
|
colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => ColorDefinition;
|
@@ -1,10 +1,27 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.useThemeMethods = void 0;
|
4
|
-
//import { ThemeDefinitionInstance } from "@omnia/fx/ux";
|
5
4
|
const ThemeDefinitionV2_1 = require("./ThemeDefinitionV2");
|
6
5
|
// temp change ThemeDefinitionInstance to any because fx/shared can't reference higher level fx/ux
|
7
6
|
function useThemeMethods(getThemeDefinition) {
|
7
|
+
function containerBlueprint(type) {
|
8
|
+
if (typeof type !== "string") {
|
9
|
+
return type;
|
10
|
+
}
|
11
|
+
if (type === "variant1") {
|
12
|
+
return getThemeDefinition()?.components?.containers?.variant1;
|
13
|
+
}
|
14
|
+
if (type === "variant2") {
|
15
|
+
return getThemeDefinition()?.components?.containers?.variant2;
|
16
|
+
}
|
17
|
+
if (type === "variant3") {
|
18
|
+
return getThemeDefinition()?.components?.containers?.variant2;
|
19
|
+
}
|
20
|
+
if (type === "variant4") {
|
21
|
+
return getThemeDefinition()?.components?.containers?.variant2;
|
22
|
+
}
|
23
|
+
return null;
|
24
|
+
}
|
8
25
|
function colorSchema(colorSchemaType) {
|
9
26
|
if (colorSchemaType === ThemeDefinitionV2_1.ColorSchemaTypes.primary) {
|
10
27
|
return getThemeDefinition().colors.primary;
|
@@ -88,6 +105,7 @@ function useThemeMethods(getThemeDefinition) {
|
|
88
105
|
return colorDefinition(colorSchemaType, matchingColorType);
|
89
106
|
}
|
90
107
|
return {
|
108
|
+
containerBlueprint,
|
91
109
|
colorSchema,
|
92
110
|
color,
|
93
111
|
colorDefinition,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnPressEvent, VelcronSpacing, VelcronStyling, VelcronCustomComponentDefinition, VelcronAppDefinition, VelcronRendererResolverReference, EventHook, Future, TextBlueprint, VelcronBindableProp, ContainerBlueprint } from "
|
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";
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
4
4
|
import { DynamicState, VelcronDefinition, useVelcronThemingStore } from "..";
|
@@ -160,6 +160,7 @@ export interface VelcronFlexRowDefinition extends VelcronDefinition, VelcronColo
|
|
160
160
|
direction?: VelcronBindableProp<"row" | "row-reverse">;
|
161
161
|
absolute?: VelcronSpacing;
|
162
162
|
blueprint?: ContainerBlueprint;
|
163
|
+
background?: BackgroundDefinition;
|
163
164
|
hideOverflow?: boolean;
|
164
165
|
wrap?: boolean;
|
165
166
|
gapX?: number | string;
|
@@ -194,6 +195,7 @@ export interface VelcronTextDefinition extends VelcronDefinition, VelcronColorSt
|
|
194
195
|
editLabel?: VelcronBindableProp;
|
195
196
|
lineClamp?: VelcronBindableProp<number>;
|
196
197
|
noWrap?: VelcronBindableProp<boolean>;
|
198
|
+
wordBreak?: VelcronBindableProp<"none">;
|
197
199
|
events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
|
198
200
|
blueprint?: VelcronBindableProp<TextBlueprint>;
|
199
201
|
}
|
package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BuiltInPropertyEditorType, TextBlueprint, TypographySize, TypographyType, VelcronSpacing, VelcronStateEditor } from "
|
1
|
+
import { BuiltInPropertyEditorType, TextBlueprint, TypographySize, TypographyType, VelcronSpacing, VelcronStateEditor } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { VelcronImageRatios } from "./VelcronDefinitions";
|
3
3
|
export interface ResolvedPropertyEditor {
|
4
4
|
editor: VelcronStateEditor;
|
@@ -117,11 +117,7 @@ export interface VelcronImageState {
|
|
117
117
|
export interface VelcronStylingState {
|
118
118
|
}
|
119
119
|
export interface VelcronColorSchemasState {
|
120
|
-
main:
|
121
|
-
}
|
122
|
-
export interface VelcronColorSchemaState {
|
123
|
-
type?: string;
|
124
|
-
filled?: boolean;
|
120
|
+
main: string;
|
125
121
|
}
|
126
122
|
export declare const VelcronImagesStateBinding: {
|
127
123
|
main: {
|
@@ -153,7 +149,7 @@ export declare const VelcronHeaderStateBinding: {
|
|
153
149
|
title: {
|
154
150
|
text: string;
|
155
151
|
placeholder: string;
|
156
|
-
blueprint: import("
|
152
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
157
153
|
};
|
158
154
|
icon: string;
|
159
155
|
};
|
@@ -161,22 +157,22 @@ export declare const VelcronContentStateBinding: {
|
|
161
157
|
title: {
|
162
158
|
text: string;
|
163
159
|
placeholder: string;
|
164
|
-
blueprint: import("
|
160
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
165
161
|
};
|
166
162
|
main: {
|
167
163
|
text: string;
|
168
164
|
placeholder: string;
|
169
|
-
blueprint: import("
|
165
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
170
166
|
};
|
171
167
|
caption: {
|
172
168
|
text: string;
|
173
169
|
placeholder: string;
|
174
|
-
blueprint: import("
|
170
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
175
171
|
};
|
176
172
|
summary: {
|
177
173
|
text: string;
|
178
174
|
placeholder: string;
|
179
|
-
blueprint: import("
|
175
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
180
176
|
};
|
181
177
|
};
|
182
178
|
export declare const VelcronColorSchemasStateBinding: {
|
@@ -230,29 +226,29 @@ export declare const VelcronStateBinding: {
|
|
230
226
|
title: {
|
231
227
|
text: string;
|
232
228
|
placeholder: string;
|
233
|
-
blueprint: import("
|
229
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
234
230
|
};
|
235
231
|
main: {
|
236
232
|
text: string;
|
237
233
|
placeholder: string;
|
238
|
-
blueprint: import("
|
234
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
239
235
|
};
|
240
236
|
caption: {
|
241
237
|
text: string;
|
242
238
|
placeholder: string;
|
243
|
-
blueprint: import("
|
239
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
244
240
|
};
|
245
241
|
summary: {
|
246
242
|
text: string;
|
247
243
|
placeholder: string;
|
248
|
-
blueprint: import("
|
244
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
249
245
|
};
|
250
246
|
};
|
251
247
|
header: {
|
252
248
|
title: {
|
253
249
|
text: string;
|
254
250
|
placeholder: string;
|
255
|
-
blueprint: import("
|
251
|
+
blueprint: import("@omnia/fx-models/internal-do-not-import-from-here/shared/models").VelcronBindableProp<TextBlueprint>;
|
256
252
|
};
|
257
253
|
icon: string;
|
258
254
|
};
|
package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.VelcronStateBinding = exports.VelcronSpacingStateBinding = exports.VelcronColorSchemasStateBinding = exports.VelcronContentStateBinding = exports.VelcronHeaderStateBinding = exports.VelcronImagesStateBinding = void 0;
|
4
|
-
const
|
4
|
+
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
5
|
exports.VelcronImagesStateBinding = {
|
6
6
|
main: {
|
7
7
|
editor: "{{images.main.url}}",
|
@@ -30,38 +30,38 @@ exports.VelcronImagesStateBinding = {
|
|
30
30
|
};
|
31
31
|
exports.VelcronHeaderStateBinding = {
|
32
32
|
title: {
|
33
|
-
text: (0,
|
34
|
-
placeholder: (0,
|
35
|
-
blueprint: (0,
|
33
|
+
text: (0, models_1.velcronBind)("header.title.text"),
|
34
|
+
placeholder: (0, models_1.velcronBind)("header.title.placeholder"),
|
35
|
+
blueprint: (0, models_1.velcronBind)("content.title.blueprint")
|
36
36
|
},
|
37
|
-
icon: (0,
|
37
|
+
icon: (0, models_1.velcronBind)("header.icon")
|
38
38
|
};
|
39
39
|
exports.VelcronContentStateBinding = {
|
40
40
|
title: {
|
41
|
-
text: (0,
|
42
|
-
placeholder: (0,
|
43
|
-
blueprint: (0,
|
41
|
+
text: (0, models_1.velcronBind)("content.title.text"),
|
42
|
+
placeholder: (0, models_1.velcronBind)("content.title.placeholder"),
|
43
|
+
blueprint: (0, models_1.velcronBind)("content.title.blueprint")
|
44
44
|
},
|
45
45
|
main: {
|
46
|
-
text: (0,
|
47
|
-
placeholder: (0,
|
48
|
-
blueprint: (0,
|
46
|
+
text: (0, models_1.velcronBind)("content.main.text"),
|
47
|
+
placeholder: (0, models_1.velcronBind)("content.main.placeholder"),
|
48
|
+
blueprint: (0, models_1.velcronBind)("content.main.blueprint")
|
49
49
|
},
|
50
50
|
caption: {
|
51
|
-
text: (0,
|
52
|
-
placeholder: (0,
|
53
|
-
blueprint: (0,
|
51
|
+
text: (0, models_1.velcronBind)("content.caption.text"),
|
52
|
+
placeholder: (0, models_1.velcronBind)("content.caption.placeholder"),
|
53
|
+
blueprint: (0, models_1.velcronBind)("content.caption.blueprint")
|
54
54
|
},
|
55
55
|
summary: {
|
56
|
-
text: (0,
|
57
|
-
placeholder: (0,
|
58
|
-
blueprint: (0,
|
56
|
+
text: (0, models_1.velcronBind)("content.summary.text"),
|
57
|
+
placeholder: (0, models_1.velcronBind)("content.summary.placeholder"),
|
58
|
+
blueprint: (0, models_1.velcronBind)("content.summary.blueprint")
|
59
59
|
},
|
60
60
|
};
|
61
61
|
exports.VelcronColorSchemasStateBinding = {
|
62
62
|
main: {
|
63
|
-
type: (0,
|
64
|
-
filled: (0,
|
63
|
+
type: (0, models_1.velcronBind)("colorSchemas.main.type"),
|
64
|
+
filled: (0, models_1.velcronBind)("colorSchemas.main.filled")
|
65
65
|
}
|
66
66
|
};
|
67
67
|
exports.VelcronSpacingStateBinding = {
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { GuidValue } from "../Exposes";
|
2
|
+
import { PropertySource } from "./PropertySource";
|
3
|
+
import { RefinerProperty } from "./RefinerProperty";
|
4
|
+
import { SortProperty } from "./SortProperty";
|
5
|
+
import { SearchProperty } from "./SearchProperty";
|
6
|
+
export declare class OmniaUserSource implements PropertySource {
|
7
|
+
readonly propertySourceId: GuidValue;
|
8
|
+
constructor();
|
9
|
+
}
|
10
|
+
export declare class SourceRelatedOmniaRefinerProperty extends OmniaUserSource implements RefinerProperty {
|
11
|
+
name: string;
|
12
|
+
constructor(name: string);
|
13
|
+
}
|
14
|
+
export declare class SourceRelatedOmniaSortProperty extends OmniaUserSource implements SortProperty {
|
15
|
+
name: string;
|
16
|
+
sortDescending: boolean;
|
17
|
+
constructor(name: string, sortDescending: boolean);
|
18
|
+
}
|
19
|
+
export declare class SourceRelatedOmniaSearchProperty extends OmniaUserSource implements SearchProperty {
|
20
|
+
name: string;
|
21
|
+
values: Array<string>;
|
22
|
+
constructor(name: string, values: Array<string>);
|
23
|
+
}
|
24
|
+
export declare class UserTypeOmniaSearchProperty extends SearchProperty {
|
25
|
+
values: Array<string>;
|
26
|
+
static Named: string;
|
27
|
+
constructor(values: Array<string>);
|
28
|
+
}
|
29
|
+
export declare class UserOwnerIdOmniaSearchProperty extends SearchProperty {
|
30
|
+
values: Array<string>;
|
31
|
+
static Named: string;
|
32
|
+
constructor(values: Array<string>);
|
33
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserOwnerIdOmniaSearchProperty = exports.UserTypeOmniaSearchProperty = exports.SourceRelatedOmniaSearchProperty = exports.SourceRelatedOmniaSortProperty = exports.SourceRelatedOmniaRefinerProperty = exports.OmniaUserSource = void 0;
|
4
|
+
const SearchProperty_1 = require("./SearchProperty");
|
5
|
+
class OmniaUserSource {
|
6
|
+
constructor() {
|
7
|
+
this.propertySourceId = "df5ffc28-2172-44ec-9533-749e8534d215";
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.OmniaUserSource = OmniaUserSource;
|
11
|
+
class SourceRelatedOmniaRefinerProperty extends OmniaUserSource {
|
12
|
+
constructor(name) {
|
13
|
+
super();
|
14
|
+
this.name = name;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
exports.SourceRelatedOmniaRefinerProperty = SourceRelatedOmniaRefinerProperty;
|
18
|
+
class SourceRelatedOmniaSortProperty extends OmniaUserSource {
|
19
|
+
constructor(name, sortDescending) {
|
20
|
+
super();
|
21
|
+
this.name = name;
|
22
|
+
this.sortDescending = sortDescending;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
exports.SourceRelatedOmniaSortProperty = SourceRelatedOmniaSortProperty;
|
26
|
+
class SourceRelatedOmniaSearchProperty extends OmniaUserSource {
|
27
|
+
constructor(name, values) {
|
28
|
+
super();
|
29
|
+
this.name = name;
|
30
|
+
this.values = values;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
exports.SourceRelatedOmniaSearchProperty = SourceRelatedOmniaSearchProperty;
|
34
|
+
class UserTypeOmniaSearchProperty extends SearchProperty_1.SearchProperty {
|
35
|
+
static { this.Named = "UserType"; }
|
36
|
+
constructor(values) {
|
37
|
+
super(UserTypeOmniaSearchProperty.Named, values);
|
38
|
+
this.values = values;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
exports.UserTypeOmniaSearchProperty = UserTypeOmniaSearchProperty;
|
42
|
+
class UserOwnerIdOmniaSearchProperty extends SearchProperty_1.SearchProperty {
|
43
|
+
static { this.Named = "OwnerId"; }
|
44
|
+
constructor(values) {
|
45
|
+
super(UserOwnerIdOmniaSearchProperty.Named, values);
|
46
|
+
this.values = values;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
exports.UserOwnerIdOmniaSearchProperty = UserOwnerIdOmniaSearchProperty;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PropertySource = void 0;
|
4
|
+
class PropertySource {
|
5
|
+
constructor(propertySourceId) {
|
6
|
+
this.propertySourceId = propertySourceId;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
exports.PropertySource = PropertySource;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SearchProperty = void 0;
|
4
|
+
class SearchProperty {
|
5
|
+
constructor(name, values) {
|
6
|
+
this.name = name;
|
7
|
+
this.values = values;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
exports.SearchProperty = SearchProperty;
|