@omnia/fx 7.0.327-dev → 7.0.328-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.
Files changed (40) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/services/identities/UserService.d.ts +5 -0
  3. package/internal-do-not-import-from-here/services/identities/index.d.ts +1 -0
  4. package/internal-do-not-import-from-here/stores/Store.d.ts +0 -2
  5. package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +13 -4
  6. package/internal-do-not-import-from-here/ux/compositiontests/OptionsBlockCurrent.d.ts +0 -6
  7. package/internal-do-not-import-from-here/ux/compositiontests/stores/useNewStoreTest.d.ts +1 -6
  8. package/internal-do-not-import-from-here/ux/profilecard/ProfileCardRenderer.d.ts +19 -0
  9. package/internal-do-not-import-from-here/ux/velcron/blocks/VelcronBlock.css.d.ts +6 -0
  10. package/internal-do-not-import-from-here/ux/velcron/{tester/VelcronTester.d.ts → blocks/VelcronBlock.d.ts} +0 -0
  11. package/internal-do-not-import-from-here/ux/velcron/blocks/VelcronBlockSettings.css.d.ts +6 -0
  12. package/internal-do-not-import-from-here/ux/velcron/blocks/VelcronBlockSettings.d.ts +10 -0
  13. package/internal-do-not-import-from-here/ux/velcron/core/actions/MsGraph.d.ts +2 -0
  14. package/internal-do-not-import-from-here/ux/velcron/core/actions/MsSharePoint.d.ts +2 -0
  15. package/internal-do-not-import-from-here/ux/velcron/core/actions/index.d.ts +2 -0
  16. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.css.d.ts +69 -0
  17. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +20 -0
  18. package/internal-do-not-import-from-here/ux/velcron/editor/components/AddComponent.d.ts +2 -0
  19. package/internal-do-not-import-from-here/ux/velcron/editor/components/AddDataObject.d.ts +2 -0
  20. package/internal-do-not-import-from-here/ux/velcron/editor/components/AppExplorer.d.ts +2 -0
  21. package/internal-do-not-import-from-here/ux/velcron/editor/components/CodeEditor.d.ts +2 -0
  22. package/internal-do-not-import-from-here/ux/velcron/editor/components/EditComponentPane.d.ts +2 -0
  23. package/internal-do-not-import-from-here/ux/velcron/editor/components/EditDataPane.d.ts +2 -0
  24. package/internal-do-not-import-from-here/ux/velcron/editor/components/ShareApp.d.ts +2 -0
  25. package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-component/ConditionalStatements.d.ts +2 -0
  26. package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-component/EventsPanel.d.ts +2 -0
  27. package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-component/PropertiesPanel.d.ts +2 -0
  28. package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-component/StylingPanel.d.ts +2 -0
  29. package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-data/EditDataMemberPanel.d.ts +2 -0
  30. package/internal-do-not-import-from-here/ux/velcron/editor/models/CodeEditor.d.ts +7 -0
  31. package/internal-do-not-import-from-here/ux/velcron/editor/models/Shared.d.ts +26 -0
  32. package/internal-do-not-import-from-here/ux/velcron/editor/models/index.d.ts +2 -0
  33. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +66 -0
  34. package/internal-do-not-import-from-here/ux/velcron/editor/stores/index.d.ts +1 -0
  35. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +9 -5
  36. package/internal-do-not-import-from-here/ux/velcron/test-definitions/AppTestJson.d.ts +1 -0
  37. package/internal-do-not-import-from-here/wctypings.d.ts +8 -2
  38. package/package.json +2 -3
  39. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnimatedGif/AnimatedGifNode.d.ts +0 -5
  40. package/internal-do-not-import-from-here/ux/velcron/tester/AppTestJson.d.ts +0 -1
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","CurrentDisplayUserContext","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AppLayoutStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","DirectionRuleStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeStore","defineStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AppLayoutService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdUserService","BusinessProfileService","EnterpriseGlossaryService","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtensionsService","FileStorageService","GroupIdentityService","IdentityService","IdentitySyncProviderService","ImageProxyService","LocalizationService","ManifestService","MediaPickerService","MicrosoftStreamService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","QueryablePropertiesService","QueueService","RealtimeService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserTypeService","VersionedDataService","WebImageService"]}}}
1
+ {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","CurrentDisplayUserContext","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AppLayoutStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","DirectionRuleStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AppLayoutService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdUserService","BusinessProfileService","EnterpriseGlossaryService","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtensionsService","FileStorageService","GroupIdentityService","IdentityService","IdentitySyncProviderService","ImageProxyService","LocalizationService","ManifestService","MediaPickerService","MicrosoftStreamService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","QueryablePropertiesService","QueueService","RealtimeService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserService","UserTypeService","VersionedDataService","WebImageService"]}}}
@@ -0,0 +1,5 @@
1
+ import { GuidValue, ResolvedUserIdentity } from "../../models";
2
+ export declare class UserService {
3
+ private httpClient;
4
+ getAll: (searchText: string, userTypeId?: GuidValue, providerId?: GuidValue, pageNr?: number, pageSize?: number, sortColumn?: any, sortDesc?: boolean) => Promise<ResolvedUserIdentity[]>;
5
+ }
@@ -3,3 +3,4 @@ export * from "./IdentityService";
3
3
  export * from "./UserIdentityService";
4
4
  export * from "./GroupIdentityService";
5
5
  export * from "./IdentitySyncProviderService";
6
+ export * from "./UserService";
@@ -1,6 +1,4 @@
1
1
  import { InstanceLifetimes, GuidValue, StoreDefintion as OmniaStoreDefinition, StateMutation, MutatableState, IMessageBusSubscriptionHandler } from "../models";
2
- import { DefineStoreOptions, StateTree, StoreDefinition, _GettersTree } from "pinia";
3
- export declare function defineStore<S extends StateTree = {}, G extends _GettersTree<S> = {}, A = {}>(id: GuidValue, options: Omit<DefineStoreOptions<string, S, G, A>, "id">): StoreDefinition<string, S, G, A>;
4
2
  export declare enum StoreLogTypes {
5
3
  mutation = "Mutation",
6
4
  action = "Action"
@@ -1,16 +1,25 @@
1
- import { ComponentOptions, VueConstructor, VNode } from "vue";
1
+ import { ComponentOptions, VueConstructor, VNode, SetupContext } from "vue";
2
2
  import { ComponentPublicInstance, ShallowUnwrapRef } from "vue";
3
3
  import { WebComponentBundleManifest } from "@omnia/fx-models";
4
4
  import { RecordPropsDefinition } from "vue/types/options";
5
5
  import { PropsForOutside, RequiredPropNames, _TsxComponentInstanceV3, _TsxComponentV3 } from "vue-tsx-support/lib/api";
6
- import { SetupContext } from "vue-tsx-support/lib/vca";
6
+ import { InnerScopedSlots } from "vue-tsx-support";
7
+ import { TsxComponentTypeInfo } from "vue-tsx-support/types/base";
8
+ export declare type SetupContextExtend<PrefixedEvents = unknown, ScopedSlots = unknown, On = unknown> = SetupContext & {
9
+ slots: InnerScopedSlots<ScopedSlots>;
10
+ _tsx?: TsxComponentTypeInfo<{}, {}, PrefixedEvents, On>;
11
+ refs: {
12
+ [key: string]: Vue | Element | Vue[] | Element[];
13
+ };
14
+ readonly parent: Vue | null;
15
+ };
7
16
  export declare type CompositionComponentOptions<Props, PropsDef extends RecordPropsDefinition<Props>, PrefixedEvents, ScopedSlots, On> = {
8
17
  props?: PropsDef & RecordPropsDefinition<Props>;
9
- setup: (this: void, props: Props, ctx: SetupContext<PrefixedEvents, ScopedSlots, On>) => () => VNode | JSX.Element;
18
+ setup: (this: void, props: Props, ctx: SetupContextExtend<PrefixedEvents, ScopedSlots, On>) => () => VNode | JSX.Element;
10
19
  } & Pick<ComponentOptions<Vue>, "name" | "components" | "inheritAttrs" | "directives" | "filters">;
11
20
  export declare type CompositionComponentOptionsWithRender<Props, PropsDef extends RecordPropsDefinition<Props>, PrefixedEvents, ScopedSlots, On, RawBinding> = {
12
21
  props?: PropsDef & RecordPropsDefinition<Props>;
13
- setup: (this: void, props: Props, ctx: SetupContext<PrefixedEvents, ScopedSlots, On>) => RawBinding;
22
+ setup: (this: void, props: Props, ctx: SetupContextExtend<PrefixedEvents, ScopedSlots, On>) => RawBinding;
14
23
  render(): VNode | JSX.Element;
15
24
  } & Pick<ComponentOptions<Vue>, "name" | "components" | "inheritAttrs" | "directives" | "filters"> & ThisType<ComponentPublicInstance<Props, RawBinding>>;
16
25
  declare type _OmniaTsxComponentV3<V extends Vue, Attributes, Props, PrefixedEvents, On, ScopedSlotArgs> = VueConstructor<_TsxComponentInstanceV3<V, Attributes, Props, PrefixedEvents, On, ScopedSlotArgs>> & {
@@ -3,12 +3,6 @@ import { VueComponentBase } from "..";
3
3
  import { OldStoreTest } from "./stores";
4
4
  export declare class OptionsBlockCurrent extends VueComponentBase implements IWebComponentInstance {
5
5
  andiisTestStore: OldStoreTest;
6
- newStoreTest: import("pinia").Store<string, {
7
- counter: number;
8
- }, {}, {
9
- increment(): void;
10
- decrement(): void;
11
- }>;
12
6
  mounted(): void;
13
7
  render(): VueTsxSupport.JSX.Element;
14
8
  }
@@ -1,6 +1 @@
1
- export declare const useNewStoreTest: import("pinia").StoreDefinition<string, {
2
- counter: number;
3
- }, {}, {
4
- increment(): void;
5
- decrement(): void;
6
- }>;
1
+ export {};
@@ -0,0 +1,19 @@
1
+ import { UserIdentity } from "@omnia/fx-models";
2
+ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
+ user: UserIdentity;
4
+ removeElementAfterClosing: boolean;
5
+ }, "user">, any, any, any>> & {
6
+ propsDefinition: import("vue-tsx-support").PropsForOutside<{
7
+ user: UserIdentity;
8
+ removeElementAfterClosing: boolean;
9
+ }, "user">;
10
+ }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
11
+ user: UserIdentity;
12
+ removeElementAfterClosing: boolean;
13
+ }, "user">, any, any, any>> & {
14
+ propsDefinition: import("vue-tsx-support").PropsForOutside<{
15
+ user: UserIdentity;
16
+ removeElementAfterClosing: boolean;
17
+ }, "user">;
18
+ });
19
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ container: {
3
+ fontSize: number;
4
+ };
5
+ };
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ container: {
3
+ fontSize: number;
4
+ };
5
+ };
6
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { VelcronAppDefinition } from "../core";
2
+ export interface VelcronBlockBlockSettings {
3
+ definition: VelcronAppDefinition;
4
+ }
5
+ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
6
+ propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
7
+ }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
8
+ propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
9
+ });
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { IActionHandler } from "./IActionHandler";
2
+ export declare const msGraphGet: IActionHandler;
@@ -0,0 +1,2 @@
1
+ import { IActionHandler } from "./IActionHandler";
2
+ export declare const msSp: IActionHandler;
@@ -6,3 +6,5 @@ export * from "./ActionResults";
6
6
  export * from "./Array";
7
7
  export * from "./Alert";
8
8
  export * from "./Log";
9
+ export * from "./MsGraph";
10
+ export * from "./MsSharePoint";
@@ -0,0 +1,69 @@
1
+ declare const _default: {
2
+ container: {
3
+ fontSize: number;
4
+ };
5
+ editorItemStyle: {
6
+ $nest: {
7
+ "&:hover": {
8
+ cursor: "pointer";
9
+ };
10
+ };
11
+ };
12
+ darkBg: {
13
+ backgroundColor: "#1e1e1e";
14
+ };
15
+ darkBgContrast: {
16
+ backgroundColor: "#1d2428";
17
+ };
18
+ monacoContainer: {
19
+ height: string;
20
+ };
21
+ leftNavContainer: {
22
+ backgroundColor: "#1e1e1e";
23
+ height: string;
24
+ width: number;
25
+ };
26
+ contentContainer: {
27
+ backgroundColor: "#1e1e1e";
28
+ position: "absolute";
29
+ marginLeft: number;
30
+ width: string;
31
+ height: string;
32
+ };
33
+ panesWrapper: (dark: any) => {
34
+ $nest: {
35
+ "& .splitpanes__splitter": {
36
+ backgroundColor: "rgba(255,255,255,0.20)!important" | "rgba(255,255,255,0.9)!important";
37
+ borderLeft: string;
38
+ width: string;
39
+ };
40
+ };
41
+ };
42
+ treeViewWrapper: {
43
+ $nest: {
44
+ "& .v-treeview-node__level": {
45
+ width: string;
46
+ };
47
+ };
48
+ };
49
+ treeItem: {
50
+ $nest: {
51
+ "&:hover .contextmenu": {
52
+ display: "inline-block";
53
+ };
54
+ };
55
+ };
56
+ treeContextMenu: {
57
+ display: "none";
58
+ $nest: {
59
+ "&:hover": {
60
+ cursor: "pointer";
61
+ };
62
+ };
63
+ };
64
+ toolBarPosition: {
65
+ marginLeft: string;
66
+ marginRight: string;
67
+ };
68
+ };
69
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { VelcronAppDefinition } from "../core";
2
+ export declare type DefinitionChanged = (definition: VelcronAppDefinition) => void;
3
+ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
4
+ definition: VelcronAppDefinition;
5
+ definitionChanged: DefinitionChanged;
6
+ }, "definition">, any, any, any>> & {
7
+ propsDefinition: import("vue-tsx-support").PropsForOutside<{
8
+ definition: VelcronAppDefinition;
9
+ definitionChanged: DefinitionChanged;
10
+ }, "definition">;
11
+ }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<{
12
+ definition: VelcronAppDefinition;
13
+ definitionChanged: DefinitionChanged;
14
+ }, "definition">, any, any, any>> & {
15
+ propsDefinition: import("vue-tsx-support").PropsForOutside<{
16
+ definition: VelcronAppDefinition;
17
+ definitionChanged: DefinitionChanged;
18
+ }, "definition">;
19
+ });
20
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export declare enum codeEditorTabs {
2
+ "ui" = 0,
3
+ "model" = 1
4
+ }
5
+ export interface CodeEditorState {
6
+ currentTab: codeEditorTabs;
7
+ }
@@ -0,0 +1,26 @@
1
+ import { VelcronAppDataDescriptor, VelcronDataMemberDescriptor } from "./BuiltInDescriptors";
2
+ import { VelcronAppDefinition, VelcronDefinition, VelcronDescriptor } from "../../core/models";
3
+ export interface AppTreeItem {
4
+ key: string;
5
+ name: string;
6
+ definition: VelcronAppDefinition | VelcronDefinition;
7
+ items: Array<AppTreeItem>;
8
+ parent: AppTreeItem;
9
+ icon: string;
10
+ descriptor: VelcronDescriptor;
11
+ }
12
+ export interface DataMemberAppTreeItem extends AppTreeItem {
13
+ propertyName: string;
14
+ value: any;
15
+ items: Array<DataMemberAppTreeItem>;
16
+ parent: DataMemberAppTreeItem;
17
+ descriptor: VelcronDataMemberDescriptor | VelcronAppDataDescriptor;
18
+ }
19
+ export interface AppValidationState {
20
+ isAppValid: boolean;
21
+ validationMessage: string;
22
+ }
23
+ export declare enum editorModes {
24
+ "layers" = 0,
25
+ "code" = 1
26
+ }
@@ -1 +1,3 @@
1
1
  export * from "./BuiltInDescriptors";
2
+ export * from "./CodeEditor";
3
+ export * from "./Shared";
@@ -0,0 +1,66 @@
1
+ import { Store } from "@omnia/fx/stores";
2
+ import { VelcronAppDefinition, VelcronDefinition, VelcronComponentDescriptor } from "../../core";
3
+ import { AppValidationState, CodeEditorState, codeEditorTabs, editorModes, AppTreeItem, DataMemberAppTreeItem } from "../models";
4
+ export declare class VelcronEditorStore extends Store {
5
+ appAsJson: import("@omnia/fx/stores").StoreState<string>;
6
+ appData: import("@omnia/fx/stores").StoreState<object>;
7
+ app: import("@omnia/fx/stores").StoreState<VelcronAppDefinition>;
8
+ appCacheKey: import("@omnia/fx/stores").StoreState<string>;
9
+ appTree: import("@omnia/fx/stores").StoreState<AppTreeItem[]>;
10
+ editorMode: import("@omnia/fx/stores").StoreState<editorModes>;
11
+ selectedAppTreeItem: import("@omnia/fx/stores").StoreState<AppTreeItem>;
12
+ selectedAppTreeItemToCopy: import("@omnia/fx/stores").StoreState<AppTreeItem>;
13
+ history: import("@omnia/fx/stores").StoreState<string[]>;
14
+ showAddComponent: import("@omnia/fx/stores").StoreState<boolean>;
15
+ showAddDataObject: import("@omnia/fx/stores").StoreState<boolean>;
16
+ showShare: import("@omnia/fx/stores").StoreState<boolean>;
17
+ codeEditor: import("@omnia/fx/stores").StoreState<CodeEditorState>;
18
+ validation: import("@omnia/fx/stores").StoreState<AppValidationState>;
19
+ builtInComponentDescriptions: import("@omnia/fx/stores").StoreState<{
20
+ [name: string]: VelcronComponentDescriptor;
21
+ }>;
22
+ constructor();
23
+ /**
24
+ * Implementation of getters
25
+ */
26
+ getters: {
27
+ getApp: () => any;
28
+ };
29
+ /**
30
+ * Implementation of mutations
31
+ */
32
+ mutations: {
33
+ appJson: (newState: string) => void;
34
+ persistState: (jsonCode: string) => void;
35
+ appTree: (newState: Array<AppTreeItem>) => void;
36
+ appValidation: (newState: AppValidationState) => void;
37
+ codeEditorTab: (newState: codeEditorTabs) => void;
38
+ editorMode: (newState: editorModes) => void;
39
+ syncState: () => void;
40
+ setSelectedAppTreeItem: (appTreeItem: AppTreeItem) => void;
41
+ showAddComponent: (show: boolean) => void;
42
+ showShare: (show: boolean) => void;
43
+ showAddDataObject: (show: boolean) => void;
44
+ addComponent: (target: AppTreeItem, descriptor: VelcronComponentDescriptor, definition?: VelcronDefinition) => void;
45
+ deleteComponent: (target: AppTreeItem) => void;
46
+ addDataMember: (target: DataMemberAppTreeItem, propertyName: string, value: any) => void;
47
+ deleteDataMember: (target: DataMemberAppTreeItem) => void;
48
+ renameDataMember: (target: DataMemberAppTreeItem, newName: string) => void;
49
+ updateDataMemberValue: (target: DataMemberAppTreeItem, newValue: any) => void;
50
+ copyComponent: (target: AppTreeItem) => void;
51
+ pasteComponent: (target: AppTreeItem) => void;
52
+ reloadApp: () => void;
53
+ updateHistory: () => void;
54
+ };
55
+ /**
56
+ * Implementation of actions
57
+ */
58
+ actions: {};
59
+ private buildUiTree;
60
+ private buildDataMembersRecursive;
61
+ private buildDefinitionTreeRecursive;
62
+ private getDataMemberDescriptor;
63
+ private getComponentDescriptor;
64
+ onActivated(): void;
65
+ onDisposing(): void;
66
+ }
@@ -0,0 +1 @@
1
+ export * from "./VelcronEditorStore";
@@ -1,15 +1,19 @@
1
- import { VelcronAppDefinition } from "../core";
1
+ import { VelcronAppDefinition, VelcronRenderContext } from "../core";
2
2
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
3
  definition: VelcronAppDefinition;
4
- }, never>, any, any, any>> & {
4
+ context: VelcronRenderContext;
5
+ }, "definition">, any, any, any>> & {
5
6
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
6
7
  definition: VelcronAppDefinition;
7
- }, never>;
8
+ context: VelcronRenderContext;
9
+ }, "definition">;
8
10
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
9
11
  definition: VelcronAppDefinition;
10
- }, never>, any, any, any>> & {
12
+ context: VelcronRenderContext;
13
+ }, "definition">, any, any, any>> & {
11
14
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
12
15
  definition: VelcronAppDefinition;
13
- }, never>;
16
+ context: VelcronRenderContext;
17
+ }, "definition">;
14
18
  });
15
19
  export default _default;
@@ -0,0 +1 @@
1
+ export declare const appJson = "\n\n{\n \"type\": \"App\",\n \"body\": [\n {\n \"type\": \"Text\",\n \"text\": \"My name is: ${me.displayName}\",\n \"name\": \"Name\",\n \"color\": \"#c719d2\",\n \"size\": 27\n },\n {\n \"type\": \"Button\",\n \"text\": \"Load Me!\",\n \"events\": {\n \"onPress\": [\n \"me = @msgraph.get('/v1.0/me') => @log.info($state.me)\"\n ]\n }\n },\n {\n \"type\": \"Text\",\n \"text\": \"SP Web title is: ${web.Title}\",\n \"name\": \"Name\",\n \"color\": \"#c719d2\",\n \"size\": 27\n },\n {\n \"type\": \"Button\",\n \"text\": \"Load Web!\",\n \"events\": {\n \"onPress\": [\n \"web = @mssp.get('/_api/web') => @log.info($state.web)\"\n ]\n }\n }\n ],\n \"state\": {\n \"test\": \"Nisse\",\n \"items\": [],\n \"me\": {},\n \"web\": {},\n \"showDialog\": false\n }\n}\n \n\n";
@@ -31,6 +31,7 @@ import wc6c2ac8bf4da44a2b8e544eaf5b42099f from './ux/limited-label/LimitedLabel'
31
31
  import wc7f06e68f94904b48b827b23acd148bec from './ux/optionpicker/OptionPicker';
32
32
  import wcb6ddbf2c41224cd29b92fcecbbdd31a0 from './ux/playground_test/Play2Component';
33
33
  import wc1a58948a606a42078da3fb919cc4f7e6 from './ux/presetupwizard/PreSetupWizard';
34
+ import wc6d1d84cb210643c59ca8437fc36c75a1 from './ux/profilecard/ProfileCardRenderer';
34
35
  import wc916c23c53dbf4d5a8e421e9449c6b203 from './ux/properties/builtins/birthday/BirthdayDisplay';
35
36
  import wc644e39fe6d4f4e23b1777aefd9c23939 from './ux/properties/builtins/birthday/BirthdayEditor';
36
37
  import wc5666ffa15ff14a64bac8854da534ff16 from './ux/properties/builtins/date-time/DateTimeDisplay';
@@ -68,8 +69,10 @@ import wc0776a5c7422d41c98bd7e310839411d8 from './ux/testpropertyblock/PropertyC
68
69
  import wc21a1f20b3d404602853049c1c8b8da2f from './ux/userpresence/UserPresence';
69
70
  import wc30289e2b58ff48b0aabb3cb3732c3038 from './ux/usertypelayout/UserTypeLayoutRenderer';
70
71
  import wc5b26d2a399c041f3beae9c1115d6e8d8 from './ux/usertypelayout/UserTypeLayoutBladeBuilder';
72
+ import wc80bd5b0978ea40439001d3d409236382 from './ux/velcron/blocks/VelcronBlock';
73
+ import wce8526e8ed3f74e848e0dd747fd4d376d from './ux/velcron/blocks/VelcronBlockSettings';
74
+ import wcc75ffd4cf2f14b6685c5c2d894fdf00f from './ux/velcron/editor/VelcronEditor';
71
75
  import wc3dd4d94bcc254f9fac2100a3ff84dc7e from './ux/velcron/renderer/VelcronRenderer';
72
- import wccdb0ecd9a7f741a994fba82a78b297ef from './ux/velcron/tester/VelcronTester';
73
76
  declare global {
74
77
  namespace VueTsxSupport.JSX {
75
78
  interface Element {
@@ -108,6 +111,7 @@ declare global {
108
111
  "omfx-option-picker": base.CombinedTsxComponentAttrs<typeof wc7f06e68f94904b48b827b23acd148bec.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
109
112
  "omnia-play-2": base.CombinedTsxComponentAttrs<typeof wcb6ddbf2c41224cd29b92fcecbbdd31a0.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
110
113
  "omfx-presetup-wizard": base.CombinedTsxComponentAttrs<typeof wc1a58948a606a42078da3fb919cc4f7e6.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
114
+ "omfx-profilecard-renderer": base.CombinedTsxComponentAttrs<typeof wc6d1d84cb210643c59ca8437fc36c75a1.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
111
115
  "omfx-properties-birthday-display": base.CombinedTsxComponentAttrs<typeof wc916c23c53dbf4d5a8e421e9449c6b203.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
112
116
  "omfx-properties-birthday-editor": base.CombinedTsxComponentAttrs<typeof wc644e39fe6d4f4e23b1777aefd9c23939.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
113
117
  "omfx-properties-date-time-display": base.CombinedTsxComponentAttrs<typeof wc5666ffa15ff14a64bac8854da534ff16.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
@@ -145,8 +149,10 @@ declare global {
145
149
  "omfx-user-presence": base.CombinedTsxComponentAttrs<typeof wc21a1f20b3d404602853049c1c8b8da2f.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
146
150
  "omfx-usertype-layout-renderer": base.CombinedTsxComponentAttrs<typeof wc30289e2b58ff48b0aabb3cb3732c3038.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
147
151
  "omfx-usertype-layout-blade-builder": base.CombinedTsxComponentAttrs<typeof wc5b26d2a399c041f3beae9c1115d6e8d8.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
152
+ "omfx-velcron-block": base.CombinedTsxComponentAttrs<typeof wc80bd5b0978ea40439001d3d409236382.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
153
+ "omfx-velcron-block-settings": base.CombinedTsxComponentAttrs<typeof wce8526e8ed3f74e848e0dd747fd4d376d.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
154
+ "omfx-velcron-editor": base.CombinedTsxComponentAttrs<typeof wcc75ffd4cf2f14b6685c5c2d894fdf00f.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
148
155
  "omfx-velcron-renderer": base.CombinedTsxComponentAttrs<typeof wc3dd4d94bcc254f9fac2100a3ff84dc7e.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
149
- "omfx-velcron-tester": base.CombinedTsxComponentAttrs<typeof wccdb0ecd9a7f741a994fba82a78b297ef.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
150
156
  }
151
157
  }
152
158
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.327-dev",
4
+ "version": "7.0.328-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.0.327-dev",
23
+ "@omnia/fx-models": "7.0.328-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
@@ -29,7 +29,6 @@
29
29
  "vuetify": "2.3.21",
30
30
  "vue": "2.7.10",
31
31
  "vue-tsx-support": "3.2.0",
32
- "pinia": "2.0.12",
33
32
  "typescript": "4.6.2",
34
33
  "tiptap": "1.26.4",
35
34
  "tiptap-extensions": "1.28.4",
@@ -1,5 +0,0 @@
1
- import { NodeExtension } from "../../NodeExtension";
2
- export default class AnimatedGifNode extends NodeExtension {
3
- get name(): string;
4
- get schema(): any;
5
- }
@@ -1 +0,0 @@
1
- export declare const appJson = "\n\n{\n \"type\": \"App\",\n \"body\": [\n {\n \"type\": \"Dialog\",\n \"visible\": \"showDialog\",\n \"body\": [\n {\n \"type\": \"Text\",\n \"text\": \"yoyo\"\n }\n ]\n },\n {\n \"type\": \"Button\",\n \"text\": \"${test} hej\",\n \"events\": {\n \"onPress\": [\"$state.showDialog = true\"]\n }\n },\n {\n \"type\": \"TextInput\",\n \"bind\": \"test\"\n },\n {\n \"type\": \"Card\",\n \"elevation\": \"5\",\n \"style\": {\n \"margin\": \"20px\"\n },\n \"body\": [\n {\n \"type\": \"Text\",\n \"foreach\": \"items\",\n \"text\": \"${title} and ${desc}\"\n }\n ]\n }\n ],\n \"state\": {\n \"test\": \"Nisse\",\n \"items\": [],\n \"showDialog\": false\n }\n}\n \n\n";