@synerise/ds-column-manager 1.0.5 → 1.0.7
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/CHANGELOG.md +16 -0
- package/dist/ColumnManager.js +9 -10
- package/dist/ColumnManagerActions/ColumnManagerActions.js +4 -4
- package/dist/ColumnManagerGroupSettings/ColumnManagerGroupSettings.js +1 -1
- package/dist/ColumnManagerGroupSettings/RangesForm/RangeInput.js +2 -2
- package/dist/ColumnManagerGroupSettings/RangesForm/RangeRow.js +1 -1
- package/dist/ColumnManagerItem/ColumnManagerItem.js +1 -1
- package/dist/ColumnManagerList/ColumnManagerList.js +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.0.6...@synerise/ds-column-manager@1.0.7) (2025-04-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.0.5...@synerise/ds-column-manager@1.0.6) (2025-04-04)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-column-manager
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-column-manager@1.0.4...@synerise/ds-column-manager@1.0.5) (2025-04-02)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-column-manager
|
package/dist/ColumnManager.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
-
function _defineProperties(
|
|
3
|
-
function _createClass(
|
|
4
|
-
function _toPropertyKey(
|
|
5
|
-
function _toPrimitive(
|
|
6
|
-
function _inheritsLoose(
|
|
7
|
-
function _setPrototypeOf(
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
3
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
7
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { injectIntl } from 'react-intl';
|
|
10
10
|
import Typography from 'antd/lib/typography';
|
|
@@ -30,7 +30,6 @@ var DEFAULT_STATE = {
|
|
|
30
30
|
groupSettings: undefined
|
|
31
31
|
};
|
|
32
32
|
var ColumnManager = /*#__PURE__*/function (_React$Component) {
|
|
33
|
-
_inheritsLoose(ColumnManager, _React$Component);
|
|
34
33
|
function ColumnManager(props) {
|
|
35
34
|
var _this;
|
|
36
35
|
_this = _React$Component.call(this, props) || this;
|
|
@@ -161,6 +160,7 @@ var ColumnManager = /*#__PURE__*/function (_React$Component) {
|
|
|
161
160
|
});
|
|
162
161
|
return _this;
|
|
163
162
|
}
|
|
163
|
+
_inheritsLoose(ColumnManager, _React$Component);
|
|
164
164
|
ColumnManager.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {
|
|
165
165
|
if (props.itemFilterConfig && props.itemFilterConfig.selectedItemId !== state.selectedFilterId) {
|
|
166
166
|
var visible = props.columns.filter(function (column) {
|
|
@@ -292,7 +292,7 @@ var ColumnManager = /*#__PURE__*/function (_React$Component) {
|
|
|
292
292
|
}
|
|
293
293
|
}));
|
|
294
294
|
};
|
|
295
|
-
_createClass(ColumnManager, [{
|
|
295
|
+
return _createClass(ColumnManager, [{
|
|
296
296
|
key: "texts",
|
|
297
297
|
get: function get() {
|
|
298
298
|
var _this$props2 = this.props,
|
|
@@ -426,6 +426,5 @@ var ColumnManager = /*#__PURE__*/function (_React$Component) {
|
|
|
426
426
|
}, texts);
|
|
427
427
|
}
|
|
428
428
|
}]);
|
|
429
|
-
return ColumnManager;
|
|
430
429
|
}(React.Component); // @ts-ignore
|
|
431
430
|
export default injectIntl(ColumnManager);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
-
function _inheritsLoose(
|
|
3
|
-
function _setPrototypeOf(
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
3
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Button from '@synerise/ds-button';
|
|
6
6
|
import Modal from '@synerise/ds-modal';
|
|
@@ -18,7 +18,6 @@ var DEFAULT_STATE = {
|
|
|
18
18
|
modalVisible: false
|
|
19
19
|
};
|
|
20
20
|
var ColumnManagerActions = /*#__PURE__*/function (_React$Component) {
|
|
21
|
-
_inheritsLoose(ColumnManagerActions, _React$Component);
|
|
22
21
|
function ColumnManagerActions() {
|
|
23
22
|
var _this;
|
|
24
23
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -67,6 +66,7 @@ var ColumnManagerActions = /*#__PURE__*/function (_React$Component) {
|
|
|
67
66
|
};
|
|
68
67
|
return _this;
|
|
69
68
|
}
|
|
69
|
+
_inheritsLoose(ColumnManagerActions, _React$Component);
|
|
70
70
|
var _proto = ColumnManagerActions.prototype;
|
|
71
71
|
_proto.render = function render() {
|
|
72
72
|
var _this$props2 = this.props,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import Modal from '@synerise/ds-modal';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Select from '@synerise/ds-select';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["type", "value", "onChange", "handleInputRef"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { Input } from '@synerise/ds-input';
|
|
6
6
|
import InputNumber from '@synerise/ds-input-number';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useCallback, useState } from 'react';
|
|
3
3
|
import Icon, { CloseS } from '@synerise/ds-icon';
|
|
4
4
|
import { theme } from '@synerise/ds-core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _excluded = ["item", "theme", "setFixed", "switchAction", "draggable", "searchQuery", "texts", "showGroupSettings"];
|
|
2
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
4
|
import { withTheme } from 'styled-components';
|
|
5
5
|
import Icon, { CheckS, DividerM, DragHandleM, Grid4M, Grid5M, OptionHorizontalM, PinM, VarTypeBooleanM, VarTypeDateM, VarTypeListM, VarTypeNumberM, VarTypeStringM } from '@synerise/ds-icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactSortable } from 'react-sortablejs';
|
|
4
4
|
import * as S from './ColumnManager.style';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-column-manager",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "ColumnManager UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"sideEffects": false,
|
|
32
32
|
"types": "dist/index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@synerise/ds-alert": "^1.0.
|
|
35
|
-
"@synerise/ds-button": "^1.1.
|
|
34
|
+
"@synerise/ds-alert": "^1.0.5",
|
|
35
|
+
"@synerise/ds-button": "^1.1.4",
|
|
36
36
|
"@synerise/ds-drawer": "^1.0.1",
|
|
37
|
-
"@synerise/ds-dropdown": "^1.0.
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-input": "^1.0
|
|
40
|
-
"@synerise/ds-input-number": "^1.0
|
|
41
|
-
"@synerise/ds-item-filter": "^1.0.
|
|
42
|
-
"@synerise/ds-menu": "^1.0.
|
|
43
|
-
"@synerise/ds-modal": "^1.0.
|
|
44
|
-
"@synerise/ds-result": "^1.0.
|
|
45
|
-
"@synerise/ds-scrollbar": "^1.0.
|
|
46
|
-
"@synerise/ds-search-bar": "^1.0
|
|
47
|
-
"@synerise/ds-select": "^1.0
|
|
48
|
-
"@synerise/ds-switch": "^1.0
|
|
49
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
50
|
-
"@synerise/ds-typography": "^1.0.
|
|
37
|
+
"@synerise/ds-dropdown": "^1.0.5",
|
|
38
|
+
"@synerise/ds-icon": "^1.4.0",
|
|
39
|
+
"@synerise/ds-input": "^1.1.0",
|
|
40
|
+
"@synerise/ds-input-number": "^1.1.0",
|
|
41
|
+
"@synerise/ds-item-filter": "^1.0.7",
|
|
42
|
+
"@synerise/ds-menu": "^1.0.5",
|
|
43
|
+
"@synerise/ds-modal": "^1.0.5",
|
|
44
|
+
"@synerise/ds-result": "^1.0.5",
|
|
45
|
+
"@synerise/ds-scrollbar": "^1.0.5",
|
|
46
|
+
"@synerise/ds-search-bar": "^1.1.0",
|
|
47
|
+
"@synerise/ds-select": "^1.1.0",
|
|
48
|
+
"@synerise/ds-switch": "^1.1.0",
|
|
49
|
+
"@synerise/ds-tooltip": "^1.1.4",
|
|
50
|
+
"@synerise/ds-typography": "^1.0.5",
|
|
51
51
|
"@synerise/ds-utils": "^1.0.1",
|
|
52
52
|
"react-sortablejs": "^6.0.0",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
60
60
|
"styled-components": "^5.3.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "6735f9babfeef53122f54ca86cba5f581e8870d9"
|
|
63
63
|
}
|