sevago-library 1.3.18 → 1.4.0
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/CHANGELOG.md +12 -0
- package/dist/index.cjs.js +97 -22
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +98 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/src/common/const/apps.const.d.ts +1 -15
- package/dist/src/components/elements/filters/filter-slider/filter-slider.component.d.ts +24 -0
- package/dist/src/components/elements/filters/filter-slider/filter-slider.component.stories.d.ts +8 -0
- package/dist/src/components/elements/filters/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -390,20 +390,6 @@ export declare const APP_OBJ: {
|
|
|
390
390
|
group: AppGroup;
|
|
391
391
|
color: string;
|
|
392
392
|
};
|
|
393
|
-
MANUFACTURING_EXECUTION_OLD: {
|
|
394
|
-
path: {
|
|
395
|
-
local: string;
|
|
396
|
-
develop: string;
|
|
397
|
-
staging: string;
|
|
398
|
-
production: string;
|
|
399
|
-
production_vps: string;
|
|
400
|
-
};
|
|
401
|
-
icon: string;
|
|
402
|
-
content: string;
|
|
403
|
-
title: string;
|
|
404
|
-
group: AppGroup;
|
|
405
|
-
color: string;
|
|
406
|
-
};
|
|
407
393
|
MANUFACTURING_EXECUTION: {
|
|
408
394
|
path: {
|
|
409
395
|
local: string;
|
|
@@ -414,8 +400,8 @@ export declare const APP_OBJ: {
|
|
|
414
400
|
};
|
|
415
401
|
icon: string;
|
|
416
402
|
content: string;
|
|
417
|
-
group: AppGroup;
|
|
418
403
|
title: string;
|
|
404
|
+
group: AppGroup;
|
|
419
405
|
color: string;
|
|
420
406
|
};
|
|
421
407
|
MATERIAL_CONTROL: {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Theme } from '@emotion/react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { default as React, ReactNode } from 'react';
|
|
4
|
+
export type FilterPrimitive = string | number | boolean | null | undefined | Date | any;
|
|
5
|
+
export type FilterValue = FilterPrimitive | FilterValue[] | {
|
|
6
|
+
[key: string]: FilterValue;
|
|
7
|
+
};
|
|
8
|
+
export type FilterMap = Record<string, FilterValue>;
|
|
9
|
+
type ChildrenRenderer = (args: {
|
|
10
|
+
filters: FilterMap;
|
|
11
|
+
tempFilters: FilterMap;
|
|
12
|
+
setFilter: (key: string, value: FilterValue) => void;
|
|
13
|
+
setTempFilters: React.Dispatch<React.SetStateAction<FilterMap>>;
|
|
14
|
+
}) => ReactNode;
|
|
15
|
+
interface FilterSliderProps {
|
|
16
|
+
children: ChildrenRenderer;
|
|
17
|
+
onApply?: (filters: FilterMap) => void;
|
|
18
|
+
onReset?: () => void;
|
|
19
|
+
initialFilters?: FilterMap;
|
|
20
|
+
sx?: SxProps<Theme>;
|
|
21
|
+
ignoredKeysInCount?: string[];
|
|
22
|
+
}
|
|
23
|
+
export declare const FilterSlider: React.FC<FilterSliderProps>;
|
|
24
|
+
export {};
|
package/dist/src/components/elements/filters/filter-slider/filter-slider.component.stories.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { FilterSlider } from './filter-slider.component';
|
|
3
|
+
declare const meta: Meta<typeof FilterSlider>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof FilterSlider>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithPresetFilters: Story;
|
|
8
|
+
export declare const IgnoredKeysInCount: Story;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './advanced-filter-dialog.component/advanced-filter-dialog.component';
|
|
2
2
|
export * from './advanced-operator-filter-dialog.component';
|
|
3
3
|
export * from './advanced-operator-filter.helper';
|
|
4
|
+
export * from './filter-slider/filter-slider.component';
|
|
4
5
|
export * from './filter.enum';
|
|
5
6
|
export * from './filter.interface';
|