dtable-ui-component 6.0.49 → 6.0.50
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 +94 -68
- package/lib/ActivityIndicator/index.js +36 -28
- package/lib/AsyncUserSelect/index.css +122 -0
- package/lib/AsyncUserSelect/index.js +260 -0
- package/lib/AsyncUserSelect/user-item.js +55 -0
- package/lib/AutoNumberFormatter/index.js +5 -3
- package/lib/Badge/index.js +12 -8
- package/lib/ButtonFormatter/index.js +15 -10
- package/lib/CTimeFormatter/index.js +5 -3
- package/lib/CheckboxEditor/index.js +22 -13
- package/lib/CheckboxEditor/mb-editor.js +7 -5
- package/lib/CheckboxEditor/pc-editor.js +7 -5
- package/lib/CheckboxFormatter/index.js +7 -5
- package/lib/CollaboratorEditor/index.js +24 -15
- package/lib/CollaboratorEditor/mb-editor/index.js +19 -13
- package/lib/CollaboratorEditor/pc-editor/index.js +50 -42
- package/lib/CollaboratorFormatter/index.js +8 -7
- package/lib/CollaboratorItem/index.js +21 -16
- package/lib/CollapsibleSettingLayout/index.js +17 -12
- package/lib/Comment/body/comment.js +78 -62
- package/lib/Comment/body/index.js +14 -11
- package/lib/Comment/footer/btns/index.js +68 -53
- package/lib/Comment/footer/index.js +29 -27
- package/lib/Comment/footer/input/index.js +44 -39
- package/lib/Comment/footer/input/participant/index.js +18 -13
- package/lib/Comment/footer/participants/index.js +31 -28
- package/lib/Comment/footer/participants/participant/index.js +18 -15
- package/lib/Comment/footer/participants/participant-select/index.js +66 -55
- package/lib/Comment/index.js +33 -28
- package/lib/CreatorFormatter/index.js +8 -7
- package/lib/DTableColorPicker/ColorPickerPortal/index.js +5 -3
- package/lib/DTableColorPicker/index.js +135 -99
- package/lib/DTableCommonAddTool/index.js +10 -7
- package/lib/DTableCustomFooter/index.js +5 -3
- package/lib/DTableCustomizeCollaboratorSelect/index.js +38 -32
- package/lib/DTableCustomizeSelect/index.js +51 -44
- package/lib/DTableEmptyTip/index.js +20 -16
- package/lib/DTableFiltersPopover/index.js +71 -61
- package/lib/DTableFiltersPopover/utils/filter-item-utils.js +74 -57
- package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +64 -49
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +49 -41
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +57 -47
- package/lib/DTableFiltersPopover/widgets/filter-calendar.js +35 -31
- package/lib/DTableFiltersPopover/widgets/filter-group.js +38 -32
- package/lib/DTableFiltersPopover/widgets/filter-item.js +125 -106
- package/lib/DTableFiltersPopover/widgets/filter-list/index.js +18 -17
- package/lib/DTableFiltersPopover/widgets/rate-item.js +12 -9
- package/lib/DTableGroupSelect/index.js +52 -44
- package/lib/DTableGroupSelect/option.js +5 -3
- package/lib/DTableGroupSelect/select-option-group.js +31 -25
- package/lib/DTableModalHeader/index.js +13 -9
- package/lib/DTablePopover/index.js +9 -6
- package/lib/DTableRadio/index.js +20 -17
- package/lib/DTableRadioGroup/index.js +21 -18
- package/lib/DTableSearchInput/index.js +22 -18
- package/lib/DTableSelect/dtable-select-label.js +12 -7
- package/lib/DTableSelect/index.js +2 -1
- package/lib/DTableSelect/utils.js +34 -20
- package/lib/DTableSwitch/index.js +25 -17
- package/lib/DateEditor/index.js +25 -16
- package/lib/DateEditor/mb-editor/index.js +90 -68
- package/lib/DateEditor/pc-editor.js +38 -34
- package/lib/DateFormatter/index.js +5 -3
- package/lib/DeleteTip/index.js +29 -20
- package/lib/DepartmentMultipleSelectEditor/index.js +57 -49
- package/lib/DepartmentSelectFilter/index.js +8 -1
- package/lib/DepartmentSingleSelectEditor/index.js +22 -13
- package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +75 -55
- package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +78 -61
- package/lib/DepartmentSingleSelectEditor/pc-editor/index.js +14 -11
- package/lib/DepartmentSingleSelectFormatter/index.js +13 -9
- package/lib/DigitalSignEditor/index.js +22 -13
- package/lib/DigitalSignEditor/mb-editor/index.js +39 -24
- package/lib/DigitalSignEditor/pc-editor/index.js +44 -30
- package/lib/DigitalSignEditor/signature-board/index.js +19 -15
- package/lib/DigitalSignFormatter/index.js +23 -19
- package/lib/Drawer/index.js +4 -1
- package/lib/DurationEditor/index.js +2 -1
- package/lib/DurationFormatter/index.js +5 -3
- package/lib/EditEditorButton/index.js +5 -3
- package/lib/EmailEditor/index.js +2 -1
- package/lib/EmailFormatter/index.js +5 -3
- package/lib/FieldDisplaySetting/field-item.js +25 -19
- package/lib/FieldDisplaySetting/index.js +47 -38
- package/lib/FileEditor/files-previewer/index.js +22 -13
- package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +43 -28
- package/lib/FileEditor/files-previewer/mb-previewer/index.js +24 -21
- package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/dropdown-menu.js +30 -24
- package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/file-name-editor/index.js +13 -11
- package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +81 -63
- package/lib/FileEditor/files-previewer/pc-previewer/index.js +81 -65
- package/lib/FileEditor/index.js +22 -13
- package/lib/FileEditor/mb-editor/index.js +43 -31
- package/lib/FileEditor/pc-editor/addition-previewer/index.js +27 -20
- package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +107 -81
- package/lib/FileEditor/pc-editor/index.js +46 -36
- package/lib/FileFormatter/index.js +40 -36
- package/lib/FileItemFormatter/index.js +2 -1
- package/lib/FileUploader/index.js +22 -20
- package/lib/FormulaFormatter/index.js +21 -14
- package/lib/GeolocationEditor/index.js +28 -19
- package/lib/GeolocationEditor/mb-editor/country-editor.js +42 -27
- package/lib/GeolocationEditor/mb-editor/index.js +22 -14
- package/lib/GeolocationEditor/mb-editor/location-editor.js +54 -34
- package/lib/GeolocationEditor/mb-editor/map-editor/index.js +102 -74
- package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +144 -110
- package/lib/GeolocationEditor/mb-editor/province-city-editor.js +42 -27
- package/lib/GeolocationEditor/mb-editor/province-editor.js +42 -27
- package/lib/GeolocationEditor/pc-editor/country-editor.js +37 -30
- package/lib/GeolocationEditor/pc-editor/index.js +26 -17
- package/lib/GeolocationEditor/pc-editor/location-editor.js +121 -95
- package/lib/GeolocationEditor/pc-editor/map-editor/index.js +99 -74
- package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +99 -76
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +119 -91
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +102 -82
- package/lib/GeolocationEditor/pc-editor/province-city-editor.js +89 -69
- package/lib/GeolocationEditor/pc-editor/province-editor.js +30 -25
- package/lib/GeolocationEditor/pc-editor/selector-header-item.js +9 -5
- package/lib/GeolocationEditor/pc-editor/selector-list.js +15 -13
- package/lib/GeolocationFormatter/index.js +5 -3
- package/lib/HtmlLongTextFormatter/index.js +2 -1
- package/lib/Icon/index.js +8 -5
- package/lib/IconButton/index.js +9 -6
- package/lib/ImageEditor/images-previewer/image-preview/index.js +52 -44
- package/lib/ImageEditor/images-previewer/index.js +35 -32
- package/lib/ImageEditor/index.js +22 -13
- package/lib/ImageEditor/mb-editor/index.js +43 -31
- package/lib/ImageEditor/pc-editor/addition-previewer/image-link/index.js +19 -15
- package/lib/ImageEditor/pc-editor/addition-previewer/index.js +32 -24
- package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +101 -76
- package/lib/ImageEditor/pc-editor/images-previewer/index.js +33 -30
- package/lib/ImageEditor/pc-editor/index.js +44 -32
- package/lib/ImageFormatter/images-lazy-load.js +12 -10
- package/lib/ImageFormatter/index.js +40 -34
- package/lib/ImagePreviewerLightbox/index.js +12 -8
- package/lib/ImageThumbnail/index.js +46 -38
- package/lib/InputItem/custom-input.js +23 -18
- package/lib/InputItem/custom-keyboard.js +65 -44
- package/lib/InputItem/index.js +66 -56
- package/lib/InputItem/input.js +5 -3
- package/lib/LastModifierFormatter/index.js +8 -7
- package/lib/LinkEditor/index.js +38 -32
- package/lib/LinkEditor/link-editor-option.js +25 -20
- package/lib/LinkEditor/mb-popover/index.js +53 -41
- package/lib/LinkEditor/pc-popover/index.js +41 -33
- package/lib/LinkFormatter/index.js +13 -10
- package/lib/List/index.js +15 -9
- package/lib/List/list-item.js +32 -23
- package/lib/Loading/index.js +2 -1
- package/lib/LongTextFormatter/index.js +3 -2
- package/lib/MBEditorHeader/index.js +19 -14
- package/lib/MTimeFormatter/index.js +5 -3
- package/lib/MobileFullScreenPage/body/index.js +5 -3
- package/lib/MobileFullScreenPage/header/index.js +21 -16
- package/lib/MobileFullScreenPage/index.js +11 -8
- package/lib/MobileModal/index.js +6 -3
- package/lib/MobileOperationSheet/index.js +28 -18
- package/lib/MobileSelector/empty/index.js +5 -3
- package/lib/MobileSelector/index.js +18 -12
- package/lib/MobileSelector/option/index.js +17 -12
- package/lib/MobileSelector/options/index.js +5 -3
- package/lib/MobileSelector/search/index.js +10 -8
- package/lib/MobileUpload/index.js +87 -67
- package/lib/Modal/alert.js +8 -5
- package/lib/Modal/modal.js +19 -15
- package/lib/Modal/operation.js +2 -1
- package/lib/Modal/prompt.js +74 -54
- package/lib/MultipleSelectEditor/index.js +4 -2
- package/lib/MultipleSelectFormatter/index.js +8 -7
- package/lib/NotificationPopover/index.js +43 -32
- package/lib/NumberEditor/index.js +2 -1
- package/lib/NumberFormatter/index.js +5 -3
- package/lib/Picker/AbstractPicker.js +26 -22
- package/lib/Picker/index.js +2 -1
- package/lib/Popover/index.js +8 -5
- package/lib/Popover/item.js +22 -15
- package/lib/Progress/index.js +12 -10
- package/lib/Radio/Radio.js +11 -7
- package/lib/Radio/RadioItem.js +9 -3
- package/lib/RateFormatter/index.js +7 -6
- package/lib/RoleStatusEditor/index.js +36 -31
- package/lib/RowExpand/index.js +16 -9
- package/lib/RowExpandDialog/body/index.js +52 -41
- package/lib/RowExpandDialog/column-content/index.js +34 -25
- package/lib/RowExpandDialog/header/index.js +28 -21
- package/lib/RowExpandDialog/index.js +40 -27
- package/lib/RowExpandEditor/add-btn/index.js +16 -9
- package/lib/RowExpandEditor/add-btn/mb-add-btn/index.js +5 -3
- package/lib/RowExpandEditor/add-btn/pc-add-btn/index.js +8 -5
- package/lib/RowExpandEditor/checkbox-editor/index.js +16 -9
- package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +10 -8
- package/lib/RowExpandEditor/checkbox-editor/pc-editor.js +2 -1
- package/lib/RowExpandEditor/collaborator-editor/index.js +16 -9
- package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +19 -17
- package/lib/RowExpandEditor/collaborator-editor/pc-editor/index.js +52 -47
- package/lib/RowExpandEditor/date-editor/index.js +16 -9
- package/lib/RowExpandEditor/date-editor/mb-editor.js +20 -15
- package/lib/RowExpandEditor/date-editor/pc-editor.js +24 -21
- package/lib/RowExpandEditor/department-editor/index.js +16 -9
- package/lib/RowExpandEditor/department-editor/mb-editor.js +27 -22
- package/lib/RowExpandEditor/department-editor/pc-editor.js +35 -29
- package/lib/RowExpandEditor/digital-sign-editor/index.js +16 -9
- package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +19 -16
- package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +34 -32
- package/lib/RowExpandEditor/duration-editor/index.js +16 -9
- package/lib/RowExpandEditor/duration-editor/mb-editor.js +15 -12
- package/lib/RowExpandEditor/duration-editor/pc-editor.js +17 -13
- package/lib/RowExpandEditor/email-editor/index.js +16 -9
- package/lib/RowExpandEditor/email-editor/mb-editor/index.js +19 -17
- package/lib/RowExpandEditor/email-editor/pc-editor/index.js +20 -18
- package/lib/RowExpandEditor/file-editor/index.js +16 -9
- package/lib/RowExpandEditor/file-editor/mb-editor/index.js +21 -16
- package/lib/RowExpandEditor/file-editor/pc-editor/index.js +22 -20
- package/lib/RowExpandEditor/geolocation-editor/index.js +16 -9
- package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +12 -9
- package/lib/RowExpandEditor/geolocation-editor/pc-editor/index.js +20 -17
- package/lib/RowExpandEditor/image-editor/index.js +16 -9
- package/lib/RowExpandEditor/image-editor/mb-editor/index.js +21 -16
- package/lib/RowExpandEditor/image-editor/pc-editor/index.js +29 -25
- package/lib/RowExpandEditor/index.js +4 -2
- package/lib/RowExpandEditor/long-text-editor/index.js +16 -9
- package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +27 -16
- package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +19 -16
- package/lib/RowExpandEditor/long-text-editor/pc-editor/index.js +22 -18
- package/lib/RowExpandEditor/multiple-select-editor/index.js +16 -9
- package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +26 -23
- package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +81 -67
- package/lib/RowExpandEditor/number-editor/index.js +16 -9
- package/lib/RowExpandEditor/number-editor/mb-editor/index.js +10 -7
- package/lib/RowExpandEditor/number-editor/pc-editor.js +6 -4
- package/lib/RowExpandEditor/rate-editor/index.js +16 -9
- package/lib/RowExpandEditor/rate-editor/mb-editor.js +10 -8
- package/lib/RowExpandEditor/rate-editor/pc-editor.js +11 -9
- package/lib/RowExpandEditor/right-angle/index.js +8 -6
- package/lib/RowExpandEditor/single-select-editor/index.js +16 -9
- package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +30 -23
- package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +42 -34
- package/lib/RowExpandEditor/text-editor/index.js +16 -9
- package/lib/RowExpandEditor/text-editor/mb-editor/index.js +11 -9
- package/lib/RowExpandEditor/text-editor/pc-editor/index.js +16 -12
- package/lib/RowExpandEditor/url-editor/index.js +16 -9
- package/lib/RowExpandEditor/url-editor/mb-editor/index.js +19 -17
- package/lib/RowExpandEditor/url-editor/pc-editor/index.js +20 -18
- package/lib/RowExpandFormatter/department-formatter/index.js +14 -5
- package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +2 -1
- package/lib/RowExpandFormatter/department-formatter/pc-formatter.js +15 -11
- package/lib/RowExpandFormatter/email-formatter/index.js +11 -8
- package/lib/RowExpandFormatter/file-formatter/index.js +15 -14
- package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +43 -36
- package/lib/RowExpandFormatter/formula-formatter/index.js +37 -29
- package/lib/RowExpandFormatter/image-formatter/index.js +30 -27
- package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +47 -39
- package/lib/RowExpandFormatter/index.js +131 -114
- package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +2 -1
- package/lib/RowExpandFormatter/link-formatter/index.js +70 -67
- package/lib/RowExpandFormatter/rate-formatter/index.js +7 -6
- package/lib/RowExpandFormatter/url-formatter/index.js +11 -8
- package/lib/RowExpandView/body/index.js +38 -32
- package/lib/RowExpandView/column-content/index.js +10 -5
- package/lib/RowExpandView/index.js +27 -16
- package/lib/SelectItem/index.js +16 -12
- package/lib/SelectOptionGroup/index.js +39 -32
- package/lib/SelectOptionGroup/option.js +5 -3
- package/lib/SelectedDepartments/index.js +54 -44
- package/lib/SimpleLongTextFormatter/index.js +39 -30
- package/lib/SimpleLongTextFormatter/widgets/LongTextPreview.js +11 -8
- package/lib/SimpleLongTextFormatter/widgets/dtable-markdown-viewer.js +3 -2
- package/lib/SingleSelectEditor/index.js +4 -2
- package/lib/SingleSelectFormatter/index.js +6 -4
- package/lib/SvgIcon/index.js +4 -1
- package/lib/TabBar/Tab.js +27 -20
- package/lib/TabBar/index.js +25 -21
- package/lib/Tabs/index.js +8 -5
- package/lib/TextEditor/index.js +21 -18
- package/lib/TextFormatter/index.js +5 -3
- package/lib/TextareaItem/index.js +35 -26
- package/lib/Toast/index.js +16 -10
- package/lib/UploadProgress/index.js +2 -1
- package/lib/UrlEditor/index.js +2 -1
- package/lib/UrlFormatter/index.js +5 -3
- package/lib/formatterConfig/base-formatter-config.js +24 -23
- package/lib/formatterConfig/index.js +3 -2
- package/lib/index.js +7 -0
- package/lib/locales/de.json +5 -1
- package/lib/locales/en.json +5 -1
- package/lib/locales/es.json +6 -2
- package/lib/locales/fr.json +5 -1
- package/lib/locales/pt.json +5 -1
- package/lib/locales/ru.json +5 -1
- package/lib/locales/zh-CN.json +5 -1
- package/lib/select-editor/index.js +22 -13
- package/lib/select-editor/mb-editor/index.js +22 -16
- package/lib/select-editor/pc-editor/index.js +74 -60
- package/lib/toaster/alert.js +25 -16
- package/lib/toaster/toast.js +27 -23
- package/lib/toaster/toastManager.js +16 -13
- package/lib/toaster/toaster.js +2 -1
- package/package.json +2 -2
|
@@ -17,6 +17,7 @@ var _toaster = _interopRequireDefault(require("../../toaster"));
|
|
|
17
17
|
var _lang = require("../../lang");
|
|
18
18
|
var _utils2 = require("../../utils/utils");
|
|
19
19
|
require("./index.css");
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
21
|
class PCDigitalSignEditor extends _react.Component {
|
|
21
22
|
constructor(props) {
|
|
22
23
|
super(props);
|
|
@@ -141,41 +142,54 @@ class PCDigitalSignEditor extends _react.Component {
|
|
|
141
142
|
...config,
|
|
142
143
|
partUrl: _utils.default.getSignImageUrl(value)
|
|
143
144
|
});
|
|
144
|
-
return /*#__PURE__*/
|
|
145
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
145
146
|
className: "dtable-ui-digital-sign-editor-container",
|
|
146
147
|
ref: ref => this.editor = ref,
|
|
147
148
|
style: {
|
|
148
149
|
...editorPosition,
|
|
149
150
|
zIndex: 1000
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
151
|
+
},
|
|
152
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
153
|
+
className: "dtable-ui-digital-sign-editor-header",
|
|
154
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
155
|
+
className: "dtable-ui-digital-sign-editor-logo",
|
|
156
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
157
|
+
className: "dtable-font dtable-icon-handwritten-signature"
|
|
158
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
159
|
+
className: "ml-2 dtable-ui-digital-sign-editor-title",
|
|
160
|
+
children: (0, _lang.getLocale)('Digital_signature')
|
|
161
|
+
})]
|
|
162
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
163
|
+
className: "dtable-ui-digital-sign-editor-operations",
|
|
164
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
165
|
+
className: "btn-clear-dtable-ui-digital-sign",
|
|
166
|
+
onClick: this.clearSignature,
|
|
167
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
168
|
+
className: "dtable-font dtable-icon-clear-format"
|
|
169
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
170
|
+
children: (0, _lang.getLocale)('Re-sign')
|
|
171
|
+
})]
|
|
172
|
+
})
|
|
173
|
+
})]
|
|
174
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
175
|
+
className: "dtable-ui-digital-sign-panel",
|
|
176
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_signatureBoard.default, {
|
|
177
|
+
ref: ref => this.signatureBoard = ref,
|
|
178
|
+
signImageUrl: signImageUrl
|
|
179
|
+
})
|
|
180
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_DTableCustomFooter.default, {
|
|
181
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Button, {
|
|
182
|
+
onClick: this.props.onCommitCancel,
|
|
183
|
+
color: "secondary",
|
|
184
|
+
children: (0, _lang.getLocale)('Cancel')
|
|
185
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Button, {
|
|
186
|
+
onClick: this.saveSignature,
|
|
187
|
+
color: "primary",
|
|
188
|
+
disabled: saving,
|
|
189
|
+
children: (0, _lang.getLocale)(saving ? 'Saving' : 'Save')
|
|
190
|
+
})]
|
|
191
|
+
})]
|
|
192
|
+
});
|
|
179
193
|
}
|
|
180
194
|
}
|
|
181
195
|
var _default = exports.default = PCDigitalSignEditor;
|
|
@@ -11,6 +11,7 @@ var _signatureTool = _interopRequireDefault(require("./signature-tool"));
|
|
|
11
11
|
var _Loading = _interopRequireDefault(require("../../Loading"));
|
|
12
12
|
var _lang = require("../../lang");
|
|
13
13
|
require("./index.css");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
class SignatureBoard extends _react.Component {
|
|
15
16
|
constructor(props) {
|
|
16
17
|
super(props);
|
|
@@ -75,9 +76,10 @@ class SignatureBoard extends _react.Component {
|
|
|
75
76
|
isEmpty
|
|
76
77
|
} = this.state;
|
|
77
78
|
if (!isEmpty) return null;
|
|
78
|
-
return /*#__PURE__*/
|
|
79
|
-
className: "signature-board-tips"
|
|
80
|
-
|
|
79
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
80
|
+
className: "signature-board-tips",
|
|
81
|
+
children: (0, _lang.getLocale)('Please_sign_on_this_panel')
|
|
82
|
+
});
|
|
81
83
|
};
|
|
82
84
|
this.renderSignImage = () => {
|
|
83
85
|
const {
|
|
@@ -98,17 +100,18 @@ class SignatureBoard extends _react.Component {
|
|
|
98
100
|
loadingSignImage: false
|
|
99
101
|
});
|
|
100
102
|
};
|
|
101
|
-
return /*#__PURE__*/
|
|
103
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
102
104
|
className: "signature-board-image-wrapper",
|
|
103
105
|
style: {
|
|
104
106
|
zIndex: 2
|
|
105
107
|
},
|
|
106
|
-
onClick: this.onClickSignImage
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
onClick: this.onClickSignImage,
|
|
109
|
+
children: loadingSignImage ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.default, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
110
|
+
src: signImageUrl,
|
|
111
|
+
alt: "",
|
|
112
|
+
draggable: false
|
|
113
|
+
})
|
|
114
|
+
});
|
|
112
115
|
};
|
|
113
116
|
this.state = {
|
|
114
117
|
isEmpty: !props.signImageUrl,
|
|
@@ -124,12 +127,13 @@ class SignatureBoard extends _react.Component {
|
|
|
124
127
|
this.setState = () => {};
|
|
125
128
|
}
|
|
126
129
|
render() {
|
|
127
|
-
return /*#__PURE__*/
|
|
130
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
128
131
|
className: "signature-board",
|
|
129
|
-
ref: ref => this.signatureBoard = ref
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
ref: ref => this.signatureBoard = ref,
|
|
133
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("canvas", {
|
|
134
|
+
id: "signature_board_canvas"
|
|
135
|
+
}), this.renderTips(), this.renderSignImage()]
|
|
136
|
+
});
|
|
133
137
|
}
|
|
134
138
|
}
|
|
135
139
|
var _default = exports.default = SignatureBoard;
|
|
@@ -13,6 +13,7 @@ var _ImagePreviewerLightbox = _interopRequireDefault(require("../ImagePreviewerL
|
|
|
13
13
|
var _utils = require("./utils");
|
|
14
14
|
var _utils2 = require("../utils/utils");
|
|
15
15
|
require("./index.css");
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
17
|
class DigitalSignFormatter extends _react.Component {
|
|
17
18
|
constructor(props) {
|
|
18
19
|
super(props);
|
|
@@ -70,25 +71,28 @@ class DigitalSignFormatter extends _react.Component {
|
|
|
70
71
|
isPreviewSignImage,
|
|
71
72
|
largeSignImageIndex
|
|
72
73
|
} = this.state;
|
|
73
|
-
return /*#__PURE__*/
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
74
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
75
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
76
|
+
className: className,
|
|
77
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_imagesLazyLoad.default, {
|
|
78
|
+
images: signImages,
|
|
79
|
+
server: config.server,
|
|
80
|
+
onImageClick: this.onClickSignImage,
|
|
81
|
+
renderItem: renderItem
|
|
82
|
+
})
|
|
83
|
+
}), isPreviewSignImage && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ImagePreviewerLightbox.default, {
|
|
84
|
+
className: "digital-sign-formatter-image-previewer",
|
|
85
|
+
readOnly: readOnly,
|
|
86
|
+
server: isSample ? config.server : '',
|
|
87
|
+
imageItems: signImages,
|
|
88
|
+
imageIndex: largeSignImageIndex,
|
|
89
|
+
closeImagePopup: this.hideLargeSignImage,
|
|
90
|
+
downloadImage: this.downloadImage,
|
|
91
|
+
onViewOriginal: this.props.onViewOriginal,
|
|
92
|
+
moveToPrevImage: () => {},
|
|
93
|
+
moveToNextImage: () => {}
|
|
94
|
+
})]
|
|
95
|
+
});
|
|
92
96
|
}
|
|
93
97
|
}
|
|
94
98
|
DigitalSignFormatter.defaultProps = {
|
package/lib/Drawer/index.js
CHANGED
|
@@ -9,9 +9,12 @@ exports.default = void 0;
|
|
|
9
9
|
var _rmcDrawer = _interopRequireDefault(require("rmc-drawer"));
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
require("./index.css");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
class Drawer extends React.Component {
|
|
13
14
|
render() {
|
|
14
|
-
return /*#__PURE__*/
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcDrawer.default, {
|
|
16
|
+
...this.props
|
|
17
|
+
});
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
exports.default = Drawer;
|
|
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _dtableUtils = require("dtable-utils");
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
11
|
var _constants = require("../constants");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
class DurationEditor extends _react.default.Component {
|
|
13
14
|
constructor(props) {
|
|
14
15
|
super(props);
|
|
@@ -103,7 +104,7 @@ class DurationEditor extends _react.default.Component {
|
|
|
103
104
|
} : {
|
|
104
105
|
textAlign: 'right'
|
|
105
106
|
};
|
|
106
|
-
return /*#__PURE__*/
|
|
107
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
107
108
|
ref: this.setInputRef,
|
|
108
109
|
type: "text",
|
|
109
110
|
className: (0, _classnames.default)('form-control', className),
|
|
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var _dtableUtils = require("dtable-utils");
|
|
11
11
|
require("./index.css");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
class DurationFormatter extends _react.default.Component {
|
|
13
14
|
render() {
|
|
14
15
|
let {
|
|
@@ -20,10 +21,11 @@ class DurationFormatter extends _react.default.Component {
|
|
|
20
21
|
const durationDisplayString = (0, _dtableUtils.getDurationDisplayString)(value, {
|
|
21
22
|
duration_format: format
|
|
22
23
|
});
|
|
23
|
-
return /*#__PURE__*/
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
24
25
|
title: durationDisplayString,
|
|
25
|
-
className: classname
|
|
26
|
-
|
|
26
|
+
className: classname,
|
|
27
|
+
children: durationDisplayString
|
|
28
|
+
});
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
var _default = exports.default = DurationFormatter;
|
|
@@ -7,15 +7,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
require("./index.css");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
11
|
class EditEditorButton extends _react.default.Component {
|
|
11
12
|
render() {
|
|
12
13
|
const {
|
|
13
14
|
text
|
|
14
15
|
} = this.props;
|
|
15
|
-
return /*#__PURE__*/
|
|
16
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
16
17
|
className: "dtable-ui-editor-button",
|
|
17
|
-
onClick: this.props.onClick
|
|
18
|
-
|
|
18
|
+
onClick: this.props.onClick,
|
|
19
|
+
children: text
|
|
20
|
+
});
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
var _default = exports.default = EditEditorButton;
|
package/lib/EmailEditor/index.js
CHANGED
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _editorBase = _interopRequireDefault(require("../common/editor-base"));
|
|
10
10
|
var _constants = require("../constants");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
class EmailEditor extends _editorBase.default {
|
|
12
13
|
constructor() {
|
|
13
14
|
super(...arguments);
|
|
@@ -43,7 +44,7 @@ class EmailEditor extends _editorBase.default {
|
|
|
43
44
|
return this.input.querySelector('input:not([type=hidden])');
|
|
44
45
|
}
|
|
45
46
|
render() {
|
|
46
|
-
return /*#__PURE__*/
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
47
48
|
type: "text",
|
|
48
49
|
ref: this.setInputRef,
|
|
49
50
|
onBlur: this.onBlur,
|
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
require("./index.css");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
class EmailFormatter extends _react.default.Component {
|
|
12
13
|
render() {
|
|
13
14
|
const {
|
|
@@ -15,10 +16,11 @@ class EmailFormatter extends _react.default.Component {
|
|
|
15
16
|
value
|
|
16
17
|
} = this.props;
|
|
17
18
|
let classname = (0, _classnames.default)('dtable-ui cell-formatter-container email-formatter', containerClassName);
|
|
18
|
-
return /*#__PURE__*/
|
|
19
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
19
20
|
title: value,
|
|
20
|
-
className: classname
|
|
21
|
-
|
|
21
|
+
className: classname,
|
|
22
|
+
children: value
|
|
23
|
+
});
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
var _default = exports.default = EmailFormatter;
|
|
@@ -9,6 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _dtableUtils = require("dtable-utils");
|
|
11
11
|
var _DTableSwitch = _interopRequireDefault(require("../DTableSwitch"));
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function FieldItem(_ref) {
|
|
13
14
|
let {
|
|
14
15
|
field,
|
|
@@ -62,30 +63,35 @@ function FieldItem(_ref) {
|
|
|
62
63
|
onMoveField(droppedColumnKey, field.key);
|
|
63
64
|
};
|
|
64
65
|
const placeholder = () => {
|
|
65
|
-
return /*#__PURE__*/
|
|
66
|
-
className: "field-switch"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
67
|
+
className: "field-switch",
|
|
68
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
69
|
+
className: "dtable-font ".concat(_dtableUtils.COLUMNS_ICON_CONFIG[field.type])
|
|
70
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
71
|
+
children: field.name
|
|
72
|
+
})]
|
|
73
|
+
});
|
|
70
74
|
};
|
|
71
|
-
return /*#__PURE__*/
|
|
75
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
72
76
|
ref: fieldItemRef,
|
|
73
77
|
className: "field-item-container ".concat(isCollapsed ? 'd-none' : ''),
|
|
74
78
|
onDrop: onDrop,
|
|
75
79
|
onDragEnter: onTableDragEnter,
|
|
76
80
|
onDragOver: onDragOver,
|
|
77
|
-
onDragLeave: onDragLeave
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
onDragLeave: onDragLeave,
|
|
82
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
83
|
+
className: "field-dragbar",
|
|
84
|
+
draggable: "true",
|
|
85
|
+
onDragStart: onDragStart,
|
|
86
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
87
|
+
className: "dtable-font dtable-icon-drag pr-2"
|
|
88
|
+
})
|
|
89
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableSwitch.default, {
|
|
90
|
+
checked: field.shown,
|
|
91
|
+
switchClassName: "flex-fill",
|
|
92
|
+
placeholder: placeholder(),
|
|
93
|
+
onChange: handleClickField
|
|
94
|
+
})]
|
|
95
|
+
});
|
|
90
96
|
}
|
|
91
97
|
var _default = exports.default = FieldItem;
|
|
@@ -11,6 +11,7 @@ var _reactstrap = require("reactstrap");
|
|
|
11
11
|
var _reactTransitionGroup = require("react-transition-group");
|
|
12
12
|
var _fieldItem = _interopRequireDefault(require("./field-item"));
|
|
13
13
|
require("./index.css");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
const FIELD_ITEM_HEIGHT = 30;
|
|
15
16
|
const BANNER_HEIGHT = 24;
|
|
16
17
|
const DURATION = 300;
|
|
@@ -50,43 +51,51 @@ function FieldDisplaySetting(_ref) {
|
|
|
50
51
|
height: 0
|
|
51
52
|
}
|
|
52
53
|
};
|
|
53
|
-
return /*#__PURE__*/
|
|
54
|
-
className: "field-setting"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
54
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
55
|
+
className: "field-setting",
|
|
56
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
57
|
+
className: "field-setting-header seatable-collapse-header d-flex align-items-center justify-content-between",
|
|
58
|
+
onClick: expandAllFields,
|
|
59
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Label, {
|
|
60
|
+
className: "mb-0",
|
|
61
|
+
children: textProperties.titleValue
|
|
62
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
63
|
+
className: "dtable-font dtable-icon-right expand-button ".concat(isCollapsed ? '' : 'revolving')
|
|
64
|
+
})]
|
|
65
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactTransitionGroup.Transition, {
|
|
66
|
+
nodeRef: nodeRef,
|
|
67
|
+
in: !isCollapsed,
|
|
68
|
+
timeout: DURATION,
|
|
69
|
+
children: state => /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
70
|
+
className: "field-setting-wrapper",
|
|
71
|
+
ref: nodeRef,
|
|
72
|
+
style: {
|
|
73
|
+
...defaultStyle,
|
|
74
|
+
...transitionStyles[state]
|
|
75
|
+
},
|
|
76
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
77
|
+
className: "field-setting-banner ".concat(isCollapsed ? 'd-none' : 'd-flex', " align-items-center justify-content-between h-5 mt-2 mb-2"),
|
|
78
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Label, {
|
|
79
|
+
className: "mb-0",
|
|
80
|
+
children: textProperties.bannerValue
|
|
81
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
82
|
+
className: "show-all-button",
|
|
83
|
+
onClick: onToggleFieldsVisibility,
|
|
84
|
+
children: fieldAllShown ? textProperties.hideValue : textProperties.showValue
|
|
85
|
+
})]
|
|
86
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
87
|
+
className: "field-setting-body",
|
|
88
|
+
children: fields.map((field, index) => {
|
|
89
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_fieldItem.default, {
|
|
90
|
+
field: field,
|
|
91
|
+
isCollapsed: isCollapsed,
|
|
92
|
+
onClickField: onClickField,
|
|
93
|
+
onMoveField: onMoveField
|
|
94
|
+
}, "".concat(field.key, "-").concat(index));
|
|
95
|
+
})
|
|
96
|
+
})]
|
|
97
|
+
})
|
|
98
|
+
})]
|
|
99
|
+
});
|
|
91
100
|
}
|
|
92
101
|
var _default = exports.default = FieldDisplaySetting;
|
|
@@ -11,25 +11,34 @@ var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
|
11
11
|
var _pcPreviewer = _interopRequireDefault(require("./pc-previewer"));
|
|
12
12
|
var _mbPreviewer = _interopRequireDefault(require("./mb-previewer"));
|
|
13
13
|
require("./index.css");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
const FilesPreviewer = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
15
16
|
let {
|
|
16
17
|
isMobile,
|
|
17
18
|
...props
|
|
18
19
|
} = _ref;
|
|
19
|
-
if (isMobile === false) return /*#__PURE__*/
|
|
20
|
+
if (isMobile === false) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcPreviewer.default, {
|
|
21
|
+
...props,
|
|
20
22
|
ref: ref
|
|
21
|
-
})
|
|
22
|
-
if (isMobile === true) return /*#__PURE__*/
|
|
23
|
+
});
|
|
24
|
+
if (isMobile === true) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbPreviewer.default, {
|
|
25
|
+
...props,
|
|
23
26
|
ref: ref
|
|
24
|
-
})
|
|
25
|
-
return /*#__PURE__*/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
});
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
29
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
30
|
+
query: "(min-width: 768px)",
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcPreviewer.default, {
|
|
32
|
+
...props,
|
|
33
|
+
ref: ref
|
|
34
|
+
})
|
|
35
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
36
|
+
query: "(max-width: 768px)",
|
|
37
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbPreviewer.default, {
|
|
38
|
+
...props,
|
|
39
|
+
ref: ref
|
|
40
|
+
})
|
|
41
|
+
})]
|
|
42
|
+
});
|
|
34
43
|
});
|
|
35
44
|
var _default = exports.default = FilesPreviewer;
|