uiw 4.14.2 → 4.15.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/cjs/index.d.ts +2 -0
- package/cjs/index.js +21 -0
- package/cjs/index.js.map +2 -2
- package/dist/uiw.css +11 -1
- package/dist/uiw.js +147 -18
- package/dist/uiw.min.css +1 -1
- package/dist/uiw.min.js +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/index.js.map +3 -2
- package/package.json +59 -58
- package/src/index.ts +2 -0
package/cjs/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from '@uiw/react-button';
|
|
|
9
9
|
export * from '@uiw/react-button-group';
|
|
10
10
|
export * from '@uiw/react-calendar';
|
|
11
11
|
export * from '@uiw/react-card';
|
|
12
|
+
export * from '@uiw/react-carousel';
|
|
12
13
|
export * from '@uiw/react-checkbox';
|
|
13
14
|
export * from '@uiw/react-collapse';
|
|
14
15
|
export * from '@uiw/react-copy-to-clipboard';
|
|
@@ -68,6 +69,7 @@ export { default as Button } from '@uiw/react-button';
|
|
|
68
69
|
export { default as ButtonGroup } from '@uiw/react-button-group';
|
|
69
70
|
export { default as Calendar } from '@uiw/react-calendar';
|
|
70
71
|
export { default as Card } from '@uiw/react-card';
|
|
72
|
+
export { default as Carousel } from '@uiw/react-carousel';
|
|
71
73
|
export { default as Checkbox } from '@uiw/react-checkbox';
|
|
72
74
|
export { default as Collapse } from '@uiw/react-collapse';
|
|
73
75
|
export { default as CopyToClipboard } from '@uiw/react-copy-to-clipboard';
|
package/cjs/index.js
CHANGED
|
@@ -19,6 +19,7 @@ var _exportNames = {
|
|
|
19
19
|
ButtonGroup: true,
|
|
20
20
|
Calendar: true,
|
|
21
21
|
Card: true,
|
|
22
|
+
Carousel: true,
|
|
22
23
|
Checkbox: true,
|
|
23
24
|
Collapse: true,
|
|
24
25
|
CopyToClipboard: true,
|
|
@@ -133,6 +134,12 @@ Object.defineProperty(exports, "Card", {
|
|
|
133
134
|
return _reactCard.default;
|
|
134
135
|
}
|
|
135
136
|
});
|
|
137
|
+
Object.defineProperty(exports, "Carousel", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function get() {
|
|
140
|
+
return _reactCarousel.default;
|
|
141
|
+
}
|
|
142
|
+
});
|
|
136
143
|
Object.defineProperty(exports, "Checkbox", {
|
|
137
144
|
enumerable: true,
|
|
138
145
|
get: function get() {
|
|
@@ -570,6 +577,20 @@ Object.keys(_reactCard).forEach(function (key) {
|
|
|
570
577
|
});
|
|
571
578
|
});
|
|
572
579
|
|
|
580
|
+
var _reactCarousel = _interopRequireWildcard(require("@uiw/react-carousel"));
|
|
581
|
+
|
|
582
|
+
Object.keys(_reactCarousel).forEach(function (key) {
|
|
583
|
+
if (key === "default" || key === "__esModule") return;
|
|
584
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
585
|
+
if (key in exports && exports[key] === _reactCarousel[key]) return;
|
|
586
|
+
Object.defineProperty(exports, key, {
|
|
587
|
+
enumerable: true,
|
|
588
|
+
get: function get() {
|
|
589
|
+
return _reactCarousel[key];
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
});
|
|
593
|
+
|
|
573
594
|
var _reactCheckbox = _interopRequireWildcard(require("@uiw/react-checkbox"));
|
|
574
595
|
|
|
575
596
|
Object.keys(_reactCheckbox).forEach(function (key) {
|
package/cjs/index.js.map
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"../src/index.ts"
|
|
5
5
|
],
|
|
6
6
|
"names": [],
|
|
7
|
-
"mappings": "
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAwBA",
|
|
8
8
|
"sourcesContent": [
|
|
9
|
-
"export * from '@uiw/react-affix';\nexport * from '@uiw/react-alert';\nexport * from '@uiw/react-auto-link';\nexport * from '@uiw/react-avatar';\nexport * from '@uiw/react-back-top';\nexport * from '@uiw/react-badge';\nexport * from '@uiw/react-breadcrumb';\nexport * from '@uiw/react-button';\nexport * from '@uiw/react-button-group';\nexport * from '@uiw/react-calendar';\nexport * from '@uiw/react-card';\nexport * from '@uiw/react-checkbox';\nexport * from '@uiw/react-collapse';\nexport * from '@uiw/react-copy-to-clipboard';\nexport * from '@uiw/react-date-input';\nexport * from '@uiw/react-date-picker';\nexport * from '@uiw/react-descriptions';\nexport * from '@uiw/react-divider';\nexport * from '@uiw/react-drawer';\nexport * from '@uiw/react-dropdown';\nexport * from '@uiw/react-empty';\nexport * from '@uiw/react-file-input';\nexport * from '@uiw/react-form';\nexport * from '@uiw/react-grid';\nexport * from '@uiw/react-icon';\nexport * from '@uiw/react-input';\nexport * from '@uiw/react-list';\nexport * from '@uiw/react-layout';\nexport * from '@uiw/react-loader';\nexport * from '@uiw/react-menu';\nexport * from '@uiw/react-message';\nexport * from '@uiw/react-modal';\nexport * from '@uiw/react-month-picker';\nexport * from '@uiw/react-notify';\nexport * from '@uiw/react-overlay';\nexport * from '@uiw/react-overlay-trigger';\nexport * from '@uiw/react-pagination';\nexport * from '@uiw/react-pin-code';\nexport * from '@uiw/react-popover';\nexport * from '@uiw/react-portal';\nexport * from '@uiw/react-progress';\nexport * from '@uiw/react-radio';\nexport * from '@uiw/react-rate';\nexport * from '@uiw/react-search-select';\nexport * from '@uiw/react-select';\nexport * from '@uiw/react-split';\nexport * from '@uiw/react-steps';\nexport * from '@uiw/react-slider';\nexport * from '@uiw/react-switch';\nexport * from '@uiw/react-table';\nexport * from '@uiw/react-tabs';\nexport * from '@uiw/react-tag';\nexport * from '@uiw/react-textarea';\nexport * from '@uiw/react-time-picker';\nexport * from '@uiw/react-tooltip';\nexport * from '@uiw/react-tree';\nexport * from '@uiw/react-tree-checked';\nexport * from '@uiw/react-search-tree';\nexport * from '@uiw/react-transfer';\n\nexport { default as Affix } from '@uiw/react-affix';\nexport { default as Alert } from '@uiw/react-alert';\nexport { default as AutoLink } from '@uiw/react-auto-link';\nexport { default as Avatar } from '@uiw/react-avatar';\nexport { default as BackTop } from '@uiw/react-back-top';\nexport { default as Badge } from '@uiw/react-badge';\nexport { default as Breadcrumb } from '@uiw/react-breadcrumb';\nexport { default as Button } from '@uiw/react-button';\nexport { default as ButtonGroup } from '@uiw/react-button-group';\nexport { default as Calendar } from '@uiw/react-calendar';\nexport { default as Card } from '@uiw/react-card';\nexport { default as Checkbox } from '@uiw/react-checkbox';\nexport { default as Collapse } from '@uiw/react-collapse';\nexport { default as CopyToClipboard } from '@uiw/react-copy-to-clipboard';\nexport { default as DateInput } from '@uiw/react-date-input';\nexport { default as DatePicker } from '@uiw/react-date-picker';\nexport { default as Descriptions } from '@uiw/react-descriptions';\nexport { default as Divider } from '@uiw/react-divider';\nexport { default as Drawer } from '@uiw/react-drawer';\nexport { default as Dropdown } from '@uiw/react-dropdown';\nexport { default as Empty } from '@uiw/react-empty';\nexport { default as formatter } from '@uiw/formatter';\nexport { default as FileInput } from '@uiw/react-file-input';\nexport { default as Form } from '@uiw/react-form';\nexport { default as Icon } from '@uiw/react-icon';\nexport { default as Input } from '@uiw/react-input';\nexport { default as Layout } from '@uiw/react-layout';\nexport { default as List } from '@uiw/react-list';\nexport { default as Loader } from '@uiw/react-loader';\nexport { default as Menu } from '@uiw/react-menu';\nexport { default as Message } from '@uiw/react-message';\nexport { default as Modal } from '@uiw/react-modal';\nexport { default as MonthPicker } from '@uiw/react-month-picker';\nexport { default as Notify } from '@uiw/react-notify';\nexport { default as Overlay } from '@uiw/react-overlay';\nexport { default as OverlayTrigger } from '@uiw/react-overlay-trigger';\nexport { default as Pagination } from '@uiw/react-pagination';\nexport { default as PinCode } from '@uiw/react-pin-code';\nexport { default as Popover } from '@uiw/react-popover';\nexport { default as Portal } from '@uiw/react-portal';\nexport { default as Progress } from '@uiw/react-progress';\nexport { default as Rate } from '@uiw/react-rate';\nexport { default as SearchSelect } from '@uiw/react-search-select';\nexport { default as Select } from '@uiw/react-select';\nexport { default as Split } from '@uiw/react-split';\nexport { default as Steps } from '@uiw/react-steps';\nexport { default as Slider } from '@uiw/react-slider';\nexport { default as Switch } from '@uiw/react-switch';\nexport { default as Table } from '@uiw/react-table';\nexport { default as Tabs } from '@uiw/react-tabs';\nexport { default as Tag } from '@uiw/react-tag';\nexport { default as Textarea } from '@uiw/react-textarea';\nexport { default as TimePicker } from '@uiw/react-time-picker';\nexport { default as Tooltip } from '@uiw/react-tooltip';\nexport { default as Tree } from '@uiw/react-tree';\nexport { default as TreeChecked } from '@uiw/react-tree-checked';\nexport { default as SearchTree } from '@uiw/react-search-tree';\nexport { default as Transfer } from '@uiw/react-transfer';\n"
|
|
9
|
+
"export * from '@uiw/react-affix';\nexport * from '@uiw/react-alert';\nexport * from '@uiw/react-auto-link';\nexport * from '@uiw/react-avatar';\nexport * from '@uiw/react-back-top';\nexport * from '@uiw/react-badge';\nexport * from '@uiw/react-breadcrumb';\nexport * from '@uiw/react-button';\nexport * from '@uiw/react-button-group';\nexport * from '@uiw/react-calendar';\nexport * from '@uiw/react-card';\nexport * from '@uiw/react-carousel';\nexport * from '@uiw/react-checkbox';\nexport * from '@uiw/react-collapse';\nexport * from '@uiw/react-copy-to-clipboard';\nexport * from '@uiw/react-date-input';\nexport * from '@uiw/react-date-picker';\nexport * from '@uiw/react-descriptions';\nexport * from '@uiw/react-divider';\nexport * from '@uiw/react-drawer';\nexport * from '@uiw/react-dropdown';\nexport * from '@uiw/react-empty';\nexport * from '@uiw/react-file-input';\nexport * from '@uiw/react-form';\nexport * from '@uiw/react-grid';\nexport * from '@uiw/react-icon';\nexport * from '@uiw/react-input';\nexport * from '@uiw/react-list';\nexport * from '@uiw/react-layout';\nexport * from '@uiw/react-loader';\nexport * from '@uiw/react-menu';\nexport * from '@uiw/react-message';\nexport * from '@uiw/react-modal';\nexport * from '@uiw/react-month-picker';\nexport * from '@uiw/react-notify';\nexport * from '@uiw/react-overlay';\nexport * from '@uiw/react-overlay-trigger';\nexport * from '@uiw/react-pagination';\nexport * from '@uiw/react-pin-code';\nexport * from '@uiw/react-popover';\nexport * from '@uiw/react-portal';\nexport * from '@uiw/react-progress';\nexport * from '@uiw/react-radio';\nexport * from '@uiw/react-rate';\nexport * from '@uiw/react-search-select';\nexport * from '@uiw/react-select';\nexport * from '@uiw/react-split';\nexport * from '@uiw/react-steps';\nexport * from '@uiw/react-slider';\nexport * from '@uiw/react-switch';\nexport * from '@uiw/react-table';\nexport * from '@uiw/react-tabs';\nexport * from '@uiw/react-tag';\nexport * from '@uiw/react-textarea';\nexport * from '@uiw/react-time-picker';\nexport * from '@uiw/react-tooltip';\nexport * from '@uiw/react-tree';\nexport * from '@uiw/react-tree-checked';\nexport * from '@uiw/react-search-tree';\nexport * from '@uiw/react-transfer';\n\nexport { default as Affix } from '@uiw/react-affix';\nexport { default as Alert } from '@uiw/react-alert';\nexport { default as AutoLink } from '@uiw/react-auto-link';\nexport { default as Avatar } from '@uiw/react-avatar';\nexport { default as BackTop } from '@uiw/react-back-top';\nexport { default as Badge } from '@uiw/react-badge';\nexport { default as Breadcrumb } from '@uiw/react-breadcrumb';\nexport { default as Button } from '@uiw/react-button';\nexport { default as ButtonGroup } from '@uiw/react-button-group';\nexport { default as Calendar } from '@uiw/react-calendar';\nexport { default as Card } from '@uiw/react-card';\nexport { default as Carousel } from '@uiw/react-carousel';\nexport { default as Checkbox } from '@uiw/react-checkbox';\nexport { default as Collapse } from '@uiw/react-collapse';\nexport { default as CopyToClipboard } from '@uiw/react-copy-to-clipboard';\nexport { default as DateInput } from '@uiw/react-date-input';\nexport { default as DatePicker } from '@uiw/react-date-picker';\nexport { default as Descriptions } from '@uiw/react-descriptions';\nexport { default as Divider } from '@uiw/react-divider';\nexport { default as Drawer } from '@uiw/react-drawer';\nexport { default as Dropdown } from '@uiw/react-dropdown';\nexport { default as Empty } from '@uiw/react-empty';\nexport { default as formatter } from '@uiw/formatter';\nexport { default as FileInput } from '@uiw/react-file-input';\nexport { default as Form } from '@uiw/react-form';\nexport { default as Icon } from '@uiw/react-icon';\nexport { default as Input } from '@uiw/react-input';\nexport { default as Layout } from '@uiw/react-layout';\nexport { default as List } from '@uiw/react-list';\nexport { default as Loader } from '@uiw/react-loader';\nexport { default as Menu } from '@uiw/react-menu';\nexport { default as Message } from '@uiw/react-message';\nexport { default as Modal } from '@uiw/react-modal';\nexport { default as MonthPicker } from '@uiw/react-month-picker';\nexport { default as Notify } from '@uiw/react-notify';\nexport { default as Overlay } from '@uiw/react-overlay';\nexport { default as OverlayTrigger } from '@uiw/react-overlay-trigger';\nexport { default as Pagination } from '@uiw/react-pagination';\nexport { default as PinCode } from '@uiw/react-pin-code';\nexport { default as Popover } from '@uiw/react-popover';\nexport { default as Portal } from '@uiw/react-portal';\nexport { default as Progress } from '@uiw/react-progress';\nexport { default as Rate } from '@uiw/react-rate';\nexport { default as SearchSelect } from '@uiw/react-search-select';\nexport { default as Select } from '@uiw/react-select';\nexport { default as Split } from '@uiw/react-split';\nexport { default as Steps } from '@uiw/react-steps';\nexport { default as Slider } from '@uiw/react-slider';\nexport { default as Switch } from '@uiw/react-switch';\nexport { default as Table } from '@uiw/react-table';\nexport { default as Tabs } from '@uiw/react-tabs';\nexport { default as Tag } from '@uiw/react-tag';\nexport { default as Textarea } from '@uiw/react-textarea';\nexport { default as TimePicker } from '@uiw/react-time-picker';\nexport { default as Tooltip } from '@uiw/react-tooltip';\nexport { default as Tree } from '@uiw/react-tree';\nexport { default as TreeChecked } from '@uiw/react-tree-checked';\nexport { default as SearchTree } from '@uiw/react-search-tree';\nexport { default as Transfer } from '@uiw/react-transfer';\n"
|
|
10
10
|
]
|
|
11
11
|
}
|
package/dist/uiw.css
CHANGED
|
@@ -1700,6 +1700,16 @@ sup.w-badge-count {
|
|
|
1700
1700
|
color: rgba(0, 0, 0, 0.4);
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
|
+
.w-carousel {
|
|
1704
|
+
overflow: hidden;
|
|
1705
|
+
}
|
|
1706
|
+
.w-carousel-content {
|
|
1707
|
+
height: 200px;
|
|
1708
|
+
display: flex;
|
|
1709
|
+
flex-direction: row;
|
|
1710
|
+
transition: 0.6s ease-in-out;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1703
1713
|
.w-radio {
|
|
1704
1714
|
vertical-align: middle;
|
|
1705
1715
|
display: inline-block;
|
|
@@ -4709,7 +4719,7 @@ a.w-list-item:hover:not(.w-disabled) {
|
|
|
4709
4719
|
.w-tabs-line .w-tabs-slide {
|
|
4710
4720
|
background-color: #108ee9;
|
|
4711
4721
|
box-sizing: border-box;
|
|
4712
|
-
bottom:
|
|
4722
|
+
bottom: 0;
|
|
4713
4723
|
position: absolute;
|
|
4714
4724
|
height: 1px;
|
|
4715
4725
|
left: 0;
|
package/dist/uiw.js
CHANGED
|
@@ -321,6 +321,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
321
321
|
"ButtonGroup": () => (/* reexport */ react_button_group_esm),
|
|
322
322
|
"Calendar": () => (/* reexport */ Calendar),
|
|
323
323
|
"Card": () => (/* reexport */ react_card_esm),
|
|
324
|
+
"Carousel": () => (/* reexport */ react_carousel_esm),
|
|
324
325
|
"Checkbox": () => (/* reexport */ react_checkbox_esm),
|
|
325
326
|
"CheckboxGroup": () => (/* reexport */ CheckboxGroup),
|
|
326
327
|
"Col": () => (/* reexport */ Col),
|
|
@@ -4021,6 +4022,108 @@ var react_card_esm_excluded = ["prefixCls", "className", "title", "extra", "foot
|
|
|
4021
4022
|
}));
|
|
4022
4023
|
}));
|
|
4023
4024
|
|
|
4025
|
+
;// CONCATENATED MODULE: ../react-carousel/esm/style/index.css
|
|
4026
|
+
// extracted by mini-css-extract-plugin
|
|
4027
|
+
/* harmony default export */ const react_carousel_esm_style = ({});
|
|
4028
|
+
;// CONCATENATED MODULE: ../react-carousel/esm/index.js
|
|
4029
|
+
|
|
4030
|
+
|
|
4031
|
+
|
|
4032
|
+
|
|
4033
|
+
|
|
4034
|
+
function Carousel(props, ref) {
|
|
4035
|
+
var {
|
|
4036
|
+
position = 0,
|
|
4037
|
+
width = 400,
|
|
4038
|
+
height = 200,
|
|
4039
|
+
palyTime = 2000,
|
|
4040
|
+
scrollTime = 200,
|
|
4041
|
+
autoPlay = true,
|
|
4042
|
+
prefixCls = 'w-carousel',
|
|
4043
|
+
className,
|
|
4044
|
+
style
|
|
4045
|
+
} = props;
|
|
4046
|
+
var cls = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => [prefixCls, className].filter(Boolean).join(' ').trim(), [prefixCls, className]);
|
|
4047
|
+
var [currentPosition, currentPositionSet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(position);
|
|
4048
|
+
var positionRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(currentPosition);
|
|
4049
|
+
var childCount = external_root_React_commonjs2_react_commonjs_react_amd_react_default().Children.count(props.children);
|
|
4050
|
+
|
|
4051
|
+
var _stopPlay = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(() => {});
|
|
4052
|
+
|
|
4053
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_default().useImperativeHandle(ref, () => ({
|
|
4054
|
+
gotoSlide,
|
|
4055
|
+
prevSlide: () => gotoSlide(positionRef.current - 1),
|
|
4056
|
+
nextSlide: () => gotoSlide(positionRef.current + 1),
|
|
4057
|
+
stopPlay: () => _stopPlay.current()
|
|
4058
|
+
}), [ref]);
|
|
4059
|
+
|
|
4060
|
+
var gotoSlide = slidNumber => {
|
|
4061
|
+
_stopPlay.current();
|
|
4062
|
+
|
|
4063
|
+
var maxSlid = childCount - 1;
|
|
4064
|
+
var slidNumberTemp = slidNumber > maxSlid ? maxSlid : slidNumber;
|
|
4065
|
+
slidNumberTemp = slidNumber < 0 ? 0 : slidNumberTemp;
|
|
4066
|
+
positionRef.current = slidNumberTemp;
|
|
4067
|
+
currentPositionSet(slidNumberTemp);
|
|
4068
|
+
play();
|
|
4069
|
+
};
|
|
4070
|
+
|
|
4071
|
+
var play = function play(ms) {
|
|
4072
|
+
if (ms === void 0) {
|
|
4073
|
+
ms = palyTime;
|
|
4074
|
+
}
|
|
4075
|
+
|
|
4076
|
+
if (autoPlay) {
|
|
4077
|
+
var time = setInterval(() => {
|
|
4078
|
+
positionRef.current++;
|
|
4079
|
+
|
|
4080
|
+
if (positionRef.current >= childCount) {
|
|
4081
|
+
positionRef.current = 0;
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
currentPositionSet(positionRef.current);
|
|
4085
|
+
}, ms);
|
|
4086
|
+
|
|
4087
|
+
_stopPlay.current = () => {
|
|
4088
|
+
clearInterval(time);
|
|
4089
|
+
};
|
|
4090
|
+
}
|
|
4091
|
+
};
|
|
4092
|
+
|
|
4093
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(() => {
|
|
4094
|
+
play();
|
|
4095
|
+
return () => {
|
|
4096
|
+
_stopPlay.current();
|
|
4097
|
+
};
|
|
4098
|
+
}, [autoPlay]);
|
|
4099
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
4100
|
+
className: cls,
|
|
4101
|
+
style: {
|
|
4102
|
+
width,
|
|
4103
|
+
height
|
|
4104
|
+
},
|
|
4105
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
4106
|
+
className: cls + "-content",
|
|
4107
|
+
style: {
|
|
4108
|
+
width: width * childCount,
|
|
4109
|
+
transform: "translate3d(" + -(currentPosition * width) + "px, 0px, 0px)",
|
|
4110
|
+
transition: scrollTime * 0.001 + "s ease-in-out"
|
|
4111
|
+
},
|
|
4112
|
+
children: external_root_React_commonjs2_react_commonjs_react_amd_react_default().Children.map(props.children, child => {
|
|
4113
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
4114
|
+
style: _extends({
|
|
4115
|
+
width,
|
|
4116
|
+
height
|
|
4117
|
+
}, style),
|
|
4118
|
+
children: child
|
|
4119
|
+
});
|
|
4120
|
+
})
|
|
4121
|
+
})
|
|
4122
|
+
});
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
/* harmony default export */ const react_carousel_esm = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(Carousel));
|
|
4126
|
+
|
|
4024
4127
|
;// CONCATENATED MODULE: ../react-radio/esm/RadioAbstract.js
|
|
4025
4128
|
|
|
4026
4129
|
|
|
@@ -7819,6 +7922,8 @@ var react_search_select_esm_excluded = ["allowClear", "disabled", "size", "maxTa
|
|
|
7819
7922
|
|
|
7820
7923
|
|
|
7821
7924
|
function SearchSelect(props) {
|
|
7925
|
+
var _style$width;
|
|
7926
|
+
|
|
7822
7927
|
var {
|
|
7823
7928
|
allowClear = false,
|
|
7824
7929
|
disabled = false,
|
|
@@ -7995,6 +8100,9 @@ function SearchSelect(props) {
|
|
|
7995
8100
|
style: {
|
|
7996
8101
|
marginTop: 5
|
|
7997
8102
|
},
|
|
8103
|
+
overlayStyl: {
|
|
8104
|
+
width: 100
|
|
8105
|
+
},
|
|
7998
8106
|
disabled: option && option.length > 0 ? false : true
|
|
7999
8107
|
}, others, {
|
|
8000
8108
|
onVisibleChange: onVisibleChange,
|
|
@@ -8004,9 +8112,9 @@ function SearchSelect(props) {
|
|
|
8004
8112
|
style: {
|
|
8005
8113
|
minHeight: 25,
|
|
8006
8114
|
maxHeight: 280,
|
|
8007
|
-
minWidth: 200,
|
|
8115
|
+
minWidth: (_style$width = style == null ? void 0 : style.width) != null ? _style$width : 200,
|
|
8008
8116
|
overflowY: 'scroll',
|
|
8009
|
-
width:
|
|
8117
|
+
width: style == null ? void 0 : style.width
|
|
8010
8118
|
},
|
|
8011
8119
|
children: !option || option.length === 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
8012
8120
|
style: {
|
|
@@ -9196,7 +9304,7 @@ function TableTr(props) {
|
|
|
9196
9304
|
return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)("td", _extends({}, objs, {
|
|
9197
9305
|
key: colNum // style={keyName?.style}
|
|
9198
9306
|
,
|
|
9199
|
-
className: objs.className + " " + prefixCls + "-tr-children-" + (
|
|
9307
|
+
className: (objs.className || '') + " " + prefixCls + "-tr-children-" + (keyName.align || 'left') + " " + (keyName.className || ''),
|
|
9200
9308
|
onClick: evn => onCell(trData, {
|
|
9201
9309
|
rowNum,
|
|
9202
9310
|
colNum,
|
|
@@ -9216,7 +9324,7 @@ function TableTr(props) {
|
|
|
9216
9324
|
;// CONCATENATED MODULE: ../react-table/esm/index.js
|
|
9217
9325
|
|
|
9218
9326
|
|
|
9219
|
-
var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead", "empty", "children", "expandable", "rowKey"];
|
|
9327
|
+
var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead", "empty", "children", "expandable", "rowKey", "scroll"];
|
|
9220
9328
|
|
|
9221
9329
|
|
|
9222
9330
|
|
|
@@ -9245,7 +9353,8 @@ function Table(props) {
|
|
|
9245
9353
|
onCellHead = noop,
|
|
9246
9354
|
empty,
|
|
9247
9355
|
expandable,
|
|
9248
|
-
rowKey
|
|
9356
|
+
rowKey,
|
|
9357
|
+
scroll
|
|
9249
9358
|
} = props,
|
|
9250
9359
|
other = _objectWithoutPropertiesLoose(props, react_table_esm_excluded);
|
|
9251
9360
|
|
|
@@ -9357,23 +9466,43 @@ function Table(props) {
|
|
|
9357
9466
|
selfColumns
|
|
9358
9467
|
};
|
|
9359
9468
|
}, [columns, expandIndex]);
|
|
9469
|
+
var style = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => {
|
|
9470
|
+
var style = {
|
|
9471
|
+
table: {},
|
|
9472
|
+
div: {}
|
|
9473
|
+
};
|
|
9474
|
+
|
|
9475
|
+
if (scroll) {
|
|
9476
|
+
if (scroll.x !== undefined) {
|
|
9477
|
+
style.table.minWidth = '100%';
|
|
9478
|
+
style.table.width = scroll.x;
|
|
9479
|
+
style.div.overflowX = 'auto';
|
|
9480
|
+
style.div.overflowY = 'hidden';
|
|
9481
|
+
}
|
|
9482
|
+
|
|
9483
|
+
if (scroll.y !== undefined) {
|
|
9484
|
+
style.div.maxHeight = scroll.y;
|
|
9485
|
+
style.div.overflowY = 'scroll';
|
|
9486
|
+
}
|
|
9487
|
+
}
|
|
9488
|
+
|
|
9489
|
+
return style;
|
|
9490
|
+
}, [scroll]);
|
|
9360
9491
|
var cls = [prefixCls, className, bordered ? prefixCls + "-bordered" : null].filter(Boolean).join(' ').trim();
|
|
9361
9492
|
var {
|
|
9362
9493
|
header,
|
|
9363
9494
|
render,
|
|
9364
9495
|
ellipsis
|
|
9365
9496
|
} = getLevelItems(self.selfColumns);
|
|
9366
|
-
return /*#__PURE__*/(0,jsx_runtime.jsxs)(
|
|
9497
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
9367
9498
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", _extends({
|
|
9368
|
-
style: {
|
|
9369
|
-
overflowY: 'scroll'
|
|
9370
|
-
},
|
|
9371
9499
|
className: cls
|
|
9372
9500
|
}, other, {
|
|
9501
|
+
style: _extends({}, other.style, style.div),
|
|
9373
9502
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("table", {
|
|
9374
|
-
style:
|
|
9375
|
-
tableLayout: 'fixed'
|
|
9376
|
-
}
|
|
9503
|
+
style: _extends({
|
|
9504
|
+
tableLayout: ellipsis ? 'fixed' : 'auto'
|
|
9505
|
+
}, style.table),
|
|
9377
9506
|
children: [title && /*#__PURE__*/(0,jsx_runtime.jsx)("caption", {
|
|
9378
9507
|
children: title
|
|
9379
9508
|
}), columns && columns.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(TheadComponent, {
|
|
@@ -9541,7 +9670,7 @@ function Tabs(props) {
|
|
|
9541
9670
|
if (activeItem.current && type === 'line') {
|
|
9542
9671
|
setSlideStyle({
|
|
9543
9672
|
width: activeItem.current.clientWidth,
|
|
9544
|
-
left: activeItem.current.offsetLeft
|
|
9673
|
+
left: activeItem.current.offsetLeft
|
|
9545
9674
|
});
|
|
9546
9675
|
}
|
|
9547
9676
|
}
|
|
@@ -9560,17 +9689,17 @@ function Tabs(props) {
|
|
|
9560
9689
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
9561
9690
|
className: prefixCls + "-bar",
|
|
9562
9691
|
ref: divContentRef,
|
|
9563
|
-
children: /*#__PURE__*/(0,jsx_runtime.
|
|
9692
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
9564
9693
|
className: prefixCls + "-nav",
|
|
9565
9694
|
style: {
|
|
9566
9695
|
width: 'max-content'
|
|
9567
9696
|
},
|
|
9568
|
-
children: renderNav(children)
|
|
9697
|
+
children: [renderNav(children), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
9698
|
+
style: slideStyle,
|
|
9699
|
+
className: prefixCls + "-slide"
|
|
9700
|
+
})]
|
|
9569
9701
|
})
|
|
9570
9702
|
})
|
|
9571
|
-
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
9572
|
-
style: slideStyle,
|
|
9573
|
-
className: prefixCls + "-slide"
|
|
9574
9703
|
}), hiddenNav.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(Popover, {
|
|
9575
9704
|
trigger: "click",
|
|
9576
9705
|
placement: "bottomRight",
|