ods-component-lib 1.17.102 → 1.17.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.
- package/dist/OdsDataGrid.d.ts +3 -3
- package/dist/components/antd/button/OdsButton.styled.d.ts +2 -2
- package/dist/components/antd/table/OdsTable.d.ts +3 -3
- package/dist/components/devextreme/DxDataGridForm.d.ts +3 -3
- package/dist/components/devextreme/datagrid/OdsDataGrid.d.ts +21 -21
- package/dist/index.css +75 -75
- package/dist/index.js +13 -15
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13 -15
- package/dist/index.modern.js.map +1 -1
- package/package.json +108 -108
package/dist/OdsDataGrid.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare function OdsDataGrid(props: any): React.JSX.Element;
|
|
3
|
-
export default OdsDataGrid;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare function OdsDataGrid(props: any): React.JSX.Element;
|
|
3
|
+
export default OdsDataGrid;
|
|
@@ -3,9 +3,9 @@ export declare const StyledButton: import("styled-components").StyledComponent<i
|
|
|
3
3
|
href: string;
|
|
4
4
|
target?: import("react").HTMLAttributeAnchorTarget;
|
|
5
5
|
onClick?: (event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
6
|
-
} & import("antd/es/button/button").BaseButtonProps & Pick<import("react").AnchorHTMLAttributes<
|
|
6
|
+
} & import("antd/es/button/button").BaseButtonProps & Pick<import("react").AnchorHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "slot" | "style" | "title" | "download" | "href" | "hrefLang" | "media" | "ping" | "target" | "referrerPolicy" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
7
7
|
htmlType?: "button" | "submit" | "reset";
|
|
8
8
|
onClick?: (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
9
|
-
} & Pick<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "name" | "
|
|
9
|
+
} & Pick<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "form" | "slot" | "style" | "title" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">> & import("react").RefAttributes<HTMLElement>> & {
|
|
10
10
|
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
|
11
11
|
}, any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare function OdsTable(props: any): React.JSX.Element;
|
|
3
|
-
export default OdsTable;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare function OdsTable(props: any): React.JSX.Element;
|
|
3
|
+
export default OdsTable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
|
|
3
|
-
export default _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: React.MemoExoticComponent<(props: any) => React.JSX.Element>;
|
|
3
|
+
export default _default;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const dummyData: {
|
|
3
|
-
EmployeeID: number;
|
|
4
|
-
FullName: string;
|
|
5
|
-
Position: string;
|
|
6
|
-
TitleOfCourtesy: string;
|
|
7
|
-
BirthDate: string;
|
|
8
|
-
HireDate: string;
|
|
9
|
-
Address: string;
|
|
10
|
-
City: string;
|
|
11
|
-
Region: string;
|
|
12
|
-
PostalCode: string;
|
|
13
|
-
Country: string;
|
|
14
|
-
HomePhone: string;
|
|
15
|
-
Extension: string;
|
|
16
|
-
Photo: string;
|
|
17
|
-
Notes: string;
|
|
18
|
-
ReportsTo: number;
|
|
19
|
-
}[];
|
|
20
|
-
declare function OdsDataGrid(props: any): React.JSX.Element;
|
|
21
|
-
export default OdsDataGrid;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const dummyData: {
|
|
3
|
+
EmployeeID: number;
|
|
4
|
+
FullName: string;
|
|
5
|
+
Position: string;
|
|
6
|
+
TitleOfCourtesy: string;
|
|
7
|
+
BirthDate: string;
|
|
8
|
+
HireDate: string;
|
|
9
|
+
Address: string;
|
|
10
|
+
City: string;
|
|
11
|
+
Region: string;
|
|
12
|
+
PostalCode: string;
|
|
13
|
+
Country: string;
|
|
14
|
+
HomePhone: string;
|
|
15
|
+
Extension: string;
|
|
16
|
+
Photo: string;
|
|
17
|
+
Notes: string;
|
|
18
|
+
ReportsTo: number;
|
|
19
|
+
}[];
|
|
20
|
+
declare function OdsDataGrid(props: any): React.JSX.Element;
|
|
21
|
+
export default OdsDataGrid;
|
package/dist/index.css
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
:root {
|
|
3
|
-
--colorText: #000000E0;
|
|
4
|
-
--controlItemBgActive:#E6F4FF
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
tr._2CvVM._3udtX._32nFu{
|
|
8
|
-
background: var(--controlItemBgActive, #E6F4FF) !important;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
flex: 1 0 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
._2jY0l {
|
|
15
|
-
padding-top: 10px !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
._36VXO {
|
|
19
|
-
width: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
div._1veiV {
|
|
23
|
-
max-width: 100% !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
tr:first-child {
|
|
27
|
-
background-color: #E6F4FF !important; /* Replace with your desired background color */
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
|
|
32
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
._q4jkZ ._1UPzZ, ._1GEDH + ._1UPzZ, ._1UPzZ._4V16J {
|
|
36
|
-
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
._q4jkZ > ._1GEDH, ._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
|
|
40
|
-
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
41
|
-
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
42
|
-
border-radius: 5px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
._q4jkZ > ._3mbXf, ._q4jkZ > ._1GEDH {
|
|
46
|
-
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
._1GEDH ._2NiLf ._2CvVM > td {
|
|
50
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
._36VXO ._3udtX > td {
|
|
54
|
-
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
55
|
-
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
._1GEDH {
|
|
59
|
-
border-bottom: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
._1GEDH {
|
|
63
|
-
color: #000000E0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
._pljbP {
|
|
67
|
-
border-radius: 6px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
._3nKdN, ._23Fql {
|
|
71
|
-
background-color: #E6F4FF;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
._1hTxK._3umXw {
|
|
75
|
-
background-color: #E6F4FF;
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
--colorText: #000000E0;
|
|
4
|
+
--controlItemBgActive:#E6F4FF
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
tr._2CvVM._3udtX._32nFu{
|
|
8
|
+
background: var(--controlItemBgActive, #E6F4FF) !important;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
flex: 1 0 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
._2jY0l {
|
|
15
|
+
padding-top: 10px !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
._36VXO {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
div._1veiV {
|
|
23
|
+
max-width: 100% !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
tr:first-child {
|
|
27
|
+
background-color: #E6F4FF !important; /* Replace with your desired background color */
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
|
|
32
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
._q4jkZ ._1UPzZ, ._1GEDH + ._1UPzZ, ._1UPzZ._4V16J {
|
|
36
|
+
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
._q4jkZ > ._1GEDH, ._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
|
|
40
|
+
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
41
|
+
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
42
|
+
border-radius: 5px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
._q4jkZ > ._3mbXf, ._q4jkZ > ._1GEDH {
|
|
46
|
+
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
._1GEDH ._2NiLf ._2CvVM > td {
|
|
50
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
._36VXO ._3udtX > td {
|
|
54
|
+
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
55
|
+
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
._1GEDH {
|
|
59
|
+
border-bottom: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
._1GEDH {
|
|
63
|
+
color: #000000E0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
._pljbP {
|
|
67
|
+
border-radius: 6px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
._3nKdN, ._23Fql {
|
|
71
|
+
background-color: #E6F4FF;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
._1hTxK._3umXw {
|
|
75
|
+
background-color: #E6F4FF;
|
|
76
76
|
}
|
package/dist/index.js
CHANGED
|
@@ -1188,9 +1188,6 @@ function OdsLogin(props) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
1190
|
var exportFormats = ['xlsx'];
|
|
1191
|
-
var searchEditorOptions = {
|
|
1192
|
-
placeholder: 'Search column'
|
|
1193
|
-
};
|
|
1194
1191
|
var renderMenuItem = function renderMenuItem() {
|
|
1195
1192
|
return React__default.createElement(dataGrid.Export, {
|
|
1196
1193
|
enabled: true,
|
|
@@ -1333,8 +1330,7 @@ function grid(props, dataGridRef) {
|
|
|
1333
1330
|
at: "right bottom",
|
|
1334
1331
|
of: ".dx-datagrid-column-chooser-button"
|
|
1335
1332
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1336
|
-
enabled: true
|
|
1337
|
-
editorOptions: searchEditorOptions
|
|
1333
|
+
enabled: true
|
|
1338
1334
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1339
1335
|
allowSelectAll: true,
|
|
1340
1336
|
selectByClick: true,
|
|
@@ -1397,6 +1393,8 @@ function grid(props, dataGridRef) {
|
|
|
1397
1393
|
if (props.customPopup !== undefined) {
|
|
1398
1394
|
return React__default.createElement(dataGrid.Column, {
|
|
1399
1395
|
dataField: "Actions",
|
|
1396
|
+
fixed: true,
|
|
1397
|
+
allowSorting: false,
|
|
1400
1398
|
caption: props.ColumnAction,
|
|
1401
1399
|
type: "buttons",
|
|
1402
1400
|
width: 110,
|
|
@@ -1475,10 +1473,7 @@ function grid(props, dataGridRef) {
|
|
|
1475
1473
|
}))));
|
|
1476
1474
|
}
|
|
1477
1475
|
|
|
1478
|
-
var exportFormats$1 = ['xlsx'
|
|
1479
|
-
var searchEditorOptions$1 = {
|
|
1480
|
-
placeholder: 'Search column'
|
|
1481
|
-
};
|
|
1476
|
+
var exportFormats$1 = ['xlsx'];
|
|
1482
1477
|
function OdsDisplayGrid(props) {
|
|
1483
1478
|
return grid$1(props);
|
|
1484
1479
|
}
|
|
@@ -1521,6 +1516,10 @@ function grid$1(props) {
|
|
|
1521
1516
|
});
|
|
1522
1517
|
}
|
|
1523
1518
|
};
|
|
1519
|
+
React.useEffect(function () {
|
|
1520
|
+
localization.locale(sessionStorage.getItem("locale"));
|
|
1521
|
+
localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1522
|
+
}, []);
|
|
1524
1523
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement(dataGrid.DataGrid, {
|
|
1525
1524
|
dataSource: props.dataSource,
|
|
1526
1525
|
columnAutoWidth: props.columnAutoWidth,
|
|
@@ -1556,8 +1555,7 @@ function grid$1(props) {
|
|
|
1556
1555
|
at: "right bottom",
|
|
1557
1556
|
of: ".dx-datagrid-column-chooser-button"
|
|
1558
1557
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1559
|
-
enabled: true
|
|
1560
|
-
editorOptions: searchEditorOptions$1
|
|
1558
|
+
enabled: true
|
|
1561
1559
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1562
1560
|
allowSelectAll: true,
|
|
1563
1561
|
selectByClick: true,
|
|
@@ -1593,7 +1591,7 @@ function grid$1(props) {
|
|
|
1593
1591
|
}
|
|
1594
1592
|
|
|
1595
1593
|
var exportFormats$2 = ['xlsx', 'pdf'];
|
|
1596
|
-
var searchEditorOptions
|
|
1594
|
+
var searchEditorOptions = {
|
|
1597
1595
|
placeholder: 'Search column'
|
|
1598
1596
|
};
|
|
1599
1597
|
var renderMenuItem$1 = function renderMenuItem() {
|
|
@@ -1722,7 +1720,7 @@ function OdsProfDataGrid(props) {
|
|
|
1722
1720
|
of: ".dx-datagrid-column-chooser-button"
|
|
1723
1721
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1724
1722
|
enabled: true,
|
|
1725
|
-
editorOptions: searchEditorOptions
|
|
1723
|
+
editorOptions: searchEditorOptions
|
|
1726
1724
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1727
1725
|
allowSelectAll: true,
|
|
1728
1726
|
selectByClick: true,
|
|
@@ -1854,7 +1852,7 @@ function OdsProfDataGrid(props) {
|
|
|
1854
1852
|
}
|
|
1855
1853
|
|
|
1856
1854
|
var exportFormats$3 = ['xlsx', 'pdf'];
|
|
1857
|
-
var searchEditorOptions$
|
|
1855
|
+
var searchEditorOptions$1 = {
|
|
1858
1856
|
placeholder: 'Search column'
|
|
1859
1857
|
};
|
|
1860
1858
|
var renderMenuItem$2 = function renderMenuItem() {
|
|
@@ -1981,7 +1979,7 @@ function grid$2(props) {
|
|
|
1981
1979
|
of: ".dx-datagrid-column-chooser-button"
|
|
1982
1980
|
}), React__default.createElement(dataGrid.ColumnChooserSearch, {
|
|
1983
1981
|
enabled: true,
|
|
1984
|
-
editorOptions: searchEditorOptions$
|
|
1982
|
+
editorOptions: searchEditorOptions$1
|
|
1985
1983
|
}), React__default.createElement(dataGrid.ColumnChooserSelection, {
|
|
1986
1984
|
allowSelectAll: true,
|
|
1987
1985
|
selectByClick: true,
|