sccoreui 5.7.23 → 5.8.1
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/ag-grid/MyProvider.js +58 -0
- package/dist/components/ag-grid/ParentForGrid.js +111 -32
- package/dist/components/ag-grid/Types.js +0 -8
- package/dist/components/ag-grid/advancedFeature/advanced-feature.js +6 -2
- package/dist/components/ag-grid/advancedFeature/custom-sort.js +4 -6
- package/dist/components/ag-grid/advancedFeature/filter/filter.js +35 -18
- package/dist/components/ag-grid/advancedFeature/filter/querty.js +35 -17
- package/dist/components/ag-grid/advancedFeature/global-search.js +4 -2
- package/dist/components/ag-grid/advancedFeature/record-detail.js +5 -2
- package/dist/components/ag-grid/advancedFeature/refresh-grid.js +10 -0
- package/dist/components/ag-grid/error-ui.js +1 -1
- package/dist/components/ag-grid/grid-checkbox.js +8 -0
- package/dist/types/components/ag-grid/MyProvider.d.ts +14 -0
- package/dist/types/components/ag-grid/Types.d.ts +32 -6
- package/dist/types/components/ag-grid/advancedFeature/advanced-feature.d.ts +1 -5
- package/dist/types/components/ag-grid/advancedFeature/custom-sort.d.ts +1 -6
- package/dist/types/components/ag-grid/advancedFeature/filter/filter.d.ts +1 -5
- package/dist/types/components/ag-grid/advancedFeature/filter/querty.d.ts +4 -2
- package/dist/types/components/ag-grid/advancedFeature/global-search.d.ts +1 -3
- package/dist/types/components/ag-grid/advancedFeature/record-detail.d.ts +1 -3
- package/dist/types/components/ag-grid/advancedFeature/refresh-grid.d.ts +2 -0
- package/dist/types/components/ag-grid/grid-checkbox.d.ts +8 -0
- package/package.json +1 -1
- package/dist/App copy.scss +0 -917
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Features, GridData } from "./Types";
|
|
2
|
+
export declare const FeatureContext: import("react").Context<any>;
|
|
3
|
+
interface MyProviderProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
value: {
|
|
6
|
+
featureDetails: Features;
|
|
7
|
+
setFeatureDetails: React.Dispatch<React.SetStateAction<Features>>;
|
|
8
|
+
gridData: GridData;
|
|
9
|
+
callGrid: (featureDetails: Features) => void;
|
|
10
|
+
totalRecords: number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare function MyProvider({ children, value }: MyProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default MyProvider;
|
|
@@ -12,6 +12,16 @@ export interface IOlympicData {
|
|
|
12
12
|
total: number;
|
|
13
13
|
color: string;
|
|
14
14
|
}
|
|
15
|
+
export interface ColumnDef extends ColDef {
|
|
16
|
+
id: string;
|
|
17
|
+
dataType: any;
|
|
18
|
+
isFilterable: boolean;
|
|
19
|
+
isSortable: boolean;
|
|
20
|
+
maxLength?: number;
|
|
21
|
+
code?: number;
|
|
22
|
+
enableHeaderCheckbox?: boolean;
|
|
23
|
+
enableChildCheckbox?: boolean;
|
|
24
|
+
}
|
|
15
25
|
export interface Style {
|
|
16
26
|
height: number | string;
|
|
17
27
|
width: number | string;
|
|
@@ -50,6 +60,12 @@ export interface Features {
|
|
|
50
60
|
}
|
|
51
61
|
export interface ParentProp {
|
|
52
62
|
}
|
|
63
|
+
export interface CheckBoxSelection {
|
|
64
|
+
allBoxChecked: boolean;
|
|
65
|
+
isInterminate: boolean;
|
|
66
|
+
selectedCheckboxData: any[];
|
|
67
|
+
unselectedCheckboxData: any[];
|
|
68
|
+
}
|
|
53
69
|
export declare enum ATTRIBUTEDATATYPES {
|
|
54
70
|
STRING = "string",
|
|
55
71
|
DATE = "date",
|
|
@@ -63,12 +79,22 @@ export declare enum ATTRIBUTEDATATYPES {
|
|
|
63
79
|
SELECT = "select",
|
|
64
80
|
MULTI_SELECT = "multiselect"
|
|
65
81
|
}
|
|
66
|
-
export interface
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
export interface GridData {
|
|
83
|
+
rowData: any[];
|
|
84
|
+
columnData: ColumnDef[];
|
|
85
|
+
}
|
|
86
|
+
export interface ConditionsToDisplay {
|
|
87
|
+
displayFilter: boolean;
|
|
88
|
+
displaySort: boolean;
|
|
89
|
+
displaySearch: boolean;
|
|
90
|
+
displayRefresh: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface PropsFromProduct {
|
|
93
|
+
columnData: ColumnDef[];
|
|
94
|
+
getRowData: () => void;
|
|
95
|
+
style: Style;
|
|
96
|
+
dataForDropDown: () => void;
|
|
97
|
+
conditionsToDisplay: ConditionsToDisplay;
|
|
72
98
|
}
|
|
73
99
|
export interface ResoponseFromCallback {
|
|
74
100
|
totalRecords: number;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
declare function AdvancedFeatures({
|
|
2
|
-
featureDetails: any;
|
|
3
|
-
setFeatureDetails: any;
|
|
4
|
-
columnData: any;
|
|
1
|
+
declare function AdvancedFeatures({ props }: {
|
|
5
2
|
props: any;
|
|
6
|
-
callGrid: any;
|
|
7
3
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
4
|
export default AdvancedFeatures;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
declare function Sort(
|
|
2
|
-
columnData: any;
|
|
3
|
-
featureDetails: any;
|
|
4
|
-
setFeatureDetails: any;
|
|
5
|
-
callGrid: any;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare function Sort(): import("react/jsx-runtime").JSX.Element;
|
|
7
2
|
export default Sort;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
declare function FilterParent({
|
|
2
|
-
columnData: any;
|
|
3
|
-
featureDetails: any;
|
|
4
|
-
setFeatureDetails: any;
|
|
1
|
+
declare function FilterParent({ callBackForSelect }: {
|
|
5
2
|
callBackForSelect: any;
|
|
6
|
-
callGrid: any;
|
|
7
3
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
4
|
export default FilterParent;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
declare function Querty({
|
|
2
|
-
|
|
1
|
+
declare function Querty({ currentIndex, queryIndex, columnData, featureDetails, setFeatureDetails, callBackForSelect, actionOnMinus, actionOnPlus, defaultFilterValue, }: {
|
|
2
|
+
currentIndex: any;
|
|
3
|
+
queryIndex: any;
|
|
3
4
|
columnData: any;
|
|
4
5
|
featureDetails: any;
|
|
5
6
|
setFeatureDetails: any;
|
|
6
7
|
callBackForSelect: any;
|
|
7
8
|
actionOnMinus: any;
|
|
8
9
|
actionOnPlus: any;
|
|
10
|
+
defaultFilterValue: any;
|
|
9
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export default Querty;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
declare function Search({
|
|
2
|
-
featureDetails: any;
|
|
3
|
-
setFeatureDetails: any;
|
|
1
|
+
declare function Search({ searchPlaceHolder }: {
|
|
4
2
|
searchPlaceHolder: any;
|
|
5
3
|
}): import("react/jsx-runtime").JSX.Element;
|
|
6
4
|
export default Search;
|