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,279 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Signature.tsx 签名组件
|
|
3
|
-
*
|
|
4
|
-
* @created: 2024/03/04
|
|
5
|
-
*/
|
|
6
|
-
/// <reference types="hoist-non-react-statics" />
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ThemeProps, LocaleProps } from 'amis-core';
|
|
9
|
-
export interface ISignatureProps extends LocaleProps, ThemeProps {
|
|
10
|
-
value?: string;
|
|
11
|
-
width?: number;
|
|
12
|
-
height?: number;
|
|
13
|
-
color?: string;
|
|
14
|
-
bgColor?: string;
|
|
15
|
-
clearBtnLabel?: string;
|
|
16
|
-
clearBtnIcon?: string;
|
|
17
|
-
undoBtnLabel?: string;
|
|
18
|
-
undoBtnIcon?: string;
|
|
19
|
-
confirmBtnLabel?: string;
|
|
20
|
-
confirmBtnIcon?: string;
|
|
21
|
-
embed?: boolean;
|
|
22
|
-
embedConfirmLabel?: string;
|
|
23
|
-
embedConfirmIcon?: string;
|
|
24
|
-
ebmedCancelLabel?: string;
|
|
25
|
-
ebmedCancelIcon?: string;
|
|
26
|
-
embedBtnIcon?: string;
|
|
27
|
-
embedBtnLabel?: string;
|
|
28
|
-
onChange?: (value?: string) => Promise<void>;
|
|
29
|
-
}
|
|
30
|
-
declare const _default: {
|
|
31
|
-
new (props: Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
32
|
-
locale?: string | undefined;
|
|
33
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
34
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
35
|
-
ref: any;
|
|
36
|
-
childRef(ref: any): void;
|
|
37
|
-
getWrappedInstance(): any;
|
|
38
|
-
render(): React.JSX.Element;
|
|
39
|
-
context: unknown;
|
|
40
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
41
|
-
locale?: string | undefined;
|
|
42
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
43
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
44
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
45
|
-
readonly props: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
46
|
-
locale?: string | undefined;
|
|
47
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
48
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
49
|
-
state: Readonly<{}>;
|
|
50
|
-
refs: {
|
|
51
|
-
[key: string]: React.ReactInstance;
|
|
52
|
-
};
|
|
53
|
-
componentDidMount?(): void;
|
|
54
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
55
|
-
locale?: string | undefined;
|
|
56
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
57
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
58
|
-
componentWillUnmount?(): void;
|
|
59
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
60
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
61
|
-
locale?: string | undefined;
|
|
62
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
63
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
64
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
65
|
-
locale?: string | undefined;
|
|
66
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
67
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
68
|
-
componentWillMount?(): void;
|
|
69
|
-
UNSAFE_componentWillMount?(): void;
|
|
70
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
71
|
-
locale?: string | undefined;
|
|
72
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
73
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
74
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
75
|
-
locale?: string | undefined;
|
|
76
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
77
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
78
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
79
|
-
locale?: string | undefined;
|
|
80
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
81
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
82
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
83
|
-
locale?: string | undefined;
|
|
84
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
85
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
86
|
-
};
|
|
87
|
-
displayName: string;
|
|
88
|
-
contextType: React.Context<string>;
|
|
89
|
-
ComposedComponent: React.ComponentType<{
|
|
90
|
-
new (props: Omit<ISignatureProps, keyof LocaleProps> & {
|
|
91
|
-
locale?: string | undefined;
|
|
92
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
93
|
-
}): {
|
|
94
|
-
ref: any;
|
|
95
|
-
childRef(ref: any): void;
|
|
96
|
-
getWrappedInstance(): any;
|
|
97
|
-
render(): React.JSX.Element;
|
|
98
|
-
context: unknown;
|
|
99
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
100
|
-
locale?: string | undefined;
|
|
101
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
102
|
-
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
103
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
104
|
-
readonly props: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
105
|
-
locale?: string | undefined;
|
|
106
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
107
|
-
}>;
|
|
108
|
-
state: Readonly<{}>;
|
|
109
|
-
refs: {
|
|
110
|
-
[key: string]: React.ReactInstance;
|
|
111
|
-
};
|
|
112
|
-
componentDidMount?(): void;
|
|
113
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
114
|
-
locale?: string | undefined;
|
|
115
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
116
|
-
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
117
|
-
componentWillUnmount?(): void;
|
|
118
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
119
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
120
|
-
locale?: string | undefined;
|
|
121
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
122
|
-
}>, prevState: Readonly<{}>): any;
|
|
123
|
-
componentDidUpdate?(prevProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
124
|
-
locale?: string | undefined;
|
|
125
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
126
|
-
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
127
|
-
componentWillMount?(): void;
|
|
128
|
-
UNSAFE_componentWillMount?(): void;
|
|
129
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
130
|
-
locale?: string | undefined;
|
|
131
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
132
|
-
}>, nextContext: any): void;
|
|
133
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
134
|
-
locale?: string | undefined;
|
|
135
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
136
|
-
}>, nextContext: any): void;
|
|
137
|
-
componentWillUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
138
|
-
locale?: string | undefined;
|
|
139
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
140
|
-
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
141
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
142
|
-
locale?: string | undefined;
|
|
143
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
144
|
-
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
145
|
-
};
|
|
146
|
-
displayName: string;
|
|
147
|
-
contextType: React.Context<string>;
|
|
148
|
-
ComposedComponent: React.ComponentType<React.FC<ISignatureProps>>;
|
|
149
|
-
} & import("hoist-non-react-statics").NonReactStatics<React.FC<ISignatureProps>, {}> & {
|
|
150
|
-
ComposedComponent: React.FC<ISignatureProps>;
|
|
151
|
-
}>;
|
|
152
|
-
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
153
|
-
new (props: Omit<ISignatureProps, keyof LocaleProps> & {
|
|
154
|
-
locale?: string | undefined;
|
|
155
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
|
-
}): {
|
|
157
|
-
ref: any;
|
|
158
|
-
childRef(ref: any): void;
|
|
159
|
-
getWrappedInstance(): any;
|
|
160
|
-
render(): React.JSX.Element;
|
|
161
|
-
context: unknown;
|
|
162
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
163
|
-
locale?: string | undefined;
|
|
164
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
165
|
-
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
166
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
167
|
-
readonly props: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
168
|
-
locale?: string | undefined;
|
|
169
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
170
|
-
}>;
|
|
171
|
-
state: Readonly<{}>;
|
|
172
|
-
refs: {
|
|
173
|
-
[key: string]: React.ReactInstance;
|
|
174
|
-
};
|
|
175
|
-
componentDidMount?(): void;
|
|
176
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
177
|
-
locale?: string | undefined;
|
|
178
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
179
|
-
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
180
|
-
componentWillUnmount?(): void;
|
|
181
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
182
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
183
|
-
locale?: string | undefined;
|
|
184
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
185
|
-
}>, prevState: Readonly<{}>): any;
|
|
186
|
-
componentDidUpdate?(prevProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
187
|
-
locale?: string | undefined;
|
|
188
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
189
|
-
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
190
|
-
componentWillMount?(): void;
|
|
191
|
-
UNSAFE_componentWillMount?(): void;
|
|
192
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
193
|
-
locale?: string | undefined;
|
|
194
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
195
|
-
}>, nextContext: any): void;
|
|
196
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
197
|
-
locale?: string | undefined;
|
|
198
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
199
|
-
}>, nextContext: any): void;
|
|
200
|
-
componentWillUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
201
|
-
locale?: string | undefined;
|
|
202
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
203
|
-
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
204
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
205
|
-
locale?: string | undefined;
|
|
206
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
207
|
-
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
208
|
-
};
|
|
209
|
-
displayName: string;
|
|
210
|
-
contextType: React.Context<string>;
|
|
211
|
-
ComposedComponent: React.ComponentType<React.FC<ISignatureProps>>;
|
|
212
|
-
} & import("hoist-non-react-statics").NonReactStatics<React.FC<ISignatureProps>, {}> & {
|
|
213
|
-
ComposedComponent: React.FC<ISignatureProps>;
|
|
214
|
-
}, {}> & {
|
|
215
|
-
ComposedComponent: {
|
|
216
|
-
new (props: Omit<ISignatureProps, keyof LocaleProps> & {
|
|
217
|
-
locale?: string | undefined;
|
|
218
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
219
|
-
}): {
|
|
220
|
-
ref: any;
|
|
221
|
-
childRef(ref: any): void;
|
|
222
|
-
getWrappedInstance(): any;
|
|
223
|
-
render(): React.JSX.Element;
|
|
224
|
-
context: unknown;
|
|
225
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
226
|
-
locale?: string | undefined;
|
|
227
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
228
|
-
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
229
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
230
|
-
readonly props: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
231
|
-
locale?: string | undefined;
|
|
232
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
233
|
-
}>;
|
|
234
|
-
state: Readonly<{}>;
|
|
235
|
-
refs: {
|
|
236
|
-
[key: string]: React.ReactInstance;
|
|
237
|
-
};
|
|
238
|
-
componentDidMount?(): void;
|
|
239
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
240
|
-
locale?: string | undefined;
|
|
241
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
242
|
-
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
243
|
-
componentWillUnmount?(): void;
|
|
244
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
245
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
246
|
-
locale?: string | undefined;
|
|
247
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
248
|
-
}>, prevState: Readonly<{}>): any;
|
|
249
|
-
componentDidUpdate?(prevProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
250
|
-
locale?: string | undefined;
|
|
251
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
252
|
-
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
253
|
-
componentWillMount?(): void;
|
|
254
|
-
UNSAFE_componentWillMount?(): void;
|
|
255
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
256
|
-
locale?: string | undefined;
|
|
257
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
258
|
-
}>, nextContext: any): void;
|
|
259
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
260
|
-
locale?: string | undefined;
|
|
261
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
262
|
-
}>, nextContext: any): void;
|
|
263
|
-
componentWillUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
264
|
-
locale?: string | undefined;
|
|
265
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
266
|
-
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
267
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<ISignatureProps, keyof LocaleProps> & {
|
|
268
|
-
locale?: string | undefined;
|
|
269
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
270
|
-
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
271
|
-
};
|
|
272
|
-
displayName: string;
|
|
273
|
-
contextType: React.Context<string>;
|
|
274
|
-
ComposedComponent: React.ComponentType<React.FC<ISignatureProps>>;
|
|
275
|
-
} & import("hoist-non-react-statics").NonReactStatics<React.FC<ISignatureProps>, {}> & {
|
|
276
|
-
ComposedComponent: React.FC<ISignatureProps>;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
export default _default;
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* amis-ui v6.13.0-beta.6
|
|
3
|
-
* Copyright 2018-2025 fex
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { __read } from 'tslib';
|
|
7
|
-
import React__default from 'react';
|
|
8
|
-
import { themeable, localeable, isMobileDevice, resizeSensor } from 'amis-core';
|
|
9
|
-
import SmoothSignature from 'smooth-signature';
|
|
10
|
-
import Button from './Button.js';
|
|
11
|
-
import './404.js';
|
|
12
|
-
import './Alert.js';
|
|
13
|
-
import './ContextMenu.js';
|
|
14
|
-
import './AsideNav.js';
|
|
15
|
-
import './Avatar.js';
|
|
16
|
-
import './Breadcrumb.js';
|
|
17
|
-
import './Checkbox.js';
|
|
18
|
-
import './Collapse.js';
|
|
19
|
-
import './CollapseGroup.js';
|
|
20
|
-
import './DatePicker.js';
|
|
21
|
-
import './DateRangePicker.js';
|
|
22
|
-
import './Drawer.js';
|
|
23
|
-
import './Tabs.js';
|
|
24
|
-
import './Editor.js';
|
|
25
|
-
import './DiffEditor.js';
|
|
26
|
-
import './Html.js';
|
|
27
|
-
import { Icon } from './icons.js';
|
|
28
|
-
import './Layout.js';
|
|
29
|
-
import FinalModal from './Modal.js';
|
|
30
|
-
import './Radios.js';
|
|
31
|
-
import './Range.js';
|
|
32
|
-
import './Rating.js';
|
|
33
|
-
import './Select.js';
|
|
34
|
-
import './SparkLine.js';
|
|
35
|
-
import Spinner from './Spinner.js';
|
|
36
|
-
import './Switch.js';
|
|
37
|
-
import './Textarea.js';
|
|
38
|
-
import './TitleBar.js';
|
|
39
|
-
import './Toast.js';
|
|
40
|
-
import './Tooltip.js';
|
|
41
|
-
import './TooltipWrapper.js';
|
|
42
|
-
import './Tree.js';
|
|
43
|
-
import './Alert2.js';
|
|
44
|
-
import './Transfer.js';
|
|
45
|
-
import './TabsTransfer.js';
|
|
46
|
-
import './ResultBox.js';
|
|
47
|
-
import './InputBox.js';
|
|
48
|
-
import './ListGroup.js';
|
|
49
|
-
import './NumberInput.js';
|
|
50
|
-
import './ArrayInput.js';
|
|
51
|
-
import './SearchBox.js';
|
|
52
|
-
import './AnchorNav.js';
|
|
53
|
-
import './Selection.js';
|
|
54
|
-
import './GroupedSelection.js';
|
|
55
|
-
import './ChainedSelection.js';
|
|
56
|
-
import './TableSelection.js';
|
|
57
|
-
import './TreeSelection.js';
|
|
58
|
-
import './AssociatedSelection.js';
|
|
59
|
-
import './PullRefresh.js';
|
|
60
|
-
import './table/index.js';
|
|
61
|
-
import './schema-editor/SchemaVariableListPicker.js';
|
|
62
|
-
import './schema-editor/SchemaVariableList.js';
|
|
63
|
-
import './formula/VariableList.js';
|
|
64
|
-
import './formula/Picker.js';
|
|
65
|
-
import './formula/Editor.js';
|
|
66
|
-
import './formula/CodeEditor.js';
|
|
67
|
-
import './PickerContainer.js';
|
|
68
|
-
import './json-schema/index.js';
|
|
69
|
-
import './Badge.js';
|
|
70
|
-
import './WithRemoteConfig.js';
|
|
71
|
-
import './condition-builder/index.js';
|
|
72
|
-
import './CityArea.js';
|
|
73
|
-
import './ListMenu.js';
|
|
74
|
-
import './Input.js';
|
|
75
|
-
import './schema-editor/index.js';
|
|
76
|
-
import './LocationPicker.js';
|
|
77
|
-
import './PopUp.js';
|
|
78
|
-
import './Cascader.js';
|
|
79
|
-
import './TransferDropDown.js';
|
|
80
|
-
import './TabsTransferPicker.js';
|
|
81
|
-
import './ResultList.js';
|
|
82
|
-
import './TransferPicker.js';
|
|
83
|
-
import './UserSelect.js';
|
|
84
|
-
import './UserTabSelect.js';
|
|
85
|
-
import './table/HeadCellDropDown.js';
|
|
86
|
-
import './Card.js';
|
|
87
|
-
import './GridNav.js';
|
|
88
|
-
import './Link.js';
|
|
89
|
-
import './virtual-list/index.js';
|
|
90
|
-
import 'hoist-non-react-statics';
|
|
91
|
-
import 'mobx-state-tree';
|
|
92
|
-
import 'mobx-react';
|
|
93
|
-
import './PopOverContainer.js';
|
|
94
|
-
import './Pagination.js';
|
|
95
|
-
import './Progress.js';
|
|
96
|
-
import './Steps.js';
|
|
97
|
-
import './Tag.js';
|
|
98
|
-
import './Timeline.js';
|
|
99
|
-
import './ImageGallery.js';
|
|
100
|
-
import './BaiduMapPicker.js';
|
|
101
|
-
import './MultilineText.js';
|
|
102
|
-
import './Form.js';
|
|
103
|
-
import './FormField.js';
|
|
104
|
-
import './Combo.js';
|
|
105
|
-
import './InputTable.js';
|
|
106
|
-
import './ConfirmBox.js';
|
|
107
|
-
import './DndContainer.js';
|
|
108
|
-
import './menu/index.js';
|
|
109
|
-
import './InputBoxWithSuggestion.js';
|
|
110
|
-
import './CodeMirror.js';
|
|
111
|
-
import './OverflowTpl.js';
|
|
112
|
-
import './VerificationCode.js';
|
|
113
|
-
import './Slider.js';
|
|
114
|
-
import './Shape.js';
|
|
115
|
-
import 'amis-ui';
|
|
116
|
-
import 'lodash/debounce';
|
|
117
|
-
import 'react-overlays';
|
|
118
|
-
import './DropdownContextMenus.js';
|
|
119
|
-
import './HorizontalScroll.js';
|
|
120
|
-
import 'lodash/isFunction';
|
|
121
|
-
import 'lodash/pick';
|
|
122
|
-
import '../locale/zh-CN.js';
|
|
123
|
-
import '../locale/en-US.js';
|
|
124
|
-
import '../locale/de-DE.js';
|
|
125
|
-
import '../themes/cxd.js';
|
|
126
|
-
import '../themes/ang.js';
|
|
127
|
-
import '../themes/antd.js';
|
|
128
|
-
import '../themes/dark.js';
|
|
129
|
-
import './schema-editor/Common.js';
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @file Signature.tsx 签名组件
|
|
133
|
-
*
|
|
134
|
-
* @created: 2024/03/04
|
|
135
|
-
*/
|
|
136
|
-
var Signature = function (props) {
|
|
137
|
-
var __ = props.translate, cx = props.classnames, className = props.className, width = props.width, height = props.height;
|
|
138
|
-
var embedMobile = props.embed && isMobileDevice() && window.innerWidth < 768;
|
|
139
|
-
var _a = __read(React__default.useState(null), 2), sign = _a[0], setSign = _a[1];
|
|
140
|
-
var _b = __read(React__default.useState(false), 2), open = _b[0], setOpen = _b[1];
|
|
141
|
-
var _c = __read(React__default.useState(false), 2), uploading = _c[0], setUploading = _c[1];
|
|
142
|
-
var _d = __read(React__default.useState(!!embedMobile), 2), fullScreen = _d[0], setFullScreen = _d[1];
|
|
143
|
-
var _e = __read(React__default.useState(props.embed || false), 2), embed = _e[0], setEmbed = _e[1];
|
|
144
|
-
var _f = __read(React__default.useState(props.value), 2), data = _f[0], setData = _f[1];
|
|
145
|
-
var wrapper = React__default.useRef(null);
|
|
146
|
-
React__default.useEffect(function () {
|
|
147
|
-
if (!wrapper.current) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
var unSensor = resizeSensor(wrapper.current, resize);
|
|
151
|
-
return function () {
|
|
152
|
-
setSign(null);
|
|
153
|
-
unSensor();
|
|
154
|
-
};
|
|
155
|
-
}, []);
|
|
156
|
-
React__default.useEffect(function () { return setData(props.value); }, [props.value]);
|
|
157
|
-
React__default.useEffect(function () { return setEmbed(props.embed || false); }, [props.embed]);
|
|
158
|
-
var clear = React__default.useCallback(function () {
|
|
159
|
-
var _a;
|
|
160
|
-
if (sign) {
|
|
161
|
-
sign.clear();
|
|
162
|
-
}
|
|
163
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, undefined);
|
|
164
|
-
}, [sign]);
|
|
165
|
-
var undo = React__default.useCallback(function () {
|
|
166
|
-
if (sign) {
|
|
167
|
-
sign.undo();
|
|
168
|
-
}
|
|
169
|
-
}, [sign]);
|
|
170
|
-
var confirm = React__default.useCallback(function () {
|
|
171
|
-
var _a;
|
|
172
|
-
if (!sign) {
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
var base64 = fullScreen
|
|
176
|
-
? sign.getRotateCanvas(-90).toDataURL()
|
|
177
|
-
: sign.toDataURL();
|
|
178
|
-
setData(base64);
|
|
179
|
-
setUploading(true);
|
|
180
|
-
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, base64).then(function () {
|
|
181
|
-
setUploading(false);
|
|
182
|
-
});
|
|
183
|
-
}, [sign]);
|
|
184
|
-
var resize = React__default.useCallback(function () {
|
|
185
|
-
setSign(null);
|
|
186
|
-
}, []);
|
|
187
|
-
var handleFullScreen = React__default.useCallback(function () {
|
|
188
|
-
setFullScreen(true);
|
|
189
|
-
setSign(null);
|
|
190
|
-
}, []);
|
|
191
|
-
var handleUnFullScreen = React__default.useCallback(function () {
|
|
192
|
-
setFullScreen(false);
|
|
193
|
-
setSign(null);
|
|
194
|
-
}, []);
|
|
195
|
-
var handleCloseModal = React__default.useCallback(function () {
|
|
196
|
-
setOpen(false);
|
|
197
|
-
setFullScreen(!!embedMobile);
|
|
198
|
-
setSign(null);
|
|
199
|
-
}, []);
|
|
200
|
-
var handleConfirmModal = React__default.useCallback(function () {
|
|
201
|
-
confirm();
|
|
202
|
-
handleCloseModal();
|
|
203
|
-
}, [sign]);
|
|
204
|
-
var initCanvas = React__default.useCallback(function (element) {
|
|
205
|
-
var width = props.width, height = props.height;
|
|
206
|
-
var clientWidth = element.parentElement.clientWidth;
|
|
207
|
-
var clientHeight = element.parentElement.clientHeight;
|
|
208
|
-
var defaultWidth = width || clientWidth - (fullScreen ? 40 : 0);
|
|
209
|
-
var defaultHeight = fullScreen
|
|
210
|
-
? clientHeight
|
|
211
|
-
: Math.min(height || clientWidth / 2 - 40, clientHeight - 40);
|
|
212
|
-
var signature = new SmoothSignature(element, {
|
|
213
|
-
width: Math.max(defaultWidth, 200),
|
|
214
|
-
height: Math.max(defaultHeight, 160),
|
|
215
|
-
color: props.color || '#000',
|
|
216
|
-
bgColor: props.bgColor || '#efefef'
|
|
217
|
-
});
|
|
218
|
-
setSign(signature);
|
|
219
|
-
}, [width, height, fullScreen]);
|
|
220
|
-
function embedCanvasRef(ref) {
|
|
221
|
-
if (open && ref && !sign) {
|
|
222
|
-
initCanvas(ref);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
function canvasRef(ref) {
|
|
226
|
-
if (ref && !sign) {
|
|
227
|
-
initCanvas(ref);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
function renderTool(right) {
|
|
231
|
-
if (right === void 0) { right = true; }
|
|
232
|
-
var clearBtnLabel = props.clearBtnLabel, clearBtnIcon = props.clearBtnIcon, undoBtnLabel = props.undoBtnLabel, undoBtnIcon = props.undoBtnIcon, confirmBtnLabel = props.confirmBtnLabel, confirmBtnIcon = props.confirmBtnIcon, embedConfirmLabel = props.embedConfirmLabel, embedConfirmIcon = props.embedConfirmIcon, ebmedCancelLabel = props.ebmedCancelLabel, ebmedCancelIcon = props.ebmedCancelIcon;
|
|
233
|
-
return (React__default.createElement("div", { className: cx('Signature-Tool') },
|
|
234
|
-
React__default.createElement("div", { className: "actions" },
|
|
235
|
-
React__default.createElement("div", { className: "left-actions" },
|
|
236
|
-
React__default.createElement(Button, { onClick: clear, tooltip: clearBtnLabel || __('Signature.clear') },
|
|
237
|
-
clearBtnLabel,
|
|
238
|
-
React__default.createElement(Icon, { icon: clearBtnIcon || 'close', className: cx('icon', { 'ml-1': clearBtnLabel }) })),
|
|
239
|
-
React__default.createElement(Button, { onClick: undo, tooltip: undoBtnLabel || __('Signature.undo') },
|
|
240
|
-
undoBtnLabel,
|
|
241
|
-
React__default.createElement(Icon, { icon: undoBtnIcon || 'undo-normal', className: cx('icon', { 'ml-1': undoBtnLabel }) })),
|
|
242
|
-
embedMobile ? null : fullScreen ? (React__default.createElement(Button, { onClick: handleUnFullScreen },
|
|
243
|
-
React__default.createElement(Icon, { icon: "un-fullscreen", className: "icon" }))) : (React__default.createElement(Button, { onClick: handleFullScreen },
|
|
244
|
-
React__default.createElement(Icon, { icon: "full-screen", className: "icon" })))),
|
|
245
|
-
right ? (React__default.createElement("div", { className: "right-actions" }, embed ? (React__default.createElement(React__default.Fragment, null,
|
|
246
|
-
React__default.createElement(Button, { onClick: handleCloseModal },
|
|
247
|
-
ebmedCancelLabel || __('Signature.cancel'),
|
|
248
|
-
React__default.createElement(Icon, { icon: ebmedCancelIcon, className: "icon ml-1" })),
|
|
249
|
-
React__default.createElement(Button, { onClick: handleConfirmModal, level: "primary" },
|
|
250
|
-
embedConfirmLabel || __('Signature.confirm'),
|
|
251
|
-
React__default.createElement(Icon, { icon: embedConfirmIcon, className: "icon ml-1" })))) : (React__default.createElement(Button, { onClick: confirm, level: "primary" },
|
|
252
|
-
confirmBtnLabel || __('Signature.confirm'),
|
|
253
|
-
React__default.createElement(Icon, { icon: confirmBtnIcon, className: "icon ml-1" }))))) : null)));
|
|
254
|
-
}
|
|
255
|
-
function renderEmbedSignature() {
|
|
256
|
-
var embedConfirmLabel = props.embedConfirmLabel, ebmedCancelLabel = props.ebmedCancelLabel, icon = props.embedBtnIcon, embedBtnLabel = props.embedBtnLabel, embedConfirmIcon = props.embedConfirmIcon, ebmedCancelIcon = props.ebmedCancelIcon;
|
|
257
|
-
return (React__default.createElement("div", { className: cx('Signature-Embed') },
|
|
258
|
-
React__default.createElement(Button, { onClick: function () { return setOpen(true); } },
|
|
259
|
-
React__default.createElement(Icon, { className: "icon mr-1", icon: icon || 'fas fa-pen' }),
|
|
260
|
-
embedBtnLabel || data
|
|
261
|
-
? __('Signature.embedUpdateLabel')
|
|
262
|
-
: __('Signature.embedLabel')),
|
|
263
|
-
data ? (React__default.createElement("div", { className: cx('Signature-Embed-Preview') }, uploading ? (React__default.createElement(Spinner, { show: uploading })) : (React__default.createElement(React__default.Fragment, null,
|
|
264
|
-
React__default.createElement("img", { src: data }),
|
|
265
|
-
React__default.createElement(Icon, { className: "preview-close icon", icon: "close", onClick: clear }))))) : uploading ? (React__default.createElement("div", { className: cx('Signature-Embed-Preview') },
|
|
266
|
-
React__default.createElement(Spinner, { show: uploading }))) : null,
|
|
267
|
-
React__default.createElement(FinalModal, { show: open, onHide: handleCloseModal, size: "full" },
|
|
268
|
-
React__default.createElement(FinalModal.Body, null,
|
|
269
|
-
React__default.createElement("div", { className: cx('Signature-Embed-Body', {
|
|
270
|
-
'is-fullScreen': fullScreen
|
|
271
|
-
}) },
|
|
272
|
-
React__default.createElement("canvas", { className: cx('Signature-canvas'), ref: embedCanvasRef }),
|
|
273
|
-
renderTool(fullScreen))),
|
|
274
|
-
fullScreen ? null : (React__default.createElement(FinalModal.Footer, null,
|
|
275
|
-
React__default.createElement(Button, { onClick: handleCloseModal },
|
|
276
|
-
ebmedCancelLabel || __('Signature.cancel'),
|
|
277
|
-
React__default.createElement(Icon, { icon: ebmedCancelIcon, className: "icon ml-1" })),
|
|
278
|
-
React__default.createElement(Button, { onClick: handleConfirmModal, level: "primary" },
|
|
279
|
-
embedConfirmLabel || __('Signature.confirm'),
|
|
280
|
-
React__default.createElement(Icon, { icon: embedConfirmIcon, className: "icon ml-1" })))))));
|
|
281
|
-
}
|
|
282
|
-
return (React__default.createElement("div", { className: cx(className) },
|
|
283
|
-
React__default.createElement("div", { className: cx('Signature', {
|
|
284
|
-
'is-fullScreen': fullScreen
|
|
285
|
-
}), ref: wrapper }, embed ? (renderEmbedSignature()) : (React__default.createElement(React__default.Fragment, null,
|
|
286
|
-
React__default.createElement("canvas", { className: cx('Signature-canvas'), ref: canvasRef }),
|
|
287
|
-
renderTool())))));
|
|
288
|
-
};
|
|
289
|
-
var Signature$1 = themeable(localeable(Signature));
|
|
290
|
-
|
|
291
|
-
export { Signature$1 as default };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Slider 滑动条
|
|
3
|
-
* @author qhy
|
|
4
|
-
* @date 2025/01/21
|
|
5
|
-
*/
|
|
6
|
-
/// <reference types="hoist-non-react-statics" />
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ThemeProps } from 'amis-core';
|
|
9
|
-
interface SliderProps extends ThemeProps {
|
|
10
|
-
body: React.ReactElement;
|
|
11
|
-
left?: React.ReactElement;
|
|
12
|
-
right?: React.ReactElement;
|
|
13
|
-
bodyWidth?: string;
|
|
14
|
-
showLeft?: boolean;
|
|
15
|
-
showRight?: boolean;
|
|
16
|
-
canSwitch?: boolean;
|
|
17
|
-
onLeftShow?: () => void;
|
|
18
|
-
onRightShow?: () => void;
|
|
19
|
-
onLeftHide?: () => void;
|
|
20
|
-
onRightHide?: () => void;
|
|
21
|
-
}
|
|
22
|
-
declare function Slider(props: SliderProps): React.JSX.Element;
|
|
23
|
-
declare const _default: {
|
|
24
|
-
new (props: Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
25
|
-
ref: any;
|
|
26
|
-
childRef(ref: any): void;
|
|
27
|
-
getWrappedInstance(): any;
|
|
28
|
-
render(): React.JSX.Element;
|
|
29
|
-
context: unknown;
|
|
30
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
31
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
32
|
-
readonly props: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
33
|
-
state: Readonly<{}>;
|
|
34
|
-
refs: {
|
|
35
|
-
[key: string]: React.ReactInstance;
|
|
36
|
-
};
|
|
37
|
-
componentDidMount?(): void;
|
|
38
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
39
|
-
componentWillUnmount?(): void;
|
|
40
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
41
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
42
|
-
componentDidUpdate?(prevProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
43
|
-
componentWillMount?(): void;
|
|
44
|
-
UNSAFE_componentWillMount?(): void;
|
|
45
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
46
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
47
|
-
componentWillUpdate?(nextProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
48
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<SliderProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
|
-
};
|
|
50
|
-
displayName: string;
|
|
51
|
-
contextType: React.Context<string>;
|
|
52
|
-
ComposedComponent: React.ComponentType<typeof Slider>;
|
|
53
|
-
} & import("hoist-non-react-statics").NonReactStatics<typeof Slider, {}> & {
|
|
54
|
-
ComposedComponent: typeof Slider;
|
|
55
|
-
};
|
|
56
|
-
export default _default;
|