dtable-ui-component 6.0.117-beta.8 → 6.0.117-xms.3
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/DTableDropdownItem/index.js +9 -1
- package/lib/DTableDropdownMenu/index.js +8 -0
- package/lib/DTableModalHeader/index.js +3 -1
- package/lib/DTableSubDropdownMenu/index.js +2 -0
- package/lib/DTableToolTip/index.css +45 -0
- package/lib/DTableToolTip/index.js +67 -0
- package/lib/IconButton/index.js +40 -13
- package/lib/ImagePreviewerLightbox/index.js +4 -1
- package/lib/NotificationPopover/index.js +3 -1
- package/lib/RoleStatusEditor/index.js +0 -6
- package/lib/css/icon-button-styles.css +141 -0
- package/lib/index.js +7 -0
- package/lib/locales/de.json +2 -0
- package/lib/locales/en.json +2 -0
- package/lib/locales/es.json +2 -0
- package/lib/locales/fr.json +2 -0
- package/lib/locales/pt.json +2 -0
- package/lib/locales/ru.json +2 -0
- package/lib/locales/zh-CN.json +2 -0
- package/package.json +1 -1
|
@@ -26,7 +26,9 @@ const DTableDropdownItem = _ref => {
|
|
|
26
26
|
rightSlotContent,
|
|
27
27
|
icon,
|
|
28
28
|
content,
|
|
29
|
-
onClick
|
|
29
|
+
onClick,
|
|
30
|
+
style,
|
|
31
|
+
tabIndex
|
|
30
32
|
} = _ref;
|
|
31
33
|
if (divider) {
|
|
32
34
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.DropdownItem, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, itemProps), {}, {
|
|
@@ -48,6 +50,12 @@ const DTableDropdownItem = _ref => {
|
|
|
48
50
|
if (typeof toggle === 'boolean') {
|
|
49
51
|
customItemProps.toggle = toggle;
|
|
50
52
|
}
|
|
53
|
+
if (style) {
|
|
54
|
+
customItemProps.style = style;
|
|
55
|
+
}
|
|
56
|
+
if (typeof tabIndex === 'number') {
|
|
57
|
+
customItemProps.tabIndex = tabIndex;
|
|
58
|
+
}
|
|
51
59
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactstrap.DropdownItem, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
52
60
|
className: className,
|
|
53
61
|
disabled: disabled,
|
|
@@ -11,6 +11,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
const DTableDropdownMenu = _ref => {
|
|
13
13
|
let {
|
|
14
|
+
id,
|
|
14
15
|
className,
|
|
15
16
|
container,
|
|
16
17
|
modifiers,
|
|
@@ -20,6 +21,12 @@ const DTableDropdownMenu = _ref => {
|
|
|
20
21
|
children
|
|
21
22
|
} = _ref;
|
|
22
23
|
let customMenuProps = (0, _objectSpread2.default)({}, menuProps);
|
|
24
|
+
customMenuProps.modifiers = [{
|
|
25
|
+
name: 'preventOverflow',
|
|
26
|
+
options: {
|
|
27
|
+
boundary: document.body
|
|
28
|
+
}
|
|
29
|
+
}, ...((customMenuProps === null || customMenuProps === void 0 ? void 0 : customMenuProps.modifiers) || [])];
|
|
23
30
|
if (container) {
|
|
24
31
|
customMenuProps.container = container;
|
|
25
32
|
}
|
|
@@ -33,6 +40,7 @@ const DTableDropdownMenu = _ref => {
|
|
|
33
40
|
customMenuProps.flip = flip;
|
|
34
41
|
}
|
|
35
42
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.DropdownMenu, (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
43
|
+
id: id,
|
|
36
44
|
className: (0, _classnames.default)('dtable-dropdown-menu', className)
|
|
37
45
|
}, customMenuProps), {}, {
|
|
38
46
|
children: children
|
|
@@ -10,6 +10,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _reactstrap = require("reactstrap");
|
|
12
12
|
var _IconButton = _interopRequireDefault(require("../IconButton"));
|
|
13
|
+
var _lang = require("../lang");
|
|
13
14
|
require("./index.css");
|
|
14
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
const _excluded = ["children"];
|
|
@@ -26,7 +27,8 @@ const DTableModalHeader = _ref => {
|
|
|
26
27
|
onClick: props.toggle,
|
|
27
28
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButton.default, {
|
|
28
29
|
icon: "x",
|
|
29
|
-
className: "dtable-modal-close-inner"
|
|
30
|
+
className: "dtable-modal-close-inner",
|
|
31
|
+
title: (0, _lang.getLocale)('Close')
|
|
30
32
|
})
|
|
31
33
|
});
|
|
32
34
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.ModalHeader, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
@@ -11,6 +11,7 @@ var _DTableDropdownMenu = _interopRequireDefault(require("../DTableDropdownMenu"
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
const DTableSubDropdownMenu = _ref => {
|
|
13
13
|
let {
|
|
14
|
+
id,
|
|
14
15
|
className,
|
|
15
16
|
container,
|
|
16
17
|
modifiers,
|
|
@@ -33,6 +34,7 @@ const DTableSubDropdownMenu = _ref => {
|
|
|
33
34
|
customMenuProps.flip = flip;
|
|
34
35
|
}
|
|
35
36
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableDropdownMenu.default, {
|
|
37
|
+
id: id,
|
|
36
38
|
className: (0, _classnames.default)('dtable-sub-dropdown-menu', className),
|
|
37
39
|
menuProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, customMenuProps), {}, {
|
|
38
40
|
modifiers: [{
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.dtable-tooltip {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 99999;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.dtable-tooltip .tooltip {
|
|
7
|
+
max-width: 242px;
|
|
8
|
+
min-width: max-content;
|
|
9
|
+
opacity: 1;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dtable-tooltip .tooltip .tooltip-inner {
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
text-align: start;
|
|
15
|
+
background-color: var(--bs-body-color);
|
|
16
|
+
color: var(--bs-body-bg);
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
padding: 4px 8px;
|
|
19
|
+
line-height: 20px;
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.dtable-tooltip-shortcut-inner {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
gap: 4px;
|
|
28
|
+
line-height: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.dtable-tooltip-shortcut-keys {
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 4px;
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.dtable-tooltip-shortcut-key {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
padding: 2px 8px;
|
|
41
|
+
border: 1px solid #999;
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
line-height: 14px;
|
|
45
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _reactstrap = require("reactstrap");
|
|
11
|
+
require("./index.css");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
const DTableToolTip = _ref => {
|
|
14
|
+
let {
|
|
15
|
+
target,
|
|
16
|
+
placement = 'bottom',
|
|
17
|
+
className,
|
|
18
|
+
children,
|
|
19
|
+
shortcut
|
|
20
|
+
} = _ref;
|
|
21
|
+
const hasShortcut = Boolean(shortcut);
|
|
22
|
+
const renderContent = () => {
|
|
23
|
+
if (hasShortcut) {
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
25
|
+
className: "dtable-tooltip-shortcut-inner",
|
|
26
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
27
|
+
className: "dtable-tooltip-text",
|
|
28
|
+
children: children
|
|
29
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
30
|
+
className: "dtable-tooltip-shortcut-keys",
|
|
31
|
+
children: shortcut.map((key, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
32
|
+
className: "dtable-tooltip-shortcut-key",
|
|
33
|
+
children: key
|
|
34
|
+
}, index))
|
|
35
|
+
})]
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return children;
|
|
39
|
+
};
|
|
40
|
+
const tooltipProps = {
|
|
41
|
+
target,
|
|
42
|
+
placement,
|
|
43
|
+
className: "dtable-tooltip ".concat(className ? className : ''),
|
|
44
|
+
innerClassName: hasShortcut ? 'dtable-tooltip-shortcut-inner' : '',
|
|
45
|
+
delay: {
|
|
46
|
+
show: 0,
|
|
47
|
+
hide: 0
|
|
48
|
+
},
|
|
49
|
+
hideArrow: true,
|
|
50
|
+
autohide: false,
|
|
51
|
+
modifiers: [{
|
|
52
|
+
name: 'offset',
|
|
53
|
+
options: {
|
|
54
|
+
offset: [0, -2.5]
|
|
55
|
+
}
|
|
56
|
+
}, {
|
|
57
|
+
name: 'preventOverflow',
|
|
58
|
+
options: {
|
|
59
|
+
boundariesElement: 'window'
|
|
60
|
+
}
|
|
61
|
+
}]
|
|
62
|
+
};
|
|
63
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.UncontrolledTooltip, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, tooltipProps), {}, {
|
|
64
|
+
children: renderContent()
|
|
65
|
+
}));
|
|
66
|
+
};
|
|
67
|
+
var _default = exports.default = DTableToolTip;
|
package/lib/IconButton/index.js
CHANGED
|
@@ -1,33 +1,60 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = void 0;
|
|
8
9
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
10
|
-
var _react =
|
|
11
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
var _DTableToolTip = _interopRequireDefault(require("../DTableToolTip"));
|
|
14
|
+
var _dtableUtils = require("dtable-utils");
|
|
15
|
+
require("../css/icon-button-styles.css");
|
|
12
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
const _excluded = ["disabled", "className", "icon", "children"];
|
|
17
|
+
const _excluded = ["disabled", "className", "icon", "color", "children", "title", "tooltipPlacement", "outline", "noBackground"];
|
|
14
18
|
const IconButton = _ref => {
|
|
15
19
|
let {
|
|
16
20
|
disabled,
|
|
17
21
|
className,
|
|
18
22
|
icon,
|
|
19
|
-
|
|
23
|
+
color,
|
|
24
|
+
children,
|
|
25
|
+
title,
|
|
26
|
+
tooltipPlacement,
|
|
27
|
+
outline,
|
|
28
|
+
noBackground
|
|
20
29
|
} = _ref,
|
|
21
30
|
otherProperties = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
const buttonId = (0, _react.useMemo)(() => "dtable-icon-button-".concat((0, _dtableUtils.generatorBase64Code)(8)), []);
|
|
32
|
+
const [mounted, setMounted] = (0, _react.useState)(false);
|
|
33
|
+
(0, _react.useEffect)(() => {
|
|
34
|
+
setMounted(true);
|
|
35
|
+
}, []);
|
|
36
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
37
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
38
|
+
id: buttonId,
|
|
39
|
+
className: (0, _classnames.default)('dtable-icon-btn', className, {
|
|
40
|
+
'disabled': disabled,
|
|
41
|
+
'outline': outline,
|
|
42
|
+
'no-background': noBackground
|
|
43
|
+
}),
|
|
44
|
+
"aria-label": title
|
|
45
|
+
}, otherProperties), {}, {
|
|
46
|
+
children: [icon && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
47
|
+
className: (0, _classnames.default)('seatable-icon dtable-font', "dtable-icon-".concat(icon)),
|
|
48
|
+
"aria-hidden": "true",
|
|
49
|
+
style: color ? {
|
|
50
|
+
color
|
|
51
|
+
} : undefined
|
|
52
|
+
}), children]
|
|
53
|
+
})), title && mounted && /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableToolTip.default, {
|
|
54
|
+
placement: tooltipPlacement || 'bottom',
|
|
55
|
+
target: buttonId,
|
|
56
|
+
children: title
|
|
57
|
+
})]
|
|
58
|
+
});
|
|
32
59
|
};
|
|
33
60
|
var _default = exports.default = IconButton;
|
|
@@ -124,7 +124,10 @@ function ImagePreviewerLightbox(props) {
|
|
|
124
124
|
zoomOutTip: (0, _lang.getLocale)('Zoom_out'),
|
|
125
125
|
rotateTip: (0, _lang.getLocale)('Rotate_image'),
|
|
126
126
|
deleteTip: (0, _lang.getLocale)('Delete_image'),
|
|
127
|
-
downloadImageTip: (0, _lang.getLocale)('Download_image')
|
|
127
|
+
downloadImageTip: (0, _lang.getLocale)('Download_image'),
|
|
128
|
+
preLineMetadaTip: (0, _lang.getLocale)('Pre_Line'),
|
|
129
|
+
nextLineMetadaTip: (0, _lang.getLocale)('Next_Line'),
|
|
130
|
+
closeMetadataTip: (0, _lang.getLocale)('Close')
|
|
128
131
|
});
|
|
129
132
|
}
|
|
130
133
|
var _default = exports.default = ImagePreviewerLightbox;
|
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactstrap = require("reactstrap");
|
|
10
10
|
var _IconButton = _interopRequireDefault(require("../IconButton"));
|
|
11
|
+
var _lang = require("../lang");
|
|
11
12
|
require("./index.css");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
class NotificationPopover extends _react.default.Component {
|
|
@@ -62,7 +63,8 @@ class NotificationPopover extends _react.default.Component {
|
|
|
62
63
|
className: "notification-header",
|
|
63
64
|
children: [headerText, /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButton.default, {
|
|
64
65
|
icon: "x",
|
|
65
|
-
onClick: this.props.onNotificationListToggle
|
|
66
|
+
onClick: this.props.onNotificationListToggle,
|
|
67
|
+
title: (0, _lang.getLocale)('Close')
|
|
66
68
|
})]
|
|
67
69
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
68
70
|
className: "notification-body",
|
|
@@ -47,12 +47,6 @@ const RoleStatusEditor = _ref => {
|
|
|
47
47
|
})]
|
|
48
48
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableDropdownMenu.default, {
|
|
49
49
|
className: "position-fixed",
|
|
50
|
-
modifiers: [{
|
|
51
|
-
name: 'preventOverflow',
|
|
52
|
-
options: {
|
|
53
|
-
boundary: document.body
|
|
54
|
-
}
|
|
55
|
-
}],
|
|
56
50
|
children: menuOptions.map(option => {
|
|
57
51
|
const {
|
|
58
52
|
value,
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.dtable-icon-btn {
|
|
2
|
+
display: inline-flex !important;
|
|
3
|
+
align-items: center !important;
|
|
4
|
+
justify-content: center !important;
|
|
5
|
+
padding: 0 !important;
|
|
6
|
+
border: none !important;
|
|
7
|
+
background-color: transparent !important;
|
|
8
|
+
color: #666666 !important;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
transition: all 0.2s ease !important;
|
|
11
|
+
outline: none !important;
|
|
12
|
+
border-radius: 3px !important;
|
|
13
|
+
min-width: 24px;
|
|
14
|
+
min-height: 24px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dtable-icon-btn:focus {
|
|
18
|
+
outline: none !important;
|
|
19
|
+
box-shadow: none !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.dtable-icon-btn:active:focus {
|
|
23
|
+
box-shadow: none !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.dtable-icon-btn.btn-lg,
|
|
27
|
+
.dtable-icon-btn.size-lg {
|
|
28
|
+
min-width: 40px !important;
|
|
29
|
+
min-height: 40px !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dtable-icon-btn.btn-lg .dtable-icon-btn__icon,
|
|
33
|
+
.dtable-icon-btn.size-lg .dtable-icon-btn__icon {
|
|
34
|
+
font-size: 20px !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.dtable-icon-btn .dtable-icon-btn__icon {
|
|
38
|
+
font-size: 16px !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dtable-icon-btn.btn-sm,
|
|
42
|
+
.dtable-icon-btn.size-sm {
|
|
43
|
+
min-width: 24px !important;
|
|
44
|
+
min-height: 24px !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.dtable-icon-btn.btn-sm .dtable-icon-btn__icon,
|
|
48
|
+
.dtable-icon-btn.size-sm .dtable-icon-btn__icon {
|
|
49
|
+
font-size: 14px !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.dtable-icon-btn.size-xs {
|
|
53
|
+
min-width: 20px !important;
|
|
54
|
+
min-height: 20px !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dtable-icon-btn.size-xs .dtable-icon-btn__icon {
|
|
58
|
+
font-size: 12px !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.dtable-icon-btn:hover:not(:disabled) {
|
|
62
|
+
background-color: rgba(0, 0, 0, 0.04) !important;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.dtable-icon-btn:active:not(:disabled) {
|
|
66
|
+
background-color: rgba(0, 0, 0, 0.08) !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.dtable-icon-btn.outline,
|
|
70
|
+
.dtable-icon-btn.outlined {
|
|
71
|
+
background-color: #FFFFFF !important;
|
|
72
|
+
border: 1px solid rgba(0, 40, 100, 0.12) !important;
|
|
73
|
+
color: #666666 !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.dtable-icon-btn.outline:hover:not(:disabled),
|
|
77
|
+
.dtable-icon-btn.outlined:hover:not(:disabled) {
|
|
78
|
+
background-color: rgba(0, 0, 0, 0.04) !important;
|
|
79
|
+
border-color: rgba(0, 40, 100, 0.12) !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.dtable-icon-btn.outline:active:not(:disabled),
|
|
83
|
+
.dtable-icon-btn.outlined:active:not(:disabled) {
|
|
84
|
+
background-color: rgba(0, 0, 0, 0.08) !important;
|
|
85
|
+
border-color: rgba(0, 40, 100, 0.12) !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.dtable-icon-btn.no-background,
|
|
89
|
+
.dtable-icon-btn.no-display-bac {
|
|
90
|
+
background-color: transparent !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.dtable-icon-btn.no-background:hover:not(:disabled),
|
|
94
|
+
.dtable-icon-btn.no-display-bac:hover:not(:disabled) {
|
|
95
|
+
background-color: transparent !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.dtable-icon-btn.no-background:active:not(:disabled),
|
|
99
|
+
.dtable-icon-btn.no-display-bac:active:not(:disabled) {
|
|
100
|
+
background-color: transparent !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.dtable-icon-btn:disabled,
|
|
104
|
+
.dtable-icon-btn.disabled {
|
|
105
|
+
opacity: 0.65 !important;
|
|
106
|
+
cursor: not-allowed !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dtable-icon-btn__icon {
|
|
110
|
+
display: inline-block;
|
|
111
|
+
line-height: 1;
|
|
112
|
+
margin: 0;
|
|
113
|
+
font-weight: normal;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.dtable-icon-btn.btn-primary,
|
|
117
|
+
.dtable-icon-btn.color-primary {
|
|
118
|
+
color: #FF8000 !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.dtable-icon-btn.btn-primary:hover:not(:disabled),
|
|
122
|
+
.dtable-icon-btn.color-primary:hover:not(:disabled) {
|
|
123
|
+
color: #ED7109 !important;
|
|
124
|
+
background-color: rgba(255, 128, 0, 0.1) !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dtable-icon-btn.btn-secondary,
|
|
128
|
+
.dtable-icon-btn.color-secondary {
|
|
129
|
+
color: #212529 !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.dtable-icon-btn.btn-danger,
|
|
133
|
+
.dtable-icon-btn.color-danger {
|
|
134
|
+
color: #dc3545 !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.dtable-icon-btn.btn-danger:hover:not(:disabled),
|
|
138
|
+
.dtable-icon-btn.color-danger:hover:not(:disabled) {
|
|
139
|
+
color: #c82333 !important;
|
|
140
|
+
background-color: rgba(220, 53, 69, 0.1) !important;
|
|
141
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -226,6 +226,12 @@ Object.defineProperty(exports, "DTableSwitch", {
|
|
|
226
226
|
return _DTableSwitch.default;
|
|
227
227
|
}
|
|
228
228
|
});
|
|
229
|
+
Object.defineProperty(exports, "DTableToolTip", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () {
|
|
232
|
+
return _DTableToolTip.default;
|
|
233
|
+
}
|
|
234
|
+
});
|
|
229
235
|
Object.defineProperty(exports, "DateEditor", {
|
|
230
236
|
enumerable: true,
|
|
231
237
|
get: function () {
|
|
@@ -685,6 +691,7 @@ var _FileItemFormatter = _interopRequireDefault(require("./FileItemFormatter"));
|
|
|
685
691
|
var _DigitalSignFormatter = _interopRequireDefault(require("./DigitalSignFormatter"));
|
|
686
692
|
var _DepartmentSingleSelectFormatter = _interopRequireDefault(require("./DepartmentSingleSelectFormatter"));
|
|
687
693
|
var _SimpleLongTextFormatter = _interopRequireDefault(require("./SimpleLongTextFormatter"));
|
|
694
|
+
var _DTableToolTip = _interopRequireDefault(require("./DTableToolTip"));
|
|
688
695
|
var _RowExpandFormatter = _interopRequireDefault(require("./RowExpandFormatter"));
|
|
689
696
|
var _RowExpandEditor = _interopRequireDefault(require("./RowExpandEditor"));
|
|
690
697
|
var _RowExpand = _interopRequireDefault(require("./RowExpand"));
|
package/lib/locales/de.json
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"Rotate_image": "Rotate image",
|
|
13
13
|
"Delete_image": "delete image",
|
|
14
14
|
"Download_image": "Download image",
|
|
15
|
+
"Pre_Line": "previous Line",
|
|
16
|
+
"Next_Line": "next Line",
|
|
15
17
|
"Zoom_in": "Zoom in",
|
|
16
18
|
"Zoom_out": "Zoom out",
|
|
17
19
|
"Choose_a_collaborator": "Wählen Sie einen Mitarbeiter",
|
package/lib/locales/en.json
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"Rotate_image": "Rotate image",
|
|
13
13
|
"Delete_image": "delete image",
|
|
14
14
|
"Download_image": "Download image",
|
|
15
|
+
"Pre_Line": "previous Line",
|
|
16
|
+
"Next_Line": "next Line",
|
|
15
17
|
"Zoom_in": "Zoom in",
|
|
16
18
|
"Zoom_out": "Zoom out",
|
|
17
19
|
"Choose_a_collaborator": "Choose a collaborator",
|
package/lib/locales/es.json
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"Rotate_image": "Rotate image",
|
|
13
13
|
"Delete_image": "delete image",
|
|
14
14
|
"Download_image": "Download image",
|
|
15
|
+
"Pre_Line": "previous Line",
|
|
16
|
+
"Next_Line": "next Line",
|
|
15
17
|
"Zoom_in": "Zoom in",
|
|
16
18
|
"Zoom_out": "Zoom out",
|
|
17
19
|
"Choose_a_collaborator": "Choose a collaborator",
|
package/lib/locales/fr.json
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"Rotate_image": "Rotate image",
|
|
13
13
|
"Delete_image": "delete image",
|
|
14
14
|
"Download_image": "Download image",
|
|
15
|
+
"Pre_Line": "previous Line",
|
|
16
|
+
"Next_Line": "next Line",
|
|
15
17
|
"Zoom_in": "Zoom in",
|
|
16
18
|
"Zoom_out": "Zoom out",
|
|
17
19
|
"Choose_a_collaborator": "Choisissez un collaborateur",
|
package/lib/locales/pt.json
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"Rotate_image": "Rotate image",
|
|
13
13
|
"Delete_image": "delete image",
|
|
14
14
|
"Download_image": "Download image",
|
|
15
|
+
"Pre_Line": "previous Line",
|
|
16
|
+
"Next_Line": "next Line",
|
|
15
17
|
"Zoom_in": "Zoom in",
|
|
16
18
|
"Zoom_out": "Zoom out",
|
|
17
19
|
"Choose_a_collaborator": "Choose a collaborator",
|
package/lib/locales/ru.json
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"Rotate_image": "Rotate image",
|
|
13
13
|
"Delete_image": "delete image",
|
|
14
14
|
"Download_image": "Download image",
|
|
15
|
+
"Pre_Line": "previous Line",
|
|
16
|
+
"Next_Line": "next Line",
|
|
15
17
|
"Zoom_in": "Zoom in",
|
|
16
18
|
"Zoom_out": "Zoom out",
|
|
17
19
|
"Choose_a_collaborator": "Choose a collaborator",
|
package/lib/locales/zh-CN.json
CHANGED