ods-component-lib 1.18.52 → 1.18.53
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/antd/cascader/OdsCascader.d.ts +4 -0
- package/dist/components/antd/cascader/OdsCascader.styled.d.ts +46 -0
- package/dist/components/antd/dropdown/OdsDropdown.d.ts +2 -2
- package/dist/components/antd/steps/OdsSteps.d.ts +8 -1
- package/dist/components/antd/typography/OdsLink.d.ts +5 -2
- package/dist/components/antd/typography/OdsParagraph.d.ts +5 -2
- package/dist/components/antd/typography/OdsTypography.d.ts +7 -0
- package/dist/components/antd/typography/Typography.styled.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +50 -46
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +48 -45
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/Commons/OdsParagraph/OdsParagraph.stories.d.ts +15 -0
- package/dist/stories/Commons/OdsParagraph/Samples/BasicParagraph.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsParagraph/Samples/BasicTypography.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/OdsRate.stories.d.ts +17 -0
- package/dist/stories/Commons/OdsRate/Samples/AllowHalfWithTooltips.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/Samples/OtherCharacter.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsRate/Samples/Readonly.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSpin/OdsSpin.stories.d.ts +9 -0
- package/dist/stories/Commons/OdsSpin/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/OdsSteps.stories.d.ts +20 -0
- package/dist/stories/Commons/OdsSteps/Samples/BasicError.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/BasicHorizontal.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/BasicVertical.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/SwitchStep.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/SwitchStepWithDrawer.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/SwitchStepWithDrawerSecond.d.ts +1 -0
- package/dist/stories/Commons/OdsSteps/Samples/WithIcon.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsTab/OdsTab.stories.d.ts +16 -0
- package/dist/stories/Commons/OdsTab/Samples/BasicWithDisabled.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsTab/Samples/Indicator.Sample.d.ts +1 -0
- package/dist/stories/Commons/OdsTab/Samples/Slide.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/OdsCascader.stories.d.ts +17 -0
- package/dist/stories/OdsCascader/Samples/BasicWithDefaultValue.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/Samples/CustomFieldNames.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/Samples/MultipleWithDisabled.Sample.d.ts +1 -0
- package/dist/stories/OdsCascader/Samples/Search.Sample.d.ts +1 -0
- package/dist/stories/OdsCollapse/OdsCollapse.stories.d.ts +16 -0
- package/dist/stories/OdsCollapse/Samples/BasicVSAccordion.Sample.d.ts +1 -0
- package/dist/stories/OdsCollapse/Samples/BasicVsCustom.Sample.d.ts +1 -0
- package/dist/stories/OdsCollapse/Samples/NestedCollapse.Sample.d.ts +1 -0
- package/dist/stories/OdsSelect/OdsSelect.stories.d.ts +7 -50
- package/dist/stories/OdsSelect/Samples/BasicWithOptGroup.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/OdsSwitch.stories copy.d.ts +16 -0
- package/dist/stories/OdsSwitch/OdsSwitch.stories.d.ts +16 -0
- package/dist/stories/OdsSwitch/Samples/BasicDisabled.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/Checked.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/CheckedChildrenDisplayIcon.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/CheckedChildrenDisplayText.Sample.d.ts +1 -0
- package/dist/stories/OdsSwitch/Samples/CheckedLoading.Sample.d.ts +1 -0
- package/dist/stories/OdsTag/OdsTag.stories.d.ts +9 -1
- package/dist/stories/OdsTag/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsTag/Samples/Colorful.Sample.d.ts +1 -0
- package/dist/stories/OdsTag/Samples/Status.Sample.d.ts +1 -0
- package/dist/stories/OdsTitle/OdsTitle.stories.d.ts +5 -5
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledCascader: import("styled-components").StyledComponent<(<OptionType extends import("rc-cascader").DefaultOptionType | import("rc-cascader").BaseOptionType = import("rc-cascader").DefaultOptionType>(props: (Pick<import("rc-cascader").SingleCascaderProps<OptionType>, "defaultValue" | "value" | "onChange" | "placeholder" | "id" | "disabled" | "onFocus" | "onBlur" | "onKeyDown" | "maxLength" | "autoFocus" | "className" | "style" | "tabIndex" | "title" | "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" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "removeIcon" | "maxTagCount" | "direction" | "prefixCls" | "suffixIcon" | "allowClear" | "clearIcon" | "defaultOpen" | "open" | "getPopupContainer" | "placement" | "builtinPlacements" | "transitionName" | "dropdownClassName" | "popupClassName" | "loading" | "searchValue" | "autoClearSearchValue" | "onSearch" | "showSearch" | "tagRender" | "notFoundContent" | "onClear" | "choiceTransitionName" | "onDropdownVisibleChange" | "getInputElement" | "getRawInputElement" | "maxTagTextLength" | "maxTagPlaceholder" | "animation" | "dropdownStyle" | "dropdownMatchSelectWidth" | "dropdownRender" | "dropdownAlign" | "showAction" | "onPopupScroll" | "onInputKeyDown" | "fieldNames" | "changeOnSelect" | "displayRender" | "showCheckedStrategy" | "expandTrigger" | "dropdownPrefixCls" | "loadData" | "popupVisible" | "dropdownMenuColumnStyle" | "popupPlacement" | "onPopupVisibleChange" | "expandIcon" | "loadingIcon"> & {
|
|
3
|
+
multiple?: false;
|
|
4
|
+
} & {
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
size?: import("antd/es/button").ButtonSize;
|
|
7
|
+
showArrow?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
bordered?: boolean;
|
|
10
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
11
|
+
suffixIcon?: import("react").ReactNode;
|
|
12
|
+
options?: OptionType[];
|
|
13
|
+
status?: "" | "warning" | "error";
|
|
14
|
+
autoClearSearchValue?: boolean;
|
|
15
|
+
rootClassName?: string;
|
|
16
|
+
popupClassName?: string;
|
|
17
|
+
dropdownClassName?: string;
|
|
18
|
+
variant?: "outlined" | "borderless" | "filled";
|
|
19
|
+
} & {
|
|
20
|
+
children?: import("react").ReactNode;
|
|
21
|
+
} & import("react").RefAttributes<import("antd/es/cascader").CascaderRef>) | (Pick<import("rc-cascader").MultipleCascaderProps<OptionType>, "defaultValue" | "value" | "onChange" | "placeholder" | "id" | "disabled" | "onFocus" | "onBlur" | "onKeyDown" | "maxLength" | "autoFocus" | "className" | "style" | "tabIndex" | "title" | "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" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "removeIcon" | "maxTagCount" | "direction" | "prefixCls" | "suffixIcon" | "allowClear" | "clearIcon" | "defaultOpen" | "open" | "getPopupContainer" | "placement" | "builtinPlacements" | "transitionName" | "dropdownClassName" | "popupClassName" | "loading" | "searchValue" | "autoClearSearchValue" | "onSearch" | "showSearch" | "tagRender" | "notFoundContent" | "onClear" | "choiceTransitionName" | "onDropdownVisibleChange" | "getInputElement" | "getRawInputElement" | "maxTagTextLength" | "maxTagPlaceholder" | "animation" | "dropdownStyle" | "dropdownMatchSelectWidth" | "dropdownRender" | "dropdownAlign" | "showAction" | "onPopupScroll" | "onInputKeyDown" | "fieldNames" | "changeOnSelect" | "displayRender" | "showCheckedStrategy" | "expandTrigger" | "dropdownPrefixCls" | "loadData" | "popupVisible" | "dropdownMenuColumnStyle" | "popupPlacement" | "onPopupVisibleChange" | "expandIcon" | "loadingIcon"> & {
|
|
22
|
+
multiple: true;
|
|
23
|
+
} & {
|
|
24
|
+
multiple?: boolean;
|
|
25
|
+
size?: import("antd/es/button").ButtonSize;
|
|
26
|
+
showArrow?: boolean;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
bordered?: boolean;
|
|
29
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
30
|
+
suffixIcon?: import("react").ReactNode;
|
|
31
|
+
options?: OptionType[];
|
|
32
|
+
status?: "" | "warning" | "error";
|
|
33
|
+
autoClearSearchValue?: boolean;
|
|
34
|
+
rootClassName?: string;
|
|
35
|
+
popupClassName?: string;
|
|
36
|
+
dropdownClassName?: string;
|
|
37
|
+
variant?: "outlined" | "borderless" | "filled";
|
|
38
|
+
} & {
|
|
39
|
+
children?: import("react").ReactNode;
|
|
40
|
+
} & import("react").RefAttributes<import("antd/es/cascader").CascaderRef>)) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any>) | (new (props: any) => import("react").Component<any, any, any>)>) & {
|
|
41
|
+
displayName: string;
|
|
42
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
43
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
44
|
+
Panel: import("react").FC<Pick<import("antd").CascaderProps<any>, import("antd/es/cascader/Panel").PanelPickType>>;
|
|
45
|
+
_InternalPanelDoNotUseOrYouWillBeFired: (props: Record<string | number | symbol, any>) => import("react").JSX.Element;
|
|
46
|
+
}, any, {}, never>;
|
|
@@ -3,5 +3,5 @@ import React from "react";
|
|
|
3
3
|
export interface IDropDownProps extends DropDownProps {
|
|
4
4
|
menuItems?: any[];
|
|
5
5
|
}
|
|
6
|
-
declare function
|
|
7
|
-
export default
|
|
6
|
+
declare function OdsDropdown(props: IDropDownProps): React.JSX.Element;
|
|
7
|
+
export default OdsDropdown;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import { StepProps, StepsProps } from "antd";
|
|
3
|
+
export interface IStepsProps extends StepsProps {
|
|
4
|
+
items?: IStepProps[];
|
|
5
|
+
}
|
|
6
|
+
interface IStepProps extends StepProps {
|
|
7
|
+
content: any;
|
|
8
|
+
}
|
|
9
|
+
declare const OdsSteps: (props: IStepsProps) => React.JSX.Element;
|
|
3
10
|
export default OdsSteps;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { TypographyProps } from "antd";
|
|
2
1
|
import React from "react";
|
|
3
|
-
|
|
2
|
+
import { StyledtTypographyLink } from "./Typography.styled";
|
|
3
|
+
interface StyledOdsLinkProps extends React.ComponentProps<typeof StyledtTypographyLink> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const OdsLink: React.FC<StyledOdsLinkProps>;
|
|
4
7
|
export default OdsLink;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { TypographyProps } from 'antd';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
|
|
2
|
+
import { StyledtTypographyParagraph } from './Typography.styled';
|
|
3
|
+
export interface StyledOdsParagraphProps extends React.ComponentProps<typeof StyledtTypographyParagraph> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const OdsParagraph: (props: StyledOdsParagraphProps) => React.JSX.Element;
|
|
4
7
|
export default OdsParagraph;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyledtTypography } from './Typography.styled';
|
|
3
|
+
export interface StyledOdsTypographyProps extends React.ComponentProps<typeof StyledtTypography> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const OdsTypography: (props: StyledOdsTypographyProps) => React.JSX.Element;
|
|
7
|
+
export default OdsTypography;
|
|
@@ -1 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const StyledtTypography: import("styled-components").StyledComponent<import("antd").TypographyProps, any, {}, never>;
|
|
3
|
+
export declare const StyledtTypographyParagraph: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Paragraph").ParagraphProps & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
4
|
+
export declare const StyledtTypographyLink: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/typography/Link").LinkProps & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ import DxTreeList from "./components/devextreme/treeview/DxTreeList";
|
|
|
47
47
|
import OdsRemoteDataGrid from "./components/devextreme/OdsRemoteDataGrid";
|
|
48
48
|
import OdsBadge from "./components/antd/badge/OdsBadge";
|
|
49
49
|
import OdsBadgeRibbon from "./components/antd/badge/OdsBadgeRibbon";
|
|
50
|
+
import OdsAdvanceModal from "./components/antd/modal/OdsAdvanceModal";
|
|
50
51
|
export { OdsButton };
|
|
51
52
|
export { OdsInput };
|
|
52
53
|
export { OdsDropdownButton };
|
|
@@ -93,6 +94,7 @@ export { OdsBannerAlert };
|
|
|
93
94
|
export { OdsMultiSelect };
|
|
94
95
|
export { OdsBadge };
|
|
95
96
|
export { OdsBadgeRibbon };
|
|
97
|
+
export { OdsAdvanceModal };
|
|
96
98
|
export { OdsDataGrid };
|
|
97
99
|
export { OdsDisplayGrid };
|
|
98
100
|
export { OdsRemoteDataGrid };
|
package/dist/index.js
CHANGED
|
@@ -38,6 +38,18 @@ function _extends() {
|
|
|
38
38
|
};
|
|
39
39
|
return _extends.apply(this, arguments);
|
|
40
40
|
}
|
|
41
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
42
|
+
if (source == null) return {};
|
|
43
|
+
var target = {};
|
|
44
|
+
var sourceKeys = Object.keys(source);
|
|
45
|
+
var key, i;
|
|
46
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
47
|
+
key = sourceKeys[i];
|
|
48
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
49
|
+
target[key] = source[key];
|
|
50
|
+
}
|
|
51
|
+
return target;
|
|
52
|
+
}
|
|
41
53
|
function _taggedTemplateLiteralLoose(strings, raw) {
|
|
42
54
|
if (!raw) {
|
|
43
55
|
raw = strings.slice(0);
|
|
@@ -503,7 +515,7 @@ var StyledDropdown = styled__default(antd.Dropdown)(_templateObject$8 || (_templ
|
|
|
503
515
|
var handleMenuClick = function handleMenuClick(e) {
|
|
504
516
|
console.log('click', e);
|
|
505
517
|
};
|
|
506
|
-
function
|
|
518
|
+
function OdsDropdown(props) {
|
|
507
519
|
var menuProps = {
|
|
508
520
|
items: props.menuItems,
|
|
509
521
|
onClick: handleMenuClick
|
|
@@ -981,7 +993,6 @@ var StyledSpin = styled__default(antd.Spin)(_templateObject$f || (_templateObjec
|
|
|
981
993
|
function OdsSpin(props) {
|
|
982
994
|
var _useState = React.useState(true),
|
|
983
995
|
loading = _useState[0];
|
|
984
|
-
props.size = "default";
|
|
985
996
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement(StyledSpin, Object.assign({}, props, {
|
|
986
997
|
spinning: loading
|
|
987
998
|
}), props.children));
|
|
@@ -999,41 +1010,10 @@ function OdsSwitch(props) {
|
|
|
999
1010
|
var _templateObject$h;
|
|
1000
1011
|
var StyledTabs = styled__default(antd.Tabs)(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n //\n"])));
|
|
1001
1012
|
|
|
1002
|
-
var onChange = function onChange(key) {
|
|
1003
|
-
console.log(key);
|
|
1004
|
-
};
|
|
1005
|
-
var items = [{
|
|
1006
|
-
key: '1',
|
|
1007
|
-
label: "Tab 1",
|
|
1008
|
-
children: "Content of Tab Pane 1",
|
|
1009
|
-
disabled: true
|
|
1010
|
-
}, {
|
|
1011
|
-
key: '2',
|
|
1012
|
-
label: "Tab 2",
|
|
1013
|
-
children: "Content of Tab Pane 2"
|
|
1014
|
-
}, {
|
|
1015
|
-
key: '3',
|
|
1016
|
-
label: "Tab 3",
|
|
1017
|
-
children: "Content of Tab Pane 3"
|
|
1018
|
-
}];
|
|
1019
1013
|
function OdsTab(props) {
|
|
1020
|
-
var _useState = React.useState(),
|
|
1021
|
-
size = _useState[0],
|
|
1022
|
-
setSize = _useState[1];
|
|
1023
|
-
var _useState2 = React.useState(),
|
|
1024
|
-
tabPosition = _useState2[0],
|
|
1025
|
-
setTabPosition = _useState2[1];
|
|
1026
|
-
setTabPosition("top");
|
|
1027
|
-
setSize("middle");
|
|
1028
1014
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement(styled.ThemeProvider, {
|
|
1029
1015
|
theme: lightTheme
|
|
1030
|
-
}, React__default.createElement(StyledTabs, Object.assign({}, props
|
|
1031
|
-
tabPosition: tabPosition,
|
|
1032
|
-
size: size,
|
|
1033
|
-
defaultActiveKey: "1",
|
|
1034
|
-
items: items,
|
|
1035
|
-
onChange: onChange
|
|
1036
|
-
}), props.children)));
|
|
1016
|
+
}, React__default.createElement(StyledTabs, Object.assign({}, props))));
|
|
1037
1017
|
}
|
|
1038
1018
|
|
|
1039
1019
|
var _templateObject$i;
|
|
@@ -1102,21 +1082,27 @@ var OdsTimepicker = function OdsTimepicker(props) {
|
|
|
1102
1082
|
}));
|
|
1103
1083
|
};
|
|
1104
1084
|
|
|
1105
|
-
var _templateObject$m;
|
|
1085
|
+
var _templateObject$m, _templateObject2, _templateObject3;
|
|
1106
1086
|
var StyledtTypography = styled__default(antd.Typography)(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n //\n"])));
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1087
|
+
var StyledtTypographyParagraph = styled__default(antd.Typography.Paragraph)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n //\n"])));
|
|
1088
|
+
var StyledtTypographyLink = styled__default(antd.Typography.Link)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n // \n"])));
|
|
1089
|
+
|
|
1090
|
+
var _excluded = ["children"];
|
|
1091
|
+
var StyledOdsLink = function StyledOdsLink(_ref) {
|
|
1092
|
+
var children = _ref.children,
|
|
1093
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
1094
|
+
return React__default.createElement(StyledtTypographyLink, Object.assign({}, props), children);
|
|
1095
|
+
};
|
|
1111
1096
|
var OdsLink = function OdsLink(props) {
|
|
1112
1097
|
return React__default.createElement(StyledOdsLink, Object.assign({}, props));
|
|
1113
1098
|
};
|
|
1114
1099
|
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
}
|
|
1100
|
+
var _excluded$1 = ["children"];
|
|
1101
|
+
var StyledOdsParagraph = function StyledOdsParagraph(_ref) {
|
|
1102
|
+
var children = _ref.children,
|
|
1103
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
1104
|
+
return React__default.createElement(StyledtTypographyParagraph, Object.assign({}, props), children);
|
|
1105
|
+
};
|
|
1120
1106
|
var OdsParagraph = function OdsParagraph(props) {
|
|
1121
1107
|
return React__default.createElement(StyledOdsParagraph, Object.assign({}, props));
|
|
1122
1108
|
};
|
|
@@ -16971,7 +16957,25 @@ function OdsBadgeRibbon(props) {
|
|
|
16971
16957
|
}, React__default.createElement(StyledBadge.Ribbon, Object.assign({}, props), props.children)));
|
|
16972
16958
|
}
|
|
16973
16959
|
|
|
16960
|
+
var _excluded$2 = ["content"];
|
|
16961
|
+
var OdsAdvanceModal = function OdsAdvanceModal(_ref) {
|
|
16962
|
+
var content = _ref.content,
|
|
16963
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
16964
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement(antd.Modal, Object.assign({}, props, {
|
|
16965
|
+
open: props.open,
|
|
16966
|
+
onOk: props.onOk,
|
|
16967
|
+
onCancel: props.onCancel
|
|
16968
|
+
}), content), React__default.createElement(styled.ThemeProvider, {
|
|
16969
|
+
theme: lightTheme
|
|
16970
|
+
}, React__default.createElement(antd.Modal, Object.assign({}, props, {
|
|
16971
|
+
open: props.open,
|
|
16972
|
+
onOk: props.onOk,
|
|
16973
|
+
onCancel: props.onCancel
|
|
16974
|
+
}), content)));
|
|
16975
|
+
};
|
|
16976
|
+
|
|
16974
16977
|
exports.DxTreeList = DxTreeList;
|
|
16978
|
+
exports.OdsAdvanceModal = OdsAdvanceModal;
|
|
16975
16979
|
exports.OdsAlert = OdsAlert;
|
|
16976
16980
|
exports.OdsAutoComplete = OdsAutoComplete;
|
|
16977
16981
|
exports.OdsBadge = OdsBadge;
|
|
@@ -16983,13 +16987,13 @@ exports.OdsCalendar = OdsCalendar;
|
|
|
16983
16987
|
exports.OdsCard = OdsCard;
|
|
16984
16988
|
exports.OdsCheckbox = OdsCheckbox;
|
|
16985
16989
|
exports.OdsCheckboxGroup = OdsCheckboxGroup;
|
|
16986
|
-
exports.OdsCollapse =
|
|
16990
|
+
exports.OdsCollapse = OdsDropdown;
|
|
16987
16991
|
exports.OdsDataGrid = OdsDataGrid;
|
|
16988
16992
|
exports.OdsDateRangePicker = OdsDateRangePicker;
|
|
16989
16993
|
exports.OdsDatepicker = OdsDatepicker;
|
|
16990
16994
|
exports.OdsDisplayGrid = OdsDisplayGrid;
|
|
16991
16995
|
exports.OdsDivider = OdsDivider;
|
|
16992
|
-
exports.OdsDropdown =
|
|
16996
|
+
exports.OdsDropdown = OdsDropdown;
|
|
16993
16997
|
exports.OdsDropdownButton = OdsDropdownButton;
|
|
16994
16998
|
exports.OdsImage = OdsImage;
|
|
16995
16999
|
exports.OdsInput = OdsInput;
|