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,524 @@
|
|
|
1
|
+
@import url('../../css/am.css');
|
|
2
|
+
|
|
3
|
+
.am-list-item .am-input-control .fake-input-container {
|
|
4
|
+
height: 30px;
|
|
5
|
+
line-height: 30px;
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.am-list-item .am-input-control .fake-input-container .fake-input {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
margin-right: 5px;
|
|
16
|
+
-webkit-text-decoration: rtl;
|
|
17
|
+
text-decoration: rtl;
|
|
18
|
+
text-align: right;
|
|
19
|
+
color: #000;
|
|
20
|
+
font-size: 17px;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
text-overflow: ellipsis;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.am-list-item .am-input-control .fake-input-container .fake-input.fake-input-disabled {
|
|
27
|
+
color: #bbb;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.am-list-item .am-input-control .fake-input-container .fake-input.focus {
|
|
31
|
+
-webkit-transition: color .2s;
|
|
32
|
+
transition: color .2s;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.am-list-item .am-input-control .fake-input-container .fake-input.focus:after {
|
|
36
|
+
content: "";
|
|
37
|
+
position: absolute;
|
|
38
|
+
right: 0;
|
|
39
|
+
top: 10%;
|
|
40
|
+
height: 80%;
|
|
41
|
+
border-right: 1.5px solid #108ee9;
|
|
42
|
+
-webkit-animation: keyboard-cursor infinite 1s step-start;
|
|
43
|
+
animation: keyboard-cursor infinite 1s step-start;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.am-list-item .am-input-control .fake-input-container .fake-input-placeholder {
|
|
47
|
+
position: absolute;
|
|
48
|
+
top: 0;
|
|
49
|
+
left: 0;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
color: #bbb;
|
|
53
|
+
text-align: right;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.am-list-item .am-input-control .fake-input-container-left .fake-input {
|
|
57
|
+
text-align: left;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.am-list-item .am-input-control .fake-input-container-left .fake-input.focus:after {
|
|
61
|
+
position: relative;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.am-list-item .am-input-control .fake-input-container-left .fake-input-placeholder {
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.am-number-keyboard-wrapper {
|
|
69
|
+
position: fixed;
|
|
70
|
+
bottom: 0;
|
|
71
|
+
left: 0;
|
|
72
|
+
right: 0;
|
|
73
|
+
width: 100%;
|
|
74
|
+
z-index: 10000;
|
|
75
|
+
font-family: 'PingFang SC';
|
|
76
|
+
background-color: #f6f6f7;
|
|
77
|
+
-webkit-transition-duration: 0.2s;
|
|
78
|
+
transition-duration: 0.2s;
|
|
79
|
+
-webkit-transition-property: -webkit-transform display;
|
|
80
|
+
transition-property: -webkit-transform display;
|
|
81
|
+
transition-property: transform display;
|
|
82
|
+
transition-property: transform display, -webkit-transform display;
|
|
83
|
+
-webkit-transform: translateZ(0);
|
|
84
|
+
transform: translateZ(0);
|
|
85
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.am-number-keyboard-wrapper.am-number-keyboard-wrapper-hide {
|
|
89
|
+
bottom: -500px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.am-number-keyboard-wrapper table {
|
|
93
|
+
width: 100%;
|
|
94
|
+
padding: 0;
|
|
95
|
+
margin: 0;
|
|
96
|
+
border-collapse: collapse;
|
|
97
|
+
border-top: 1PX solid #ddd;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
101
|
+
(min-resolution: 2dppx) {
|
|
102
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table {
|
|
103
|
+
border-top: none;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table::before {
|
|
107
|
+
content: '';
|
|
108
|
+
position: absolute;
|
|
109
|
+
background-color: #ddd;
|
|
110
|
+
display: block;
|
|
111
|
+
z-index: 1;
|
|
112
|
+
top: 0;
|
|
113
|
+
right: auto;
|
|
114
|
+
bottom: auto;
|
|
115
|
+
left: 0;
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: 1PX;
|
|
118
|
+
-webkit-transform-origin: 50% 50%;
|
|
119
|
+
-ms-transform-origin: 50% 50%;
|
|
120
|
+
transform-origin: 50% 50%;
|
|
121
|
+
-webkit-transform: scaleY(0.5);
|
|
122
|
+
-ms-transform: scaleY(0.5);
|
|
123
|
+
transform: scaleY(0.5);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
128
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
129
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table::before {
|
|
130
|
+
-webkit-transform: scaleY(0.33);
|
|
131
|
+
-ms-transform: scaleY(0.33);
|
|
132
|
+
transform: scaleY(0.33);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.am-number-keyboard-wrapper table tr {
|
|
137
|
+
width: 100%;
|
|
138
|
+
padding: 0;
|
|
139
|
+
margin: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item {
|
|
143
|
+
width: 25%;
|
|
144
|
+
padding: 0;
|
|
145
|
+
margin: 0;
|
|
146
|
+
height: 50px;
|
|
147
|
+
text-align: center;
|
|
148
|
+
font-size: 25.5px;
|
|
149
|
+
color: #2a2b2c;
|
|
150
|
+
position: relative;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm) {
|
|
154
|
+
border-left: 1PX solid #ddd;
|
|
155
|
+
border-bottom: 1PX solid #ddd;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
159
|
+
(min-resolution: 2dppx) {
|
|
160
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm) {
|
|
161
|
+
border-left: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::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: 1PX;
|
|
175
|
+
height: 100%;
|
|
176
|
+
-webkit-transform-origin: 100% 50%;
|
|
177
|
+
-ms-transform-origin: 100% 50%;
|
|
178
|
+
transform-origin: 100% 50%;
|
|
179
|
+
-webkit-transform: scaleX(0.5);
|
|
180
|
+
-ms-transform: scaleX(0.5);
|
|
181
|
+
transform: scaleX(0.5);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
186
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
187
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::before {
|
|
188
|
+
-webkit-transform: scaleX(0.33);
|
|
189
|
+
-ms-transform: scaleX(0.33);
|
|
190
|
+
transform: scaleX(0.33);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
195
|
+
(min-resolution: 2dppx) {
|
|
196
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm) {
|
|
197
|
+
border-bottom: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::after {
|
|
201
|
+
content: '';
|
|
202
|
+
position: absolute;
|
|
203
|
+
background-color: #ddd;
|
|
204
|
+
display: block;
|
|
205
|
+
z-index: 1;
|
|
206
|
+
top: auto;
|
|
207
|
+
right: auto;
|
|
208
|
+
bottom: 0;
|
|
209
|
+
left: 0;
|
|
210
|
+
width: 100%;
|
|
211
|
+
height: 1PX;
|
|
212
|
+
-webkit-transform-origin: 50% 100%;
|
|
213
|
+
-ms-transform-origin: 50% 100%;
|
|
214
|
+
transform-origin: 50% 100%;
|
|
215
|
+
-webkit-transform: scaleY(0.5);
|
|
216
|
+
-ms-transform: scaleY(0.5);
|
|
217
|
+
transform: scaleY(0.5);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
222
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
223
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::after {
|
|
224
|
+
-webkit-transform: scaleY(0.33);
|
|
225
|
+
-ms-transform: scaleY(0.33);
|
|
226
|
+
transform: scaleY(0.33);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.am-number-keyboard-item-active {
|
|
231
|
+
background-color: #ddd;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm {
|
|
235
|
+
color: #fff;
|
|
236
|
+
font-size: 21px;
|
|
237
|
+
background-color: #108ee9;
|
|
238
|
+
border-bottom: 1PX solid #ddd;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
242
|
+
(min-resolution: 2dppx) {
|
|
243
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm {
|
|
244
|
+
border-bottom: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm::after {
|
|
248
|
+
content: '';
|
|
249
|
+
position: absolute;
|
|
250
|
+
background-color: #ddd;
|
|
251
|
+
display: block;
|
|
252
|
+
z-index: 1;
|
|
253
|
+
top: auto;
|
|
254
|
+
right: auto;
|
|
255
|
+
bottom: 0;
|
|
256
|
+
left: 0;
|
|
257
|
+
width: 100%;
|
|
258
|
+
height: 1PX;
|
|
259
|
+
-webkit-transform-origin: 50% 100%;
|
|
260
|
+
-ms-transform-origin: 50% 100%;
|
|
261
|
+
transform-origin: 50% 100%;
|
|
262
|
+
-webkit-transform: scaleY(0.5);
|
|
263
|
+
-ms-transform: scaleY(0.5);
|
|
264
|
+
transform: scaleY(0.5);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
269
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
270
|
+
html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm::after {
|
|
271
|
+
-webkit-transform: scaleY(0.33);
|
|
272
|
+
-ms-transform: scaleY(0.33);
|
|
273
|
+
transform: scaleY(0.33);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm.am-number-keyboard-item-active {
|
|
278
|
+
background-color: #0e80d2;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm.am-number-keyboard-item-disabled {
|
|
282
|
+
background-color: #0e80d2;
|
|
283
|
+
color: rgba(255, 255, 255, 0.45);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-delete {
|
|
287
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22204%22%20height%3D%22148%22%20viewBox%3D%220%200%20153.000000%20111.000000%22%3E%3Cpath%20d%3D%22M46.9%204.7c-2.5%202.6-14.1%2015.5-25.8%2028.6L-.1%2057l25.6%2027%2025.7%2027.1%2047.4-.3%2047.4-.3%203.2-3.3%203.3-3.2V7l-3.3-3.2L146%20.5%2098.7.2%2051.5-.1l-4.6%204.8zm97.9%203.5c1.7%201.7%201.7%2092.9%200%2094.6-.9.9-12.6%201.2-46.3%201.2H53.4L31.2%2080.4%209%2056.9l5.1-5.7c2.8-3.1%2012.8-14.4%2022.2-24.9L53.5%207h45c33.8%200%2045.4.3%2046.3%201.2z%22%2F%3E%3Cpath%20d%3D%22M69.5%2031c-1.9%202.1-1.7%202.2%209.3%2013.3L90%2055.5%2078.8%2066.7%2067.5%2078l2.3%202.2%202.2%202.3%2011.3-11.3L94.5%2060l11.2%2011.2L117%2082.5l2.2-2.3%202.3-2.2-11.3-11.3L99%2055.5l11.2-11.2L121.5%2033l-2.3-2.2-2.2-2.3-11.3%2011.3L94.5%2051l-11-11c-6-6-11.2-11-11.6-11-.3%200-1.4.9-2.4%202z%22%2F%3E%3C%2Fsvg%3E");
|
|
288
|
+
background-size: 25.5px 18.5px;
|
|
289
|
+
background-position: 50% 50%;
|
|
290
|
+
background-repeat: no-repeat;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-hide {
|
|
294
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22260%22%20height%3D%22188%22%20viewBox%3D%220%200%20195.000000%20141.000000%22%3E%3Cpath%20d%3D%22M0%2057v57h195V0H0v57zm183%200v45H12V12h171v45z%22%2F%3E%3Cpath%20d%3D%22M21%2031.5V39h15V24H21v7.5zM48%2031.5V39h15V24H48v7.5zM75%2031.5V39h15V24H75v7.5zM102%2031.5V39h15V24h-15v7.5zM129%2031.5V39h15V24h-15v7.5zM156%2031.5V39h15V24h-15v7.5zM36%2055.5V63h15V48H36v7.5zM63%2055.5V63h15V48H63v7.5zM90%2055.5V63h15V48H90v7.5zM117%2055.5V63h15V48h-15v7.5zM144%2055.5V63h15V48h-15v7.5zM27%2079.5V87h15V72H27v7.5zM48%2079.5V87h96V72H48v7.5zM150%2079.5V87h15V72h-15v7.5zM81%20124.5c0%20.8.7%201.5%201.5%201.5s1.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5c0-1.3-2.5-1.5-16.5-1.5s-16.5.2-16.5%201.5z%22%2F%3E%3C%2Fsvg%3E");
|
|
295
|
+
background-size: 32.5px 23.5px;
|
|
296
|
+
background-position: 50% 50%;
|
|
297
|
+
background-repeat: no-repeat;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.am-number-keyboard-wrapper table tr .am-number-keyboard-item-disabled {
|
|
301
|
+
color: #bbb;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@-webkit-keyframes keyboard-cursor {
|
|
305
|
+
0% {
|
|
306
|
+
opacity: 1;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
50% {
|
|
310
|
+
opacity: 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
to {
|
|
314
|
+
opacity: 1;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
@keyframes keyboard-cursor {
|
|
319
|
+
0% {
|
|
320
|
+
opacity: 1;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
50% {
|
|
324
|
+
opacity: 0;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
to {
|
|
328
|
+
opacity: 1;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.am-list-item.am-input-item {
|
|
333
|
+
height: 44px;
|
|
334
|
+
padding-left: 15px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.am-list-item:not(:last-child) .am-list-line {
|
|
338
|
+
border-bottom: 1PX solid #ddd;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@media (-webkit-min-device-pixel-ratio: 2),
|
|
342
|
+
(min-resolution: 2dppx) {
|
|
343
|
+
html:not([data-scale]) .am-list-item:not(:last-child) .am-list-line {
|
|
344
|
+
border-bottom: none;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
html:not([data-scale]) .am-list-item:not(:last-child) .am-list-line::after {
|
|
348
|
+
content: '';
|
|
349
|
+
position: absolute;
|
|
350
|
+
background-color: #ddd;
|
|
351
|
+
display: block;
|
|
352
|
+
z-index: 1;
|
|
353
|
+
top: auto;
|
|
354
|
+
right: auto;
|
|
355
|
+
bottom: 0;
|
|
356
|
+
left: 0;
|
|
357
|
+
width: 100%;
|
|
358
|
+
height: 1PX;
|
|
359
|
+
-webkit-transform-origin: 50% 100%;
|
|
360
|
+
-ms-transform-origin: 50% 100%;
|
|
361
|
+
transform-origin: 50% 100%;
|
|
362
|
+
-webkit-transform: scaleY(0.5);
|
|
363
|
+
-ms-transform: scaleY(0.5);
|
|
364
|
+
transform: scaleY(0.5);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
@media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3),
|
|
369
|
+
(min-resolution: 2dppx) and (min-resolution: 3dppx) {
|
|
370
|
+
html:not([data-scale]) .am-list-item:not(:last-child) .am-list-line::after {
|
|
371
|
+
-webkit-transform: scaleY(0.33);
|
|
372
|
+
-ms-transform: scaleY(0.33);
|
|
373
|
+
transform: scaleY(0.33);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.am-list-item .am-input-label {
|
|
378
|
+
color: #000;
|
|
379
|
+
font-size: 17px;
|
|
380
|
+
margin-left: 0;
|
|
381
|
+
margin-right: 5px;
|
|
382
|
+
text-align: left;
|
|
383
|
+
white-space: nowrap;
|
|
384
|
+
overflow: hidden;
|
|
385
|
+
padding: 2px 0;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.am-list-item .am-input-label.am-input-label-2 {
|
|
389
|
+
width: 34px;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.am-list-item .am-input-label.am-input-label-3 {
|
|
393
|
+
width: 51px;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.am-list-item .am-input-label.am-input-label-4 {
|
|
397
|
+
width: 68px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.am-list-item .am-input-label.am-input-label-5 {
|
|
401
|
+
width: 85px;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.am-list-item .am-input-label.am-input-label-6 {
|
|
405
|
+
width: 102px;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.am-list-item .am-input-label.am-input-label-7 {
|
|
409
|
+
width: 119px;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.am-list-item .am-input-control {
|
|
413
|
+
font-size: 17px;
|
|
414
|
+
-webkit-box-flex: 1;
|
|
415
|
+
-webkit-flex: 1;
|
|
416
|
+
-ms-flex: 1;
|
|
417
|
+
flex: 1;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.am-list-item .am-input-control input {
|
|
421
|
+
color: #000;
|
|
422
|
+
font-size: 17px;
|
|
423
|
+
-webkit-appearance: none;
|
|
424
|
+
-moz-appearance: none;
|
|
425
|
+
appearance: none;
|
|
426
|
+
width: 100%;
|
|
427
|
+
padding: 2px 0;
|
|
428
|
+
border: 0;
|
|
429
|
+
background-color: transparent;
|
|
430
|
+
line-height: 1;
|
|
431
|
+
-webkit-box-sizing: border-box;
|
|
432
|
+
box-sizing: border-box;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.am-list-item .am-input-control input::-webkit-input-placeholder {
|
|
436
|
+
color: #bbb;
|
|
437
|
+
line-height: 1.2;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.am-list-item .am-input-control input::-moz-placeholder {
|
|
441
|
+
color: #bbb;
|
|
442
|
+
line-height: 1.2;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.am-list-item .am-input-control input::-ms-input-placeholder {
|
|
446
|
+
color: #bbb;
|
|
447
|
+
line-height: 1.2;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.am-list-item .am-input-control input::placeholder {
|
|
451
|
+
color: #bbb;
|
|
452
|
+
line-height: 1.2;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.am-list-item .am-input-control input:disabled {
|
|
456
|
+
color: #bbb;
|
|
457
|
+
background-color: #fff;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.am-list-item .am-input-clear {
|
|
461
|
+
display: none;
|
|
462
|
+
width: 21px;
|
|
463
|
+
height: 21px;
|
|
464
|
+
border-radius: 50%;
|
|
465
|
+
overflow: hidden;
|
|
466
|
+
font-style: normal;
|
|
467
|
+
color: #fff;
|
|
468
|
+
background-color: #ccc;
|
|
469
|
+
background-repeat: no-repeat;
|
|
470
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D'%23fff'%20viewBox%3D'0%200%2030%2030'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
|
|
471
|
+
background-size: 21px auto;
|
|
472
|
+
background-position: 2px 2px;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.am-list-item .am-input-clear-active {
|
|
476
|
+
background-color: #108ee9;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.am-list-item.am-input-focus .am-input-clear {
|
|
480
|
+
display: block;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.am-list-item .am-input-extra {
|
|
484
|
+
-webkit-box-flex: initial;
|
|
485
|
+
-webkit-flex: initial;
|
|
486
|
+
-ms-flex: initial;
|
|
487
|
+
flex: initial;
|
|
488
|
+
min-width: 0;
|
|
489
|
+
max-height: 21px;
|
|
490
|
+
overflow: hidden;
|
|
491
|
+
padding-right: 0;
|
|
492
|
+
line-height: 1;
|
|
493
|
+
color: #888;
|
|
494
|
+
font-size: 15px;
|
|
495
|
+
margin-left: 5px;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.am-list-item.am-input-error .am-input-control input {
|
|
499
|
+
color: #f50;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.am-list-item.am-input-error .am-input-error-extra {
|
|
503
|
+
height: 21px;
|
|
504
|
+
width: 21px;
|
|
505
|
+
margin-left: 6px;
|
|
506
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D'18'%20height%3D'18'%20viewBox%3D'0%200%2018%2018'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cg%20stroke%3D'none'%20stroke-width%3D'1'%20fill%3D'none'%20fill-rule%3D'evenodd'%3E%3Cg%20transform%3D'translate(-300.000000%2C%20-1207.000000)'%20fill%3D'%23FF5500'%3E%3Cg%20id%3D'exclamation-circle-o'%20transform%3D'translate(300.000000%2C%201207.000000)'%3E%3Cpath%20d%3D'M9%2C16.734375%20C10.0441406%2C16.734375%2011.0566406%2C16.5304688%2012.009375%2C16.1279297%20C12.9304688%2C15.7376953%2013.7566406%2C15.1804687%2014.4685547%2C14.4703125%20C15.1787109%2C13.7601563%2015.7376953%2C12.9322266%2016.1261719%2C12.0111328%20C16.5304688%2C11.0566406%2016.734375%2C10.0441406%2016.734375%2C9%20C16.734375%2C7.95585938%2016.5304688%2C6.94335938%2016.1279297%2C5.990625%20C15.7376953%2C5.06953125%2015.1804687%2C4.24335938%2014.4703125%2C3.53144531%20C13.7601563%2C2.82128906%2012.9322266%2C2.26230469%2012.0111328%2C1.87382813%20C11.0566406%2C1.46953125%2010.0441406%2C1.265625%209%2C1.265625%20C7.95585938%2C1.265625%206.94335938%2C1.46953125%205.990625%2C1.87207031%20C5.06953125%2C2.26230469%204.24335938%2C2.81953125%203.53144531%2C3.5296875%20C2.82128906%2C4.23984375%202.26230469%2C5.06777344%201.87382813%2C5.98886719%20C1.46953125%2C6.94335938%201.265625%2C7.95585938%201.265625%2C9%20C1.265625%2C10.0441406%201.46953125%2C11.0566406%201.87207031%2C12.009375%20C2.26230469%2C12.9304688%202.81953125%2C13.7566406%203.5296875%2C14.4685547%20C4.23984375%2C15.1787109%205.06777344%2C15.7376953%205.98886719%2C16.1261719%20C6.94335938%2C16.5304688%207.95585938%2C16.734375%209%2C16.734375%20L9%2C16.734375%20Z%20M9%2C18%20C4.02890625%2C18%200%2C13.9710937%200%2C9%20C0%2C4.02890625%204.02890625%2C0%209%2C0%20C13.9710937%2C0%2018%2C4.02890625%2018%2C9%20C18%2C13.9710937%2013.9710937%2C18%209%2C18%20L9%2C18%20L9%2C18%20Z%20M9%2C6.75%20C8.61152344%2C6.75%208.296875%2C7.06464844%208.296875%2C7.453125%20L8.296875%2C13.9394531%20C8.296875%2C14.3279297%208.61152344%2C14.6425781%209%2C14.6425781%20C9.38847656%2C14.6425781%209.703125%2C14.3279297%209.703125%2C13.9394531%20L9.703125%2C7.453125%20C9.703125%2C7.06464844%209.38847656%2C6.75%209%2C6.75%20L9%2C6.75%20Z%20M8.20898438%2C4.83398438%20C8.20898438%2C5.27085024%208.56313413%2C5.625%209%2C5.625%20C9.43686587%2C5.625%209.79101562%2C5.27085024%209.79101562%2C4.83398438%20C9.79101562%2C4.39711851%209.43686587%2C4.04296875%209%2C4.04296875%20C8.56313413%2C4.04296875%208.20898438%2C4.39711851%208.20898438%2C4.83398438%20L8.20898438%2C4.83398438%20Z'%20id%3D'Shape'%20transform%3D'translate(9.000000%2C%209.000000)%20scale(1%2C%20-1)%20translate(-9.000000%2C%20-9.000000)%20'%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
|
507
|
+
background-size: 21px auto;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.am-list-item.am-input-disabled .am-input-label {
|
|
511
|
+
color: #bbb;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.sr-only {
|
|
515
|
+
position: absolute;
|
|
516
|
+
width: 1px;
|
|
517
|
+
height: 1px;
|
|
518
|
+
padding: 0;
|
|
519
|
+
margin: -1px;
|
|
520
|
+
overflow: hidden;
|
|
521
|
+
clip: rect(0, 0, 0, 0);
|
|
522
|
+
white-space: nowrap;
|
|
523
|
+
border: 0;
|
|
524
|
+
}
|
package/lib/LinkEditor/index.js
CHANGED
|
@@ -12,8 +12,8 @@ var _dtableUtils = require("dtable-utils");
|
|
|
12
12
|
var _lang = require("../lang");
|
|
13
13
|
var _EditEditorButton = _interopRequireDefault(require("../EditEditorButton"));
|
|
14
14
|
var _linkEditorOption = _interopRequireDefault(require("./link-editor-option"));
|
|
15
|
-
var
|
|
16
|
-
var
|
|
15
|
+
var _pcLinkEditorPopover = _interopRequireDefault(require("./pc-link-editor-popover"));
|
|
16
|
+
var _mbLinkEditorPopover = _interopRequireDefault(require("./mb-link-editor-popover"));
|
|
17
17
|
require("./index.css");
|
|
18
18
|
class LinkEditor extends _react.default.Component {
|
|
19
19
|
constructor(props) {
|
|
@@ -238,14 +238,14 @@ class LinkEditor extends _react.default.Component {
|
|
|
238
238
|
});
|
|
239
239
|
})), isPopoverShow && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
240
240
|
query: "(min-width: 768px)"
|
|
241
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
241
|
+
}, /*#__PURE__*/_react.default.createElement(_pcLinkEditorPopover.default, {
|
|
242
242
|
popoverPosition: popoverPosition,
|
|
243
243
|
options: options,
|
|
244
244
|
selectedOptions: selectedOptions,
|
|
245
245
|
onOptionItemToggle: this.onOptionItemToggle
|
|
246
246
|
})), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
247
|
-
query: "(max-width:
|
|
248
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
247
|
+
query: "(max-width: 767.8px)"
|
|
248
|
+
}, /*#__PURE__*/_react.default.createElement(_mbLinkEditorPopover.default, {
|
|
249
249
|
isReadOnly: this.props.isReadOnly,
|
|
250
250
|
value: this.state.newValue,
|
|
251
251
|
column: this.props.column,
|