@omnia/fx 8.0.128-dev → 8.0.129-dev
Sign up to get free protection for your applications and to get access to all the features.
- package/internal-do-not-import-from-here/core/Factory.d.ts +2 -0
- package/internal-do-not-import-from-here/core/index.d.ts +2 -4
- package/internal-do-not-import-from-here/core/messaging/BuiltInTopics.d.ts +1 -1
- package/internal-do-not-import-from-here/core/messaging/index.d.ts +1 -1
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +1 -1
- package/internal-do-not-import-from-here/index.d.ts +16 -18
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/index.d.ts +0 -1
- package/internal-do-not-import-from-here/{core → shared/factory}/DefineFactory.d.ts +1 -1
- package/internal-do-not-import-from-here/{core → shared/factory}/Inject.d.ts +2 -2
- package/internal-do-not-import-from-here/{core → shared/factory}/ServiceContainer.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/factory/index.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/index.d.ts +3 -0
- package/internal-do-not-import-from-here/{core → shared}/messaging/MessageBus.d.ts +1 -1
- package/internal-do-not-import-from-here/{core → shared}/messaging/MessageBusMediator.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/messaging/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/DependencyInjection.d.ts +19 -0
- package/internal-do-not-import-from-here/shared/models/DependencyInjection.js +9 -0
- package/internal-do-not-import-from-here/shared/models/Guid.js +1 -1
- package/internal-do-not-import-from-here/shared/models/Messaging.d.ts +23 -0
- package/internal-do-not-import-from-here/shared/models/Messaging.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.js +1 -1
- package/internal-do-not-import-from-here/shared/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/index.js +2 -0
- package/internal-do-not-import-from-here/shared/utils/index.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaDefinitionPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/BlockHeader.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/GlobalHeaderStyling.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/Style.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/lock/Lock.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Css.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Spacing.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Style.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Targeting.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/radio/Radio.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/signin/identitycreationrequest/IdentityCreationRequestView.d.ts +10 -10
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/{core → shared/factory}/Injectable.d.ts +0 -0
@@ -1,11 +1,9 @@
|
|
1
|
+
export { ServiceContainer, ServiceContainerContext, defineFactory, defineInjectable, defineService, Inject, Injectable, useInject, registerInjectResolver, isInjectable, type SetupFactoryContext } from "internal/fx/shared";
|
1
2
|
export { Extend, registerApi } from "./Extend";
|
2
3
|
export * from "./Provide";
|
3
|
-
export * from "./
|
4
|
-
export * from "./Injectable";
|
5
|
-
export * from "./DefineFactory";
|
4
|
+
export * from "./Factory";
|
6
5
|
export * from "./Cookies";
|
7
6
|
export * from "./LocalStorage";
|
8
|
-
export { ServiceContainer, ServiceContainerContext } from "./ServiceContainer";
|
9
7
|
export * from "./Encoder";
|
10
8
|
export * from "./Require";
|
11
9
|
export { PublicManifestResourceLoader as ManifestResourceLoader } from "../runtime/core/ManifestResourceLoader";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OmniaHeaderMessage, PageEditModeMessage, AdminVisibility, IRouteContext, IMessageBusTopicPublishSubscriber, IMessageBusTopicSubscription, AppTitleMessage, AppProvisioningHandlerMessage, IMessageBusTopicPublication, MSTeamsChannelTabProviderMessage, NotificationMessage, NavigationNodeInitializeMessage } from "../../models";
|
2
|
-
import { MessageBusTopicMediator } from "
|
2
|
+
import { MessageBusTopicMediator } from "internal/fx/shared";
|
3
3
|
export declare class Topics {
|
4
4
|
static Admin: {
|
5
5
|
new (): {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export
|
1
|
+
export { MessageBusTopicMediator, MessageBus, SubscriptionHandler, MessageBusExposeOnlyPublication, MessageBusExposeOnlySubscription } from "internal/fx/shared";
|
2
2
|
export * from "./BuiltInTopics";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { TimePeriodSettings, TenantRegionalSettings, IIcon } from "../../models";
|
2
2
|
export declare namespace Utils {
|
3
|
-
function isNativeClass(value: any): boolean;
|
4
3
|
function asyncForEach<T>(array: Array<T>, callback: (item: T, index?: number, items?: Array<T>) => Promise<void>): Promise<void>;
|
5
4
|
function isPromise(val: any): boolean;
|
6
5
|
function isString(target: any): boolean;
|
@@ -42,6 +41,7 @@ export declare namespace Utils {
|
|
42
41
|
* Generate a new guid
|
43
42
|
*/
|
44
43
|
function generateGuid(): string;
|
44
|
+
function isNativeClass(value: any): boolean;
|
45
45
|
/**
|
46
46
|
* Validate guid value
|
47
47
|
*/
|
@@ -43,35 +43,33 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
|
|
43
43
|
OmniaContextProvider: typeof Exposes.OmniaContextProvider;
|
44
44
|
OmniaContext: typeof Exposes.OmniaContext;
|
45
45
|
ContextProviderCollection: typeof Exposes.ContextProviderCollection;
|
46
|
-
Extend: Models.IExtend;
|
47
|
-
registerApi: typeof Exposes.registerApi;
|
48
46
|
ServiceContainer: typeof Exposes.ServiceContainer;
|
49
47
|
ServiceContainerContext: typeof Exposes.ServiceContainerContext;
|
48
|
+
defineFactory: typeof Exposes.defineFactory;
|
49
|
+
defineInjectable: typeof Exposes.defineInjectable;
|
50
|
+
defineService: typeof Exposes.defineService;
|
51
|
+
Inject: typeof Exposes.Inject;
|
52
|
+
Injectable: typeof Exposes.Injectable;
|
53
|
+
useInject: typeof Exposes.useInject;
|
54
|
+
registerInjectResolver: typeof Exposes.registerInjectResolver;
|
55
|
+
isInjectable: typeof Exposes.isInjectable;
|
56
|
+
Extend: Models.IExtend;
|
57
|
+
registerApi: typeof Exposes.registerApi;
|
50
58
|
ManifestResourceLoader: typeof Exposes.ManifestResourceLoader;
|
51
59
|
Provide<T>(classType: any, constructorArgs?: T): any;
|
52
60
|
useProvide<TProvide, TConstructor>(provide: TProvide, constructorArgs?: TConstructor): TProvide extends new (...args: any) => infer P ? P : TProvide extends (...args: any) => infer P2 ? P2 : TProvide extends Object ? TProvide : never;
|
53
|
-
Inject<T_1>(classType: any, constructorArgs?: T_1): any;
|
54
|
-
useInject<TClass, TConstructor_1>(type: (new (...args: any[]) => TClass) | (() => TClass), constructorArgs?: TConstructor_1): TClass;
|
55
61
|
injectByTypeId(typeId: Models.GuidValue): any;
|
56
|
-
isInjectable(type: any): boolean;
|
57
|
-
Injectable<T_2>(options: Models.ActivationOptions): any;
|
58
|
-
defineInjectable<TFunc extends Function>(targetFunc: TFunc, options: Models.ActivationOptions): TFunc;
|
59
|
-
defineFactory<InferReturnSetup>(setup: (ctx: Exposes.SetupFactoryContext, ...args: any) => InferReturnSetup, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): () => InferReturnSetup;
|
60
|
-
defineFactory<InferReturnSetup_1, T1>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1) => InferReturnSetup_1, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1) => InferReturnSetup_1;
|
61
|
-
defineFactory<InferReturnSetup_2, T1_1, T2>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_1, param2: T2) => InferReturnSetup_2, lifetime: Models.InstanceLifetimes, typeIdentifier?: string): (param1: T1_1, param2: T2) => InferReturnSetup_2;
|
62
|
-
defineFactory<InferReturnSetup_3, T1_2, T2_1, T3>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_2, param2: T2_1, param3: T3) => InferReturnSetup_3, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1_2, param2: T2_1, param3: T3) => InferReturnSetup_3;
|
63
|
-
defineFactory<InferReturnSetup_4, T1_3, T2_2, T3_1, T4>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_3, param2: T2_2, param3: T3_1, param4: T4) => InferReturnSetup_4, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1_3, param2: T2_2, param3: T3_1, param4: T4) => InferReturnSetup_4;
|
64
|
-
defineFactory<InferReturnSetup_5, T1_4, T2_3, T3_2, T4_1, T5>(setup: (ctx: Exposes.SetupFactoryContext, param1: T1_4, param2: T2_3, param3: T3_2, param4: T4_1, param5: T5) => InferReturnSetup_5, lifetime: Models.InstanceLifetimes, typeIdentifier?: Models.GuidValue): (param1: T1_4, param2: T2_3, param3: T3_2, param4: T4_1, param5: T5) => InferReturnSetup_5;
|
65
62
|
Cookies: typeof Exposes.Cookies;
|
66
63
|
LocalStorage: typeof Exposes.LocalStorage;
|
67
64
|
Encoder: typeof Exposes.Encoder;
|
68
65
|
Require: typeof Exposes.Require;
|
69
66
|
propertyPath: <StartType, TargetType = any>() => <Path extends string>(propertyPathToCheck: Exposes.PropPathCheckTargetType<StartType, Path, TargetType>) => string;
|
70
|
-
propertyPathValue: <
|
67
|
+
propertyPathValue: <T_1, P_1 extends string>(obj: T_1, path: Exposes.PropPathCheckTargetType<T_1, P_1, Exposes.PropPathType<T_1, P_1>>) => Exposes.PropPathType<T_1, P_1>;
|
68
|
+
MessageBusTopicMediator: typeof Exposes.MessageBusTopicMediator;
|
69
|
+
MessageBus: typeof Exposes.MessageBus;
|
71
70
|
SubscriptionHandler: typeof Exposes.SubscriptionHandler;
|
72
|
-
MessageBusExposeOnlySubscription: typeof Exposes.MessageBusExposeOnlySubscription;
|
73
71
|
MessageBusExposeOnlyPublication: typeof Exposes.MessageBusExposeOnlyPublication;
|
74
|
-
|
72
|
+
MessageBusExposeOnlySubscription: typeof Exposes.MessageBusExposeOnlySubscription;
|
75
73
|
Topics: typeof Exposes.Topics;
|
76
74
|
useOmniaClient(serviceId?: Models.GuidValue): Exposes.HttpClient;
|
77
75
|
HttpContextProviderCollection: typeof Exposes.HttpContextProviderCollection;
|
@@ -102,7 +100,7 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
|
|
102
100
|
mergeLocaliation(srcObj: object, desObj: object): void;
|
103
101
|
LocalizationServiceProviders: typeof Exposes.LocalizationServiceProviders;
|
104
102
|
GraphClient: typeof Exposes.GraphClient;
|
105
|
-
createEventHook<
|
103
|
+
createEventHook<T_2 = any>(): Exposes.EventHook<T_2>;
|
106
104
|
registerVuePlugin(plugin: (((app: import("vue").App<any>, ...options: any[]) => any) & {
|
107
105
|
install?: (app: import("vue").App<any>, ...options: any[]) => any;
|
108
106
|
}) | {
|
@@ -130,5 +128,5 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
|
|
130
128
|
ApiHelper: typeof Exposes.ApiHelper;
|
131
129
|
omniaScriptApi: Exposes.IOmniaScriptApi;
|
132
130
|
Localize(namespace?: string): any;
|
133
|
-
useLocalize<
|
131
|
+
useLocalize<T_3>(namespace: string): T_3;
|
134
132
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a2892051-fd9f-4056-ae8d-30d16d48417d']","content":{"./node_modules/@omnia/fx/core/
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a2892051-fd9f-4056-ae8d-30d16d48417d']","content":{"./node_modules/@omnia/fx/core/services/IAppRouteFactory.js":{"id":"./node_modules/@omnia/fx/core/services/iapproutefactory.js","buildMeta":{"exportsType":"namespace"},"expo.js":["IAppRouteFactory"]},"./node_modules/@omnia/fx/core/services/InternalConfigurationService.js":{"id":"./node_modules/@omnia/fx/core/services/internalconfigurationservice.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalConfigurationService"]},"./node_modules/@omnia/fx-models/ManifestIds.js":{"id":"./node_modules/@omnia/fx-models/manifestids.js","buildMeta":{"exportsType":"namespace"},"expo.js":["OmniaGroupManifests","OmniaResourceManifests","OmniaService","OmniaWebComponentManifests"]},"./node_modules/@omnia/fx/ux/velcron/core/models/index.js":{"id":"./node_modules/@omnia/fx/ux/velcron/core/models/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AssignOperators","BuiltInPropertyEditorTypes","VelcronActionTypes","VelcronColorSchemasStateBinding","VelcronContentStateBinding","VelcronDataTypes","VelcronHeaderStateBinding","VelcronHorizontalAlignments","VelcronIconTypes","VelcronImageRatios","VelcronImagesStateBinding","VelcronSpacingStateBinding","VelcronStateBinding","VelcronVerticalAlignments","VelcronViewDirections"]},"./node_modules/@omnia/fx/core/services/ServiceManifestProviderInternal.js":{"id":"0688ceff-4257-4427-b385-a83d6802c509","buildMeta":{"exportsType":"namespace"},"expo.js":["ServiceManifestProviderInternal"]},"./node_modules/@omnia/fx/core/messaging/InternalTopics.js":{"id":"10407664-c0c5-438b-94b2-507d58d190af","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalTopics"]},"./node_modules/@omnia/fx/core/Extend.js":{"id":"4eeb27d5-906a-4edf-bd38-3d97048cda3d","buildMeta":{"exportsType":"namespace"},"expo.js":["Extend","InternalExtend","registerApi"]},"./node_modules/@omnia/fx/core/index.js":{"id":"97786ea9-4861-48bd-8a57-eae9bbdb4892","buildMeta":{"exportsType":"namespace"},"expo.js":["AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","Cookies","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","Inject","Injectable","LocalStorage","LocalizationServiceProviders","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaPropertyBagBase","Provide","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","WebUtils","createEventHook","defineFactory","defineInjectable","defineService","injectByTypeId","isInjectable","mergeLocaliation","propertyPath","propertyPathValue","registerApi","registerInjectResolver","useInject","useOmniaClient","useProvide"]},"./node_modules/@omnia/fx/core/http/InternalHttpPlugins.js":{"id":"b8d937e0-3fc3-4412-a469-92941b829cdb","buildMeta":{"exportsType":"namespace"},"expo.js":["HttpContextConfigPlugin","HttpRetryPlugIn"]},"./node_modules/@omnia/fx/runtime/core/InternalWebComponentBootstrapper.js":{"id":"c9f21f62-e664-44e4-8cf4-0dcbec75c4bf","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWebComponentBootstrapper"]},"./node_modules/@omnia/fx-models/index.js":{"id":"d0a145a7-d1ef-4217-aa6f-85dd18c4231d","buildMeta":{"exportsType":"namespace"}},"./node_modules/@omnia/fx/core/messaging/InternalMessageBusMediator.js":{"id":"f986d8dd-7c76-40b6-9bf8-b64ac2902642","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/runtime/core/index.js":{"id":"ff061abc-7f0e-444b-b2b9-7ff71c5842c5","buildMeta":{"exportsType":"namespace"},"expo.js":["LoadableManifest","LocalHostingService","ManifestByBackendRuntimeLoader","ManifestByClientRuntimeLoader","ManifestByElementLoader","ManifestByFeatureLoader","ManifestByLicenseLoader","ManifestByUrlLoader","ManifestByUserLoader","ManifestCombinedRuleLoader","ManifestExtendRuleLoader","ManifestPublisher","ManifestResourceLoader","ManifestSubscriber","PublicManifestResourceLoader"]}}}
|
@@ -35,7 +35,6 @@ export * from "../shared/services";
|
|
35
35
|
export * from "./AppNamingPolicyService";
|
36
36
|
export * from "./FileStorageService";
|
37
37
|
export * from "./PostService";
|
38
|
-
export * from "../shared/services";
|
39
38
|
export * from "./identities";
|
40
39
|
export * from "./TenantPreSetupService";
|
41
40
|
export * from "./ConnectedTenantService";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GuidValue, InstanceLifetimes } from "@omnia/fx-models";
|
2
|
-
import { SubscriptionHandler } from "
|
2
|
+
import { SubscriptionHandler } from "../messaging";
|
3
3
|
export interface SetupFactoryContext {
|
4
4
|
onDeactivated(fn: () => void): any;
|
5
5
|
subscriptions: SubscriptionHandler;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
type Resolver = <TClass, TConstructor>(type: Class<TClass> | (() => TClass), constructorArgs?: TConstructor) => TClass;
|
2
|
+
export declare function registerInjectResolver(resolver: Resolver): void;
|
2
3
|
/**
|
3
4
|
* Injects an instance of the specifed type. That instance maybe come from higer level relation provide it.
|
4
5
|
*
|
@@ -26,5 +27,4 @@ type Class<T> = {
|
|
26
27
|
* useInject<HttpClientConstructor>(HttpClient,{someConstructorArg1:"",someConstructorArg2})
|
27
28
|
*/
|
28
29
|
export declare function useInject<TClass, TConstructor>(type: Class<TClass> | (() => TClass), constructorArgs?: TConstructor): TClass;
|
29
|
-
export declare function injectByTypeId(typeId: GuidValue): any;
|
30
30
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Topic, TopicSettings, IMessageBusSubscriptionHandler, IMessageBusTopicSubscription, IMessageBusTopicPublishSubscriber, IMessageBusTopicPublication, TopicCreatedFunc } from "
|
1
|
+
import { Topic, TopicSettings, IMessageBusSubscriptionHandler, IMessageBusTopicSubscription, IMessageBusTopicPublishSubscriber, IMessageBusTopicPublication, TopicCreatedFunc } from "../models";
|
2
2
|
export declare class SubscriptionHandler implements IMessageBusSubscriptionHandler {
|
3
3
|
private unSubcribeHandlers;
|
4
4
|
constructor();
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export interface ActivationOptions {
|
2
|
+
lifetime?: InstanceLifetimes;
|
3
|
+
onStartup?: (type: any) => void;
|
4
|
+
createFactory?: (classType: any) => any;
|
5
|
+
onInstanceCreated?: (instance: any) => void;
|
6
|
+
onBeforeInstanceCreated?: () => void;
|
7
|
+
onDisposing?: (instance: any) => void;
|
8
|
+
}
|
9
|
+
export interface TypeDefinition extends ActivationOptions {
|
10
|
+
type: any;
|
11
|
+
}
|
12
|
+
export declare enum InstanceLifetimes {
|
13
|
+
Transient = 0,
|
14
|
+
Singleton = 1,
|
15
|
+
Scoped = 2
|
16
|
+
}
|
17
|
+
export interface IDisposable {
|
18
|
+
onDisposing: () => void;
|
19
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InstanceLifetimes = void 0;
|
4
|
+
var InstanceLifetimes;
|
5
|
+
(function (InstanceLifetimes) {
|
6
|
+
InstanceLifetimes[InstanceLifetimes["Transient"] = 0] = "Transient";
|
7
|
+
InstanceLifetimes[InstanceLifetimes["Singleton"] = 1] = "Singleton";
|
8
|
+
InstanceLifetimes[InstanceLifetimes["Scoped"] = 2] = "Scoped";
|
9
|
+
})(InstanceLifetimes || (exports.InstanceLifetimes = InstanceLifetimes = {}));
|
@@ -12,6 +12,7 @@ require("./Equals"); // ensure execute code in equals first
|
|
12
12
|
* Class to create a guid
|
13
13
|
*/
|
14
14
|
class Guid {
|
15
|
+
static { this._empty = new Guid("00000000-0000-0000-0000-000000000000"); }
|
15
16
|
static newGuid() {
|
16
17
|
return new Guid("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {
|
17
18
|
const r = Math.random() * 16 | 0;
|
@@ -57,7 +58,6 @@ class Guid {
|
|
57
58
|
}
|
58
59
|
}
|
59
60
|
exports.Guid = Guid;
|
60
|
-
Guid._empty = new Guid("00000000-0000-0000-0000-000000000000");
|
61
61
|
// only add extension methods when running in browser, not in node.js
|
62
62
|
if (globalThis.omnia) {
|
63
63
|
Object.defineProperty(String.prototype["equals"], "guid", {
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export interface TopicCreatedFunc<T> {
|
2
|
+
(created: IMessageBusTopicPublishSubscriber<T>): void;
|
3
|
+
}
|
4
|
+
export interface IMessageBusSubscriptionHandler {
|
5
|
+
/**
|
6
|
+
* Unsubscribe to the related subscription(s)
|
7
|
+
* and/or any subscriptions added using add method)
|
8
|
+
* */
|
9
|
+
unsubscribe(): any;
|
10
|
+
/**
|
11
|
+
* Adds another unsubscribe handler, all will be unsubscribed to if calling unsubscribe
|
12
|
+
* @param unSubscriptionHandler
|
13
|
+
*/
|
14
|
+
add(unSubscriptionHandler: IMessageBusSubscriptionHandler): any;
|
15
|
+
}
|
16
|
+
export interface IMessageBusTopicSubscription<T> {
|
17
|
+
subscribe: (fn: (obj: T) => void) => IMessageBusSubscriptionHandler;
|
18
|
+
}
|
19
|
+
export interface IMessageBusTopicPublication<T> {
|
20
|
+
publish: (msg: T) => void;
|
21
|
+
}
|
22
|
+
export interface IMessageBusTopicPublishSubscriber<T> extends IMessageBusTopicSubscription<T>, IMessageBusTopicPublication<T> {
|
23
|
+
}
|
@@ -2,6 +2,6 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.HubSource = void 0;
|
4
4
|
class HubSource {
|
5
|
+
static { this.Id = "eb4fde5f-4f3e-4c70-9893-3d9e048fda0c"; }
|
5
6
|
}
|
6
7
|
exports.HubSource = HubSource;
|
7
|
-
HubSource.Id = "eb4fde5f-4f3e-4c70-9893-3d9e048fda0c";
|
@@ -21,3 +21,5 @@ tslib_1.__exportStar(require("./StronglyTypedId"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./theming"), exports);
|
22
22
|
tslib_1.__exportStar(require("./hub"), exports);
|
23
23
|
tslib_1.__exportStar(require("./velcron"), exports);
|
24
|
+
tslib_1.__exportStar(require("./DependencyInjection"), exports);
|
25
|
+
tslib_1.__exportStar(require("./Messaging"), exports);
|
@@ -568,8 +568,8 @@ declare const _default: {
|
|
568
568
|
};
|
569
569
|
}>;
|
570
570
|
};
|
571
|
-
label?: string;
|
572
571
|
class?: String | String[];
|
572
|
+
label?: string;
|
573
573
|
themeDefinition?: ThemeDefinitionV2;
|
574
574
|
"v-model"?: "info" | "error" | ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | "dynamic" | ColorSchema;
|
575
575
|
"onUpdate:modelValue"?: (value: "info" | "error" | ColorSchemaTypes | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "neutral" | "background" | "dynamic" | ColorSchema) => any;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/layout/BlockHeader.d.ts
CHANGED
@@ -44,6 +44,7 @@ declare const _default: {
|
|
44
44
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
45
45
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
46
46
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
47
|
+
at: (index: number) => string;
|
47
48
|
[Symbol.iterator]: () => IterableIterator<string>;
|
48
49
|
readonly [Symbol.unscopables]: {
|
49
50
|
readonly [x: number]: boolean;
|
@@ -70,11 +71,10 @@ declare const _default: {
|
|
70
71
|
includes?: boolean;
|
71
72
|
flatMap?: boolean;
|
72
73
|
flat?: boolean;
|
74
|
+
at?: boolean;
|
73
75
|
[Symbol.iterator]?: boolean;
|
74
76
|
readonly [Symbol.unscopables]?: boolean;
|
75
|
-
at?: boolean;
|
76
77
|
};
|
77
|
-
at: (index: number) => string;
|
78
78
|
}> | Readonly<import("vue").ExtractPropTypes<{
|
79
79
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
80
80
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
@@ -122,6 +122,7 @@ declare const _default: {
|
|
122
122
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
123
123
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
124
124
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
125
|
+
at: (index: number) => string;
|
125
126
|
[Symbol.iterator]: () => IterableIterator<string>;
|
126
127
|
readonly [Symbol.unscopables]: {
|
127
128
|
readonly [x: number]: boolean;
|
@@ -148,11 +149,10 @@ declare const _default: {
|
|
148
149
|
includes?: boolean;
|
149
150
|
flatMap?: boolean;
|
150
151
|
flat?: boolean;
|
152
|
+
at?: boolean;
|
151
153
|
[Symbol.iterator]?: boolean;
|
152
154
|
readonly [Symbol.unscopables]?: boolean;
|
153
|
-
at?: boolean;
|
154
155
|
};
|
155
|
-
at: (index: number) => string;
|
156
156
|
} | import("vue").ExtractPropTypes<{
|
157
157
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
158
158
|
}>>, {} | {}, true, {}, {}, {
|
@@ -207,6 +207,7 @@ declare const _default: {
|
|
207
207
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
208
208
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
209
209
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
210
|
+
at: (index: number) => string;
|
210
211
|
[Symbol.iterator]: () => IterableIterator<string>;
|
211
212
|
readonly [Symbol.unscopables]: {
|
212
213
|
readonly [x: number]: boolean;
|
@@ -233,11 +234,10 @@ declare const _default: {
|
|
233
234
|
includes?: boolean;
|
234
235
|
flatMap?: boolean;
|
235
236
|
flat?: boolean;
|
237
|
+
at?: boolean;
|
236
238
|
[Symbol.iterator]?: boolean;
|
237
239
|
readonly [Symbol.unscopables]?: boolean;
|
238
|
-
at?: boolean;
|
239
240
|
};
|
240
|
-
at: (index: number) => string;
|
241
241
|
}> | Readonly<import("vue").ExtractPropTypes<{
|
242
242
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
243
243
|
}>>, () => JSX.Element, {}, {}, {}, {} | {}>;
|
@@ -289,6 +289,7 @@ declare const _default: {
|
|
289
289
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
290
290
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
291
291
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
292
|
+
at: (index: number) => string;
|
292
293
|
[Symbol.iterator]: () => IterableIterator<string>;
|
293
294
|
readonly [Symbol.unscopables]: {
|
294
295
|
readonly [x: number]: boolean;
|
@@ -315,11 +316,10 @@ declare const _default: {
|
|
315
316
|
includes?: boolean;
|
316
317
|
flatMap?: boolean;
|
317
318
|
flat?: boolean;
|
319
|
+
at?: boolean;
|
318
320
|
[Symbol.iterator]?: boolean;
|
319
321
|
readonly [Symbol.unscopables]?: boolean;
|
320
|
-
at?: boolean;
|
321
322
|
};
|
322
|
-
at: (index: number) => string;
|
323
323
|
}> | Readonly<import("vue").ExtractPropTypes<{
|
324
324
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
325
325
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {} | {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
@@ -368,6 +368,7 @@ declare const _default: {
|
|
368
368
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
369
369
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
370
370
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
371
|
+
at: (index: number) => string;
|
371
372
|
[Symbol.iterator]: () => IterableIterator<string>;
|
372
373
|
readonly [Symbol.unscopables]: {
|
373
374
|
readonly [x: number]: boolean;
|
@@ -394,11 +395,10 @@ declare const _default: {
|
|
394
395
|
includes?: boolean;
|
395
396
|
flatMap?: boolean;
|
396
397
|
flat?: boolean;
|
398
|
+
at?: boolean;
|
397
399
|
[Symbol.iterator]?: boolean;
|
398
400
|
readonly [Symbol.unscopables]?: boolean;
|
399
|
-
at?: boolean;
|
400
401
|
};
|
401
|
-
at: (index: number) => string;
|
402
402
|
}>, never> | Omit<Readonly<{} & {
|
403
403
|
readonly [x: string]: unknown;
|
404
404
|
readonly [x: number]: unknown;
|
@@ -44,6 +44,7 @@ declare const _default: {
|
|
44
44
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
45
45
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
46
46
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
47
|
+
at: (index: number) => string;
|
47
48
|
[Symbol.iterator]: () => IterableIterator<string>;
|
48
49
|
readonly [Symbol.unscopables]: {
|
49
50
|
readonly [x: number]: boolean;
|
@@ -70,11 +71,10 @@ declare const _default: {
|
|
70
71
|
includes?: boolean;
|
71
72
|
flatMap?: boolean;
|
72
73
|
flat?: boolean;
|
74
|
+
at?: boolean;
|
73
75
|
[Symbol.iterator]?: boolean;
|
74
76
|
readonly [Symbol.unscopables]?: boolean;
|
75
|
-
at?: boolean;
|
76
77
|
};
|
77
|
-
at: (index: number) => string;
|
78
78
|
}> | Readonly<import("vue").ExtractPropTypes<{
|
79
79
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
80
80
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
@@ -122,6 +122,7 @@ declare const _default: {
|
|
122
122
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
123
123
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
124
124
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
125
|
+
at: (index: number) => string;
|
125
126
|
[Symbol.iterator]: () => IterableIterator<string>;
|
126
127
|
readonly [Symbol.unscopables]: {
|
127
128
|
readonly [x: number]: boolean;
|
@@ -148,11 +149,10 @@ declare const _default: {
|
|
148
149
|
includes?: boolean;
|
149
150
|
flatMap?: boolean;
|
150
151
|
flat?: boolean;
|
152
|
+
at?: boolean;
|
151
153
|
[Symbol.iterator]?: boolean;
|
152
154
|
readonly [Symbol.unscopables]?: boolean;
|
153
|
-
at?: boolean;
|
154
155
|
};
|
155
|
-
at: (index: number) => string;
|
156
156
|
} | import("vue").ExtractPropTypes<{
|
157
157
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
158
158
|
}>>, {} | {}, true, {}, {}, {
|
@@ -207,6 +207,7 @@ declare const _default: {
|
|
207
207
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
208
208
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
209
209
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
210
|
+
at: (index: number) => string;
|
210
211
|
[Symbol.iterator]: () => IterableIterator<string>;
|
211
212
|
readonly [Symbol.unscopables]: {
|
212
213
|
readonly [x: number]: boolean;
|
@@ -233,11 +234,10 @@ declare const _default: {
|
|
233
234
|
includes?: boolean;
|
234
235
|
flatMap?: boolean;
|
235
236
|
flat?: boolean;
|
237
|
+
at?: boolean;
|
236
238
|
[Symbol.iterator]?: boolean;
|
237
239
|
readonly [Symbol.unscopables]?: boolean;
|
238
|
-
at?: boolean;
|
239
240
|
};
|
240
|
-
at: (index: number) => string;
|
241
241
|
}> | Readonly<import("vue").ExtractPropTypes<{
|
242
242
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
243
243
|
}>>, () => JSX.Element, {}, {}, {}, {} | {}>;
|
@@ -289,6 +289,7 @@ declare const _default: {
|
|
289
289
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
290
290
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
291
291
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
292
|
+
at: (index: number) => string;
|
292
293
|
[Symbol.iterator]: () => IterableIterator<string>;
|
293
294
|
readonly [Symbol.unscopables]: {
|
294
295
|
readonly [x: number]: boolean;
|
@@ -315,11 +316,10 @@ declare const _default: {
|
|
315
316
|
includes?: boolean;
|
316
317
|
flatMap?: boolean;
|
317
318
|
flat?: boolean;
|
319
|
+
at?: boolean;
|
318
320
|
[Symbol.iterator]?: boolean;
|
319
321
|
readonly [Symbol.unscopables]?: boolean;
|
320
|
-
at?: boolean;
|
321
322
|
};
|
322
|
-
at: (index: number) => string;
|
323
323
|
}> | Readonly<import("vue").ExtractPropTypes<{
|
324
324
|
readonly [x: string]: import("vue").Prop<unknown, unknown>;
|
325
325
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {} | {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
@@ -368,6 +368,7 @@ declare const _default: {
|
|
368
368
|
includes: (searchElement: string, fromIndex?: number) => boolean;
|
369
369
|
flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
|
370
370
|
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
371
|
+
at: (index: number) => string;
|
371
372
|
[Symbol.iterator]: () => IterableIterator<string>;
|
372
373
|
readonly [Symbol.unscopables]: {
|
373
374
|
readonly [x: number]: boolean;
|
@@ -394,11 +395,10 @@ declare const _default: {
|
|
394
395
|
includes?: boolean;
|
395
396
|
flatMap?: boolean;
|
396
397
|
flat?: boolean;
|
398
|
+
at?: boolean;
|
397
399
|
[Symbol.iterator]?: boolean;
|
398
400
|
readonly [Symbol.unscopables]?: boolean;
|
399
|
-
at?: boolean;
|
400
401
|
};
|
401
|
-
at: (index: number) => string;
|
402
402
|
}>, never> | Omit<Readonly<{} & {
|
403
403
|
readonly [x: string]: unknown;
|
404
404
|
readonly [x: number]: unknown;
|