@omnia/fx 8.0.26-vnext → 8.0.27-vnext

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 (41) hide show
  1. package/internal-do-not-import-from-here/manifests/omfx.libs.prosemirror.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +3 -2
  3. package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningwizard/AppProvisioningWizard.d.ts +2 -2
  4. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/VelcronDefinitionStore.d.ts +4 -4
  5. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/blockheaders.d.ts +2 -2
  6. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/contentblocks.d.ts +3 -3
  7. package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.css.d.ts +5 -0
  8. package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +28 -0
  9. package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +1 -0
  10. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +17 -0
  11. package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +101 -0
  12. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +17 -0
  13. package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +69 -62
  14. package/internal-do-not-import-from-here/ux/oxide/stepper/StepperStep.d.ts +90 -61
  15. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +1 -73
  16. package/internal-do-not-import-from-here/ux/velcron/blocks/content/ContentBlock.css.d.ts +7 -1
  17. package/internal-do-not-import-from-here/ux/velcron/blocks/content/ContentBlock.d.ts +6 -0
  18. package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.css.d.ts +6 -0
  19. package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/ContentViewer.d.ts +94 -0
  20. package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/{DefinitionPickerPanelStyles.d.ts → DefinitionPickerPanel.css.d.ts} +1 -0
  21. package/internal-do-not-import-from-here/ux/velcron/blocks/content/components/DefinitionPickerPanel.d.ts +72 -19
  22. package/internal-do-not-import-from-here/ux/velcron/blocks/content/model/ContentDefinitionRegistration.d.ts +5 -0
  23. package/internal-do-not-import-from-here/ux/velcron/blocks/content/store/ContentBlockStore.d.ts +40 -0
  24. package/internal-do-not-import-from-here/ux/velcron/blocks/velcron/VelcronBlockSettings.d.ts +7 -2
  25. package/internal-do-not-import-from-here/ux/velcron/components/properties/VelcronProperties.d.ts +96 -96
  26. package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +1 -0
  27. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +20 -17
  28. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronEvents.d.ts +3 -0
  29. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronRenderers.d.ts +3 -91
  30. package/internal-do-not-import-from-here/ux/velcron/core/rules/IsEditMode.d.ts +20 -0
  31. package/internal-do-not-import-from-here/ux/velcron/core/rules/index.d.ts +1 -0
  32. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +156 -156
  33. package/internal-do-not-import-from-here/ux/velcron/editor/components/pickers/colorschemamapper/ColorSchemaMapper.d.ts +16 -11
  34. package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +3 -3
  35. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +52 -12
  36. package/internal-do-not-import-from-here/ux/velcron/renderer/components/App.d.ts +5 -5
  37. package/internal-do-not-import-from-here/ux/wizard/IWizard.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/wizard/WizardComponent.d.ts +2 -2
  39. package/internal-do-not-import-from-here/wctypings.d.ts +2 -0
  40. package/package.json +2 -2
  41. package/internal-do-not-import-from-here/ux/markdown/Toast.d.ts +0 -4
@@ -1,24 +1,35 @@
1
+ import { IIcon } from "@omnia/fx-models";
2
+ type IconPositions = "left" | "right" | "top";
3
+ export interface StepIconModel {
4
+ iconType: IIcon;
5
+ position?: IconPositions;
6
+ }
1
7
  declare const _default: {
2
8
  new (...args: any[]): {
3
9
  $: import("vue").ComponentInternalInstance;
4
10
  $data: {};
5
- $props: Partial<{
6
- container?: any;
7
- blueprint?: any;
8
- colorSchemaType?: any;
9
- blueprintType?: any;
10
- colors?: any;
11
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
- class: {
13
- type: import("vue").PropType<String | String[]>;
14
- required: boolean;
11
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
+ complete: {
13
+ type: import("vue").PropType<boolean>;
14
+ } & {
15
+ type: import("vue").PropType<boolean>;
15
16
  };
16
- colorSchemaType?: any;
17
- container?: any;
18
- colors?: any;
19
- blueprintType?: any;
20
- blueprint?: any;
21
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "container" | "blueprint" | "colorSchemaType" | "blueprintType" | "colors">;
17
+ step: {
18
+ type: import("vue").PropType<number>;
19
+ } & {
20
+ type: import("vue").PropType<number>;
21
+ };
22
+ icon: {
23
+ type: import("vue").PropType<StepIconModel>;
24
+ } & {
25
+ type: import("vue").PropType<StepIconModel>;
26
+ };
27
+ title: {
28
+ type: import("vue").PropType<string>;
29
+ } & {
30
+ type: import("vue").PropType<string>;
31
+ };
32
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
22
33
  $attrs: {
23
34
  [x: string]: unknown;
24
35
  };
@@ -33,22 +44,27 @@ declare const _default: {
33
44
  $emit: (event: string, ...args: any[]) => void;
34
45
  $el: any;
35
46
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
36
- class: {
37
- type: import("vue").PropType<String | String[]>;
38
- required: boolean;
47
+ complete: {
48
+ type: import("vue").PropType<boolean>;
49
+ } & {
50
+ type: import("vue").PropType<boolean>;
51
+ };
52
+ step: {
53
+ type: import("vue").PropType<number>;
54
+ } & {
55
+ type: import("vue").PropType<number>;
39
56
  };
40
- colorSchemaType?: any;
41
- container?: any;
42
- colors?: any;
43
- blueprintType?: any;
44
- blueprint?: any;
45
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
46
- container?: any;
47
- blueprint?: any;
48
- colorSchemaType?: any;
49
- blueprintType?: any;
50
- colors?: any;
51
- }, {}, string> & {
57
+ icon: {
58
+ type: import("vue").PropType<StepIconModel>;
59
+ } & {
60
+ type: import("vue").PropType<StepIconModel>;
61
+ };
62
+ title: {
63
+ type: import("vue").PropType<string>;
64
+ } & {
65
+ type: import("vue").PropType<string>;
66
+ };
67
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
52
68
  beforeCreate?: (() => void) | (() => void)[];
53
69
  created?: (() => void) | (() => void)[];
54
70
  beforeMount?: (() => void) | (() => void)[];
@@ -69,44 +85,57 @@ declare const _default: {
69
85
  $nextTick: typeof import("vue").nextTick;
70
86
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
71
87
  } & Readonly<import("vue").ExtractPropTypes<{
72
- class: {
73
- type: import("vue").PropType<String | String[]>;
74
- required: boolean;
88
+ complete: {
89
+ type: import("vue").PropType<boolean>;
90
+ } & {
91
+ type: import("vue").PropType<boolean>;
92
+ };
93
+ step: {
94
+ type: import("vue").PropType<number>;
95
+ } & {
96
+ type: import("vue").PropType<number>;
97
+ };
98
+ icon: {
99
+ type: import("vue").PropType<StepIconModel>;
100
+ } & {
101
+ type: import("vue").PropType<StepIconModel>;
102
+ };
103
+ title: {
104
+ type: import("vue").PropType<string>;
105
+ } & {
106
+ type: import("vue").PropType<string>;
75
107
  };
76
- colorSchemaType?: any;
77
- container?: any;
78
- colors?: any;
79
- blueprintType?: any;
80
- blueprint?: any;
81
108
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
82
109
  __isFragment?: never;
83
110
  __isTeleport?: never;
84
111
  __isSuspense?: never;
85
112
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
86
- class: {
87
- type: import("vue").PropType<String | String[]>;
88
- required: boolean;
113
+ complete: {
114
+ type: import("vue").PropType<boolean>;
115
+ } & {
116
+ type: import("vue").PropType<boolean>;
117
+ };
118
+ step: {
119
+ type: import("vue").PropType<number>;
120
+ } & {
121
+ type: import("vue").PropType<number>;
89
122
  };
90
- colorSchemaType?: any;
91
- container?: any;
92
- colors?: any;
93
- blueprintType?: any;
94
- blueprint?: any;
95
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
96
- container?: any;
97
- blueprint?: any;
98
- colorSchemaType?: any;
99
- blueprintType?: any;
100
- colors?: any;
101
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
102
- propsDefinition: Omit<Readonly<{
103
- container?: any;
104
- blueprint?: any;
105
- colorSchemaType?: any;
106
- blueprintType?: any;
107
- colors?: any;
123
+ icon: {
124
+ type: import("vue").PropType<StepIconModel>;
108
125
  } & {
109
- class?: String | String[];
126
+ type: import("vue").PropType<StepIconModel>;
127
+ };
128
+ title: {
129
+ type: import("vue").PropType<string>;
130
+ } & {
131
+ type: import("vue").PropType<string>;
132
+ };
133
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
134
+ propsDefinition: Omit<Readonly<{} & {
135
+ title?: string;
136
+ icon?: StepIconModel;
137
+ complete?: boolean;
138
+ step?: number;
110
139
  }>, never>;
111
140
  };
112
141
  export default _default;
@@ -1,73 +1 @@
1
- export declare const useColorSchemaSetup: (props: object) => {
2
- state: {
3
- base: import("@omnia/fx-models").ColorDefinition;
4
- onBase: import("@omnia/fx-models").ColorDefinition;
5
- container: import("@omnia/fx-models").ColorDefinition;
6
- onContainer: import("@omnia/fx-models").ColorDefinition;
7
- isContainer: boolean;
8
- name: string;
9
- colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType;
10
- id: import("@omnia/fx-models").GuidValue;
11
- };
12
- get: {
13
- readonly colorSchema: import("@omnia/fx-models").ColorSchema;
14
- readonly base: import("@omnia/fx-models").ColorDefinition;
15
- readonly onBase: import("@omnia/fx-models").ColorDefinition;
16
- readonly container: import("@omnia/fx-models").ColorDefinition;
17
- readonly onContainer: import("@omnia/fx-models").ColorDefinition;
18
- dynamic: (isContainer: boolean) => {
19
- readonly base: import("@omnia/fx-models").ColorDefinition;
20
- readonly onBase: import("@omnia/fx-models").ColorDefinition;
21
- readonly container: import("@omnia/fx-models").ColorDefinition;
22
- readonly onContainer: import("@omnia/fx-models").ColorDefinition;
23
- };
24
- };
25
- actions: {
26
- setColorSchema: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, container?: boolean) => void;
27
- setThemeStore: (themeStoreInstance: {
28
- state: {
29
- currentTheme: import("../theming-v2").ThemeDefinitionInstance;
30
- };
31
- get: {
32
- colorSchema: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType) => import("@omnia/fx-models").ColorSchema;
33
- typography: (typographyType: import("@omnia/fx-models").TypographyType | import("@omnia/fx-models").TypographyTypes) => import("@omnia/fx-models").TypographyTypeDefinition;
34
- color: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => string;
35
- 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;
36
- complementaryColorType: (colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => import("@omnia/fx-models").ColorTypes;
37
- complementaryColor: (colorSchemaType: import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType, colorType: import("@omnia/fx-models").ColorType | import("@omnia/fx-models").ColorTypes) => string;
38
- 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;
39
- currentTheme: () => import("@omnia/fx-models").ThemeDefinitionV2;
40
- blueprint: (blueprintType: import("@omnia/fx-models").BlueprintType | import("@omnia/fx-models").BlueprintTypes) => import("@omnia/fx-models").BlueprintDefinition;
41
- };
42
- actions: {
43
- setTheme: (themeDefinition: import("@omnia/fx-models").ThemeDefinitionV2) => void;
44
- };
45
- events: {
46
- onMutatingCurrentTheme: import("@omnia/fx").EventHook<import("../theming-v2").ThemeDefinitionInstance>;
47
- onMutatedCurrentTheme: import("@omnia/fx").EventHook<import("../theming-v2").ThemeDefinitionInstance>;
48
- };
49
- activated: void;
50
- }) => void;
51
- setCustomColorSchema: (colorSchema: import("@omnia/fx-models").ColorSchema, container?: boolean) => void;
52
- setColor: (colorDefinition: import("@omnia/fx-models").ColorDefinition, colorType: import("@omnia/fx-models").ColorTypes) => void;
53
- };
54
- events: {
55
- onMutatingBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
56
- onMutatedBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
57
- onMutatingOnBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
58
- onMutatedOnBase: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
59
- onMutatingContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
60
- onMutatedContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
61
- onMutatingOnContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
62
- onMutatedOnContainer: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorDefinition>;
63
- onMutatingIsContainer: import("@omnia/fx").EventHook<boolean>;
64
- onMutatedIsContainer: import("@omnia/fx").EventHook<boolean>;
65
- onMutatingName: import("@omnia/fx").EventHook<string>;
66
- onMutatedName: import("@omnia/fx").EventHook<string>;
67
- onMutatingColorSchemaType: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
68
- onMutatedColorSchemaType: import("@omnia/fx").EventHook<import("@omnia/fx-models").ColorSchemaTypes | import("@omnia/fx-models").ColorSchemaType>;
69
- onMutatingId: import("@omnia/fx").EventHook<import("@omnia/fx-models").GuidValue>;
70
- onMutatedId: import("@omnia/fx").EventHook<import("@omnia/fx-models").GuidValue>;
71
- };
72
- activated: void;
73
- };
1
+ export declare const useColorSchemaSetup: (props: object) => any;
@@ -1 +1,7 @@
1
- export declare const ContentBlockStyles: {};
1
+ import { ColorDefinition } from "@omnia/fx-models";
2
+ export declare const ContentBlockStyles: {
3
+ contentWrapper: (items: number) => string;
4
+ itemWrapper: string;
5
+ selectedItem: string;
6
+ toolBar: (colorDefinition: ColorDefinition) => string;
7
+ };
@@ -1,3 +1,9 @@
1
+ import { DynamicState } from "@omnia/fx-models";
2
+ export interface ContentBlockVelcronState extends DynamicState {
3
+ content: {
4
+ [id: string]: unknown;
5
+ };
6
+ }
1
7
  declare const _default: {
2
8
  new (...args: any[]): {
3
9
  $: import("vue").ComponentInternalInstance;
@@ -0,0 +1,6 @@
1
+ import { ColorSchema } from "@omnia/fx-models";
2
+ export declare const ContentViewerStyles: {
3
+ titleColumn: string;
4
+ iconContainer: (colorSchema: ColorSchema) => string;
5
+ itemContainer: (selected: boolean, colorSchema: ColorSchema) => string;
6
+ };
@@ -0,0 +1,94 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ container?: any;
7
+ blueprint?: any;
8
+ colorSchemaType?: any;
9
+ blueprintType?: any;
10
+ colors?: any;
11
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
+ colorSchemaType?: any;
13
+ container?: any;
14
+ colors?: any;
15
+ blueprintType?: any;
16
+ blueprint?: any;
17
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "container" | "blueprint" | "colorSchemaType" | "blueprintType" | "colors">;
18
+ $attrs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $refs: {
22
+ [x: string]: unknown;
23
+ };
24
+ $slots: Readonly<{
25
+ [name: string]: import("vue").Slot;
26
+ }>;
27
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
28
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
29
+ $emit: (event: string, ...args: any[]) => void;
30
+ $el: any;
31
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
32
+ colorSchemaType?: any;
33
+ container?: any;
34
+ colors?: any;
35
+ blueprintType?: any;
36
+ blueprint?: any;
37
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
38
+ container?: any;
39
+ blueprint?: any;
40
+ colorSchemaType?: any;
41
+ blueprintType?: any;
42
+ colors?: any;
43
+ }, {}, string> & {
44
+ beforeCreate?: (() => void) | (() => void)[];
45
+ created?: (() => void) | (() => void)[];
46
+ beforeMount?: (() => void) | (() => void)[];
47
+ mounted?: (() => void) | (() => void)[];
48
+ beforeUpdate?: (() => void) | (() => void)[];
49
+ updated?: (() => void) | (() => void)[];
50
+ activated?: (() => void) | (() => void)[];
51
+ deactivated?: (() => void) | (() => void)[];
52
+ beforeDestroy?: (() => void) | (() => void)[];
53
+ beforeUnmount?: (() => void) | (() => void)[];
54
+ destroyed?: (() => void) | (() => void)[];
55
+ unmounted?: (() => void) | (() => void)[];
56
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
57
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
58
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
59
+ };
60
+ $forceUpdate: () => void;
61
+ $nextTick: typeof import("vue").nextTick;
62
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
63
+ } & Readonly<import("vue").ExtractPropTypes<{
64
+ colorSchemaType?: any;
65
+ container?: any;
66
+ colors?: any;
67
+ blueprintType?: any;
68
+ blueprint?: any;
69
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
70
+ __isFragment?: never;
71
+ __isTeleport?: never;
72
+ __isSuspense?: never;
73
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
74
+ colorSchemaType?: any;
75
+ container?: any;
76
+ colors?: any;
77
+ blueprintType?: any;
78
+ blueprint?: any;
79
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
80
+ container?: any;
81
+ blueprint?: any;
82
+ colorSchemaType?: any;
83
+ blueprintType?: any;
84
+ colors?: any;
85
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
86
+ propsDefinition: Omit<Readonly<{
87
+ container?: any;
88
+ blueprint?: any;
89
+ colorSchemaType?: any;
90
+ blueprintType?: any;
91
+ colors?: any;
92
+ } & {}>, never>;
93
+ };
94
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  export declare const DefinitionPickerPanelStyles: {
2
2
  cardWrapper: string;
3
+ hoverAnimation: string;
3
4
  wrapper: string;
4
5
  };
@@ -1,11 +1,28 @@
1
1
  import { Guid } from "@omnia/fx-models";
2
+ import { nextTick } from "vue";
3
+ export interface DefinitionSelectedEvent {
4
+ id: Guid;
5
+ index?: number;
6
+ }
2
7
  declare const _default: {
3
8
  new (...args: any[]): {
4
9
  $: import("vue").ComponentInternalInstance;
5
10
  $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & {
7
- "onDefinition:selected"?: (id: Guid) => any;
8
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
11
+ $props: Partial<{
12
+ container?: any;
13
+ blueprint?: any;
14
+ colorSchemaType?: any;
15
+ blueprintType?: any;
16
+ colors?: any;
17
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
18
+ colorSchemaType?: any;
19
+ container?: any;
20
+ colors?: any;
21
+ blueprintType?: any;
22
+ blueprint?: any;
23
+ }>> & {
24
+ "onDefinition:selected"?: (ev: DefinitionSelectedEvent) => any;
25
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "container" | "blueprint" | "colorSchemaType" | "blueprintType" | "colors">;
9
26
  $attrs: {
10
27
  [x: string]: unknown;
11
28
  };
@@ -17,13 +34,25 @@ declare const _default: {
17
34
  }>;
18
35
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
19
36
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
20
- $emit: (event: "definition:selected", id: Guid) => void;
37
+ $emit: (event: "definition:selected", ev: DefinitionSelectedEvent) => void;
21
38
  $el: any;
22
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
23
- "onDefinition:selected"?: (id: Guid) => any;
24
- }, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- "definition:selected": (id: Guid) => any;
26
- }, string, {}, {}, string> & {
39
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
40
+ colorSchemaType?: any;
41
+ container?: any;
42
+ colors?: any;
43
+ blueprintType?: any;
44
+ blueprint?: any;
45
+ }>> & {
46
+ "onDefinition:selected"?: (ev: DefinitionSelectedEvent) => any;
47
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ "definition:selected": (ev: DefinitionSelectedEvent) => any;
49
+ }, string, {
50
+ container?: any;
51
+ blueprint?: any;
52
+ colorSchemaType?: any;
53
+ blueprintType?: any;
54
+ colors?: any;
55
+ }, {}, string> & {
27
56
  beforeCreate?: (() => void) | (() => void)[];
28
57
  created?: (() => void) | (() => void)[];
29
58
  beforeMount?: (() => void) | (() => void)[];
@@ -41,21 +70,45 @@ declare const _default: {
41
70
  errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
42
71
  };
43
72
  $forceUpdate: () => void;
44
- $nextTick: typeof import("vue").nextTick;
73
+ $nextTick: typeof nextTick;
45
74
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
46
- } & Readonly<import("vue").ExtractPropTypes<{}>> & {
47
- "onDefinition:selected"?: (id: Guid) => any;
75
+ } & Readonly<import("vue").ExtractPropTypes<{
76
+ colorSchemaType?: any;
77
+ container?: any;
78
+ colors?: any;
79
+ blueprintType?: any;
80
+ blueprint?: any;
81
+ }>> & {
82
+ "onDefinition:selected"?: (ev: DefinitionSelectedEvent) => any;
48
83
  } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
49
84
  __isFragment?: never;
50
85
  __isTeleport?: never;
51
86
  __isSuspense?: never;
52
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>> & {
53
- "onDefinition:selected"?: (id: Guid) => any;
54
- }, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- "definition:selected": (id: Guid) => any;
56
- }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
57
- propsDefinition: Omit<Readonly<{} & {}>, "onDefinition:selected"> & {
58
- "onDefinition:selected"?: (id: Guid) => any;
87
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
88
+ colorSchemaType?: any;
89
+ container?: any;
90
+ colors?: any;
91
+ blueprintType?: any;
92
+ blueprint?: any;
93
+ }>> & {
94
+ "onDefinition:selected"?: (ev: DefinitionSelectedEvent) => any;
95
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
96
+ "definition:selected": (ev: DefinitionSelectedEvent) => any;
97
+ }, string, {
98
+ container?: any;
99
+ blueprint?: any;
100
+ colorSchemaType?: any;
101
+ blueprintType?: any;
102
+ colors?: any;
103
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
104
+ propsDefinition: Omit<Readonly<{
105
+ container?: any;
106
+ blueprint?: any;
107
+ colorSchemaType?: any;
108
+ blueprintType?: any;
109
+ colors?: any;
110
+ } & {}>, "onDefinition:selected"> & {
111
+ "onDefinition:selected"?: (ev: DefinitionSelectedEvent) => any;
59
112
  };
60
113
  };
61
114
  export default _default;
@@ -0,0 +1,5 @@
1
+ import { Guid, VelcronDefinitionRegistration } from "@omnia/fx-models";
2
+ import { ContentBlockVelcronState } from "../ContentBlock";
3
+ export interface ContentDefinitionRegistration extends VelcronDefinitionRegistration<ContentBlockVelcronState> {
4
+ contentId: Guid;
5
+ }
@@ -0,0 +1,40 @@
1
+ import { ContentDefinitionRegistration } from "../model/ContentDefinitionRegistration";
2
+ export declare enum MenuTabs {
3
+ templates = 0,
4
+ content = 1
5
+ }
6
+ export declare const useContentBlockStore: (newInstanceWithName?: string) => {
7
+ state: {
8
+ templatePanelVisible: boolean;
9
+ definitions: ContentDefinitionRegistration[];
10
+ activeDefinition: ContentDefinitionRegistration;
11
+ selectedDefinition: ContentDefinitionRegistration;
12
+ activeTab: MenuTabs;
13
+ onGoingDragging: boolean;
14
+ };
15
+ get: {};
16
+ actions: {
17
+ setActiveTab: (tab: MenuTabs) => void;
18
+ setTemplatePanelVisible: (visible: boolean) => void;
19
+ setActiveDefinition: (definition: ContentDefinitionRegistration) => void;
20
+ removeActiveDefinition: () => void;
21
+ setSelectedDefinition: (definition: ContentDefinitionRegistration) => void;
22
+ removeSelectedDefinition: () => void;
23
+ setDragDropState: (onGoingDragging: boolean) => void;
24
+ };
25
+ events: {
26
+ onMutatingTemplatePanelVisible: import("@omnia/fx").EventHook<boolean>;
27
+ onMutatedTemplatePanelVisible: import("@omnia/fx").EventHook<boolean>;
28
+ onMutatingDefinitions: import("@omnia/fx").EventHook<ContentDefinitionRegistration[]>;
29
+ onMutatedDefinitions: import("@omnia/fx").EventHook<ContentDefinitionRegistration[]>;
30
+ onMutatingActiveDefinition: import("@omnia/fx").EventHook<ContentDefinitionRegistration>;
31
+ onMutatedActiveDefinition: import("@omnia/fx").EventHook<ContentDefinitionRegistration>;
32
+ onMutatingSelectedDefinition: import("@omnia/fx").EventHook<ContentDefinitionRegistration>;
33
+ onMutatedSelectedDefinition: import("@omnia/fx").EventHook<ContentDefinitionRegistration>;
34
+ onMutatingActiveTab: import("@omnia/fx").EventHook<MenuTabs>;
35
+ onMutatedActiveTab: import("@omnia/fx").EventHook<MenuTabs>;
36
+ onMutatingOnGoingDragging: import("@omnia/fx").EventHook<boolean>;
37
+ onMutatedOnGoingDragging: import("@omnia/fx").EventHook<boolean>;
38
+ };
39
+ activated: void;
40
+ };
@@ -1,6 +1,11 @@
1
- import { VelcronAppDefinition } from "../../core";
1
+ import { ColorSchemaReference, VelcronAppDefinition } from "../../core";
2
+ interface VelcronColorSchema {
3
+ colorSchemas: {
4
+ [key: string]: ColorSchemaReference;
5
+ };
6
+ }
2
7
  export interface VelcronBlockBlockSettings {
3
- definition: VelcronAppDefinition;
8
+ definition: VelcronAppDefinition<VelcronColorSchema>;
4
9
  }
5
10
  declare const _default: {
6
11
  new (...args: any[]): {