dtable-ui-component 6.0.25 → 6.0.26-beta
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 +17 -118
- package/lib/CheckboxEditor/lg.js +118 -0
- package/lib/CheckboxEditor/sm.js +101 -0
- package/lib/CollaboratorEditor/index.js +11 -4
- 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 +87 -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 +31 -30
- 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 +18 -33
- 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 +25 -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 +17 -173
- 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 +16 -264
- 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 +76 -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 +16 -184
- 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 +3 -10
- 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 +3 -10
- 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 +19 -21
- 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 +104 -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
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
.am-picker-popup {
|
|
2
|
-
left: 0;
|
|
3
|
-
bottom: 0;
|
|
4
|
-
position: fixed;
|
|
5
|
-
width: 100%;
|
|
6
|
-
background-color: #fff;
|
|
7
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.am-picker-popup-wrap {
|
|
11
|
-
position: fixed;
|
|
12
|
-
overflow: auto;
|
|
13
|
-
top: 0;
|
|
14
|
-
right: 0;
|
|
15
|
-
bottom: 0;
|
|
16
|
-
left: 0;
|
|
17
|
-
z-index: 1000;
|
|
18
|
-
-webkit-overflow-scrolling: touch;
|
|
19
|
-
outline: 0;
|
|
20
|
-
-webkit-transform: translateZ(1px);
|
|
21
|
-
transform: translateZ(1px);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.am-picker-popup-mask {
|
|
25
|
-
position: fixed;
|
|
26
|
-
top: 0;
|
|
27
|
-
right: 0;
|
|
28
|
-
left: 0;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
31
|
-
height: 100%;
|
|
32
|
-
z-index: 1000;
|
|
33
|
-
-webkit-transform: translateZ(1px);
|
|
34
|
-
transform: translateZ(1px);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.am-picker-popup-mask-hidden {
|
|
38
|
-
display: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.am-picker-popup-header {
|
|
42
|
-
background-image: -webkit-linear-gradient(top, #e7e7e7, #e7e7e7, transparent, transparent);
|
|
43
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(#e7e7e7), color-stop(#e7e7e7), color-stop(transparent), to(transparent));
|
|
44
|
-
background-image: linear-gradient(to bottom, #e7e7e7, #e7e7e7, transparent, transparent);
|
|
45
|
-
background-position: bottom;
|
|
46
|
-
background-size: 100% 1PX;
|
|
47
|
-
background-repeat: no-repeat;
|
|
48
|
-
display: -webkit-box;
|
|
49
|
-
display: -webkit-flex;
|
|
50
|
-
display: -ms-flexbox;
|
|
51
|
-
display: flex;
|
|
52
|
-
-webkit-box-align: center;
|
|
53
|
-
-webkit-align-items: center;
|
|
54
|
-
-ms-flex-align: center;
|
|
55
|
-
align-items: center;
|
|
56
|
-
position: relative;
|
|
57
|
-
border-bottom: 1PX solid #ddd;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
61
|
-
html:not([data-scale]) .am-picker-popup-header {
|
|
62
|
-
border-bottom: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
html:not([data-scale]) .am-picker-popup-header::after {
|
|
66
|
-
content: '';
|
|
67
|
-
position: absolute;
|
|
68
|
-
background-color: #ddd;
|
|
69
|
-
display: block;
|
|
70
|
-
z-index: 1;
|
|
71
|
-
top: auto;
|
|
72
|
-
right: auto;
|
|
73
|
-
bottom: 0;
|
|
74
|
-
left: 0;
|
|
75
|
-
width: 100%;
|
|
76
|
-
height: 1PX;
|
|
77
|
-
-webkit-transform-origin: 50% 100%;
|
|
78
|
-
-ms-transform-origin: 50% 100%;
|
|
79
|
-
transform-origin: 50% 100%;
|
|
80
|
-
-webkit-transform: scaleY(0.5);
|
|
81
|
-
-ms-transform: scaleY(0.5);
|
|
82
|
-
transform: scaleY(0.5);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
87
|
-
html:not([data-scale]) .am-picker-popup-header::after {
|
|
88
|
-
-webkit-transform: scaleY(0.33);
|
|
89
|
-
-ms-transform: scaleY(0.33);
|
|
90
|
-
transform: scaleY(0.33);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.am-picker-popup-header .am-picker-popup-header-right {
|
|
95
|
-
text-align: right;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.am-picker-popup-item {
|
|
99
|
-
color: #108ee9;
|
|
100
|
-
font-size: 17px;
|
|
101
|
-
padding: 9px 15px;
|
|
102
|
-
height: 42px;
|
|
103
|
-
-webkit-box-sizing: border-box;
|
|
104
|
-
box-sizing: border-box;
|
|
105
|
-
display: -webkit-box;
|
|
106
|
-
display: -webkit-flex;
|
|
107
|
-
display: -ms-flexbox;
|
|
108
|
-
display: flex;
|
|
109
|
-
-webkit-box-align: center;
|
|
110
|
-
-webkit-align-items: center;
|
|
111
|
-
-ms-flex-align: center;
|
|
112
|
-
align-items: center;
|
|
113
|
-
-webkit-box-pack: center;
|
|
114
|
-
-webkit-justify-content: center;
|
|
115
|
-
-ms-flex-pack: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.am-picker-popup-item-active {
|
|
120
|
-
background-color: #ddd;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.am-picker-popup-title {
|
|
124
|
-
-webkit-box-flex: 1;
|
|
125
|
-
-webkit-flex: 1;
|
|
126
|
-
-ms-flex: 1;
|
|
127
|
-
flex: 1;
|
|
128
|
-
text-align: center;
|
|
129
|
-
color: #000;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.am-picker-popup .am-picker-popup-close {
|
|
133
|
-
display: none;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.am-picker-col {
|
|
137
|
-
-webkit-box-flex: 1;
|
|
138
|
-
-webkit-flex: 1;
|
|
139
|
-
-ms-flex: 1;
|
|
140
|
-
flex: 1;
|
|
141
|
-
}
|
package/lib/Popover/index.js
DELETED
|
@@ -1,62 +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 _rmcTooltip = _interopRequireDefault(require("rmc-tooltip"));
|
|
11
|
-
var _item = _interopRequireDefault(require("./item"));
|
|
12
|
-
function recursiveCloneChildren(children) {
|
|
13
|
-
let cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (ch, _) => ch;
|
|
14
|
-
return React.Children.map(children, (child, index) => {
|
|
15
|
-
const newChild = cb(child, index);
|
|
16
|
-
if (typeof newChild !== 'string' && typeof newChild !== 'number' && newChild && newChild.props && newChild.props.children) {
|
|
17
|
-
return /*#__PURE__*/React.cloneElement(newChild, {}, recursiveCloneChildren(newChild.props.children, cb));
|
|
18
|
-
}
|
|
19
|
-
return newChild;
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
class Popover extends React.Component {
|
|
23
|
-
render() {
|
|
24
|
-
const {
|
|
25
|
-
overlay,
|
|
26
|
-
onSelect = () => {},
|
|
27
|
-
...restProps
|
|
28
|
-
} = this.props;
|
|
29
|
-
const overlayNode = recursiveCloneChildren(overlay, (child, index) => {
|
|
30
|
-
const extraProps = {
|
|
31
|
-
firstItem: false
|
|
32
|
-
};
|
|
33
|
-
if (child && typeof child !== 'string' && typeof child !== 'number' && child.type &&
|
|
34
|
-
// Fixme: not sure where the `myName` came from.
|
|
35
|
-
child.type.myName === 'PopoverItem' && !child.props.disabled) {
|
|
36
|
-
extraProps.onClick = () => onSelect(child, index);
|
|
37
|
-
extraProps.firstItem = index === 0;
|
|
38
|
-
return /*#__PURE__*/React.cloneElement(child, extraProps);
|
|
39
|
-
}
|
|
40
|
-
return child;
|
|
41
|
-
});
|
|
42
|
-
const wrapperNode = /*#__PURE__*/React.createElement("div", {
|
|
43
|
-
className: "".concat(this.props.prefixCls, "-inner-wrapper")
|
|
44
|
-
}, overlayNode);
|
|
45
|
-
return /*#__PURE__*/React.createElement(_rmcTooltip.default, Object.assign({}, restProps, {
|
|
46
|
-
overlay: wrapperNode
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.default = Popover;
|
|
51
|
-
Popover.defaultProps = {
|
|
52
|
-
prefixCls: 'am-popover',
|
|
53
|
-
placement: 'bottomRight',
|
|
54
|
-
align: {
|
|
55
|
-
overflow: {
|
|
56
|
-
adjustY: 0,
|
|
57
|
-
adjustX: 0
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
trigger: ['click']
|
|
61
|
-
};
|
|
62
|
-
Popover.Item = _item.default;
|
package/lib/Popover/item.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var _rmcFeedback = _interopRequireDefault(require("rmc-feedback"));
|
|
12
|
-
class Item extends React.Component {
|
|
13
|
-
render() {
|
|
14
|
-
const {
|
|
15
|
-
children,
|
|
16
|
-
className,
|
|
17
|
-
prefixCls,
|
|
18
|
-
icon,
|
|
19
|
-
disabled,
|
|
20
|
-
firstItem,
|
|
21
|
-
activeStyle,
|
|
22
|
-
...restProps
|
|
23
|
-
} = this.props;
|
|
24
|
-
const cls = (0, _classnames.default)("".concat(prefixCls, "-item"), className, {
|
|
25
|
-
["".concat(prefixCls, "-item-disabled")]: disabled
|
|
26
|
-
});
|
|
27
|
-
let activeClass = "".concat(prefixCls, "-item-active ");
|
|
28
|
-
if (firstItem) {
|
|
29
|
-
activeClass += "".concat(prefixCls, "-item-fix-active-arrow");
|
|
30
|
-
}
|
|
31
|
-
return /*#__PURE__*/React.createElement(_rmcFeedback.default, {
|
|
32
|
-
disabled: disabled,
|
|
33
|
-
activeClassName: activeClass,
|
|
34
|
-
activeStyle: activeStyle
|
|
35
|
-
}, /*#__PURE__*/React.createElement("div", Object.assign({
|
|
36
|
-
className: cls
|
|
37
|
-
}, restProps), /*#__PURE__*/React.createElement("div", {
|
|
38
|
-
className: "".concat(prefixCls, "-item-container")
|
|
39
|
-
}, icon ?
|
|
40
|
-
/*#__PURE__*/
|
|
41
|
-
// tslint:disable-next-line:jsx-no-multiline-js
|
|
42
|
-
React.createElement("span", {
|
|
43
|
-
className: "".concat(prefixCls, "-item-icon"),
|
|
44
|
-
"aria-hidden": "true"
|
|
45
|
-
}, icon) : null, /*#__PURE__*/React.createElement("span", {
|
|
46
|
-
className: "".concat(prefixCls, "-item-content")
|
|
47
|
-
}, children))));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.default = Item;
|
|
51
|
-
Item.defaultProps = {
|
|
52
|
-
prefixCls: 'am-popover',
|
|
53
|
-
disabled: false
|
|
54
|
-
};
|
|
55
|
-
Item.myName = 'PopoverItem';
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
.am-popover {
|
|
2
|
-
position: absolute;
|
|
3
|
-
z-index: 1999;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.am-popover-hidden {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.am-popover-mask {
|
|
11
|
-
position: fixed;
|
|
12
|
-
top: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
left: 0;
|
|
15
|
-
bottom: 0;
|
|
16
|
-
background-color: rgba(0, 0, 0, 0.4);
|
|
17
|
-
height: 100%;
|
|
18
|
-
z-index: 999;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.am-popover-mask-hidden {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.am-popover-arrow {
|
|
26
|
-
position: absolute;
|
|
27
|
-
width: 7px;
|
|
28
|
-
height: 7px;
|
|
29
|
-
border-radius: 1PX;
|
|
30
|
-
background-color: #fff;
|
|
31
|
-
-webkit-transform: rotate(45deg);
|
|
32
|
-
-ms-transform: rotate(45deg);
|
|
33
|
-
transform: rotate(45deg);
|
|
34
|
-
z-index: 0;
|
|
35
|
-
-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.21);
|
|
36
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, 0.21);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.am-popover-placement-top .am-popover-arrow,
|
|
40
|
-
.am-popover-placement-topLeft .am-popover-arrow,
|
|
41
|
-
.am-popover-placement-topRight .am-popover-arrow {
|
|
42
|
-
-webkit-transform: rotate(225deg);
|
|
43
|
-
-ms-transform: rotate(225deg);
|
|
44
|
-
transform: rotate(225deg);
|
|
45
|
-
bottom: -3.5px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.am-popover-placement-top .am-popover-arrow {
|
|
49
|
-
left: 50%;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.am-popover-placement-topLeft .am-popover-arrow {
|
|
53
|
-
left: 8px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.am-popover-placement-topRight .am-popover-arrow {
|
|
57
|
-
right: 8px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.am-popover-placement-right .am-popover-arrow,
|
|
61
|
-
.am-popover-placement-rightTop .am-popover-arrow,
|
|
62
|
-
.am-popover-placement-rightBottom .am-popover-arrow {
|
|
63
|
-
-webkit-transform: rotate(-45deg);
|
|
64
|
-
-ms-transform: rotate(-45deg);
|
|
65
|
-
transform: rotate(-45deg);
|
|
66
|
-
left: -3.5px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.am-popover-placement-right .am-popover-arrow {
|
|
70
|
-
top: 50%;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.am-popover-placement-rightTop .am-popover-arrow {
|
|
74
|
-
top: 8px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.am-popover-placement-rightBottom .am-popover-arrow {
|
|
78
|
-
bottom: 8px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.am-popover-placement-left .am-popover-arrow,
|
|
82
|
-
.am-popover-placement-leftTop .am-popover-arrow,
|
|
83
|
-
.am-popover-placement-leftBottom .am-popover-arrow {
|
|
84
|
-
-webkit-transform: rotate(135deg);
|
|
85
|
-
-ms-transform: rotate(135deg);
|
|
86
|
-
transform: rotate(135deg);
|
|
87
|
-
right: -3.5px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.am-popover-placement-left .am-popover-arrow {
|
|
91
|
-
top: 50%;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.am-popover-placement-leftTop .am-popover-arrow {
|
|
95
|
-
top: 8px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.am-popover-placement-leftBottom .am-popover-arrow {
|
|
99
|
-
bottom: 8px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.am-popover-placement-bottom .am-popover-arrow,
|
|
103
|
-
.am-popover-placement-bottomLeft .am-popover-arrow,
|
|
104
|
-
.am-popover-placement-bottomRight .am-popover-arrow {
|
|
105
|
-
top: -3.5px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.am-popover-placement-bottom .am-popover-arrow {
|
|
109
|
-
left: 50%;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.am-popover-placement-bottomLeft .am-popover-arrow {
|
|
113
|
-
left: 8px;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.am-popover-placement-bottomRight .am-popover-arrow {
|
|
117
|
-
right: 8px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.am-popover-inner {
|
|
121
|
-
font-size: 15px;
|
|
122
|
-
color: #000;
|
|
123
|
-
background-color: #fff;
|
|
124
|
-
border-radius: 3px;
|
|
125
|
-
-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.21);
|
|
126
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, 0.21);
|
|
127
|
-
overflow: hidden;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.am-popover-inner-wrapper {
|
|
131
|
-
position: relative;
|
|
132
|
-
background-color: #fff;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.am-popover .am-popover-item {
|
|
136
|
-
padding: 0 8px;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.am-popover .am-popover-item-container {
|
|
140
|
-
position: relative;
|
|
141
|
-
display: -webkit-box;
|
|
142
|
-
display: -webkit-flex;
|
|
143
|
-
display: -ms-flexbox;
|
|
144
|
-
display: flex;
|
|
145
|
-
-webkit-box-align: center;
|
|
146
|
-
-webkit-align-items: center;
|
|
147
|
-
-ms-flex-align: center;
|
|
148
|
-
align-items: center;
|
|
149
|
-
height: 39px;
|
|
150
|
-
-webkit-box-sizing: border-box;
|
|
151
|
-
box-sizing: border-box;
|
|
152
|
-
padding: 0 8px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.am-popover .am-popover-item:not(:first-child) .am-popover-item-container {
|
|
156
|
-
border-top: 1PX solid #ddd;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
|
160
|
-
html:not([data-scale]) .am-popover .am-popover-item:not(:first-child) .am-popover-item-container {
|
|
161
|
-
border-top: none;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
html:not([data-scale]) .am-popover .am-popover-item:not(:first-child) .am-popover-item-container::before {
|
|
165
|
-
content: '';
|
|
166
|
-
position: absolute;
|
|
167
|
-
background-color: #ddd;
|
|
168
|
-
display: block;
|
|
169
|
-
z-index: 1;
|
|
170
|
-
top: 0;
|
|
171
|
-
right: auto;
|
|
172
|
-
bottom: auto;
|
|
173
|
-
left: 0;
|
|
174
|
-
width: 100%;
|
|
175
|
-
height: 1PX;
|
|
176
|
-
-webkit-transform-origin: 50% 50%;
|
|
177
|
-
-ms-transform-origin: 50% 50%;
|
|
178
|
-
transform-origin: 50% 50%;
|
|
179
|
-
-webkit-transform: scaleY(0.5);
|
|
180
|
-
-ms-transform: scaleY(0.5);
|
|
181
|
-
transform: scaleY(0.5);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
186
|
-
html:not([data-scale]) .am-popover .am-popover-item:not(:first-child) .am-popover-item-container::before {
|
|
187
|
-
-webkit-transform: scaleY(0.33);
|
|
188
|
-
-ms-transform: scaleY(0.33);
|
|
189
|
-
transform: scaleY(0.33);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.am-popover .am-popover-item.am-popover-item-active .am-popover-item-container {
|
|
194
|
-
border-top: 0;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.am-popover .am-popover-item.am-popover-item-active .am-popover-item-container:before {
|
|
198
|
-
display: none !important;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.am-popover .am-popover-item.am-popover-item-active+.am-popover-item .am-popover-item-container {
|
|
202
|
-
border-top: 0;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.am-popover .am-popover-item.am-popover-item-active+.am-popover-item .am-popover-item-container:before {
|
|
206
|
-
display: none !important;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.am-popover .am-popover-item.am-popover-item-active {
|
|
210
|
-
background-color: #ddd;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.am-popover .am-popover-item.am-popover-item-active.am-popover-item-fix-active-arrow {
|
|
214
|
-
position: relative;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.am-popover .am-popover-item.am-popover-item-disabled {
|
|
218
|
-
color: #bbb;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.am-popover .am-popover-item.am-popover-item-disabled.am-popover-item-active {
|
|
222
|
-
background-color: transparent;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.am-popover .am-popover-item-icon {
|
|
226
|
-
margin-right: 8px;
|
|
227
|
-
width: 18px;
|
|
228
|
-
height: 18px;
|
|
229
|
-
}
|
package/lib/Progress/index.css
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.am-progress-outer {
|
|
2
|
-
background-color: #ddd;
|
|
3
|
-
display: block;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.am-progress-fixed-outer {
|
|
7
|
-
position: fixed;
|
|
8
|
-
width: 100%;
|
|
9
|
-
top: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
z-index: 2000;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.am-progress-hide-outer {
|
|
15
|
-
background-color: transparent;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.am-progress-bar {
|
|
19
|
-
border: 2px solid #108ee9;
|
|
20
|
-
-webkit-transition: all .3s linear 0s;
|
|
21
|
-
transition: all .3s linear 0s;
|
|
22
|
-
}
|
package/lib/Progress/index.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
class Progress extends React.Component {
|
|
12
|
-
componentWillReceiveProps() {
|
|
13
|
-
this.noAppearTransition = true;
|
|
14
|
-
}
|
|
15
|
-
componentDidMount() {
|
|
16
|
-
if (this.props.appearTransition) {
|
|
17
|
-
setTimeout(() => {
|
|
18
|
-
if (this.barRef) {
|
|
19
|
-
this.barRef.style.width = "".concat(this.props.percent, "%");
|
|
20
|
-
}
|
|
21
|
-
}, 10);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
const {
|
|
26
|
-
className,
|
|
27
|
-
prefixCls,
|
|
28
|
-
position,
|
|
29
|
-
unfilled,
|
|
30
|
-
style = {},
|
|
31
|
-
barStyle = {}
|
|
32
|
-
} = this.props;
|
|
33
|
-
const percentStyle = {
|
|
34
|
-
width: this.noAppearTransition || !this.props.appearTransition ? "".concat(this.props.percent, "%") : 0,
|
|
35
|
-
height: 0
|
|
36
|
-
};
|
|
37
|
-
const wrapCls = (0, _classnames.default)("".concat(prefixCls, "-outer"), className, {
|
|
38
|
-
["".concat(prefixCls, "-fixed-outer")]: position === 'fixed',
|
|
39
|
-
["".concat(prefixCls, "-hide-outer")]: !unfilled
|
|
40
|
-
});
|
|
41
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
42
|
-
style: style,
|
|
43
|
-
className: wrapCls,
|
|
44
|
-
role: "progressbar",
|
|
45
|
-
"aria-valuenow": this.props.percent,
|
|
46
|
-
"aria-valuemin": 0,
|
|
47
|
-
"aria-valuemax": 100
|
|
48
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
ref: el => this.barRef = el,
|
|
50
|
-
className: "".concat(prefixCls, "-bar"),
|
|
51
|
-
style: {
|
|
52
|
-
...barStyle,
|
|
53
|
-
...percentStyle
|
|
54
|
-
}
|
|
55
|
-
}));
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.default = Progress;
|
|
59
|
-
Progress.defaultProps = {
|
|
60
|
-
prefixCls: 'am-progress',
|
|
61
|
-
percent: 0,
|
|
62
|
-
position: 'fixed',
|
|
63
|
-
unfilled: true,
|
|
64
|
-
appearTransition: false
|
|
65
|
-
};
|
package/lib/Radio/Radio.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var _rcCheckbox = _interopRequireDefault(require("rc-checkbox"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
|
-
class Radio extends React.Component {
|
|
13
|
-
render() {
|
|
14
|
-
const {
|
|
15
|
-
className,
|
|
16
|
-
style,
|
|
17
|
-
...restProps
|
|
18
|
-
} = this.props;
|
|
19
|
-
const {
|
|
20
|
-
prefixCls,
|
|
21
|
-
children
|
|
22
|
-
} = restProps;
|
|
23
|
-
const wrapCls = (0, _classnames.default)("".concat(prefixCls, "-wrapper"), className);
|
|
24
|
-
if ('class' in restProps) {
|
|
25
|
-
// Todo https://github.com/developit/preact-compat/issues/422
|
|
26
|
-
/* tslint:disable:no-string-literal */
|
|
27
|
-
delete restProps['class'];
|
|
28
|
-
}
|
|
29
|
-
const mark = /*#__PURE__*/React.createElement("label", {
|
|
30
|
-
className: wrapCls,
|
|
31
|
-
style: style
|
|
32
|
-
}, /*#__PURE__*/React.createElement(_rcCheckbox.default, Object.assign({}, restProps, {
|
|
33
|
-
type: "radio"
|
|
34
|
-
})), children);
|
|
35
|
-
if (this.props.wrapLabel) {
|
|
36
|
-
return mark;
|
|
37
|
-
}
|
|
38
|
-
return /*#__PURE__*/React.createElement(_rcCheckbox.default, Object.assign({}, this.props, {
|
|
39
|
-
type: "radio"
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.default = Radio;
|
|
44
|
-
Radio.defaultProps = {
|
|
45
|
-
prefixCls: 'am-radio',
|
|
46
|
-
wrapLabel: true
|
|
47
|
-
};
|
package/lib/Radio/RadioItem.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var _List = _interopRequireDefault(require("../List"));
|
|
12
|
-
var _Radio = _interopRequireDefault(require("./Radio"));
|
|
13
|
-
const ListItem = _List.default.Item;
|
|
14
|
-
function noop() {}
|
|
15
|
-
class RadioItem extends React.Component {
|
|
16
|
-
render() {
|
|
17
|
-
const {
|
|
18
|
-
listPrefixCls,
|
|
19
|
-
onChange,
|
|
20
|
-
disabled,
|
|
21
|
-
radioProps,
|
|
22
|
-
onClick,
|
|
23
|
-
...otherProps
|
|
24
|
-
} = this.props;
|
|
25
|
-
const {
|
|
26
|
-
prefixCls,
|
|
27
|
-
className,
|
|
28
|
-
children
|
|
29
|
-
} = otherProps;
|
|
30
|
-
const wrapCls = (0, _classnames.default)("".concat(prefixCls, "-item"), className, {
|
|
31
|
-
["".concat(prefixCls, "-item-disabled")]: disabled === true
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
// Note: if not omit `onChange`, it will trigger twice on check listitem
|
|
35
|
-
|
|
36
|
-
if (!disabled) {
|
|
37
|
-
otherProps.onClick = onClick || noop;
|
|
38
|
-
}
|
|
39
|
-
const extraProps = {};
|
|
40
|
-
['name', 'defaultChecked', 'checked', 'onChange', 'disabled'].forEach(i => {
|
|
41
|
-
if (i in this.props) {
|
|
42
|
-
extraProps[i] = this.props[i];
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
return /*#__PURE__*/React.createElement(ListItem, Object.assign({}, otherProps, {
|
|
46
|
-
prefixCls: listPrefixCls,
|
|
47
|
-
className: wrapCls,
|
|
48
|
-
extra: /*#__PURE__*/React.createElement(_Radio.default, Object.assign({}, radioProps, extraProps))
|
|
49
|
-
}), children);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.default = RadioItem;
|
|
53
|
-
RadioItem.defaultProps = {
|
|
54
|
-
prefixCls: 'am-radio',
|
|
55
|
-
listPrefixCls: 'am-list',
|
|
56
|
-
radioProps: {}
|
|
57
|
-
};
|