@plusscommunities/pluss-core-web 1.2.1 → 1.2.5
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/dist/index.cjs.js +546 -255
- package/dist/index.esm.js +545 -254
- package/dist/index.umd.js +548 -258
- package/package.json +1 -1
- package/src/components/AudienceSelector.js +5 -2
- package/src/components/Comment.js +22 -0
- package/src/components/CommentSection.js +63 -0
- package/src/components/ExportCsvPopup.js +122 -0
- package/src/components/index.js +3 -0
package/dist/index.esm.js
CHANGED
|
@@ -18,11 +18,12 @@ import FontAwesome from 'react-fontawesome';
|
|
|
18
18
|
import _extends from '@babel/runtime/helpers/extends';
|
|
19
19
|
import _assertThisInitialized from '@babel/runtime/helpers/assertThisInitialized';
|
|
20
20
|
import { connect } from 'react-redux';
|
|
21
|
-
import Dropzone from 'react-dropzone';
|
|
22
21
|
import Textarea from 'react-textarea-autosize';
|
|
22
|
+
import Dropzone from 'react-dropzone';
|
|
23
23
|
import { withRouter } from 'react-router';
|
|
24
24
|
import { MenuItem, DropdownButton } from 'react-bootstrap';
|
|
25
25
|
import { Lottie } from '@crello/react-lottie';
|
|
26
|
+
import { CSVLink } from 'react-csv';
|
|
26
27
|
|
|
27
28
|
var CoreConfig = {
|
|
28
29
|
env: {
|
|
@@ -2983,14 +2984,14 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2983
2984
|
setNavData: setNavData
|
|
2984
2985
|
});
|
|
2985
2986
|
|
|
2986
|
-
function _createSuper$
|
|
2987
|
+
function _createSuper$A(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$A(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2987
2988
|
|
|
2988
|
-
function _isNativeReflectConstruct$
|
|
2989
|
+
function _isNativeReflectConstruct$A() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
2989
2990
|
|
|
2990
2991
|
var AddButton = /*#__PURE__*/function (_Component) {
|
|
2991
2992
|
_inherits(AddButton, _Component);
|
|
2992
2993
|
|
|
2993
|
-
var _super = _createSuper$
|
|
2994
|
+
var _super = _createSuper$A(AddButton);
|
|
2994
2995
|
|
|
2995
2996
|
function AddButton() {
|
|
2996
2997
|
_classCallCheck(this, AddButton);
|
|
@@ -3967,14 +3968,14 @@ var icons = {
|
|
|
3967
3968
|
template_sportingClub: template_sportingClub
|
|
3968
3969
|
};
|
|
3969
3970
|
|
|
3970
|
-
function _createSuper$
|
|
3971
|
+
function _createSuper$z(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$z(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
3971
3972
|
|
|
3972
|
-
function _isNativeReflectConstruct$
|
|
3973
|
+
function _isNativeReflectConstruct$z() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
3973
3974
|
|
|
3974
3975
|
var SVGIcon = /*#__PURE__*/function (_Component) {
|
|
3975
3976
|
_inherits(SVGIcon, _Component);
|
|
3976
3977
|
|
|
3977
|
-
var _super = _createSuper$
|
|
3978
|
+
var _super = _createSuper$z(SVGIcon);
|
|
3978
3979
|
|
|
3979
3980
|
function SVGIcon() {
|
|
3980
3981
|
_classCallCheck(this, SVGIcon);
|
|
@@ -4022,14 +4023,14 @@ var SVGIcon = /*#__PURE__*/function (_Component) {
|
|
|
4022
4023
|
return SVGIcon;
|
|
4023
4024
|
}(Component);
|
|
4024
4025
|
|
|
4025
|
-
function _createSuper$
|
|
4026
|
+
function _createSuper$y(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$y(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4026
4027
|
|
|
4027
|
-
function _isNativeReflectConstruct$
|
|
4028
|
+
function _isNativeReflectConstruct$y() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4028
4029
|
|
|
4029
4030
|
var Attachment = /*#__PURE__*/function (_Component) {
|
|
4030
4031
|
_inherits(Attachment, _Component);
|
|
4031
4032
|
|
|
4032
|
-
var _super = _createSuper$
|
|
4033
|
+
var _super = _createSuper$y(Attachment);
|
|
4033
4034
|
|
|
4034
4035
|
function Attachment() {
|
|
4035
4036
|
_classCallCheck(this, Attachment);
|
|
@@ -4067,14 +4068,14 @@ function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
4067
4068
|
|
|
4068
4069
|
function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$e(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4069
4070
|
|
|
4070
|
-
function _createSuper$
|
|
4071
|
+
function _createSuper$x(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$x(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4071
4072
|
|
|
4072
|
-
function _isNativeReflectConstruct$
|
|
4073
|
+
function _isNativeReflectConstruct$x() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4073
4074
|
|
|
4074
4075
|
var Button = /*#__PURE__*/function (_Component) {
|
|
4075
4076
|
_inherits(Button, _Component);
|
|
4076
4077
|
|
|
4077
|
-
var _super = _createSuper$
|
|
4078
|
+
var _super = _createSuper$x(Button);
|
|
4078
4079
|
|
|
4079
4080
|
function Button() {
|
|
4080
4081
|
_classCallCheck(this, Button);
|
|
@@ -4174,14 +4175,14 @@ function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
4174
4175
|
|
|
4175
4176
|
function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$d(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4176
4177
|
|
|
4177
|
-
function _createSuper$
|
|
4178
|
+
function _createSuper$w(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$w(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4178
4179
|
|
|
4179
|
-
function _isNativeReflectConstruct$
|
|
4180
|
+
function _isNativeReflectConstruct$w() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4180
4181
|
|
|
4181
4182
|
var CheckBox = /*#__PURE__*/function (_PureComponent) {
|
|
4182
4183
|
_inherits(CheckBox, _PureComponent);
|
|
4183
4184
|
|
|
4184
|
-
var _super = _createSuper$
|
|
4185
|
+
var _super = _createSuper$w(CheckBox);
|
|
4185
4186
|
|
|
4186
4187
|
function CheckBox() {
|
|
4187
4188
|
var _this;
|
|
@@ -4287,14 +4288,245 @@ var styles$8 = {
|
|
|
4287
4288
|
}
|
|
4288
4289
|
};
|
|
4289
4290
|
|
|
4291
|
+
function _createSuper$v(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$v(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4292
|
+
|
|
4293
|
+
function _isNativeReflectConstruct$v() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4294
|
+
|
|
4295
|
+
var Text = /*#__PURE__*/function (_Component) {
|
|
4296
|
+
_inherits(Text, _Component);
|
|
4297
|
+
|
|
4298
|
+
var _super = _createSuper$v(Text);
|
|
4299
|
+
|
|
4300
|
+
function Text() {
|
|
4301
|
+
_classCallCheck(this, Text);
|
|
4302
|
+
|
|
4303
|
+
return _super.apply(this, arguments);
|
|
4304
|
+
}
|
|
4305
|
+
|
|
4306
|
+
_createClass(Text, [{
|
|
4307
|
+
key: "getClassName",
|
|
4308
|
+
value: function getClassName() {
|
|
4309
|
+
if (this.props.className) {
|
|
4310
|
+
return " ".concat(this.props.className);
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
return '';
|
|
4314
|
+
}
|
|
4315
|
+
}, {
|
|
4316
|
+
key: "render",
|
|
4317
|
+
value: function render() {
|
|
4318
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
4319
|
+
className: "text-".concat(this.props.type).concat(this.getClassName()),
|
|
4320
|
+
style: this.props.style
|
|
4321
|
+
}, this.props.children);
|
|
4322
|
+
}
|
|
4323
|
+
}]);
|
|
4324
|
+
|
|
4325
|
+
return Text;
|
|
4326
|
+
}(Component);
|
|
4327
|
+
|
|
4328
|
+
function ownKeys$c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4329
|
+
|
|
4330
|
+
function _objectSpread$c(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$c(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4331
|
+
|
|
4332
|
+
function _createSuper$u(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$u(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4333
|
+
|
|
4334
|
+
function _isNativeReflectConstruct$u() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4335
|
+
|
|
4336
|
+
var ProfilePicComponent = /*#__PURE__*/function (_Component) {
|
|
4337
|
+
_inherits(ProfilePicComponent, _Component);
|
|
4338
|
+
|
|
4339
|
+
var _super = _createSuper$u(ProfilePicComponent);
|
|
4340
|
+
|
|
4341
|
+
function ProfilePicComponent() {
|
|
4342
|
+
_classCallCheck(this, ProfilePicComponent);
|
|
4343
|
+
|
|
4344
|
+
return _super.apply(this, arguments);
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
_createClass(ProfilePicComponent, [{
|
|
4348
|
+
key: "renderPic",
|
|
4349
|
+
value: function renderPic() {
|
|
4350
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4351
|
+
className: this.props.className,
|
|
4352
|
+
style: _objectSpread$c({
|
|
4353
|
+
width: this.props.size || 30,
|
|
4354
|
+
height: this.props.size || 30,
|
|
4355
|
+
borderRadius: this.props.size / 2 || 15,
|
|
4356
|
+
backgroundColor: this.props.colourBrandingApp,
|
|
4357
|
+
backgroundSize: 'cover',
|
|
4358
|
+
backgroundPosition: 'center',
|
|
4359
|
+
backgroundImage: "url(".concat(!_.isEmpty(this.props.image) ? this.props.image : CoreConfig.env.defaultProfileImage, ")")
|
|
4360
|
+
}, this.props.style),
|
|
4361
|
+
alt: "Profile Pic"
|
|
4362
|
+
});
|
|
4363
|
+
}
|
|
4364
|
+
}, {
|
|
4365
|
+
key: "render",
|
|
4366
|
+
value: function render() {
|
|
4367
|
+
if (this.props.hoverText) {
|
|
4368
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4369
|
+
className: "profilePicHover ".concat(this.props.containerClass)
|
|
4370
|
+
}, this.renderPic(), /*#__PURE__*/React.createElement(Text, {
|
|
4371
|
+
type: "h5",
|
|
4372
|
+
className: "profilePicHover_text"
|
|
4373
|
+
}, this.props.hoverText));
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
return this.renderPic();
|
|
4377
|
+
}
|
|
4378
|
+
}]);
|
|
4379
|
+
|
|
4380
|
+
return ProfilePicComponent;
|
|
4381
|
+
}(Component);
|
|
4382
|
+
|
|
4383
|
+
var mapStateToProps$5 = function mapStateToProps(state) {
|
|
4384
|
+
return {
|
|
4385
|
+
colourBrandingApp: getAppColourFromState(state)
|
|
4386
|
+
};
|
|
4387
|
+
};
|
|
4388
|
+
|
|
4389
|
+
var ProfilePic = connect(mapStateToProps$5, {})(ProfilePicComponent);
|
|
4390
|
+
|
|
4391
|
+
function _createSuper$t(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$t(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4392
|
+
|
|
4393
|
+
function _isNativeReflectConstruct$t() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4394
|
+
|
|
4395
|
+
var Comment = /*#__PURE__*/function (_Component) {
|
|
4396
|
+
_inherits(Comment, _Component);
|
|
4397
|
+
|
|
4398
|
+
var _super = _createSuper$t(Comment);
|
|
4399
|
+
|
|
4400
|
+
function Comment() {
|
|
4401
|
+
_classCallCheck(this, Comment);
|
|
4402
|
+
|
|
4403
|
+
return _super.apply(this, arguments);
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
_createClass(Comment, [{
|
|
4407
|
+
key: "render",
|
|
4408
|
+
value: function render() {
|
|
4409
|
+
var comment = this.props.comment;
|
|
4410
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
4411
|
+
key: comment.Id,
|
|
4412
|
+
className: "comment"
|
|
4413
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4414
|
+
className: "comment_text"
|
|
4415
|
+
}, toParagraphed(comment.Comment)), /*#__PURE__*/React.createElement("div", {
|
|
4416
|
+
className: "comment_bottom"
|
|
4417
|
+
}, /*#__PURE__*/React.createElement(ProfilePic, {
|
|
4418
|
+
className: "comment_profilePic",
|
|
4419
|
+
size: 25,
|
|
4420
|
+
image: comment.User.profilePic
|
|
4421
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
4422
|
+
className: "comment_name"
|
|
4423
|
+
}, comment.User.displayName), /*#__PURE__*/React.createElement("p", {
|
|
4424
|
+
className: "comment_time"
|
|
4425
|
+
}, moment.utc(comment.Timestamp).local().format('D MMM YYYY • h:mma'))));
|
|
4426
|
+
}
|
|
4427
|
+
}]);
|
|
4428
|
+
|
|
4429
|
+
return Comment;
|
|
4430
|
+
}(Component);
|
|
4431
|
+
|
|
4290
4432
|
function _createSuper$s(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$s(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4291
4433
|
|
|
4292
4434
|
function _isNativeReflectConstruct$s() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4293
4435
|
|
|
4436
|
+
var CommentSection = /*#__PURE__*/function (_Component) {
|
|
4437
|
+
_inherits(CommentSection, _Component);
|
|
4438
|
+
|
|
4439
|
+
var _super = _createSuper$s(CommentSection);
|
|
4440
|
+
|
|
4441
|
+
function CommentSection(props) {
|
|
4442
|
+
var _this;
|
|
4443
|
+
|
|
4444
|
+
_classCallCheck(this, CommentSection);
|
|
4445
|
+
|
|
4446
|
+
_this = _super.call(this, props);
|
|
4447
|
+
|
|
4448
|
+
_defineProperty(_assertThisInitialized(_this), "onHandleChange", function (event) {
|
|
4449
|
+
var stateChange = {};
|
|
4450
|
+
stateChange[event.target.getAttribute('id')] = event.target.value;
|
|
4451
|
+
|
|
4452
|
+
_this.setState(stateChange);
|
|
4453
|
+
});
|
|
4454
|
+
|
|
4455
|
+
_defineProperty(_assertThisInitialized(_this), "onAddComment", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
4456
|
+
var commentInput;
|
|
4457
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4458
|
+
while (1) {
|
|
4459
|
+
switch (_context.prev = _context.next) {
|
|
4460
|
+
case 0:
|
|
4461
|
+
commentInput = _this.state.commentInput;
|
|
4462
|
+
|
|
4463
|
+
_this.setState({
|
|
4464
|
+
commentInput: ''
|
|
4465
|
+
});
|
|
4466
|
+
|
|
4467
|
+
_this.props.onAddComment(commentInput);
|
|
4468
|
+
|
|
4469
|
+
case 3:
|
|
4470
|
+
case "end":
|
|
4471
|
+
return _context.stop();
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4474
|
+
}, _callee);
|
|
4475
|
+
})));
|
|
4476
|
+
|
|
4477
|
+
_this.state = {
|
|
4478
|
+
commentInput: ''
|
|
4479
|
+
};
|
|
4480
|
+
return _this;
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4483
|
+
_createClass(CommentSection, [{
|
|
4484
|
+
key: "render",
|
|
4485
|
+
value: function render() {
|
|
4486
|
+
var _this2 = this;
|
|
4487
|
+
|
|
4488
|
+
return /*#__PURE__*/React.createElement("div", null, this.props.includeTitle && /*#__PURE__*/React.createElement(Text, {
|
|
4489
|
+
type: "formTitleSmall",
|
|
4490
|
+
className: "marginBottom-16"
|
|
4491
|
+
}, "Comments"), /*#__PURE__*/React.createElement("div", {
|
|
4492
|
+
className: "commentSection"
|
|
4493
|
+
}, this.props.comments.map(function (c) {
|
|
4494
|
+
return /*#__PURE__*/React.createElement(Comment, {
|
|
4495
|
+
key: c.Id,
|
|
4496
|
+
comment: c
|
|
4497
|
+
});
|
|
4498
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
4499
|
+
className: "commentReply"
|
|
4500
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
4501
|
+
className: "commentReply_button".concat(!_.isEmpty(this.state.commentInput) ? ' commentReply_button-active' : ''),
|
|
4502
|
+
onClick: this.onAddComment
|
|
4503
|
+
}, /*#__PURE__*/React.createElement(FontAwesome, {
|
|
4504
|
+
className: "commentReply_icon",
|
|
4505
|
+
name: "paper-plane-o"
|
|
4506
|
+
})), /*#__PURE__*/React.createElement(Textarea, {
|
|
4507
|
+
id: "commentInput",
|
|
4508
|
+
placeholder: "Reply here...",
|
|
4509
|
+
type: "text",
|
|
4510
|
+
className: "commentReply_input",
|
|
4511
|
+
value: this.state.commentInput,
|
|
4512
|
+
onChange: function onChange(e) {
|
|
4513
|
+
return _this2.onHandleChange(e);
|
|
4514
|
+
}
|
|
4515
|
+
})));
|
|
4516
|
+
}
|
|
4517
|
+
}]);
|
|
4518
|
+
|
|
4519
|
+
return CommentSection;
|
|
4520
|
+
}(Component);
|
|
4521
|
+
|
|
4522
|
+
function _createSuper$r(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$r(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4523
|
+
|
|
4524
|
+
function _isNativeReflectConstruct$r() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4525
|
+
|
|
4294
4526
|
var P60Icon = /*#__PURE__*/function (_Component) {
|
|
4295
4527
|
_inherits(P60Icon, _Component);
|
|
4296
4528
|
|
|
4297
|
-
var _super = _createSuper$
|
|
4529
|
+
var _super = _createSuper$r(P60Icon);
|
|
4298
4530
|
|
|
4299
4531
|
function P60Icon() {
|
|
4300
4532
|
var _this;
|
|
@@ -4350,14 +4582,14 @@ var P60Icon = /*#__PURE__*/function (_Component) {
|
|
|
4350
4582
|
return P60Icon;
|
|
4351
4583
|
}(Component);
|
|
4352
4584
|
|
|
4353
|
-
function _createSuper$
|
|
4585
|
+
function _createSuper$q(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$q(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4354
4586
|
|
|
4355
|
-
function _isNativeReflectConstruct$
|
|
4587
|
+
function _isNativeReflectConstruct$q() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4356
4588
|
|
|
4357
4589
|
var DatePicker = /*#__PURE__*/function (_Component) {
|
|
4358
4590
|
_inherits(DatePicker, _Component);
|
|
4359
4591
|
|
|
4360
|
-
var _super = _createSuper$
|
|
4592
|
+
var _super = _createSuper$q(DatePicker);
|
|
4361
4593
|
|
|
4362
4594
|
function DatePicker() {
|
|
4363
4595
|
var _this;
|
|
@@ -4670,13 +4902,13 @@ var DatePicker = /*#__PURE__*/function (_Component) {
|
|
|
4670
4902
|
return DatePicker;
|
|
4671
4903
|
}(Component);
|
|
4672
4904
|
|
|
4673
|
-
function ownKeys$
|
|
4905
|
+
function ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4674
4906
|
|
|
4675
|
-
function _objectSpread$
|
|
4907
|
+
function _objectSpread$b(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$b(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4676
4908
|
|
|
4677
|
-
function _createSuper$
|
|
4909
|
+
function _createSuper$p(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$p(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4678
4910
|
|
|
4679
|
-
function _isNativeReflectConstruct$
|
|
4911
|
+
function _isNativeReflectConstruct$p() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4680
4912
|
var DEFAULT_INPUT$1 = {
|
|
4681
4913
|
uploadingFile: false,
|
|
4682
4914
|
value: ''
|
|
@@ -4685,7 +4917,7 @@ var DEFAULT_INPUT$1 = {
|
|
|
4685
4917
|
var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
4686
4918
|
_inherits(FileInputComponent, _Component);
|
|
4687
4919
|
|
|
4688
|
-
var _super = _createSuper$
|
|
4920
|
+
var _super = _createSuper$p(FileInputComponent);
|
|
4689
4921
|
|
|
4690
4922
|
function FileInputComponent() {
|
|
4691
4923
|
var _this;
|
|
@@ -4740,7 +4972,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
4740
4972
|
_this.handleFile(newInput, file);
|
|
4741
4973
|
}
|
|
4742
4974
|
} else {
|
|
4743
|
-
var _newInput = _objectSpread$
|
|
4975
|
+
var _newInput = _objectSpread$b({}, DEFAULT_INPUT$1);
|
|
4744
4976
|
|
|
4745
4977
|
newInputs.splice(newInputs.length - 1, 0, _newInput);
|
|
4746
4978
|
|
|
@@ -4963,7 +5195,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
4963
5195
|
className: "imageInput_simpleContainer"
|
|
4964
5196
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4965
5197
|
className: "imageInput_image",
|
|
4966
|
-
style: _objectSpread$
|
|
5198
|
+
style: _objectSpread$b(_objectSpread$b({}, _this3.props.style), {}, {
|
|
4967
5199
|
height: _this3.props.style && _this3.props.style.height ? _this3.props.style.height - 62 : 80
|
|
4968
5200
|
})
|
|
4969
5201
|
}, /*#__PURE__*/React.createElement("img", {
|
|
@@ -4989,7 +5221,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
4989
5221
|
|
|
4990
5222
|
return /*#__PURE__*/React.createElement("div", {
|
|
4991
5223
|
className: "imageInput_image",
|
|
4992
|
-
style: _objectSpread$
|
|
5224
|
+
style: _objectSpread$b({}, _this3.props.style)
|
|
4993
5225
|
});
|
|
4994
5226
|
};
|
|
4995
5227
|
|
|
@@ -5020,12 +5252,12 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5020
5252
|
return /*#__PURE__*/React.createElement("div", {
|
|
5021
5253
|
key: index,
|
|
5022
5254
|
className: this.getClassNames(input, inputsLength),
|
|
5023
|
-
style: _objectSpread$
|
|
5255
|
+
style: _objectSpread$b({}, this.props.style)
|
|
5024
5256
|
}, /*#__PURE__*/React.createElement(Dropzone, {
|
|
5025
5257
|
className: "imageInput_upload ".concat(this.getErrorState()),
|
|
5026
5258
|
accept: this.props.accept,
|
|
5027
5259
|
onDrop: this.onDrop,
|
|
5028
|
-
style: _objectSpread$
|
|
5260
|
+
style: _objectSpread$b({}, this.props.style)
|
|
5029
5261
|
}, function (_ref2) {
|
|
5030
5262
|
var isDragActive = _ref2.isDragActive;
|
|
5031
5263
|
_ref2.isDragReject;
|
|
@@ -5044,7 +5276,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5044
5276
|
}, _this3.props.multiple ? "Upload files" : "Upload a file"));
|
|
5045
5277
|
}), /*#__PURE__*/React.createElement("div", {
|
|
5046
5278
|
className: "imageInput_uploading",
|
|
5047
|
-
style: _objectSpread$
|
|
5279
|
+
style: _objectSpread$b({}, this.props.style)
|
|
5048
5280
|
}, /*#__PURE__*/React.createElement(FontAwesome, {
|
|
5049
5281
|
className: "spinner imageInput_spinner",
|
|
5050
5282
|
name: "spinner fa-pulse fa-fw"
|
|
@@ -5057,7 +5289,7 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5057
5289
|
|
|
5058
5290
|
return /*#__PURE__*/React.createElement("div", {
|
|
5059
5291
|
className: "imageInputContainer clearfix ".concat(inputs.length === 1 ? 'imageInputContainer-noPadding' : '', " ").concat(this.props.simpleStyle ? 'imageInputContainer-simple' : ''),
|
|
5060
|
-
style: _objectSpread$
|
|
5292
|
+
style: _objectSpread$b({}, this.props.style)
|
|
5061
5293
|
}, inputs.map(function (input, index) {
|
|
5062
5294
|
return _this4.renderInput(input, index, inputs.length);
|
|
5063
5295
|
}));
|
|
@@ -5079,26 +5311,26 @@ var FileInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5079
5311
|
return FileInputComponent;
|
|
5080
5312
|
}(Component);
|
|
5081
5313
|
|
|
5082
|
-
var mapStateToProps$
|
|
5314
|
+
var mapStateToProps$4 = function mapStateToProps() {
|
|
5083
5315
|
return {};
|
|
5084
5316
|
};
|
|
5085
5317
|
|
|
5086
|
-
var FileInput = connect(mapStateToProps$
|
|
5318
|
+
var FileInput = connect(mapStateToProps$4, {}, null, {
|
|
5087
5319
|
withRef: true
|
|
5088
5320
|
})(FileInputComponent);
|
|
5089
5321
|
|
|
5090
|
-
function ownKeys$
|
|
5322
|
+
function ownKeys$a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
5091
5323
|
|
|
5092
|
-
function _objectSpread$
|
|
5324
|
+
function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$a(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
5093
5325
|
|
|
5094
|
-
function _createSuper$
|
|
5326
|
+
function _createSuper$o(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$o(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
5095
5327
|
|
|
5096
|
-
function _isNativeReflectConstruct$
|
|
5328
|
+
function _isNativeReflectConstruct$o() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
5097
5329
|
|
|
5098
5330
|
var GenericInput = /*#__PURE__*/function (_Component) {
|
|
5099
5331
|
_inherits(GenericInput, _Component);
|
|
5100
5332
|
|
|
5101
|
-
var _super = _createSuper$
|
|
5333
|
+
var _super = _createSuper$o(GenericInput);
|
|
5102
5334
|
|
|
5103
5335
|
function GenericInput() {
|
|
5104
5336
|
_classCallCheck(this, GenericInput);
|
|
@@ -5203,7 +5435,7 @@ var GenericInput = /*#__PURE__*/function (_Component) {
|
|
|
5203
5435
|
|
|
5204
5436
|
if (!_.isUndefined(this.props.inputComponent)) {
|
|
5205
5437
|
return /*#__PURE__*/React.createElement("div", {
|
|
5206
|
-
style: _objectSpread$
|
|
5438
|
+
style: _objectSpread$a(_objectSpread$a({}, styles$7.row), {}, {
|
|
5207
5439
|
alignItems: 'flex-start'
|
|
5208
5440
|
})
|
|
5209
5441
|
}, this.props.isRequired && /*#__PURE__*/React.createElement("div", {
|
|
@@ -5214,7 +5446,7 @@ var GenericInput = /*#__PURE__*/function (_Component) {
|
|
|
5214
5446
|
if (!_.isUndefined(this.props.type) && this.props.type === 'textarea') {
|
|
5215
5447
|
// Render expandable text area
|
|
5216
5448
|
return /*#__PURE__*/React.createElement("div", {
|
|
5217
|
-
style: _objectSpread$
|
|
5449
|
+
style: _objectSpread$a(_objectSpread$a({}, styles$7.row), {}, {
|
|
5218
5450
|
alignItems: 'flex-start'
|
|
5219
5451
|
})
|
|
5220
5452
|
}, this.props.isRequired && /*#__PURE__*/React.createElement("div", {
|
|
@@ -5228,7 +5460,7 @@ var GenericInput = /*#__PURE__*/function (_Component) {
|
|
|
5228
5460
|
onChange: this.props.onChange,
|
|
5229
5461
|
onKeyPress: this.props.onKeyPress || this.props.onEnter,
|
|
5230
5462
|
onKeyDown: this.props.onKeyDown,
|
|
5231
|
-
style: _objectSpread$
|
|
5463
|
+
style: _objectSpread$a({}, this.props.inputStyle),
|
|
5232
5464
|
readOnly: !_.isUndefined(this.props.readOnly) ? this.props.readOnly : false,
|
|
5233
5465
|
disabled: !_.isUndefined(this.props.disabled) ? this.props.disabled : false,
|
|
5234
5466
|
autoComplete: this.getAutoComplete(),
|
|
@@ -5240,7 +5472,7 @@ var GenericInput = /*#__PURE__*/function (_Component) {
|
|
|
5240
5472
|
|
|
5241
5473
|
|
|
5242
5474
|
return /*#__PURE__*/React.createElement("div", {
|
|
5243
|
-
style: _objectSpread$
|
|
5475
|
+
style: _objectSpread$a(_objectSpread$a({}, styles$7.row), this.props.textWrapperStyle)
|
|
5244
5476
|
}, this.props.isRequired && /*#__PURE__*/React.createElement("div", {
|
|
5245
5477
|
className: "inputRequired "
|
|
5246
5478
|
}), /*#__PURE__*/React.createElement("input", {
|
|
@@ -5256,7 +5488,7 @@ var GenericInput = /*#__PURE__*/function (_Component) {
|
|
|
5256
5488
|
onClick: this.props.onClick,
|
|
5257
5489
|
onKeyPress: this.props.onKeyPress || this.props.onEnter,
|
|
5258
5490
|
onKeyDown: this.props.onKeyDown,
|
|
5259
|
-
style: _objectSpread$
|
|
5491
|
+
style: _objectSpread$a({}, this.props.inputStyle),
|
|
5260
5492
|
readOnly: !_.isUndefined(this.props.readOnly) ? this.props.readOnly : false,
|
|
5261
5493
|
disabled: !_.isUndefined(this.props.disabled) ? this.props.disabled : false,
|
|
5262
5494
|
autoComplete: this.getAutoComplete(),
|
|
@@ -5271,9 +5503,9 @@ var GenericInput = /*#__PURE__*/function (_Component) {
|
|
|
5271
5503
|
value: function render() {
|
|
5272
5504
|
return /*#__PURE__*/React.createElement("div", {
|
|
5273
5505
|
className: this.getClassNames(),
|
|
5274
|
-
style: _objectSpread$
|
|
5506
|
+
style: _objectSpread$a({}, this.props.style)
|
|
5275
5507
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5276
|
-
style: _objectSpread$
|
|
5508
|
+
style: _objectSpread$a(_objectSpread$a({}, styles$7.row), {}, {
|
|
5277
5509
|
marginBottom: 0,
|
|
5278
5510
|
justifyContent: 'space-between'
|
|
5279
5511
|
})
|
|
@@ -5296,14 +5528,14 @@ var styles$7 = {
|
|
|
5296
5528
|
}
|
|
5297
5529
|
};
|
|
5298
5530
|
|
|
5299
|
-
function _createSuper$
|
|
5531
|
+
function _createSuper$n(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$n(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
5300
5532
|
|
|
5301
|
-
function _isNativeReflectConstruct$
|
|
5533
|
+
function _isNativeReflectConstruct$n() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
5302
5534
|
|
|
5303
5535
|
var Header = /*#__PURE__*/function (_Component) {
|
|
5304
5536
|
_inherits(Header, _Component);
|
|
5305
5537
|
|
|
5306
|
-
var _super = _createSuper$
|
|
5538
|
+
var _super = _createSuper$n(Header);
|
|
5307
5539
|
|
|
5308
5540
|
function Header() {
|
|
5309
5541
|
var _this;
|
|
@@ -5410,29 +5642,29 @@ var Header = /*#__PURE__*/function (_Component) {
|
|
|
5410
5642
|
return Header;
|
|
5411
5643
|
}(Component);
|
|
5412
5644
|
|
|
5413
|
-
var mapStateToProps$
|
|
5645
|
+
var mapStateToProps$3 = function mapStateToProps(state) {
|
|
5414
5646
|
return {
|
|
5415
5647
|
auth: state.auth,
|
|
5416
5648
|
isSideMenuOpen: state.nav.isSideMenuOpen
|
|
5417
5649
|
};
|
|
5418
5650
|
};
|
|
5419
5651
|
|
|
5420
|
-
var exportObj$2 = connect(mapStateToProps$
|
|
5652
|
+
var exportObj$2 = connect(mapStateToProps$3, {
|
|
5421
5653
|
setNavData: setNavData
|
|
5422
5654
|
})(withRouter(Header));
|
|
5423
5655
|
|
|
5424
|
-
function ownKeys$
|
|
5656
|
+
function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
5425
5657
|
|
|
5426
|
-
function _objectSpread$
|
|
5658
|
+
function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$9(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
5427
5659
|
|
|
5428
|
-
function _createSuper$
|
|
5660
|
+
function _createSuper$m(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$m(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
5429
5661
|
|
|
5430
|
-
function _isNativeReflectConstruct$
|
|
5662
|
+
function _isNativeReflectConstruct$m() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
5431
5663
|
|
|
5432
5664
|
var Popup = /*#__PURE__*/function (_Component) {
|
|
5433
5665
|
_inherits(Popup, _Component);
|
|
5434
5666
|
|
|
5435
|
-
var _super = _createSuper$
|
|
5667
|
+
var _super = _createSuper$m(Popup);
|
|
5436
5668
|
|
|
5437
5669
|
function Popup() {
|
|
5438
5670
|
_classCallCheck(this, Popup);
|
|
@@ -5490,7 +5722,7 @@ var Popup = /*#__PURE__*/function (_Component) {
|
|
|
5490
5722
|
return /*#__PURE__*/React.createElement(Button, {
|
|
5491
5723
|
key: index,
|
|
5492
5724
|
buttonType: b.type,
|
|
5493
|
-
style: _objectSpread$
|
|
5725
|
+
style: _objectSpread$9({
|
|
5494
5726
|
marginLeft: 8,
|
|
5495
5727
|
marginRight: 8
|
|
5496
5728
|
}, b.style),
|
|
@@ -5509,7 +5741,7 @@ var Popup = /*#__PURE__*/function (_Component) {
|
|
|
5509
5741
|
return /*#__PURE__*/React.createElement(Button, {
|
|
5510
5742
|
key: index,
|
|
5511
5743
|
buttonType: b.type,
|
|
5512
|
-
style: _objectSpread$
|
|
5744
|
+
style: _objectSpread$9({
|
|
5513
5745
|
marginLeft: 16
|
|
5514
5746
|
}, b.style),
|
|
5515
5747
|
className: b.className,
|
|
@@ -5542,13 +5774,13 @@ var Popup = /*#__PURE__*/function (_Component) {
|
|
|
5542
5774
|
return Popup;
|
|
5543
5775
|
}(Component);
|
|
5544
5776
|
|
|
5545
|
-
function ownKeys$
|
|
5777
|
+
function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
5546
5778
|
|
|
5547
|
-
function _objectSpread$
|
|
5779
|
+
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$8(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
5548
5780
|
|
|
5549
|
-
function _createSuper$
|
|
5781
|
+
function _createSuper$l(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$l(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
5550
5782
|
|
|
5551
|
-
function _isNativeReflectConstruct$
|
|
5783
|
+
function _isNativeReflectConstruct$l() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
5552
5784
|
var DEFAULT_INPUT = {
|
|
5553
5785
|
uploadingImage: false,
|
|
5554
5786
|
value: '',
|
|
@@ -5558,7 +5790,7 @@ var DEFAULT_INPUT = {
|
|
|
5558
5790
|
var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
5559
5791
|
_inherits(ImageInputComponent, _Component);
|
|
5560
5792
|
|
|
5561
|
-
var _super = _createSuper$
|
|
5793
|
+
var _super = _createSuper$l(ImageInputComponent);
|
|
5562
5794
|
|
|
5563
5795
|
function ImageInputComponent() {
|
|
5564
5796
|
var _this;
|
|
@@ -5689,7 +5921,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5689
5921
|
case 5:
|
|
5690
5922
|
folders = _context2.sent;
|
|
5691
5923
|
|
|
5692
|
-
_this.setState(_objectSpread$
|
|
5924
|
+
_this.setState(_objectSpread$8({
|
|
5693
5925
|
addingFolder: false,
|
|
5694
5926
|
folders: folders
|
|
5695
5927
|
}, _this.cancelAddStates));
|
|
@@ -5754,7 +5986,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5754
5986
|
_this.handleFile(newInput, file);
|
|
5755
5987
|
}
|
|
5756
5988
|
} else {
|
|
5757
|
-
var _newInput = _objectSpread$
|
|
5989
|
+
var _newInput = _objectSpread$8(_objectSpread$8({}, DEFAULT_INPUT), {}, {
|
|
5758
5990
|
fromLibrary: fromLibrary
|
|
5759
5991
|
});
|
|
5760
5992
|
|
|
@@ -5857,11 +6089,11 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5857
6089
|
event.stopPropagation();
|
|
5858
6090
|
|
|
5859
6091
|
if (window.confirm("Are you sure you want to delete ".concat(folder.Name, "?"))) {
|
|
5860
|
-
var deletingFolder = _objectSpread$
|
|
6092
|
+
var deletingFolder = _objectSpread$8({}, _this.state.deletingFolder);
|
|
5861
6093
|
|
|
5862
6094
|
deletingFolder[folder.RowId] = true;
|
|
5863
6095
|
|
|
5864
|
-
_this.setState(_objectSpread$
|
|
6096
|
+
_this.setState(_objectSpread$8({
|
|
5865
6097
|
deletingFolder: _.clone(deletingFolder)
|
|
5866
6098
|
}, _this.cancelAddStates), /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
5867
6099
|
var folders;
|
|
@@ -5914,7 +6146,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
5914
6146
|
// Unselect the image first if selected
|
|
5915
6147
|
if (image.Selected) _this.toggleLibraryItem(image);
|
|
5916
6148
|
|
|
5917
|
-
var deletingImage = _objectSpread$
|
|
6149
|
+
var deletingImage = _objectSpread$8({}, _this.state.deletingImage);
|
|
5918
6150
|
|
|
5919
6151
|
deletingImage[image.Value] = true;
|
|
5920
6152
|
|
|
@@ -6375,7 +6607,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6375
6607
|
className: "imageInput_simpleContainer"
|
|
6376
6608
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6377
6609
|
className: "imageInput_image",
|
|
6378
|
-
style: _objectSpread$
|
|
6610
|
+
style: _objectSpread$8(_objectSpread$8({}, _this6.getImageStyle(input.displayValue)), _this6.props.style)
|
|
6379
6611
|
}, /*#__PURE__*/React.createElement(Dropzone, {
|
|
6380
6612
|
accept: "image/jpeg, image/png".concat(_this6.props.allowVideo ? ', video/*' : ''),
|
|
6381
6613
|
onDrop: function onDrop(files) {
|
|
@@ -6391,7 +6623,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6391
6623
|
|
|
6392
6624
|
return /*#__PURE__*/React.createElement("div", {
|
|
6393
6625
|
className: "imageInput_image",
|
|
6394
|
-
style: _objectSpread$
|
|
6626
|
+
style: _objectSpread$8(_objectSpread$8({}, _this6.getImageStyle(input.displayValue)), _this6.props.style)
|
|
6395
6627
|
});
|
|
6396
6628
|
};
|
|
6397
6629
|
|
|
@@ -6424,12 +6656,12 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6424
6656
|
return /*#__PURE__*/React.createElement("div", {
|
|
6425
6657
|
key: index,
|
|
6426
6658
|
className: this.getClassNames(input, inputsLength),
|
|
6427
|
-
style: _objectSpread$
|
|
6659
|
+
style: _objectSpread$8({}, this.props.style)
|
|
6428
6660
|
}, /*#__PURE__*/React.createElement(Dropzone, {
|
|
6429
6661
|
className: "imageInput_upload ".concat(this.getErrorState()),
|
|
6430
6662
|
accept: "image/jpeg, image/png".concat(this.props.allowVideo ? ', video/*' : ''),
|
|
6431
6663
|
onDrop: this.onDrop,
|
|
6432
|
-
style: _objectSpread$
|
|
6664
|
+
style: _objectSpread$8({}, this.props.style)
|
|
6433
6665
|
}, function (_ref8) {
|
|
6434
6666
|
var isDragActive = _ref8.isDragActive;
|
|
6435
6667
|
_ref8.isDragReject;
|
|
@@ -6448,7 +6680,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6448
6680
|
}, _this6.props.multiple ? "Upload ".concat(mediaText) : "Upload an ".concat(mediaText)));
|
|
6449
6681
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6450
6682
|
className: "imageInput_uploading",
|
|
6451
|
-
style: _objectSpread$
|
|
6683
|
+
style: _objectSpread$8({}, this.props.style)
|
|
6452
6684
|
}, /*#__PURE__*/React.createElement(FontAwesome, {
|
|
6453
6685
|
className: "spinner imageInput_spinner",
|
|
6454
6686
|
name: "spinner fa-pulse fa-fw"
|
|
@@ -6474,7 +6706,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6474
6706
|
className: classes
|
|
6475
6707
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6476
6708
|
className: "imageInput_image",
|
|
6477
|
-
style: _objectSpread$
|
|
6709
|
+
style: _objectSpread$8({}, this.getImageStyle(image[1400])),
|
|
6478
6710
|
onClick: this.toggleLibraryItem.bind(this, image)
|
|
6479
6711
|
}), /*#__PURE__*/React.createElement("div", {
|
|
6480
6712
|
className: "imageInput_selected"
|
|
@@ -6667,7 +6899,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6667
6899
|
var mediaText = this.props.allowVideo ? 'media' : "image".concat(this.props.multiple ? 's' : '');
|
|
6668
6900
|
return /*#__PURE__*/React.createElement("div", {
|
|
6669
6901
|
className: "imageInputContainer imageInputContainer-library",
|
|
6670
|
-
style: _objectSpread$
|
|
6902
|
+
style: _objectSpread$8({}, this.props.style)
|
|
6671
6903
|
}, this.renderBreadCrumbs(), stockFolder ? this.state.imageLibrary.map(function (image, index) {
|
|
6672
6904
|
return _this12.renderLibraryImage(image, index);
|
|
6673
6905
|
}) : /*#__PURE__*/React.createElement("div", null, this.canAddImageToLibrary() && /*#__PURE__*/React.createElement(Dropzone, {
|
|
@@ -6716,7 +6948,7 @@ var ImageInputComponent = /*#__PURE__*/function (_Component) {
|
|
|
6716
6948
|
|
|
6717
6949
|
return /*#__PURE__*/React.createElement("div", {
|
|
6718
6950
|
className: "imageInputContainer ".concat(inputs.length === 1 ? 'imageInputContainer-noPadding' : ''),
|
|
6719
|
-
style: _objectSpread$
|
|
6951
|
+
style: _objectSpread$8({}, this.props.style)
|
|
6720
6952
|
}, inputs.map(function (input, index) {
|
|
6721
6953
|
return _this13.renderInput(input, index, inputs.length);
|
|
6722
6954
|
}));
|
|
@@ -6841,24 +7073,24 @@ var styles$6 = {
|
|
|
6841
7073
|
}
|
|
6842
7074
|
};
|
|
6843
7075
|
|
|
6844
|
-
var mapStateToProps$
|
|
7076
|
+
var mapStateToProps$2 = function mapStateToProps(state) {
|
|
6845
7077
|
return {
|
|
6846
7078
|
auth: state.auth
|
|
6847
7079
|
};
|
|
6848
7080
|
};
|
|
6849
7081
|
|
|
6850
|
-
var ImageInput = connect(mapStateToProps$
|
|
7082
|
+
var ImageInput = connect(mapStateToProps$2, {}, null, {
|
|
6851
7083
|
withRef: true
|
|
6852
7084
|
})(ImageInputComponent);
|
|
6853
7085
|
|
|
6854
|
-
function _createSuper$
|
|
7086
|
+
function _createSuper$k(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$k(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6855
7087
|
|
|
6856
|
-
function _isNativeReflectConstruct$
|
|
7088
|
+
function _isNativeReflectConstruct$k() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
6857
7089
|
|
|
6858
7090
|
var MoreMenu = /*#__PURE__*/function (_Component) {
|
|
6859
7091
|
_inherits(MoreMenu, _Component);
|
|
6860
7092
|
|
|
6861
|
-
var _super = _createSuper$
|
|
7093
|
+
var _super = _createSuper$k(MoreMenu);
|
|
6862
7094
|
|
|
6863
7095
|
function MoreMenu() {
|
|
6864
7096
|
_classCallCheck(this, MoreMenu);
|
|
@@ -6888,18 +7120,18 @@ var MoreMenu = /*#__PURE__*/function (_Component) {
|
|
|
6888
7120
|
return MoreMenu;
|
|
6889
7121
|
}(Component);
|
|
6890
7122
|
|
|
6891
|
-
function ownKeys$
|
|
7123
|
+
function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
6892
7124
|
|
|
6893
|
-
function _objectSpread$
|
|
7125
|
+
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$7(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
6894
7126
|
|
|
6895
|
-
function _createSuper$
|
|
7127
|
+
function _createSuper$j(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$j(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6896
7128
|
|
|
6897
|
-
function _isNativeReflectConstruct$
|
|
7129
|
+
function _isNativeReflectConstruct$j() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
6898
7130
|
|
|
6899
7131
|
var OverlayPage = /*#__PURE__*/function (_Component) {
|
|
6900
7132
|
_inherits(OverlayPage, _Component);
|
|
6901
7133
|
|
|
6902
|
-
var _super = _createSuper$
|
|
7134
|
+
var _super = _createSuper$j(OverlayPage);
|
|
6903
7135
|
|
|
6904
7136
|
function OverlayPage(props) {
|
|
6905
7137
|
var _this;
|
|
@@ -6952,9 +7184,9 @@ var OverlayPage = /*#__PURE__*/function (_Component) {
|
|
|
6952
7184
|
key: "render",
|
|
6953
7185
|
value: function render() {
|
|
6954
7186
|
return /*#__PURE__*/React.createElement("div", {
|
|
6955
|
-
style: _objectSpread$
|
|
7187
|
+
style: _objectSpread$7(_objectSpread$7({}, styles$5.pageWrapper), this.props.style)
|
|
6956
7188
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6957
|
-
style: _objectSpread$
|
|
7189
|
+
style: _objectSpread$7(_objectSpread$7({}, styles$5.backgroundOverlay), this.props.backgroundStyle)
|
|
6958
7190
|
}), this.renderContent());
|
|
6959
7191
|
}
|
|
6960
7192
|
}]);
|
|
@@ -6981,18 +7213,18 @@ var styles$5 = {
|
|
|
6981
7213
|
}
|
|
6982
7214
|
};
|
|
6983
7215
|
|
|
6984
|
-
function ownKeys$
|
|
7216
|
+
function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
6985
7217
|
|
|
6986
|
-
function _objectSpread$
|
|
7218
|
+
function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$6(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
6987
7219
|
|
|
6988
|
-
function _createSuper$
|
|
7220
|
+
function _createSuper$i(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$i(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6989
7221
|
|
|
6990
|
-
function _isNativeReflectConstruct$
|
|
7222
|
+
function _isNativeReflectConstruct$i() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
6991
7223
|
|
|
6992
7224
|
var OverlayPageContents = /*#__PURE__*/function (_Component) {
|
|
6993
7225
|
_inherits(OverlayPageContents, _Component);
|
|
6994
7226
|
|
|
6995
|
-
var _super = _createSuper$
|
|
7227
|
+
var _super = _createSuper$i(OverlayPageContents);
|
|
6996
7228
|
|
|
6997
7229
|
function OverlayPageContents(props) {
|
|
6998
7230
|
var _this;
|
|
@@ -7023,7 +7255,7 @@ var OverlayPageContents = /*#__PURE__*/function (_Component) {
|
|
|
7023
7255
|
return /*#__PURE__*/React.createElement("div", {
|
|
7024
7256
|
id: this.props.id,
|
|
7025
7257
|
className: "animateOpacity",
|
|
7026
|
-
style: _objectSpread$
|
|
7258
|
+
style: _objectSpread$6(_objectSpread$6({}, styles$4.wrapper), {}, {
|
|
7027
7259
|
height: this.props.noBottomButtons ? '100%' : 'calc(100% - 57px)',
|
|
7028
7260
|
opacity: this.state.opacity
|
|
7029
7261
|
}, this.props.style)
|
|
@@ -7047,18 +7279,18 @@ var styles$4 = {
|
|
|
7047
7279
|
}
|
|
7048
7280
|
};
|
|
7049
7281
|
|
|
7050
|
-
function ownKeys$
|
|
7282
|
+
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
7051
7283
|
|
|
7052
|
-
function _objectSpread$
|
|
7284
|
+
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$5(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7053
7285
|
|
|
7054
|
-
function _createSuper$
|
|
7286
|
+
function _createSuper$h(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$h(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7055
7287
|
|
|
7056
|
-
function _isNativeReflectConstruct$
|
|
7288
|
+
function _isNativeReflectConstruct$h() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7057
7289
|
|
|
7058
7290
|
var OverlayPageSection = /*#__PURE__*/function (_Component) {
|
|
7059
7291
|
_inherits(OverlayPageSection, _Component);
|
|
7060
7292
|
|
|
7061
|
-
var _super = _createSuper$
|
|
7293
|
+
var _super = _createSuper$h(OverlayPageSection);
|
|
7062
7294
|
|
|
7063
7295
|
function OverlayPageSection() {
|
|
7064
7296
|
_classCallCheck(this, OverlayPageSection);
|
|
@@ -7080,7 +7312,7 @@ var OverlayPageSection = /*#__PURE__*/function (_Component) {
|
|
|
7080
7312
|
value: function render() {
|
|
7081
7313
|
return /*#__PURE__*/React.createElement("div", _extends({}, this.props, {
|
|
7082
7314
|
className: this.getClassName(),
|
|
7083
|
-
style: _objectSpread$
|
|
7315
|
+
style: _objectSpread$5(_objectSpread$5({}, styles$3.wrapper), this.props.style)
|
|
7084
7316
|
}), this.props.children);
|
|
7085
7317
|
}
|
|
7086
7318
|
}]);
|
|
@@ -7099,18 +7331,18 @@ var styles$3 = {
|
|
|
7099
7331
|
}
|
|
7100
7332
|
};
|
|
7101
7333
|
|
|
7102
|
-
function ownKeys$
|
|
7334
|
+
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
7103
7335
|
|
|
7104
|
-
function _objectSpread$
|
|
7336
|
+
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$4(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7105
7337
|
|
|
7106
|
-
function _createSuper$
|
|
7338
|
+
function _createSuper$g(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$g(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7107
7339
|
|
|
7108
|
-
function _isNativeReflectConstruct$
|
|
7340
|
+
function _isNativeReflectConstruct$g() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7109
7341
|
|
|
7110
7342
|
var OverlayPageBottomButtons = /*#__PURE__*/function (_Component) {
|
|
7111
7343
|
_inherits(OverlayPageBottomButtons, _Component);
|
|
7112
7344
|
|
|
7113
|
-
var _super = _createSuper$
|
|
7345
|
+
var _super = _createSuper$g(OverlayPageBottomButtons);
|
|
7114
7346
|
|
|
7115
7347
|
function OverlayPageBottomButtons(props) {
|
|
7116
7348
|
var _this;
|
|
@@ -7140,7 +7372,7 @@ var OverlayPageBottomButtons = /*#__PURE__*/function (_Component) {
|
|
|
7140
7372
|
value: function render() {
|
|
7141
7373
|
return /*#__PURE__*/React.createElement("div", {
|
|
7142
7374
|
className: "animateOpacity",
|
|
7143
|
-
style: _objectSpread$
|
|
7375
|
+
style: _objectSpread$4(_objectSpread$4({}, styles$2.wrapper), {}, {
|
|
7144
7376
|
opacity: this.state.opacity
|
|
7145
7377
|
}, this.props.style)
|
|
7146
7378
|
}, this.props.children);
|
|
@@ -7164,14 +7396,14 @@ var styles$2 = {
|
|
|
7164
7396
|
}
|
|
7165
7397
|
};
|
|
7166
7398
|
|
|
7167
|
-
function _createSuper$
|
|
7399
|
+
function _createSuper$f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$f(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7168
7400
|
|
|
7169
|
-
function _isNativeReflectConstruct$
|
|
7401
|
+
function _isNativeReflectConstruct$f() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7170
7402
|
|
|
7171
7403
|
var PageTitle = /*#__PURE__*/function (_Component) {
|
|
7172
7404
|
_inherits(PageTitle, _Component);
|
|
7173
7405
|
|
|
7174
|
-
var _super = _createSuper$
|
|
7406
|
+
var _super = _createSuper$f(PageTitle);
|
|
7175
7407
|
|
|
7176
7408
|
function PageTitle() {
|
|
7177
7409
|
_classCallCheck(this, PageTitle);
|
|
@@ -7191,118 +7423,18 @@ var PageTitle = /*#__PURE__*/function (_Component) {
|
|
|
7191
7423
|
return PageTitle;
|
|
7192
7424
|
}(Component);
|
|
7193
7425
|
|
|
7194
|
-
function _createSuper$f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$f(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7195
|
-
|
|
7196
|
-
function _isNativeReflectConstruct$f() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7197
|
-
|
|
7198
|
-
var Text = /*#__PURE__*/function (_Component) {
|
|
7199
|
-
_inherits(Text, _Component);
|
|
7200
|
-
|
|
7201
|
-
var _super = _createSuper$f(Text);
|
|
7202
|
-
|
|
7203
|
-
function Text() {
|
|
7204
|
-
_classCallCheck(this, Text);
|
|
7205
|
-
|
|
7206
|
-
return _super.apply(this, arguments);
|
|
7207
|
-
}
|
|
7208
|
-
|
|
7209
|
-
_createClass(Text, [{
|
|
7210
|
-
key: "getClassName",
|
|
7211
|
-
value: function getClassName() {
|
|
7212
|
-
if (this.props.className) {
|
|
7213
|
-
return " ".concat(this.props.className);
|
|
7214
|
-
}
|
|
7215
|
-
|
|
7216
|
-
return '';
|
|
7217
|
-
}
|
|
7218
|
-
}, {
|
|
7219
|
-
key: "render",
|
|
7220
|
-
value: function render() {
|
|
7221
|
-
return /*#__PURE__*/React.createElement("p", {
|
|
7222
|
-
className: "text-".concat(this.props.type).concat(this.getClassName()),
|
|
7223
|
-
style: this.props.style
|
|
7224
|
-
}, this.props.children);
|
|
7225
|
-
}
|
|
7226
|
-
}]);
|
|
7227
|
-
|
|
7228
|
-
return Text;
|
|
7229
|
-
}(Component);
|
|
7230
|
-
|
|
7231
|
-
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
7232
|
-
|
|
7233
|
-
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$4(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7234
|
-
|
|
7235
|
-
function _createSuper$e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$e(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7236
|
-
|
|
7237
|
-
function _isNativeReflectConstruct$e() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7238
|
-
|
|
7239
|
-
var ProfilePicComponent = /*#__PURE__*/function (_Component) {
|
|
7240
|
-
_inherits(ProfilePicComponent, _Component);
|
|
7241
|
-
|
|
7242
|
-
var _super = _createSuper$e(ProfilePicComponent);
|
|
7243
|
-
|
|
7244
|
-
function ProfilePicComponent() {
|
|
7245
|
-
_classCallCheck(this, ProfilePicComponent);
|
|
7246
|
-
|
|
7247
|
-
return _super.apply(this, arguments);
|
|
7248
|
-
}
|
|
7249
|
-
|
|
7250
|
-
_createClass(ProfilePicComponent, [{
|
|
7251
|
-
key: "renderPic",
|
|
7252
|
-
value: function renderPic() {
|
|
7253
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7254
|
-
className: this.props.className,
|
|
7255
|
-
style: _objectSpread$4({
|
|
7256
|
-
width: this.props.size || 30,
|
|
7257
|
-
height: this.props.size || 30,
|
|
7258
|
-
borderRadius: this.props.size / 2 || 15,
|
|
7259
|
-
backgroundColor: this.props.colourBrandingApp,
|
|
7260
|
-
backgroundSize: 'cover',
|
|
7261
|
-
backgroundPosition: 'center',
|
|
7262
|
-
backgroundImage: "url(".concat(!_.isEmpty(this.props.image) ? this.props.image : CoreConfig.env.defaultProfileImage, ")")
|
|
7263
|
-
}, this.props.style),
|
|
7264
|
-
alt: "Profile Pic"
|
|
7265
|
-
});
|
|
7266
|
-
}
|
|
7267
|
-
}, {
|
|
7268
|
-
key: "render",
|
|
7269
|
-
value: function render() {
|
|
7270
|
-
if (this.props.hoverText) {
|
|
7271
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
7272
|
-
className: "profilePicHover ".concat(this.props.containerClass)
|
|
7273
|
-
}, this.renderPic(), /*#__PURE__*/React.createElement(Text, {
|
|
7274
|
-
type: "h5",
|
|
7275
|
-
className: "profilePicHover_text"
|
|
7276
|
-
}, this.props.hoverText));
|
|
7277
|
-
}
|
|
7278
|
-
|
|
7279
|
-
return this.renderPic();
|
|
7280
|
-
}
|
|
7281
|
-
}]);
|
|
7282
|
-
|
|
7283
|
-
return ProfilePicComponent;
|
|
7284
|
-
}(Component);
|
|
7285
|
-
|
|
7286
|
-
var mapStateToProps$2 = function mapStateToProps(state) {
|
|
7287
|
-
return {
|
|
7288
|
-
colourBrandingApp: getAppColourFromState(state)
|
|
7289
|
-
};
|
|
7290
|
-
};
|
|
7291
|
-
|
|
7292
|
-
var ProfilePic = connect(mapStateToProps$2, {})(ProfilePicComponent);
|
|
7293
|
-
|
|
7294
7426
|
function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
7295
7427
|
|
|
7296
7428
|
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$3(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
7297
7429
|
|
|
7298
|
-
function _createSuper$
|
|
7430
|
+
function _createSuper$e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$e(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7299
7431
|
|
|
7300
|
-
function _isNativeReflectConstruct$
|
|
7432
|
+
function _isNativeReflectConstruct$e() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7301
7433
|
|
|
7302
7434
|
var RadioButton = /*#__PURE__*/function (_Component) {
|
|
7303
7435
|
_inherits(RadioButton, _Component);
|
|
7304
7436
|
|
|
7305
|
-
var _super = _createSuper$
|
|
7437
|
+
var _super = _createSuper$e(RadioButton);
|
|
7306
7438
|
|
|
7307
7439
|
function RadioButton() {
|
|
7308
7440
|
_classCallCheck(this, RadioButton);
|
|
@@ -7460,14 +7592,14 @@ var styles$1 = {
|
|
|
7460
7592
|
}
|
|
7461
7593
|
};
|
|
7462
7594
|
|
|
7463
|
-
function _createSuper$
|
|
7595
|
+
function _createSuper$d(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$d(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7464
7596
|
|
|
7465
|
-
function _isNativeReflectConstruct$
|
|
7597
|
+
function _isNativeReflectConstruct$d() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7466
7598
|
|
|
7467
7599
|
var Tag = /*#__PURE__*/function (_Component) {
|
|
7468
7600
|
_inherits(Tag, _Component);
|
|
7469
7601
|
|
|
7470
|
-
var _super = _createSuper$
|
|
7602
|
+
var _super = _createSuper$d(Tag);
|
|
7471
7603
|
|
|
7472
7604
|
function Tag() {
|
|
7473
7605
|
_classCallCheck(this, Tag);
|
|
@@ -7532,14 +7664,14 @@ var Tag = /*#__PURE__*/function (_Component) {
|
|
|
7532
7664
|
return Tag;
|
|
7533
7665
|
}(Component);
|
|
7534
7666
|
|
|
7535
|
-
function _createSuper$
|
|
7667
|
+
function _createSuper$c(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$c(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7536
7668
|
|
|
7537
|
-
function _isNativeReflectConstruct$
|
|
7669
|
+
function _isNativeReflectConstruct$c() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7538
7670
|
|
|
7539
7671
|
var StatusButton = /*#__PURE__*/function (_Component) {
|
|
7540
7672
|
_inherits(StatusButton, _Component);
|
|
7541
7673
|
|
|
7542
|
-
var _super = _createSuper$
|
|
7674
|
+
var _super = _createSuper$c(StatusButton);
|
|
7543
7675
|
|
|
7544
7676
|
function StatusButton() {
|
|
7545
7677
|
_classCallCheck(this, StatusButton);
|
|
@@ -7575,14 +7707,14 @@ var StatusButton = /*#__PURE__*/function (_Component) {
|
|
|
7575
7707
|
return StatusButton;
|
|
7576
7708
|
}(Component);
|
|
7577
7709
|
|
|
7578
|
-
function _createSuper$
|
|
7710
|
+
function _createSuper$b(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$b(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7579
7711
|
|
|
7580
|
-
function _isNativeReflectConstruct$
|
|
7712
|
+
function _isNativeReflectConstruct$b() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7581
7713
|
|
|
7582
7714
|
var SuccessPopup = /*#__PURE__*/function (_Component) {
|
|
7583
7715
|
_inherits(SuccessPopup, _Component);
|
|
7584
7716
|
|
|
7585
|
-
var _super = _createSuper$
|
|
7717
|
+
var _super = _createSuper$b(SuccessPopup);
|
|
7586
7718
|
|
|
7587
7719
|
function SuccessPopup() {
|
|
7588
7720
|
_classCallCheck(this, SuccessPopup);
|
|
@@ -7651,9 +7783,9 @@ var SuccessPopup = /*#__PURE__*/function (_Component) {
|
|
|
7651
7783
|
return SuccessPopup;
|
|
7652
7784
|
}(Component);
|
|
7653
7785
|
|
|
7654
|
-
function _createSuper$
|
|
7786
|
+
function _createSuper$a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$a(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7655
7787
|
|
|
7656
|
-
function _isNativeReflectConstruct$
|
|
7788
|
+
function _isNativeReflectConstruct$a() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7657
7789
|
|
|
7658
7790
|
var getReactions = function getReactions() {
|
|
7659
7791
|
return [{
|
|
@@ -7674,7 +7806,7 @@ var getReactions = function getReactions() {
|
|
|
7674
7806
|
var Reactions = /*#__PURE__*/function (_Component) {
|
|
7675
7807
|
_inherits(Reactions, _Component);
|
|
7676
7808
|
|
|
7677
|
-
var _super = _createSuper$
|
|
7809
|
+
var _super = _createSuper$a(Reactions);
|
|
7678
7810
|
|
|
7679
7811
|
function Reactions() {
|
|
7680
7812
|
var _this;
|
|
@@ -7760,14 +7892,14 @@ var Reactions = /*#__PURE__*/function (_Component) {
|
|
|
7760
7892
|
return Reactions;
|
|
7761
7893
|
}(Component);
|
|
7762
7894
|
|
|
7763
|
-
function _createSuper$
|
|
7895
|
+
function _createSuper$9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$9(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7764
7896
|
|
|
7765
|
-
function _isNativeReflectConstruct$
|
|
7897
|
+
function _isNativeReflectConstruct$9() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7766
7898
|
|
|
7767
7899
|
var AnalyticsFilter = /*#__PURE__*/function (_PureComponent) {
|
|
7768
7900
|
_inherits(AnalyticsFilter, _PureComponent);
|
|
7769
7901
|
|
|
7770
|
-
var _super = _createSuper$
|
|
7902
|
+
var _super = _createSuper$9(AnalyticsFilter);
|
|
7771
7903
|
|
|
7772
7904
|
function AnalyticsFilter(props) {
|
|
7773
7905
|
var _this;
|
|
@@ -7884,14 +8016,14 @@ var AnalyticsFilter = /*#__PURE__*/function (_PureComponent) {
|
|
|
7884
8016
|
return AnalyticsFilter;
|
|
7885
8017
|
}(PureComponent);
|
|
7886
8018
|
|
|
7887
|
-
function _createSuper$
|
|
8019
|
+
function _createSuper$8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$8(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7888
8020
|
|
|
7889
|
-
function _isNativeReflectConstruct$
|
|
8021
|
+
function _isNativeReflectConstruct$8() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7890
8022
|
|
|
7891
8023
|
var UserListing = /*#__PURE__*/function (_Component) {
|
|
7892
8024
|
_inherits(UserListing, _Component);
|
|
7893
8025
|
|
|
7894
|
-
var _super = _createSuper$
|
|
8026
|
+
var _super = _createSuper$8(UserListing);
|
|
7895
8027
|
|
|
7896
8028
|
function UserListing() {
|
|
7897
8029
|
_classCallCheck(this, UserListing);
|
|
@@ -7958,14 +8090,14 @@ var UserListing = /*#__PURE__*/function (_Component) {
|
|
|
7958
8090
|
return UserListing;
|
|
7959
8091
|
}(Component);
|
|
7960
8092
|
|
|
7961
|
-
function _createSuper$
|
|
8093
|
+
function _createSuper$7(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$7(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7962
8094
|
|
|
7963
|
-
function _isNativeReflectConstruct$
|
|
8095
|
+
function _isNativeReflectConstruct$7() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
7964
8096
|
|
|
7965
8097
|
var TimePicker = /*#__PURE__*/function (_Component) {
|
|
7966
8098
|
_inherits(TimePicker, _Component);
|
|
7967
8099
|
|
|
7968
|
-
var _super = _createSuper$
|
|
8100
|
+
var _super = _createSuper$7(TimePicker);
|
|
7969
8101
|
|
|
7970
8102
|
function TimePicker() {
|
|
7971
8103
|
var _this;
|
|
@@ -8202,14 +8334,14 @@ var TimePicker = /*#__PURE__*/function (_Component) {
|
|
|
8202
8334
|
return TimePicker;
|
|
8203
8335
|
}(Component);
|
|
8204
8336
|
|
|
8205
|
-
function _createSuper$
|
|
8337
|
+
function _createSuper$6(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$6(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8206
8338
|
|
|
8207
|
-
function _isNativeReflectConstruct$
|
|
8339
|
+
function _isNativeReflectConstruct$6() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
8208
8340
|
|
|
8209
8341
|
var AudienceIncluder = /*#__PURE__*/function (_Component) {
|
|
8210
8342
|
_inherits(AudienceIncluder, _Component);
|
|
8211
8343
|
|
|
8212
|
-
var _super = _createSuper$
|
|
8344
|
+
var _super = _createSuper$6(AudienceIncluder);
|
|
8213
8345
|
|
|
8214
8346
|
function AudienceIncluder(props) {
|
|
8215
8347
|
var _this;
|
|
@@ -8424,14 +8556,14 @@ function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
8424
8556
|
|
|
8425
8557
|
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$2(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8426
8558
|
|
|
8427
|
-
function _createSuper$
|
|
8559
|
+
function _createSuper$5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$5(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8428
8560
|
|
|
8429
|
-
function _isNativeReflectConstruct$
|
|
8561
|
+
function _isNativeReflectConstruct$5() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
8430
8562
|
|
|
8431
8563
|
var DropdownInput = /*#__PURE__*/function (_Component) {
|
|
8432
8564
|
_inherits(DropdownInput, _Component);
|
|
8433
8565
|
|
|
8434
|
-
var _super = _createSuper$
|
|
8566
|
+
var _super = _createSuper$5(DropdownInput);
|
|
8435
8567
|
|
|
8436
8568
|
function DropdownInput(props) {
|
|
8437
8569
|
var _this;
|
|
@@ -8685,14 +8817,14 @@ function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if
|
|
|
8685
8817
|
|
|
8686
8818
|
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8687
8819
|
|
|
8688
|
-
function _createSuper$
|
|
8820
|
+
function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8689
8821
|
|
|
8690
|
-
function _isNativeReflectConstruct$
|
|
8822
|
+
function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
8691
8823
|
|
|
8692
8824
|
var AudienceSelector = /*#__PURE__*/function (_Component) {
|
|
8693
8825
|
_inherits(AudienceSelector, _Component);
|
|
8694
8826
|
|
|
8695
|
-
var _super = _createSuper$
|
|
8827
|
+
var _super = _createSuper$4(AudienceSelector);
|
|
8696
8828
|
|
|
8697
8829
|
function AudienceSelector() {
|
|
8698
8830
|
var _this;
|
|
@@ -9340,10 +9472,11 @@ var AudienceSelector = /*#__PURE__*/function (_Component) {
|
|
|
9340
9472
|
var _this18 = this;
|
|
9341
9473
|
|
|
9342
9474
|
var AudienceTagList = this.state.AudienceTagList;
|
|
9475
|
+
var maxWidth = this.props.maxWidth;
|
|
9343
9476
|
return /*#__PURE__*/React.createElement("div", {
|
|
9344
9477
|
className: "selectedAudienceTags",
|
|
9345
9478
|
style: {
|
|
9346
|
-
maxWidth:
|
|
9479
|
+
maxWidth: maxWidth
|
|
9347
9480
|
}
|
|
9348
9481
|
}, _.isEmpty(AudienceTagList) && /*#__PURE__*/React.createElement(Text, {
|
|
9349
9482
|
type: "body",
|
|
@@ -9365,11 +9498,12 @@ var AudienceSelector = /*#__PURE__*/function (_Component) {
|
|
|
9365
9498
|
value: function renderAvailableAudiences() {
|
|
9366
9499
|
var _this19 = this;
|
|
9367
9500
|
|
|
9501
|
+
var maxWidth = this.props.maxWidth;
|
|
9368
9502
|
var tags = this.getAvailableAudienceTags();
|
|
9369
9503
|
return /*#__PURE__*/React.createElement("div", {
|
|
9370
9504
|
className: "availableAudienceTags",
|
|
9371
9505
|
style: {
|
|
9372
|
-
maxWidth:
|
|
9506
|
+
maxWidth: maxWidth
|
|
9373
9507
|
}
|
|
9374
9508
|
}, tags.map(function (t) {
|
|
9375
9509
|
return /*#__PURE__*/React.createElement(Tag, {
|
|
@@ -9485,14 +9619,14 @@ var toExport = connect(null, {
|
|
|
9485
9619
|
withRef: true
|
|
9486
9620
|
})(AudienceSelector);
|
|
9487
9621
|
|
|
9488
|
-
function _createSuper$
|
|
9622
|
+
function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9489
9623
|
|
|
9490
|
-
function _isNativeReflectConstruct$
|
|
9624
|
+
function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
9491
9625
|
|
|
9492
9626
|
var TextFormatPopup = /*#__PURE__*/function (_Component) {
|
|
9493
9627
|
_inherits(TextFormatPopup, _Component);
|
|
9494
9628
|
|
|
9495
|
-
var _super = _createSuper$
|
|
9629
|
+
var _super = _createSuper$3(TextFormatPopup);
|
|
9496
9630
|
|
|
9497
9631
|
function TextFormatPopup() {
|
|
9498
9632
|
_classCallCheck(this, TextFormatPopup);
|
|
@@ -9598,14 +9732,14 @@ var TextFormatPopup = /*#__PURE__*/function (_Component) {
|
|
|
9598
9732
|
return TextFormatPopup;
|
|
9599
9733
|
}(Component);
|
|
9600
9734
|
|
|
9601
|
-
function _createSuper$
|
|
9735
|
+
function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9602
9736
|
|
|
9603
|
-
function _isNativeReflectConstruct$
|
|
9737
|
+
function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
9604
9738
|
|
|
9605
9739
|
var OptionsSection = /*#__PURE__*/function (_Component) {
|
|
9606
9740
|
_inherits(OptionsSection, _Component);
|
|
9607
9741
|
|
|
9608
|
-
var _super = _createSuper$
|
|
9742
|
+
var _super = _createSuper$2(OptionsSection);
|
|
9609
9743
|
|
|
9610
9744
|
function OptionsSection() {
|
|
9611
9745
|
_classCallCheck(this, OptionsSection);
|
|
@@ -9687,14 +9821,14 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
9687
9821
|
|
|
9688
9822
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
9689
9823
|
|
|
9690
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9824
|
+
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9691
9825
|
|
|
9692
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
9826
|
+
function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
9693
9827
|
|
|
9694
9828
|
var MakerPopup = /*#__PURE__*/function (_Component) {
|
|
9695
9829
|
_inherits(MakerPopup, _Component);
|
|
9696
9830
|
|
|
9697
|
-
var _super = _createSuper(MakerPopup);
|
|
9831
|
+
var _super = _createSuper$1(MakerPopup);
|
|
9698
9832
|
|
|
9699
9833
|
function MakerPopup(props) {
|
|
9700
9834
|
var _this;
|
|
@@ -10010,12 +10144,168 @@ var mapStateToProps = function mapStateToProps(state) {
|
|
|
10010
10144
|
|
|
10011
10145
|
var exportObj = connect(mapStateToProps, {})(MakerPopup);
|
|
10012
10146
|
|
|
10147
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
10148
|
+
|
|
10149
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
10150
|
+
|
|
10151
|
+
var ExportCsvPopup = /*#__PURE__*/function (_Component) {
|
|
10152
|
+
_inherits(ExportCsvPopup, _Component);
|
|
10153
|
+
|
|
10154
|
+
var _super = _createSuper(ExportCsvPopup);
|
|
10155
|
+
|
|
10156
|
+
function ExportCsvPopup(props) {
|
|
10157
|
+
var _this;
|
|
10158
|
+
|
|
10159
|
+
_classCallCheck(this, ExportCsvPopup);
|
|
10160
|
+
|
|
10161
|
+
_this = _super.call(this, props);
|
|
10162
|
+
|
|
10163
|
+
_defineProperty(_assertThisInitialized(_this), "canSave", function () {
|
|
10164
|
+
return _.some(_this.state.columns, function (c) {
|
|
10165
|
+
return c.selected;
|
|
10166
|
+
});
|
|
10167
|
+
});
|
|
10168
|
+
|
|
10169
|
+
_defineProperty(_assertThisInitialized(_this), "onConfirm", function () {
|
|
10170
|
+
return _this.canSave();
|
|
10171
|
+
});
|
|
10172
|
+
|
|
10173
|
+
_defineProperty(_assertThisInitialized(_this), "onClose", function () {
|
|
10174
|
+
if (_this.props.onClose) _this.props.onClose();
|
|
10175
|
+
});
|
|
10176
|
+
|
|
10177
|
+
_defineProperty(_assertThisInitialized(_this), "onToggleColumn", function (key) {
|
|
10178
|
+
var source = _this.props.source;
|
|
10179
|
+
|
|
10180
|
+
var columns = _.cloneDeep(_this.state.columns);
|
|
10181
|
+
|
|
10182
|
+
var column = columns.find(function (c) {
|
|
10183
|
+
return c.key === key;
|
|
10184
|
+
});
|
|
10185
|
+
|
|
10186
|
+
if (column) {
|
|
10187
|
+
column.selected = !column.selected;
|
|
10188
|
+
if (!column.key) columns.map(function (c) {
|
|
10189
|
+
return c.selected = column.selected;
|
|
10190
|
+
}); // Toggle all
|
|
10191
|
+
|
|
10192
|
+
var selectedHeaders = columns.filter(function (c) {
|
|
10193
|
+
return c.key && c.selected;
|
|
10194
|
+
});
|
|
10195
|
+
var selectedheaderKeys = selectedHeaders.map(function (h) {
|
|
10196
|
+
return h.key;
|
|
10197
|
+
});
|
|
10198
|
+
var selectedSource = source.map(function (i) {
|
|
10199
|
+
return _.pick(i, selectedheaderKeys);
|
|
10200
|
+
});
|
|
10201
|
+
|
|
10202
|
+
_this.setState({
|
|
10203
|
+
columns: columns,
|
|
10204
|
+
selectedHeaders: selectedHeaders,
|
|
10205
|
+
selectedSource: selectedSource
|
|
10206
|
+
});
|
|
10207
|
+
}
|
|
10208
|
+
});
|
|
10209
|
+
|
|
10210
|
+
_defineProperty(_assertThisInitialized(_this), "renderContent", function () {
|
|
10211
|
+
var _this$state = _this.state,
|
|
10212
|
+
saving = _this$state.saving,
|
|
10213
|
+
columns = _this$state.columns;
|
|
10214
|
+
|
|
10215
|
+
if (saving) {
|
|
10216
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10217
|
+
className: "marginTop-32",
|
|
10218
|
+
style: {
|
|
10219
|
+
maxWidth: 500,
|
|
10220
|
+
textAlign: 'center'
|
|
10221
|
+
}
|
|
10222
|
+
}, /*#__PURE__*/React.createElement(FontAwesome, {
|
|
10223
|
+
style: {
|
|
10224
|
+
fontSize: 30
|
|
10225
|
+
},
|
|
10226
|
+
name: "spinner fa-pulse fa-fw"
|
|
10227
|
+
}));
|
|
10228
|
+
}
|
|
10229
|
+
|
|
10230
|
+
if (!columns) return null;
|
|
10231
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
10232
|
+
className: "marginTop-16"
|
|
10233
|
+
}, columns.map(function (c) {
|
|
10234
|
+
return /*#__PURE__*/React.createElement(CheckBox, {
|
|
10235
|
+
key: c.key,
|
|
10236
|
+
label: c.label,
|
|
10237
|
+
isActive: c.selected,
|
|
10238
|
+
onChange: function onChange() {
|
|
10239
|
+
return _this.onToggleColumn(c.key);
|
|
10240
|
+
},
|
|
10241
|
+
style: {
|
|
10242
|
+
marginBottom: 8
|
|
10243
|
+
}
|
|
10244
|
+
});
|
|
10245
|
+
}));
|
|
10246
|
+
});
|
|
10247
|
+
|
|
10248
|
+
_this.state = {
|
|
10249
|
+
columns: props.columns,
|
|
10250
|
+
selectedSource: [],
|
|
10251
|
+
saving: false
|
|
10252
|
+
};
|
|
10253
|
+
return _this;
|
|
10254
|
+
}
|
|
10255
|
+
|
|
10256
|
+
_createClass(ExportCsvPopup, [{
|
|
10257
|
+
key: "render",
|
|
10258
|
+
value: function render() {
|
|
10259
|
+
var _this$state2 = this.state,
|
|
10260
|
+
selectedHeaders = _this$state2.selectedHeaders,
|
|
10261
|
+
selectedSource = _this$state2.selectedSource;
|
|
10262
|
+
var filename = this.props.filename;
|
|
10263
|
+
var buttons = [{
|
|
10264
|
+
type: 'primary',
|
|
10265
|
+
isActive: this.canSave(),
|
|
10266
|
+
text: /*#__PURE__*/React.createElement(CSVLink, {
|
|
10267
|
+
headers: selectedHeaders,
|
|
10268
|
+
data: selectedSource,
|
|
10269
|
+
style: {
|
|
10270
|
+
textDecoration: 'none',
|
|
10271
|
+
color: '#fff'
|
|
10272
|
+
},
|
|
10273
|
+
filename: filename || 'export.csv',
|
|
10274
|
+
onClick: this.onConfirm
|
|
10275
|
+
}, "Confirm")
|
|
10276
|
+
}, {
|
|
10277
|
+
type: 'tertiary',
|
|
10278
|
+
onClick: this.onClose,
|
|
10279
|
+
isActive: true,
|
|
10280
|
+
text: 'Close'
|
|
10281
|
+
}];
|
|
10282
|
+
return /*#__PURE__*/React.createElement(Popup, {
|
|
10283
|
+
title: "Confirm Export",
|
|
10284
|
+
subtitle: "Select which columns to include in the export",
|
|
10285
|
+
boxClasses: "flex flex-column",
|
|
10286
|
+
innerClasses: "flex flex-column fillSpace flex-1",
|
|
10287
|
+
minWidth: 500,
|
|
10288
|
+
maxWidth: 500,
|
|
10289
|
+
minHeight: '50vh',
|
|
10290
|
+
maxHeight: '100vh',
|
|
10291
|
+
hasPadding: true,
|
|
10292
|
+
onClose: this.onClose,
|
|
10293
|
+
buttons: buttons
|
|
10294
|
+
}, this.renderContent());
|
|
10295
|
+
}
|
|
10296
|
+
}]);
|
|
10297
|
+
|
|
10298
|
+
return ExportCsvPopup;
|
|
10299
|
+
}(Component);
|
|
10300
|
+
|
|
10013
10301
|
var index = /*#__PURE__*/Object.freeze({
|
|
10014
10302
|
__proto__: null,
|
|
10015
10303
|
AddButton: AddButton,
|
|
10016
10304
|
Attachment: Attachment,
|
|
10017
10305
|
Button: Button,
|
|
10018
10306
|
CheckBox: CheckBox,
|
|
10307
|
+
Comment: Comment,
|
|
10308
|
+
CommentSection: CommentSection,
|
|
10019
10309
|
DatePicker: DatePicker,
|
|
10020
10310
|
FileInput: FileInput,
|
|
10021
10311
|
GenericInput: GenericInput,
|
|
@@ -10044,7 +10334,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
10044
10334
|
TextFormatPopup: TextFormatPopup,
|
|
10045
10335
|
OptionsSection: OptionsSection,
|
|
10046
10336
|
DropdownInput: DropdownInput,
|
|
10047
|
-
MakerPopup: exportObj
|
|
10337
|
+
MakerPopup: exportObj,
|
|
10338
|
+
ExportCsvPopup: ExportCsvPopup
|
|
10048
10339
|
});
|
|
10049
10340
|
|
|
10050
10341
|
export { index$1 as Actions, analytics as Analytics, index$2 as Apis, colours as Colours, index as Components, CoreConfig as Config, index$3 as Helper, session as Session };
|