ingeniuscliq-core 0.1.28 → 0.1.30

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.
@@ -10,7 +10,10 @@ export declare class CoreCustomizationBuilder implements CoreBuilder {
10
10
  persist: {
11
11
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<CoreCustomizationStore, {
12
12
  template: string | null;
13
- components: string[] | null;
13
+ components: {
14
+ key: string;
15
+ component: string;
16
+ }[] | null;
14
17
  styles: CoreDesignTemplateStyles[] | null;
15
18
  settings: CoreDesignTemplateSettings | null;
16
19
  }>>) => void;
@@ -21,7 +24,10 @@ export declare class CoreCustomizationBuilder implements CoreBuilder {
21
24
  onFinishHydration: (fn: (state: CoreCustomizationStore) => void) => () => void;
22
25
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<CoreCustomizationStore, {
23
26
  template: string | null;
24
- components: string[] | null;
27
+ components: {
28
+ key: string;
29
+ component: string;
30
+ }[] | null;
25
31
  styles: CoreDesignTemplateStyles[] | null;
26
32
  settings: CoreDesignTemplateSettings | null;
27
33
  }>>;
@@ -11,12 +11,18 @@ export interface CoreCustomization extends BaseType {
11
11
  }
12
12
  export interface CoreCustomizationStore extends BaseStore {
13
13
  template: string | null;
14
- components: string[] | null;
14
+ components: {
15
+ key: string;
16
+ component: string;
17
+ }[] | null;
15
18
  styles: CoreDesignTemplateStyles[] | null;
16
19
  settings: CoreDesignTemplateSettings | null;
17
20
  fetchTemplate: () => Promise<CoreDesignTemplate>;
18
21
  setTemplate: (template: string) => void;
19
- setComponents: (components: string[]) => void;
22
+ setComponents: (components: {
23
+ key: string;
24
+ component: string;
25
+ }[]) => void;
20
26
  setStyles: (styles: CoreDesignTemplateStyles[]) => void;
21
27
  setSettings: (settings: CoreDesignTemplateSettings) => void;
22
28
  }
@@ -2,7 +2,10 @@ export declare const useCustomizationStore: import('zustand').UseBoundStore<Omit
2
2
  persist: {
3
3
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<import('..').CoreCustomizationStore, {
4
4
  template: string | null;
5
- components: string[] | null;
5
+ components: {
6
+ key: string;
7
+ component: string;
8
+ }[] | null;
6
9
  styles: import('../types/ui').CoreDesignTemplateStyles[] | null;
7
10
  settings: import('../types/ui').CoreDesignTemplateSettings | null;
8
11
  }>>) => void;
@@ -13,7 +16,10 @@ export declare const useCustomizationStore: import('zustand').UseBoundStore<Omit
13
16
  onFinishHydration: (fn: (state: import('..').CoreCustomizationStore) => void) => () => void;
14
17
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<import('..').CoreCustomizationStore, {
15
18
  template: string | null;
16
- components: string[] | null;
19
+ components: {
20
+ key: string;
21
+ component: string;
22
+ }[] | null;
17
23
  styles: import('../types/ui').CoreDesignTemplateStyles[] | null;
18
24
  settings: import('../types/ui').CoreDesignTemplateSettings | null;
19
25
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",