ods-component-lib 1.18.46 → 1.18.47
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/devextreme/OdsRemoteDataGrid.d.ts +1 -0
- package/dist/components/devextreme/richTextEditor/OdsRichTextEditor.d.ts +22 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsDateRangePicker/OdsDateRangePicker.stories.d.ts +4 -11
- package/dist/stories/OdsDatepicker/OdsDatepicker.stories.d.ts +4 -3
- package/dist/stories/OdsDivider/OdsDivider.stories.d.ts +10 -0
- package/dist/stories/OdsDivider/Samples/Text.Sample.d.ts +1 -0
- package/dist/stories/OdsRichTextEditor/OdsRichTextEditor.stories.d.ts +42 -0
- package/dist/stories/OdsRichTextEditor/Samples/DefaultTextRichTextEditor.Sample.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/antd/form/OdsBasicForm.d.ts +0 -18
- package/dist/components/antd/icon/OdsIcon.d.ts +0 -10
- package/dist/components/antd/message/OdsMessage.d.ts +0 -3
- package/dist/components/antd/select/OdsCustomMultiSelect.d.ts +0 -7
- package/dist/components/antd/select/OdsMultiSelect.d.ts +0 -9
- package/dist/components/custom/OdsLogin.d.ts +0 -8
- package/dist/components/devextreme/DxDataPopupForm.d.ts +0 -3
- package/dist/components/devextreme/DynamicIcon.d.ts +0 -5
- package/dist/components/devextreme/OdsDataGridNew.d.ts +0 -56
- package/dist/components/devextreme/OdsProfDataGrid.d.ts +0 -3
- package/dist/components/devextreme/treeview/DxTreeView.d.ts +0 -3
- package/dist/stories/OdsCustomMultiSelect/OdsCustomMultiSelect.stories.d.ts +0 -9
- package/dist/stories/OdsCustomMultiSelect/Samples/ModeMultiple.Sample.d.ts +0 -1
- package/dist/utils/DynamicIcon.d.ts +0 -5
- /package/dist/stories/{OdsCustomMultiSelect → OdsDivider}/Samples/Basic.Sample.d.ts +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./RichTextEditor.css";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare enum RichTextEditorTab {
|
|
4
|
+
FromThisDevice = 0,
|
|
5
|
+
FromTheWeb = 1,
|
|
6
|
+
Both = 2
|
|
7
|
+
}
|
|
8
|
+
export declare enum RichTextEditorFileUploadMode {
|
|
9
|
+
Base64 = "base64",
|
|
10
|
+
Server = "server",
|
|
11
|
+
Both = "both"
|
|
12
|
+
}
|
|
13
|
+
export declare type IRichTextEditorProps = {
|
|
14
|
+
defaultText: string;
|
|
15
|
+
defaultTabIndex: RichTextEditorTab;
|
|
16
|
+
isMultiline: boolean;
|
|
17
|
+
height: string;
|
|
18
|
+
fileUploadMode: RichTextEditorFileUploadMode;
|
|
19
|
+
isEnableMediaResizing: boolean;
|
|
20
|
+
};
|
|
21
|
+
declare const OdsRichTextEditor: (props: IRichTextEditorProps) => React.JSX.Element;
|
|
22
|
+
export default OdsRichTextEditor;
|
package/dist/index.js
CHANGED
|
@@ -16718,6 +16718,13 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16718
16718
|
}
|
|
16719
16719
|
}
|
|
16720
16720
|
}, []);
|
|
16721
|
+
var renderTotalPaging = React.useCallback(function () {
|
|
16722
|
+
var result = "";
|
|
16723
|
+
if (totalPageCount > 1) {
|
|
16724
|
+
result = props.customSummary.summaryTotalPageCountLabel + (":" + loadedPageCount + " / " + totalPageCount);
|
|
16725
|
+
}
|
|
16726
|
+
return result;
|
|
16727
|
+
}, [loadedPageCount, totalPageCount]);
|
|
16721
16728
|
var renderTotal = React.useCallback(function () {
|
|
16722
16729
|
var result = "";
|
|
16723
16730
|
var totalloaded = 0;
|
|
@@ -16982,6 +16989,11 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16982
16989
|
summaryType: "custom",
|
|
16983
16990
|
displayFormat: "customizeText",
|
|
16984
16991
|
customizeText: renderTotal
|
|
16992
|
+
}), React__default.createElement(DataGrid.TotalItem, {
|
|
16993
|
+
column: columns[columns.length - 1].dataField,
|
|
16994
|
+
summaryType: "custom",
|
|
16995
|
+
displayFormat: "customizeText",
|
|
16996
|
+
customizeText: renderTotalPaging
|
|
16985
16997
|
})), React__default.createElement(DataGrid.StateStoring, {
|
|
16986
16998
|
enabled: true,
|
|
16987
16999
|
type: "custom",
|