amis-ui 6.13.0-beta.6 → 6.13.0-beta.8
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/package.json +3 -3
- package/scss/components/_popoverable.scss +1 -0
- package/scss/components/form/_excel.scss +110 -4
- package/esm/components/404.d.ts +0 -53
- package/esm/components/404.js +0 -35
- package/esm/components/Alert.d.ts +0 -615
- package/esm/components/Alert.js +0 -266
- package/esm/components/Alert2.d.ts +0 -117
- package/esm/components/Alert2.js +0 -58
- package/esm/components/AlphabetIndexer.d.ts +0 -11
- package/esm/components/AlphabetIndexer.js +0 -48
- package/esm/components/AnchorNav.d.ts +0 -162
- package/esm/components/AnchorNav.js +0 -153
- package/esm/components/AnchorNavSection.d.ts +0 -2
- package/esm/components/AnchorNavSection.js +0 -7
- package/esm/components/ArrayInput.d.ts +0 -617
- package/esm/components/ArrayInput.js +0 -147
- package/esm/components/AsideNav.d.ts +0 -142
- package/esm/components/AsideNav.js +0 -133
- package/esm/components/AssociatedSelection.d.ts +0 -564
- package/esm/components/AssociatedSelection.js +0 -103
- package/esm/components/AutoSizer.d.ts +0 -2
- package/esm/components/AutoSizer.js +0 -8
- package/esm/components/Avatar.d.ts +0 -374
- package/esm/components/Avatar.js +0 -126
- package/esm/components/Badge.d.ts +0 -118
- package/esm/components/Badge.js +0 -154
- package/esm/components/BaiduMapPicker.d.ts +0 -100
- package/esm/components/BaiduMapPicker.js +0 -366
- package/esm/components/BarCode.d.ts +0 -56
- package/esm/components/BarCode.js +0 -42
- package/esm/components/Breadcrumb.d.ts +0 -115
- package/esm/components/Breadcrumb.js +0 -160
- package/esm/components/Button.d.ts +0 -147
- package/esm/components/Button.js +0 -63
- package/esm/components/CalendarMobile.d.ts +0 -431
- package/esm/components/CalendarMobile.js +0 -538
- package/esm/components/Card.d.ts +0 -444
- package/esm/components/Card.js +0 -88
- package/esm/components/Cascader.d.ts +0 -108
- package/esm/components/Cascader.js +0 -515
- package/esm/components/ChainedDropdownSelection.d.ts +0 -561
- package/esm/components/ChainedDropdownSelection.js +0 -104
- package/esm/components/ChainedSelection.d.ts +0 -554
- package/esm/components/ChainedSelection.js +0 -184
- package/esm/components/Checkbox.d.ts +0 -110
- package/esm/components/Checkbox.js +0 -87
- package/esm/components/CityArea.d.ts +0 -299
- package/esm/components/CityArea.js +0 -190
- package/esm/components/CityDB.d.ts +0 -13
- package/esm/components/CityDB.js +0 -3942
- package/esm/components/CodeMirror.d.ts +0 -29
- package/esm/components/CodeMirror.js +0 -140
- package/esm/components/Collapse.d.ts +0 -447
- package/esm/components/Collapse.js +0 -184
- package/esm/components/CollapseGroup.d.ts +0 -219
- package/esm/components/CollapseGroup.js +0 -117
- package/esm/components/ColorPicker.d.ts +0 -530
- package/esm/components/ColorPicker.js +0 -260
- package/esm/components/Combo.d.ts +0 -354
- package/esm/components/Combo.js +0 -212
- package/esm/components/ConditionBuilder.d.ts +0 -2
- package/esm/components/ConditionBuilder.js +0 -7
- package/esm/components/ConfirmBox.d.ts +0 -322
- package/esm/components/ConfirmBox.js +0 -129
- package/esm/components/ContextMenu.d.ts +0 -115
- package/esm/components/ContextMenu.js +0 -305
- package/esm/components/DatePicker.d.ts +0 -638
- package/esm/components/DatePicker.js +0 -717
- package/esm/components/DateRangePicker.d.ts +0 -1046
- package/esm/components/DateRangePicker.js +0 -1389
- package/esm/components/DiffEditor.d.ts +0 -21
- package/esm/components/DiffEditor.js +0 -119
- package/esm/components/DndContainer.d.ts +0 -205
- package/esm/components/DndContainer.js +0 -25
- package/esm/components/Drawer.d.ts +0 -158
- package/esm/components/Drawer.js +0 -269
- package/esm/components/DropDownSelection.d.ts +0 -557
- package/esm/components/DropDownSelection.js +0 -78
- package/esm/components/DropdownContextMenus.d.ts +0 -84
- package/esm/components/DropdownContextMenus.js +0 -93
- package/esm/components/Editor.d.ts +0 -681
- package/esm/components/Editor.js +0 -238
- package/esm/components/Form.d.ts +0 -31
- package/esm/components/Form.js +0 -84
- package/esm/components/FormField.d.ts +0 -287
- package/esm/components/FormField.js +0 -78
- package/esm/components/FormulaPicker.d.ts +0 -2
- package/esm/components/FormulaPicker.js +0 -7
- package/esm/components/GaodeMapPicker.d.ts +0 -89
- package/esm/components/GaodeMapPicker.js +0 -204
- package/esm/components/GridNav.d.ts +0 -53
- package/esm/components/GridNav.js +0 -125
- package/esm/components/GridNavItem.d.ts +0 -2
- package/esm/components/GridNavItem.js +0 -7
- package/esm/components/GroupedSelection.d.ts +0 -543
- package/esm/components/GroupedSelection.js +0 -138
- package/esm/components/HeadCellDropDown.d.ts +0 -2
- package/esm/components/HeadCellDropDown.js +0 -7
- package/esm/components/HorizontalScroll.d.ts +0 -75
- package/esm/components/HorizontalScroll.js +0 -271
- package/esm/components/Html.d.ts +0 -82
- package/esm/components/Html.js +0 -52
- package/esm/components/Icon.d.ts +0 -2
- package/esm/components/Icon.js +0 -7
- package/esm/components/ImageGallery.d.ts +0 -465
- package/esm/components/ImageGallery.js +0 -396
- package/esm/components/Input.d.ts +0 -18
- package/esm/components/Input.js +0 -75
- package/esm/components/InputBox.d.ts +0 -100
- package/esm/components/InputBox.js +0 -98
- package/esm/components/InputBoxWithSuggestion.d.ts +0 -272
- package/esm/components/InputBoxWithSuggestion.js +0 -69
- package/esm/components/InputJSONSchema.d.ts +0 -2
- package/esm/components/InputJSONSchema.js +0 -7
- package/esm/components/InputTable.d.ts +0 -317
- package/esm/components/InputTable.js +0 -176
- package/esm/components/JSONSchemaEditor.d.ts +0 -2
- package/esm/components/JSONSchemaEditor.js +0 -7
- package/esm/components/Layout.d.ts +0 -74
- package/esm/components/Layout.js +0 -60
- package/esm/components/Link.d.ts +0 -60
- package/esm/components/Link.js +0 -44
- package/esm/components/ListGroup.d.ts +0 -77
- package/esm/components/ListGroup.js +0 -31
- package/esm/components/ListMenu.d.ts +0 -568
- package/esm/components/ListMenu.js +0 -62
- package/esm/components/LocationPicker.d.ts +0 -467
- package/esm/components/LocationPicker.js +0 -208
- package/esm/components/Markdown.d.ts +0 -25
- package/esm/components/Markdown.js +0 -70
- package/esm/components/Menu.d.ts +0 -2
- package/esm/components/Menu.js +0 -7
- package/esm/components/MobileDevTool.d.ts +0 -12
- package/esm/components/MobileDevTool.js +0 -312
- package/esm/components/Modal.d.ts +0 -1316
- package/esm/components/Modal.js +0 -261
- package/esm/components/ModalManager.d.ts +0 -17
- package/esm/components/ModalManager.js +0 -42
- package/esm/components/MonthRangePicker.d.ts +0 -744
- package/esm/components/MultilineText.d.ts +0 -454
- package/esm/components/MultilineText.js +0 -90
- package/esm/components/NumberInput.d.ts +0 -201
- package/esm/components/NumberInput.js +0 -274
- package/esm/components/OverflowTpl.d.ts +0 -61
- package/esm/components/OverflowTpl.js +0 -101
- package/esm/components/Pagination.d.ts +0 -812
- package/esm/components/Pagination.js +0 -375
- package/esm/components/PdfViewer.d.ts +0 -49
- package/esm/components/PdfViewer.js +0 -83
- package/esm/components/Picker.d.ts +0 -277
- package/esm/components/Picker.js +0 -73
- package/esm/components/PickerColumn.d.ts +0 -62
- package/esm/components/PickerColumn.js +0 -276
- package/esm/components/PickerContainer.d.ts +0 -291
- package/esm/components/PickerContainer.js +0 -157
- package/esm/components/PopOverContainer.d.ts +0 -59
- package/esm/components/PopOverContainer.js +0 -149
- package/esm/components/PopUp.d.ts +0 -573
- package/esm/components/PopUp.js +0 -85
- package/esm/components/Progress.d.ts +0 -311
- package/esm/components/Progress.js +0 -136
- package/esm/components/PullRefresh.d.ts +0 -79
- package/esm/components/PullRefresh.js +0 -172
- package/esm/components/Radios.d.ts +0 -170
- package/esm/components/Radios.js +0 -122
- package/esm/components/Range.d.ts +0 -131
- package/esm/components/Range.js +0 -517
- package/esm/components/Rating.d.ts +0 -227
- package/esm/components/Rating.js +0 -341
- package/esm/components/ResultBox.d.ts +0 -532
- package/esm/components/ResultBox.js +0 -215
- package/esm/components/ResultList.d.ts +0 -554
- package/esm/components/ResultList.js +0 -254
- package/esm/components/ResultTableList.d.ts +0 -786
- package/esm/components/ResultTableList.js +0 -152
- package/esm/components/ResultTreeList.d.ts +0 -425
- package/esm/components/ResultTreeList.js +0 -239
- package/esm/components/RichText.d.ts +0 -48
- package/esm/components/RichText.js +0 -271
- package/esm/components/SearchBox.d.ts +0 -625
- package/esm/components/SearchBox.js +0 -299
- package/esm/components/Select.d.ts +0 -6498
- package/esm/components/Select.js +0 -843
- package/esm/components/SelectMobile.d.ts +0 -38
- package/esm/components/SelectMobile.js +0 -370
- package/esm/components/Selection.d.ts +0 -598
- package/esm/components/Selection.js +0 -166
- package/esm/components/Shape.d.ts +0 -58
- package/esm/components/Shape.js +0 -429
- package/esm/components/Signature.d.ts +0 -279
- package/esm/components/Signature.js +0 -291
- package/esm/components/Slider.d.ts +0 -56
- package/esm/components/Slider.js +0 -140
- package/esm/components/SparkLine.d.ts +0 -397
- package/esm/components/SparkLine.js +0 -62
- package/esm/components/Spinner.d.ts +0 -266
- package/esm/components/Spinner.js +0 -202
- package/esm/components/Steps.d.ts +0 -117
- package/esm/components/Steps.js +0 -76
- package/esm/components/Switch.d.ts +0 -105
- package/esm/components/Switch.js +0 -73
- package/esm/components/Tab.d.ts +0 -2
- package/esm/components/Tab.js +0 -7
- package/esm/components/Table.d.ts +0 -2
- package/esm/components/Table.js +0 -7
- package/esm/components/TableSelection.d.ts +0 -791
- package/esm/components/TableSelection.js +0 -169
- package/esm/components/Tabs.d.ts +0 -670
- package/esm/components/Tabs.js +0 -607
- package/esm/components/TabsTransfer.d.ts +0 -423
- package/esm/components/TabsTransfer.js +0 -219
- package/esm/components/TabsTransferPicker.d.ts +0 -267
- package/esm/components/TabsTransferPicker.js +0 -81
- package/esm/components/Tag.d.ts +0 -307
- package/esm/components/Tag.js +0 -137
- package/esm/components/Textarea.d.ts +0 -564
- package/esm/components/Textarea.js +0 -147
- package/esm/components/Timeline.d.ts +0 -56
- package/esm/components/Timeline.js +0 -60
- package/esm/components/TimelineItem.d.ts +0 -1292
- package/esm/components/TimelineItem.js +0 -101
- package/esm/components/Tinymce.d.ts +0 -66
- package/esm/components/Tinymce.js +0 -632
- package/esm/components/TitleBar.d.ts +0 -123
- package/esm/components/TitleBar.js +0 -48
- package/esm/components/Toast.d.ts +0 -591
- package/esm/components/Toast.js +0 -247
- package/esm/components/Tooltip.d.ts +0 -65
- package/esm/components/Tooltip.js +0 -36
- package/esm/components/TooltipWrapper.d.ts +0 -217
- package/esm/components/TooltipWrapper.js +0 -181
- package/esm/components/Transfer.d.ts +0 -1844
- package/esm/components/Transfer.js +0 -481
- package/esm/components/TransferDropDown.d.ts +0 -634
- package/esm/components/TransferDropDown.js +0 -98
- package/esm/components/TransferPicker.d.ts +0 -275
- package/esm/components/TransferPicker.js +0 -98
- package/esm/components/TransferSearch.d.ts +0 -283
- package/esm/components/TransferSearch.js +0 -100
- package/esm/components/Tree.d.ts +0 -1991
- package/esm/components/Tree.js +0 -1179
- package/esm/components/TreeSelection.d.ts +0 -601
- package/esm/components/TreeSelection.js +0 -201
- package/esm/components/UserSelect.d.ts +0 -541
- package/esm/components/UserSelect.js +0 -674
- package/esm/components/UserTabSelect.d.ts +0 -315
- package/esm/components/UserTabSelect.js +0 -227
- package/esm/components/VerificationCode.d.ts +0 -116
- package/esm/components/VerificationCode.js +0 -172
- package/esm/components/VirtualList.d.ts +0 -2
- package/esm/components/VirtualList.js +0 -7
- package/esm/components/WithRemoteConfig.d.ts +0 -383
- package/esm/components/WithRemoteConfig.js +0 -302
- package/esm/components/WithStore.d.ts +0 -72
- package/esm/components/WithStore.js +0 -48
- package/esm/components/calendar/Calendar.d.ts +0 -83
- package/esm/components/calendar/Calendar.js +0 -529
- package/esm/components/calendar/CalendarContainer.d.ts +0 -10
- package/esm/components/calendar/CalendarContainer.js +0 -27
- package/esm/components/calendar/DaysView.d.ts +0 -184
- package/esm/components/calendar/DaysView.js +0 -527
- package/esm/components/calendar/MonthsView.d.ts +0 -133
- package/esm/components/calendar/MonthsView.js +0 -175
- package/esm/components/calendar/QuartersView.d.ts +0 -102
- package/esm/components/calendar/QuartersView.js +0 -125
- package/esm/components/calendar/TimeView.d.ts +0 -183
- package/esm/components/calendar/TimeView.js +0 -559
- package/esm/components/calendar/YearsView.d.ts +0 -102
- package/esm/components/calendar/YearsView.js +0 -122
- package/esm/components/condition-builder/Expression.d.ts +0 -292
- package/esm/components/condition-builder/Expression.js +0 -121
- package/esm/components/condition-builder/Field.d.ts +0 -272
- package/esm/components/condition-builder/Field.js +0 -32
- package/esm/components/condition-builder/Formula.d.ts +0 -261
- package/esm/components/condition-builder/Func.d.ts +0 -273
- package/esm/components/condition-builder/Func.js +0 -75
- package/esm/components/condition-builder/Group.d.ts +0 -310
- package/esm/components/condition-builder/Group.js +0 -191
- package/esm/components/condition-builder/GroupOrItem.d.ts +0 -87
- package/esm/components/condition-builder/GroupOrItem.js +0 -105
- package/esm/components/condition-builder/InputSwitch.d.ts +0 -47
- package/esm/components/condition-builder/InputSwitch.js +0 -28
- package/esm/components/condition-builder/Item.d.ts +0 -287
- package/esm/components/condition-builder/Item.js +0 -232
- package/esm/components/condition-builder/Value.d.ts +0 -272
- package/esm/components/condition-builder/Value.js +0 -108
- package/esm/components/condition-builder/config.d.ts +0 -36
- package/esm/components/condition-builder/config.js +0 -120
- package/esm/components/condition-builder/index.d.ts +0 -319
- package/esm/components/condition-builder/index.js +0 -228
- package/esm/components/condition-builder/types.d.ts +0 -115
- package/esm/components/formula/CodeEditor.d.ts +0 -92
- package/esm/components/formula/CodeEditor.js +0 -99
- package/esm/components/formula/Editor.d.ts +0 -516
- package/esm/components/formula/Editor.js +0 -430
- package/esm/components/formula/FuncList.d.ts +0 -46
- package/esm/components/formula/FuncList.js +0 -63
- package/esm/components/formula/Input.d.ts +0 -292
- package/esm/components/formula/Input.js +0 -122
- package/esm/components/formula/Picker.d.ts +0 -492
- package/esm/components/formula/Picker.js +0 -454
- package/esm/components/formula/VariableList.d.ts +0 -58
- package/esm/components/formula/VariableList.js +0 -182
- package/esm/components/formula/plugin.d.ts +0 -51
- package/esm/components/formula/plugin.js +0 -372
- package/esm/components/icons.d.ts +0 -61
- package/esm/components/icons.js +0 -456
- package/esm/components/index.d.ts +0 -136
- package/esm/components/json-schema/Array.d.ts +0 -3
- package/esm/components/json-schema/Array.js +0 -129
- package/esm/components/json-schema/Item.d.ts +0 -5
- package/esm/components/json-schema/Item.js +0 -63
- package/esm/components/json-schema/Object.d.ts +0 -5
- package/esm/components/json-schema/Object.js +0 -265
- package/esm/components/json-schema/index.d.ts +0 -272
- package/esm/components/json-schema/index.js +0 -29
- package/esm/components/menu/MenuContext.d.ts +0 -83
- package/esm/components/menu/MenuContext.js +0 -25
- package/esm/components/menu/MenuItem.d.ts +0 -81
- package/esm/components/menu/MenuItem.js +0 -112
- package/esm/components/menu/PanelMenu.d.ts +0 -46
- package/esm/components/menu/PanelMenu.js +0 -68
- package/esm/components/menu/SubMenu.d.ts +0 -84
- package/esm/components/menu/SubMenu.js +0 -137
- package/esm/components/menu/index.d.ts +0 -381
- package/esm/components/menu/index.js +0 -369
- package/esm/components/schema-editor/Array.d.ts +0 -11
- package/esm/components/schema-editor/Array.js +0 -84
- package/esm/components/schema-editor/Common.d.ts +0 -61
- package/esm/components/schema-editor/Common.js +0 -161
- package/esm/components/schema-editor/Item.d.ts +0 -8
- package/esm/components/schema-editor/Item.js +0 -24
- package/esm/components/schema-editor/Object.d.ts +0 -51
- package/esm/components/schema-editor/Object.js +0 -294
- package/esm/components/schema-editor/SchemaVariableList.d.ts +0 -186
- package/esm/components/schema-editor/SchemaVariableList.js +0 -74
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +0 -179
- package/esm/components/schema-editor/SchemaVariableListPicker.js +0 -34
- package/esm/components/schema-editor/index.d.ts +0 -797
- package/esm/components/schema-editor/index.js +0 -122
- package/esm/components/table/Cell.d.ts +0 -36
- package/esm/components/table/Cell.js +0 -43
- package/esm/components/table/ColGroup.d.ts +0 -24
- package/esm/components/table/ColGroup.js +0 -58
- package/esm/components/table/Head.d.ts +0 -45
- package/esm/components/table/Head.js +0 -150
- package/esm/components/table/HeadCellDropDown.d.ts +0 -289
- package/esm/components/table/HeadCellDropDown.js +0 -55
- package/esm/components/table/HeadCellFilter.d.ts +0 -414
- package/esm/components/table/HeadCellFilter.js +0 -131
- package/esm/components/table/HeadCellSelect.d.ts +0 -357
- package/esm/components/table/HeadCellSelect.js +0 -52
- package/esm/components/table/HeadCellSort.d.ts +0 -278
- package/esm/components/table/HeadCellSort.js +0 -88
- package/esm/components/table/ItemActionsWrapper.d.ts +0 -10
- package/esm/components/table/ItemActionsWrapper.js +0 -29
- package/esm/components/table/Row.d.ts +0 -56
- package/esm/components/table/Row.js +0 -224
- package/esm/components/table/SummaryRow.d.ts +0 -28
- package/esm/components/table/SummaryRow.js +0 -73
- package/esm/components/table/index.d.ts +0 -852
- package/esm/components/table/index.js +0 -1067
- package/esm/components/table/util.d.ts +0 -56
- package/esm/components/table/util.js +0 -263
- package/esm/components/virtual-list/AutoSizer.d.ts +0 -19
- package/esm/components/virtual-list/AutoSizer.js +0 -49
- package/esm/components/virtual-list/SizeAndPositionManager.d.ts +0 -70
- package/esm/components/virtual-list/SizeAndPositionManager.js +0 -216
- package/esm/components/virtual-list/constants.d.ts +0 -34
- package/esm/components/virtual-list/constants.js +0 -45
- package/esm/components/virtual-list/index.d.ts +0 -99
- package/esm/components/virtual-list/index.js +0 -288
- package/esm/components/withBadge.d.ts +0 -2
- package/esm/components/withBadge.js +0 -7
- package/esm/hooks/index.d.ts +0 -8
- package/esm/hooks/use-click-away.d.ts +0 -12
- package/esm/hooks/use-click-away.js +0 -55
- package/esm/hooks/use-on-screen.d.ts +0 -2
- package/esm/hooks/use-on-screen.js +0 -28
- package/esm/hooks/use-set-state.d.ts +0 -2
- package/esm/hooks/use-set-state.js +0 -19
- package/esm/hooks/use-sub-form.d.ts +0 -4
- package/esm/hooks/use-sub-form.js +0 -39
- package/esm/hooks/use-touch.d.ts +0 -16
- package/esm/hooks/use-touch.js +0 -77
- package/esm/hooks/use-update-effect.d.ts +0 -3
- package/esm/hooks/use-update-effect.js +0 -21
- package/esm/hooks/use-validation-resolver.d.ts +0 -7
- package/esm/hooks/use-validation-resolver.js +0 -115
- package/esm/icons/alert-danger.svg.js +0 -22
- package/esm/icons/alert-info.svg.js +0 -22
- package/esm/icons/alert-success.svg.js +0 -22
- package/esm/icons/alert-warning.svg.js +0 -22
- package/esm/icons/arrow-double-left.svg.js +0 -24
- package/esm/icons/arrow-double-right.svg.js +0 -24
- package/esm/icons/back.svg.js +0 -21
- package/esm/icons/calendar.svg.js +0 -31
- package/esm/icons/caret.svg.js +0 -21
- package/esm/icons/check.svg.js +0 -21
- package/esm/icons/clock.svg.js +0 -29
- package/esm/icons/close-small.svg.js +0 -24
- package/esm/icons/close.svg.js +0 -21
- package/esm/icons/cloud-upload.svg.js +0 -22
- package/esm/icons/column-filter.svg.js +0 -22
- package/esm/icons/columns.svg.js +0 -21
- package/esm/icons/compress-alt.svg.js +0 -21
- package/esm/icons/copy.svg.js +0 -26
- package/esm/icons/date.svg.js +0 -26
- package/esm/icons/department.svg.js +0 -52
- package/esm/icons/desk-empty.svg.js +0 -73
- package/esm/icons/dot.svg.js +0 -36
- package/esm/icons/down-arrow-bold.svg.js +0 -22
- package/esm/icons/down.svg.js +0 -23
- package/esm/icons/download.svg.js +0 -24
- package/esm/icons/drag-bar.svg.js +0 -53
- package/esm/icons/drag.svg.js +0 -22
- package/esm/icons/edit.svg.js +0 -21
- package/esm/icons/ellipsis-v.svg.js +0 -21
- package/esm/icons/enter.svg.js +0 -20
- package/esm/icons/exchange.svg.js +0 -21
- package/esm/icons/expand-alt.svg.js +0 -21
- package/esm/icons/fail.svg.js +0 -31
- package/esm/icons/file.svg.js +0 -22
- package/esm/icons/filter.svg.js +0 -21
- package/esm/icons/folder.svg.js +0 -24
- package/esm/icons/fullscreen.svg.js +0 -21
- package/esm/icons/function.svg.js +0 -21
- package/esm/icons/home.svg.js +0 -21
- package/esm/icons/if.svg.js +0 -21
- package/esm/icons/image.svg.js +0 -20
- package/esm/icons/info-circle.svg.js +0 -21
- package/esm/icons/info.svg.js +0 -27
- package/esm/icons/input-clear.svg.js +0 -20
- package/esm/icons/invisible.svg.js +0 -22
- package/esm/icons/left-arrow.svg.js +0 -23
- package/esm/icons/loading-outline.svg.js +0 -21
- package/esm/icons/location.svg.js +0 -20
- package/esm/icons/menu.svg.js +0 -20
- package/esm/icons/minus.svg.js +0 -21
- package/esm/icons/move.svg.js +0 -22
- package/esm/icons/mute.svg.js +0 -21
- package/esm/icons/new-edit.svg.js +0 -22
- package/esm/icons/pause.svg.js +0 -21
- package/esm/icons/pencil.svg.js +0 -21
- package/esm/icons/play.svg.js +0 -20
- package/esm/icons/plus-cicle.svg.js +0 -20
- package/esm/icons/plus-fine.svg.js +0 -21
- package/esm/icons/plus.svg.js +0 -21
- package/esm/icons/post.svg.js +0 -48
- package/esm/icons/question-mark.svg.js +0 -26
- package/esm/icons/question.svg.js +0 -21
- package/esm/icons/redo.svg.js +0 -21
- package/esm/icons/refresh.svg.js +0 -21
- package/esm/icons/reload.svg.js +0 -21
- package/esm/icons/remove.svg.js +0 -21
- package/esm/icons/retry.svg.js +0 -24
- package/esm/icons/right-arrow-bold.svg.js +0 -21
- package/esm/icons/right-arrow.svg.js +0 -23
- package/esm/icons/right-double-arrow.svg.js +0 -22
- package/esm/icons/role.svg.js +0 -43
- package/esm/icons/rotate-left.svg.js +0 -22
- package/esm/icons/rotate-right.svg.js +0 -22
- package/esm/icons/rotate-screen.svg.js +0 -21
- package/esm/icons/scale-origin.svg.js +0 -24
- package/esm/icons/schedule.svg.js +0 -24
- package/esm/icons/search.svg.js +0 -21
- package/esm/icons/setting.svg.js +0 -21
- package/esm/icons/slider-handle-icon.svg.js +0 -22
- package/esm/icons/sort-asc.svg.js +0 -21
- package/esm/icons/sort-default.svg.js +0 -21
- package/esm/icons/sort-desc.svg.js +0 -21
- package/esm/icons/star.svg.js +0 -21
- package/esm/icons/status-close.svg.js +0 -23
- package/esm/icons/steps-finsh.svg.js +0 -22
- package/esm/icons/sub-plus.svg.js +0 -20
- package/esm/icons/success.svg.js +0 -29
- package/esm/icons/transparent.svg.js +0 -38
- package/esm/icons/trash.svg.js +0 -22
- package/esm/icons/tree-down.svg.js +0 -21
- package/esm/icons/undo-normal.svg.js +0 -25
- package/esm/icons/undo.svg.js +0 -21
- package/esm/icons/unfullscreen.svg.js +0 -21
- package/esm/icons/upload.svg.js +0 -21
- package/esm/icons/user-remove.svg.js +0 -33
- package/esm/icons/view.svg.js +0 -22
- package/esm/icons/volume.svg.js +0 -24
- package/esm/icons/warning-mark.svg.js +0 -22
- package/esm/icons/warning.svg.js +0 -21
- package/esm/icons/window-restore.svg.js +0 -21
- package/esm/icons/zoom-in.svg.js +0 -21
- package/esm/icons/zoom-out.svg.js +0 -21
- package/esm/index.d.ts +0 -15
- package/esm/index.js +0 -154
- package/esm/locale/de-DE.d.ts +0 -1
- package/esm/locale/de-DE.js +0 -419
- package/esm/locale/en-US.d.ts +0 -1
- package/esm/locale/en-US.js +0 -425
- package/esm/locale/zh-CN.d.ts +0 -1
- package/esm/locale/zh-CN.js +0 -434
- package/esm/themes/ang.d.ts +0 -3
- package/esm/themes/ang.js +0 -15
- package/esm/themes/antd.d.ts +0 -1
- package/esm/themes/antd.js +0 -42
- package/esm/themes/cxd.d.ts +0 -3
- package/esm/themes/cxd.js +0 -455
- package/esm/themes/dark.d.ts +0 -3
- package/esm/themes/dark.js +0 -23
- package/esm/themes/default.d.ts +0 -4
- package/esm/utils/index.d.ts +0 -2
- package/esm/utils/smoothSignature.d.ts +0 -86
- package/esm/utils/vectorComputed.d.ts +0 -20
- package/esm/utils/vectorComputed.js +0 -75
- package/esm/withRemoteConfig.d.ts +0 -2
- package/esm/withRemoteConfig.js +0 -7
- package/esm/withStore.d.ts +0 -2
- package/esm/withStore.js +0 -7
- package/lib/components/404.d.ts +0 -53
- package/lib/components/404.js +0 -43
- package/lib/components/Alert.d.ts +0 -615
- package/lib/components/Alert.js +0 -279
- package/lib/components/Alert2.d.ts +0 -117
- package/lib/components/Alert2.js +0 -66
- package/lib/components/AlphabetIndexer.d.ts +0 -11
- package/lib/components/AlphabetIndexer.js +0 -59
- package/lib/components/AnchorNav.d.ts +0 -162
- package/lib/components/AnchorNav.js +0 -162
- package/lib/components/AnchorNavSection.d.ts +0 -2
- package/lib/components/AnchorNavSection.js +0 -14
- package/lib/components/ArrayInput.d.ts +0 -617
- package/lib/components/ArrayInput.js +0 -160
- package/lib/components/AsideNav.d.ts +0 -142
- package/lib/components/AsideNav.js +0 -140
- package/lib/components/AssociatedSelection.d.ts +0 -564
- package/lib/components/AssociatedSelection.js +0 -106
- package/lib/components/AutoSizer.d.ts +0 -2
- package/lib/components/AutoSizer.js +0 -15
- package/lib/components/Avatar.d.ts +0 -374
- package/lib/components/Avatar.js +0 -154
- package/lib/components/Badge.d.ts +0 -118
- package/lib/components/Badge.js +0 -165
- package/lib/components/BaiduMapPicker.d.ts +0 -100
- package/lib/components/BaiduMapPicker.js +0 -379
- package/lib/components/BarCode.d.ts +0 -56
- package/lib/components/BarCode.js +0 -52
- package/lib/components/Breadcrumb.d.ts +0 -115
- package/lib/components/Breadcrumb.js +0 -170
- package/lib/components/Button.d.ts +0 -147
- package/lib/components/Button.js +0 -71
- package/lib/components/CalendarMobile.d.ts +0 -431
- package/lib/components/CalendarMobile.js +0 -546
- package/lib/components/Card.d.ts +0 -444
- package/lib/components/Card.js +0 -100
- package/lib/components/Cascader.d.ts +0 -108
- package/lib/components/Cascader.js +0 -527
- package/lib/components/ChainedDropdownSelection.d.ts +0 -561
- package/lib/components/ChainedDropdownSelection.js +0 -116
- package/lib/components/ChainedSelection.d.ts +0 -554
- package/lib/components/ChainedSelection.js +0 -197
- package/lib/components/Checkbox.d.ts +0 -110
- package/lib/components/Checkbox.js +0 -95
- package/lib/components/CityArea.d.ts +0 -299
- package/lib/components/CityArea.js +0 -197
- package/lib/components/CityDB.d.ts +0 -13
- package/lib/components/CityDB.js +0 -3949
- package/lib/components/CodeMirror.d.ts +0 -29
- package/lib/components/CodeMirror.js +0 -152
- package/lib/components/Collapse.d.ts +0 -447
- package/lib/components/Collapse.js +0 -192
- package/lib/components/CollapseGroup.d.ts +0 -219
- package/lib/components/CollapseGroup.js +0 -124
- package/lib/components/ColorPicker.d.ts +0 -530
- package/lib/components/ColorPicker.js +0 -267
- package/lib/components/Combo.d.ts +0 -354
- package/lib/components/Combo.js +0 -165
- package/lib/components/ConditionBuilder.d.ts +0 -2
- package/lib/components/ConditionBuilder.js +0 -14
- package/lib/components/ConfirmBox.d.ts +0 -322
- package/lib/components/ConfirmBox.js +0 -141
- package/lib/components/ContextMenu.d.ts +0 -115
- package/lib/components/ContextMenu.js +0 -322
- package/lib/components/DatePicker.d.ts +0 -638
- package/lib/components/DatePicker.js +0 -725
- package/lib/components/DateRangePicker.d.ts +0 -1046
- package/lib/components/DateRangePicker.js +0 -1401
- package/lib/components/DiffEditor.d.ts +0 -21
- package/lib/components/DiffEditor.js +0 -130
- package/lib/components/DndContainer.d.ts +0 -205
- package/lib/components/DndContainer.js +0 -32
- package/lib/components/Drawer.d.ts +0 -158
- package/lib/components/Drawer.js +0 -279
- package/lib/components/DropDownSelection.d.ts +0 -557
- package/lib/components/DropDownSelection.js +0 -85
- package/lib/components/DropdownContextMenus.d.ts +0 -84
- package/lib/components/DropdownContextMenus.js +0 -101
- package/lib/components/Editor.d.ts +0 -681
- package/lib/components/Editor.js +0 -246
- package/lib/components/Form.d.ts +0 -31
- package/lib/components/Form.js +0 -97
- package/lib/components/FormField.d.ts +0 -287
- package/lib/components/FormField.js +0 -90
- package/lib/components/FormulaPicker.d.ts +0 -2
- package/lib/components/FormulaPicker.js +0 -14
- package/lib/components/GaodeMapPicker.d.ts +0 -89
- package/lib/components/GaodeMapPicker.js +0 -217
- package/lib/components/GridNav.d.ts +0 -53
- package/lib/components/GridNav.js +0 -133
- package/lib/components/GridNavItem.d.ts +0 -2
- package/lib/components/GridNavItem.js +0 -14
- package/lib/components/GroupedSelection.d.ts +0 -543
- package/lib/components/GroupedSelection.js +0 -150
- package/lib/components/HeadCellDropDown.d.ts +0 -2
- package/lib/components/HeadCellDropDown.js +0 -14
- package/lib/components/HorizontalScroll.d.ts +0 -75
- package/lib/components/HorizontalScroll.js +0 -283
- package/lib/components/Html.d.ts +0 -82
- package/lib/components/Html.js +0 -59
- package/lib/components/Icon.d.ts +0 -2
- package/lib/components/Icon.js +0 -14
- package/lib/components/ImageGallery.d.ts +0 -465
- package/lib/components/ImageGallery.js +0 -409
- package/lib/components/Input.d.ts +0 -18
- package/lib/components/Input.js +0 -86
- package/lib/components/InputBox.d.ts +0 -100
- package/lib/components/InputBox.js +0 -110
- package/lib/components/InputBoxWithSuggestion.d.ts +0 -272
- package/lib/components/InputBoxWithSuggestion.js +0 -81
- package/lib/components/InputJSONSchema.d.ts +0 -2
- package/lib/components/InputJSONSchema.js +0 -14
- package/lib/components/InputTable.d.ts +0 -317
- package/lib/components/InputTable.js +0 -189
- package/lib/components/JSONSchemaEditor.d.ts +0 -2
- package/lib/components/JSONSchemaEditor.js +0 -14
- package/lib/components/Layout.d.ts +0 -74
- package/lib/components/Layout.js +0 -56
- package/lib/components/Link.d.ts +0 -60
- package/lib/components/Link.js +0 -56
- package/lib/components/ListGroup.d.ts +0 -77
- package/lib/components/ListGroup.js +0 -43
- package/lib/components/ListMenu.d.ts +0 -568
- package/lib/components/ListMenu.js +0 -74
- package/lib/components/LocationPicker.d.ts +0 -467
- package/lib/components/LocationPicker.js +0 -220
- package/lib/components/Markdown.d.ts +0 -25
- package/lib/components/Markdown.js +0 -83
- package/lib/components/Menu.d.ts +0 -2
- package/lib/components/Menu.js +0 -14
- package/lib/components/MobileDevTool.d.ts +0 -12
- package/lib/components/MobileDevTool.js +0 -325
- package/lib/components/Modal.d.ts +0 -1316
- package/lib/components/Modal.js +0 -272
- package/lib/components/ModalManager.d.ts +0 -17
- package/lib/components/ModalManager.js +0 -53
- package/lib/components/MonthRangePicker.d.ts +0 -744
- package/lib/components/MultilineText.d.ts +0 -454
- package/lib/components/MultilineText.js +0 -102
- package/lib/components/NumberInput.d.ts +0 -201
- package/lib/components/NumberInput.js +0 -289
- package/lib/components/OverflowTpl.d.ts +0 -61
- package/lib/components/OverflowTpl.js +0 -109
- package/lib/components/Pagination.d.ts +0 -812
- package/lib/components/Pagination.js +0 -388
- package/lib/components/PdfViewer.d.ts +0 -49
- package/lib/components/PdfViewer.js +0 -89
- package/lib/components/Picker.d.ts +0 -277
- package/lib/components/Picker.js +0 -80
- package/lib/components/PickerColumn.d.ts +0 -62
- package/lib/components/PickerColumn.js +0 -288
- package/lib/components/PickerContainer.d.ts +0 -291
- package/lib/components/PickerContainer.js +0 -169
- package/lib/components/PopOverContainer.d.ts +0 -59
- package/lib/components/PopOverContainer.js +0 -162
- package/lib/components/PopUp.d.ts +0 -573
- package/lib/components/PopUp.js +0 -94
- package/lib/components/Progress.d.ts +0 -311
- package/lib/components/Progress.js +0 -148
- package/lib/components/PullRefresh.d.ts +0 -79
- package/lib/components/PullRefresh.js +0 -178
- package/lib/components/Radios.d.ts +0 -170
- package/lib/components/Radios.js +0 -119
- package/lib/components/Range.d.ts +0 -131
- package/lib/components/Range.js +0 -528
- package/lib/components/Rating.d.ts +0 -227
- package/lib/components/Rating.js +0 -349
- package/lib/components/ResultBox.d.ts +0 -532
- package/lib/components/ResultBox.js +0 -230
- package/lib/components/ResultList.d.ts +0 -554
- package/lib/components/ResultList.js +0 -268
- package/lib/components/ResultTableList.d.ts +0 -786
- package/lib/components/ResultTableList.js +0 -161
- package/lib/components/ResultTreeList.d.ts +0 -425
- package/lib/components/ResultTreeList.js +0 -254
- package/lib/components/RichText.d.ts +0 -48
- package/lib/components/RichText.js +0 -283
- package/lib/components/SearchBox.d.ts +0 -625
- package/lib/components/SearchBox.js +0 -315
- package/lib/components/Select.d.ts +0 -6498
- package/lib/components/Select.js +0 -861
- package/lib/components/SelectMobile.d.ts +0 -38
- package/lib/components/SelectMobile.js +0 -382
- package/lib/components/Selection.d.ts +0 -598
- package/lib/components/Selection.js +0 -176
- package/lib/components/Shape.d.ts +0 -58
- package/lib/components/Shape.js +0 -434
- package/lib/components/Signature.d.ts +0 -279
- package/lib/components/Signature.js +0 -295
- package/lib/components/Slider.d.ts +0 -56
- package/lib/components/Slider.js +0 -146
- package/lib/components/SparkLine.d.ts +0 -397
- package/lib/components/SparkLine.js +0 -74
- package/lib/components/Spinner.d.ts +0 -266
- package/lib/components/Spinner.js +0 -210
- package/lib/components/Steps.d.ts +0 -117
- package/lib/components/Steps.js +0 -84
- package/lib/components/Switch.d.ts +0 -105
- package/lib/components/Switch.js +0 -80
- package/lib/components/Tab.d.ts +0 -2
- package/lib/components/Tab.js +0 -14
- package/lib/components/Table.d.ts +0 -2
- package/lib/components/Table.js +0 -14
- package/lib/components/TableSelection.d.ts +0 -791
- package/lib/components/TableSelection.js +0 -183
- package/lib/components/Tabs.d.ts +0 -670
- package/lib/components/Tabs.js +0 -618
- package/lib/components/TabsTransfer.d.ts +0 -423
- package/lib/components/TabsTransfer.js +0 -232
- package/lib/components/TabsTransferPicker.d.ts +0 -267
- package/lib/components/TabsTransferPicker.js +0 -93
- package/lib/components/Tag.d.ts +0 -307
- package/lib/components/Tag.js +0 -146
- package/lib/components/Textarea.d.ts +0 -564
- package/lib/components/Textarea.js +0 -160
- package/lib/components/Timeline.d.ts +0 -56
- package/lib/components/Timeline.js +0 -68
- package/lib/components/TimelineItem.d.ts +0 -1292
- package/lib/components/TimelineItem.js +0 -118
- package/lib/components/Tinymce.d.ts +0 -66
- package/lib/components/Tinymce.js +0 -648
- package/lib/components/TitleBar.d.ts +0 -123
- package/lib/components/TitleBar.js +0 -51
- package/lib/components/Toast.d.ts +0 -591
- package/lib/components/Toast.js +0 -258
- package/lib/components/Tooltip.d.ts +0 -65
- package/lib/components/Tooltip.js +0 -43
- package/lib/components/TooltipWrapper.d.ts +0 -217
- package/lib/components/TooltipWrapper.js +0 -188
- package/lib/components/Transfer.d.ts +0 -1844
- package/lib/components/Transfer.js +0 -498
- package/lib/components/TransferDropDown.d.ts +0 -634
- package/lib/components/TransferDropDown.js +0 -106
- package/lib/components/TransferPicker.d.ts +0 -275
- package/lib/components/TransferPicker.js +0 -110
- package/lib/components/TransferSearch.d.ts +0 -283
- package/lib/components/TransferSearch.js +0 -113
- package/lib/components/Tree.d.ts +0 -1991
- package/lib/components/Tree.js +0 -1173
- package/lib/components/TreeSelection.d.ts +0 -601
- package/lib/components/TreeSelection.js +0 -209
- package/lib/components/UserSelect.d.ts +0 -541
- package/lib/components/UserSelect.js +0 -685
- package/lib/components/UserTabSelect.d.ts +0 -315
- package/lib/components/UserTabSelect.js +0 -235
- package/lib/components/VerificationCode.d.ts +0 -116
- package/lib/components/VerificationCode.js +0 -191
- package/lib/components/VirtualList.d.ts +0 -2
- package/lib/components/VirtualList.js +0 -14
- package/lib/components/WithRemoteConfig.d.ts +0 -383
- package/lib/components/WithRemoteConfig.js +0 -316
- package/lib/components/WithStore.d.ts +0 -72
- package/lib/components/WithStore.js +0 -61
- package/lib/components/calendar/Calendar.d.ts +0 -83
- package/lib/components/calendar/Calendar.js +0 -542
- package/lib/components/calendar/CalendarContainer.d.ts +0 -10
- package/lib/components/calendar/CalendarContainer.js +0 -38
- package/lib/components/calendar/DaysView.d.ts +0 -184
- package/lib/components/calendar/DaysView.js +0 -546
- package/lib/components/calendar/MonthsView.d.ts +0 -133
- package/lib/components/calendar/MonthsView.js +0 -188
- package/lib/components/calendar/QuartersView.d.ts +0 -102
- package/lib/components/calendar/QuartersView.js +0 -138
- package/lib/components/calendar/TimeView.d.ts +0 -183
- package/lib/components/calendar/TimeView.js +0 -574
- package/lib/components/calendar/YearsView.d.ts +0 -102
- package/lib/components/calendar/YearsView.js +0 -135
- package/lib/components/condition-builder/Expression.d.ts +0 -292
- package/lib/components/condition-builder/Expression.js +0 -133
- package/lib/components/condition-builder/Field.d.ts +0 -272
- package/lib/components/condition-builder/Field.js +0 -44
- package/lib/components/condition-builder/Formula.d.ts +0 -261
- package/lib/components/condition-builder/Func.d.ts +0 -273
- package/lib/components/condition-builder/Func.js +0 -87
- package/lib/components/condition-builder/Group.d.ts +0 -310
- package/lib/components/condition-builder/Group.js +0 -203
- package/lib/components/condition-builder/GroupOrItem.d.ts +0 -87
- package/lib/components/condition-builder/GroupOrItem.js +0 -117
- package/lib/components/condition-builder/InputSwitch.d.ts +0 -47
- package/lib/components/condition-builder/InputSwitch.js +0 -36
- package/lib/components/condition-builder/Item.d.ts +0 -287
- package/lib/components/condition-builder/Item.js +0 -244
- package/lib/components/condition-builder/Value.d.ts +0 -272
- package/lib/components/condition-builder/Value.js +0 -121
- package/lib/components/condition-builder/config.d.ts +0 -36
- package/lib/components/condition-builder/config.js +0 -125
- package/lib/components/condition-builder/index.d.ts +0 -319
- package/lib/components/condition-builder/index.js +0 -240
- package/lib/components/condition-builder/types.d.ts +0 -115
- package/lib/components/formula/CodeEditor.d.ts +0 -92
- package/lib/components/formula/CodeEditor.js +0 -110
- package/lib/components/formula/Editor.d.ts +0 -516
- package/lib/components/formula/Editor.js +0 -444
- package/lib/components/formula/FuncList.d.ts +0 -46
- package/lib/components/formula/FuncList.js +0 -75
- package/lib/components/formula/Input.d.ts +0 -292
- package/lib/components/formula/Input.js +0 -134
- package/lib/components/formula/Picker.d.ts +0 -492
- package/lib/components/formula/Picker.js +0 -467
- package/lib/components/formula/VariableList.d.ts +0 -58
- package/lib/components/formula/VariableList.js +0 -193
- package/lib/components/formula/plugin.d.ts +0 -51
- package/lib/components/formula/plugin.js +0 -381
- package/lib/components/icons.d.ts +0 -61
- package/lib/components/icons.js +0 -484
- package/lib/components/index.d.ts +0 -136
- package/lib/components/json-schema/Array.d.ts +0 -3
- package/lib/components/json-schema/Array.js +0 -140
- package/lib/components/json-schema/Item.d.ts +0 -5
- package/lib/components/json-schema/Item.js +0 -75
- package/lib/components/json-schema/Object.d.ts +0 -5
- package/lib/components/json-schema/Object.js +0 -278
- package/lib/components/json-schema/index.d.ts +0 -272
- package/lib/components/json-schema/index.js +0 -40
- package/lib/components/menu/MenuContext.d.ts +0 -83
- package/lib/components/menu/MenuContext.js +0 -29
- package/lib/components/menu/MenuItem.d.ts +0 -81
- package/lib/components/menu/MenuItem.js +0 -120
- package/lib/components/menu/PanelMenu.d.ts +0 -46
- package/lib/components/menu/PanelMenu.js +0 -74
- package/lib/components/menu/SubMenu.d.ts +0 -84
- package/lib/components/menu/SubMenu.js +0 -145
- package/lib/components/menu/index.d.ts +0 -381
- package/lib/components/menu/index.js +0 -379
- package/lib/components/schema-editor/Array.d.ts +0 -11
- package/lib/components/schema-editor/Array.js +0 -95
- package/lib/components/schema-editor/Common.d.ts +0 -61
- package/lib/components/schema-editor/Common.js +0 -174
- package/lib/components/schema-editor/Item.d.ts +0 -8
- package/lib/components/schema-editor/Item.js +0 -35
- package/lib/components/schema-editor/Object.d.ts +0 -51
- package/lib/components/schema-editor/Object.js +0 -305
- package/lib/components/schema-editor/SchemaVariableList.d.ts +0 -186
- package/lib/components/schema-editor/SchemaVariableList.js +0 -86
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +0 -179
- package/lib/components/schema-editor/SchemaVariableListPicker.js +0 -46
- package/lib/components/schema-editor/index.d.ts +0 -797
- package/lib/components/schema-editor/index.js +0 -131
- package/lib/components/table/Cell.d.ts +0 -36
- package/lib/components/table/Cell.js +0 -50
- package/lib/components/table/ColGroup.d.ts +0 -24
- package/lib/components/table/ColGroup.js +0 -69
- package/lib/components/table/Head.d.ts +0 -45
- package/lib/components/table/Head.js +0 -157
- package/lib/components/table/HeadCellDropDown.d.ts +0 -289
- package/lib/components/table/HeadCellDropDown.js +0 -63
- package/lib/components/table/HeadCellFilter.d.ts +0 -414
- package/lib/components/table/HeadCellFilter.js +0 -140
- package/lib/components/table/HeadCellSelect.d.ts +0 -357
- package/lib/components/table/HeadCellSelect.js +0 -60
- package/lib/components/table/HeadCellSort.d.ts +0 -278
- package/lib/components/table/HeadCellSort.js +0 -96
- package/lib/components/table/ItemActionsWrapper.d.ts +0 -10
- package/lib/components/table/ItemActionsWrapper.js +0 -40
- package/lib/components/table/Row.d.ts +0 -56
- package/lib/components/table/Row.js +0 -231
- package/lib/components/table/SummaryRow.d.ts +0 -28
- package/lib/components/table/SummaryRow.js +0 -81
- package/lib/components/table/index.d.ts +0 -852
- package/lib/components/table/index.js +0 -1081
- package/lib/components/table/util.d.ts +0 -56
- package/lib/components/table/util.js +0 -285
- package/lib/components/virtual-list/AutoSizer.d.ts +0 -19
- package/lib/components/virtual-list/AutoSizer.js +0 -76
- package/lib/components/virtual-list/SizeAndPositionManager.d.ts +0 -70
- package/lib/components/virtual-list/SizeAndPositionManager.js +0 -220
- package/lib/components/virtual-list/constants.d.ts +0 -34
- package/lib/components/virtual-list/constants.js +0 -53
- package/lib/components/virtual-list/index.d.ts +0 -99
- package/lib/components/virtual-list/index.js +0 -317
- package/lib/components/withBadge.d.ts +0 -2
- package/lib/components/withBadge.js +0 -14
- package/lib/helper.css +0 -47744
- package/lib/hooks/index.d.ts +0 -8
- package/lib/hooks/use-click-away.d.ts +0 -12
- package/lib/hooks/use-click-away.js +0 -59
- package/lib/hooks/use-on-screen.d.ts +0 -2
- package/lib/hooks/use-on-screen.js +0 -32
- package/lib/hooks/use-set-state.d.ts +0 -2
- package/lib/hooks/use-set-state.js +0 -27
- package/lib/hooks/use-sub-form.d.ts +0 -4
- package/lib/hooks/use-sub-form.js +0 -48
- package/lib/hooks/use-touch.d.ts +0 -16
- package/lib/hooks/use-touch.js +0 -81
- package/lib/hooks/use-update-effect.d.ts +0 -3
- package/lib/hooks/use-update-effect.js +0 -25
- package/lib/hooks/use-validation-resolver.d.ts +0 -7
- package/lib/hooks/use-validation-resolver.js +0 -125
- package/lib/icons/alert-danger.svg.js +0 -29
- package/lib/icons/alert-info.svg.js +0 -29
- package/lib/icons/alert-success.svg.js +0 -29
- package/lib/icons/alert-warning.svg.js +0 -29
- package/lib/icons/arrow-double-left.svg.js +0 -31
- package/lib/icons/arrow-double-right.svg.js +0 -31
- package/lib/icons/back.svg.js +0 -28
- package/lib/icons/calendar.svg.js +0 -38
- package/lib/icons/caret.svg.js +0 -28
- package/lib/icons/check.svg.js +0 -28
- package/lib/icons/clock.svg.js +0 -36
- package/lib/icons/close-small.svg.js +0 -31
- package/lib/icons/close.svg.js +0 -28
- package/lib/icons/cloud-upload.svg.js +0 -29
- package/lib/icons/column-filter.svg.js +0 -29
- package/lib/icons/columns.svg.js +0 -28
- package/lib/icons/compress-alt.svg.js +0 -28
- package/lib/icons/copy.svg.js +0 -33
- package/lib/icons/date.svg.js +0 -33
- package/lib/icons/department.svg.js +0 -59
- package/lib/icons/desk-empty.svg.js +0 -80
- package/lib/icons/dot.svg.js +0 -43
- package/lib/icons/down-arrow-bold.svg.js +0 -29
- package/lib/icons/down.svg.js +0 -30
- package/lib/icons/download.svg.js +0 -31
- package/lib/icons/drag-bar.svg.js +0 -60
- package/lib/icons/drag.svg.js +0 -29
- package/lib/icons/edit.svg.js +0 -28
- package/lib/icons/ellipsis-v.svg.js +0 -28
- package/lib/icons/enter.svg.js +0 -27
- package/lib/icons/exchange.svg.js +0 -28
- package/lib/icons/expand-alt.svg.js +0 -28
- package/lib/icons/fail.svg.js +0 -38
- package/lib/icons/file.svg.js +0 -29
- package/lib/icons/filter.svg.js +0 -28
- package/lib/icons/folder.svg.js +0 -31
- package/lib/icons/fullscreen.svg.js +0 -28
- package/lib/icons/function.svg.js +0 -28
- package/lib/icons/home.svg.js +0 -28
- package/lib/icons/if.svg.js +0 -28
- package/lib/icons/image.svg.js +0 -27
- package/lib/icons/info-circle.svg.js +0 -28
- package/lib/icons/info.svg.js +0 -34
- package/lib/icons/input-clear.svg.js +0 -27
- package/lib/icons/invisible.svg.js +0 -29
- package/lib/icons/left-arrow.svg.js +0 -30
- package/lib/icons/loading-outline.svg.js +0 -28
- package/lib/icons/location.svg.js +0 -27
- package/lib/icons/menu.svg.js +0 -27
- package/lib/icons/minus.svg.js +0 -28
- package/lib/icons/move.svg.js +0 -29
- package/lib/icons/mute.svg.js +0 -28
- package/lib/icons/new-edit.svg.js +0 -29
- package/lib/icons/pause.svg.js +0 -28
- package/lib/icons/pencil.svg.js +0 -28
- package/lib/icons/play.svg.js +0 -27
- package/lib/icons/plus-cicle.svg.js +0 -27
- package/lib/icons/plus-fine.svg.js +0 -28
- package/lib/icons/plus.svg.js +0 -28
- package/lib/icons/post.svg.js +0 -55
- package/lib/icons/question-mark.svg.js +0 -33
- package/lib/icons/question.svg.js +0 -28
- package/lib/icons/redo.svg.js +0 -28
- package/lib/icons/refresh.svg.js +0 -28
- package/lib/icons/reload.svg.js +0 -28
- package/lib/icons/remove.svg.js +0 -28
- package/lib/icons/retry.svg.js +0 -31
- package/lib/icons/right-arrow-bold.svg.js +0 -28
- package/lib/icons/right-arrow.svg.js +0 -30
- package/lib/icons/right-double-arrow.svg.js +0 -29
- package/lib/icons/role.svg.js +0 -50
- package/lib/icons/rotate-left.svg.js +0 -29
- package/lib/icons/rotate-right.svg.js +0 -29
- package/lib/icons/rotate-screen.svg.js +0 -28
- package/lib/icons/scale-origin.svg.js +0 -31
- package/lib/icons/schedule.svg.js +0 -31
- package/lib/icons/search.svg.js +0 -28
- package/lib/icons/setting.svg.js +0 -28
- package/lib/icons/slider-handle-icon.svg.js +0 -29
- package/lib/icons/sort-asc.svg.js +0 -28
- package/lib/icons/sort-default.svg.js +0 -28
- package/lib/icons/sort-desc.svg.js +0 -28
- package/lib/icons/star.svg.js +0 -28
- package/lib/icons/status-close.svg.js +0 -30
- package/lib/icons/steps-finsh.svg.js +0 -29
- package/lib/icons/sub-plus.svg.js +0 -27
- package/lib/icons/success.svg.js +0 -36
- package/lib/icons/transparent.svg.js +0 -45
- package/lib/icons/trash.svg.js +0 -29
- package/lib/icons/tree-down.svg.js +0 -28
- package/lib/icons/undo-normal.svg.js +0 -32
- package/lib/icons/undo.svg.js +0 -28
- package/lib/icons/unfullscreen.svg.js +0 -28
- package/lib/icons/upload.svg.js +0 -28
- package/lib/icons/user-remove.svg.js +0 -40
- package/lib/icons/view.svg.js +0 -29
- package/lib/icons/volume.svg.js +0 -31
- package/lib/icons/warning-mark.svg.js +0 -29
- package/lib/icons/warning.svg.js +0 -28
- package/lib/icons/window-restore.svg.js +0 -28
- package/lib/icons/zoom-in.svg.js +0 -28
- package/lib/icons/zoom-out.svg.js +0 -28
- package/lib/index.d.ts +0 -15
- package/lib/index.js +0 -344
- package/lib/locale/de-DE.d.ts +0 -1
- package/lib/locale/de-DE.js +0 -421
- package/lib/locale/en-US.d.ts +0 -1
- package/lib/locale/en-US.js +0 -427
- package/lib/locale/zh-CN.d.ts +0 -1
- package/lib/locale/zh-CN.js +0 -436
- package/lib/scss/helper.scss.js +0 -12
- package/lib/scss/themes/ang.scss.js +0 -12
- package/lib/scss/themes/antd.scss.js +0 -12
- package/lib/scss/themes/cxd.scss.js +0 -12
- package/lib/scss/themes/dark.scss.js +0 -12
- package/lib/scss/themes/default.scss.js +0 -12
- package/lib/themes/ang.css +0 -46139
- package/lib/themes/ang.d.ts +0 -3
- package/lib/themes/ang.js +0 -20
- package/lib/themes/antd.css +0 -46126
- package/lib/themes/antd.d.ts +0 -1
- package/lib/themes/antd.js +0 -44
- package/lib/themes/cxd.css +0 -46115
- package/lib/themes/cxd.d.ts +0 -3
- package/lib/themes/cxd.js +0 -459
- package/lib/themes/dark.css +0 -46146
- package/lib/themes/dark.d.ts +0 -3
- package/lib/themes/dark.js +0 -28
- package/lib/themes/default.css +0 -46115
- package/lib/themes/default.d.ts +0 -4
- package/lib/utils/index.d.ts +0 -2
- package/lib/utils/smoothSignature.d.ts +0 -86
- package/lib/utils/vectorComputed.d.ts +0 -20
- package/lib/utils/vectorComputed.js +0 -84
- package/lib/withRemoteConfig.d.ts +0 -2
- package/lib/withRemoteConfig.js +0 -14
- package/lib/withStore.d.ts +0 -2
- package/lib/withStore.js +0 -14
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* amis-ui v6.13.0-beta.6
|
|
3
|
-
* Copyright 2018-2025 fex
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
-
|
|
10
|
-
var tslib = require('tslib');
|
|
11
|
-
var React = require('react');
|
|
12
|
-
var intersectionWith = require('lodash/intersectionWith');
|
|
13
|
-
var includes = require('lodash/includes');
|
|
14
|
-
var debounce = require('lodash/debounce');
|
|
15
|
-
var isEqual = require('lodash/isEqual');
|
|
16
|
-
var unionWith = require('lodash/unionWith');
|
|
17
|
-
var amisCore = require('amis-core');
|
|
18
|
-
var Selection = require('./Selection.js');
|
|
19
|
-
var ResultList = require('./ResultList.js');
|
|
20
|
-
var TableSelection = require('./TableSelection.js');
|
|
21
|
-
var InputBox = require('./InputBox.js');
|
|
22
|
-
var Checkbox = require('./Checkbox.js');
|
|
23
|
-
var Tree = require('./Tree.js');
|
|
24
|
-
var icons = require('./icons.js');
|
|
25
|
-
var AssociatedSelection = require('./AssociatedSelection.js');
|
|
26
|
-
var GroupedSelection = require('./GroupedSelection.js');
|
|
27
|
-
var ChainedSelection = require('./ChainedSelection.js');
|
|
28
|
-
var ResultTableList = require('./ResultTableList.js');
|
|
29
|
-
var ResultTreeList = require('./ResultTreeList.js');
|
|
30
|
-
var Pagination = require('./Pagination.js');
|
|
31
|
-
|
|
32
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
33
|
-
|
|
34
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
35
|
-
var intersectionWith__default = /*#__PURE__*/_interopDefaultLegacy(intersectionWith);
|
|
36
|
-
var includes__default = /*#__PURE__*/_interopDefaultLegacy(includes);
|
|
37
|
-
var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
|
|
38
|
-
var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
|
|
39
|
-
var unionWith__default = /*#__PURE__*/_interopDefaultLegacy(unionWith);
|
|
40
|
-
|
|
41
|
-
var __react_jsx__ = require('react');
|
|
42
|
-
var _J$X_ = (__react_jsx__["default"] || __react_jsx__).createElement;
|
|
43
|
-
(__react_jsx__["default"] || __react_jsx__).Fragment;
|
|
44
|
-
var Transfer = /** @class */ (function (_super) {
|
|
45
|
-
tslib.__extends(Transfer, _super);
|
|
46
|
-
function Transfer() {
|
|
47
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
48
|
-
_this.state = {
|
|
49
|
-
inputValue: '',
|
|
50
|
-
searchResult: null,
|
|
51
|
-
searchResultPage: null,
|
|
52
|
-
isTreeDeferLoad: false,
|
|
53
|
-
resultSelectMode: 'list'
|
|
54
|
-
};
|
|
55
|
-
_this.unmounted = false;
|
|
56
|
-
_this.lazySearch = debounce__default["default"](_this.searchRequest, 250, {
|
|
57
|
-
trailing: true,
|
|
58
|
-
leading: false
|
|
59
|
-
});
|
|
60
|
-
return _this;
|
|
61
|
-
}
|
|
62
|
-
Transfer.prototype.componentDidMount = function () {
|
|
63
|
-
var _a, _b;
|
|
64
|
-
(_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.onRef) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
65
|
-
};
|
|
66
|
-
Transfer.getDerivedStateFromProps = function (props) {
|
|
67
|
-
// 计算是否是懒加载模式
|
|
68
|
-
var isTreeDeferLoad = props.selectMode === 'tree' &&
|
|
69
|
-
!!amisCore.findTree(props.options, function (option) {
|
|
70
|
-
return option.deferApi || option[props.deferField || 'defer'];
|
|
71
|
-
});
|
|
72
|
-
// 计算结果的selectMode
|
|
73
|
-
var resultSelectMode = 'list';
|
|
74
|
-
if (props.selectMode === 'tree' &&
|
|
75
|
-
props.resultListModeFollowSelect &&
|
|
76
|
-
!isTreeDeferLoad) {
|
|
77
|
-
resultSelectMode = 'tree';
|
|
78
|
-
}
|
|
79
|
-
if (props.selectMode === 'table' && props.resultListModeFollowSelect) {
|
|
80
|
-
resultSelectMode = 'table';
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
isTreeDeferLoad: isTreeDeferLoad,
|
|
84
|
-
resultSelectMode: resultSelectMode
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
Transfer.prototype.componentWillUnmount = function () {
|
|
88
|
-
this.lazySearch.cancel();
|
|
89
|
-
this.unmounted = true;
|
|
90
|
-
};
|
|
91
|
-
Transfer.prototype.domRef = function (ref) {
|
|
92
|
-
while (ref && ref.getWrappedInstance) {
|
|
93
|
-
ref = ref.getWrappedInstance();
|
|
94
|
-
}
|
|
95
|
-
this.treeRef = ref;
|
|
96
|
-
};
|
|
97
|
-
Transfer.prototype.domResultRef = function (ref) {
|
|
98
|
-
while (ref && ref.getWrappedInstance) {
|
|
99
|
-
ref = ref.getWrappedInstance();
|
|
100
|
-
}
|
|
101
|
-
this.resultRef = ref;
|
|
102
|
-
};
|
|
103
|
-
Transfer.prototype.toggleAll = function () {
|
|
104
|
-
var _a;
|
|
105
|
-
var _b = this.props, options = _b.options, option2value = _b.option2value, onChange = _b.onChange, value = _b.value, onSelectAll = _b.onSelectAll, _c = _b.valueField, valueField = _c === void 0 ? 'value' : _c, selectMode = _b.selectMode;
|
|
106
|
-
var valueArray = Selection.BaseSelection.value2array(value, options, option2value, valueField);
|
|
107
|
-
var availableOptions = this.availableOptions;
|
|
108
|
-
if (selectMode === 'tree') {
|
|
109
|
-
(_a = this.treeRef) === null || _a === void 0 ? void 0 : _a.handleToggle();
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
// availableOptions 中选项是否都被选中了
|
|
113
|
-
// to do intersectionWith 需要优化,大数据会卡死
|
|
114
|
-
var isAvailableOptionsAllSelected = intersectionWith__default["default"](availableOptions, valueArray, isEqual__default["default"]).length ===
|
|
115
|
-
availableOptions.length;
|
|
116
|
-
// 全不选
|
|
117
|
-
if (isAvailableOptionsAllSelected) {
|
|
118
|
-
valueArray = amisCore.differenceFromAll(availableOptions, valueArray, function (item) { return item[valueField]; });
|
|
119
|
-
}
|
|
120
|
-
// 全选
|
|
121
|
-
else {
|
|
122
|
-
// to do 需要优化
|
|
123
|
-
valueArray = unionWith__default["default"](valueArray, availableOptions, isEqual__default["default"]);
|
|
124
|
-
}
|
|
125
|
-
var newValue = option2value
|
|
126
|
-
? valueArray.map(function (item) { return option2value(item); })
|
|
127
|
-
: valueArray;
|
|
128
|
-
isAvailableOptionsAllSelected || (onSelectAll === null || onSelectAll === void 0 ? void 0 : onSelectAll(newValue));
|
|
129
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
130
|
-
};
|
|
131
|
-
// 全选,给予动作全选使用
|
|
132
|
-
Transfer.prototype.selectAll = function () {
|
|
133
|
-
var _a;
|
|
134
|
-
var _b = this.props, options = _b.options, option2value = _b.option2value, onChange = _b.onChange, _c = _b.valueField, valueField = _c === void 0 ? 'value' : _c, selectMode = _b.selectMode;
|
|
135
|
-
if (selectMode === 'tree') {
|
|
136
|
-
(_a = this.treeRef) === null || _a === void 0 ? void 0 : _a.handleToggle(true);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
var availableOptions = amisCore.flattenTree(options).filter(function (option, index, list) {
|
|
140
|
-
return !option.disabled &&
|
|
141
|
-
option[valueField] !== void 0 &&
|
|
142
|
-
list.indexOf(option) === index;
|
|
143
|
-
});
|
|
144
|
-
var newValue = option2value
|
|
145
|
-
? availableOptions.map(function (item) { return option2value(item); })
|
|
146
|
-
: availableOptions;
|
|
147
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
148
|
-
};
|
|
149
|
-
// 清空搜索
|
|
150
|
-
Transfer.prototype.clearSearch = function (target) {
|
|
151
|
-
var _a, _b;
|
|
152
|
-
if (!target) {
|
|
153
|
-
this.handleSeachCancel();
|
|
154
|
-
(_a = this.resultRef) === null || _a === void 0 ? void 0 : _a.clearInput();
|
|
155
|
-
}
|
|
156
|
-
if (target === null || target === void 0 ? void 0 : target.left) {
|
|
157
|
-
this.handleSeachCancel();
|
|
158
|
-
}
|
|
159
|
-
if (target === null || target === void 0 ? void 0 : target.right) {
|
|
160
|
-
(_b = this.resultRef) === null || _b === void 0 ? void 0 : _b.clearInput();
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
Transfer.prototype.clearAll = function () {
|
|
164
|
-
var onChange = this.props.onChange;
|
|
165
|
-
onChange && onChange([]);
|
|
166
|
-
};
|
|
167
|
-
Transfer.prototype.handleSearchKeyDown = function (e) {
|
|
168
|
-
if (e.key === 'Enter') {
|
|
169
|
-
e.preventDefault();
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
Transfer.prototype.handleSearch = function (inputValue) {
|
|
173
|
-
var _this = this;
|
|
174
|
-
// text 有值的时候,走搜索否则直接走 handleSeachCancel ,等同于右侧的 clear 按钮
|
|
175
|
-
this.setState({ inputValue: inputValue }, function () {
|
|
176
|
-
if (inputValue) {
|
|
177
|
-
// 如果有取消搜索,先取消掉。
|
|
178
|
-
_this.cancelSearch && _this.cancelSearch();
|
|
179
|
-
_this.lazySearch();
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
_this.handleSeachCancel();
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
};
|
|
186
|
-
Transfer.prototype.handleSeachCancel = function () {
|
|
187
|
-
this.setState({
|
|
188
|
-
inputValue: '',
|
|
189
|
-
searchResult: null,
|
|
190
|
-
searchResultPage: null
|
|
191
|
-
});
|
|
192
|
-
};
|
|
193
|
-
Transfer.prototype.searchRequest = function (page, perPage) {
|
|
194
|
-
var _a;
|
|
195
|
-
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
196
|
-
var pagination, inputValue, onSearch, result, items, currentPage;
|
|
197
|
-
var _this = this;
|
|
198
|
-
return tslib.__generator(this, function (_b) {
|
|
199
|
-
switch (_b.label) {
|
|
200
|
-
case 0:
|
|
201
|
-
pagination = this.props.pagination;
|
|
202
|
-
inputValue = this.state.inputValue;
|
|
203
|
-
if (!inputValue) {
|
|
204
|
-
return [2 /*return*/];
|
|
205
|
-
}
|
|
206
|
-
onSearch = this.props.onSearch;
|
|
207
|
-
return [4 /*yield*/, onSearch(inputValue, function (cancelExecutor) { return (_this.cancelSearch = cancelExecutor); }, ((_a = this.props.pagination) === null || _a === void 0 ? void 0 : _a.enable)
|
|
208
|
-
? { page: page || 1, perPage: perPage || (pagination === null || pagination === void 0 ? void 0 : pagination.perPage) || 10 }
|
|
209
|
-
: undefined)];
|
|
210
|
-
case 1:
|
|
211
|
-
result = _b.sent();
|
|
212
|
-
if (this.unmounted) {
|
|
213
|
-
return [2 /*return*/];
|
|
214
|
-
}
|
|
215
|
-
if (result) {
|
|
216
|
-
items = result.items, currentPage = tslib.__rest(result, ["items"]);
|
|
217
|
-
if (!Array.isArray(items)) {
|
|
218
|
-
throw new Error('onSearch 需要返回数组');
|
|
219
|
-
}
|
|
220
|
-
this.setState({
|
|
221
|
-
searchResult: items,
|
|
222
|
-
searchResultPage: tslib.__assign({}, currentPage)
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
return [2 /*return*/];
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
});
|
|
229
|
-
};
|
|
230
|
-
Transfer.prototype.getFlattenArr = function (options) {
|
|
231
|
-
var _a = this.props.valueField, valueField = _a === void 0 ? 'value' : _a;
|
|
232
|
-
return amisCore.flattenTree(options).filter(function (option, index, list) {
|
|
233
|
-
return !option.disabled &&
|
|
234
|
-
option[valueField] !== void 0 &&
|
|
235
|
-
list.indexOf(option) === index;
|
|
236
|
-
});
|
|
237
|
-
};
|
|
238
|
-
// 树搜索处理
|
|
239
|
-
Transfer.prototype.handleSearchTreeChange = function (values, searchOptions, props) {
|
|
240
|
-
/** TransferDropDown的renderSearchResult&renderOptions中对一些属性覆写了 */
|
|
241
|
-
var value = props.value, _a = props.valueField, valueField = _a === void 0 ? 'value' : _a, multiple = props.multiple, onChange = props.onChange;
|
|
242
|
-
var searchAvailableOptions = this.getFlattenArr(searchOptions);
|
|
243
|
-
values = Array.isArray(values) ? values : values ? [values] : [];
|
|
244
|
-
var useArr = intersectionWith__default["default"](searchAvailableOptions, values, function (a, b) { return a[valueField] === b[valueField]; });
|
|
245
|
-
var unuseArr = amisCore.differenceFromAll(values, searchAvailableOptions, function (item) { return item[valueField]; });
|
|
246
|
-
var newArr = [];
|
|
247
|
-
if (multiple) {
|
|
248
|
-
Array.isArray(value) &&
|
|
249
|
-
value.forEach(function (item) {
|
|
250
|
-
if (!unuseArr.find(function (v) { return v[valueField] === item[valueField]; })) {
|
|
251
|
-
newArr.push(item);
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
useArr.forEach(function (item) {
|
|
256
|
-
if (!newArr.find(function (v) { return v[valueField] === item[valueField]; })) {
|
|
257
|
-
newArr.push(item);
|
|
258
|
-
}
|
|
259
|
-
});
|
|
260
|
-
onChange && onChange(newArr);
|
|
261
|
-
};
|
|
262
|
-
Transfer.prototype.optionItemRender = function (option, states) {
|
|
263
|
-
var _a = this.props, optionItemRender = _a.optionItemRender, _b = _a.labelField, labelField = _b === void 0 ? 'label' : _b, classnames = _a.classnames;
|
|
264
|
-
return optionItemRender
|
|
265
|
-
? optionItemRender(option, states)
|
|
266
|
-
: Selection.BaseSelection.itemRender(option, tslib.__assign(tslib.__assign({ labelField: labelField }, states), { classnames: classnames }));
|
|
267
|
-
};
|
|
268
|
-
Transfer.prototype.resultItemRender = function (option, states) {
|
|
269
|
-
var _a = this.props, resultItemRender = _a.resultItemRender, classnames = _a.classnames;
|
|
270
|
-
return resultItemRender
|
|
271
|
-
? resultItemRender(option, states)
|
|
272
|
-
: ResultList["default"].itemRender(option, tslib.__assign(tslib.__assign({}, states), { classnames: classnames }));
|
|
273
|
-
};
|
|
274
|
-
Transfer.prototype.onPageChangeHandle = function (page, perPage, direction) {
|
|
275
|
-
var _a = this.props, onPageChange = _a.onPageChange; _a.onSearch;
|
|
276
|
-
var _b = this.state, searchResult = _b.searchResult; _b.inputValue;
|
|
277
|
-
if (searchResult) {
|
|
278
|
-
this.searchRequest(page, perPage);
|
|
279
|
-
}
|
|
280
|
-
else if (onPageChange) {
|
|
281
|
-
onPageChange(page, perPage, direction);
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
Transfer.prototype.renderSelect = function (props) {
|
|
285
|
-
var selectRender = props.selectRender, selectMode = props.selectMode, cx = props.classnames, selectTitle = props.selectTitle, onSearch = props.onSearch, disabled = props.disabled, options = props.options, statistics = props.statistics, __ = props.translate, _a = props.searchPlaceholder, searchPlaceholder = _a === void 0 ? __('Transfer.searchKeyword') : _a, mobileUI = props.mobileUI, _b = props.valueField, valueField = _b === void 0 ? 'value' : _b, testIdBuilder = props.testIdBuilder;
|
|
286
|
-
if (selectRender) {
|
|
287
|
-
return selectRender(tslib.__assign(tslib.__assign({}, props), { onSearch: this.handleSearch, onSearchCancel: this.handleSeachCancel, searchResult: this.state.searchResult }));
|
|
288
|
-
}
|
|
289
|
-
var checkedPartial = false;
|
|
290
|
-
var checkedAll = false;
|
|
291
|
-
var valueArraySet = new Set(this.valueArray);
|
|
292
|
-
checkedAll = this.availableOptions.every(function (option) {
|
|
293
|
-
return valueArraySet.has(option);
|
|
294
|
-
});
|
|
295
|
-
checkedPartial = this.availableOptions.some(function (option) {
|
|
296
|
-
return valueArraySet.has(option);
|
|
297
|
-
});
|
|
298
|
-
// 不在当前 availableOptions 中的已选项 数量
|
|
299
|
-
var selectedNotInAvailableOptions = amisCore.differenceFromAll(this.availableOptions, this.valueArray, function (item) { return item[valueField]; }).length;
|
|
300
|
-
return (_J$X_(React__default["default"].Fragment, null,
|
|
301
|
-
_J$X_("div", { className: cx('Transfer-title', selectMode === 'table' ? 'Transfer-title--light' : '') },
|
|
302
|
-
_J$X_("span", null,
|
|
303
|
-
includes__default["default"](['list', 'tree'], selectMode) ? (_J$X_(Checkbox["default"], { checked: checkedPartial, partial: checkedPartial && !checkedAll, onChange: props.onToggleAll || this.toggleAll, size: "sm", testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('toggle-all') })) : null,
|
|
304
|
-
__(selectTitle || 'Transfer.available'),
|
|
305
|
-
statistics !== false ? (_J$X_("span", null,
|
|
306
|
-
"\uFF08",
|
|
307
|
-
this.availableOptions.length -
|
|
308
|
-
this.valueArray.length +
|
|
309
|
-
selectedNotInAvailableOptions,
|
|
310
|
-
"/",
|
|
311
|
-
this.availableOptions.length,
|
|
312
|
-
"\uFF09")) : null),
|
|
313
|
-
includes__default["default"](['chained', 'associated'], selectMode) ? (_J$X_("a", tslib.__assign({ onClick: props.onToggleAll || this.toggleAll, className: cx('Transfer-checkAll', disabled || !options.length ? 'is-disabled' : '') }, testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('toggle-all').getTestId()), __('Select.checkAll'))) : null),
|
|
314
|
-
onSearch ? (_J$X_("div", { className: cx('Transfer-search', { 'is-mobile': mobileUI }) },
|
|
315
|
-
_J$X_(InputBox["default"], { value: this.state.inputValue, onChange: this.handleSearch, clearable: false, onKeyDown: this.handleSearchKeyDown, placeholder: searchPlaceholder, mobileUI: mobileUI, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('search-input') }, this.state.searchResult !== null ? (_J$X_("a", tslib.__assign({ onClick: this.handleSeachCancel }, testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('search-cancel').getTestId()),
|
|
316
|
-
_J$X_(icons.Icon, { icon: "close", className: "icon" }))) : (_J$X_(icons.Icon, { icon: "search", className: "icon" }))))) : null,
|
|
317
|
-
this.state.searchResult !== null
|
|
318
|
-
? this.renderSearchResult(props)
|
|
319
|
-
: this.renderOptions(props),
|
|
320
|
-
this.renderFooter()));
|
|
321
|
-
};
|
|
322
|
-
Transfer.prototype.renderFooter = function () {
|
|
323
|
-
var _a = this.props, cx = _a.classnames, pagination = _a.pagination;
|
|
324
|
-
var _b = this.state, searchResult = _b.searchResult, searchResultPage = _b.searchResultPage;
|
|
325
|
-
if (!pagination || !(pagination === null || pagination === void 0 ? void 0 : pagination.enable)) {
|
|
326
|
-
return null;
|
|
327
|
-
}
|
|
328
|
-
var currentPage = searchResult && searchResultPage
|
|
329
|
-
? {
|
|
330
|
-
page: searchResultPage.page,
|
|
331
|
-
perPage: searchResultPage.perPage,
|
|
332
|
-
total: searchResultPage.total
|
|
333
|
-
}
|
|
334
|
-
: {
|
|
335
|
-
page: pagination.page,
|
|
336
|
-
perPage: pagination.perPage,
|
|
337
|
-
total: pagination.total
|
|
338
|
-
};
|
|
339
|
-
return (_J$X_("div", { className: cx('Transfer-footer') },
|
|
340
|
-
_J$X_(Pagination["default"], { className: cx('Transfer-footer-pagination', pagination.className), activePage: currentPage.page, perPage: currentPage.perPage, total: currentPage.total, layout: pagination.layout, maxButtons: pagination.maxButtons, perPageAvailable: pagination.perPageAvailable, popOverContainer: pagination.popOverContainer, popOverContainerSelector: pagination.popOverContainerSelector, onPageChange: this.onPageChangeHandle })));
|
|
341
|
-
};
|
|
342
|
-
Transfer.prototype.renderSearchResult = function (props) {
|
|
343
|
-
var _this = this;
|
|
344
|
-
var searchResultMode = props.searchResultMode, selectMode = props.selectMode, noResultsText = props.noResultsText, searchResultColumns = props.searchResultColumns, columns = props.columns, cx = props.classnames, value = props.value, disabled = props.disabled, onChange = props.onChange, option2value = props.option2value, optionItemRender = props.optionItemRender, cellRender = props.cellRender, multiple = props.multiple, labelField = props.labelField, _a = props.valueField, valueField = _a === void 0 ? 'value' : _a, virtualThreshold = props.virtualThreshold, itemHeight = props.itemHeight, virtualListHeight = props.virtualListHeight, checkAll = props.checkAll, checkAllLabel = props.checkAllLabel, onlyChildren = props.onlyChildren, autoCheckChildren = props.autoCheckChildren, testIdBuilder = props.testIdBuilder;
|
|
345
|
-
var _b = this.state, isTreeDeferLoad = _b.isTreeDeferLoad, searchResult = _b.searchResult, inputValue = _b.inputValue;
|
|
346
|
-
var options = searchResult !== null && searchResult !== void 0 ? searchResult : [];
|
|
347
|
-
var mode = searchResultMode || selectMode;
|
|
348
|
-
var resultColumns = searchResultColumns || columns;
|
|
349
|
-
var treeItemRender = !searchResult || optionItemRender ? this.optionItemRender : undefined;
|
|
350
|
-
var highlightTxt = searchResult ? inputValue : undefined;
|
|
351
|
-
return mode === 'table' ? (_J$X_(TableSelection["default"], { placeholder: noResultsText, className: cx('Transfer-selection'), columns: resultColumns, options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, cellRender: cellRender, itemRender: this.optionItemRender, valueField: valueField, multiple: multiple, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('search-result') })) : mode === 'tree' ? (_J$X_(Tree["default"], { ref: this.domRef, placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, disabled: disabled, onChange: function (value) {
|
|
352
|
-
return _this.handleSearchTreeChange(value, options, props);
|
|
353
|
-
}, joinValues: false, showIcon: false, multiple: multiple, cascade: true, onlyChildren: onlyChildren !== null && onlyChildren !== void 0 ? onlyChildren : !isTreeDeferLoad, highlightTxt: highlightTxt, itemRender: treeItemRender, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, checkAllLabel: checkAllLabel, checkAll: checkAll, autoCheckChildren: autoCheckChildren })) : mode === 'chained' ? (_J$X_(ChainedSelection["default"], { placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, checkAllLabel: checkAllLabel, checkAll: checkAll })) : (_J$X_(GroupedSelection["default"], { placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, checkAllLabel: checkAllLabel, checkAll: checkAll, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('search-result') }));
|
|
354
|
-
};
|
|
355
|
-
Transfer.prototype.renderOptions = function (props) {
|
|
356
|
-
var selectMode = props.selectMode, columns = props.columns, options = props.options, value = props.value, disabled = props.disabled, onChange = props.onChange, option2value = props.option2value, cx = props.classnames, onDeferLoad = props.onDeferLoad, leftOptions = props.leftOptions, leftMode = props.leftMode, rightMode = props.rightMode, cellRender = props.cellRender, leftDefaultValue = props.leftDefaultValue, multiple = props.multiple, noResultsText = props.noResultsText, labelField = props.labelField, _a = props.valueField, valueField = _a === void 0 ? 'value' : _a, _b = props.deferField, deferField = _b === void 0 ? 'defer' : _b, virtualThreshold = props.virtualThreshold, itemHeight = props.itemHeight, virtualListHeight = props.virtualListHeight, loadingConfig = props.loadingConfig, checkAll = props.checkAll, checkAllLabel = props.checkAllLabel, onlyChildren = props.onlyChildren, _c = props.autoCheckChildren, autoCheckChildren = _c === void 0 ? true : _c, _d = props.initiallyOpen, initiallyOpen = _d === void 0 ? true : _d, testIdBuilder = props.testIdBuilder;
|
|
357
|
-
return selectMode === 'table' ? (_J$X_(TableSelection["default"], { className: cx('Transfer-selection'), columns: columns, options: options || [], value: value, disabled: disabled, onChange: onChange, option2value: option2value, onDeferLoad: onDeferLoad, cellRender: cellRender, multiple: multiple, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, checkAllLabel: checkAllLabel, checkAll: checkAll, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('selection') })) : selectMode === 'tree' ? (_J$X_(Tree["default"], { ref: this.domRef, placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, onChange: onChange, onlyChildren: onlyChildren !== null && onlyChildren !== void 0 ? onlyChildren : !this.state.isTreeDeferLoad, itemRender: this.optionItemRender, onDeferLoad: onDeferLoad, joinValues: false, showIcon: false, multiple: multiple, cascade: true, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, loadingConfig: loadingConfig, checkAllLabel: checkAllLabel, checkAll: checkAll, initiallyOpen: initiallyOpen, autoCheckChildren: autoCheckChildren, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('selection') })) : selectMode === 'chained' ? (_J$X_(ChainedSelection["default"], { className: cx('Transfer-selection'), options: options || [], value: value, disabled: disabled, onChange: onChange, option2value: option2value, onDeferLoad: onDeferLoad, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, loadingConfig: loadingConfig, checkAllLabel: checkAllLabel, checkAll: checkAll, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('selection') })) : selectMode === 'associated' ? (_J$X_(AssociatedSelection["default"], { className: cx('Transfer-selection'), options: options || [], value: value, disabled: disabled, onChange: onChange, option2value: option2value, onDeferLoad: onDeferLoad, columns: columns, leftOptions: leftOptions || [], leftMode: leftMode, rightMode: rightMode, leftDefaultValue: leftDefaultValue, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, deferField: deferField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, loadingConfig: loadingConfig, checkAllLabel: checkAllLabel, checkAll: checkAll, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('selection') })) : (_J$X_(GroupedSelection["default"], { className: cx('Transfer-selection'), options: options || [], value: value, disabled: disabled, onChange: onChange, option2value: option2value, onDeferLoad: onDeferLoad, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, checkAllLabel: checkAllLabel, checkAll: checkAll, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('selection') }));
|
|
358
|
-
};
|
|
359
|
-
Transfer.prototype.renderResult = function () {
|
|
360
|
-
var _a = this.props, columns = _a.columns, options = _a.options, disabled = _a.disabled, option2value = _a.option2value, cx = _a.classnames, cellRender = _a.cellRender, onChange = _a.onChange, value = _a.value, resultSearchable = _a.resultSearchable, resultSearchPlaceholder = _a.resultSearchPlaceholder, onResultSearch = _a.onResultSearch, sortable = _a.sortable, labelField = _a.labelField, __ = _a.translate, _b = _a.placeholder, placeholder = _b === void 0 ? __('Transfer.selectFromLeft') : _b, virtualThreshold = _a.virtualThreshold, itemHeight = _a.itemHeight, loadingConfig = _a.loadingConfig, showInvalidMatch = _a.showInvalidMatch, pagination = _a.pagination, accumulatedOptions = _a.accumulatedOptions, testIdBuilder = _a.testIdBuilder;
|
|
361
|
-
var _c = this.state, resultSelectMode = _c.resultSelectMode, isTreeDeferLoad = _c.isTreeDeferLoad;
|
|
362
|
-
var searchable = !isTreeDeferLoad && resultSearchable;
|
|
363
|
-
switch (resultSelectMode) {
|
|
364
|
-
case 'table':
|
|
365
|
-
return (_J$X_(ResultTableList["default"], { ref: this.domResultRef, classnames: cx, columns: columns, options: ((pagination === null || pagination === void 0 ? void 0 : pagination.enable) ? accumulatedOptions : options) || [], value: value, disabled: disabled, option2value: option2value, cellRender: cellRender, onChange: onChange, multiple: false, searchable: searchable, placeholder: placeholder, searchPlaceholder: resultSearchPlaceholder, onSearch: onResultSearch, virtualThreshold: virtualThreshold, itemHeight: itemHeight, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('result') }));
|
|
366
|
-
case 'tree':
|
|
367
|
-
return (_J$X_(ResultTreeList["default"], { ref: this.domResultRef, loadingConfig: loadingConfig, classnames: cx, className: cx('Transfer-value'), options: ((pagination === null || pagination === void 0 ? void 0 : pagination.enable) ? accumulatedOptions : options) || [], valueField: 'value', value: value || [], onChange: onChange, itemRender: this.resultItemRender, searchable: searchable, placeholder: placeholder, searchPlaceholder: resultSearchPlaceholder, onSearch: onResultSearch, labelField: labelField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('result') }));
|
|
368
|
-
default:
|
|
369
|
-
return (_J$X_(ResultList["default"], { ref: this.domResultRef, className: cx('Transfer-value'), sortable: sortable, disabled: disabled, value: value, onChange: onChange, placeholder: placeholder, searchPlaceholder: resultSearchPlaceholder, itemRender: this.resultItemRender, searchable: searchable, onSearch: onResultSearch, labelField: labelField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, showInvalidMatch: showInvalidMatch, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('result') }));
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
Transfer.prototype.render = function () {
|
|
373
|
-
var _a = this.props, inline = _a.inline, cx = _a.classnames, className = _a.className, value = _a.value, resultTitle = _a.resultTitle, options = _a.options, option2value = _a.option2value, disabled = _a.disabled, statistics = _a.statistics, showArrow = _a.showArrow, resultListModeFollowSelect = _a.resultListModeFollowSelect, _b = _a.selectMode, selectMode = _b === void 0 ? 'list' : _b, __ = _a.translate, _c = _a.valueField, valueField = _c === void 0 ? 'value' : _c, mobileUI = _a.mobileUI, pagination = _a.pagination, testIdBuilder = _a.testIdBuilder;
|
|
374
|
-
var searchResult = this.state.searchResult;
|
|
375
|
-
this.valueArray = Selection.BaseSelection.value2array(value, options, option2value, valueField);
|
|
376
|
-
this.availableOptions = amisCore.flattenTree(searchResult !== null && searchResult !== void 0 ? searchResult : options).filter(function (option, index, list) {
|
|
377
|
-
return !option.disabled &&
|
|
378
|
-
option[valueField] !== void 0 &&
|
|
379
|
-
list.indexOf(option) === index;
|
|
380
|
-
});
|
|
381
|
-
var tableType = resultListModeFollowSelect && selectMode === 'table';
|
|
382
|
-
return (_J$X_("div", { className: cx('Transfer', className, inline ? 'Transfer--inline' : '') },
|
|
383
|
-
_J$X_("div", { className: cx('Transfer-select', {
|
|
384
|
-
'Transfer-select--pagination': !!(pagination === null || pagination === void 0 ? void 0 : pagination.enable)
|
|
385
|
-
}) }, this.renderSelect(this.props)),
|
|
386
|
-
_J$X_("div", { className: cx('Transfer-mid', { 'is-mobile': mobileUI }) }, showArrow /*todo 需要改成确认模式,即:点了按钮才到右边 */ ? (_J$X_("div", { className: cx('Transfer-arrow') },
|
|
387
|
-
_J$X_(icons.Icon, { icon: "right-arrow", className: "icon" }))) : null),
|
|
388
|
-
_J$X_("div", { className: cx('Transfer-result', {
|
|
389
|
-
'is-mobile': mobileUI,
|
|
390
|
-
'Transfer-select--pagination': !!(pagination === null || pagination === void 0 ? void 0 : pagination.enable)
|
|
391
|
-
}) },
|
|
392
|
-
_J$X_("div", { className: cx('Transfer-title', tableType ? 'Transfer-table-title' : '', selectMode === 'table' ? 'Transfer-title--light' : '') },
|
|
393
|
-
_J$X_("span", null,
|
|
394
|
-
__(resultTitle || 'Transfer.selectd'),
|
|
395
|
-
statistics !== false ? (_J$X_("span", null,
|
|
396
|
-
"\uFF08",
|
|
397
|
-
this.valueArray.length,
|
|
398
|
-
"\uFF09")) : null),
|
|
399
|
-
_J$X_("a", tslib.__assign({ onClick: this.clearAll, className: cx('Transfer-clearAll', disabled || !this.valueArray.length ? 'is-disabled' : '') }, testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('clear-all').getTestId()), __('clear'))),
|
|
400
|
-
this.renderResult())));
|
|
401
|
-
};
|
|
402
|
-
Transfer.defaultProps = {
|
|
403
|
-
multiple: true,
|
|
404
|
-
resultListModeFollowSelect: false,
|
|
405
|
-
selectMode: 'list',
|
|
406
|
-
statistics: true,
|
|
407
|
-
virtualThreshold: 100,
|
|
408
|
-
itemHeight: 38,
|
|
409
|
-
checkAllLabel: 'Select.checkAll',
|
|
410
|
-
valueField: 'value'
|
|
411
|
-
};
|
|
412
|
-
tslib.__decorate([
|
|
413
|
-
amisCore.autobind,
|
|
414
|
-
tslib.__metadata("design:type", Function),
|
|
415
|
-
tslib.__metadata("design:paramtypes", [Object]),
|
|
416
|
-
tslib.__metadata("design:returntype", void 0)
|
|
417
|
-
], Transfer.prototype, "domRef", null);
|
|
418
|
-
tslib.__decorate([
|
|
419
|
-
amisCore.autobind,
|
|
420
|
-
tslib.__metadata("design:type", Function),
|
|
421
|
-
tslib.__metadata("design:paramtypes", [Object]),
|
|
422
|
-
tslib.__metadata("design:returntype", void 0)
|
|
423
|
-
], Transfer.prototype, "domResultRef", null);
|
|
424
|
-
tslib.__decorate([
|
|
425
|
-
amisCore.autobind,
|
|
426
|
-
tslib.__metadata("design:type", Function),
|
|
427
|
-
tslib.__metadata("design:paramtypes", []),
|
|
428
|
-
tslib.__metadata("design:returntype", void 0)
|
|
429
|
-
], Transfer.prototype, "toggleAll", null);
|
|
430
|
-
tslib.__decorate([
|
|
431
|
-
amisCore.autobind,
|
|
432
|
-
tslib.__metadata("design:type", Function),
|
|
433
|
-
tslib.__metadata("design:paramtypes", []),
|
|
434
|
-
tslib.__metadata("design:returntype", void 0)
|
|
435
|
-
], Transfer.prototype, "clearAll", null);
|
|
436
|
-
tslib.__decorate([
|
|
437
|
-
amisCore.autobind,
|
|
438
|
-
tslib.__metadata("design:type", Function),
|
|
439
|
-
tslib.__metadata("design:paramtypes", [Object]),
|
|
440
|
-
tslib.__metadata("design:returntype", void 0)
|
|
441
|
-
], Transfer.prototype, "handleSearchKeyDown", null);
|
|
442
|
-
tslib.__decorate([
|
|
443
|
-
amisCore.autobind,
|
|
444
|
-
tslib.__metadata("design:type", Function),
|
|
445
|
-
tslib.__metadata("design:paramtypes", [String]),
|
|
446
|
-
tslib.__metadata("design:returntype", void 0)
|
|
447
|
-
], Transfer.prototype, "handleSearch", null);
|
|
448
|
-
tslib.__decorate([
|
|
449
|
-
amisCore.autobind,
|
|
450
|
-
tslib.__metadata("design:type", Function),
|
|
451
|
-
tslib.__metadata("design:paramtypes", []),
|
|
452
|
-
tslib.__metadata("design:returntype", void 0)
|
|
453
|
-
], Transfer.prototype, "handleSeachCancel", null);
|
|
454
|
-
tslib.__decorate([
|
|
455
|
-
amisCore.autobind,
|
|
456
|
-
tslib.__metadata("design:type", Function),
|
|
457
|
-
tslib.__metadata("design:paramtypes", [Number, Number]),
|
|
458
|
-
tslib.__metadata("design:returntype", Promise)
|
|
459
|
-
], Transfer.prototype, "searchRequest", null);
|
|
460
|
-
tslib.__decorate([
|
|
461
|
-
amisCore.autobind,
|
|
462
|
-
tslib.__metadata("design:type", Function),
|
|
463
|
-
tslib.__metadata("design:paramtypes", [Array,
|
|
464
|
-
Array, Object]),
|
|
465
|
-
tslib.__metadata("design:returntype", void 0)
|
|
466
|
-
], Transfer.prototype, "handleSearchTreeChange", null);
|
|
467
|
-
tslib.__decorate([
|
|
468
|
-
amisCore.autobind,
|
|
469
|
-
tslib.__metadata("design:type", Function),
|
|
470
|
-
tslib.__metadata("design:paramtypes", [Object, Object]),
|
|
471
|
-
tslib.__metadata("design:returntype", void 0)
|
|
472
|
-
], Transfer.prototype, "optionItemRender", null);
|
|
473
|
-
tslib.__decorate([
|
|
474
|
-
amisCore.autobind,
|
|
475
|
-
tslib.__metadata("design:type", Function),
|
|
476
|
-
tslib.__metadata("design:paramtypes", [Object, Object]),
|
|
477
|
-
tslib.__metadata("design:returntype", void 0)
|
|
478
|
-
], Transfer.prototype, "resultItemRender", null);
|
|
479
|
-
tslib.__decorate([
|
|
480
|
-
amisCore.autobind,
|
|
481
|
-
tslib.__metadata("design:type", Function),
|
|
482
|
-
tslib.__metadata("design:paramtypes", [Number, Number, String]),
|
|
483
|
-
tslib.__metadata("design:returntype", void 0)
|
|
484
|
-
], Transfer.prototype, "onPageChangeHandle", null);
|
|
485
|
-
return Transfer;
|
|
486
|
-
}(React__default["default"].Component));
|
|
487
|
-
var Transfer$1 = amisCore.themeable(amisCore.localeable(amisCore.uncontrollable(/** @class */ (function (_super) {
|
|
488
|
-
tslib.__extends(class_1, _super);
|
|
489
|
-
function class_1() {
|
|
490
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
491
|
-
}
|
|
492
|
-
return class_1;
|
|
493
|
-
}(Transfer)), {
|
|
494
|
-
value: 'onChange'
|
|
495
|
-
})));
|
|
496
|
-
|
|
497
|
-
exports.Transfer = Transfer;
|
|
498
|
-
exports["default"] = Transfer$1;
|