siesa-ui-kit 1.0.103 → 1.0.105

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.
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploaderGalleryGlobal.d.ts","sourceRoot":"","sources":["../../../src/components/FileUploaderGallery/FileUploaderGalleryGlobal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAc7C,CAAC"}
1
+ {"version":3,"file":"FileUploaderGalleryGlobal.d.ts","sourceRoot":"","sources":["../../../src/components/FileUploaderGallery/FileUploaderGalleryGlobal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EA2B7C,CAAC"}
@@ -11,28 +11,16 @@ interface FileUploaderGalleryStore {
11
11
  openGallery: (props: FileUploaderGalleryProps) => void;
12
12
  /** Closes the active gallery instance */
13
13
  closeGallery: () => void;
14
+ /** Updates the current props of the open gallery instance */
15
+ updateGalleryProps: (props: Partial<FileUploaderGalleryProps>) => void;
16
+ /** Specialized update for the resources list */
17
+ updateResources: (uuid: string, checked: boolean) => void;
14
18
  }
15
19
  /**
16
20
  * Zustand hook to manage the file gallery globally.
17
21
  *
18
22
  * Este store proporciona el método solicitado para abrir la galería
19
23
  * (en modo modal o página) desde cualquier parte del frontend.
20
- *
21
- * @example
22
- * ```tsx
23
- * const { openGallery } = useFileUploaderGallery();
24
- *
25
- * const handleClick = () => {
26
- * openGallery({
27
- * title: 'Gestión de Documentos',
28
- * entity: 'Clientes',
29
- * entityId: '123',
30
- * mode: 'modal',
31
- * resources: myResources,
32
- * onAccept: (selected) => console.log(selected)
33
- * });
34
- * };
35
- * ```
36
24
  */
37
25
  export declare const useFileUploaderGallery: import("zustand").UseBoundStore<import("zustand").StoreApi<FileUploaderGalleryStore>>;
38
26
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useFileUploaderGallery.d.ts","sourceRoot":"","sources":["../../../src/components/FileUploaderGallery/useFileUploaderGallery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,UAAU,wBAAwB;IAChC,iDAAiD;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,iDAAiD;IACjD,YAAY,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAC9C;;;OAGG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACvD,yCAAyC;IACzC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,sBAAsB,uFAehC,CAAC"}
1
+ {"version":3,"file":"useFileUploaderGallery.d.ts","sourceRoot":"","sources":["../../../src/components/FileUploaderGallery/useFileUploaderGallery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,UAAU,wBAAwB;IAChC,iDAAiD;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,iDAAiD;IACjD,YAAY,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAC9C;;;OAGG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACvD,yCAAyC;IACzC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,6DAA6D;IAC7D,kBAAkB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK,IAAI,CAAC;IACvE,gDAAgD;IAChD,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D;AAED;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,uFAiChC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MasterCrudForm.d.ts","sourceRoot":"","sources":["../../../src/components/MasterCrud/MasterCrudForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AASzG,OAAO,KAAK,EAAE,mBAAmB,EAA8B,MAAM,oBAAoB,CAAC;AAW1F;;;;;GAKG;AACH,eAAO,MAAM,cAAc,sGA2hCvB,CAAC"}
1
+ {"version":3,"file":"MasterCrudForm.d.ts","sourceRoot":"","sources":["../../../src/components/MasterCrud/MasterCrudForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AASzG,OAAO,KAAK,EAAE,mBAAmB,EAA8B,MAAM,oBAAoB,CAAC;AAW1F;;;;;GAKG;AACH,eAAO,MAAM,cAAc,sGAyiCvB,CAAC"}