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,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.addClass = addClass;
|
|
7
|
+
exports.hasClass = hasClass;
|
|
8
|
+
exports.removeClass = removeClass;
|
|
9
|
+
function hasClass(node, className) {
|
|
10
|
+
if (node.classList) {
|
|
11
|
+
return node.classList.contains(className);
|
|
12
|
+
}
|
|
13
|
+
const originClass = node.className;
|
|
14
|
+
return " ".concat(originClass, " ").indexOf(" ".concat(className, " ")) > -1;
|
|
15
|
+
}
|
|
16
|
+
function addClass(node, className) {
|
|
17
|
+
if (node.classList) {
|
|
18
|
+
node.classList.add(className);
|
|
19
|
+
} else {
|
|
20
|
+
if (!hasClass(node, className)) {
|
|
21
|
+
node.className = "".concat(node.className, " ").concat(className);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function removeClass(node, className) {
|
|
26
|
+
if (node.classList) {
|
|
27
|
+
node.classList.remove(className);
|
|
28
|
+
} else {
|
|
29
|
+
if (hasClass(node, className)) {
|
|
30
|
+
const originClass = node.className;
|
|
31
|
+
node.className = " ".concat(originClass, " ").replace(" ".concat(className, " "), '');
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = closest;
|
|
7
|
+
function closest(el, selector) {
|
|
8
|
+
const matchesSelector = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;
|
|
9
|
+
let p = el;
|
|
10
|
+
while (p) {
|
|
11
|
+
if (matchesSelector.call(p, selector)) {
|
|
12
|
+
return p;
|
|
13
|
+
}
|
|
14
|
+
p = p.parentElement;
|
|
15
|
+
}
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.canUseDOM = exports.IS_IOS = void 0;
|
|
7
|
+
const canUseDOM = exports.canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
8
|
+
const IS_IOS = exports.IS_IOS = canUseDOM && /iphone|ipad|ipod/i.test(window.navigator.userAgent);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
const getDataAttr = props => {
|
|
8
|
+
return Object.keys(props).reduce((prev, key) => {
|
|
9
|
+
if (key.substr(0, 5) === 'aria-' || key.substr(0, 5) === 'data-' || key === 'role') {
|
|
10
|
+
prev[key] = props[key];
|
|
11
|
+
}
|
|
12
|
+
return prev;
|
|
13
|
+
}, {});
|
|
14
|
+
};
|
|
15
|
+
var _default = exports.default = getDataAttr;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getComponentLocale = getComponentLocale;
|
|
7
|
+
exports.getLocaleCode = getLocaleCode;
|
|
8
|
+
function getComponentLocale(props, context, componentName, getDefaultLocale) {
|
|
9
|
+
let locale = {};
|
|
10
|
+
if (context && context.antLocale && context.antLocale[componentName]) {
|
|
11
|
+
locale = context.antLocale[componentName];
|
|
12
|
+
} else {
|
|
13
|
+
const defaultLocale = getDefaultLocale();
|
|
14
|
+
// TODO: make default lang of antd be English
|
|
15
|
+
// https://github.com/ant-design/ant-design/issues/6334
|
|
16
|
+
locale = defaultLocale.default || defaultLocale;
|
|
17
|
+
}
|
|
18
|
+
let result = {
|
|
19
|
+
...locale
|
|
20
|
+
};
|
|
21
|
+
if (props.locale) {
|
|
22
|
+
result = {
|
|
23
|
+
...result,
|
|
24
|
+
...props.locale
|
|
25
|
+
};
|
|
26
|
+
if (props.locale.lang) {
|
|
27
|
+
result.lang = {
|
|
28
|
+
...locale.lang,
|
|
29
|
+
...props.locale.lang
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return result;
|
|
34
|
+
}
|
|
35
|
+
function getLocaleCode(context) {
|
|
36
|
+
const localeCode = context.antLocale && context.antLocale.locale;
|
|
37
|
+
// Had use LocaleProvide but didn't set locale
|
|
38
|
+
if (context.antLocale && context.antLocale.exist && !localeCode) {
|
|
39
|
+
return 'zh-cn';
|
|
40
|
+
}
|
|
41
|
+
return localeCode;
|
|
42
|
+
}
|
package/lib/constants/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
7
|
+
exports.SIMPLE_CELL_FORMULA_RESULTS = exports.SIMPLE_CELL_COLUMNS = exports.ROW_EXPAND_FOCUS_STYLE = exports.ROW_EXPAND_BTN_FOCUS_STYLE = exports.NUMBER_TYPES = exports.LONG_TEXT_LENGTH_LIMIT = exports.LONG_TEXT_EXCEED_LIMIT_SUGGEST = exports.LONG_TEXT_EXCEED_LIMIT_MESSAGE = exports.KeyCodes = exports.FORMAT_REG_EXP_LIST = exports.FILE_EDITOR_STATUS = exports.EVENT_BUS_TYPE = exports.DELETED_OPTION_TIPS = exports.DELETED_OPTION_BACKGROUND_COLOR = exports.DEFAULT_CHECKBOX_MARK_STYLE = exports.DATE_TYPES = exports.ARRAY_FORMAT_COLUMNS = void 0;
|
|
8
8
|
var _dtableUtils = require("dtable-utils");
|
|
9
9
|
var _keyCodes = _interopRequireDefault(require("./key-codes"));
|
|
10
10
|
const NUMBER_TYPES = exports.NUMBER_TYPES = {
|
|
@@ -53,5 +53,4 @@ const LONG_TEXT_LENGTH_LIMIT = exports.LONG_TEXT_LENGTH_LIMIT = 10 * 10000;
|
|
|
53
53
|
const FILE_EDITOR_STATUS = exports.FILE_EDITOR_STATUS = {
|
|
54
54
|
PREVIEWER: 'previewer',
|
|
55
55
|
ADDITION: 'addition'
|
|
56
|
-
};
|
|
57
|
-
const isMobile = exports.isMobile = typeof window !== 'undefined' && (window.innerWidth < 768 || navigator.userAgent.toLowerCase().match(/(ipod|ipad|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i) != null);
|
|
56
|
+
};
|
package/lib/css/am.css
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
/*do not import this file except components/style/index.less*/
|
|
2
|
+
.am-fade-enter,
|
|
3
|
+
.am-fade-appear {
|
|
4
|
+
opacity: 0;
|
|
5
|
+
-webkit-animation-duration: .2s;
|
|
6
|
+
animation-duration: .2s;
|
|
7
|
+
-webkit-animation-fill-mode: both;
|
|
8
|
+
animation-fill-mode: both;
|
|
9
|
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
10
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
11
|
+
-webkit-animation-play-state: paused;
|
|
12
|
+
animation-play-state: paused;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.am-fade-leave {
|
|
16
|
+
-webkit-animation-duration: .2s;
|
|
17
|
+
animation-duration: .2s;
|
|
18
|
+
-webkit-animation-fill-mode: both;
|
|
19
|
+
animation-fill-mode: both;
|
|
20
|
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
21
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
22
|
+
-webkit-animation-play-state: paused;
|
|
23
|
+
animation-play-state: paused;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.am-fade-enter.am-fade-enter-active,
|
|
27
|
+
.am-fade-appear.am-fade-appear-active {
|
|
28
|
+
-webkit-animation-name: amFadeIn;
|
|
29
|
+
animation-name: amFadeIn;
|
|
30
|
+
-webkit-animation-play-state: running;
|
|
31
|
+
animation-play-state: running;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.am-fade-leave.am-fade-leave-active {
|
|
35
|
+
-webkit-animation-name: amFadeOut;
|
|
36
|
+
animation-name: amFadeOut;
|
|
37
|
+
-webkit-animation-play-state: running;
|
|
38
|
+
animation-play-state: running;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@-webkit-keyframes amFadeIn {
|
|
42
|
+
0% {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
100% {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes amFadeIn {
|
|
52
|
+
0% {
|
|
53
|
+
opacity: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@-webkit-keyframes amFadeOut {
|
|
62
|
+
0% {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
100% {
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@keyframes amFadeOut {
|
|
72
|
+
0% {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
100% {
|
|
77
|
+
opacity: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.am-slide-up-enter,
|
|
82
|
+
.am-slide-up-appear {
|
|
83
|
+
-webkit-transform: translate(0, 100%);
|
|
84
|
+
-ms-transform: translate(0, 100%);
|
|
85
|
+
transform: translate(0, 100%);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.am-slide-up-enter,
|
|
89
|
+
.am-slide-up-appear,
|
|
90
|
+
.am-slide-up-leave {
|
|
91
|
+
-webkit-animation-duration: .2s;
|
|
92
|
+
animation-duration: .2s;
|
|
93
|
+
-webkit-animation-fill-mode: both;
|
|
94
|
+
animation-fill-mode: both;
|
|
95
|
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
96
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
97
|
+
-webkit-animation-play-state: paused;
|
|
98
|
+
animation-play-state: paused;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.am-slide-up-enter.am-slide-up-enter-active,
|
|
102
|
+
.am-slide-up-appear.am-slide-up-appear-active {
|
|
103
|
+
-webkit-animation-name: amSlideUpIn;
|
|
104
|
+
animation-name: amSlideUpIn;
|
|
105
|
+
-webkit-animation-play-state: running;
|
|
106
|
+
animation-play-state: running;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.am-slide-up-leave.am-slide-up-leave-active {
|
|
110
|
+
-webkit-animation-name: amSlideUpOut;
|
|
111
|
+
animation-name: amSlideUpOut;
|
|
112
|
+
-webkit-animation-play-state: running;
|
|
113
|
+
animation-play-state: running;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@-webkit-keyframes amSlideUpIn {
|
|
117
|
+
0% {
|
|
118
|
+
-webkit-transform: translate(0, 100%);
|
|
119
|
+
transform: translate(0, 100%);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
100% {
|
|
123
|
+
-webkit-transform: translate(0, 0);
|
|
124
|
+
transform: translate(0, 0);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@keyframes amSlideUpIn {
|
|
129
|
+
0% {
|
|
130
|
+
-webkit-transform: translate(0, 100%);
|
|
131
|
+
transform: translate(0, 100%);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
100% {
|
|
135
|
+
-webkit-transform: translate(0, 0);
|
|
136
|
+
transform: translate(0, 0);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@-webkit-keyframes amSlideUpOut {
|
|
141
|
+
0% {
|
|
142
|
+
-webkit-transform: translate(0, 0);
|
|
143
|
+
transform: translate(0, 0);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
100% {
|
|
147
|
+
-webkit-transform: translate(0, 100%);
|
|
148
|
+
transform: translate(0, 100%);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@keyframes amSlideUpOut {
|
|
153
|
+
0% {
|
|
154
|
+
-webkit-transform: translate(0, 0);
|
|
155
|
+
transform: translate(0, 0);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
100% {
|
|
159
|
+
-webkit-transform: translate(0, 100%);
|
|
160
|
+
transform: translate(0, 100%);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.am.am-zoom-enter,
|
|
165
|
+
.am.am-zoom-leave {
|
|
166
|
+
display: block;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.am-zoom-enter,
|
|
170
|
+
.am-zoom-appear {
|
|
171
|
+
opacity: 0;
|
|
172
|
+
-webkit-animation-duration: .2s;
|
|
173
|
+
animation-duration: .2s;
|
|
174
|
+
-webkit-animation-fill-mode: both;
|
|
175
|
+
animation-fill-mode: both;
|
|
176
|
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
177
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
178
|
+
-webkit-animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
|
|
179
|
+
animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
|
|
180
|
+
-webkit-animation-play-state: paused;
|
|
181
|
+
animation-play-state: paused;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.am-zoom-leave {
|
|
185
|
+
-webkit-animation-duration: .2s;
|
|
186
|
+
animation-duration: .2s;
|
|
187
|
+
-webkit-animation-fill-mode: both;
|
|
188
|
+
animation-fill-mode: both;
|
|
189
|
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
190
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
191
|
+
-webkit-animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05);
|
|
192
|
+
animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05);
|
|
193
|
+
-webkit-animation-play-state: paused;
|
|
194
|
+
animation-play-state: paused;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.am-zoom-enter.am-zoom-enter-active,
|
|
198
|
+
.am-zoom-appear.am-zoom-appear-active {
|
|
199
|
+
-webkit-animation-name: amZoomIn;
|
|
200
|
+
animation-name: amZoomIn;
|
|
201
|
+
-webkit-animation-play-state: running;
|
|
202
|
+
animation-play-state: running;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.am-zoom-leave.am-zoom-leave-active {
|
|
206
|
+
-webkit-animation-name: amZoomOut;
|
|
207
|
+
animation-name: amZoomOut;
|
|
208
|
+
-webkit-animation-play-state: running;
|
|
209
|
+
animation-play-state: running;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@-webkit-keyframes amZoomIn {
|
|
213
|
+
0% {
|
|
214
|
+
opacity: 0;
|
|
215
|
+
-webkit-transform-origin: 50% 50%;
|
|
216
|
+
transform-origin: 50% 50%;
|
|
217
|
+
-webkit-transform: scale(0, 0);
|
|
218
|
+
transform: scale(0, 0);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
100% {
|
|
222
|
+
opacity: 1;
|
|
223
|
+
-webkit-transform-origin: 50% 50%;
|
|
224
|
+
transform-origin: 50% 50%;
|
|
225
|
+
-webkit-transform: scale(1, 1);
|
|
226
|
+
transform: scale(1, 1);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@keyframes amZoomIn {
|
|
231
|
+
0% {
|
|
232
|
+
opacity: 0;
|
|
233
|
+
-webkit-transform-origin: 50% 50%;
|
|
234
|
+
transform-origin: 50% 50%;
|
|
235
|
+
-webkit-transform: scale(0, 0);
|
|
236
|
+
transform: scale(0, 0);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
100% {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
-webkit-transform-origin: 50% 50%;
|
|
242
|
+
transform-origin: 50% 50%;
|
|
243
|
+
-webkit-transform: scale(1, 1);
|
|
244
|
+
transform: scale(1, 1);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
@-webkit-keyframes amZoomOut {
|
|
249
|
+
0% {
|
|
250
|
+
opacity: 1;
|
|
251
|
+
-webkit-transform-origin: 50% 50%;
|
|
252
|
+
transform-origin: 50% 50%;
|
|
253
|
+
-webkit-transform: scale(1, 1);
|
|
254
|
+
transform: scale(1, 1);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
100% {
|
|
258
|
+
opacity: 0;
|
|
259
|
+
-webkit-transform-origin: 50% 50%;
|
|
260
|
+
transform-origin: 50% 50%;
|
|
261
|
+
-webkit-transform: scale(0, 0);
|
|
262
|
+
transform: scale(0, 0);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@keyframes amZoomOut {
|
|
267
|
+
0% {
|
|
268
|
+
opacity: 1;
|
|
269
|
+
-webkit-transform-origin: 50% 50%;
|
|
270
|
+
transform-origin: 50% 50%;
|
|
271
|
+
-webkit-transform: scale(1, 1);
|
|
272
|
+
transform: scale(1, 1);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
100% {
|
|
276
|
+
opacity: 0;
|
|
277
|
+
-webkit-transform-origin: 50% 50%;
|
|
278
|
+
transform-origin: 50% 50%;
|
|
279
|
+
-webkit-transform: scale(0, 0);
|
|
280
|
+
transform: scale(0, 0);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.am-slide-down-enter,
|
|
285
|
+
.am-slide-down-appear {
|
|
286
|
+
-webkit-transform: translate(0, -100%);
|
|
287
|
+
-ms-transform: translate(0, -100%);
|
|
288
|
+
transform: translate(0, -100%);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.am-slide-down-enter,
|
|
292
|
+
.am-slide-down-appear,
|
|
293
|
+
.am-slide-down-leave {
|
|
294
|
+
-webkit-animation-duration: .2s;
|
|
295
|
+
animation-duration: .2s;
|
|
296
|
+
-webkit-animation-fill-mode: both;
|
|
297
|
+
animation-fill-mode: both;
|
|
298
|
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
299
|
+
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
300
|
+
-webkit-animation-play-state: paused;
|
|
301
|
+
animation-play-state: paused;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.am-slide-down-enter.am-slide-down-enter-active,
|
|
305
|
+
.am-slide-down-appear.am-slide-down-appear-active {
|
|
306
|
+
-webkit-animation-name: amSlideDownIn;
|
|
307
|
+
animation-name: amSlideDownIn;
|
|
308
|
+
-webkit-animation-play-state: running;
|
|
309
|
+
animation-play-state: running;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.am-slide-down-leave.am-slide-down-leave-active {
|
|
313
|
+
-webkit-animation-name: amSlideDownOut;
|
|
314
|
+
animation-name: amSlideDownOut;
|
|
315
|
+
-webkit-animation-play-state: running;
|
|
316
|
+
animation-play-state: running;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
@-webkit-keyframes amSlideDownIn {
|
|
320
|
+
0% {
|
|
321
|
+
-webkit-transform: translate(0, -100%);
|
|
322
|
+
transform: translate(0, -100%);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
100% {
|
|
326
|
+
-webkit-transform: translate(0, 0);
|
|
327
|
+
transform: translate(0, 0);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@keyframes amSlideDownIn {
|
|
332
|
+
0% {
|
|
333
|
+
-webkit-transform: translate(0, -100%);
|
|
334
|
+
transform: translate(0, -100%);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
100% {
|
|
338
|
+
-webkit-transform: translate(0, 0);
|
|
339
|
+
transform: translate(0, 0);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
@-webkit-keyframes amSlideDownOut {
|
|
344
|
+
0% {
|
|
345
|
+
-webkit-transform: translate(0, 0);
|
|
346
|
+
transform: translate(0, 0);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
100% {
|
|
350
|
+
-webkit-transform: translate(0, -100%);
|
|
351
|
+
transform: translate(0, -100%);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@keyframes amSlideDownOut {
|
|
356
|
+
0% {
|
|
357
|
+
-webkit-transform: translate(0, 0);
|
|
358
|
+
transform: translate(0, 0);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
100% {
|
|
362
|
+
-webkit-transform: translate(0, -100%);
|
|
363
|
+
transform: translate(0, -100%);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
*,
|
|
368
|
+
*:before,
|
|
369
|
+
*:after {
|
|
370
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
body {
|
|
374
|
+
background-color: #f5f5f9;
|
|
375
|
+
font-size: 14px;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
*[contenteditable] {
|
|
379
|
+
-webkit-user-select: auto !important;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
*:focus {
|
|
383
|
+
outline: none;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
a {
|
|
387
|
+
background: transparent;
|
|
388
|
+
text-decoration: none;
|
|
389
|
+
outline: none;
|
|
390
|
+
}
|