@omnia/fx-models 8.0.211-dev → 8.0.213-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 +2 -1
- package/Enums.js +1 -0
- package/identities/AnonymousIdentity.d.ts +14 -0
- package/identities/AnonymousIdentity.js +15 -0
- package/identities/DynamicGroupIdentity.d.ts +5 -0
- package/identities/IdentityTypes.d.ts +2 -1
- package/identities/IdentityTypes.js +1 -0
- package/identities/InternalIdentity.js +3 -0
- package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +1 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +4 -3
- package/package.json +1 -1
package/Enums.d.ts
CHANGED
package/Enums.js
CHANGED
@@ -805,6 +805,7 @@ var PersistentDiskTypes;
|
|
805
805
|
(function (PersistentDiskTypes) {
|
806
806
|
PersistentDiskTypes["Standard"] = "Standard";
|
807
807
|
PersistentDiskTypes["Premium"] = "Premium";
|
808
|
+
PersistentDiskTypes["NFS"] = "NFS";
|
808
809
|
})(PersistentDiskTypes || (exports.PersistentDiskTypes = PersistentDiskTypes = {}));
|
809
810
|
var StatusFilter;
|
810
811
|
(function (StatusFilter) {
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
2
|
+
import { ImagePropertyDefinition, PropertyValueBinding, TextPropertyDefinition } from "../properties";
|
3
|
+
import { Identity, IResolvedIdentity } from "./Identity";
|
4
|
+
import { IdentityTypes } from "./IdentityTypes";
|
5
|
+
export declare class AnonymousIdentity extends Identity {
|
6
|
+
type: IdentityTypes;
|
7
|
+
}
|
8
|
+
export declare class ResolvedAnonymousIdentity extends AnonymousIdentity implements IResolvedIdentity {
|
9
|
+
providerId: guid;
|
10
|
+
propertyValues: PropertyValueBinding<any>[];
|
11
|
+
displayName: PropertyValueBinding<TextPropertyDefinition>;
|
12
|
+
image: PropertyValueBinding<ImagePropertyDefinition>;
|
13
|
+
isRemoved: boolean;
|
14
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResolvedAnonymousIdentity = exports.AnonymousIdentity = void 0;
|
4
|
+
const Identity_1 = require("./Identity");
|
5
|
+
const IdentityTypes_1 = require("./IdentityTypes");
|
6
|
+
class AnonymousIdentity extends Identity_1.Identity {
|
7
|
+
constructor() {
|
8
|
+
super(...arguments);
|
9
|
+
this.type = IdentityTypes_1.IdentityTypes.Anonymous;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
exports.AnonymousIdentity = AnonymousIdentity;
|
13
|
+
class ResolvedAnonymousIdentity extends AnonymousIdentity {
|
14
|
+
}
|
15
|
+
exports.ResolvedAnonymousIdentity = ResolvedAnonymousIdentity;
|
@@ -2,9 +2,14 @@ import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/m
|
|
2
2
|
import { ImagePropertyDefinition, MultilingualTextPropertyDefinition, PropertyValueBinding, TextPropertyDefinition } from "../properties";
|
3
3
|
import { Identity, IResolvedIdentity } from "./Identity";
|
4
4
|
import { IdentityTypes } from "./IdentityTypes";
|
5
|
+
import { UserType } from "./UserType";
|
5
6
|
export declare class DynamicGroupIdentity extends Identity {
|
6
7
|
type: IdentityTypes;
|
7
8
|
}
|
9
|
+
export interface DynamicGroupRuleSet {
|
10
|
+
userTypes?: UserType[];
|
11
|
+
identityTypes?: IdentityTypes[];
|
12
|
+
}
|
8
13
|
export declare class ResolvedDynamicGroupIdentity extends DynamicGroupIdentity implements IResolvedIdentity {
|
9
14
|
groupTypeId: guid;
|
10
15
|
providerId: guid;
|
@@ -8,4 +8,5 @@ var IdentityTypes;
|
|
8
8
|
IdentityTypes[IdentityTypes["Role"] = 3] = "Role";
|
9
9
|
IdentityTypes[IdentityTypes["Extension"] = 4] = "Extension";
|
10
10
|
IdentityTypes[IdentityTypes["DynamicGroup"] = 5] = "DynamicGroup";
|
11
|
+
IdentityTypes[IdentityTypes["Anonymous"] = 6] = "Anonymous";
|
11
12
|
})(IdentityTypes || (exports.IdentityTypes = IdentityTypes = {}));
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
// create separate file to prevent circular reference.
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
const AnonymousIdentity_1 = require("./AnonymousIdentity");
|
4
5
|
const DynamicGroupIdentity_1 = require("./DynamicGroupIdentity");
|
5
6
|
const ExtensionIdentity_1 = require("./ExtensionIdentity");
|
6
7
|
const GroupIdentity_1 = require("./GroupIdentity");
|
@@ -20,6 +21,8 @@ Identity_1.Identity["createIdentity"] = function (type, id) {
|
|
20
21
|
return new RoleIdentity_1.RoleIdentity(id);
|
21
22
|
case IdentityTypes_1.IdentityTypes.DynamicGroup:
|
22
23
|
return new DynamicGroupIdentity_1.DynamicGroupIdentity(id);
|
24
|
+
case IdentityTypes_1.IdentityTypes.Anonymous:
|
25
|
+
return new AnonymousIdentity_1.AnonymousIdentity(id);
|
23
26
|
default:
|
24
27
|
throw new Error(`Can't create identity for unhandled type. -> ${type}`);
|
25
28
|
}
|
@@ -49,6 +49,7 @@ export interface ComponentBlueprints extends Blueprints, BlueprintsReference {
|
|
49
49
|
tabs?: TabsBlueprints;
|
50
50
|
blocks?: ChromeBlueprints;
|
51
51
|
icons?: IconBlueprints;
|
52
|
+
chips?: ChipBlueprint;
|
52
53
|
containers?: ContainerBlueprints;
|
53
54
|
}
|
54
55
|
export interface SpacingBlueprint {
|
@@ -154,3 +155,7 @@ export interface IconBlueprint extends Blueprint {
|
|
154
155
|
color?: FillDefinitionValue;
|
155
156
|
size?: number;
|
156
157
|
}
|
158
|
+
export interface ChipBlueprint extends Blueprint {
|
159
|
+
bgColor?: FillDefinitionValue;
|
160
|
+
textColor?: FillDefinitionValue;
|
161
|
+
}
|
@@ -120,7 +120,7 @@ export interface VelcronActionWithCondition extends VelcronActionWithAutoAwait {
|
|
120
120
|
}
|
121
121
|
export interface VelcronDefinitionWithEditMode extends VelcronDefinition {
|
122
122
|
edit?: VelcronBindableProp<boolean>;
|
123
|
-
|
123
|
+
value?: VelcronBindableProp;
|
124
124
|
}
|
125
125
|
export interface VelcronColorStyling {
|
126
126
|
colorSchemaType?: string;
|
@@ -193,6 +193,7 @@ export interface VelcronFlexColumnDefinition extends VelcronDefinition, VelcronC
|
|
193
193
|
type: "column";
|
194
194
|
events?: VelcronOnPressEvent;
|
195
195
|
grow?: number;
|
196
|
+
blueprint?: ContainerBlueprint | ContainerVariant;
|
196
197
|
alignY?: VelcronVerticalAlignments;
|
197
198
|
position?: VelcronPosition;
|
198
199
|
absolute?: VelcronSpacing;
|
@@ -223,7 +224,7 @@ export declare enum VelcronImageRatios {
|
|
223
224
|
export interface VelcronImageDefinition extends VelcronDefinitionWithEditMode {
|
224
225
|
type: "image";
|
225
226
|
url?: VelcronBindableProp<string>;
|
226
|
-
|
227
|
+
value?: VelcronBindableProp<string>;
|
227
228
|
ratio?: VelcronImageRatios | string;
|
228
229
|
width?: number | string;
|
229
230
|
height?: number | string;
|
@@ -347,7 +348,7 @@ export interface VelcronReferenceDefinition extends VelcronDefinition {
|
|
347
348
|
}
|
348
349
|
export interface VelcronPropertyDefinition extends VelcronDefinitionWithEditMode {
|
349
350
|
type: "property";
|
350
|
-
|
351
|
+
value: VelcronBindableProp<string>;
|
351
352
|
}
|
352
353
|
export interface VelcronCheckboxDefinition extends VelcronDefinition {
|
353
354
|
type: "checkbox";
|