dtable-ui-component 6.0.25 → 6.0.26-beta1
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/lib/BodyPortal/index.js +29 -0
- package/lib/CheckboxEditor/index.js +20 -116
- package/lib/CheckboxEditor/lg.js +118 -0
- package/lib/CheckboxEditor/sm.js +101 -0
- package/lib/CollaboratorEditor/index.js +19 -9
- package/lib/CollaboratorEditor/{pc-collaborator-editor → lg}/index.js +2 -2
- package/lib/CollaboratorEditor/sm/index.css +41 -0
- package/lib/CollaboratorEditor/sm/index.js +88 -0
- package/lib/DTableCommonAddTool/index.js +1 -3
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +3 -3
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +4 -4
- package/lib/DateEditor/index.js +68 -95
- package/lib/DateEditor/{pc-date-editor-popover.js → large.js} +6 -6
- package/lib/DateEditor/sm/custom-rc-calendar.css +118 -0
- package/lib/DateEditor/sm/index.css +40 -0
- package/lib/DateEditor/{mb-date-editor-popover → sm}/index.js +20 -35
- package/lib/{Department-editor → DepartmentEditor}/constants.js +7 -0
- package/lib/{Department-editor → DepartmentEditor}/department-multiple-select/index.css +4 -1
- package/lib/{Department-editor → DepartmentEditor}/department-multiple-select/index.js +7 -4
- package/lib/DepartmentEditor/index.js +34 -0
- package/lib/{Department-editor → DepartmentEditor/lg}/department-single-select.js +10 -7
- package/lib/{Department-editor → DepartmentEditor/lg}/index.css +12 -3
- package/lib/{Department-editor → DepartmentEditor/lg}/index.js +8 -25
- package/lib/DepartmentEditor/sm/index.css +4 -0
- package/lib/DepartmentEditor/sm/index.js +220 -0
- package/lib/DigitalSignEditor/index.js +24 -171
- package/lib/DigitalSignEditor/lg/index.js +181 -0
- package/lib/DigitalSignEditor/sm/index.css +35 -0
- package/lib/DigitalSignEditor/sm/index.js +139 -0
- package/lib/FileEditor/files-previewer/index.js +16 -267
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/dropdown-menu.js +1 -1
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/file-name-editor/index.js +1 -1
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/index.css +0 -2
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/index.js +2 -2
- package/lib/FileEditor/files-previewer/lg/index.js +276 -0
- package/lib/FileEditor/files-previewer/sm/file-previewer/index.js +122 -0
- package/lib/FileEditor/files-previewer/sm/index.css +39 -0
- package/lib/FileEditor/files-previewer/sm/index.js +59 -0
- package/lib/FileEditor/index.css +0 -5
- package/lib/FileEditor/index.js +26 -265
- package/lib/FileEditor/lg/addition-previewer/index.css +1 -0
- package/lib/FileEditor/{addition-previewer → lg/addition-previewer}/index.js +1 -1
- package/lib/FileEditor/lg/addition-previewer/local-file-addition/index.css +1 -0
- package/lib/FileEditor/{addition-previewer → lg/addition-previewer}/local-file-addition/index.js +4 -4
- package/lib/FileEditor/lg/index.css +5 -0
- package/lib/FileEditor/lg/index.js +274 -0
- package/lib/FileEditor/sm/index.css +10 -0
- package/lib/FileEditor/sm/index.js +131 -0
- package/lib/FileFormatter/index.js +98 -38
- package/lib/FileItemFormatter/index.js +3 -1
- package/lib/FormulaFormatter/index.css +5 -5
- package/lib/GeolocationEditor/index.js +88 -231
- package/lib/GeolocationEditor/{country-editor.js → lg/country-editor.js} +5 -49
- package/lib/GeolocationEditor/{index.css → lg/index.css} +1 -2
- package/lib/GeolocationEditor/lg/index.js +247 -0
- package/lib/GeolocationEditor/{location-editor.js → lg/location-editor.js} +8 -41
- package/lib/GeolocationEditor/{map-editor → lg/map-editor}/index.js +6 -6
- package/lib/GeolocationEditor/{map-editor → lg/map-editor}/large-editor/index.js +7 -7
- package/lib/GeolocationEditor/{map-selection-editor → lg/map-selection-editor}/index.js +7 -7
- package/lib/GeolocationEditor/{map-selection-editor → lg/map-selection-editor}/large-editor/index.js +7 -7
- package/lib/GeolocationEditor/{province-city-editor.js → lg/province-city-editor.js} +7 -38
- package/lib/GeolocationEditor/{province-editor.js → lg/province-editor.js} +7 -31
- package/lib/GeolocationEditor/{selector-header-item.js → lg/selector-header-item.js} +1 -1
- package/lib/GeolocationEditor/map-editor-utils.js +6 -2
- package/lib/GeolocationEditor/sm/country-editor.js +70 -0
- package/lib/GeolocationEditor/sm/index.css +11 -0
- package/lib/GeolocationEditor/sm/index.js +125 -0
- package/lib/GeolocationEditor/sm/location-editor.js +93 -0
- package/lib/GeolocationEditor/sm/map-editor/index.css +11 -0
- package/lib/GeolocationEditor/sm/map-editor/index.js +469 -0
- package/lib/GeolocationEditor/sm/map-selection-editor/index.css +158 -0
- package/lib/GeolocationEditor/sm/map-selection-editor/index.js +525 -0
- package/lib/GeolocationEditor/sm/province-city-editor.js +68 -0
- package/lib/GeolocationEditor/sm/province-editor.js +67 -0
- package/lib/ImageEditor/images-previewer/image-preview/index.js +2 -2
- package/lib/ImageEditor/images-previewer/index.js +3 -3
- package/lib/ImageEditor/index.css +17 -16
- package/lib/ImageEditor/index.js +26 -185
- package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/image-link/index.js +1 -1
- package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/index.js +1 -1
- package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/local-image-addition/index.js +4 -4
- package/lib/ImageEditor/lg/images-previewer/index.js +140 -0
- package/lib/ImageEditor/lg/index.css +24 -0
- package/lib/ImageEditor/lg/index.js +194 -0
- package/lib/ImageEditor/sm/index.css +29 -0
- package/lib/ImageEditor/sm/index.js +131 -0
- package/lib/ImageThumbnail/index.js +2 -1
- package/lib/LinkEditor/pc-link-editor-popover/index.css +1 -1
- package/lib/LinkEditor/pc-link-editor-popover/index.js +1 -1
- package/lib/MobileFullScreenPage/body/index.css +9 -0
- package/lib/MobileFullScreenPage/body/index.js +23 -0
- package/lib/MobileFullScreenPage/header/index.css +35 -0
- package/lib/MobileFullScreenPage/header/index.js +38 -0
- package/lib/MobileFullScreenPage/index.css +13 -0
- package/lib/MobileFullScreenPage/index.js +81 -0
- package/lib/MobileModal/index.js +41 -0
- package/lib/MobileOperationSheet/index.css +27 -0
- package/lib/MobileOperationSheet/index.js +92 -0
- package/lib/MobileSelectorEditor/empty/index.css +3 -0
- package/lib/MobileSelectorEditor/empty/index.js +23 -0
- package/lib/MobileSelectorEditor/index.css +32 -0
- package/lib/MobileSelectorEditor/index.js +57 -0
- package/lib/MobileSelectorEditor/option/index.css +28 -0
- package/lib/MobileSelectorEditor/option/index.js +36 -0
- package/lib/MobileSelectorEditor/options/index.css +8 -0
- package/lib/MobileSelectorEditor/options/index.js +18 -0
- package/lib/MobileSelectorEditor/search/index.css +7 -0
- package/lib/MobileSelectorEditor/search/index.js +26 -0
- package/lib/MobileUpload/index.css +1 -0
- package/lib/MobileUpload/index.js +160 -0
- package/lib/MultipleSelectEditor/index.js +9 -14
- package/lib/RowExpand/index.js +19 -0
- package/lib/{RowExpandDialog → RowExpand/lg}/body/index.js +4 -4
- package/lib/{RowExpandDialog → RowExpand/lg}/column-content/index.js +2 -2
- package/lib/{RowExpandDialog → RowExpand/lg}/header/index.js +3 -3
- package/lib/{RowExpandDialog → RowExpand/lg}/index.js +6 -6
- package/lib/RowExpand/sm/body/index.css +173 -0
- package/lib/RowExpand/sm/body/index.js +111 -0
- package/lib/RowExpand/sm/column-content/index.css +27 -0
- package/lib/RowExpand/sm/column-content/index.js +25 -0
- package/lib/RowExpand/sm/index.css +0 -0
- package/lib/RowExpand/sm/index.js +172 -0
- package/lib/RowExpandEditor/RightAngle/index.css +6 -0
- package/lib/RowExpandEditor/RightAngle/index.js +17 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/index.js +12 -17
- package/lib/RowExpandEditor/RowExpandAddBtn/lg/index.js +26 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/sm/index.css +3 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/sm/index.js +19 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.js +10 -33
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/lg.js +42 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/sm/index.css +6 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/sm/index.js +39 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.js +10 -223
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/{index.css → lg/index.css} +1 -1
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/lg/index.js +231 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/sm/index.css +9 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/sm/index.js +163 -0
- package/lib/RowExpandEditor/RowExpandDateEditor/index.js +10 -121
- package/lib/RowExpandEditor/RowExpandDateEditor/lg.js +130 -0
- package/lib/RowExpandEditor/RowExpandDateEditor/sm.js +84 -0
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/index.js +11 -96
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/lg.js +101 -0
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/sm.js +65 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.js +10 -199
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/{index.css → lg/index.css} +1 -1
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/lg/index.js +208 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/sm/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/sm/index.js +130 -0
- package/lib/RowExpandEditor/RowExpandDurationEditor/index.js +11 -97
- package/lib/RowExpandEditor/RowExpandDurationEditor/lg.js +105 -0
- package/lib/RowExpandEditor/RowExpandDurationEditor/sm.js +71 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.js +10 -116
- package/lib/RowExpandEditor/RowExpandEmailEditor/lg/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/lg/index.js +125 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/sm/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/sm/index.js +84 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/index.js +10 -139
- package/lib/RowExpandEditor/RowExpandFileEditor/lg/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/lg/index.js +148 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/sm/index.js +116 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.js +10 -156
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/lg/index.js +164 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/sm/index.css +0 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/sm/index.js +101 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/index.js +10 -161
- package/lib/RowExpandEditor/RowExpandImageEditor/lg/index.js +170 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/sm/index.css +25 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/sm/index.js +109 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/index.js +11 -115
- package/lib/RowExpandEditor/RowExpandLongTextEditor/lg/index.js +123 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/editor/index.css +10 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/editor/index.js +80 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/index.css +3 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/index.js +91 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.js +10 -238
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/{index.css → lg/index.css} +1 -1
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/lg/index.js +247 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/sm/index.css +0 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/sm/index.js +155 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/index.js +10 -96
- package/lib/RowExpandEditor/RowExpandNumberEditor/lg.js +105 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/sm/index.css +3 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/sm/index.js +76 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.css +21 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.js +10 -142
- package/lib/RowExpandEditor/RowExpandRateEditor/lg.js +151 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/sm.js +92 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.js +11 -198
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/lg/index.js +206 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/sm/index.css +8 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/sm/index.js +134 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/index.js +11 -128
- package/lib/RowExpandEditor/RowExpandTextEditor/lg/index.js +136 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/sm/index.css +14 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/sm/index.js +37 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/index.js +10 -121
- package/lib/RowExpandEditor/RowExpandUrlEditor/lg/index.js +130 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/sm/index.css +17 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/sm/index.js +87 -0
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/index.js +10 -18
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/lg.js +27 -0
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/sm.js +20 -0
- package/lib/RowExpandFormatter/RowExpandEmailFormatter/index.css +4 -4
- package/lib/RowExpandFormatter/RowExpandRateFormatter/index.css +1 -1
- package/lib/RowExpandFormatter/index.css +18 -18
- package/lib/RowExpandFormatter/index.js +1 -1
- package/lib/SelectItem/index.js +57 -33
- package/lib/SingleSelectEditor/index.js +9 -14
- package/lib/SvgIcon/index.js +2 -1
- package/lib/constants/file.js +1 -0
- package/lib/constants/index.js +3 -2
- package/lib/index.js +42 -98
- package/lib/locales/zh-CN.json +1 -1
- package/lib/select-editor/index.js +27 -20
- package/lib/select-editor/{pc-select-editor → lg}/index.css +1 -1
- package/lib/select-editor/{pc-select-editor → lg}/index.js +10 -10
- package/lib/select-editor/sm/index.css +1 -0
- package/lib/select-editor/sm/index.js +105 -0
- package/lib/utils/get-event-transfer.js +2 -1
- package/lib/utils/utils.js +11 -2
- package/package.json +3 -12
- package/lib/ActionSheet/index.js +0 -194
- package/lib/ActionSheet/style/index.css +0 -365
- package/lib/ActivityIndicator/index.css +0 -108
- package/lib/ActivityIndicator/index.js +0 -76
- package/lib/Badge/index.css +0 -96
- package/lib/Badge/index.js +0 -65
- package/lib/CollaboratorEditor/mb-collaborator-editor/index.css +0 -85
- package/lib/CollaboratorEditor/mb-collaborator-editor/index.js +0 -148
- package/lib/DateEditor/mb-date-editor-popover/custom-rc-calendar.css +0 -118
- package/lib/DateEditor/mb-date-editor-popover/index.css +0 -45
- package/lib/DatePicker/index.js +0 -120
- package/lib/DatePicker/locale/en_US.js +0 -14
- package/lib/DatePicker/locale/ru_RU.js +0 -14
- package/lib/DatePicker/locale/sv_SE.js +0 -14
- package/lib/DatePicker/locale/zh_CN.js +0 -14
- package/lib/DatePicker/style/index.css +0 -290
- package/lib/DatePicker/utils.js +0 -36
- package/lib/Drawer/index.css +0 -142
- package/lib/Drawer/index.js +0 -21
- package/lib/FileEditor/addition-previewer/index.css +0 -1
- package/lib/FileEditor/addition-previewer/local-file-addition/index.css +0 -1
- package/lib/Icon/index.css +0 -50
- package/lib/Icon/index.js +0 -34
- package/lib/Icon/load-sprite.js +0 -56
- package/lib/InputItem/custom-input.js +0 -321
- package/lib/InputItem/custom-keyboard.js +0 -162
- package/lib/InputItem/index.js +0 -388
- package/lib/InputItem/input.js +0 -45
- package/lib/InputItem/locale/en_US.js +0 -12
- package/lib/InputItem/locale/ru_RU.js +0 -12
- package/lib/InputItem/locale/sv_SE.js +0 -12
- package/lib/InputItem/locale/zh_CN.js +0 -12
- package/lib/InputItem/portal.js +0 -23
- package/lib/InputItem/style/index.css +0 -512
- package/lib/List/index.css +0 -381
- package/lib/List/index.js +0 -41
- package/lib/List/list-item.js +0 -169
- package/lib/Modal/alert.js +0 -82
- package/lib/Modal/index.js +0 -15
- package/lib/Modal/modal.js +0 -118
- package/lib/Modal/operation.js +0 -77
- package/lib/Modal/prompt.js +0 -207
- package/lib/Picker/AbstractPicker.js +0 -190
- package/lib/Picker/index.js +0 -28
- package/lib/Picker/locale/en_US.js +0 -12
- package/lib/Picker/locale/ru_RU.js +0 -12
- package/lib/Picker/locale/sv_SE.js +0 -12
- package/lib/Picker/locale/zh_CN.js +0 -12
- package/lib/Picker/popupProps.js +0 -12
- package/lib/Picker/style/index.css +0 -141
- package/lib/Popover/index.js +0 -62
- package/lib/Popover/item.js +0 -55
- package/lib/Popover/style/index.css +0 -229
- package/lib/Progress/index.css +0 -22
- package/lib/Progress/index.js +0 -65
- package/lib/Radio/Radio.js +0 -47
- package/lib/Radio/RadioItem.js +0 -57
- package/lib/Radio/index.css +0 -90
- package/lib/Radio/index.js +0 -12
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +0 -2
- package/lib/RowExpandEditor/RowExpandFileEditor/index.css +0 -1
- package/lib/TabBar/Tab.js +0 -76
- package/lib/TabBar/index.css +0 -138
- package/lib/TabBar/index.js +0 -128
- package/lib/Tabs/index.css +0 -443
- package/lib/Tabs/index.js +0 -38
- package/lib/TextareaItem/index.css +0 -231
- package/lib/TextareaItem/index.js +0 -231
- package/lib/Toast/index.css +0 -65
- package/lib/Toast/index.js +0 -131
- package/lib/_util/class.js +0 -34
- package/lib/_util/closest.js +0 -17
- package/lib/_util/exenv.js +0 -8
- package/lib/_util/getDataAttr.js +0 -15
- package/lib/_util/getLocale.js +0 -42
- package/lib/select-editor/mb-select-editor/index.css +0 -127
- package/lib/select-editor/mb-select-editor/index.js +0 -197
- package/lib/select-editor/select-editor-option.js +0 -84
- /package/lib/CollaboratorEditor/{pc-collaborator-editor → lg}/index.css +0 -0
- /package/lib/{Department-editor → DepartmentEditor}/selected-departments/index.css +0 -0
- /package/lib/{Department-editor → DepartmentEditor}/selected-departments/index.js +0 -0
- /package/lib/{Department-editor → DepartmentEditor}/utils.js +0 -0
- /package/lib/DigitalSignEditor/{index.css → lg/index.css} +0 -0
- /package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/file-name-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{map-editor → lg/map-editor}/large-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{map-selection-editor → lg/map-selection-editor}/large-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{parse-geolocation.js → lg/parse-geolocation.js} +0 -0
- /package/lib/GeolocationEditor/{selector-list.js → lg/selector-list.js} +0 -0
- /package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/image-link/index.css +0 -0
- /package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/index.css +0 -0
- /package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/local-image-addition/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/body/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/column-content/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/header/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/index.css +0 -0
- /package/lib/RowExpandEditor/RowExpandAddBtn/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandGeolocationEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandImageEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandLongTextEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandTextEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandUrlEditor/{index.css → lg/index.css} +0 -0
package/lib/Radio/index.css
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
.am-radio {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: inline-block;
|
|
4
|
-
vertical-align: middle;
|
|
5
|
-
width: 15px;
|
|
6
|
-
height: 15px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.am-radio-inner {
|
|
10
|
-
position: absolute;
|
|
11
|
-
right: 0;
|
|
12
|
-
width: 15px;
|
|
13
|
-
height: 15px;
|
|
14
|
-
-webkit-box-sizing: border-box;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
-webkit-transform: rotate(0deg);
|
|
17
|
-
-ms-transform: rotate(0deg);
|
|
18
|
-
transform: rotate(0deg);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.am-radio-inner:after {
|
|
22
|
-
position: absolute;
|
|
23
|
-
display: none;
|
|
24
|
-
top: -2.5px;
|
|
25
|
-
right: 5px;
|
|
26
|
-
z-index: 999;
|
|
27
|
-
width: 7px;
|
|
28
|
-
height: 14px;
|
|
29
|
-
border-style: solid;
|
|
30
|
-
border-width: 0 1.5px 1.5px 0;
|
|
31
|
-
content: '\0020';
|
|
32
|
-
-webkit-transform: rotate(45deg);
|
|
33
|
-
-ms-transform: rotate(45deg);
|
|
34
|
-
transform: rotate(45deg);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.am-radio-input {
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 0;
|
|
40
|
-
left: 0;
|
|
41
|
-
opacity: 0;
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
z-index: 2;
|
|
45
|
-
border: 0 none;
|
|
46
|
-
-webkit-appearance: none;
|
|
47
|
-
-moz-appearance: none;
|
|
48
|
-
appearance: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.am-radio.am-radio-checked .am-radio-inner {
|
|
52
|
-
border-width: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.am-radio.am-radio-checked .am-radio-inner:after {
|
|
56
|
-
display: block;
|
|
57
|
-
border-color: #108ee9;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after {
|
|
61
|
-
display: block;
|
|
62
|
-
border-color: #bbb;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra {
|
|
66
|
-
-webkit-box-flex: 0;
|
|
67
|
-
-webkit-flex: 0;
|
|
68
|
-
-ms-flex: 0;
|
|
69
|
-
flex: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio {
|
|
73
|
-
position: absolute;
|
|
74
|
-
top: 0;
|
|
75
|
-
left: 0;
|
|
76
|
-
right: 0;
|
|
77
|
-
bottom: 0;
|
|
78
|
-
width: 100%;
|
|
79
|
-
height: 44px;
|
|
80
|
-
overflow: visible;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner {
|
|
84
|
-
right: 15px;
|
|
85
|
-
top: 15px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content {
|
|
89
|
-
color: #bbb;
|
|
90
|
-
}
|
package/lib/Radio/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _Radio = _interopRequireDefault(require("./Radio"));
|
|
9
|
-
var _RadioItem = _interopRequireDefault(require("./RadioItem"));
|
|
10
|
-
require("./index.css");
|
|
11
|
-
_Radio.default.RadioItem = _RadioItem.default;
|
|
12
|
-
var _default = exports.default = _Radio.default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import url('../RowExpandImageEditor/index.css');
|
package/lib/TabBar/Tab.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _Badge = _interopRequireDefault(require("../Badge"));
|
|
11
|
-
class Tab extends React.PureComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.renderIcon = () => {
|
|
15
|
-
const {
|
|
16
|
-
dot,
|
|
17
|
-
badge,
|
|
18
|
-
selected,
|
|
19
|
-
selectedIcon,
|
|
20
|
-
icon,
|
|
21
|
-
title,
|
|
22
|
-
prefixCls
|
|
23
|
-
} = this.props;
|
|
24
|
-
const iconRes = selected ? selectedIcon : icon;
|
|
25
|
-
const iconDom = /*#__PURE__*/React.isValidElement(iconRes) ? iconRes : /*#__PURE__*/React.createElement("img", {
|
|
26
|
-
className: "".concat(prefixCls, "-image"),
|
|
27
|
-
src: iconRes ? iconRes.uri : iconRes,
|
|
28
|
-
alt: title
|
|
29
|
-
});
|
|
30
|
-
if (badge) {
|
|
31
|
-
return /*#__PURE__*/React.createElement(_Badge.default, {
|
|
32
|
-
text: badge,
|
|
33
|
-
className: "".concat(prefixCls, "-badge tab-badge")
|
|
34
|
-
}, ' ', iconDom, ' ');
|
|
35
|
-
}
|
|
36
|
-
if (dot) {
|
|
37
|
-
return /*#__PURE__*/React.createElement(_Badge.default, {
|
|
38
|
-
dot: true,
|
|
39
|
-
className: "".concat(prefixCls, "-badge tab-dot")
|
|
40
|
-
}, iconDom);
|
|
41
|
-
}
|
|
42
|
-
return iconDom;
|
|
43
|
-
};
|
|
44
|
-
this.onClick = () => {
|
|
45
|
-
const onClick = this.props.onClick;
|
|
46
|
-
if (onClick) {
|
|
47
|
-
onClick();
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
const {
|
|
53
|
-
title,
|
|
54
|
-
prefixCls,
|
|
55
|
-
selected,
|
|
56
|
-
unselectedTintColor,
|
|
57
|
-
tintColor
|
|
58
|
-
} = this.props;
|
|
59
|
-
const iconColor = selected ? tintColor : unselectedTintColor;
|
|
60
|
-
return /*#__PURE__*/React.createElement("div", Object.assign({}, this.props.dataAttrs, {
|
|
61
|
-
onClick: this.onClick,
|
|
62
|
-
className: "".concat(prefixCls)
|
|
63
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
64
|
-
className: "".concat(prefixCls, "-icon"),
|
|
65
|
-
style: {
|
|
66
|
-
color: iconColor
|
|
67
|
-
}
|
|
68
|
-
}, this.renderIcon()), /*#__PURE__*/React.createElement("p", {
|
|
69
|
-
className: "".concat(prefixCls, "-title"),
|
|
70
|
-
style: {
|
|
71
|
-
color: selected ? tintColor : unselectedTintColor
|
|
72
|
-
}
|
|
73
|
-
}, title));
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
var _default = exports.default = Tab;
|
package/lib/TabBar/index.css
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
.am-tab-bar {
|
|
2
|
-
height: 100%;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.am-tab-bar-bar {
|
|
7
|
-
position: relative;
|
|
8
|
-
-webkit-box-sizing: border-box;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
height: 50px;
|
|
11
|
-
border-top: 1PX solid #ddd;
|
|
12
|
-
width: 100%;
|
|
13
|
-
display: -webkit-box;
|
|
14
|
-
display: -webkit-flex;
|
|
15
|
-
display: -ms-flexbox;
|
|
16
|
-
display: flex;
|
|
17
|
-
-webkit-transition-duration: .2s;
|
|
18
|
-
transition-duration: .2s;
|
|
19
|
-
-webkit-transition-property: height bottom;
|
|
20
|
-
transition-property: height bottom;
|
|
21
|
-
z-index: 100;
|
|
22
|
-
-webkit-justify-content: space-around;
|
|
23
|
-
-ms-flex-pack: distribute;
|
|
24
|
-
justify-content: space-around;
|
|
25
|
-
-webkit-box-align: center;
|
|
26
|
-
-webkit-align-items: center;
|
|
27
|
-
-ms-flex-align: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
33
|
-
html:not([data-scale]) .am-tab-bar-bar {
|
|
34
|
-
border-top: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
html:not([data-scale]) .am-tab-bar-bar::before {
|
|
38
|
-
content: '';
|
|
39
|
-
position: absolute;
|
|
40
|
-
background-color: #ddd;
|
|
41
|
-
display: block;
|
|
42
|
-
z-index: 1;
|
|
43
|
-
top: 0;
|
|
44
|
-
right: auto;
|
|
45
|
-
bottom: auto;
|
|
46
|
-
left: 0;
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 1PX;
|
|
49
|
-
-webkit-transform-origin: 50% 50%;
|
|
50
|
-
-ms-transform-origin: 50% 50%;
|
|
51
|
-
transform-origin: 50% 50%;
|
|
52
|
-
-webkit-transform: scaleY(0.5);
|
|
53
|
-
-ms-transform: scaleY(0.5);
|
|
54
|
-
transform: scaleY(0.5);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
59
|
-
html:not([data-scale]) .am-tab-bar-bar::before {
|
|
60
|
-
-webkit-transform: scaleY(0.33);
|
|
61
|
-
-ms-transform: scaleY(0.33);
|
|
62
|
-
transform: scaleY(0.33);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.am-tab-bar-bar-hidden-top {
|
|
67
|
-
bottom: 50px;
|
|
68
|
-
height: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.am-tab-bar-bar-hidden-bottom {
|
|
72
|
-
bottom: -50px;
|
|
73
|
-
height: 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.am-tab-bar-bar .am-tab-bar-tab {
|
|
77
|
-
-webkit-box-flex: 1;
|
|
78
|
-
-webkit-flex: 1;
|
|
79
|
-
-ms-flex: 1;
|
|
80
|
-
flex: 1;
|
|
81
|
-
display: -webkit-box;
|
|
82
|
-
display: -webkit-flex;
|
|
83
|
-
display: -ms-flexbox;
|
|
84
|
-
display: flex;
|
|
85
|
-
-webkit-box-pack: center;
|
|
86
|
-
-webkit-justify-content: center;
|
|
87
|
-
-ms-flex-pack: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
-webkit-box-align: center;
|
|
90
|
-
-webkit-align-items: center;
|
|
91
|
-
-ms-flex-align: center;
|
|
92
|
-
align-items: center;
|
|
93
|
-
-webkit-box-orient: vertical;
|
|
94
|
-
-webkit-box-direction: normal;
|
|
95
|
-
-webkit-flex-direction: column;
|
|
96
|
-
-ms-flex-direction: column;
|
|
97
|
-
flex-direction: column;
|
|
98
|
-
text-align: center;
|
|
99
|
-
width: 100%;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.am-tab-bar-bar .am-tab-bar-tab-image {
|
|
103
|
-
width: 22px;
|
|
104
|
-
height: 22px;
|
|
105
|
-
vertical-align: middle;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.am-tab-bar-bar .am-tab-bar-tab-title {
|
|
109
|
-
font-size: 10px;
|
|
110
|
-
margin: 3px 0 0 0;
|
|
111
|
-
line-height: 1;
|
|
112
|
-
text-align: center;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.am-tab-bar-bar .am-tab-bar-tab-icon {
|
|
116
|
-
display: -webkit-box;
|
|
117
|
-
display: -webkit-flex;
|
|
118
|
-
display: -ms-flexbox;
|
|
119
|
-
display: flex;
|
|
120
|
-
-webkit-box-pack: center;
|
|
121
|
-
-webkit-justify-content: center;
|
|
122
|
-
-ms-flex-pack: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.am-tab-bar-bar .am-tab-bar-tab-icon .tab-badge :last-child {
|
|
127
|
-
margin-top: 4px;
|
|
128
|
-
left: 22px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.am-tab-bar-bar .am-tab-bar-tab-icon .tab-dot :last-child {
|
|
132
|
-
margin-top: 4px;
|
|
133
|
-
left: 22px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.am-tab-bar-item {
|
|
137
|
-
height: 100%;
|
|
138
|
-
}
|
package/lib/TabBar/index.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = exports.Item = void 0;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _getDataAttr = _interopRequireDefault(require("../_util/getDataAttr"));
|
|
11
|
-
var _Tabs = _interopRequireDefault(require("../Tabs"));
|
|
12
|
-
var _Tab = _interopRequireDefault(require("./Tab"));
|
|
13
|
-
class Item extends React.Component {
|
|
14
|
-
render() {
|
|
15
|
-
const {
|
|
16
|
-
prefixCls,
|
|
17
|
-
style
|
|
18
|
-
} = this.props;
|
|
19
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: prefixCls,
|
|
21
|
-
style: style
|
|
22
|
-
}, this.props.children);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.Item = Item;
|
|
26
|
-
Item.defaultProps = {
|
|
27
|
-
prefixCls: 'am-tab-bar-item',
|
|
28
|
-
title: ''
|
|
29
|
-
};
|
|
30
|
-
class AntTabBar extends React.Component {
|
|
31
|
-
constructor() {
|
|
32
|
-
super(...arguments);
|
|
33
|
-
this.getTabs = () => {
|
|
34
|
-
const tabs = [];
|
|
35
|
-
React.Children.forEach(this.props.children, c => {
|
|
36
|
-
if (c) {
|
|
37
|
-
tabs.push({
|
|
38
|
-
...c.props
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
return tabs;
|
|
43
|
-
};
|
|
44
|
-
this.renderTabBar = () => {
|
|
45
|
-
const {
|
|
46
|
-
barTintColor,
|
|
47
|
-
prefixCls,
|
|
48
|
-
tintColor,
|
|
49
|
-
unselectedTintColor,
|
|
50
|
-
hidden,
|
|
51
|
-
tabBarPosition
|
|
52
|
-
} = this.props;
|
|
53
|
-
const tabsData = this.getTabs();
|
|
54
|
-
const content = Array.isArray(tabsData) ? tabsData.map((cProps, index) => {
|
|
55
|
-
return /*#__PURE__*/React.createElement(_Tab.default, {
|
|
56
|
-
key: index,
|
|
57
|
-
prefixCls: "".concat(this.props.prefixCls, "-tab"),
|
|
58
|
-
badge: cProps.badge,
|
|
59
|
-
dot: cProps.dot,
|
|
60
|
-
selected: cProps.selected,
|
|
61
|
-
icon: cProps.icon,
|
|
62
|
-
selectedIcon: cProps.selectedIcon,
|
|
63
|
-
title: cProps.title,
|
|
64
|
-
tintColor: tintColor,
|
|
65
|
-
unselectedTintColor: unselectedTintColor,
|
|
66
|
-
dataAttrs: (0, _getDataAttr.default)(cProps),
|
|
67
|
-
onClick: () => cProps.onPress && cProps.onPress()
|
|
68
|
-
});
|
|
69
|
-
}) : null;
|
|
70
|
-
let cls = "".concat(prefixCls, "-bar");
|
|
71
|
-
if (hidden) {
|
|
72
|
-
cls += " ".concat(prefixCls, "-bar-hidden-").concat(tabBarPosition);
|
|
73
|
-
}
|
|
74
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
75
|
-
className: cls,
|
|
76
|
-
style: {
|
|
77
|
-
backgroundColor: barTintColor
|
|
78
|
-
}
|
|
79
|
-
}, content);
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
const {
|
|
84
|
-
prefixCls,
|
|
85
|
-
children,
|
|
86
|
-
animated,
|
|
87
|
-
swipeable,
|
|
88
|
-
noRenderContent,
|
|
89
|
-
prerenderingSiblingsNumber,
|
|
90
|
-
tabBarPosition
|
|
91
|
-
} = this.props;
|
|
92
|
-
const tabs = this.getTabs();
|
|
93
|
-
let activeIndex = 0;
|
|
94
|
-
if (Array.isArray(tabs)) {
|
|
95
|
-
tabs.forEach((tab, index) => {
|
|
96
|
-
if (tab.selected) {
|
|
97
|
-
activeIndex = index;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
102
|
-
className: prefixCls
|
|
103
|
-
}, /*#__PURE__*/React.createElement(_Tabs.default, {
|
|
104
|
-
tabs: tabs,
|
|
105
|
-
renderTabBar: this.renderTabBar,
|
|
106
|
-
tabBarPosition: tabBarPosition,
|
|
107
|
-
page: activeIndex < 0 ? undefined : activeIndex,
|
|
108
|
-
animated: animated,
|
|
109
|
-
swipeable: swipeable,
|
|
110
|
-
noRenderContent: noRenderContent,
|
|
111
|
-
prerenderingSiblingsNumber: prerenderingSiblingsNumber
|
|
112
|
-
}, children));
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
AntTabBar.defaultProps = {
|
|
116
|
-
prefixCls: 'am-tab-bar',
|
|
117
|
-
barTintColor: 'white',
|
|
118
|
-
tintColor: '#108ee9',
|
|
119
|
-
hidden: false,
|
|
120
|
-
unselectedTintColor: '#888',
|
|
121
|
-
placeholder: '正在加载',
|
|
122
|
-
animated: false,
|
|
123
|
-
swipeable: false,
|
|
124
|
-
prerenderingSiblingsNumber: 1,
|
|
125
|
-
tabBarPosition: 'bottom'
|
|
126
|
-
};
|
|
127
|
-
AntTabBar.Item = Item;
|
|
128
|
-
var _default = exports.default = AntTabBar;
|