dtable-ui-component 6.0.29-beta9 → 6.0.29
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/ActionSheet/index.js +196 -0
- package/lib/ActionSheet/style/index.css +377 -0
- package/lib/ActivityIndicator/index.css +110 -0
- package/lib/ActivityIndicator/index.js +76 -0
- package/lib/Badge/index.css +98 -0
- package/lib/Badge/index.js +65 -0
- package/lib/CheckboxEditor/index.js +116 -24
- package/lib/CollaboratorEditor/index.js +11 -23
- package/lib/CollaboratorEditor/mb-collaborator-editor/index.css +85 -0
- package/lib/CollaboratorEditor/mb-collaborator-editor/index.js +148 -0
- package/lib/DTableCommonAddTool/index.js +3 -1
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +6 -6
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +6 -6
- package/lib/DateEditor/index.js +95 -69
- package/lib/DateEditor/mb-date-editor-popover/custom-rc-calendar.css +118 -0
- package/lib/DateEditor/mb-date-editor-popover/index.css +45 -0
- package/lib/DateEditor/mb-date-editor-popover/index.js +226 -0
- package/lib/DateEditor/{pc-editor.js → pc-date-editor-popover.js} +9 -9
- package/lib/DatePicker/index.js +120 -0
- package/lib/DatePicker/locale/en_US.js +14 -0
- package/lib/DatePicker/locale/ru_RU.js +14 -0
- package/lib/DatePicker/locale/sv_SE.js +14 -0
- package/lib/DatePicker/locale/zh_CN.js +14 -0
- package/lib/DatePicker/style/index.css +298 -0
- package/lib/DatePicker/utils.js +36 -0
- package/lib/{DepartmentMultipleSelectEditor → Department-editor/department-multiple-select}/index.js +6 -6
- package/lib/{DepartmentSingleSelectEditor/pc-editor → Department-editor}/department-single-select.js +7 -7
- package/lib/{DepartmentSingleSelectEditor/pc-editor → Department-editor}/index.css +3 -10
- package/lib/{DepartmentSingleSelectEditor/pc-editor → Department-editor}/index.js +25 -8
- package/lib/{SelectedDepartments → Department-editor/selected-departments}/index.css +1 -0
- package/lib/{SelectedDepartments → Department-editor/selected-departments}/index.js +3 -3
- package/lib/DigitalSignEditor/index.js +171 -24
- package/lib/Drawer/index.css +144 -0
- package/lib/Drawer/index.js +21 -0
- package/lib/FileEditor/addition-previewer/index.css +1 -0
- package/lib/FileEditor/{pc-editor/addition-previewer → addition-previewer}/index.js +1 -1
- package/lib/FileEditor/addition-previewer/local-file-addition/index.css +1 -0
- package/lib/FileEditor/{pc-editor/addition-previewer → addition-previewer}/local-file-addition/index.js +4 -4
- package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/dropdown-menu.js +1 -1
- package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/file-name-editor/index.js +1 -1
- package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/index.css +2 -0
- package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/index.js +2 -2
- package/lib/FileEditor/files-previewer/index.js +268 -26
- package/lib/FileEditor/index.css +5 -0
- package/lib/FileEditor/index.js +265 -26
- package/lib/FormulaFormatter/index.css +5 -5
- package/lib/GeolocationEditor/{pc-editor/country-editor.js → country-editor.js} +49 -5
- package/lib/GeolocationEditor/{pc-editor/index.css → index.css} +4 -3
- package/lib/GeolocationEditor/index.js +230 -90
- package/lib/GeolocationEditor/{pc-editor/location-editor.js → location-editor.js} +41 -8
- package/lib/GeolocationEditor/{pc-editor/map-editor → map-editor}/index.js +6 -6
- package/lib/GeolocationEditor/{pc-editor/map-editor → map-editor}/large-editor/index.js +7 -7
- package/lib/GeolocationEditor/map-editor-utils.js +4 -10
- package/lib/GeolocationEditor/{pc-editor/map-selection-editor → map-selection-editor}/index.js +7 -7
- package/lib/GeolocationEditor/{pc-editor/map-selection-editor → map-selection-editor}/large-editor/index.js +7 -7
- package/lib/GeolocationEditor/{pc-editor/province-city-editor.js → province-city-editor.js} +38 -7
- package/lib/GeolocationEditor/{pc-editor/province-editor.js → province-editor.js} +31 -7
- package/lib/GeolocationEditor/{pc-editor/selector-header-item.js → selector-header-item.js} +1 -1
- package/lib/Icon/index.css +50 -0
- package/lib/Icon/index.js +35 -0
- package/lib/Icon/load-sprite.js +56 -0
- package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/image-link/index.js +1 -1
- package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/index.js +1 -1
- package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/local-image-addition/index.js +4 -4
- package/lib/ImageEditor/images-previewer/image-preview/index.js +3 -3
- package/lib/ImageEditor/images-previewer/index.js +4 -9
- package/lib/ImageEditor/index.css +16 -17
- package/lib/ImageEditor/index.js +185 -26
- package/lib/ImageThumbnail/index.js +1 -2
- package/lib/InputItem/custom-input.js +321 -0
- package/lib/InputItem/custom-keyboard.js +162 -0
- package/lib/InputItem/index.js +389 -0
- package/lib/InputItem/input.js +45 -0
- package/lib/InputItem/locale/en_US.js +12 -0
- package/lib/InputItem/locale/ru_RU.js +12 -0
- package/lib/InputItem/locale/sv_SE.js +12 -0
- package/lib/InputItem/locale/zh_CN.js +12 -0
- package/lib/InputItem/portal.js +23 -0
- package/lib/InputItem/style/index.css +524 -0
- package/lib/LinkEditor/index.js +5 -5
- package/lib/LinkEditor/{mb-popover → mb-link-editor-popover}/index.css +1 -1
- package/lib/List/index.css +389 -0
- package/lib/List/index.js +41 -0
- package/lib/List/list-item.js +169 -0
- package/lib/Modal/alert.js +86 -0
- package/lib/Modal/index.js +16 -0
- package/lib/Modal/modal.js +118 -0
- package/lib/Modal/operation.js +81 -0
- package/lib/Modal/prompt.js +211 -0
- package/lib/Modal/style/index.css +593 -0
- package/lib/MultipleSelectEditor/index.js +14 -9
- package/lib/Picker/AbstractPicker.js +190 -0
- package/lib/Picker/index.js +28 -0
- package/lib/Picker/locale/en_US.js +12 -0
- package/lib/Picker/locale/ru_RU.js +12 -0
- package/lib/Picker/locale/sv_SE.js +12 -0
- package/lib/Picker/locale/zh_CN.js +12 -0
- package/lib/Picker/popupProps.js +12 -0
- package/lib/Picker/style/index.css +145 -0
- package/lib/Popover/index.js +63 -0
- package/lib/Popover/item.js +55 -0
- package/lib/Popover/style/index.css +233 -0
- package/lib/Progress/index.css +24 -0
- package/lib/Progress/index.js +66 -0
- package/lib/Radio/Radio.js +47 -0
- package/lib/Radio/RadioItem.js +57 -0
- package/lib/Radio/index.css +92 -0
- package/lib/Radio/index.js +12 -0
- package/lib/RowExpandDialog/column-content/index.js +2 -2
- package/lib/RowExpandDialog/index.js +0 -2
- package/lib/RowExpandEditor/{add-btn/pc-add-btn → RowExpandAddBtn}/index.js +4 -6
- package/lib/RowExpandEditor/{checkbox-editor/pc-editor.js → RowExpandCheckboxEditor/index.js} +13 -9
- package/lib/RowExpandEditor/{collaborator-editor/pc-editor → RowExpandCollaboratorEditor}/index.css +1 -1
- package/lib/RowExpandEditor/{collaborator-editor/pc-editor → RowExpandCollaboratorEditor}/index.js +7 -6
- package/lib/RowExpandEditor/{date-editor/pc-editor.js → RowExpandDateEditor/index.js} +2 -2
- package/lib/RowExpandEditor/{department-editor/pc-editor.js → RowExpandDepartmentEditor/index.js} +49 -44
- package/lib/RowExpandEditor/{digital-sign-editor/pc-editor → RowExpandDigitalSignEditor}/index.css +1 -1
- package/lib/RowExpandEditor/{digital-sign-editor/pc-editor → RowExpandDigitalSignEditor}/index.js +11 -11
- package/lib/RowExpandEditor/{duration-editor/pc-editor.js → RowExpandDurationEditor/index.js} +2 -2
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +2 -0
- package/lib/RowExpandEditor/{email-editor/pc-editor → RowExpandEmailEditor}/index.js +3 -3
- package/lib/RowExpandEditor/RowExpandFileEditor/index.css +1 -0
- package/lib/RowExpandEditor/{file-editor/pc-editor → RowExpandFileEditor}/index.js +9 -9
- package/lib/RowExpandEditor/{geolocation-editor/pc-editor → RowExpandGeolocationEditor}/index.js +13 -17
- package/lib/RowExpandEditor/{image-editor/pc-editor → RowExpandImageEditor}/index.js +9 -9
- package/lib/RowExpandEditor/{long-text-editor/pc-editor → RowExpandLongTextEditor}/index.js +7 -7
- package/lib/RowExpandEditor/{multiple-select-editor/pc-editor → RowExpandMultipleSelectEditor}/index.css +1 -1
- package/lib/RowExpandEditor/{multiple-select-editor/pc-editor → RowExpandMultipleSelectEditor}/index.js +6 -6
- package/lib/RowExpandEditor/{number-editor/pc-editor.js → RowExpandNumberEditor/index.js} +2 -2
- package/lib/RowExpandEditor/RowExpandRateEditor/index.css +13 -0
- package/lib/RowExpandEditor/{rate-editor/pc-editor.js → RowExpandRateEditor/index.js} +3 -2
- package/lib/RowExpandEditor/{single-select-editor/pc-editor → RowExpandSingleSelectorEditor}/index.js +17 -17
- package/lib/RowExpandEditor/{text-editor/pc-editor → RowExpandTextEditor}/index.js +7 -7
- package/lib/RowExpandEditor/{url-editor/pc-editor → RowExpandUrlEditor}/index.js +6 -6
- package/lib/RowExpandEditor/constants.js +34 -34
- package/lib/RowExpandFormatter/{department-formatter/pc-formatter.js → RowExpandDepartmentFormatter/index.js} +2 -2
- package/lib/RowExpandFormatter/{email-formatter → RowExpandEmailFormatter}/index.css +4 -4
- package/lib/RowExpandFormatter/RowExpandRateFormatter/index.css +5 -0
- package/lib/RowExpandFormatter/constants.js +17 -17
- package/lib/RowExpandFormatter/index.css +18 -33
- package/lib/RowExpandFormatter/index.js +1 -1
- package/lib/SelectItem/index.js +33 -57
- package/lib/SingleSelectEditor/index.js +14 -9
- package/lib/SvgIcon/index.js +1 -2
- package/lib/TabBar/Tab.js +76 -0
- package/lib/TabBar/index.css +142 -0
- package/lib/TabBar/index.js +129 -0
- package/lib/Tabs/index.css +453 -0
- package/lib/Tabs/index.js +39 -0
- package/lib/TextareaItem/index.css +235 -0
- package/lib/TextareaItem/index.js +231 -0
- package/lib/Toast/index.css +67 -0
- package/lib/Toast/index.js +131 -0
- package/lib/_util/class.js +34 -0
- package/lib/_util/closest.js +17 -0
- package/lib/_util/exenv.js +8 -0
- package/lib/_util/getDataAttr.js +15 -0
- package/lib/_util/getLocale.js +42 -0
- package/lib/constants/index.js +2 -3
- package/lib/css/am.css +390 -0
- package/lib/css/mb-cell-editor.css +1 -1
- package/lib/index.js +100 -51
- package/lib/locales/de.json +1 -3
- package/lib/locales/en.json +1 -3
- package/lib/locales/es.json +1 -3
- package/lib/locales/fr.json +1 -3
- package/lib/locales/pt.json +1 -3
- package/lib/locales/ru.json +1 -3
- package/lib/locales/zh-CN.json +1 -3
- package/lib/select-editor/index.js +20 -27
- package/lib/select-editor/mb-select-editor/index.css +127 -0
- package/lib/select-editor/mb-select-editor/index.js +197 -0
- package/lib/select-editor/{pc-editor → pc-select-editor}/index.css +1 -1
- package/lib/select-editor/{pc-editor → pc-select-editor}/index.js +7 -7
- package/lib/select-editor/select-editor-option.js +84 -0
- package/lib/utils/editor-utils.js +2 -6
- package/lib/utils/get-event-transfer.js +1 -2
- package/lib/utils/utils.js +2 -11
- package/package.json +25 -16
- package/lib/BodyPortal/index.js +0 -29
- package/lib/CheckboxEditor/mb-editor.js +0 -99
- package/lib/CheckboxEditor/pc-editor.js +0 -118
- package/lib/CollaboratorEditor/mb-editor/index.css +0 -41
- package/lib/CollaboratorEditor/mb-editor/index.js +0 -88
- package/lib/DateEditor/mb-editor/custom-rc-calendar.css +0 -118
- package/lib/DateEditor/mb-editor/index.css +0 -39
- package/lib/DateEditor/mb-editor/index.js +0 -215
- package/lib/DepartmentSingleSelectEditor/index.js +0 -34
- package/lib/DepartmentSingleSelectEditor/mb-editor/index.css +0 -4
- package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +0 -230
- package/lib/DigitalSignEditor/mb-editor/index.css +0 -35
- package/lib/DigitalSignEditor/mb-editor/index.js +0 -144
- package/lib/DigitalSignEditor/pc-editor/index.js +0 -181
- package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +0 -122
- package/lib/FileEditor/files-previewer/mb-previewer/index.css +0 -39
- package/lib/FileEditor/files-previewer/mb-previewer/index.js +0 -64
- package/lib/FileEditor/files-previewer/pc-previewer/index.js +0 -276
- package/lib/FileEditor/mb-editor/index.css +0 -10
- package/lib/FileEditor/mb-editor/index.js +0 -136
- package/lib/FileEditor/pc-editor/addition-previewer/index.css +0 -1
- package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.css +0 -1
- package/lib/FileEditor/pc-editor/index.css +0 -5
- package/lib/FileEditor/pc-editor/index.js +0 -274
- package/lib/GeolocationEditor/mb-editor/country-editor.js +0 -79
- package/lib/GeolocationEditor/mb-editor/index.css +0 -11
- package/lib/GeolocationEditor/mb-editor/index.js +0 -125
- package/lib/GeolocationEditor/mb-editor/location-editor.js +0 -101
- package/lib/GeolocationEditor/mb-editor/map-editor/index.css +0 -11
- package/lib/GeolocationEditor/mb-editor/map-editor/index.js +0 -474
- package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.css +0 -158
- package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +0 -530
- package/lib/GeolocationEditor/mb-editor/province-city-editor.js +0 -77
- package/lib/GeolocationEditor/mb-editor/province-editor.js +0 -76
- package/lib/GeolocationEditor/pc-editor/index.js +0 -247
- package/lib/ImageEditor/mb-editor/index.css +0 -29
- package/lib/ImageEditor/mb-editor/index.js +0 -136
- package/lib/ImageEditor/pc-editor/images-previewer/index.js +0 -140
- package/lib/ImageEditor/pc-editor/index.css +0 -24
- package/lib/ImageEditor/pc-editor/index.js +0 -194
- package/lib/MobileFullScreenPage/body/index.css +0 -9
- package/lib/MobileFullScreenPage/body/index.js +0 -23
- package/lib/MobileFullScreenPage/header/index.css +0 -39
- package/lib/MobileFullScreenPage/header/index.js +0 -38
- package/lib/MobileFullScreenPage/index.css +0 -13
- package/lib/MobileFullScreenPage/index.js +0 -73
- package/lib/MobileModal/index.js +0 -41
- package/lib/MobileOperationSheet/index.css +0 -27
- package/lib/MobileOperationSheet/index.js +0 -92
- package/lib/MobileSelector/empty/index.css +0 -3
- package/lib/MobileSelector/empty/index.js +0 -23
- package/lib/MobileSelector/index.css +0 -32
- package/lib/MobileSelector/index.js +0 -57
- package/lib/MobileSelector/option/index.css +0 -28
- package/lib/MobileSelector/option/index.js +0 -36
- package/lib/MobileSelector/options/index.css +0 -8
- package/lib/MobileSelector/options/index.js +0 -18
- package/lib/MobileSelector/search/index.css +0 -7
- package/lib/MobileSelector/search/index.js +0 -26
- package/lib/MobileUpload/index.css +0 -1
- package/lib/MobileUpload/index.js +0 -160
- package/lib/RowExpand/index.js +0 -24
- package/lib/RowExpandEditor/add-btn/index.js +0 -24
- package/lib/RowExpandEditor/add-btn/mb-add-btn/index.css +0 -3
- package/lib/RowExpandEditor/add-btn/mb-add-btn/index.js +0 -19
- package/lib/RowExpandEditor/checkbox-editor/index.js +0 -25
- package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.css +0 -6
- package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +0 -36
- package/lib/RowExpandEditor/collaborator-editor/index.js +0 -24
- package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.css +0 -9
- package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +0 -163
- package/lib/RowExpandEditor/date-editor/index.js +0 -24
- package/lib/RowExpandEditor/date-editor/mb-editor.js +0 -82
- package/lib/RowExpandEditor/department-editor/index.js +0 -24
- package/lib/RowExpandEditor/department-editor/mb-editor.js +0 -65
- package/lib/RowExpandEditor/digital-sign-editor/index.js +0 -24
- package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.css +0 -1
- package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +0 -130
- package/lib/RowExpandEditor/duration-editor/index.js +0 -24
- package/lib/RowExpandEditor/duration-editor/mb-editor.js +0 -71
- package/lib/RowExpandEditor/email-editor/index.js +0 -24
- package/lib/RowExpandEditor/email-editor/mb-editor/index.css +0 -1
- package/lib/RowExpandEditor/email-editor/mb-editor/index.js +0 -84
- package/lib/RowExpandEditor/email-editor/pc-editor/index.css +0 -1
- package/lib/RowExpandEditor/file-editor/index.js +0 -24
- package/lib/RowExpandEditor/file-editor/mb-editor/index.js +0 -114
- package/lib/RowExpandEditor/file-editor/pc-editor/index.css +0 -1
- package/lib/RowExpandEditor/geolocation-editor/index.js +0 -24
- package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +0 -100
- package/lib/RowExpandEditor/image-editor/index.js +0 -24
- package/lib/RowExpandEditor/image-editor/mb-editor/index.css +0 -30
- package/lib/RowExpandEditor/image-editor/mb-editor/index.js +0 -109
- package/lib/RowExpandEditor/long-text-editor/index.js +0 -24
- package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.css +0 -10
- package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +0 -80
- package/lib/RowExpandEditor/long-text-editor/mb-editor/index.css +0 -3
- package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +0 -91
- package/lib/RowExpandEditor/multiple-select-editor/index.js +0 -24
- package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +0 -154
- package/lib/RowExpandEditor/number-editor/index.js +0 -24
- package/lib/RowExpandEditor/number-editor/mb-editor/index.css +0 -3
- package/lib/RowExpandEditor/number-editor/mb-editor/index.js +0 -76
- package/lib/RowExpandEditor/rate-editor/index.css +0 -34
- package/lib/RowExpandEditor/rate-editor/index.js +0 -25
- package/lib/RowExpandEditor/rate-editor/mb-editor.js +0 -92
- package/lib/RowExpandEditor/right-angle/index.css +0 -6
- package/lib/RowExpandEditor/right-angle/index.js +0 -17
- package/lib/RowExpandEditor/single-select-editor/index.js +0 -24
- package/lib/RowExpandEditor/single-select-editor/mb-editor/index.css +0 -8
- package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +0 -134
- package/lib/RowExpandEditor/text-editor/index.js +0 -24
- package/lib/RowExpandEditor/text-editor/mb-editor/index.css +0 -14
- package/lib/RowExpandEditor/text-editor/mb-editor/index.js +0 -37
- package/lib/RowExpandEditor/url-editor/index.js +0 -24
- package/lib/RowExpandEditor/url-editor/mb-editor/index.css +0 -17
- package/lib/RowExpandEditor/url-editor/mb-editor/index.js +0 -87
- package/lib/RowExpandFormatter/department-formatter/index.js +0 -19
- package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +0 -20
- package/lib/RowExpandFormatter/rate-formatter/index.css +0 -5
- package/lib/RowExpandView/body/index.css +0 -173
- package/lib/RowExpandView/body/index.js +0 -111
- package/lib/RowExpandView/column-content/index.css +0 -27
- package/lib/RowExpandView/column-content/index.js +0 -25
- package/lib/RowExpandView/index.css +0 -3
- package/lib/RowExpandView/index.js +0 -178
- package/lib/select-editor/mb-editor/index.css +0 -1
- package/lib/select-editor/mb-editor/index.js +0 -105
- /package/lib/CollaboratorEditor/{pc-editor → pc-collaborator-editor}/index.css +0 -0
- /package/lib/CollaboratorEditor/{pc-editor → pc-collaborator-editor}/index.js +0 -0
- /package/lib/{constants/departments.js → Department-editor/constants.js} +0 -0
- /package/lib/{DepartmentMultipleSelectEditor → Department-editor/department-multiple-select}/index.css +0 -0
- /package/lib/{utils/departments.js → Department-editor/utils.js} +0 -0
- /package/lib/DigitalSignEditor/{pc-editor/index.css → index.css} +0 -0
- /package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/file-name-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{pc-editor/map-editor → map-editor}/large-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{pc-editor/map-selection-editor → map-selection-editor}/large-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{pc-editor/parse-geolocation.js → parse-geolocation.js} +0 -0
- /package/lib/GeolocationEditor/{pc-editor/selector-list.js → selector-list.js} +0 -0
- /package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/image-link/index.css +0 -0
- /package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/index.css +0 -0
- /package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/local-image-addition/index.css +0 -0
- /package/lib/LinkEditor/{mb-popover → mb-link-editor-popover}/index.js +0 -0
- /package/lib/LinkEditor/{pc-popover → pc-link-editor-popover}/index.css +0 -0
- /package/lib/LinkEditor/{pc-popover → pc-link-editor-popover}/index.js +0 -0
- /package/lib/RowExpandEditor/{add-btn/pc-add-btn → RowExpandAddBtn}/index.css +0 -0
- /package/lib/RowExpandEditor/{checkbox-editor → RowExpandCheckboxEditor}/index.css +0 -0
- /package/lib/RowExpandEditor/{geolocation-editor/pc-editor → RowExpandGeolocationEditor}/index.css +0 -0
- /package/lib/RowExpandEditor/{image-editor/pc-editor → RowExpandImageEditor}/index.css +0 -0
- /package/lib/RowExpandEditor/{long-text-editor/pc-editor → RowExpandLongTextEditor}/index.css +0 -0
- /package/lib/RowExpandEditor/{single-select-editor/pc-editor → RowExpandSingleSelectorEditor}/index.css +0 -0
- /package/lib/RowExpandEditor/{text-editor/pc-editor → RowExpandTextEditor}/index.css +0 -0
- /package/lib/RowExpandEditor/{url-editor/pc-editor → RowExpandUrlEditor}/index.css +0 -0
- /package/lib/RowExpandFormatter/{email-formatter → RowExpandEmailFormatter}/index.js +0 -0
- /package/lib/RowExpandFormatter/{file-formatter → RowExpandFileFormatter}/index.css +0 -0
- /package/lib/RowExpandFormatter/{file-formatter → RowExpandFileFormatter}/index.js +0 -0
- /package/lib/RowExpandFormatter/{file-formatter → RowExpandFileFormatter}/row-expand-file-item-formatter.js +0 -0
- /package/lib/RowExpandFormatter/{formula-formatter → RowExpandFormulaFormatter}/index.js +0 -0
- /package/lib/RowExpandFormatter/{image-formatter → RowExpandImageFormatter}/index.css +0 -0
- /package/lib/RowExpandFormatter/{image-formatter → RowExpandImageFormatter}/index.js +0 -0
- /package/lib/RowExpandFormatter/{image-formatter → RowExpandImageFormatter}/row-expand-image-item-formatter.js +0 -0
- /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/collaborator-item-formatter.js +0 -0
- /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/index.css +0 -0
- /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/index.js +0 -0
- /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/value-display-utils.js +0 -0
- /package/lib/RowExpandFormatter/{rate-formatter → RowExpandRateFormatter}/index.js +0 -0
- /package/lib/RowExpandFormatter/{url-formatter → RowExpandUrlFormatter}/index.css +0 -0
- /package/lib/RowExpandFormatter/{url-formatter → RowExpandUrlFormatter}/index.js +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
@import url('../css/am.css');
|
|
2
|
+
|
|
3
|
+
.am-tab-bar {
|
|
4
|
+
height: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.am-tab-bar-bar {
|
|
9
|
+
position: relative;
|
|
10
|
+
-webkit-box-sizing: border-box;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
height: 50px;
|
|
13
|
+
border-top: 1PX solid #ddd;
|
|
14
|
+
width: 100%;
|
|
15
|
+
display: -webkit-box;
|
|
16
|
+
display: -webkit-flex;
|
|
17
|
+
display: -ms-flexbox;
|
|
18
|
+
display: flex;
|
|
19
|
+
-webkit-transition-duration: .2s;
|
|
20
|
+
transition-duration: .2s;
|
|
21
|
+
-webkit-transition-property: height bottom;
|
|
22
|
+
transition-property: height bottom;
|
|
23
|
+
z-index: 100;
|
|
24
|
+
-webkit-justify-content: space-around;
|
|
25
|
+
-ms-flex-pack: distribute;
|
|
26
|
+
justify-content: space-around;
|
|
27
|
+
-webkit-box-align: center;
|
|
28
|
+
-webkit-align-items: center;
|
|
29
|
+
-ms-flex-align: center;
|
|
30
|
+
align-items: center;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
35
|
+
(min-resolution: 2dppx) {
|
|
36
|
+
html:not([data-scale]) .am-tab-bar-bar {
|
|
37
|
+
border-top: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
html:not([data-scale]) .am-tab-bar-bar::before {
|
|
41
|
+
content: '';
|
|
42
|
+
position: absolute;
|
|
43
|
+
background-color: #ddd;
|
|
44
|
+
display: block;
|
|
45
|
+
z-index: 1;
|
|
46
|
+
top: 0;
|
|
47
|
+
right: auto;
|
|
48
|
+
bottom: auto;
|
|
49
|
+
left: 0;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 1PX;
|
|
52
|
+
-webkit-transform-origin: 50% 50%;
|
|
53
|
+
-ms-transform-origin: 50% 50%;
|
|
54
|
+
transform-origin: 50% 50%;
|
|
55
|
+
-webkit-transform: scaleY(0.5);
|
|
56
|
+
-ms-transform: scaleY(0.5);
|
|
57
|
+
transform: scaleY(0.5);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
62
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
63
|
+
html:not([data-scale]) .am-tab-bar-bar::before {
|
|
64
|
+
-webkit-transform: scaleY(0.33);
|
|
65
|
+
-ms-transform: scaleY(0.33);
|
|
66
|
+
transform: scaleY(0.33);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.am-tab-bar-bar-hidden-top {
|
|
71
|
+
bottom: 50px;
|
|
72
|
+
height: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.am-tab-bar-bar-hidden-bottom {
|
|
76
|
+
bottom: -50px;
|
|
77
|
+
height: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.am-tab-bar-bar .am-tab-bar-tab {
|
|
81
|
+
-webkit-box-flex: 1;
|
|
82
|
+
-webkit-flex: 1;
|
|
83
|
+
-ms-flex: 1;
|
|
84
|
+
flex: 1;
|
|
85
|
+
display: -webkit-box;
|
|
86
|
+
display: -webkit-flex;
|
|
87
|
+
display: -ms-flexbox;
|
|
88
|
+
display: flex;
|
|
89
|
+
-webkit-box-pack: center;
|
|
90
|
+
-webkit-justify-content: center;
|
|
91
|
+
-ms-flex-pack: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
-webkit-box-align: center;
|
|
94
|
+
-webkit-align-items: center;
|
|
95
|
+
-ms-flex-align: center;
|
|
96
|
+
align-items: center;
|
|
97
|
+
-webkit-box-orient: vertical;
|
|
98
|
+
-webkit-box-direction: normal;
|
|
99
|
+
-webkit-flex-direction: column;
|
|
100
|
+
-ms-flex-direction: column;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
text-align: center;
|
|
103
|
+
width: 100%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.am-tab-bar-bar .am-tab-bar-tab-image {
|
|
107
|
+
width: 22px;
|
|
108
|
+
height: 22px;
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.am-tab-bar-bar .am-tab-bar-tab-title {
|
|
113
|
+
font-size: 10px;
|
|
114
|
+
margin: 3px 0 0 0;
|
|
115
|
+
line-height: 1;
|
|
116
|
+
text-align: center;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.am-tab-bar-bar .am-tab-bar-tab-icon {
|
|
120
|
+
display: -webkit-box;
|
|
121
|
+
display: -webkit-flex;
|
|
122
|
+
display: -ms-flexbox;
|
|
123
|
+
display: flex;
|
|
124
|
+
-webkit-box-pack: center;
|
|
125
|
+
-webkit-justify-content: center;
|
|
126
|
+
-ms-flex-pack: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.am-tab-bar-bar .am-tab-bar-tab-icon .tab-badge :last-child {
|
|
131
|
+
margin-top: 4px;
|
|
132
|
+
left: 22px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.am-tab-bar-bar .am-tab-bar-tab-icon .tab-dot :last-child {
|
|
136
|
+
margin-top: 4px;
|
|
137
|
+
left: 22px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.am-tab-bar-item {
|
|
141
|
+
height: 100%;
|
|
142
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
require("./index.css");
|
|
14
|
+
class Item extends React.Component {
|
|
15
|
+
render() {
|
|
16
|
+
const {
|
|
17
|
+
prefixCls,
|
|
18
|
+
style
|
|
19
|
+
} = this.props;
|
|
20
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
21
|
+
className: prefixCls,
|
|
22
|
+
style: style
|
|
23
|
+
}, this.props.children);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Item = Item;
|
|
27
|
+
Item.defaultProps = {
|
|
28
|
+
prefixCls: 'am-tab-bar-item',
|
|
29
|
+
title: ''
|
|
30
|
+
};
|
|
31
|
+
class AntTabBar extends React.Component {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.getTabs = () => {
|
|
35
|
+
const tabs = [];
|
|
36
|
+
React.Children.forEach(this.props.children, c => {
|
|
37
|
+
if (c) {
|
|
38
|
+
tabs.push({
|
|
39
|
+
...c.props
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
return tabs;
|
|
44
|
+
};
|
|
45
|
+
this.renderTabBar = () => {
|
|
46
|
+
const {
|
|
47
|
+
barTintColor,
|
|
48
|
+
prefixCls,
|
|
49
|
+
tintColor,
|
|
50
|
+
unselectedTintColor,
|
|
51
|
+
hidden,
|
|
52
|
+
tabBarPosition
|
|
53
|
+
} = this.props;
|
|
54
|
+
const tabsData = this.getTabs();
|
|
55
|
+
const content = Array.isArray(tabsData) ? tabsData.map((cProps, index) => {
|
|
56
|
+
return /*#__PURE__*/React.createElement(_Tab.default, {
|
|
57
|
+
key: index,
|
|
58
|
+
prefixCls: "".concat(this.props.prefixCls, "-tab"),
|
|
59
|
+
badge: cProps.badge,
|
|
60
|
+
dot: cProps.dot,
|
|
61
|
+
selected: cProps.selected,
|
|
62
|
+
icon: cProps.icon,
|
|
63
|
+
selectedIcon: cProps.selectedIcon,
|
|
64
|
+
title: cProps.title,
|
|
65
|
+
tintColor: tintColor,
|
|
66
|
+
unselectedTintColor: unselectedTintColor,
|
|
67
|
+
dataAttrs: (0, _getDataAttr.default)(cProps),
|
|
68
|
+
onClick: () => cProps.onPress && cProps.onPress()
|
|
69
|
+
});
|
|
70
|
+
}) : null;
|
|
71
|
+
let cls = "".concat(prefixCls, "-bar");
|
|
72
|
+
if (hidden) {
|
|
73
|
+
cls += " ".concat(prefixCls, "-bar-hidden-").concat(tabBarPosition);
|
|
74
|
+
}
|
|
75
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
76
|
+
className: cls,
|
|
77
|
+
style: {
|
|
78
|
+
backgroundColor: barTintColor
|
|
79
|
+
}
|
|
80
|
+
}, content);
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
render() {
|
|
84
|
+
const {
|
|
85
|
+
prefixCls,
|
|
86
|
+
children,
|
|
87
|
+
animated,
|
|
88
|
+
swipeable,
|
|
89
|
+
noRenderContent,
|
|
90
|
+
prerenderingSiblingsNumber,
|
|
91
|
+
tabBarPosition
|
|
92
|
+
} = this.props;
|
|
93
|
+
const tabs = this.getTabs();
|
|
94
|
+
let activeIndex = 0;
|
|
95
|
+
if (Array.isArray(tabs)) {
|
|
96
|
+
tabs.forEach((tab, index) => {
|
|
97
|
+
if (tab.selected) {
|
|
98
|
+
activeIndex = index;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
103
|
+
className: prefixCls
|
|
104
|
+
}, /*#__PURE__*/React.createElement(_Tabs.default, {
|
|
105
|
+
tabs: tabs,
|
|
106
|
+
renderTabBar: this.renderTabBar,
|
|
107
|
+
tabBarPosition: tabBarPosition,
|
|
108
|
+
page: activeIndex < 0 ? undefined : activeIndex,
|
|
109
|
+
animated: animated,
|
|
110
|
+
swipeable: swipeable,
|
|
111
|
+
noRenderContent: noRenderContent,
|
|
112
|
+
prerenderingSiblingsNumber: prerenderingSiblingsNumber
|
|
113
|
+
}, children));
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
AntTabBar.defaultProps = {
|
|
117
|
+
prefixCls: 'am-tab-bar',
|
|
118
|
+
barTintColor: 'white',
|
|
119
|
+
tintColor: '#108ee9',
|
|
120
|
+
hidden: false,
|
|
121
|
+
unselectedTintColor: '#888',
|
|
122
|
+
placeholder: '正在加载',
|
|
123
|
+
animated: false,
|
|
124
|
+
swipeable: false,
|
|
125
|
+
prerenderingSiblingsNumber: 1,
|
|
126
|
+
tabBarPosition: 'bottom'
|
|
127
|
+
};
|
|
128
|
+
AntTabBar.Item = Item;
|
|
129
|
+
var _default = exports.default = AntTabBar;
|
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
@import url('../css/am.css');
|
|
2
|
+
|
|
3
|
+
.am-tabs {
|
|
4
|
+
-webkit-box-sizing: border-box;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: -webkit-box;
|
|
7
|
+
display: -webkit-flex;
|
|
8
|
+
display: -ms-flexbox;
|
|
9
|
+
display: flex;
|
|
10
|
+
-webkit-box-flex: 1;
|
|
11
|
+
-webkit-flex: 1;
|
|
12
|
+
-ms-flex: 1;
|
|
13
|
+
flex: 1;
|
|
14
|
+
position: relative;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
height: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.am-tabs * {
|
|
21
|
+
-webkit-box-sizing: border-box;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.am-tabs-content-wrap {
|
|
26
|
+
display: -webkit-box;
|
|
27
|
+
display: -webkit-flex;
|
|
28
|
+
display: -ms-flexbox;
|
|
29
|
+
display: flex;
|
|
30
|
+
-webkit-box-flex: 1;
|
|
31
|
+
-webkit-flex: 1;
|
|
32
|
+
-ms-flex: 1;
|
|
33
|
+
flex: 1;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
min-height: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.am-tabs-content-wrap-animated {
|
|
40
|
+
-webkit-transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
41
|
+
transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
42
|
+
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
43
|
+
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), top 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
44
|
+
will-change: transform, left, top;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.am-tabs-pane-wrap {
|
|
48
|
+
width: 100%;
|
|
49
|
+
-webkit-flex-shrink: 0;
|
|
50
|
+
-ms-flex-negative: 0;
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
overflow-y: auto;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.am-tabs-tab-bar-wrap {
|
|
56
|
+
-webkit-flex-shrink: 0;
|
|
57
|
+
-ms-flex-negative: 0;
|
|
58
|
+
flex-shrink: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.am-tabs-horizontal .am-tabs-pane-wrap-active {
|
|
62
|
+
height: auto;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.am-tabs-horizontal .am-tabs-pane-wrap-inactive {
|
|
66
|
+
height: 0;
|
|
67
|
+
overflow: visible;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.am-tabs-vertical .am-tabs-content-wrap {
|
|
71
|
+
-webkit-box-orient: vertical;
|
|
72
|
+
-webkit-box-direction: normal;
|
|
73
|
+
-webkit-flex-direction: column;
|
|
74
|
+
-ms-flex-direction: column;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.am-tabs-vertical .am-tabs-tab-bar-wrap {
|
|
79
|
+
height: 100%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.am-tabs-vertical .am-tabs-pane-wrap {
|
|
83
|
+
height: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.am-tabs-vertical .am-tabs-pane-wrap-active {
|
|
87
|
+
overflow: auto;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.am-tabs-vertical .am-tabs-pane-wrap-inactive {
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.am-tabs-top,
|
|
95
|
+
.am-tabs-bottom {
|
|
96
|
+
-webkit-box-orient: vertical;
|
|
97
|
+
-webkit-box-direction: normal;
|
|
98
|
+
-webkit-flex-direction: column;
|
|
99
|
+
-ms-flex-direction: column;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.am-tabs-left,
|
|
104
|
+
.am-tabs-right {
|
|
105
|
+
-webkit-box-orient: horizontal;
|
|
106
|
+
-webkit-box-direction: normal;
|
|
107
|
+
-webkit-flex-direction: row;
|
|
108
|
+
-ms-flex-direction: row;
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.am-tabs-default-bar {
|
|
113
|
+
position: relative;
|
|
114
|
+
display: -webkit-box;
|
|
115
|
+
display: -webkit-flex;
|
|
116
|
+
display: -ms-flexbox;
|
|
117
|
+
display: flex;
|
|
118
|
+
-webkit-flex-shrink: 0;
|
|
119
|
+
-ms-flex-negative: 0;
|
|
120
|
+
flex-shrink: 0;
|
|
121
|
+
-webkit-box-orient: horizontal;
|
|
122
|
+
-webkit-box-direction: normal;
|
|
123
|
+
-webkit-flex-direction: row;
|
|
124
|
+
-ms-flex-direction: row;
|
|
125
|
+
flex-direction: row;
|
|
126
|
+
width: 100%;
|
|
127
|
+
height: 100%;
|
|
128
|
+
overflow: visible;
|
|
129
|
+
z-index: 1;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.am-tabs-default-bar-tab {
|
|
133
|
+
position: relative;
|
|
134
|
+
display: -webkit-box;
|
|
135
|
+
display: -webkit-flex;
|
|
136
|
+
display: -ms-flexbox;
|
|
137
|
+
display: flex;
|
|
138
|
+
-webkit-flex-shrink: 0;
|
|
139
|
+
-ms-flex-negative: 0;
|
|
140
|
+
flex-shrink: 0;
|
|
141
|
+
-webkit-box-pack: center;
|
|
142
|
+
-webkit-justify-content: center;
|
|
143
|
+
-ms-flex-pack: center;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
-webkit-box-align: center;
|
|
146
|
+
-webkit-align-items: center;
|
|
147
|
+
-ms-flex-align: center;
|
|
148
|
+
align-items: center;
|
|
149
|
+
font-size: 15px;
|
|
150
|
+
height: 43.5px;
|
|
151
|
+
line-height: 43.5px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.am-tabs-default-bar-tab .am-badge .am-badge-text {
|
|
155
|
+
top: -13px;
|
|
156
|
+
-webkit-transform: translateX(-5px);
|
|
157
|
+
-ms-transform: translateX(-5px);
|
|
158
|
+
transform: translateX(-5px);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.am-tabs-default-bar-tab .am-badge .am-badge-dot {
|
|
162
|
+
top: -6px;
|
|
163
|
+
-webkit-transform: translateX(0);
|
|
164
|
+
-ms-transform: translateX(0);
|
|
165
|
+
transform: translateX(0);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.am-tabs-default-bar-tab-active {
|
|
169
|
+
color: #108ee9;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.am-tabs-default-bar-underline {
|
|
173
|
+
position: absolute;
|
|
174
|
+
border: 1px #108ee9 solid;
|
|
175
|
+
-webkit-transform: translate3d(0, 0, 0);
|
|
176
|
+
transform: translate3d(0, 0, 0);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.am-tabs-default-bar-animated .am-tabs-default-bar-content {
|
|
180
|
+
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
181
|
+
transition: -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
182
|
+
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
183
|
+
transition: transform 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
184
|
+
will-change: transform;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.am-tabs-default-bar-animated .am-tabs-default-bar-underline {
|
|
188
|
+
-webkit-transition: top 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), color 0.3s cubic-bezier(0.35, 0, 0.25, 1), width 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
189
|
+
transition: top 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1), color 0.3s cubic-bezier(0.35, 0, 0.25, 1), width 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
190
|
+
will-change: top, left, width, color;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.am-tabs-default-bar-top,
|
|
194
|
+
.am-tabs-default-bar-bottom {
|
|
195
|
+
-webkit-box-orient: horizontal;
|
|
196
|
+
-webkit-box-direction: normal;
|
|
197
|
+
-webkit-flex-direction: row;
|
|
198
|
+
-ms-flex-direction: row;
|
|
199
|
+
flex-direction: row;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.am-tabs-default-bar-top .am-tabs-default-bar-content,
|
|
203
|
+
.am-tabs-default-bar-bottom .am-tabs-default-bar-content {
|
|
204
|
+
display: -webkit-box;
|
|
205
|
+
display: -webkit-flex;
|
|
206
|
+
display: -ms-flexbox;
|
|
207
|
+
display: flex;
|
|
208
|
+
width: 100%;
|
|
209
|
+
-webkit-box-orient: horizontal;
|
|
210
|
+
-webkit-box-direction: normal;
|
|
211
|
+
-webkit-flex-direction: row;
|
|
212
|
+
-ms-flex-direction: row;
|
|
213
|
+
flex-direction: row;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.am-tabs-default-bar-top .am-tabs-default-bar-prevpage,
|
|
217
|
+
.am-tabs-default-bar-bottom .am-tabs-default-bar-prevpage {
|
|
218
|
+
pointer-events: none;
|
|
219
|
+
position: absolute;
|
|
220
|
+
top: 0;
|
|
221
|
+
display: block;
|
|
222
|
+
width: 59px;
|
|
223
|
+
height: 100%;
|
|
224
|
+
content: ' ';
|
|
225
|
+
z-index: 999;
|
|
226
|
+
left: 0;
|
|
227
|
+
background: -webkit-gradient(linear, left top, right top, from(#ffffff), to(rgba(255, 255, 255, 0)));
|
|
228
|
+
background: -webkit-linear-gradient(left, #ffffff, rgba(255, 255, 255, 0));
|
|
229
|
+
background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.am-tabs-default-bar-top .am-tabs-default-bar-nextpage,
|
|
233
|
+
.am-tabs-default-bar-bottom .am-tabs-default-bar-nextpage {
|
|
234
|
+
pointer-events: none;
|
|
235
|
+
position: absolute;
|
|
236
|
+
top: 0;
|
|
237
|
+
display: block;
|
|
238
|
+
width: 59px;
|
|
239
|
+
height: 100%;
|
|
240
|
+
content: ' ';
|
|
241
|
+
z-index: 999;
|
|
242
|
+
right: 0;
|
|
243
|
+
background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(#ffffff));
|
|
244
|
+
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), #ffffff);
|
|
245
|
+
background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.am-tabs-default-bar-top .am-tabs-default-bar-tab,
|
|
249
|
+
.am-tabs-default-bar-bottom .am-tabs-default-bar-tab {
|
|
250
|
+
padding: 8px 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.am-tabs-default-bar-top .am-tabs-default-bar-underline,
|
|
254
|
+
.am-tabs-default-bar-bottom .am-tabs-default-bar-underline {
|
|
255
|
+
bottom: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.am-tabs-default-bar-top .am-tabs-default-bar-tab {
|
|
259
|
+
border-bottom: 1PX solid #ddd;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
263
|
+
(min-resolution: 2dppx) {
|
|
264
|
+
html:not([data-scale]) .am-tabs-default-bar-top .am-tabs-default-bar-tab {
|
|
265
|
+
border-bottom: none;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
html:not([data-scale]) .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
|
|
269
|
+
content: '';
|
|
270
|
+
position: absolute;
|
|
271
|
+
background-color: #ddd;
|
|
272
|
+
display: block;
|
|
273
|
+
z-index: 1;
|
|
274
|
+
top: auto;
|
|
275
|
+
right: auto;
|
|
276
|
+
bottom: 0;
|
|
277
|
+
left: 0;
|
|
278
|
+
width: 100%;
|
|
279
|
+
height: 1PX;
|
|
280
|
+
-webkit-transform-origin: 50% 100%;
|
|
281
|
+
-ms-transform-origin: 50% 100%;
|
|
282
|
+
transform-origin: 50% 100%;
|
|
283
|
+
-webkit-transform: scaleY(0.5);
|
|
284
|
+
-ms-transform: scaleY(0.5);
|
|
285
|
+
transform: scaleY(0.5);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
290
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
291
|
+
html:not([data-scale]) .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
|
|
292
|
+
-webkit-transform: scaleY(0.33);
|
|
293
|
+
-ms-transform: scaleY(0.33);
|
|
294
|
+
transform: scaleY(0.33);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.am-tabs-default-bar-bottom .am-tabs-default-bar-tab {
|
|
299
|
+
border-top: 1PX solid #ddd;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
303
|
+
(min-resolution: 2dppx) {
|
|
304
|
+
html:not([data-scale]) .am-tabs-default-bar-bottom .am-tabs-default-bar-tab {
|
|
305
|
+
border-top: none;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
html:not([data-scale]) .am-tabs-default-bar-bottom .am-tabs-default-bar-tab::before {
|
|
309
|
+
content: '';
|
|
310
|
+
position: absolute;
|
|
311
|
+
background-color: #ddd;
|
|
312
|
+
display: block;
|
|
313
|
+
z-index: 1;
|
|
314
|
+
top: 0;
|
|
315
|
+
right: auto;
|
|
316
|
+
bottom: auto;
|
|
317
|
+
left: 0;
|
|
318
|
+
width: 100%;
|
|
319
|
+
height: 1PX;
|
|
320
|
+
-webkit-transform-origin: 50% 50%;
|
|
321
|
+
-ms-transform-origin: 50% 50%;
|
|
322
|
+
transform-origin: 50% 50%;
|
|
323
|
+
-webkit-transform: scaleY(0.5);
|
|
324
|
+
-ms-transform: scaleY(0.5);
|
|
325
|
+
transform: scaleY(0.5);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
330
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
331
|
+
html:not([data-scale]) .am-tabs-default-bar-bottom .am-tabs-default-bar-tab::before {
|
|
332
|
+
-webkit-transform: scaleY(0.33);
|
|
333
|
+
-ms-transform: scaleY(0.33);
|
|
334
|
+
transform: scaleY(0.33);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.am-tabs-default-bar-left,
|
|
339
|
+
.am-tabs-default-bar-right {
|
|
340
|
+
-webkit-box-orient: vertical;
|
|
341
|
+
-webkit-box-direction: normal;
|
|
342
|
+
-webkit-flex-direction: column;
|
|
343
|
+
-ms-flex-direction: column;
|
|
344
|
+
flex-direction: column;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.am-tabs-default-bar-left .am-tabs-default-bar-content,
|
|
348
|
+
.am-tabs-default-bar-right .am-tabs-default-bar-content {
|
|
349
|
+
display: -webkit-box;
|
|
350
|
+
display: -webkit-flex;
|
|
351
|
+
display: -ms-flexbox;
|
|
352
|
+
display: flex;
|
|
353
|
+
height: 100%;
|
|
354
|
+
-webkit-box-orient: vertical;
|
|
355
|
+
-webkit-box-direction: normal;
|
|
356
|
+
-webkit-flex-direction: column;
|
|
357
|
+
-ms-flex-direction: column;
|
|
358
|
+
flex-direction: column;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.am-tabs-default-bar-left .am-tabs-default-bar-tab,
|
|
362
|
+
.am-tabs-default-bar-right .am-tabs-default-bar-tab {
|
|
363
|
+
padding: 0 8px;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.am-tabs-default-bar-left .am-tabs-default-bar-underline {
|
|
367
|
+
right: 0;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.am-tabs-default-bar-left .am-tabs-default-bar-tab {
|
|
371
|
+
border-right: 1PX solid #ddd;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
375
|
+
(min-resolution: 2dppx) {
|
|
376
|
+
html:not([data-scale]) .am-tabs-default-bar-left .am-tabs-default-bar-tab {
|
|
377
|
+
border-right: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
html:not([data-scale]) .am-tabs-default-bar-left .am-tabs-default-bar-tab::after {
|
|
381
|
+
content: '';
|
|
382
|
+
position: absolute;
|
|
383
|
+
background-color: #ddd;
|
|
384
|
+
display: block;
|
|
385
|
+
z-index: 1;
|
|
386
|
+
top: 0;
|
|
387
|
+
right: 0;
|
|
388
|
+
bottom: auto;
|
|
389
|
+
left: auto;
|
|
390
|
+
width: 1PX;
|
|
391
|
+
height: 100%;
|
|
392
|
+
background: #ddd;
|
|
393
|
+
-webkit-transform-origin: 100% 50%;
|
|
394
|
+
-ms-transform-origin: 100% 50%;
|
|
395
|
+
transform-origin: 100% 50%;
|
|
396
|
+
-webkit-transform: scaleX(0.5);
|
|
397
|
+
-ms-transform: scaleX(0.5);
|
|
398
|
+
transform: scaleX(0.5);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
403
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
404
|
+
html:not([data-scale]) .am-tabs-default-bar-left .am-tabs-default-bar-tab::after {
|
|
405
|
+
-webkit-transform: scaleX(0.33);
|
|
406
|
+
-ms-transform: scaleX(0.33);
|
|
407
|
+
transform: scaleX(0.33);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.am-tabs-default-bar-right .am-tabs-default-bar-underline {
|
|
412
|
+
left: 0;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.am-tabs-default-bar-right .am-tabs-default-bar-tab {
|
|
416
|
+
border-left: 1PX solid #ddd;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
420
|
+
(min-resolution: 2dppx) {
|
|
421
|
+
html:not([data-scale]) .am-tabs-default-bar-right .am-tabs-default-bar-tab {
|
|
422
|
+
border-left: none;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
html:not([data-scale]) .am-tabs-default-bar-right .am-tabs-default-bar-tab::before {
|
|
426
|
+
content: '';
|
|
427
|
+
position: absolute;
|
|
428
|
+
background-color: #ddd;
|
|
429
|
+
display: block;
|
|
430
|
+
z-index: 1;
|
|
431
|
+
top: 0;
|
|
432
|
+
right: auto;
|
|
433
|
+
bottom: auto;
|
|
434
|
+
left: 0;
|
|
435
|
+
width: 1PX;
|
|
436
|
+
height: 100%;
|
|
437
|
+
-webkit-transform-origin: 100% 50%;
|
|
438
|
+
-ms-transform-origin: 100% 50%;
|
|
439
|
+
transform-origin: 100% 50%;
|
|
440
|
+
-webkit-transform: scaleX(0.5);
|
|
441
|
+
-ms-transform: scaleX(0.5);
|
|
442
|
+
transform: scaleX(0.5);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
447
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
448
|
+
html:not([data-scale]) .am-tabs-default-bar-right .am-tabs-default-bar-tab::before {
|
|
449
|
+
-webkit-transform: scaleX(0.33);
|
|
450
|
+
-ms-transform: scaleX(0.33);
|
|
451
|
+
transform: scaleX(0.33);
|
|
452
|
+
}
|
|
453
|
+
}
|