gantri-components 2.108.0-beta.2 → 2.108.0-beta.4
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/dist/components/table/components/table-actions-wrapper/table-actions-wrapper.types.d.ts +2 -1
- package/dist/helpers/get-folder-structure/helpers/get-products-path/get-products-path.types.d.ts +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/components/table/components/table-actions-wrapper/table-actions-wrapper.types.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type FiltersProps = {
|
|
|
11
11
|
numActive: number;
|
|
12
12
|
onApply: () => void;
|
|
13
13
|
onClose: () => void;
|
|
14
|
+
onOpen: () => void;
|
|
14
15
|
onReset: () => void;
|
|
15
16
|
};
|
|
16
17
|
export interface CustomActionComponentProps<TData extends RowData> {
|
|
@@ -19,7 +20,7 @@ export interface CustomActionComponentProps<TData extends RowData> {
|
|
|
19
20
|
}
|
|
20
21
|
export interface CustomActionProps<TData extends RowData> {
|
|
21
22
|
Component: JSXElementConstructor<CustomActionComponentProps<TData>>;
|
|
22
|
-
position: typeof customActionPositions[keyof typeof customActionPositions];
|
|
23
|
+
position: (typeof customActionPositions)[keyof typeof customActionPositions];
|
|
23
24
|
}
|
|
24
25
|
export interface TableActionsWrapperProps<TData extends RowData> {
|
|
25
26
|
className: string | undefined;
|
package/dist/helpers/get-folder-structure/helpers/get-products-path/get-products-path.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TemplateVersion } from '../../globals.types';
|
|
2
2
|
import { Environment } from '../../../../global';
|
|
3
|
-
export type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'handouts' | 'universal-handouts' | 'instructions' | 'lifestyle-photos' | 'model' | 'part-files' | 'product-photos' | 'scale-photo' | 'value-props' | 'videos';
|
|
3
|
+
export type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'downloads' | 'handouts' | 'universal-handouts' | 'instructions' | 'lifestyle-photos' | 'model' | 'part-files' | 'product-photos' | 'scale-photo' | 'value-props' | 'videos';
|
|
4
4
|
interface ProductsRootLevel {
|
|
5
5
|
productId: number;
|
|
6
6
|
}
|
|
@@ -17,5 +17,5 @@ interface ProductsArgs<FileType extends ProductsFileType, Identifiers extends Re
|
|
|
17
17
|
fileType: FileType;
|
|
18
18
|
identifiers: Identifiers;
|
|
19
19
|
}
|
|
20
|
-
export type GetProductsArgs<FileType extends ProductsFileType> = FileType extends 'bulb-change-instructions' | 'handouts' | 'value-props' ? ProductsArgs<FileType, ProductsRootLevel> : FileType extends 'dimming-photos' | 'lifestyle-photos' | 'model' | 'product-photos' | 'scale-photo' | 'videos' ? ProductsArgs<FileType, ProductsSkuLevel> : FileType extends 'instructions' | 'part-files' ? ProductsArgs<FileType, ProductsTemplateLevel> : FileType extends 'universal-handouts' ? ProductsArgs<FileType, Record<string, never>> : never;
|
|
20
|
+
export type GetProductsArgs<FileType extends ProductsFileType> = FileType extends 'bulb-change-instructions' | 'downloads' | 'handouts' | 'value-props' ? ProductsArgs<FileType, ProductsRootLevel> : FileType extends 'dimming-photos' | 'lifestyle-photos' | 'model' | 'product-photos' | 'scale-photo' | 'videos' ? ProductsArgs<FileType, ProductsSkuLevel> : FileType extends 'instructions' | 'part-files' ? ProductsArgs<FileType, ProductsTemplateLevel> : FileType extends 'universal-handouts' ? ProductsArgs<FileType, Record<string, never>> : never;
|
|
21
21
|
export {};
|