@plesk/ui-library 3.36.0 → 3.37.0
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/cjs/components/Card/helpers.js +0 -1
- package/cjs/components/Carousel/Carousel.js +182 -77
- package/cjs/components/ComboBox/ComboBoxOption.js +2 -1
- package/cjs/components/Drawer/DrawerProgress.js +1 -1
- package/cjs/components/List/List.js +102 -314
- package/cjs/components/List/ListAction.js +0 -1
- package/cjs/components/Panel/Panel.js +61 -98
- package/cjs/components/Select/SelectControl.js +4 -0
- package/cjs/components/Select/SelectOption.js +2 -1
- package/cjs/components/Toaster/Toaster.js +3 -3
- package/cjs/components/Toolbar/ToolbarMenu.js +0 -1
- package/cjs/components/index.js +42 -22
- package/cjs/index.js +1 -1
- package/dist/plesk-ui-library-rtl.css +1 -1
- package/dist/plesk-ui-library-rtl.css.map +1 -1
- package/dist/plesk-ui-library.css +1 -1
- package/dist/plesk-ui-library.css.map +1 -1
- package/dist/plesk-ui-library.js +574 -678
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +10 -10
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Card/helpers.js +0 -1
- package/esm/components/Carousel/Carousel.js +183 -78
- package/esm/components/ComboBox/ComboBoxOption.js +2 -1
- package/esm/components/Drawer/DrawerProgress.js +1 -1
- package/esm/components/List/List.js +102 -314
- package/esm/components/List/ListAction.js +0 -1
- package/esm/components/Panel/Panel.js +62 -99
- package/esm/components/Select/SelectControl.js +4 -0
- package/esm/components/Select/SelectOption.js +2 -1
- package/esm/components/Toaster/Toaster.js +3 -3
- package/esm/components/Toolbar/ToolbarMenu.js +0 -1
- package/esm/components/index.js +2 -4
- package/esm/index.js +1 -1
- package/package.json +41 -41
- package/styleguide/build/bundle.c3d05006.js +2 -0
- package/styleguide/index.html +2 -2
- package/types/src/components/Action/Action.d.ts +1 -1
- package/types/src/components/Action/index.d.ts +1 -0
- package/types/src/components/Alert/Alert.d.ts +1 -1
- package/types/src/components/Alert/index.d.ts +1 -0
- package/types/src/components/AutoClosable/AutoClosable.d.ts +1 -1
- package/types/src/components/AutoClosable/index.d.ts +1 -0
- package/types/src/components/AuxiliaryActions/AuxiliaryActions.d.ts +1 -1
- package/types/src/components/AuxiliaryActions/index.d.ts +1 -0
- package/types/src/components/Badge/Badge.d.ts +1 -1
- package/types/src/components/Badge/index.d.ts +1 -0
- package/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/types/src/components/Breadcrumbs/index.d.ts +1 -0
- package/types/src/components/Button/ButtonContext.d.ts +1 -0
- package/types/src/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/types/src/components/ButtonGroup/index.d.ts +1 -0
- package/types/src/components/Carousel/Carousel.d.ts +43 -8
- package/types/src/components/Checkbox/Checkbox.d.ts +1 -1
- package/types/src/components/Checkbox/index.d.ts +1 -0
- package/types/src/components/ComboBox/ComboBox.d.ts +1 -1
- package/types/src/components/ComboBox/ComboBoxOption.d.ts +1 -1
- package/types/src/components/ComboBox/index.d.ts +2 -0
- package/types/src/components/ConsoleOutput/ConsoleOutput.d.ts +1 -1
- package/types/src/components/ConsoleOutput/index.d.ts +1 -0
- package/types/src/components/ContentLoader/ContentLoader.d.ts +1 -1
- package/types/src/components/ContentLoader/index.d.ts +1 -0
- package/types/src/components/Cuttable/Cuttable.d.ts +1 -1
- package/types/src/components/Cuttable/index.d.ts +1 -0
- package/types/src/components/DistractionFreeModeContext/DistractionFreeModeContext.d.ts +1 -0
- package/types/src/components/Drawer/DrawerProgress.d.ts +1 -1
- package/types/src/components/Form/DisabledContext.d.ts +1 -0
- package/types/src/components/Form/FormContext.d.ts +1 -0
- package/types/src/components/Form/ScrollableElementFormContext.d.ts +1 -0
- package/types/src/components/List/List.d.ts +637 -0
- package/types/src/components/List/ListAction.d.ts +21 -18
- package/types/src/components/List/ListActionsDivider.d.ts +1 -1
- package/types/src/components/List/ListEmptyView.d.ts +1 -1
- package/types/src/components/List/index.d.ts +12 -0
- package/types/src/components/OnDarkContext/OnDarkContext.d.ts +1 -0
- package/types/src/components/Pagination/Pagination.d.ts +1 -1
- package/types/src/components/Pagination/index.d.ts +1 -0
- package/types/src/components/Panel/Panel.d.ts +4 -21
- package/types/src/components/Panel/index.d.ts +1 -0
- package/types/src/components/Radio/Radio.d.ts +4 -6
- package/types/src/components/Radio/index.d.ts +1 -0
- package/types/src/components/ResponsiveContext/ResponsiveContext.d.ts +1 -0
- package/types/src/components/Section/Section.d.ts +1 -1
- package/types/src/components/Toolbar/RegistryContext.d.ts +1 -0
- package/types/src/components/Translate/Translate.d.ts +4 -3
- package/types/src/components/Translate/index.d.ts +1 -1
- package/types/src/components/VerticalContext/VerticalContext.d.ts +1 -0
- package/types/src/components/index.d.ts +17 -4
- package/styleguide/build/bundle.2c956ff2.js +0 -2
- /package/styleguide/build/{bundle.2c956ff2.js.LICENSE.txt → bundle.c3d05006.js.LICENSE.txt} +0 -0
package/dist/plesk-ui-library.js
CHANGED
|
@@ -937,8 +937,8 @@ var _reactDom = __webpack_require__(/*! react-dom */ "react-dom");
|
|
|
937
937
|
var _react = __webpack_require__(/*! react */ "react");
|
|
938
938
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
939
939
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
940
|
-
function _toPropertyKey(
|
|
941
|
-
function _toPrimitive(
|
|
940
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
941
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
942
942
|
const AutoClosableContext = /*#__PURE__*/(0, _react.createContext)(null);
|
|
943
943
|
/**
|
|
944
944
|
* This is helper component for handling outside clicks.
|
|
@@ -1647,8 +1647,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
1647
1647
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
1648
1648
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
1649
1649
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1650
|
-
function _toPropertyKey(
|
|
1651
|
-
function _toPrimitive(
|
|
1650
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
1651
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
1652
1652
|
const VIEW_TILE = 'tile';
|
|
1653
1653
|
const VIEW_EXTENDED = 'extended';
|
|
1654
1654
|
const VIEW_ROW = 'row';
|
|
@@ -2342,7 +2342,6 @@ const loadImage = (src, _ref) => {
|
|
|
2342
2342
|
onFailure
|
|
2343
2343
|
} = _ref;
|
|
2344
2344
|
const image = new Image();
|
|
2345
|
-
image.loading = 'lazy';
|
|
2346
2345
|
image.onload = onSuccess;
|
|
2347
2346
|
image.onerror = onFailure;
|
|
2348
2347
|
image.src = src;
|
|
@@ -2413,8 +2412,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
2413
2412
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
2414
2413
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
2415
2414
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2416
|
-
function _toPropertyKey(
|
|
2417
|
-
function _toPrimitive(
|
|
2415
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
2416
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
2418
2417
|
const VIEW_TILE = exports.VIEW_TILE = 'tile';
|
|
2419
2418
|
const VIEW_RESPONSIVE = exports.VIEW_RESPONSIVE = 'responsive';
|
|
2420
2419
|
const VIEW_EXTENDED = exports.VIEW_EXTENDED = 'extended';
|
|
@@ -3043,8 +3042,8 @@ __webpack_require__(/*! ./Carousel.less */ "./components/Carousel/Carousel.less"
|
|
|
3043
3042
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
3044
3043
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3045
3044
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3046
|
-
function _toPropertyKey(
|
|
3047
|
-
function _toPrimitive(
|
|
3045
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
3046
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
3048
3047
|
const calcWidths = node => {
|
|
3049
3048
|
const slideWidths = [].map.call(node.childNodes, el => el.clientWidth);
|
|
3050
3049
|
const totalWidth = slideWidths.reduce((prev, curr) => prev + curr, 0);
|
|
@@ -3059,8 +3058,8 @@ const calcWidths = node => {
|
|
|
3059
3058
|
* @since 0.0.42
|
|
3060
3059
|
*/
|
|
3061
3060
|
class Carousel extends _react.Component {
|
|
3062
|
-
constructor(
|
|
3063
|
-
super(
|
|
3061
|
+
constructor() {
|
|
3062
|
+
super(...arguments);
|
|
3064
3063
|
_defineProperty(this, "state", {
|
|
3065
3064
|
showControls: false,
|
|
3066
3065
|
current: 0,
|
|
@@ -3070,21 +3069,145 @@ class Carousel extends _react.Component {
|
|
|
3070
3069
|
totalWidth: 0
|
|
3071
3070
|
});
|
|
3072
3071
|
_defineProperty(this, "speed", 500);
|
|
3073
|
-
_defineProperty(this, "playSpeed", 5000);
|
|
3074
3072
|
_defineProperty(this, "isRtl", void 0);
|
|
3075
3073
|
_defineProperty(this, "playTimer", null);
|
|
3076
3074
|
_defineProperty(this, "movingCallback", null);
|
|
3077
3075
|
_defineProperty(this, "rootRef", /*#__PURE__*/(0, _react.createRef)());
|
|
3078
3076
|
_defineProperty(this, "genuineRef", /*#__PURE__*/(0, _react.createRef)());
|
|
3079
|
-
this
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
this
|
|
3077
|
+
_defineProperty(this, "handlePrevClick", () => {
|
|
3078
|
+
this.stop();
|
|
3079
|
+
this.setCurrentSlide(this.state.current - 1);
|
|
3080
|
+
});
|
|
3081
|
+
_defineProperty(this, "handleNextClick", () => {
|
|
3082
|
+
this.stop();
|
|
3083
|
+
this.setCurrentSlide(this.state.current + 1);
|
|
3084
|
+
});
|
|
3085
|
+
_defineProperty(this, "play", () => {
|
|
3086
|
+
this.playTimer = setTimeout(() => {
|
|
3087
|
+
this.setCurrentSlide(this.state.current + 1);
|
|
3088
|
+
this.play();
|
|
3089
|
+
}, this.props.autoplayInterval);
|
|
3090
|
+
});
|
|
3091
|
+
_defineProperty(this, "stop", () => {
|
|
3092
|
+
if (this.playTimer) {
|
|
3093
|
+
clearTimeout(this.playTimer);
|
|
3094
|
+
this.playTimer = null;
|
|
3095
|
+
}
|
|
3096
|
+
});
|
|
3097
|
+
_defineProperty(this, "handleResize", _ref => {
|
|
3098
|
+
let {
|
|
3099
|
+
bounds
|
|
3100
|
+
} = _ref;
|
|
3101
|
+
const node = this.genuineRef.current;
|
|
3102
|
+
if (!node) {
|
|
3103
|
+
return;
|
|
3104
|
+
}
|
|
3105
|
+
const {
|
|
3106
|
+
slideWidths,
|
|
3107
|
+
totalWidth
|
|
3108
|
+
} = calcWidths(node);
|
|
3109
|
+
this.setState({
|
|
3110
|
+
slideWidths,
|
|
3111
|
+
totalWidth,
|
|
3112
|
+
showControls: (bounds?.width || 0) < totalWidth
|
|
3113
|
+
});
|
|
3114
|
+
});
|
|
3115
|
+
_defineProperty(this, "renderNavigationDots", () => {
|
|
3116
|
+
const {
|
|
3117
|
+
children,
|
|
3118
|
+
baseClassName,
|
|
3119
|
+
dots,
|
|
3120
|
+
items
|
|
3121
|
+
} = this.props;
|
|
3122
|
+
if (!dots || !items) {
|
|
3123
|
+
return null;
|
|
3124
|
+
}
|
|
3125
|
+
const {
|
|
3126
|
+
current
|
|
3127
|
+
} = this.state;
|
|
3128
|
+
const childrenCount = children?.length ?? 1;
|
|
3129
|
+
const pages = Math.ceil(childrenCount / items);
|
|
3130
|
+
if (pages <= 1) {
|
|
3131
|
+
return null;
|
|
3132
|
+
}
|
|
3133
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3134
|
+
className: `${baseClassName}__dots`,
|
|
3135
|
+
children: Array.from({
|
|
3136
|
+
length: pages
|
|
3137
|
+
}).map((_, idx) => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3138
|
+
role: "button",
|
|
3139
|
+
className: (0, _classnames.default)(`${baseClassName}__dots--dot`, current === idx ? `${baseClassName}__dots--dot-current` : null),
|
|
3140
|
+
"aria-current": current === idx,
|
|
3141
|
+
onClick: () => this.setCurrentSlide(idx)
|
|
3142
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
3143
|
+
,
|
|
3144
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
3145
|
+
name: "dot-big"
|
|
3146
|
+
})
|
|
3147
|
+
}, idx))
|
|
3148
|
+
});
|
|
3149
|
+
});
|
|
3150
|
+
_defineProperty(this, "renderNavigationArrows", () => {
|
|
3151
|
+
const {
|
|
3152
|
+
baseClassName,
|
|
3153
|
+
arrows
|
|
3154
|
+
} = this.props;
|
|
3155
|
+
const {
|
|
3156
|
+
showControls
|
|
3157
|
+
} = this.state;
|
|
3158
|
+
if (!arrows || !showControls) {
|
|
3159
|
+
return null;
|
|
3160
|
+
}
|
|
3161
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3162
|
+
className: `${baseClassName}__controls`,
|
|
3163
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
3164
|
+
type: "button",
|
|
3165
|
+
"aria-label": "previous slide",
|
|
3166
|
+
className: (0, _classnames.default)(`${baseClassName}__control`, `${baseClassName}__control--previous`),
|
|
3167
|
+
onClick: this.handlePrevClick,
|
|
3168
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
3169
|
+
name: "chevron-left",
|
|
3170
|
+
flipHorizontal: this.isRtl,
|
|
3171
|
+
className: `${baseClassName}__control-icon`
|
|
3172
|
+
})
|
|
3173
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
3174
|
+
type: "button",
|
|
3175
|
+
"aria-label": "next slide",
|
|
3176
|
+
className: (0, _classnames.default)(`${baseClassName}__control`, `${baseClassName}__control--next`),
|
|
3177
|
+
onClick: this.handleNextClick,
|
|
3178
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
3179
|
+
name: "chevron-right",
|
|
3180
|
+
flipHorizontal: this.isRtl,
|
|
3181
|
+
className: `${baseClassName}__control-icon`
|
|
3182
|
+
})
|
|
3183
|
+
})]
|
|
3184
|
+
});
|
|
3185
|
+
});
|
|
3186
|
+
_defineProperty(this, "renderSliderItems", () => {
|
|
3187
|
+
const {
|
|
3188
|
+
children,
|
|
3189
|
+
baseClassName,
|
|
3190
|
+
items
|
|
3191
|
+
} = this.props;
|
|
3192
|
+
const childrenCount = children?.length ?? 1;
|
|
3193
|
+
let width = '';
|
|
3194
|
+
if (items) {
|
|
3195
|
+
width = `calc(100% / ${Math.min(childrenCount, items)})`;
|
|
3196
|
+
}
|
|
3197
|
+
return _react.Children.map(children, item => item && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3198
|
+
className: `${baseClassName}__item`,
|
|
3199
|
+
style: {
|
|
3200
|
+
width
|
|
3201
|
+
},
|
|
3202
|
+
children: item
|
|
3203
|
+
}));
|
|
3204
|
+
});
|
|
3084
3205
|
}
|
|
3085
3206
|
componentDidMount() {
|
|
3086
3207
|
this.isRtl = (0, _utils.isRtl)();
|
|
3087
|
-
this.
|
|
3208
|
+
if (this.props.autoplay) {
|
|
3209
|
+
this.play();
|
|
3210
|
+
}
|
|
3088
3211
|
}
|
|
3089
3212
|
componentDidUpdate() {
|
|
3090
3213
|
if (!this.rootRef.current || !this.genuineRef.current) {
|
|
@@ -3093,6 +3216,23 @@ class Carousel extends _react.Component {
|
|
|
3093
3216
|
const {
|
|
3094
3217
|
width
|
|
3095
3218
|
} = this.rootRef.current.getBoundingClientRect();
|
|
3219
|
+
const {
|
|
3220
|
+
items,
|
|
3221
|
+
children
|
|
3222
|
+
} = this.props;
|
|
3223
|
+
if (items) {
|
|
3224
|
+
const slideItems = items;
|
|
3225
|
+
const childrenCount = children?.length ?? 1;
|
|
3226
|
+
const totalWidth = childrenCount * (width / slideItems);
|
|
3227
|
+
if (this.state.totalWidth !== totalWidth) {
|
|
3228
|
+
this.setState({
|
|
3229
|
+
slideWidths: new Array(childrenCount).fill(width),
|
|
3230
|
+
totalWidth,
|
|
3231
|
+
showControls: childrenCount > slideItems
|
|
3232
|
+
});
|
|
3233
|
+
}
|
|
3234
|
+
return;
|
|
3235
|
+
}
|
|
3096
3236
|
const {
|
|
3097
3237
|
slideWidths,
|
|
3098
3238
|
totalWidth
|
|
@@ -3111,26 +3251,6 @@ class Carousel extends _react.Component {
|
|
|
3111
3251
|
clearTimeout(this.movingCallback);
|
|
3112
3252
|
}
|
|
3113
3253
|
}
|
|
3114
|
-
handlePrevClick() {
|
|
3115
|
-
this.stop();
|
|
3116
|
-
this.setCurrentSlide(this.state.current - 1);
|
|
3117
|
-
}
|
|
3118
|
-
handleNextClick() {
|
|
3119
|
-
this.stop();
|
|
3120
|
-
this.setCurrentSlide(this.state.current + 1);
|
|
3121
|
-
}
|
|
3122
|
-
play() {
|
|
3123
|
-
this.playTimer = setTimeout(() => {
|
|
3124
|
-
this.setCurrentSlide(this.state.current + 1);
|
|
3125
|
-
this.play();
|
|
3126
|
-
}, this.playSpeed);
|
|
3127
|
-
}
|
|
3128
|
-
stop() {
|
|
3129
|
-
if (this.playTimer) {
|
|
3130
|
-
clearTimeout(this.playTimer);
|
|
3131
|
-
this.playTimer = null;
|
|
3132
|
-
}
|
|
3133
|
-
}
|
|
3134
3254
|
setCurrentSlide(next) {
|
|
3135
3255
|
const {
|
|
3136
3256
|
slideWidths,
|
|
@@ -3146,6 +3266,7 @@ class Carousel extends _react.Component {
|
|
|
3146
3266
|
if (current >= slideWidths.length) {
|
|
3147
3267
|
current = 0;
|
|
3148
3268
|
}
|
|
3269
|
+
this.props.onSlide?.(next);
|
|
3149
3270
|
this.setState({
|
|
3150
3271
|
current,
|
|
3151
3272
|
next,
|
|
@@ -3158,25 +3279,10 @@ class Carousel extends _react.Component {
|
|
|
3158
3279
|
});
|
|
3159
3280
|
}, this.speed);
|
|
3160
3281
|
}
|
|
3161
|
-
handleResize(_ref) {
|
|
3162
|
-
let {
|
|
3163
|
-
bounds
|
|
3164
|
-
} = _ref;
|
|
3165
|
-
const node = this.genuineRef.current;
|
|
3166
|
-
if (!node) {
|
|
3167
|
-
return;
|
|
3168
|
-
}
|
|
3169
|
-
const {
|
|
3170
|
-
slideWidths,
|
|
3171
|
-
totalWidth
|
|
3172
|
-
} = calcWidths(node);
|
|
3173
|
-
this.setState({
|
|
3174
|
-
slideWidths,
|
|
3175
|
-
totalWidth,
|
|
3176
|
-
showControls: (bounds?.width || 0) < totalWidth
|
|
3177
|
-
});
|
|
3178
|
-
}
|
|
3179
3282
|
listStyle() {
|
|
3283
|
+
const {
|
|
3284
|
+
arrows
|
|
3285
|
+
} = this.props;
|
|
3180
3286
|
const {
|
|
3181
3287
|
current,
|
|
3182
3288
|
next,
|
|
@@ -3185,7 +3291,12 @@ class Carousel extends _react.Component {
|
|
|
3185
3291
|
totalWidth
|
|
3186
3292
|
} = this.state;
|
|
3187
3293
|
const moveTo = moving ? next : current;
|
|
3188
|
-
let x = -totalWidth
|
|
3294
|
+
let x = -totalWidth;
|
|
3295
|
+
|
|
3296
|
+
// navigation arrows width
|
|
3297
|
+
if (arrows) {
|
|
3298
|
+
x += 26;
|
|
3299
|
+
}
|
|
3189
3300
|
if (moveTo < 0) {
|
|
3190
3301
|
for (let i = moveTo; i < 0; i++) {
|
|
3191
3302
|
x += slideWidths[i + slideWidths.length];
|
|
@@ -3213,6 +3324,12 @@ class Carousel extends _react.Component {
|
|
|
3213
3324
|
baseClassName,
|
|
3214
3325
|
className,
|
|
3215
3326
|
children,
|
|
3327
|
+
autoplay,
|
|
3328
|
+
autoplayInterval,
|
|
3329
|
+
items,
|
|
3330
|
+
onSlide,
|
|
3331
|
+
dots,
|
|
3332
|
+
arrows,
|
|
3216
3333
|
...props
|
|
3217
3334
|
} = this.props;
|
|
3218
3335
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactMeasure.default, {
|
|
@@ -3228,35 +3345,17 @@ class Carousel extends _react.Component {
|
|
|
3228
3345
|
className: (0, _classnames.default)(baseClassName, className),
|
|
3229
3346
|
...props,
|
|
3230
3347
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3231
|
-
className: `${baseClassName}
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
className: (0, _classnames.default)(`${baseClassName}__control`, `${baseClassName}__control--previous`),
|
|
3243
|
-
onClick: this.handlePrevClick,
|
|
3244
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
3245
|
-
name: "chevron-left",
|
|
3246
|
-
flipHorizontal: this.isRtl,
|
|
3247
|
-
className: `${baseClassName}__control-icon`
|
|
3248
|
-
})
|
|
3249
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
3250
|
-
type: "button",
|
|
3251
|
-
className: (0, _classnames.default)(`${baseClassName}__control`, `${baseClassName}__control--next`),
|
|
3252
|
-
onClick: this.handleNextClick,
|
|
3253
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
3254
|
-
name: "chevron-right",
|
|
3255
|
-
flipHorizontal: this.isRtl,
|
|
3256
|
-
className: `${baseClassName}__control-icon`
|
|
3257
|
-
})
|
|
3258
|
-
})]
|
|
3259
|
-
})]
|
|
3348
|
+
className: `${baseClassName}__wrap`,
|
|
3349
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3350
|
+
className: `${baseClassName}__slides`,
|
|
3351
|
+
style: showControls ? this.listStyle() : undefined,
|
|
3352
|
+
children: [showControls && this.renderSliderItems(), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3353
|
+
className: `${baseClassName}__genuine-slides`,
|
|
3354
|
+
ref: this.genuineRef,
|
|
3355
|
+
children: this.renderSliderItems()
|
|
3356
|
+
}), showControls && this.renderSliderItems()]
|
|
3357
|
+
}), this.renderNavigationArrows()]
|
|
3358
|
+
}), this.renderNavigationDots()]
|
|
3260
3359
|
});
|
|
3261
3360
|
}
|
|
3262
3361
|
});
|
|
@@ -3264,6 +3363,11 @@ class Carousel extends _react.Component {
|
|
|
3264
3363
|
}
|
|
3265
3364
|
_defineProperty(Carousel, "defaultProps", {
|
|
3266
3365
|
children: null,
|
|
3366
|
+
arrows: true,
|
|
3367
|
+
dots: false,
|
|
3368
|
+
autoplay: true,
|
|
3369
|
+
autoplayInterval: 5000,
|
|
3370
|
+
onSlide: null,
|
|
3267
3371
|
className: null,
|
|
3268
3372
|
baseClassName: `${_constants.CLS_PREFIX}carousel`
|
|
3269
3373
|
});
|
|
@@ -3556,8 +3660,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
3556
3660
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
3557
3661
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
3558
3662
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3559
|
-
function _toPropertyKey(
|
|
3560
|
-
function _toPrimitive(
|
|
3663
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
3664
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
3561
3665
|
/**
|
|
3562
3666
|
* `CodeEditor` component is used for editing text as code with proper color highlighting according to selected programming language.
|
|
3563
3667
|
* @since 0.0.61
|
|
@@ -4261,7 +4365,8 @@ var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/
|
|
|
4261
4365
|
/**
|
|
4262
4366
|
* `ComboBoxOption` is a part of [ComboBox](#!/ComboBox) component.
|
|
4263
4367
|
* @since 2.6.0
|
|
4264
|
-
*/
|
|
4368
|
+
*/
|
|
4369
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4265
4370
|
const ComboBoxOption = _props => {
|
|
4266
4371
|
// styleguidist doesn't show Props & Methods if component renders nothing
|
|
4267
4372
|
// eslint-disable-next-line no-constant-condition
|
|
@@ -4539,8 +4644,8 @@ __webpack_require__(/*! ./ConsoleOutput.less */ "./components/ConsoleOutput/Cons
|
|
|
4539
4644
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
4540
4645
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
4541
4646
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4542
|
-
function _toPropertyKey(
|
|
4543
|
-
function _toPrimitive(
|
|
4647
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
4648
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
4544
4649
|
const scrollToBottom = el => {
|
|
4545
4650
|
el.scrollTop = el.scrollHeight;
|
|
4546
4651
|
};
|
|
@@ -4892,8 +4997,8 @@ __webpack_require__(/*! ./Cuttable.less */ "./components/Cuttable/Cuttable.less"
|
|
|
4892
4997
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
4893
4998
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
4894
4999
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4895
|
-
function _toPropertyKey(
|
|
4896
|
-
function _toPrimitive(
|
|
5000
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
5001
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
4897
5002
|
/**
|
|
4898
5003
|
* `Cuttable` component is used for showing and hiding part of content.
|
|
4899
5004
|
* @since 0.0.42
|
|
@@ -5554,8 +5659,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
5554
5659
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
5555
5660
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5556
5661
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5557
|
-
function _toPropertyKey(
|
|
5558
|
-
function _toPrimitive(
|
|
5662
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
5663
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
5559
5664
|
const additionalButtonsConfig = (0, _ButtonContext.getButtonContextValue)({
|
|
5560
5665
|
defaultProps: {
|
|
5561
5666
|
size: 'lg'
|
|
@@ -5624,7 +5729,7 @@ class DrawerProgress extends _react.Component {
|
|
|
5624
5729
|
} = this.state;
|
|
5625
5730
|
if (prevState.status !== _ProgressStep.STATUS_DONE && status === _ProgressStep.STATUS_DONE) {
|
|
5626
5731
|
window.clearTimeout(this.closeTimeout);
|
|
5627
|
-
if (autoCloseTimeout !==
|
|
5732
|
+
if (autoCloseTimeout !== null) {
|
|
5628
5733
|
this.closeTimeout = window.setTimeout(this.handleClose, autoCloseTimeout);
|
|
5629
5734
|
}
|
|
5630
5735
|
}
|
|
@@ -6686,8 +6791,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
6686
6791
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
6687
6792
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
6688
6793
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6689
|
-
function _toPropertyKey(
|
|
6690
|
-
function _toPrimitive(
|
|
6794
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
6795
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
6691
6796
|
const actionButtonsConfig = (0, _ButtonContext.getButtonContextValue)({
|
|
6692
6797
|
defaultProps: {
|
|
6693
6798
|
size: 'lg'
|
|
@@ -7299,8 +7404,8 @@ __webpack_require__(/*! ./FormField.less */ "./components/FormField/FormField.le
|
|
|
7299
7404
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
7300
7405
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7301
7406
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7302
|
-
function _toPropertyKey(
|
|
7303
|
-
function _toPrimitive(
|
|
7407
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
7408
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
7304
7409
|
const BASE_FORM_FIELD_CLASS_NAME = exports.BASE_FORM_FIELD_CLASS_NAME = `${_constants.CLS_PREFIX}form-field`;
|
|
7305
7410
|
const defaultValue = undefined;
|
|
7306
7411
|
const defaultProps = {
|
|
@@ -7914,8 +8019,8 @@ __webpack_require__(/*! ./FormFieldPassword.less */ "./components/FormFieldPassw
|
|
|
7914
8019
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
7915
8020
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7916
8021
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7917
|
-
function _toPropertyKey(
|
|
7918
|
-
function _toPrimitive(
|
|
8022
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
8023
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
7919
8024
|
/**
|
|
7920
8025
|
* `FormFieldPassword` component provides secure way to enter a password.
|
|
7921
8026
|
* @since 0.0.58
|
|
@@ -8800,8 +8905,8 @@ __webpack_require__(/*! ./Grid.less */ "./components/Grid/Grid.less");
|
|
|
8800
8905
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
8801
8906
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
8802
8907
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8803
|
-
function _toPropertyKey(
|
|
8804
|
-
function _toPrimitive(
|
|
8908
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
8909
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
8805
8910
|
/**
|
|
8806
8911
|
* `Grid` component is used to layout and align content based on 12-column system.
|
|
8807
8912
|
* @since 0.0.48
|
|
@@ -9527,8 +9632,8 @@ __webpack_require__(/*! ./InPlaceEdit.less */ "./components/InPlaceEdit/InPlaceE
|
|
|
9527
9632
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
9528
9633
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9529
9634
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9530
|
-
function _toPropertyKey(
|
|
9531
|
-
function _toPrimitive(
|
|
9635
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
9636
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
9532
9637
|
/**
|
|
9533
9638
|
* This component allows users to edit a short text "in place" — in other words, straight in the interface, without
|
|
9534
9639
|
* opening additional dialog windows. If a text is large enough that it doesn't fit on a single line, you should
|
|
@@ -10421,8 +10526,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
10421
10526
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10422
10527
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10423
10528
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10424
|
-
function _toPropertyKey(
|
|
10425
|
-
function _toPrimitive(
|
|
10529
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
10530
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
10426
10531
|
const getNextSelectedValue = (value, prevValue, toggleable) => {
|
|
10427
10532
|
if (Array.isArray(prevValue)) {
|
|
10428
10533
|
if (prevValue.indexOf(value) !== -1) {
|
|
@@ -10918,8 +11023,8 @@ __webpack_require__(/*! ./Layout.less */ "./components/Layout/Layout.less");
|
|
|
10918
11023
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
10919
11024
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10920
11025
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10921
|
-
function _toPropertyKey(
|
|
10922
|
-
function _toPrimitive(
|
|
11026
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
11027
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
10923
11028
|
const subscribeMatchMedia = (query, handler) => {
|
|
10924
11029
|
const mq = window.matchMedia(query);
|
|
10925
11030
|
handler(mq);
|
|
@@ -11450,10 +11555,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
11450
11555
|
|
|
11451
11556
|
/***/ }),
|
|
11452
11557
|
|
|
11453
|
-
/***/ "./components/List/List.
|
|
11454
|
-
|
|
11455
|
-
!*** ./components/List/List.
|
|
11456
|
-
|
|
11558
|
+
/***/ "./components/List/List.tsx":
|
|
11559
|
+
/*!**********************************!*\
|
|
11560
|
+
!*** ./components/List/List.tsx ***!
|
|
11561
|
+
\**********************************/
|
|
11457
11562
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
11458
11563
|
|
|
11459
11564
|
"use strict";
|
|
@@ -11463,7 +11568,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
11463
11568
|
value: true
|
|
11464
11569
|
}));
|
|
11465
11570
|
exports["default"] = void 0;
|
|
11466
|
-
var _react =
|
|
11571
|
+
var _react = __webpack_require__(/*! react */ "react");
|
|
11467
11572
|
var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js"));
|
|
11468
11573
|
var _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ "../node_modules/classnames/index.js"));
|
|
11469
11574
|
var _reactTransitionGroup = __webpack_require__(/*! react-transition-group */ "../node_modules/react-transition-group/esm/index.js");
|
|
@@ -11489,9 +11594,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
11489
11594
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11490
11595
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11491
11596
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11492
|
-
function _toPropertyKey(
|
|
11493
|
-
function _toPrimitive(
|
|
11494
|
-
|
|
11597
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
11598
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
11599
|
+
// eslint-disable-next-line func-style
|
|
11600
|
+
function getRowKey(row, props) {
|
|
11495
11601
|
const {
|
|
11496
11602
|
rowKey
|
|
11497
11603
|
} = props;
|
|
@@ -11499,7 +11605,7 @@ const getRowKey = (row, props) => {
|
|
|
11499
11605
|
return rowKey(row);
|
|
11500
11606
|
}
|
|
11501
11607
|
return row[rowKey];
|
|
11502
|
-
}
|
|
11608
|
+
}
|
|
11503
11609
|
const Tbody = _ref => {
|
|
11504
11610
|
let {
|
|
11505
11611
|
baseClassName,
|
|
@@ -11599,7 +11705,6 @@ const getHumanTotalRows = _ref2 => {
|
|
|
11599
11705
|
return null;
|
|
11600
11706
|
}
|
|
11601
11707
|
};
|
|
11602
|
-
|
|
11603
11708
|
/**
|
|
11604
11709
|
* `List` component is used for displaying a collection of tabular data.
|
|
11605
11710
|
* [More details about designing of lists.](#!/Sets%20of%20Objects)
|
|
@@ -11611,26 +11716,32 @@ class List extends _react.Component {
|
|
|
11611
11716
|
_defineProperty(this, "state", {
|
|
11612
11717
|
sortInPlace: !this.props.pagination,
|
|
11613
11718
|
vertical: false,
|
|
11614
|
-
expandedRows: this.props.expandedRows,
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11719
|
+
expandedRows: this.props.expandedRows ?? [],
|
|
11720
|
+
ReorderableList: undefined,
|
|
11721
|
+
reorderableItemWidths: [],
|
|
11722
|
+
prevExpandedRows: this.props.expandedRows ?? [],
|
|
11723
|
+
sortColumn: undefined,
|
|
11724
|
+
prevSortColumn: undefined,
|
|
11725
|
+
sortDirection: undefined,
|
|
11726
|
+
prevSortDirection: undefined,
|
|
11727
|
+
selection: this.props.selection ?? [],
|
|
11728
|
+
prevSelection: this.props.selection ?? [],
|
|
11729
|
+
prevData: [],
|
|
11730
|
+
prevPagination: undefined
|
|
11620
11731
|
});
|
|
11732
|
+
_defineProperty(this, "needScroll", false);
|
|
11621
11733
|
_defineProperty(this, "anchorRef", /*#__PURE__*/(0, _react.createRef)());
|
|
11622
|
-
_defineProperty(this, "flatData", data => data.reduce((acc,
|
|
11623
|
-
|
|
11624
|
-
data
|
|
11625
|
-
|
|
11626
|
-
} = _ref3;
|
|
11734
|
+
_defineProperty(this, "flatData", data => data.reduce((acc, item) => {
|
|
11735
|
+
const {
|
|
11736
|
+
data
|
|
11737
|
+
} = item;
|
|
11627
11738
|
const {
|
|
11628
11739
|
virtual
|
|
11629
|
-
} = this.getRowProps(
|
|
11740
|
+
} = this.getRowProps(item);
|
|
11630
11741
|
if (virtual) {
|
|
11631
11742
|
return [...acc, ...(data ? this.flatData(data) : [])];
|
|
11632
11743
|
}
|
|
11633
|
-
return [...acc,
|
|
11744
|
+
return [...acc, item, ...(data ? this.flatData(data) : [])];
|
|
11634
11745
|
}, []));
|
|
11635
11746
|
_defineProperty(this, "handleRowSelectionChange", (checked, rowKey) => {
|
|
11636
11747
|
const {
|
|
@@ -11648,13 +11759,14 @@ class List extends _react.Component {
|
|
|
11648
11759
|
});
|
|
11649
11760
|
_defineProperty(this, "handleGlobalSelectionChange", headerChecked => {
|
|
11650
11761
|
const {
|
|
11651
|
-
onAllRowsSelectedChange
|
|
11762
|
+
onAllRowsSelectedChange,
|
|
11763
|
+
data
|
|
11652
11764
|
} = this.props;
|
|
11653
11765
|
const {
|
|
11654
11766
|
selection
|
|
11655
11767
|
} = this.state;
|
|
11656
11768
|
const nextSelection = [];
|
|
11657
|
-
this.flatData(
|
|
11769
|
+
this.flatData(data ?? []).forEach(row => {
|
|
11658
11770
|
const key = getRowKey(row, this.props);
|
|
11659
11771
|
if (row.disabled || this.isRowLoading(row)) {
|
|
11660
11772
|
if (selection.indexOf(key) !== -1) {
|
|
@@ -11671,15 +11783,17 @@ class List extends _react.Component {
|
|
|
11671
11783
|
}
|
|
11672
11784
|
this.setSelection(nextSelection);
|
|
11673
11785
|
});
|
|
11674
|
-
_defineProperty(this, "handleResize",
|
|
11786
|
+
_defineProperty(this, "handleResize", _ref3 => {
|
|
11675
11787
|
let {
|
|
11676
11788
|
bounds
|
|
11677
|
-
} =
|
|
11678
|
-
this.
|
|
11679
|
-
|
|
11680
|
-
|
|
11789
|
+
} = _ref3;
|
|
11790
|
+
if (bounds && this.props.vertical) {
|
|
11791
|
+
this.setState({
|
|
11792
|
+
vertical: typeof this.props.vertical === 'boolean' ? this.props.vertical : bounds.width < this.props.vertical
|
|
11793
|
+
});
|
|
11794
|
+
}
|
|
11681
11795
|
});
|
|
11682
|
-
_defineProperty(this, "isRowLoading", row => this.props.loadingRows
|
|
11796
|
+
_defineProperty(this, "isRowLoading", row => this.props.loadingRows?.indexOf(getRowKey(row, this.props)) !== -1);
|
|
11683
11797
|
_defineProperty(this, "getRowTitle", row => {
|
|
11684
11798
|
const {
|
|
11685
11799
|
columns
|
|
@@ -11726,7 +11840,7 @@ class List extends _react.Component {
|
|
|
11726
11840
|
} = this.state;
|
|
11727
11841
|
const headerExpanded = this.isAnyRowsExpanded(data, expandedRows);
|
|
11728
11842
|
const nextExpandedRows = [];
|
|
11729
|
-
this.flatData(
|
|
11843
|
+
this.flatData(data ?? []).forEach(row => {
|
|
11730
11844
|
const key = getRowKey(row, this.props);
|
|
11731
11845
|
if (!this.isRowExpandable(row)) {
|
|
11732
11846
|
if (expandedRows.indexOf(key) !== -1) {
|
|
@@ -11749,7 +11863,7 @@ class List extends _react.Component {
|
|
|
11749
11863
|
}
|
|
11750
11864
|
});
|
|
11751
11865
|
}
|
|
11752
|
-
static getDerivedStateFromProps(
|
|
11866
|
+
static getDerivedStateFromProps(_ref4, _ref5) {
|
|
11753
11867
|
let {
|
|
11754
11868
|
sortColumn,
|
|
11755
11869
|
sortDirection,
|
|
@@ -11763,7 +11877,7 @@ class List extends _react.Component {
|
|
|
11763
11877
|
rowKey,
|
|
11764
11878
|
totalRows,
|
|
11765
11879
|
filtered
|
|
11766
|
-
} =
|
|
11880
|
+
} = _ref4;
|
|
11767
11881
|
let {
|
|
11768
11882
|
prevSortColumn,
|
|
11769
11883
|
prevSortDirection,
|
|
@@ -11772,7 +11886,7 @@ class List extends _react.Component {
|
|
|
11772
11886
|
prevPagination,
|
|
11773
11887
|
prevExpandedRows,
|
|
11774
11888
|
...state
|
|
11775
|
-
} =
|
|
11889
|
+
} = _ref5;
|
|
11776
11890
|
let nextState = {};
|
|
11777
11891
|
if (prevSortColumn !== sortColumn || prevSortDirection !== sortDirection) {
|
|
11778
11892
|
nextState = {
|
|
@@ -11783,18 +11897,18 @@ class List extends _react.Component {
|
|
|
11783
11897
|
}
|
|
11784
11898
|
const additionalExpanded = [];
|
|
11785
11899
|
if (prevData !== data) {
|
|
11786
|
-
const isSingleElementInCurrentExpanded = () => state.expandedRows.includes(getRowKey(data[0], {
|
|
11900
|
+
const isSingleElementInCurrentExpanded = () => data && state.expandedRows.includes(getRowKey(data[0], {
|
|
11787
11901
|
rowKey
|
|
11788
11902
|
}));
|
|
11789
11903
|
if (renderRowBody && data?.length === 1 && (!pagination || totalRows === 1) && (!prevData || prevData?.length === 0 || isSingleElementInCurrentExpanded()) && (!filtered || isSingleElementInCurrentExpanded())) {
|
|
11790
11904
|
const key = getRowKey(data[0], {
|
|
11791
11905
|
rowKey
|
|
11792
11906
|
});
|
|
11793
|
-
if (notExpandableRows
|
|
11907
|
+
if (notExpandableRows?.indexOf(key) === -1) {
|
|
11794
11908
|
additionalExpanded.push(key);
|
|
11795
11909
|
}
|
|
11796
11910
|
}
|
|
11797
|
-
const keys = data.map(row => getRowKey(row, {
|
|
11911
|
+
const keys = (data ?? []).map(row => getRowKey(row, {
|
|
11798
11912
|
rowKey
|
|
11799
11913
|
}));
|
|
11800
11914
|
const nextSelection = state.selection.filter(key => keys.indexOf(key) !== -1);
|
|
@@ -11806,13 +11920,13 @@ class List extends _react.Component {
|
|
|
11806
11920
|
if (prevSelection !== selection) {
|
|
11807
11921
|
nextState = {
|
|
11808
11922
|
...nextState,
|
|
11809
|
-
selection
|
|
11923
|
+
selection: selection ?? []
|
|
11810
11924
|
};
|
|
11811
11925
|
}
|
|
11812
11926
|
if (prevExpandedRows !== expandedRows || additionalExpanded.length) {
|
|
11813
11927
|
nextState = {
|
|
11814
11928
|
...nextState,
|
|
11815
|
-
expandedRows: [...expandedRows, ...additionalExpanded]
|
|
11929
|
+
expandedRows: [...(expandedRows ?? []), ...additionalExpanded]
|
|
11816
11930
|
};
|
|
11817
11931
|
}
|
|
11818
11932
|
if (prevPagination !== pagination) {
|
|
@@ -11855,10 +11969,11 @@ class List extends _react.Component {
|
|
|
11855
11969
|
}
|
|
11856
11970
|
}
|
|
11857
11971
|
applyReorderableList() {
|
|
11858
|
-
Promise.resolve().then(() => _interopRequireWildcard(__webpack_require__( /* webpackChunkName: "react-movable" *//*! @plesk/react-movable */ "../node_modules/@plesk/react-movable/lib/index.js"))).then(
|
|
11972
|
+
Promise.resolve().then(() => _interopRequireWildcard(__webpack_require__( /* webpackChunkName: "react-movable" *//*! @plesk/react-movable */ "../node_modules/@plesk/react-movable/lib/index.js"))).then(_ref6 => {
|
|
11859
11973
|
let {
|
|
11860
11974
|
List: ReorderableList
|
|
11861
|
-
} =
|
|
11975
|
+
} = _ref6;
|
|
11976
|
+
// @ts-expect-error
|
|
11862
11977
|
this.setState({
|
|
11863
11978
|
ReorderableList
|
|
11864
11979
|
});
|
|
@@ -11874,13 +11989,16 @@ class List extends _react.Component {
|
|
|
11874
11989
|
data,
|
|
11875
11990
|
columns
|
|
11876
11991
|
} = this.props;
|
|
11992
|
+
if (!data) {
|
|
11993
|
+
return [];
|
|
11994
|
+
}
|
|
11877
11995
|
if (!sortInPlace) {
|
|
11878
11996
|
return data;
|
|
11879
11997
|
}
|
|
11880
|
-
const [column] = columns.filter(
|
|
11998
|
+
const [column] = columns.filter(_ref7 => {
|
|
11881
11999
|
let {
|
|
11882
12000
|
key
|
|
11883
|
-
} =
|
|
12001
|
+
} = _ref7;
|
|
11884
12002
|
return key === sortColumn;
|
|
11885
12003
|
});
|
|
11886
12004
|
const defaultSort = (a, b) => {
|
|
@@ -11892,7 +12010,7 @@ class List extends _react.Component {
|
|
|
11892
12010
|
}
|
|
11893
12011
|
return 0;
|
|
11894
12012
|
};
|
|
11895
|
-
if (!column) {
|
|
12013
|
+
if (!column || !sortColumn) {
|
|
11896
12014
|
return data;
|
|
11897
12015
|
}
|
|
11898
12016
|
return data.sort((a, b) => (column.sort ? column.sort(a, b) : defaultSort(a[sortColumn], b[sortColumn])) * (sortDirection === 'ASC' ? 1 : -1));
|
|
@@ -11901,22 +12019,22 @@ class List extends _react.Component {
|
|
|
11901
12019
|
const {
|
|
11902
12020
|
sortInPlace
|
|
11903
12021
|
} = this.state;
|
|
11904
|
-
|
|
12022
|
+
const {
|
|
11905
12023
|
sortColumn,
|
|
11906
12024
|
sortDirection
|
|
11907
12025
|
} = this.state;
|
|
11908
|
-
|
|
11909
|
-
|
|
12026
|
+
const nextSortDirection = sortColumn === columnKey && sortDirection === 'ASC' ? 'DESC' : 'ASC';
|
|
12027
|
+
const nextSortColumn = columnKey;
|
|
11910
12028
|
if (sortInPlace) {
|
|
11911
12029
|
this.setState({
|
|
11912
|
-
sortColumn,
|
|
11913
|
-
sortDirection
|
|
12030
|
+
sortColumn: nextSortColumn,
|
|
12031
|
+
sortDirection: nextSortDirection
|
|
11914
12032
|
});
|
|
11915
12033
|
}
|
|
11916
12034
|
if (this.props.onSortChange) {
|
|
11917
12035
|
this.props.onSortChange({
|
|
11918
|
-
sortColumn,
|
|
11919
|
-
sortDirection
|
|
12036
|
+
sortColumn: nextSortColumn,
|
|
12037
|
+
sortDirection: nextSortDirection
|
|
11920
12038
|
});
|
|
11921
12039
|
}
|
|
11922
12040
|
}
|
|
@@ -11941,7 +12059,7 @@ class List extends _react.Component {
|
|
|
11941
12059
|
if (virtual) {
|
|
11942
12060
|
return false;
|
|
11943
12061
|
}
|
|
11944
|
-
return this.props.notExpandableRows
|
|
12062
|
+
return this.props.notExpandableRows?.indexOf(getRowKey(row, this.props)) === -1;
|
|
11945
12063
|
}
|
|
11946
12064
|
handleRowExpandingChange(row) {
|
|
11947
12065
|
let expandedRows;
|
|
@@ -11960,7 +12078,7 @@ class List extends _react.Component {
|
|
|
11960
12078
|
});
|
|
11961
12079
|
(0, _utils.safeInvoke)(this.props.onExpandedRowsChange, expandedRows.slice());
|
|
11962
12080
|
}
|
|
11963
|
-
renderRow(
|
|
12081
|
+
renderRow(_ref8) {
|
|
11964
12082
|
let {
|
|
11965
12083
|
row,
|
|
11966
12084
|
index,
|
|
@@ -11969,7 +12087,7 @@ class List extends _react.Component {
|
|
|
11969
12087
|
parent,
|
|
11970
12088
|
isDragged,
|
|
11971
12089
|
reorderableProps
|
|
11972
|
-
} =
|
|
12090
|
+
} = _ref8;
|
|
11973
12091
|
const {
|
|
11974
12092
|
baseClassName,
|
|
11975
12093
|
renderRowBody,
|
|
@@ -11979,10 +12097,10 @@ class List extends _react.Component {
|
|
|
11979
12097
|
vertical,
|
|
11980
12098
|
reorderableItemWidths
|
|
11981
12099
|
} = this.state;
|
|
11982
|
-
const hasActions = realColumn.some(
|
|
12100
|
+
const hasActions = realColumn.some(_ref9 => {
|
|
11983
12101
|
let {
|
|
11984
12102
|
type
|
|
11985
|
-
} =
|
|
12103
|
+
} = _ref9;
|
|
11986
12104
|
return type === 'actions';
|
|
11987
12105
|
});
|
|
11988
12106
|
const {
|
|
@@ -12008,7 +12126,7 @@ class List extends _react.Component {
|
|
|
12008
12126
|
}, className),
|
|
12009
12127
|
...rowProps,
|
|
12010
12128
|
onClick: renderRowBody ? this.createRowClickHandler(row) : undefined,
|
|
12011
|
-
children: realColumn.map((
|
|
12129
|
+
children: realColumn.map((_ref10, index) => {
|
|
12012
12130
|
let {
|
|
12013
12131
|
key,
|
|
12014
12132
|
title,
|
|
@@ -12017,7 +12135,7 @@ class List extends _react.Component {
|
|
|
12017
12135
|
cellProps,
|
|
12018
12136
|
truncate,
|
|
12019
12137
|
type
|
|
12020
|
-
} =
|
|
12138
|
+
} = _ref10;
|
|
12021
12139
|
if (skipCells > 0) {
|
|
12022
12140
|
skipCells -= 1;
|
|
12023
12141
|
return null;
|
|
@@ -12028,7 +12146,7 @@ class List extends _react.Component {
|
|
|
12028
12146
|
width
|
|
12029
12147
|
};
|
|
12030
12148
|
}
|
|
12031
|
-
if (isDragged) {
|
|
12149
|
+
if (isDragged && reorderableItemWidths) {
|
|
12032
12150
|
style = {
|
|
12033
12151
|
width: reorderableItemWidths[index]
|
|
12034
12152
|
};
|
|
@@ -12125,13 +12243,13 @@ class List extends _react.Component {
|
|
|
12125
12243
|
}
|
|
12126
12244
|
return element;
|
|
12127
12245
|
}
|
|
12128
|
-
renderRowBody(
|
|
12246
|
+
renderRowBody(_ref11) {
|
|
12129
12247
|
let {
|
|
12130
12248
|
row,
|
|
12131
12249
|
index,
|
|
12132
12250
|
realColumn,
|
|
12133
12251
|
parent
|
|
12134
|
-
} =
|
|
12252
|
+
} = _ref11;
|
|
12135
12253
|
const {
|
|
12136
12254
|
baseClassName,
|
|
12137
12255
|
renderRowBody
|
|
@@ -12142,16 +12260,16 @@ class List extends _react.Component {
|
|
|
12142
12260
|
if (!renderRowBody) {
|
|
12143
12261
|
return null;
|
|
12144
12262
|
}
|
|
12145
|
-
const reorderable = realColumn.find(
|
|
12263
|
+
const reorderable = realColumn.find(_ref12 => {
|
|
12146
12264
|
let {
|
|
12147
12265
|
key
|
|
12148
|
-
} =
|
|
12266
|
+
} = _ref12;
|
|
12149
12267
|
return key === 'reorderable';
|
|
12150
12268
|
});
|
|
12151
|
-
const expander = realColumn.find(
|
|
12269
|
+
const expander = realColumn.find(_ref13 => {
|
|
12152
12270
|
let {
|
|
12153
12271
|
key
|
|
12154
|
-
} =
|
|
12272
|
+
} = _ref13;
|
|
12155
12273
|
return key === 'expander';
|
|
12156
12274
|
});
|
|
12157
12275
|
const isRowExpanded = this.isRowExpanded(row);
|
|
@@ -12296,7 +12414,7 @@ class List extends _react.Component {
|
|
|
12296
12414
|
itemsPerPageOptions = _Pagination.ITEMS_PER_PAGE_OPTIONS
|
|
12297
12415
|
} = pagination.props;
|
|
12298
12416
|
if (Array.isArray(itemsPerPageOptions)) {
|
|
12299
|
-
const numericOptions = itemsPerPageOptions.filter(
|
|
12417
|
+
const numericOptions = itemsPerPageOptions.filter(Number);
|
|
12300
12418
|
if (numericOptions.length) {
|
|
12301
12419
|
const min = Math.min(...numericOptions);
|
|
12302
12420
|
if (totalRows <= min) {
|
|
@@ -12359,6 +12477,9 @@ class List extends _react.Component {
|
|
|
12359
12477
|
pagination,
|
|
12360
12478
|
loading
|
|
12361
12479
|
} = this.props;
|
|
12480
|
+
if (!pagination) {
|
|
12481
|
+
return null;
|
|
12482
|
+
}
|
|
12362
12483
|
const paginationProps = {
|
|
12363
12484
|
loading
|
|
12364
12485
|
};
|
|
@@ -12421,7 +12542,7 @@ class List extends _react.Component {
|
|
|
12421
12542
|
const {
|
|
12422
12543
|
vertical
|
|
12423
12544
|
} = this.state;
|
|
12424
|
-
if (
|
|
12545
|
+
if (!(data && data.length > 0) && !filtered && emptyViewMode === 'all') {
|
|
12425
12546
|
return this.renderEmptyView();
|
|
12426
12547
|
}
|
|
12427
12548
|
const realColumn = columns.map((column, i) => {
|
|
@@ -12573,14 +12694,14 @@ class List extends _react.Component {
|
|
|
12573
12694
|
}
|
|
12574
12695
|
const hasTitle = !vertical && columns.some(column => column.title);
|
|
12575
12696
|
let content;
|
|
12576
|
-
if (
|
|
12697
|
+
if (!(data && data.length > 0) && (filtered || emptyViewMode === 'items')) {
|
|
12577
12698
|
content = this.renderEmptyView();
|
|
12578
12699
|
} else {
|
|
12579
|
-
const renderList =
|
|
12700
|
+
const renderList = _ref14 => {
|
|
12580
12701
|
let {
|
|
12581
12702
|
children,
|
|
12582
12703
|
props: reorderableProps
|
|
12583
|
-
} =
|
|
12704
|
+
} = _ref14;
|
|
12584
12705
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_useFocusVisible.FocusVisibleManager, {
|
|
12585
12706
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("table", {
|
|
12586
12707
|
className: (0, _classnames.default)(`${baseClassName}__table`, {
|
|
@@ -12594,7 +12715,7 @@ class List extends _react.Component {
|
|
|
12594
12715
|
className: (0, _classnames.default)(`${baseClassName}__table-thead`, {
|
|
12595
12716
|
[`${baseClassName}__row--expanded`]: this.isAnyRowsExpanded(data, this.state.expandedRows)
|
|
12596
12717
|
}),
|
|
12597
|
-
children: realColumn.map(
|
|
12718
|
+
children: realColumn.map(_ref15 => {
|
|
12598
12719
|
let {
|
|
12599
12720
|
key,
|
|
12600
12721
|
title,
|
|
@@ -12606,7 +12727,7 @@ class List extends _react.Component {
|
|
|
12606
12727
|
type,
|
|
12607
12728
|
cellProps,
|
|
12608
12729
|
...headerProps
|
|
12609
|
-
} =
|
|
12730
|
+
} = _ref15;
|
|
12610
12731
|
if (sortable) {
|
|
12611
12732
|
title = /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
12612
12733
|
className: "th__action",
|
|
@@ -12637,7 +12758,7 @@ class List extends _react.Component {
|
|
|
12637
12758
|
})
|
|
12638
12759
|
});
|
|
12639
12760
|
};
|
|
12640
|
-
const renderItem =
|
|
12761
|
+
const renderItem = _ref16 => {
|
|
12641
12762
|
let {
|
|
12642
12763
|
value: {
|
|
12643
12764
|
row
|
|
@@ -12645,7 +12766,7 @@ class List extends _react.Component {
|
|
|
12645
12766
|
index,
|
|
12646
12767
|
props: reorderableProps,
|
|
12647
12768
|
isDragged
|
|
12648
|
-
} =
|
|
12769
|
+
} = _ref16;
|
|
12649
12770
|
return this.renderRow({
|
|
12650
12771
|
row,
|
|
12651
12772
|
index,
|
|
@@ -12655,27 +12776,27 @@ class List extends _react.Component {
|
|
|
12655
12776
|
isDragged
|
|
12656
12777
|
});
|
|
12657
12778
|
};
|
|
12658
|
-
if (reorderable) {
|
|
12779
|
+
if (reorderable && this.state.ReorderableList) {
|
|
12659
12780
|
const {
|
|
12660
12781
|
ReorderableList
|
|
12661
12782
|
} = this.state;
|
|
12662
12783
|
content = /*#__PURE__*/(0, _jsxRuntime.jsx)(ReorderableList, {
|
|
12663
|
-
beforeDrag:
|
|
12784
|
+
beforeDrag: _ref17 => {
|
|
12664
12785
|
let {
|
|
12665
12786
|
elements,
|
|
12666
12787
|
index
|
|
12667
|
-
} =
|
|
12788
|
+
} = _ref17;
|
|
12668
12789
|
const cells = Array.from(elements[index].firstElementChild.children);
|
|
12669
12790
|
const reorderableItemWidths = cells.map(cell => window.getComputedStyle(cell).width);
|
|
12670
12791
|
this.setState({
|
|
12671
12792
|
reorderableItemWidths
|
|
12672
12793
|
});
|
|
12673
12794
|
},
|
|
12674
|
-
onChange:
|
|
12795
|
+
onChange: _ref18 => {
|
|
12675
12796
|
let {
|
|
12676
12797
|
oldIndex,
|
|
12677
12798
|
newIndex
|
|
12678
|
-
} =
|
|
12799
|
+
} = _ref18;
|
|
12679
12800
|
(0, _utils.safeInvoke)(onReorderEnd, {
|
|
12680
12801
|
oldIndex,
|
|
12681
12802
|
newIndex
|
|
@@ -12688,9 +12809,11 @@ class List extends _react.Component {
|
|
|
12688
12809
|
renderItem: renderItem,
|
|
12689
12810
|
lockVertically: true,
|
|
12690
12811
|
hooks: {
|
|
12691
|
-
getChildren: children =>
|
|
12812
|
+
getChildren: children =>
|
|
12813
|
+
// @ts-expect-error
|
|
12814
|
+
children.filter(node => node.nodeName !== 'THEAD')
|
|
12692
12815
|
},
|
|
12693
|
-
useDragHandle:
|
|
12816
|
+
useDragHandle: false
|
|
12694
12817
|
});
|
|
12695
12818
|
} else {
|
|
12696
12819
|
content = renderList({
|
|
@@ -12740,10 +12863,10 @@ class List extends _react.Component {
|
|
|
12740
12863
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactMeasure.default, {
|
|
12741
12864
|
bounds: true,
|
|
12742
12865
|
onResize: this.handleResize,
|
|
12743
|
-
children:
|
|
12866
|
+
children: _ref19 => {
|
|
12744
12867
|
let {
|
|
12745
12868
|
measureRef
|
|
12746
|
-
} =
|
|
12869
|
+
} = _ref19;
|
|
12747
12870
|
return createRoot(measureRef);
|
|
12748
12871
|
}
|
|
12749
12872
|
});
|
|
@@ -12751,242 +12874,12 @@ class List extends _react.Component {
|
|
|
12751
12874
|
return createRoot();
|
|
12752
12875
|
}
|
|
12753
12876
|
}
|
|
12754
|
-
List
|
|
12755
|
-
/**
|
|
12756
|
-
* Columns definition.
|
|
12757
|
-
*
|
|
12758
|
-
* In addition to the properties described below, you can use any native properties
|
|
12759
|
-
* supported by the `TH` element like `className`, `style`, etc.
|
|
12760
|
-
* @since 0.0.42
|
|
12761
|
-
*/
|
|
12762
|
-
columns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
12763
|
-
/**
|
|
12764
|
-
* Unique column key.
|
|
12765
|
-
*/
|
|
12766
|
-
key: _propTypes.default.string.isRequired,
|
|
12767
|
-
/**
|
|
12768
|
-
* Column title.
|
|
12769
|
-
*/
|
|
12770
|
-
title: _propTypes.default.node,
|
|
12771
|
-
/**
|
|
12772
|
-
* Optional cell renderer function: `row => Component`. By default render value of cell.
|
|
12773
|
-
* The renderer function can also returns a configuration object like: `{children: 'cell content', colSpan: 3}`
|
|
12774
|
-
*/
|
|
12775
|
-
render: _propTypes.default.func,
|
|
12776
|
-
/**
|
|
12777
|
-
* Is column sortable.
|
|
12778
|
-
* Default is `false`
|
|
12779
|
-
*/
|
|
12780
|
-
sortable: _propTypes.default.bool,
|
|
12781
|
-
/**
|
|
12782
|
-
* Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`
|
|
12783
|
-
*/
|
|
12784
|
-
sort: _propTypes.default.func,
|
|
12785
|
-
/**
|
|
12786
|
-
* Column alignment.
|
|
12787
|
-
*/
|
|
12788
|
-
align: _propTypes.default.oneOf(['left', 'center', 'right']),
|
|
12789
|
-
/**
|
|
12790
|
-
* Truncate the text in cell with an ellipsis.
|
|
12791
|
-
*/
|
|
12792
|
-
truncate: _propTypes.default.bool,
|
|
12793
|
-
/**
|
|
12794
|
-
* Determine type of column content.
|
|
12795
|
-
*
|
|
12796
|
-
* * title - There should a title of the row.
|
|
12797
|
-
* * controls - There should be some control: a button or a dropdown.
|
|
12798
|
-
* * actions - There should be the ListAction component.
|
|
12799
|
-
*/
|
|
12800
|
-
type: _propTypes.default.oneOf(['title', 'controls', 'actions'])
|
|
12801
|
-
})).isRequired,
|
|
12802
|
-
/**
|
|
12803
|
-
* Array of row objects.
|
|
12804
|
-
*
|
|
12805
|
-
* Each row must contains `key` property, all columns keys, and can contain `disabled` property.
|
|
12806
|
-
* @since 0.0.42
|
|
12807
|
-
*/
|
|
12808
|
-
data: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
12809
|
-
/**
|
|
12810
|
-
* Unique column key. This property can by renamed using `rowKey` property of List.
|
|
12811
|
-
*/
|
|
12812
|
-
key: _propTypes.default.string,
|
|
12813
|
-
/**
|
|
12814
|
-
* Optional property for disabling ability to select this row.
|
|
12815
|
-
*/
|
|
12816
|
-
disabled: _propTypes.default.bool,
|
|
12817
|
-
/**
|
|
12818
|
-
* Optional array of children rows.
|
|
12819
|
-
*/
|
|
12820
|
-
data: _propTypes.default.array,
|
|
12821
|
-
/**
|
|
12822
|
-
* An optional property to change the appearance of this row.<br />
|
|
12823
|
-
* `inactive, info, success, warning, danger`. (Since: 3.33.0)
|
|
12824
|
-
*/
|
|
12825
|
-
intent: _propTypes.default.oneOf(['inactive', 'info', 'success', 'warning', 'danger'])
|
|
12826
|
-
})),
|
|
12827
|
-
/**
|
|
12828
|
-
* Current sort column key
|
|
12829
|
-
* @since 0.0.42
|
|
12830
|
-
*/
|
|
12831
|
-
sortColumn: _propTypes.default.string,
|
|
12832
|
-
/**
|
|
12833
|
-
* Sort direction of the column being sorted.
|
|
12834
|
-
* @since 0.0.42
|
|
12835
|
-
*/
|
|
12836
|
-
sortDirection: _propTypes.default.oneOf(['ASC', 'DESC']),
|
|
12837
|
-
/**
|
|
12838
|
-
* Sort change handler
|
|
12839
|
-
* @since 0.0.42
|
|
12840
|
-
*/
|
|
12841
|
-
onSortChange: _propTypes.default.func,
|
|
12842
|
-
/**
|
|
12843
|
-
* Array of keys of selected rows
|
|
12844
|
-
* @since 0.0.42
|
|
12845
|
-
*/
|
|
12846
|
-
selection: _propTypes.default.array,
|
|
12847
|
-
/**
|
|
12848
|
-
* Selection change handler for list. Checkboxes will only be rendered if this prop is defined.
|
|
12849
|
-
* @since 0.0.42
|
|
12850
|
-
*/
|
|
12851
|
-
onSelectionChange: _propTypes.default.func,
|
|
12852
|
-
/**
|
|
12853
|
-
* Renderer for a selection checkbox. Allow to replace checkboxes in the List by a custom implementation.
|
|
12854
|
-
* @since 3.19.0
|
|
12855
|
-
*/
|
|
12856
|
-
renderSelectionCheckbox: _propTypes.default.func,
|
|
12857
|
-
/**
|
|
12858
|
-
* Row's key getter. Could be a string or function like: `row => <unique_string>`
|
|
12859
|
-
* @since 0.0.45
|
|
12860
|
-
*/
|
|
12861
|
-
rowKey: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
|
|
12862
|
-
/**
|
|
12863
|
-
* Renderer for a row body. Should return ReactNode.
|
|
12864
|
-
* @since 1.12.0
|
|
12865
|
-
*/
|
|
12866
|
-
renderRowBody: _propTypes.default.func,
|
|
12867
|
-
/**
|
|
12868
|
-
* Array of keys of expanded rows
|
|
12869
|
-
* @since 1.12.0
|
|
12870
|
-
*/
|
|
12871
|
-
expandedRows: _propTypes.default.array,
|
|
12872
|
-
/**
|
|
12873
|
-
* Array of keys of rows which not have expand indicator
|
|
12874
|
-
* @since 1.12.0
|
|
12875
|
-
*/
|
|
12876
|
-
notExpandableRows: _propTypes.default.array,
|
|
12877
|
-
/**
|
|
12878
|
-
* Rows expanding change handler.
|
|
12879
|
-
* @since 1.12.0
|
|
12880
|
-
*/
|
|
12881
|
-
onExpandedRowsChange: _propTypes.default.func,
|
|
12882
|
-
/**
|
|
12883
|
-
* Array of keys of loading rows. They are displayed instead of checkboxes.
|
|
12884
|
-
* @since 2.5.0
|
|
12885
|
-
*/
|
|
12886
|
-
loadingRows: _propTypes.default.array,
|
|
12887
|
-
/**
|
|
12888
|
-
* A `Pagination` element. It displays at the top and the bottom of the list. When pagination is defined, the built-in sort is disabled.
|
|
12889
|
-
* @since 2.4.0
|
|
12890
|
-
*/
|
|
12891
|
-
pagination: _propTypes.default.node,
|
|
12892
|
-
/**
|
|
12893
|
-
* Total rows count, including nested rows. Usually, it uses together with pagination.
|
|
12894
|
-
* @since 2.4.0
|
|
12895
|
-
*/
|
|
12896
|
-
totalRows: _propTypes.default.number,
|
|
12897
|
-
/**
|
|
12898
|
-
* A `Toolbar` element.
|
|
12899
|
-
* @since 2.4.0
|
|
12900
|
-
*/
|
|
12901
|
-
toolbar: _propTypes.default.node,
|
|
12902
|
-
/**
|
|
12903
|
-
* A flag that all rows are selected.
|
|
12904
|
-
* @since 2.4.0
|
|
12905
|
-
*/
|
|
12906
|
-
allRowsSelected: _propTypes.default.bool,
|
|
12907
|
-
/**
|
|
12908
|
-
* A callback executed when the allRowsSelected prop is changed.
|
|
12909
|
-
* @since 2.4.0
|
|
12910
|
-
*/
|
|
12911
|
-
onAllRowsSelectedChange: _propTypes.default.func,
|
|
12912
|
-
/**
|
|
12913
|
-
* Filtered list. Manages toolbar visibility when data is absent and defines the defaults for empty view.
|
|
12914
|
-
* @since 3.0.1
|
|
12915
|
-
*/
|
|
12916
|
-
filtered: _propTypes.default.bool,
|
|
12917
|
-
/**
|
|
12918
|
-
* A custom view for the case when data is absent.
|
|
12919
|
-
* @since 2.5.0
|
|
12920
|
-
*/
|
|
12921
|
-
emptyView: _propTypes.default.node,
|
|
12922
|
-
/**
|
|
12923
|
-
* Which part of the List component should be replaced by the empty view.
|
|
12924
|
-
* @since 2.6.0
|
|
12925
|
-
* @deprecated Use `filtered` instead.
|
|
12926
|
-
*/
|
|
12927
|
-
emptyViewMode: _propTypes.default.oneOf(['all', 'items']),
|
|
12928
|
-
/**
|
|
12929
|
-
* A slot on the right of the items.
|
|
12930
|
-
* @since 2.6.0
|
|
12931
|
-
*/
|
|
12932
|
-
sidebar: _propTypes.default.node,
|
|
12933
|
-
/**
|
|
12934
|
-
* Custom localization messages.
|
|
12935
|
-
* @since 2.6.0
|
|
12936
|
-
*/
|
|
12937
|
-
locale: _propTypes.default.shape({
|
|
12938
|
-
selectAll: _propTypes.default.node,
|
|
12939
|
-
deselectAll: _propTypes.default.node,
|
|
12940
|
-
all: _propTypes.default.node,
|
|
12941
|
-
totalRows: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]),
|
|
12942
|
-
selectedRows: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node])
|
|
12943
|
-
}),
|
|
12944
|
-
/**
|
|
12945
|
-
* Render List row's content vertically.
|
|
12946
|
-
* When some number is specified, it turns into vertical mode automatically if the List's width is less than the provided number.
|
|
12947
|
-
* @since 3.3.0
|
|
12948
|
-
*/
|
|
12949
|
-
vertical: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.number]),
|
|
12950
|
-
/**
|
|
12951
|
-
* Indicate the loading state of the list.
|
|
12952
|
-
* @since 3.3.1
|
|
12953
|
-
*/
|
|
12954
|
-
loading: _propTypes.default.bool,
|
|
12955
|
-
/**
|
|
12956
|
-
* Apply some props to each row.
|
|
12957
|
-
*
|
|
12958
|
-
* `virtual` - Virtual row does not have any controls.
|
|
12959
|
-
*
|
|
12960
|
-
* @since 3.11.0
|
|
12961
|
-
*/
|
|
12962
|
-
rowProps: _propTypes.default.oneOfType([_propTypes.default.shape({
|
|
12963
|
-
virtual: _propTypes.default.bool
|
|
12964
|
-
}), _propTypes.default.func]),
|
|
12965
|
-
/**
|
|
12966
|
-
* Enable reorderable view.
|
|
12967
|
-
* @since 3.18.0
|
|
12968
|
-
*/
|
|
12969
|
-
reorderable: _propTypes.default.bool,
|
|
12970
|
-
/**
|
|
12971
|
-
* Reorder end handler.
|
|
12972
|
-
* @since 3.18.0
|
|
12973
|
-
*/
|
|
12974
|
-
onReorderEnd: _propTypes.default.func,
|
|
12975
|
-
/**
|
|
12976
|
-
* @ignore
|
|
12977
|
-
*/
|
|
12978
|
-
className: _propTypes.default.string,
|
|
12979
|
-
/**
|
|
12980
|
-
* @ignore
|
|
12981
|
-
*/
|
|
12982
|
-
baseClassName: _propTypes.default.string
|
|
12983
|
-
};
|
|
12984
|
-
List.defaultProps = {
|
|
12877
|
+
_defineProperty(List, "defaultProps", {
|
|
12985
12878
|
data: [],
|
|
12986
|
-
sortColumn:
|
|
12879
|
+
sortColumn: undefined,
|
|
12987
12880
|
sortDirection: 'ASC',
|
|
12988
|
-
onSortChange:
|
|
12989
|
-
onSelectionChange:
|
|
12881
|
+
onSortChange: undefined,
|
|
12882
|
+
onSelectionChange: undefined,
|
|
12990
12883
|
selection: [],
|
|
12991
12884
|
renderSelectionCheckbox: undefined,
|
|
12992
12885
|
rowKey: 'key',
|
|
@@ -12995,7 +12888,7 @@ List.defaultProps = {
|
|
|
12995
12888
|
notExpandableRows: [],
|
|
12996
12889
|
onExpandedRowsChange: undefined,
|
|
12997
12890
|
loadingRows: [],
|
|
12998
|
-
className:
|
|
12891
|
+
className: '',
|
|
12999
12892
|
baseClassName: `${_constants.CLS_PREFIX}list`,
|
|
13000
12893
|
pagination: undefined,
|
|
13001
12894
|
totalRows: undefined,
|
|
@@ -13012,7 +12905,7 @@ List.defaultProps = {
|
|
|
13012
12905
|
rowProps: undefined,
|
|
13013
12906
|
reorderable: false,
|
|
13014
12907
|
onReorderEnd: undefined
|
|
13015
|
-
};
|
|
12908
|
+
});
|
|
13016
12909
|
var _default = exports["default"] = List;
|
|
13017
12910
|
|
|
13018
12911
|
/***/ }),
|
|
@@ -13041,7 +12934,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
13041
12934
|
* It accepts the props of [Button](#!/Button) and [MenuItem](#!/MenuItem) components.
|
|
13042
12935
|
* @since 3.3.0
|
|
13043
12936
|
*/
|
|
13044
|
-
|
|
13045
12937
|
const ListAction = _ref => {
|
|
13046
12938
|
let {
|
|
13047
12939
|
primary,
|
|
@@ -13504,10 +13396,10 @@ var _default = exports["default"] = ListOperationContext;
|
|
|
13504
13396
|
|
|
13505
13397
|
/***/ }),
|
|
13506
13398
|
|
|
13507
|
-
/***/ "./components/List/index.
|
|
13508
|
-
|
|
13509
|
-
!*** ./components/List/index.
|
|
13510
|
-
|
|
13399
|
+
/***/ "./components/List/index.tsx":
|
|
13400
|
+
/*!***********************************!*\
|
|
13401
|
+
!*** ./components/List/index.tsx ***!
|
|
13402
|
+
\***********************************/
|
|
13511
13403
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13512
13404
|
|
|
13513
13405
|
"use strict";
|
|
@@ -13552,7 +13444,7 @@ Object.defineProperty(exports, "default", ({
|
|
|
13552
13444
|
return _List.default;
|
|
13553
13445
|
}
|
|
13554
13446
|
}));
|
|
13555
|
-
var _List = _interopRequireDefault(__webpack_require__(/*! ./List */ "./components/List/List.
|
|
13447
|
+
var _List = _interopRequireDefault(__webpack_require__(/*! ./List */ "./components/List/List.tsx"));
|
|
13556
13448
|
var _ListOperation = _interopRequireDefault(__webpack_require__(/*! ./ListOperation */ "./components/List/ListOperation.tsx"));
|
|
13557
13449
|
var _ListEmptyView = _interopRequireDefault(__webpack_require__(/*! ./ListEmptyView */ "./components/List/ListEmptyView.tsx"));
|
|
13558
13450
|
var _ListActions = _interopRequireDefault(__webpack_require__(/*! ./ListActions */ "./components/List/ListActions.tsx"));
|
|
@@ -13580,8 +13472,8 @@ var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ ".
|
|
|
13580
13472
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
13581
13473
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13582
13474
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13583
|
-
function _toPropertyKey(
|
|
13584
|
-
function _toPrimitive(
|
|
13475
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
13476
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
13585
13477
|
const applyParams = function (message) {
|
|
13586
13478
|
let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
13587
13479
|
const result = [];
|
|
@@ -14475,8 +14367,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
14475
14367
|
}));
|
|
14476
14368
|
exports.isFocusable = exports["default"] = void 0;
|
|
14477
14369
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14478
|
-
function _toPropertyKey(
|
|
14479
|
-
function _toPrimitive(
|
|
14370
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
14371
|
+
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); }
|
|
14480
14372
|
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
14481
14373
|
|
|
14482
14374
|
const isFocusable = element => {
|
|
@@ -15040,122 +14932,85 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
15040
14932
|
}));
|
|
15041
14933
|
exports["default"] = void 0;
|
|
15042
14934
|
var _react = __webpack_require__(/*! react */ "react");
|
|
14935
|
+
var _reactTransitionGroup = __webpack_require__(/*! react-transition-group */ "../node_modules/react-transition-group/esm/index.js");
|
|
15043
14936
|
var _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ "../node_modules/classnames/index.js"));
|
|
15044
14937
|
var _constants = __webpack_require__(/*! ../../constants */ "./constants.js");
|
|
15045
|
-
var _reactTransitionGroup = __webpack_require__(/*! react-transition-group */ "../node_modules/react-transition-group/esm/index.js");
|
|
15046
14938
|
var _Translate = __webpack_require__(/*! ../Translate */ "./components/Translate/index.tsx");
|
|
15047
14939
|
var _Heading = _interopRequireDefault(__webpack_require__(/*! ../Heading */ "./components/Heading/index.tsx"));
|
|
15048
14940
|
var _Button = _interopRequireDefault(__webpack_require__(/*! ../Button */ "./components/Button/index.tsx"));
|
|
15049
|
-
__webpack_require__(/*! ./Panel.less */ "./components/Panel/Panel.less");
|
|
15050
14941
|
var _utils = __webpack_require__(/*! ../utils */ "./components/utils.tsx");
|
|
14942
|
+
__webpack_require__(/*! ./Panel.less */ "./components/Panel/Panel.less");
|
|
15051
14943
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
15052
14944
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
14945
|
+
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
14946
|
+
|
|
15056
14947
|
/**
|
|
15057
14948
|
* `Panel` component is used for visually grouping some content.
|
|
15058
14949
|
* @since 0.0.35
|
|
15059
14950
|
*/
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
|
|
15072
|
-
|
|
15073
|
-
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15084
|
-
|
|
15085
|
-
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15100
|
-
|
|
15101
|
-
|
|
15102
|
-
|
|
15103
|
-
|
|
15104
|
-
|
|
15105
|
-
|
|
15106
|
-
|
|
15107
|
-
|
|
15108
|
-
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
classNames: `${baseClassName}-`,
|
|
15115
|
-
in: !collapsed,
|
|
15116
|
-
timeout: 300,
|
|
15117
|
-
nodeRef: rootRef,
|
|
15118
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
15119
|
-
className: (0, _classnames.default)(baseClassName, {
|
|
15120
|
-
[`${baseClassName}--collapsible`]: collapsible,
|
|
15121
|
-
[`${baseClassName}--collapsed`]: collapsed,
|
|
15122
|
-
[`${baseClassName}--expanded`]: !collapsed
|
|
15123
|
-
}, className),
|
|
15124
|
-
...props,
|
|
15125
|
-
ref: rootRef,
|
|
15126
|
-
children: [title && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
15127
|
-
className: `${baseClassName}__header`,
|
|
15128
|
-
onClick: handleToggle,
|
|
15129
|
-
children: [(0, _Translate.isLikeText)(title) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Heading.default, {
|
|
15130
|
-
component: "div",
|
|
15131
|
-
level: 4,
|
|
15132
|
-
className: `${baseClassName}__title`,
|
|
15133
|
-
children: title
|
|
15134
|
-
}) : title, (extra || collapsible) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
15135
|
-
className: `${baseClassName}__extra`,
|
|
15136
|
-
children: [extra, collapsible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
15137
|
-
ghost: true,
|
|
15138
|
-
className: `${baseClassName}__control-button`,
|
|
15139
|
-
icon: {
|
|
15140
|
-
name: 'chevron-up',
|
|
15141
|
-
flipVertical: collapsed
|
|
15142
|
-
},
|
|
15143
|
-
onClick: handleToggle
|
|
15144
|
-
})]
|
|
14951
|
+
const Panel = _ref => {
|
|
14952
|
+
let {
|
|
14953
|
+
baseClassName = `${_constants.CLS_PREFIX}panel`,
|
|
14954
|
+
className,
|
|
14955
|
+
title,
|
|
14956
|
+
collapsible = false,
|
|
14957
|
+
collapsed: externalCollapsed,
|
|
14958
|
+
onToggle,
|
|
14959
|
+
children,
|
|
14960
|
+
extra,
|
|
14961
|
+
...props
|
|
14962
|
+
} = _ref;
|
|
14963
|
+
const rootRef = (0, _react.useRef)(null);
|
|
14964
|
+
const isControlled = externalCollapsed !== undefined;
|
|
14965
|
+
const [internalCollapsed, setInternalCollapsed] = (0, _react.useState)(false);
|
|
14966
|
+
const collapsed = isControlled ? externalCollapsed : internalCollapsed;
|
|
14967
|
+
const handleToggle = e => {
|
|
14968
|
+
if (!collapsible || (0, _utils.isClickable)(e)) return;
|
|
14969
|
+
if (!isControlled) {
|
|
14970
|
+
setInternalCollapsed(!collapsed);
|
|
14971
|
+
}
|
|
14972
|
+
onToggle?.(!collapsed);
|
|
14973
|
+
};
|
|
14974
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactTransitionGroup.CSSTransition, {
|
|
14975
|
+
classNames: `${baseClassName}-`,
|
|
14976
|
+
in: !collapsed,
|
|
14977
|
+
timeout: 300,
|
|
14978
|
+
nodeRef: rootRef,
|
|
14979
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
14980
|
+
className: (0, _classnames.default)(baseClassName, {
|
|
14981
|
+
[`${baseClassName}--collapsible`]: collapsible,
|
|
14982
|
+
[`${baseClassName}--collapsed`]: collapsed,
|
|
14983
|
+
[`${baseClassName}--expanded`]: !collapsed
|
|
14984
|
+
}, className),
|
|
14985
|
+
...props,
|
|
14986
|
+
ref: rootRef,
|
|
14987
|
+
children: [title && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
14988
|
+
className: `${baseClassName}__header`,
|
|
14989
|
+
onClick: handleToggle,
|
|
14990
|
+
children: [(0, _Translate.isLikeText)(title) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Heading.default, {
|
|
14991
|
+
component: "div",
|
|
14992
|
+
level: 4,
|
|
14993
|
+
className: `${baseClassName}__title`,
|
|
14994
|
+
children: title
|
|
14995
|
+
}) : title, (extra || collapsible) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
14996
|
+
className: `${baseClassName}__extra`,
|
|
14997
|
+
children: [extra, collapsible && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
14998
|
+
ghost: true,
|
|
14999
|
+
className: `${baseClassName}__control-button`,
|
|
15000
|
+
icon: {
|
|
15001
|
+
name: 'chevron-up',
|
|
15002
|
+
flipVertical: collapsed
|
|
15003
|
+
},
|
|
15004
|
+
onClick: handleToggle
|
|
15145
15005
|
})]
|
|
15146
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
15147
|
-
className: `${baseClassName}__content`,
|
|
15148
|
-
children: children
|
|
15149
15006
|
})]
|
|
15150
|
-
})
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
}
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
baseClassName: `${_constants.CLS_PREFIX}panel`
|
|
15158
|
-
});
|
|
15007
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
15008
|
+
className: `${baseClassName}__content`,
|
|
15009
|
+
children: children
|
|
15010
|
+
})]
|
|
15011
|
+
})
|
|
15012
|
+
});
|
|
15013
|
+
};
|
|
15159
15014
|
var _default = exports["default"] = Panel;
|
|
15160
15015
|
|
|
15161
15016
|
/***/ }),
|
|
@@ -15341,8 +15196,8 @@ __webpack_require__(/*! ./Popover.less */ "./components/Popover/Popover.less");
|
|
|
15341
15196
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
15342
15197
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15343
15198
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15344
|
-
function _toPropertyKey(
|
|
15345
|
-
function _toPrimitive(
|
|
15199
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
15200
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
15346
15201
|
const PLACEMENT_MAP = {
|
|
15347
15202
|
'top-left': 'top-end',
|
|
15348
15203
|
'top-right': 'top-start',
|
|
@@ -15696,8 +15551,8 @@ var _Layer = _interopRequireDefault(__webpack_require__(/*! ../Layer */ "./compo
|
|
|
15696
15551
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
15697
15552
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15698
15553
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15699
|
-
function _toPropertyKey(
|
|
15700
|
-
function _toPrimitive(
|
|
15554
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
15555
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
15701
15556
|
/**
|
|
15702
15557
|
* `Popper` component.
|
|
15703
15558
|
*/
|
|
@@ -15941,8 +15796,8 @@ __webpack_require__(/*! ./Progress.less */ "./components/Progress/Progress.less"
|
|
|
15941
15796
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
15942
15797
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15943
15798
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15944
|
-
function _toPropertyKey(
|
|
15945
|
-
function _toPrimitive(
|
|
15799
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
15800
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
15946
15801
|
/**
|
|
15947
15802
|
* `Progress` is used for showing progress of performing long operations.
|
|
15948
15803
|
* @since 1.10.0
|
|
@@ -16208,8 +16063,8 @@ __webpack_require__(/*! ./ProgressDialog.less */ "./components/ProgressDialog/Pr
|
|
|
16208
16063
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
16209
16064
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16210
16065
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16211
|
-
function _toPropertyKey(
|
|
16212
|
-
function _toPrimitive(
|
|
16066
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
16067
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
16213
16068
|
/**
|
|
16214
16069
|
* `ProgressDialog` is a [Dialog](#!/Dialog) combined with of [Progress](#!/Progress) component.
|
|
16215
16070
|
* @since 1.2.0
|
|
@@ -16895,8 +16750,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16895
16750
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16896
16751
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16897
16752
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16898
|
-
function _toPropertyKey(
|
|
16899
|
-
function _toPrimitive(
|
|
16753
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
16754
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
16900
16755
|
const getErrorsForChildren = (form, children) => {
|
|
16901
16756
|
let errors = {};
|
|
16902
16757
|
_react.Children.forEach(children, child => {
|
|
@@ -17269,8 +17124,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17269
17124
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17270
17125
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17271
17126
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17272
|
-
function _toPropertyKey(
|
|
17273
|
-
function _toPrimitive(
|
|
17127
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
17128
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
17274
17129
|
const alphaSort = (a, b) => a > b ? 1 : -1;
|
|
17275
17130
|
const SEGMENTED_CONTROL_BASE_CLASS_NAME = exports.SEGMENTED_CONTROL_BASE_CLASS_NAME = `${_constants.CLS_PREFIX}segmented-control`;
|
|
17276
17131
|
|
|
@@ -18173,6 +18028,10 @@ const SelectControl = /*#__PURE__*/(0, _react.forwardRef)(function SelectControl
|
|
|
18173
18028
|
onKeyDown: handleKeyDown,
|
|
18174
18029
|
onFocus: handleFocus,
|
|
18175
18030
|
onBlur: handleBlur,
|
|
18031
|
+
onClick: e => {
|
|
18032
|
+
// ignore click which was received by clicking on a label with "for" attribute
|
|
18033
|
+
if (e.detail === 0) e.stopPropagation();
|
|
18034
|
+
},
|
|
18176
18035
|
readOnly: !searchable,
|
|
18177
18036
|
disabled: disabled,
|
|
18178
18037
|
ref: inputRef,
|
|
@@ -18259,7 +18118,8 @@ var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/
|
|
|
18259
18118
|
/**
|
|
18260
18119
|
* `SelectOption` is a part of [SelectOptionGroup](#!/SelectOptionGroup) component.
|
|
18261
18120
|
* @since 2.3.0
|
|
18262
|
-
*/
|
|
18121
|
+
*/
|
|
18122
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
18263
18123
|
const SelectOption = _props => {
|
|
18264
18124
|
// styleguidist doesn't show Props & Methods if component renders nothing
|
|
18265
18125
|
// eslint-disable-next-line no-constant-condition
|
|
@@ -19072,8 +18932,8 @@ var _utils = __webpack_require__(/*! ../utils */ "./components/utils.tsx");
|
|
|
19072
18932
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
19073
18933
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19074
18934
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19075
|
-
function _toPropertyKey(
|
|
19076
|
-
function _toPrimitive(
|
|
18935
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
18936
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
19077
18937
|
class Squeezer extends _react.Component {
|
|
19078
18938
|
constructor() {
|
|
19079
18939
|
super(...arguments);
|
|
@@ -19710,8 +19570,8 @@ __webpack_require__(/*! ./SwitchesPanelItem.less */ "./components/SwitchesPanelI
|
|
|
19710
19570
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
19711
19571
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19712
19572
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19713
|
-
function _toPropertyKey(
|
|
19714
|
-
function _toPrimitive(
|
|
19573
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
19574
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
19715
19575
|
/**
|
|
19716
19576
|
* `SwitchesPanelItem` component is used for combining [Switch](#!/Switch) component with text title and description.
|
|
19717
19577
|
* Used in [SwitchesPanel](#!/SwitchesPanel).
|
|
@@ -19852,8 +19712,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
19852
19712
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19853
19713
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19854
19714
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19855
|
-
function _toPropertyKey(
|
|
19856
|
-
function _toPrimitive(
|
|
19715
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
19716
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
19857
19717
|
/**
|
|
19858
19718
|
* `SearchBar` component is used for providing type-as-you-go search.
|
|
19859
19719
|
* @since 0.0.58
|
|
@@ -20321,8 +20181,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
20321
20181
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20322
20182
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20323
20183
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20324
|
-
function _toPropertyKey(
|
|
20325
|
-
function _toPrimitive(
|
|
20184
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
20185
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
20326
20186
|
const ADDON_LEFT_PADDING = 5;
|
|
20327
20187
|
const MIN_ADDON_WIDTH_DEFAULT = 150;
|
|
20328
20188
|
const COLLAPSED_SEARCH_WIDTH = 60;
|
|
@@ -21026,8 +20886,8 @@ __webpack_require__(/*! ./TextArea.less */ "./components/TextArea/TextArea.less"
|
|
|
21026
20886
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
21027
20887
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21028
20888
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21029
|
-
function _toPropertyKey(
|
|
21030
|
-
function _toPrimitive(
|
|
20889
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
20890
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
21031
20891
|
const getMinMax = rows => {
|
|
21032
20892
|
if (typeof rows === 'number') {
|
|
21033
20893
|
return {
|
|
@@ -21315,8 +21175,8 @@ __webpack_require__(/*! ./Toast.less */ "./components/Toast/Toast.less");
|
|
|
21315
21175
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
21316
21176
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21317
21177
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21318
|
-
function _toPropertyKey(
|
|
21319
|
-
function _toPrimitive(
|
|
21178
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
21179
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
21320
21180
|
const AUTOCLOSE_TIMEOUT = 6000;
|
|
21321
21181
|
class Toast extends _react.Component {
|
|
21322
21182
|
constructor() {
|
|
@@ -21465,11 +21325,11 @@ var _Toast = _interopRequireDefault(__webpack_require__(/*! ../Toast */ "./compo
|
|
|
21465
21325
|
var _Layer = _interopRequireDefault(__webpack_require__(/*! ../Layer */ "./components/Layer/index.tsx"));
|
|
21466
21326
|
__webpack_require__(/*! ./Toaster.less */ "./components/Toaster/Toaster.less");
|
|
21467
21327
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
21468
|
-
var
|
|
21328
|
+
var _Toaster;
|
|
21469
21329
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21470
21330
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21471
|
-
function _toPropertyKey(
|
|
21472
|
-
function _toPrimitive(
|
|
21331
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
21332
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
21473
21333
|
let toastId = 0;
|
|
21474
21334
|
/**
|
|
21475
21335
|
* `Toaster` is used for notifying about events happened in the system. For example, about results of performed operations.
|
|
@@ -21646,7 +21506,7 @@ class Toaster extends _react.Component {
|
|
|
21646
21506
|
}
|
|
21647
21507
|
}
|
|
21648
21508
|
exports["default"] = Toaster;
|
|
21649
|
-
|
|
21509
|
+
_Toaster = Toaster;
|
|
21650
21510
|
// eslint-disable-next-line react/sort-comp
|
|
21651
21511
|
_defineProperty(Toaster, "defaultProps", {
|
|
21652
21512
|
position: 'top-end',
|
|
@@ -21657,7 +21517,7 @@ _defineProperty(Toaster, "create", function () {
|
|
|
21657
21517
|
let container = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.body;
|
|
21658
21518
|
const containerElement = document.createElement('div');
|
|
21659
21519
|
container.appendChild(containerElement);
|
|
21660
|
-
return (0, _reactDom.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
21520
|
+
return (0, _reactDom.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_Toaster, {
|
|
21661
21521
|
...props
|
|
21662
21522
|
}), containerElement);
|
|
21663
21523
|
});
|
|
@@ -21777,8 +21637,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
21777
21637
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21778
21638
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21779
21639
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21780
|
-
function _toPropertyKey(
|
|
21781
|
-
function _toPrimitive(
|
|
21640
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
21641
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
21782
21642
|
/**
|
|
21783
21643
|
* `Toolbar` component is a panel containing various instruments used for managing the contents of a large content block.
|
|
21784
21644
|
* Toolbar is located on top of the managed content block.
|
|
@@ -21927,8 +21787,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
21927
21787
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21928
21788
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21929
21789
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21930
|
-
function _toPropertyKey(
|
|
21931
|
-
function _toPrimitive(
|
|
21790
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
21791
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
21932
21792
|
/**
|
|
21933
21793
|
* `ToolbarGroup` is a part of [Toolbar](#!/Toolbar) component.
|
|
21934
21794
|
* It is used for grouping several toolbar controls together.
|
|
@@ -22102,8 +21962,8 @@ var _ToolbarExpander = _interopRequireDefault(__webpack_require__(/*! ./ToolbarE
|
|
|
22102
21962
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
22103
21963
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22104
21964
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22105
|
-
function _toPropertyKey(
|
|
22106
|
-
function _toPrimitive(
|
|
21965
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
21966
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
22107
21967
|
class ToolbarItem extends _react.Component {
|
|
22108
21968
|
constructor() {
|
|
22109
21969
|
super(...arguments);
|
|
@@ -22178,7 +22038,7 @@ var _ToolbarExpander = _interopRequireDefault(__webpack_require__(/*! ./ToolbarE
|
|
|
22178
22038
|
var _ToolbarGroup = _interopRequireDefault(__webpack_require__(/*! ./ToolbarGroup */ "./components/Toolbar/ToolbarGroup.tsx"));
|
|
22179
22039
|
var _Button = _interopRequireDefault(__webpack_require__(/*! ../Button */ "./components/Button/index.tsx"));
|
|
22180
22040
|
var _Dropdown = _interopRequireDefault(__webpack_require__(/*! ../Dropdown */ "./components/Dropdown/index.tsx"));
|
|
22181
|
-
var _List = __webpack_require__(/*! ../List */ "./components/List/index.
|
|
22041
|
+
var _List = __webpack_require__(/*! ../List */ "./components/List/index.tsx");
|
|
22182
22042
|
var _utils = __webpack_require__(/*! ../utils */ "./components/utils.tsx");
|
|
22183
22043
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
22184
22044
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -22214,7 +22074,6 @@ const toMenuItem = (child, isLast, onItemClick) => {
|
|
|
22214
22074
|
});
|
|
22215
22075
|
/* eslint-enable react/prop-types */
|
|
22216
22076
|
}
|
|
22217
|
-
|
|
22218
22077
|
case _ToolbarGroup.default:
|
|
22219
22078
|
{
|
|
22220
22079
|
const {
|
|
@@ -22352,8 +22211,8 @@ __webpack_require__(/*! ./Tooltip.less */ "./components/Tooltip/Tooltip.less");
|
|
|
22352
22211
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
22353
22212
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22354
22213
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22355
|
-
function _toPropertyKey(
|
|
22356
|
-
function _toPrimitive(
|
|
22214
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
22215
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
22357
22216
|
const createRectFactory = (width, height) => (left, top) => ({
|
|
22358
22217
|
top,
|
|
22359
22218
|
left,
|
|
@@ -22875,6 +22734,7 @@ var _exportNames = {
|
|
|
22875
22734
|
Columns: true,
|
|
22876
22735
|
Column: true,
|
|
22877
22736
|
ComboBox: true,
|
|
22737
|
+
ComboBoxOption: true,
|
|
22878
22738
|
ConsoleOutput: true,
|
|
22879
22739
|
ContentLoader: true,
|
|
22880
22740
|
Cuttable: true,
|
|
@@ -22907,6 +22767,11 @@ var _exportNames = {
|
|
|
22907
22767
|
Label: true,
|
|
22908
22768
|
Layout: true,
|
|
22909
22769
|
List: true,
|
|
22770
|
+
ListActions: true,
|
|
22771
|
+
ListAction: true,
|
|
22772
|
+
ListOperation: true,
|
|
22773
|
+
ListEmptyView: true,
|
|
22774
|
+
ListActionsDivider: true,
|
|
22910
22775
|
LocaleProvider: true,
|
|
22911
22776
|
Markdown: true,
|
|
22912
22777
|
Media: true,
|
|
@@ -23055,6 +22920,12 @@ Object.defineProperty(exports, "ComboBox", ({
|
|
|
23055
22920
|
return _ComboBox.default;
|
|
23056
22921
|
}
|
|
23057
22922
|
}));
|
|
22923
|
+
Object.defineProperty(exports, "ComboBoxOption", ({
|
|
22924
|
+
enumerable: true,
|
|
22925
|
+
get: function () {
|
|
22926
|
+
return _ComboBox.ComboBoxOption;
|
|
22927
|
+
}
|
|
22928
|
+
}));
|
|
23058
22929
|
Object.defineProperty(exports, "ConsoleOutput", ({
|
|
23059
22930
|
enumerable: true,
|
|
23060
22931
|
get: function () {
|
|
@@ -23241,6 +23112,36 @@ Object.defineProperty(exports, "List", ({
|
|
|
23241
23112
|
return _List.default;
|
|
23242
23113
|
}
|
|
23243
23114
|
}));
|
|
23115
|
+
Object.defineProperty(exports, "ListAction", ({
|
|
23116
|
+
enumerable: true,
|
|
23117
|
+
get: function () {
|
|
23118
|
+
return _List.ListAction;
|
|
23119
|
+
}
|
|
23120
|
+
}));
|
|
23121
|
+
Object.defineProperty(exports, "ListActions", ({
|
|
23122
|
+
enumerable: true,
|
|
23123
|
+
get: function () {
|
|
23124
|
+
return _List.ListActions;
|
|
23125
|
+
}
|
|
23126
|
+
}));
|
|
23127
|
+
Object.defineProperty(exports, "ListActionsDivider", ({
|
|
23128
|
+
enumerable: true,
|
|
23129
|
+
get: function () {
|
|
23130
|
+
return _List.ListActionsDivider;
|
|
23131
|
+
}
|
|
23132
|
+
}));
|
|
23133
|
+
Object.defineProperty(exports, "ListEmptyView", ({
|
|
23134
|
+
enumerable: true,
|
|
23135
|
+
get: function () {
|
|
23136
|
+
return _List.ListEmptyView;
|
|
23137
|
+
}
|
|
23138
|
+
}));
|
|
23139
|
+
Object.defineProperty(exports, "ListOperation", ({
|
|
23140
|
+
enumerable: true,
|
|
23141
|
+
get: function () {
|
|
23142
|
+
return _List.ListOperation;
|
|
23143
|
+
}
|
|
23144
|
+
}));
|
|
23244
23145
|
Object.defineProperty(exports, "LocaleProvider", ({
|
|
23245
23146
|
enumerable: true,
|
|
23246
23147
|
get: function () {
|
|
@@ -23586,17 +23487,6 @@ var _Radio = _interopRequireDefault(__webpack_require__(/*! ./Radio */ "./compon
|
|
|
23586
23487
|
var _CodeEditor = _interopRequireDefault(__webpack_require__(/*! ./CodeEditor */ "./components/CodeEditor/index.tsx"));
|
|
23587
23488
|
var _Columns = _interopRequireWildcard(__webpack_require__(/*! ./Columns */ "./components/Columns/index.tsx"));
|
|
23588
23489
|
var _ComboBox = _interopRequireWildcard(__webpack_require__(/*! ./ComboBox */ "./components/ComboBox/index.tsx"));
|
|
23589
|
-
Object.keys(_ComboBox).forEach(function (key) {
|
|
23590
|
-
if (key === "default" || key === "__esModule") return;
|
|
23591
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
23592
|
-
if (key in exports && exports[key] === _ComboBox[key]) return;
|
|
23593
|
-
Object.defineProperty(exports, key, {
|
|
23594
|
-
enumerable: true,
|
|
23595
|
-
get: function () {
|
|
23596
|
-
return _ComboBox[key];
|
|
23597
|
-
}
|
|
23598
|
-
});
|
|
23599
|
-
});
|
|
23600
23490
|
var _ConsoleOutput = _interopRequireDefault(__webpack_require__(/*! ./ConsoleOutput */ "./components/ConsoleOutput/index.tsx"));
|
|
23601
23491
|
var _ContentLoader = _interopRequireDefault(__webpack_require__(/*! ./ContentLoader */ "./components/ContentLoader/index.tsx"));
|
|
23602
23492
|
var _Cuttable = _interopRequireDefault(__webpack_require__(/*! ./Cuttable */ "./components/Cuttable/index.tsx"));
|
|
@@ -23672,18 +23562,7 @@ var _ItemLink = _interopRequireDefault(__webpack_require__(/*! ./ItemLink */ "./
|
|
|
23672
23562
|
var _ItemList = _interopRequireDefault(__webpack_require__(/*! ./ItemList */ "./components/ItemList/index.tsx"));
|
|
23673
23563
|
var _Label = _interopRequireDefault(__webpack_require__(/*! ./Label */ "./components/Label/index.tsx"));
|
|
23674
23564
|
var _Layout = _interopRequireDefault(__webpack_require__(/*! ./Layout */ "./components/Layout/index.tsx"));
|
|
23675
|
-
var _List = _interopRequireWildcard(__webpack_require__(/*! ./List */ "./components/List/index.
|
|
23676
|
-
Object.keys(_List).forEach(function (key) {
|
|
23677
|
-
if (key === "default" || key === "__esModule") return;
|
|
23678
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
23679
|
-
if (key in exports && exports[key] === _List[key]) return;
|
|
23680
|
-
Object.defineProperty(exports, key, {
|
|
23681
|
-
enumerable: true,
|
|
23682
|
-
get: function () {
|
|
23683
|
-
return _List[key];
|
|
23684
|
-
}
|
|
23685
|
-
});
|
|
23686
|
-
});
|
|
23565
|
+
var _List = _interopRequireWildcard(__webpack_require__(/*! ./List */ "./components/List/index.tsx"));
|
|
23687
23566
|
var _LocaleProvider = _interopRequireWildcard(__webpack_require__(/*! ./LocaleProvider */ "./components/LocaleProvider/index.tsx"));
|
|
23688
23567
|
Object.keys(_LocaleProvider).forEach(function (key) {
|
|
23689
23568
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -23791,8 +23670,8 @@ var _scrollIntoViewIfNeeded = _interopRequireDefault(__webpack_require__(/*! scr
|
|
|
23791
23670
|
var _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ "../node_modules/react/jsx-runtime.js");
|
|
23792
23671
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23793
23672
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23794
|
-
function _toPropertyKey(
|
|
23795
|
-
function _toPrimitive(
|
|
23673
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
23674
|
+
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); } // Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
|
23796
23675
|
const safeInvoke = function (fn) {
|
|
23797
23676
|
if (typeof fn === 'function') {
|
|
23798
23677
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -24179,75 +24058,6 @@ const copyToClipboard = value => {
|
|
|
24179
24058
|
};
|
|
24180
24059
|
exports.copyToClipboard = copyToClipboard;
|
|
24181
24060
|
|
|
24182
|
-
/***/ }),
|
|
24183
|
-
|
|
24184
|
-
/***/ "../node_modules/classnames/index.js":
|
|
24185
|
-
/*!*******************************************!*\
|
|
24186
|
-
!*** ../node_modules/classnames/index.js ***!
|
|
24187
|
-
\*******************************************/
|
|
24188
|
-
/***/ ((module, exports) => {
|
|
24189
|
-
|
|
24190
|
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
24191
|
-
Copyright (c) 2018 Jed Watson.
|
|
24192
|
-
Licensed under the MIT License (MIT), see
|
|
24193
|
-
http://jedwatson.github.io/classnames
|
|
24194
|
-
*/
|
|
24195
|
-
/* global define */
|
|
24196
|
-
|
|
24197
|
-
(function () {
|
|
24198
|
-
'use strict';
|
|
24199
|
-
|
|
24200
|
-
var hasOwn = {}.hasOwnProperty;
|
|
24201
|
-
var nativeCodeString = '[native code]';
|
|
24202
|
-
|
|
24203
|
-
function classNames() {
|
|
24204
|
-
var classes = [];
|
|
24205
|
-
|
|
24206
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
24207
|
-
var arg = arguments[i];
|
|
24208
|
-
if (!arg) continue;
|
|
24209
|
-
|
|
24210
|
-
var argType = typeof arg;
|
|
24211
|
-
|
|
24212
|
-
if (argType === 'string' || argType === 'number') {
|
|
24213
|
-
classes.push(arg);
|
|
24214
|
-
} else if (Array.isArray(arg)) {
|
|
24215
|
-
if (arg.length) {
|
|
24216
|
-
var inner = classNames.apply(null, arg);
|
|
24217
|
-
if (inner) {
|
|
24218
|
-
classes.push(inner);
|
|
24219
|
-
}
|
|
24220
|
-
}
|
|
24221
|
-
} else if (argType === 'object') {
|
|
24222
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
24223
|
-
classes.push(arg.toString());
|
|
24224
|
-
continue;
|
|
24225
|
-
}
|
|
24226
|
-
|
|
24227
|
-
for (var key in arg) {
|
|
24228
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
24229
|
-
classes.push(key);
|
|
24230
|
-
}
|
|
24231
|
-
}
|
|
24232
|
-
}
|
|
24233
|
-
}
|
|
24234
|
-
|
|
24235
|
-
return classes.join(' ');
|
|
24236
|
-
}
|
|
24237
|
-
|
|
24238
|
-
if ( true && module.exports) {
|
|
24239
|
-
classNames.default = classNames;
|
|
24240
|
-
module.exports = classNames;
|
|
24241
|
-
} else if (true) {
|
|
24242
|
-
// register as 'classnames', consistent with npm package name
|
|
24243
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
|
24244
|
-
return classNames;
|
|
24245
|
-
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
24246
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
24247
|
-
} else {}
|
|
24248
|
-
}());
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
24061
|
/***/ }),
|
|
24252
24062
|
|
|
24253
24063
|
/***/ "../node_modules/codemirror/addon/dialog/dialog.js":
|
|
@@ -84907,6 +84717,92 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_react__;
|
|
|
84907
84717
|
"use strict";
|
|
84908
84718
|
module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;
|
|
84909
84719
|
|
|
84720
|
+
/***/ }),
|
|
84721
|
+
|
|
84722
|
+
/***/ "../node_modules/classnames/index.js":
|
|
84723
|
+
/*!*******************************************!*\
|
|
84724
|
+
!*** ../node_modules/classnames/index.js ***!
|
|
84725
|
+
\*******************************************/
|
|
84726
|
+
/***/ ((module, exports) => {
|
|
84727
|
+
|
|
84728
|
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
84729
|
+
Copyright (c) 2018 Jed Watson.
|
|
84730
|
+
Licensed under the MIT License (MIT), see
|
|
84731
|
+
http://jedwatson.github.io/classnames
|
|
84732
|
+
*/
|
|
84733
|
+
/* global define */
|
|
84734
|
+
|
|
84735
|
+
(function () {
|
|
84736
|
+
'use strict';
|
|
84737
|
+
|
|
84738
|
+
var hasOwn = {}.hasOwnProperty;
|
|
84739
|
+
|
|
84740
|
+
function classNames () {
|
|
84741
|
+
var classes = '';
|
|
84742
|
+
|
|
84743
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
84744
|
+
var arg = arguments[i];
|
|
84745
|
+
if (arg) {
|
|
84746
|
+
classes = appendClass(classes, parseValue(arg));
|
|
84747
|
+
}
|
|
84748
|
+
}
|
|
84749
|
+
|
|
84750
|
+
return classes;
|
|
84751
|
+
}
|
|
84752
|
+
|
|
84753
|
+
function parseValue (arg) {
|
|
84754
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
84755
|
+
return arg;
|
|
84756
|
+
}
|
|
84757
|
+
|
|
84758
|
+
if (typeof arg !== 'object') {
|
|
84759
|
+
return '';
|
|
84760
|
+
}
|
|
84761
|
+
|
|
84762
|
+
if (Array.isArray(arg)) {
|
|
84763
|
+
return classNames.apply(null, arg);
|
|
84764
|
+
}
|
|
84765
|
+
|
|
84766
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
84767
|
+
return arg.toString();
|
|
84768
|
+
}
|
|
84769
|
+
|
|
84770
|
+
var classes = '';
|
|
84771
|
+
|
|
84772
|
+
for (var key in arg) {
|
|
84773
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
84774
|
+
classes = appendClass(classes, key);
|
|
84775
|
+
}
|
|
84776
|
+
}
|
|
84777
|
+
|
|
84778
|
+
return classes;
|
|
84779
|
+
}
|
|
84780
|
+
|
|
84781
|
+
function appendClass (value, newClass) {
|
|
84782
|
+
if (!newClass) {
|
|
84783
|
+
return value;
|
|
84784
|
+
}
|
|
84785
|
+
|
|
84786
|
+
if (value) {
|
|
84787
|
+
return value + ' ' + newClass;
|
|
84788
|
+
}
|
|
84789
|
+
|
|
84790
|
+
return value + newClass;
|
|
84791
|
+
}
|
|
84792
|
+
|
|
84793
|
+
if ( true && module.exports) {
|
|
84794
|
+
classNames.default = classNames;
|
|
84795
|
+
module.exports = classNames;
|
|
84796
|
+
} else if (true) {
|
|
84797
|
+
// register as 'classnames', consistent with npm package name
|
|
84798
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
|
84799
|
+
return classNames;
|
|
84800
|
+
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
84801
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
84802
|
+
} else {}
|
|
84803
|
+
}());
|
|
84804
|
+
|
|
84805
|
+
|
|
84910
84806
|
/***/ }),
|
|
84911
84807
|
|
|
84912
84808
|
/***/ "../node_modules/marked/lib/marked.cjs":
|
|
@@ -87766,7 +87662,7 @@ function _setPrototypeOf(o, p) {
|
|
|
87766
87662
|
/***/ ((module) => {
|
|
87767
87663
|
|
|
87768
87664
|
"use strict";
|
|
87769
|
-
module.exports = JSON.parse('{"name":"@plesk/ui-library","version":"3.
|
|
87665
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@plesk/ui-library","version":"3.37.0","description":"Plesk UI Library","main":"index.js","module":"esm/index.js","types":"./types/src","sideEffects":["cjs/index.js","esm/index.js","dist/*.js","dist/*.css"],"scripts":{"pretest":"yarn lint","test":"jest --ci --coverage --coverageReporters text-summary","test:vr":"cross-env VISUAL_REGRESSION=true jest","build":"yarn build:types && yarn build:umd && yarn build:esm && yarn build:cjs","build:umd":"webpack --config ./configs/build.config.js","build:esm":"cross-env NODE_ENV=esm node ./scripts/build.js","build:cjs":"cross-env NODE_ENV=cjs node ./scripts/build.js","build:types":"rimraf ./types && tsc --project ./configs/types-generator.config.json","create-svg-sprite":"node ./scripts/create-svg-sprite.js","lint":"yarn lint:es && yarn lint:types && yarn lint:style && yarn format:check","lint:es":"eslint --ext js,md,tsx src configs scripts styleguidist","lint:types":"tsc","lint:style":"stylelint \\"{src,styleguidist}/**/*.less\\"","format:check":"prettier --check src","format":"prettier --write src","styleguide":"styleguidist server --config ./configs/styleguide.config.js","styleguide:build":"styleguidist build --config ./configs/styleguide.config.js","prepublishOnly":"yarn install && yarn test && yarn build && yarn styleguide:build","storybook":"webpack serve --config ./configs/storybook.config.js --allowed-hosts all","postinstall":"node ./scripts/postinstall.js"},"files":["esm","cjs","dist","styleguide","types","/scripts/postinstall.js","/index.js"],"dependencies":{"@babel/runtime":"^7.23.9","@plesk/react-movable":"^2.7.1","classnames":"^2.5.1","codemirror":"5.58.2","marked":"4.2.12","memoize-one":"^5.2.1","popper.js":"1.16.1","prop-types":"^15.8.1","react-measure":"2.5.2","react-sortable-hoc":"0.6.8","react-transition-group":"^4.4.5","scroll-into-view-if-needed":"^2.2.31","svg4everybody":"2.1.9","use-focus-visible":"^1.0.2"},"devDependencies":{"@babel/core":"^7.23.9","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-runtime":"^7.23.9","@babel/preset-env":"^7.23.9","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@babel/types":"^7.23.9","@csstools/postcss-logical-float-and-clear":"^1.0.1","@plesk/eslint-config":"^3.0.0","@plesk/stylelint-config":"^2.0.0","@testing-library/dom":"^9.3.4","@testing-library/jest-dom":"^6.4.2","@testing-library/react":"^14.2.1","@testing-library/user-event":"^14.5.2","@types/buble":"^0.20.5","@types/classnames":"2.3.1","@types/codemirror":"^5.60.15","@types/doctrine":"^0.0.5","@types/jest":"^29.5.12","@types/jest-image-snapshot":"^6.4.0","@types/marked":"^4.3.2","@types/node":"^16.18.80","@types/react":"^18.2.55","@types/react-dom":"^18.2.19","@types/react-measure":"2.0.9","@types/react-transition-group":"^4.4.10","@types/svg4everybody":"2.1.2","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","autoprefixer":"^10.4.17","babel-loader":"^8.3.0","babel-plugin-transform-require-ignore":"^0.1.1","clean-webpack-plugin":"^4.0.0","cross-env":"^7.0.3","css-loader":"^6.10.0","css-minimizer-webpack-plugin":"^5.0.1","eslint":"^8.56.0","eslint-config-prettier":"^8.10.0","eslint-plugin-markdown":"^3.0.1","html-webpack-plugin":"^5.6.0","jest":"^29.7.0","jest-dev-server":"^9.0.2","jest-environment-jsdom":"^29.7.0","jest-image-snapshot":"^6.4.0","less":"^4.2.0","less-loader":"^11.1.4","mini-css-extract-plugin":"^2.8.0","postcss":"^8.4.35","postcss-less":"^6.0.0","postcss-loader":"^7.3.4","postcss-logical":"^6.2.0","prettier":"^2.8.8","puppeteer-core":"21.7.0","react":"^18.2.0","react-docgen-typescript":"^2.2.2","react-dom":"^18.2.0","react-styleguidist":"^13.1.2","rimraf":"^5.0.5","rtlcss":"^4.1.1","style-loader":"^3.3.4","stylelint":"^15.11.0","stylelint-declaration-block-no-ignored-properties":"^2.8.0","stylelint-no-unsupported-browser-features":"^6.1.0","stylelint-prettier":"^3.0.0","stylelint-use-logical-spec":"^5.0.1","svg-mixer":"^2.3.14","terser-webpack-plugin":"^5.3.10","typescript":"5.2.2","webpack":"^5.90.1","webpack-cli":"^5.1.4"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"resolutions":{"trim":">=0.0.3","postcss":"^8.4.23"},"browserslist":["defaults","not op_mini all","not kaios > 0"],"author":"Plesk Developers <plesk-dev-leads@plesk.com> (https://www.plesk.com/)","license":"Apache-2.0"}');
|
|
87770
87666
|
|
|
87771
87667
|
/***/ }),
|
|
87772
87668
|
|
|
@@ -87777,7 +87673,7 @@ module.exports = JSON.parse('{"name":"@plesk/ui-library","version":"3.36.0","des
|
|
|
87777
87673
|
/***/ ((module) => {
|
|
87778
87674
|
|
|
87779
87675
|
"use strict";
|
|
87780
|
-
module.exports = JSON.parse('{"customize-order":"arrows-four-directions","download":"arrow-down-tray","edit":"pencil","folder":"folder-closed","globe-alt":"globe","import":"arrow-down-in","invisible":"eye-closed","link":"chain","lock":"lock-closed","ok-circle":"check-mark-circle","question-circle":"question-mark-circle","security-scan":"shield","settings":"sliders","suspend":"sleep","unlock":"lock-open","upload":"arrow-up-tray","visible":"eye"}');
|
|
87676
|
+
module.exports = /*#__PURE__*/JSON.parse('{"customize-order":"arrows-four-directions","download":"arrow-down-tray","edit":"pencil","folder":"folder-closed","globe-alt":"globe","import":"arrow-down-in","invisible":"eye-closed","link":"chain","lock":"lock-closed","ok-circle":"check-mark-circle","question-circle":"question-mark-circle","security-scan":"shield","settings":"sliders","suspend":"sleep","unlock":"lock-open","upload":"arrow-up-tray","visible":"eye"}');
|
|
87781
87677
|
|
|
87782
87678
|
/***/ })
|
|
87783
87679
|
|