elab_components 0.0.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/README.md +46 -0
- package/dist/App.d.ts +5 -0
- package/dist/App.test.d.ts +1 -0
- package/dist/components/Button/index.d.ts +6 -0
- package/dist/components/Button/props.d.ts +19 -0
- package/dist/components/ButtonGroup/index.d.ts +6 -0
- package/dist/components/ButtonGroup/props.d.ts +61 -0
- package/dist/components/Chart/index.d.ts +6 -0
- package/dist/components/Chart/props.d.ts +48 -0
- package/dist/components/DateInputs/Calendar/index.d.ts +6 -0
- package/dist/components/DateInputs/Calendar/props.d.ts +21 -0
- package/dist/components/DateInputs/DateInput/index.d.ts +6 -0
- package/dist/components/DateInputs/DateInput/props.d.ts +24 -0
- package/dist/components/DateInputs/DatePicker/index.d.ts +6 -0
- package/dist/components/DateInputs/DatePicker/props.d.ts +27 -0
- package/dist/components/DateInputs/DateRangePicker/index.d.ts +6 -0
- package/dist/components/DateInputs/DateRangePicker/props.d.ts +17 -0
- package/dist/components/DateInputs/DateTimePicker/index.d.ts +6 -0
- package/dist/components/DateInputs/DateTimePicker/props.d.ts +17 -0
- package/dist/components/DateInputs/MultiViewCalendar/index.d.ts +6 -0
- package/dist/components/DateInputs/MultiViewCalendar/props.d.ts +10 -0
- package/dist/components/DateInputs/TimePicker/index.d.ts +6 -0
- package/dist/components/DateInputs/TimePicker/props.d.ts +19 -0
- package/dist/components/Dialogs/Dialog/index.d.ts +6 -0
- package/dist/components/Dialogs/Dialog/props.d.ts +6 -0
- package/dist/components/Dialogs/Window/index.d.ts +6 -0
- package/dist/components/Dialogs/Window/props.d.ts +6 -0
- package/dist/components/Drawer/index.d.ts +6 -0
- package/dist/components/DropDownButton/index.d.ts +6 -0
- package/dist/components/DropDownButton/props.d.ts +22 -0
- package/dist/components/DropDowns/AutoComplete/index.d.ts +6 -0
- package/dist/components/DropDowns/AutoComplete/props.d.ts +4 -0
- package/dist/components/DropDowns/ComboBox/index.d.ts +6 -0
- package/dist/components/DropDowns/ComboBox/props.d.ts +4 -0
- package/dist/components/DropDowns/DropDownList/index.d.ts +6 -0
- package/dist/components/DropDowns/DropDownList/props.d.ts +4 -0
- package/dist/components/DropDowns/MultiSelect/index.d.ts +6 -0
- package/dist/components/DropDowns/MultiSelect/props.d.ts +4 -0
- package/dist/components/Editor/index.d.ts +6 -0
- package/dist/components/Editor/props.d.ts +8 -0
- package/dist/components/Gauges/ArcGauge/index.d.ts +6 -0
- package/dist/components/Gauges/ArcGauge/props.d.ts +12 -0
- package/dist/components/Grid/GridFormInlineEditor.d.ts +4 -0
- package/dist/components/Grid/RunQueries.d.ts +4 -0
- package/dist/components/Grid/index.d.ts +50 -0
- package/dist/components/Grid/props.d.ts +36 -0
- package/dist/components/Inputs/Input/index.d.ts +6 -0
- package/dist/components/Inputs/Input/props.d.ts +7 -0
- package/dist/components/Inputs/MaskedTextBox/index.d.ts +6 -0
- package/dist/components/Inputs/MaskedTextBox/props.d.ts +7 -0
- package/dist/components/Inputs/NumericTextBox/index.d.ts +6 -0
- package/dist/components/Inputs/NumericTextBox/props.d.ts +7 -0
- package/dist/components/Inputs/Switch/index.d.ts +6 -0
- package/dist/components/Inputs/Switch/props.d.ts +7 -0
- package/dist/components/SplitButton/index.d.ts +6 -0
- package/dist/components/SplitButton/props.d.ts +42 -0
- package/dist/components/Toolbar/index.d.ts +6 -0
- package/dist/components/Toolbar/props.d.ts +7 -0
- package/dist/components/TreeView/index.d.ts +6 -0
- package/dist/components/TreeView/props.d.ts +17 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +658 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +666 -0
- package/dist/index.js.map +1 -0
- package/dist/reportWebVitals.d.ts +0 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/utils/icons.d.ts +1 -0
- package/dist/utils/locale.d.ts +4 -0
- package/package.json +199 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/** @format */
|
|
2
|
+
import { JSX } from 'react';
|
|
3
|
+
import { GridColumn, GridCell, GridProps, GridDataStateChangeEvent, GridSelectionChangeEvent, GridHeaderSelectionChangeEvent } from '@progress/kendo-react-grid';
|
|
4
|
+
import { State } from '@progress/kendo-data-query';
|
|
5
|
+
interface IGrid extends GridProps {
|
|
6
|
+
data: Array<any>;
|
|
7
|
+
style: any;
|
|
8
|
+
reorderable: boolean;
|
|
9
|
+
resizable: boolean;
|
|
10
|
+
sortable: {
|
|
11
|
+
mode: 'single' | 'multiple';
|
|
12
|
+
allowUnsort: boolean;
|
|
13
|
+
};
|
|
14
|
+
dataItemKey: string;
|
|
15
|
+
editField: string;
|
|
16
|
+
filterable: boolean;
|
|
17
|
+
groupable: boolean;
|
|
18
|
+
onDataStateChange?: (event: GridDataStateChangeEvent) => void;
|
|
19
|
+
onSelectionChange: (event: GridSelectionChangeEvent) => void;
|
|
20
|
+
onHeaderSelectionChange: (event: GridHeaderSelectionChangeEvent) => void;
|
|
21
|
+
columnConfigs: any;
|
|
22
|
+
detailComponent: Function;
|
|
23
|
+
expandChange: Function;
|
|
24
|
+
page: State;
|
|
25
|
+
pageSizeValue: number | string | undefined;
|
|
26
|
+
setPageSizeValue: Function;
|
|
27
|
+
setPage: Function;
|
|
28
|
+
expandedRows: number[];
|
|
29
|
+
selectedState: {
|
|
30
|
+
[id: string]: boolean | number[];
|
|
31
|
+
};
|
|
32
|
+
setSelectedState: Function;
|
|
33
|
+
columnOption: {
|
|
34
|
+
columnOptionModel: boolean;
|
|
35
|
+
columnConfigsModel: boolean;
|
|
36
|
+
runQueriesModel: boolean;
|
|
37
|
+
};
|
|
38
|
+
setColumnOption: Function;
|
|
39
|
+
apiColumnConfig: any;
|
|
40
|
+
searchKeyword: string;
|
|
41
|
+
setSearchKeyword: Function;
|
|
42
|
+
allColumnsField: Array<{
|
|
43
|
+
field: string;
|
|
44
|
+
title: string;
|
|
45
|
+
type: string;
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
48
|
+
declare const OkGrid: ({ ...props }: IGrid) => JSX.Element;
|
|
49
|
+
export { OkGrid, GridColumn as OkGridColumn, GridCell as OkGridCell };
|
|
50
|
+
export type { GridProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const props: () => {
|
|
2
|
+
className: string;
|
|
3
|
+
columnVirtualization: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
4
|
+
editField: string;
|
|
5
|
+
expandField: string;
|
|
6
|
+
filterable: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
7
|
+
groupable: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
8
|
+
onColumnReorder: import("@storybook/addon-actions").HandlerFunction;
|
|
9
|
+
onColumnResize: import("@storybook/addon-actions").HandlerFunction;
|
|
10
|
+
onDataStateChange: import("@storybook/addon-actions").HandlerFunction;
|
|
11
|
+
onExpandChange: import("@storybook/addon-actions").HandlerFunction;
|
|
12
|
+
onFilterChange: import("@storybook/addon-actions").HandlerFunction;
|
|
13
|
+
onGroupChange: import("@storybook/addon-actions").HandlerFunction;
|
|
14
|
+
onHeaderSelectionChange: import("@storybook/addon-actions").HandlerFunction;
|
|
15
|
+
onItemChange: import("@storybook/addon-actions").HandlerFunction;
|
|
16
|
+
onPageChange: import("@storybook/addon-actions").HandlerFunction;
|
|
17
|
+
onRowClick: import("@storybook/addon-actions").HandlerFunction;
|
|
18
|
+
onScroll: import("@storybook/addon-actions").HandlerFunction;
|
|
19
|
+
onSelectionChange: import("@storybook/addon-actions").HandlerFunction;
|
|
20
|
+
onSortChange: import("@storybook/addon-actions").HandlerFunction;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
pageable: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
23
|
+
reorderable: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
24
|
+
resizable: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
25
|
+
rowHeight: number;
|
|
26
|
+
scrollable: "none" | "scrollable" | "virtual";
|
|
27
|
+
selectedField: string;
|
|
28
|
+
skip: number;
|
|
29
|
+
sortable: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
30
|
+
style: {
|
|
31
|
+
width: number;
|
|
32
|
+
};
|
|
33
|
+
take: number;
|
|
34
|
+
total: number;
|
|
35
|
+
};
|
|
36
|
+
export default props;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MaskedTextBoxProps } from '@progress/kendo-react-inputs';
|
|
3
|
+
interface ImaskedTextBox extends MaskedTextBoxProps {
|
|
4
|
+
}
|
|
5
|
+
declare const OkMaskedTextBox: ({ ...props }: ImaskedTextBox) => React.JSX.Element;
|
|
6
|
+
export { OkMaskedTextBox };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { NumericTextBoxProps } from '@progress/kendo-react-inputs';
|
|
3
|
+
interface InumericTextBox extends NumericTextBoxProps {
|
|
4
|
+
}
|
|
5
|
+
declare const OkNumericTextBox: ({ ...props }: InumericTextBox) => React.JSX.Element;
|
|
6
|
+
export { OkNumericTextBox };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const props: () => {
|
|
2
|
+
accessKey: string;
|
|
3
|
+
buttonClass: string;
|
|
4
|
+
className: string;
|
|
5
|
+
dir: string;
|
|
6
|
+
disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
7
|
+
icon: string;
|
|
8
|
+
iconClass: string;
|
|
9
|
+
imageUrl: string;
|
|
10
|
+
look: "default" | "flat" | "bare" | "outline";
|
|
11
|
+
onBlur: import("@storybook/addon-actions").HandlerFunction;
|
|
12
|
+
onButtonClick: import("@storybook/addon-actions").HandlerFunction;
|
|
13
|
+
onClose: import("@storybook/addon-actions").HandlerFunction;
|
|
14
|
+
onFocus: import("@storybook/addon-actions").HandlerFunction;
|
|
15
|
+
onItemClick: import("@storybook/addon-actions").HandlerFunction;
|
|
16
|
+
onOpen: import("@storybook/addon-actions").HandlerFunction;
|
|
17
|
+
tabIndex: number;
|
|
18
|
+
text: string;
|
|
19
|
+
textField: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const splitButtonItemOneProps: () => {
|
|
22
|
+
disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
23
|
+
icon: string;
|
|
24
|
+
iconClass: string;
|
|
25
|
+
imageUrl: string;
|
|
26
|
+
text: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const splitButtonItemTwoProps: () => {
|
|
29
|
+
disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
30
|
+
icon: string;
|
|
31
|
+
iconClass: string;
|
|
32
|
+
imageUrl: string;
|
|
33
|
+
text: string;
|
|
34
|
+
};
|
|
35
|
+
export declare const splitButtonItemThreeProps: () => {
|
|
36
|
+
disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
37
|
+
icon: string;
|
|
38
|
+
iconClass: string;
|
|
39
|
+
imageUrl: string;
|
|
40
|
+
text: string;
|
|
41
|
+
};
|
|
42
|
+
export default props;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const props: () => {
|
|
2
|
+
animate: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
3
|
+
ariaLabel: string;
|
|
4
|
+
ariaLabelledBy: string;
|
|
5
|
+
ariaMultiselectable: string;
|
|
6
|
+
checkField: string;
|
|
7
|
+
checkIndeterminateField: string;
|
|
8
|
+
checkboxes: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
9
|
+
expandIcons: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
10
|
+
disabled: import("@storybook/addon-knobs/dist/type-defs").Mutable<boolean>;
|
|
11
|
+
onExpandChange: import("@storybook/addon-actions").HandlerFunction;
|
|
12
|
+
onItemClick: import("@storybook/addon-actions").HandlerFunction;
|
|
13
|
+
style: {
|
|
14
|
+
width: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default props;
|
package/dist/index.d.ts
ADDED