@omnia/velcron 8.0.85-vnext → 8.0.86-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/actions/Alert.js +1 -1
- package/actions/Array.js +9 -2
- package/actions/Clone.d.ts +2 -0
- package/actions/Clone.js +11 -0
- package/actions/Date.d.ts +3 -0
- package/actions/Date.js +29 -0
- package/actions/Http.js +23 -6
- package/actions/IActionHandler.d.ts +1 -0
- package/actions/Timer.d.ts +4 -0
- package/actions/Timer.js +80 -0
- package/actions/index.d.ts +3 -0
- package/actions/index.js +3 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/internal-do-not-import-from-here/shared/models/Broadcasting.js +1 -1
- package/internal-do-not-import-from-here/shared/models/DynamicState.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/Equals.js +33 -3
- package/internal-do-not-import-from-here/shared/models/Future.d.ts +17 -1
- package/internal-do-not-import-from-here/shared/models/Future.js +26 -5
- package/internal-do-not-import-from-here/shared/models/Guid.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/Guid.js +13 -6
- package/internal-do-not-import-from-here/shared/models/HttpCommon.d.ts +27 -0
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +7 -1
- package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +1 -13
- package/internal-do-not-import-from-here/shared/models/Realtime.js +1 -22
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.js +2 -0
- package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +7 -1
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.js +5 -1
- package/internal-do-not-import-from-here/shared/models/Workers.js +1 -1
- package/internal-do-not-import-from-here/shared/models/hub/ExternalIdentityId.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/ExternalIdentityId.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.d.ts +13 -0
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.js +20 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +67 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.js +7 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +7 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.d.ts +14 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.js +15 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.d.ts +30 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +15 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRendererLoadingReferences.d.ts +8 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRendererLoadingReferences.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.d.ts +15 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.d.ts +40 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.js +39 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.d.ts +8 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.js +11 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.js +8 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.d.ts +10 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/index.d.ts +5 -1
- package/internal-do-not-import-from-here/shared/models/index.js +5 -1
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.d.ts +44 -46
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.js +7 -13
- package/internal-do-not-import-from-here/shared/models/theming/ChromeDefinition.d.ts +25 -0
- package/internal-do-not-import-from-here/shared/models/theming/ChromeDefinition.js +2 -0
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.js +8 -7
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.d.ts +5 -4
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.js +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +24 -15
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.js +8 -10
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +8 -4
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.js +2 -3
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +3 -5
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +4 -33
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/index.js +2 -1
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +87 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronEvents.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.js +5 -0
- package/models/ActionHooks.d.ts +12 -0
- package/models/ActionHooks.js +2 -0
- package/models/Enums.d.ts +6 -0
- package/models/Enums.js +14 -7
- package/models/VelcronDefinitions.d.ts +101 -91
- package/models/VelcronDefinitions.js +2 -2
- package/models/VelcronPropertyEditorDefinitions.d.ts +293 -17
- package/models/VelcronPropertyEditorDefinitions.js +116 -2
- package/models/VelcronTypes.d.ts +1 -1
- package/models/ViewModelAndContext.d.ts +1 -1
- package/models/index.d.ts +1 -1
- package/models/index.js +1 -1
- package/package.json +1 -1
- package/parser/VelcronActions.d.ts +8 -2
- package/parser/VelcronActions.js +24 -4
- package/parser/VelcronConstants.d.ts +17 -5
- package/parser/VelcronConstants.js +19 -7
- package/parser/VelcronData.d.ts +4 -3
- package/parser/VelcronData.js +58 -54
- package/parser/VelcronPropertyEditors.d.ts +9 -0
- package/parser/VelcronPropertyEditors.js +40 -0
- package/parser/VelcronRenderers.d.ts +2 -1
- package/parser/VelcronRenderers.js +22 -22
- package/parser/VelcronStyles.d.ts +2 -1
- package/parser/VelcronStyles.js +181 -72
- package/parser/index.d.ts +1 -0
- package/parser/index.js +1 -0
- package/stores/ReactivitySystem.d.ts +2 -2
- package/stores/ReactivitySystem.js +1 -1
- package/stores/VelcronColorSchema.d.ts +10 -9
- package/stores/VelcronTheming.d.ts +4 -3
- package/stores/VelcronTheming.js +15 -3
- package/stores/index.d.ts +0 -1
- package/stores/index.js +1 -1
- package/templatebuilder/editor/VelcronColorSchemaEditor.d.ts +9 -0
- package/templatebuilder/editor/VelcronColorSchemaEditor.js +28 -0
- package/templatebuilder/editor/VelcronContentEditor.d.ts +38 -0
- package/templatebuilder/editor/VelcronContentEditor.js +206 -0
- package/templatebuilder/editor/VelcronEditorBuilder.d.ts +16 -0
- package/templatebuilder/editor/VelcronEditorBuilder.js +50 -0
- package/templatebuilder/editor/VelcronEditorBuilder2.d.ts +15 -0
- package/templatebuilder/editor/VelcronEditorBuilder2.js +106 -0
- package/templatebuilder/editor/VelcronEditorBuilderBase.d.ts +9 -0
- package/templatebuilder/editor/VelcronEditorBuilderBase.js +16 -0
- package/templatebuilder/editor/VelcronImageEditor.d.ts +11 -0
- package/templatebuilder/editor/VelcronImageEditor.js +30 -0
- package/templatebuilder/editor/VelcronPropertyMappingEditorBuilder.d.ts +9 -0
- package/templatebuilder/editor/VelcronPropertyMappingEditorBuilder.js +30 -0
- package/templatebuilder/index.d.ts +2 -0
- package/templatebuilder/index.js +5 -0
- package/templatebuilder/state/VelcronBlockHeaderStateBuilder.d.ts +0 -0
- package/templatebuilder/state/VelcronBlockHeaderStateBuilder.js +38 -0
- package/templatebuilder/state/VelcronColorSchemaBuilder.d.ts +16 -0
- package/templatebuilder/state/VelcronColorSchemaBuilder.js +32 -0
- package/templatebuilder/state/VelcronContentStateBuilder.d.ts +11 -0
- package/templatebuilder/state/VelcronContentStateBuilder.js +47 -0
- package/templatebuilder/state/VelcronImageStateBuilder.d.ts +18 -0
- package/templatebuilder/state/VelcronImageStateBuilder.js +49 -0
- package/templatebuilder/state/VelcronPropertyMappingStateBuilder.d.ts +12 -0
- package/templatebuilder/state/VelcronPropertyMappingStateBuilder.js +35 -0
- package/templatebuilder/state/VelcronStateBuilder.d.ts +16 -0
- package/templatebuilder/state/VelcronStateBuilder.js +42 -0
- package/templatebuilder/state/VelcronStateBuilderBase.d.ts +12 -0
- package/templatebuilder/state/VelcronStateBuilderBase.js +19 -0
- package/templatebuilder/state/VelcronTextContentBuilder.d.ts +32 -0
- package/templatebuilder/state/VelcronTextContentBuilder.js +110 -0
- package/templatebuilder/useVelcronEditorBuilder.d.ts +2 -0
- package/templatebuilder/useVelcronEditorBuilder.js +9 -0
- package/templatebuilder/useVelcronTemplateBuilder.d.ts +6 -0
- package/templatebuilder/useVelcronTemplateBuilder.js +13 -0
- package/internal-do-not-import-from-here/shared/models/Bring.d.ts +0 -23
- package/internal-do-not-import-from-here/shared/models/theming/OmniaThemes.d.ts +0 -5
- package/internal-do-not-import-from-here/shared/models/theming/OmniaThemes.js +0 -18
- package/stores/VelcronBlueprint.d.ts +0 -39
- package/stores/VelcronBlueprint.js +0 -55
- /package/internal-do-not-import-from-here/shared/models/{Bring.js → DynamicState.js} +0 -0
- /package/{models/VelcronEvents.js → internal-do-not-import-from-here/shared/models/HttpCommon.js} +0 -0
- /package/{models → internal-do-not-import-from-here/shared/models/velcron}/VelcronEvents.d.ts +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { BlueprintDefinition, BlueprintItemDefinition, BlueprintType, BlueprintTypes, SpacingBlueprint, TypographyBlueprint, VelcronBlueprintDefintionType } from "@omnia/fx-models";
|
|
2
|
-
import { useVelcronThemingStore } from ".";
|
|
3
|
-
export declare const useVelcronBlueprintStore: (newStateWithName?: string) => {
|
|
4
|
-
state: {
|
|
5
|
-
blueprint: BlueprintDefinition;
|
|
6
|
-
blueprintType: BlueprintType | BlueprintTypes;
|
|
7
|
-
themeStore: {
|
|
8
|
-
state: {
|
|
9
|
-
currentTheme: import("@omnia/fx-models").ThemeDefinitionV2;
|
|
10
|
-
};
|
|
11
|
-
get: {
|
|
12
|
-
blueprint: (blueprintType: BlueprintType | BlueprintTypes) => BlueprintDefinition;
|
|
13
|
-
colorSchema: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType) => import("@omnia/fx-models").ColorSchema;
|
|
14
|
-
typography: (typographyType: import("@omnia/fx-models").TypographyType | import("@omnia/fx-models").TypographyTypes, size: import("@omnia/fx-models").TypographySize | import("@omnia/fx-models").TypographySizes) => import("@omnia/fx-models").TypographyTypeDefinition;
|
|
15
|
-
color: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => string;
|
|
16
|
-
colorDefinition: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorDefinition;
|
|
17
|
-
complementaryColorType: (colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorTypes;
|
|
18
|
-
complementaryColor: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => string;
|
|
19
|
-
complementaryColorDefinition: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorDefinition;
|
|
20
|
-
currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
|
|
21
|
-
};
|
|
22
|
-
actions: {
|
|
23
|
-
setTheme(newTheme: import("@omnia/fx-models").ThemeDefinitionV2): void;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
get: {
|
|
28
|
-
readonly all: BlueprintDefinition;
|
|
29
|
-
byType: <TType extends BlueprintItemDefinition>(type: VelcronBlueprintDefintionType | VelcronBlueprintDefintionType) => TType;
|
|
30
|
-
readonly typography: TypographyBlueprint;
|
|
31
|
-
spacing: {
|
|
32
|
-
readonly inner: SpacingBlueprint;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
actions: {
|
|
36
|
-
setThemeStore: (themeStoreInstance: ReturnType<typeof useVelcronThemingStore>, blueprintType?: BlueprintTypes | BlueprintType) => void;
|
|
37
|
-
setBlueprint: (type: BlueprintTypes | BlueprintType) => void;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useVelcronBlueprintStore = void 0;
|
|
4
|
-
const fx_models_1 = require("@omnia/fx-models");
|
|
5
|
-
const _1 = require(".");
|
|
6
|
-
exports.useVelcronBlueprintStore = (0, _1.defineVelcronStore)("BlueprintStore", {
|
|
7
|
-
setup() {
|
|
8
|
-
return {
|
|
9
|
-
state: {
|
|
10
|
-
blueprint: {},
|
|
11
|
-
blueprintType: fx_models_1.BlueprintTypes.default,
|
|
12
|
-
themeStore: undefined,
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
getters(state) {
|
|
17
|
-
function allDefinitions() {
|
|
18
|
-
return state.blueprint;
|
|
19
|
-
}
|
|
20
|
-
function byType(type) {
|
|
21
|
-
return state.blueprint.definitions.find(x => x.type === type);
|
|
22
|
-
}
|
|
23
|
-
return {
|
|
24
|
-
get all() {
|
|
25
|
-
return allDefinitions();
|
|
26
|
-
},
|
|
27
|
-
byType,
|
|
28
|
-
get typography() {
|
|
29
|
-
return byType(fx_models_1.VelcronBlueprintDefintionTypes.typography);
|
|
30
|
-
},
|
|
31
|
-
spacing: {
|
|
32
|
-
get inner() {
|
|
33
|
-
return byType(fx_models_1.VelcronBlueprintDefintionTypes.innerspacing);
|
|
34
|
-
},
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
actions(state) {
|
|
39
|
-
function setBlueprint(type) {
|
|
40
|
-
const blueprint = state.themeStore.get.blueprint(type);
|
|
41
|
-
if (blueprint) {
|
|
42
|
-
state.blueprint = blueprint;
|
|
43
|
-
state.blueprintType = type;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function setThemeStore(themeStoreInstance, blueprintType) {
|
|
47
|
-
state.themeStore = themeStoreInstance;
|
|
48
|
-
setBlueprint(blueprintType);
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
setThemeStore,
|
|
52
|
-
setBlueprint
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
});
|
|
File without changes
|
/package/{models/VelcronEvents.js → internal-do-not-import-from-here/shared/models/HttpCommon.js}
RENAMED
|
File without changes
|
/package/{models → internal-do-not-import-from-here/shared/models/velcron}/VelcronEvents.d.ts
RENAMED
|
File without changes
|