@plusscommunities/pluss-core-web 1.2.2 → 1.2.6

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.umd.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('lodash'), require('axios'), require('aws-amplify'), require('@babel/runtime/helpers/defineProperty'), require('react'), require('moment'), require('jquery'), require('js-cookie'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('react-fontawesome'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/assertThisInitialized'), require('react-redux'), require('react-dropzone'), require('react-textarea-autosize'), require('react-router'), require('react-bootstrap'), require('@crello/react-lottie')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', 'lodash', 'axios', 'aws-amplify', '@babel/runtime/helpers/defineProperty', 'react', 'moment', 'jquery', 'js-cookie', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', 'react-fontawesome', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/assertThisInitialized', 'react-redux', 'react-dropzone', 'react-textarea-autosize', 'react-router', 'react-bootstrap', '@crello/react-lottie'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@plusscommunities/pluss-core-web'] = {}, global._toConsumableArray, global._asyncToGenerator, global._regeneratorRuntime, global._, global.axios, global.awsAmplify, global._defineProperty, global.React, global.moment, global.$, global.Cookies, global._classCallCheck, global._createClass, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global.FontAwesome, global._extends, global._assertThisInitialized, global.reactRedux, global.Dropzone, global.Textarea, global.reactRouter, global.reactBootstrap, global.reactLottie));
5
- }(this, (function (exports, _toConsumableArray, _asyncToGenerator, _regeneratorRuntime, _, axios, awsAmplify, _defineProperty, React, moment, $, Cookies, _classCallCheck, _createClass, _inherits, _possibleConstructorReturn, _getPrototypeOf, FontAwesome, _extends, _assertThisInitialized, reactRedux, Dropzone, Textarea, reactRouter, reactBootstrap, reactLottie) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('lodash'), require('axios'), require('aws-amplify'), require('@babel/runtime/helpers/defineProperty'), require('react'), require('moment'), require('jquery'), require('js-cookie'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('react-fontawesome'), require('@babel/runtime/helpers/extends'), require('@babel/runtime/helpers/assertThisInitialized'), require('react-redux'), require('react-dropzone'), require('react-textarea-autosize'), require('react-router'), require('react-bootstrap'), require('@crello/react-lottie'), require('react-csv')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', 'lodash', 'axios', 'aws-amplify', '@babel/runtime/helpers/defineProperty', 'react', 'moment', 'jquery', 'js-cookie', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', 'react-fontawesome', '@babel/runtime/helpers/extends', '@babel/runtime/helpers/assertThisInitialized', 'react-redux', 'react-dropzone', 'react-textarea-autosize', 'react-router', 'react-bootstrap', '@crello/react-lottie', 'react-csv'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@plusscommunities/pluss-core-web'] = {}, global._toConsumableArray, global._asyncToGenerator, global._regeneratorRuntime, global._, global.axios, global.awsAmplify, global._defineProperty, global.React, global.moment, global.$, global.Cookies, global._classCallCheck, global._createClass, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global.FontAwesome, global._extends, global._assertThisInitialized, global.reactRedux, global.Dropzone, global.Textarea, global.reactRouter, global.reactBootstrap, global.reactLottie, global.reactCsv));
5
+ }(this, (function (exports, _toConsumableArray, _asyncToGenerator, _regeneratorRuntime, _, axios, awsAmplify, _defineProperty, React, moment, $, Cookies, _classCallCheck, _createClass, _inherits, _possibleConstructorReturn, _getPrototypeOf, FontAwesome, _extends, _assertThisInitialized, reactRedux, Dropzone, Textarea, reactRouter, reactBootstrap, reactLottie, reactCsv) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -2986,14 +2986,14 @@
2986
2986
  setNavData: setNavData
2987
2987
  });
2988
2988
 
2989
- function _createSuper$x(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$x(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
2989
+ function _createSuper$y(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$y(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
2990
2990
 
2991
- 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; } }
2991
+ 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; } }
2992
2992
 
2993
2993
  var AddButton = /*#__PURE__*/function (_Component) {
2994
2994
  _inherits__default['default'](AddButton, _Component);
2995
2995
 
2996
- var _super = _createSuper$x(AddButton);
2996
+ var _super = _createSuper$y(AddButton);
2997
2997
 
2998
2998
  function AddButton() {
2999
2999
  _classCallCheck__default['default'](this, AddButton);
@@ -3970,14 +3970,14 @@
3970
3970
  template_sportingClub: template_sportingClub
3971
3971
  };
3972
3972
 
3973
- function _createSuper$w(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$w(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
3973
+ function _createSuper$x(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$x(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
3974
3974
 
3975
- 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; } }
3975
+ 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; } }
3976
3976
 
3977
3977
  var SVGIcon = /*#__PURE__*/function (_Component) {
3978
3978
  _inherits__default['default'](SVGIcon, _Component);
3979
3979
 
3980
- var _super = _createSuper$w(SVGIcon);
3980
+ var _super = _createSuper$x(SVGIcon);
3981
3981
 
3982
3982
  function SVGIcon() {
3983
3983
  _classCallCheck__default['default'](this, SVGIcon);
@@ -4025,14 +4025,14 @@
4025
4025
  return SVGIcon;
4026
4026
  }(React.Component);
4027
4027
 
4028
- function _createSuper$v(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$v(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4028
+ function _createSuper$w(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$w(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4029
4029
 
4030
- 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; } }
4030
+ 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; } }
4031
4031
 
4032
4032
  var Attachment = /*#__PURE__*/function (_Component) {
4033
4033
  _inherits__default['default'](Attachment, _Component);
4034
4034
 
4035
- var _super = _createSuper$v(Attachment);
4035
+ var _super = _createSuper$w(Attachment);
4036
4036
 
4037
4037
  function Attachment() {
4038
4038
  _classCallCheck__default['default'](this, Attachment);
@@ -4070,14 +4070,14 @@
4070
4070
 
4071
4071
  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__default['default'](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; }
4072
4072
 
4073
- function _createSuper$u(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$u(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4073
+ function _createSuper$v(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$v(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4074
4074
 
4075
- 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; } }
4075
+ 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; } }
4076
4076
 
4077
4077
  var Button = /*#__PURE__*/function (_Component) {
4078
4078
  _inherits__default['default'](Button, _Component);
4079
4079
 
4080
- var _super = _createSuper$u(Button);
4080
+ var _super = _createSuper$v(Button);
4081
4081
 
4082
4082
  function Button() {
4083
4083
  _classCallCheck__default['default'](this, Button);
@@ -4177,14 +4177,14 @@
4177
4177
 
4178
4178
  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__default['default'](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; }
4179
4179
 
4180
- function _createSuper$t(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$t(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4180
+ function _createSuper$u(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$u(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4181
4181
 
4182
- 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; } }
4182
+ 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; } }
4183
4183
 
4184
4184
  var CheckBox = /*#__PURE__*/function (_PureComponent) {
4185
4185
  _inherits__default['default'](CheckBox, _PureComponent);
4186
4186
 
4187
- var _super = _createSuper$t(CheckBox);
4187
+ var _super = _createSuper$u(CheckBox);
4188
4188
 
4189
4189
  function CheckBox() {
4190
4190
  var _this;
@@ -4290,14 +4290,14 @@
4290
4290
  }
4291
4291
  };
4292
4292
 
4293
- function _createSuper$s(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$s(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4293
+ function _createSuper$t(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$t(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4294
4294
 
4295
- 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; } }
4295
+ 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; } }
4296
4296
 
4297
4297
  var P60Icon = /*#__PURE__*/function (_Component) {
4298
4298
  _inherits__default['default'](P60Icon, _Component);
4299
4299
 
4300
- var _super = _createSuper$s(P60Icon);
4300
+ var _super = _createSuper$t(P60Icon);
4301
4301
 
4302
4302
  function P60Icon() {
4303
4303
  var _this;
@@ -4353,14 +4353,14 @@
4353
4353
  return P60Icon;
4354
4354
  }(React.Component);
4355
4355
 
4356
- function _createSuper$r(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$r(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4356
+ function _createSuper$s(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$s(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4357
4357
 
4358
- 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; } }
4358
+ 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; } }
4359
4359
 
4360
4360
  var DatePicker = /*#__PURE__*/function (_Component) {
4361
4361
  _inherits__default['default'](DatePicker, _Component);
4362
4362
 
4363
- var _super = _createSuper$r(DatePicker);
4363
+ var _super = _createSuper$s(DatePicker);
4364
4364
 
4365
4365
  function DatePicker() {
4366
4366
  var _this;
@@ -4677,9 +4677,9 @@
4677
4677
 
4678
4678
  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__default['default'](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; }
4679
4679
 
4680
- function _createSuper$q(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$q(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4680
+ function _createSuper$r(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$r(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
4681
4681
 
4682
- 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; } }
4682
+ 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; } }
4683
4683
  var DEFAULT_INPUT$1 = {
4684
4684
  uploadingFile: false,
4685
4685
  value: ''
@@ -4688,7 +4688,7 @@
4688
4688
  var FileInputComponent = /*#__PURE__*/function (_Component) {
4689
4689
  _inherits__default['default'](FileInputComponent, _Component);
4690
4690
 
4691
- var _super = _createSuper$q(FileInputComponent);
4691
+ var _super = _createSuper$r(FileInputComponent);
4692
4692
 
4693
4693
  function FileInputComponent() {
4694
4694
  var _this;
@@ -5094,14 +5094,14 @@
5094
5094
 
5095
5095
  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__default['default'](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; }
5096
5096
 
5097
- function _createSuper$p(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$p(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5097
+ function _createSuper$q(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$q(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5098
5098
 
5099
- 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; } }
5099
+ 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; } }
5100
5100
 
5101
5101
  var GenericInput = /*#__PURE__*/function (_Component) {
5102
5102
  _inherits__default['default'](GenericInput, _Component);
5103
5103
 
5104
- var _super = _createSuper$p(GenericInput);
5104
+ var _super = _createSuper$q(GenericInput);
5105
5105
 
5106
5106
  function GenericInput() {
5107
5107
  _classCallCheck__default['default'](this, GenericInput);
@@ -5299,14 +5299,14 @@
5299
5299
  }
5300
5300
  };
5301
5301
 
5302
- function _createSuper$o(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$o(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5302
+ function _createSuper$p(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$p(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5303
5303
 
5304
- 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; } }
5304
+ 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; } }
5305
5305
 
5306
5306
  var Header = /*#__PURE__*/function (_Component) {
5307
5307
  _inherits__default['default'](Header, _Component);
5308
5308
 
5309
- var _super = _createSuper$o(Header);
5309
+ var _super = _createSuper$p(Header);
5310
5310
 
5311
5311
  function Header() {
5312
5312
  var _this;
@@ -5428,14 +5428,14 @@
5428
5428
 
5429
5429
  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__default['default'](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; }
5430
5430
 
5431
- function _createSuper$n(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$n(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5431
+ function _createSuper$o(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$o(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5432
5432
 
5433
- 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; } }
5433
+ 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; } }
5434
5434
 
5435
5435
  var Popup = /*#__PURE__*/function (_Component) {
5436
5436
  _inherits__default['default'](Popup, _Component);
5437
5437
 
5438
- var _super = _createSuper$n(Popup);
5438
+ var _super = _createSuper$o(Popup);
5439
5439
 
5440
5440
  function Popup() {
5441
5441
  _classCallCheck__default['default'](this, Popup);
@@ -5549,9 +5549,9 @@
5549
5549
 
5550
5550
  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__default['default'](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; }
5551
5551
 
5552
- function _createSuper$m(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$m(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5552
+ function _createSuper$n(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$n(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
5553
5553
 
5554
- 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; } }
5554
+ 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; } }
5555
5555
  var DEFAULT_INPUT = {
5556
5556
  uploadingImage: false,
5557
5557
  value: '',
@@ -5561,7 +5561,7 @@
5561
5561
  var ImageInputComponent = /*#__PURE__*/function (_Component) {
5562
5562
  _inherits__default['default'](ImageInputComponent, _Component);
5563
5563
 
5564
- var _super = _createSuper$m(ImageInputComponent);
5564
+ var _super = _createSuper$n(ImageInputComponent);
5565
5565
 
5566
5566
  function ImageInputComponent() {
5567
5567
  var _this;
@@ -6854,14 +6854,14 @@
6854
6854
  withRef: true
6855
6855
  })(ImageInputComponent);
6856
6856
 
6857
- function _createSuper$l(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$l(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
6857
+ function _createSuper$m(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$m(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
6858
6858
 
6859
- 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; } }
6859
+ 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; } }
6860
6860
 
6861
6861
  var MoreMenu = /*#__PURE__*/function (_Component) {
6862
6862
  _inherits__default['default'](MoreMenu, _Component);
6863
6863
 
6864
- var _super = _createSuper$l(MoreMenu);
6864
+ var _super = _createSuper$m(MoreMenu);
6865
6865
 
6866
6866
  function MoreMenu() {
6867
6867
  _classCallCheck__default['default'](this, MoreMenu);
@@ -6895,14 +6895,14 @@
6895
6895
 
6896
6896
  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__default['default'](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; }
6897
6897
 
6898
- function _createSuper$k(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$k(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
6898
+ function _createSuper$l(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$l(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
6899
6899
 
6900
- 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; } }
6900
+ 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; } }
6901
6901
 
6902
6902
  var OverlayPage = /*#__PURE__*/function (_Component) {
6903
6903
  _inherits__default['default'](OverlayPage, _Component);
6904
6904
 
6905
- var _super = _createSuper$k(OverlayPage);
6905
+ var _super = _createSuper$l(OverlayPage);
6906
6906
 
6907
6907
  function OverlayPage(props) {
6908
6908
  var _this;
@@ -6988,14 +6988,14 @@
6988
6988
 
6989
6989
  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__default['default'](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; }
6990
6990
 
6991
- function _createSuper$j(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$j(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
6991
+ function _createSuper$k(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$k(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
6992
6992
 
6993
- 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; } }
6993
+ 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; } }
6994
6994
 
6995
6995
  var OverlayPageContents = /*#__PURE__*/function (_Component) {
6996
6996
  _inherits__default['default'](OverlayPageContents, _Component);
6997
6997
 
6998
- var _super = _createSuper$j(OverlayPageContents);
6998
+ var _super = _createSuper$k(OverlayPageContents);
6999
6999
 
7000
7000
  function OverlayPageContents(props) {
7001
7001
  var _this;
@@ -7054,14 +7054,14 @@
7054
7054
 
7055
7055
  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__default['default'](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; }
7056
7056
 
7057
- function _createSuper$i(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$i(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7057
+ function _createSuper$j(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$j(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7058
7058
 
7059
- 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; } }
7059
+ 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; } }
7060
7060
 
7061
7061
  var OverlayPageSection = /*#__PURE__*/function (_Component) {
7062
7062
  _inherits__default['default'](OverlayPageSection, _Component);
7063
7063
 
7064
- var _super = _createSuper$i(OverlayPageSection);
7064
+ var _super = _createSuper$j(OverlayPageSection);
7065
7065
 
7066
7066
  function OverlayPageSection() {
7067
7067
  _classCallCheck__default['default'](this, OverlayPageSection);
@@ -7106,14 +7106,14 @@
7106
7106
 
7107
7107
  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__default['default'](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; }
7108
7108
 
7109
- function _createSuper$h(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$h(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7109
+ function _createSuper$i(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$i(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7110
7110
 
7111
- 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; } }
7111
+ 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; } }
7112
7112
 
7113
7113
  var OverlayPageBottomButtons = /*#__PURE__*/function (_Component) {
7114
7114
  _inherits__default['default'](OverlayPageBottomButtons, _Component);
7115
7115
 
7116
- var _super = _createSuper$h(OverlayPageBottomButtons);
7116
+ var _super = _createSuper$i(OverlayPageBottomButtons);
7117
7117
 
7118
7118
  function OverlayPageBottomButtons(props) {
7119
7119
  var _this;
@@ -7167,14 +7167,14 @@
7167
7167
  }
7168
7168
  };
7169
7169
 
7170
- function _createSuper$g(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$g(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7170
+ function _createSuper$h(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$h(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7171
7171
 
7172
- 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; } }
7172
+ 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; } }
7173
7173
 
7174
7174
  var PageTitle = /*#__PURE__*/function (_Component) {
7175
7175
  _inherits__default['default'](PageTitle, _Component);
7176
7176
 
7177
- var _super = _createSuper$g(PageTitle);
7177
+ var _super = _createSuper$h(PageTitle);
7178
7178
 
7179
7179
  function PageTitle() {
7180
7180
  _classCallCheck__default['default'](this, PageTitle);
@@ -7194,14 +7194,14 @@
7194
7194
  return PageTitle;
7195
7195
  }(React.Component);
7196
7196
 
7197
- function _createSuper$f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$f(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7197
+ function _createSuper$g(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$g(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7198
7198
 
7199
- 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; } }
7199
+ 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; } }
7200
7200
 
7201
7201
  var Text = /*#__PURE__*/function (_Component) {
7202
7202
  _inherits__default['default'](Text, _Component);
7203
7203
 
7204
- var _super = _createSuper$f(Text);
7204
+ var _super = _createSuper$g(Text);
7205
7205
 
7206
7206
  function Text() {
7207
7207
  _classCallCheck__default['default'](this, Text);
@@ -7235,14 +7235,14 @@
7235
7235
 
7236
7236
  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__default['default'](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; }
7237
7237
 
7238
- function _createSuper$e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$e(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7238
+ function _createSuper$f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$f(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7239
7239
 
7240
- 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; } }
7240
+ 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; } }
7241
7241
 
7242
7242
  var ProfilePicComponent = /*#__PURE__*/function (_Component) {
7243
7243
  _inherits__default['default'](ProfilePicComponent, _Component);
7244
7244
 
7245
- var _super = _createSuper$e(ProfilePicComponent);
7245
+ var _super = _createSuper$f(ProfilePicComponent);
7246
7246
 
7247
7247
  function ProfilePicComponent() {
7248
7248
  _classCallCheck__default['default'](this, ProfilePicComponent);
@@ -7298,14 +7298,14 @@
7298
7298
 
7299
7299
  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__default['default'](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; }
7300
7300
 
7301
- function _createSuper$d(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$d(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7301
+ function _createSuper$e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$e(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7302
7302
 
7303
- 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; } }
7303
+ 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; } }
7304
7304
 
7305
7305
  var RadioButton = /*#__PURE__*/function (_Component) {
7306
7306
  _inherits__default['default'](RadioButton, _Component);
7307
7307
 
7308
- var _super = _createSuper$d(RadioButton);
7308
+ var _super = _createSuper$e(RadioButton);
7309
7309
 
7310
7310
  function RadioButton() {
7311
7311
  _classCallCheck__default['default'](this, RadioButton);
@@ -7463,14 +7463,14 @@
7463
7463
  }
7464
7464
  };
7465
7465
 
7466
- function _createSuper$c(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$c(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7466
+ function _createSuper$d(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$d(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7467
7467
 
7468
- 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; } }
7468
+ 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; } }
7469
7469
 
7470
7470
  var Tag = /*#__PURE__*/function (_Component) {
7471
7471
  _inherits__default['default'](Tag, _Component);
7472
7472
 
7473
- var _super = _createSuper$c(Tag);
7473
+ var _super = _createSuper$d(Tag);
7474
7474
 
7475
7475
  function Tag() {
7476
7476
  _classCallCheck__default['default'](this, Tag);
@@ -7535,14 +7535,14 @@
7535
7535
  return Tag;
7536
7536
  }(React.Component);
7537
7537
 
7538
- function _createSuper$b(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$b(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7538
+ function _createSuper$c(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$c(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7539
7539
 
7540
- 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; } }
7540
+ 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; } }
7541
7541
 
7542
7542
  var StatusButton = /*#__PURE__*/function (_Component) {
7543
7543
  _inherits__default['default'](StatusButton, _Component);
7544
7544
 
7545
- var _super = _createSuper$b(StatusButton);
7545
+ var _super = _createSuper$c(StatusButton);
7546
7546
 
7547
7547
  function StatusButton() {
7548
7548
  _classCallCheck__default['default'](this, StatusButton);
@@ -7578,14 +7578,14 @@
7578
7578
  return StatusButton;
7579
7579
  }(React.Component);
7580
7580
 
7581
- function _createSuper$a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$a(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7581
+ function _createSuper$b(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$b(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7582
7582
 
7583
- 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; } }
7583
+ 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; } }
7584
7584
 
7585
7585
  var SuccessPopup = /*#__PURE__*/function (_Component) {
7586
7586
  _inherits__default['default'](SuccessPopup, _Component);
7587
7587
 
7588
- var _super = _createSuper$a(SuccessPopup);
7588
+ var _super = _createSuper$b(SuccessPopup);
7589
7589
 
7590
7590
  function SuccessPopup() {
7591
7591
  _classCallCheck__default['default'](this, SuccessPopup);
@@ -7654,9 +7654,9 @@
7654
7654
  return SuccessPopup;
7655
7655
  }(React.Component);
7656
7656
 
7657
- function _createSuper$9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$9(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7657
+ function _createSuper$a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$a(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7658
7658
 
7659
- 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; } }
7659
+ 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; } }
7660
7660
 
7661
7661
  var getReactions = function getReactions() {
7662
7662
  return [{
@@ -7677,7 +7677,7 @@
7677
7677
  var Reactions = /*#__PURE__*/function (_Component) {
7678
7678
  _inherits__default['default'](Reactions, _Component);
7679
7679
 
7680
- var _super = _createSuper$9(Reactions);
7680
+ var _super = _createSuper$a(Reactions);
7681
7681
 
7682
7682
  function Reactions() {
7683
7683
  var _this;
@@ -7763,14 +7763,14 @@
7763
7763
  return Reactions;
7764
7764
  }(React.Component);
7765
7765
 
7766
- function _createSuper$8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$8(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7766
+ function _createSuper$9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$9(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7767
7767
 
7768
- 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; } }
7768
+ 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; } }
7769
7769
 
7770
7770
  var AnalyticsFilter = /*#__PURE__*/function (_PureComponent) {
7771
7771
  _inherits__default['default'](AnalyticsFilter, _PureComponent);
7772
7772
 
7773
- var _super = _createSuper$8(AnalyticsFilter);
7773
+ var _super = _createSuper$9(AnalyticsFilter);
7774
7774
 
7775
7775
  function AnalyticsFilter(props) {
7776
7776
  var _this;
@@ -7887,14 +7887,14 @@
7887
7887
  return AnalyticsFilter;
7888
7888
  }(React.PureComponent);
7889
7889
 
7890
- function _createSuper$7(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$7(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7890
+ function _createSuper$8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$8(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7891
7891
 
7892
- 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; } }
7892
+ 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; } }
7893
7893
 
7894
7894
  var UserListing = /*#__PURE__*/function (_Component) {
7895
7895
  _inherits__default['default'](UserListing, _Component);
7896
7896
 
7897
- var _super = _createSuper$7(UserListing);
7897
+ var _super = _createSuper$8(UserListing);
7898
7898
 
7899
7899
  function UserListing() {
7900
7900
  _classCallCheck__default['default'](this, UserListing);
@@ -7961,14 +7961,14 @@
7961
7961
  return UserListing;
7962
7962
  }(React.Component);
7963
7963
 
7964
- function _createSuper$6(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$6(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7964
+ function _createSuper$7(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$7(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
7965
7965
 
7966
- 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; } }
7966
+ 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; } }
7967
7967
 
7968
7968
  var TimePicker = /*#__PURE__*/function (_Component) {
7969
7969
  _inherits__default['default'](TimePicker, _Component);
7970
7970
 
7971
- var _super = _createSuper$6(TimePicker);
7971
+ var _super = _createSuper$7(TimePicker);
7972
7972
 
7973
7973
  function TimePicker() {
7974
7974
  var _this;
@@ -8205,14 +8205,14 @@
8205
8205
  return TimePicker;
8206
8206
  }(React.Component);
8207
8207
 
8208
- function _createSuper$5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$5(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
8208
+ function _createSuper$6(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$6(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
8209
8209
 
8210
- 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; } }
8210
+ 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; } }
8211
8211
 
8212
8212
  var AudienceIncluder = /*#__PURE__*/function (_Component) {
8213
8213
  _inherits__default['default'](AudienceIncluder, _Component);
8214
8214
 
8215
- var _super = _createSuper$5(AudienceIncluder);
8215
+ var _super = _createSuper$6(AudienceIncluder);
8216
8216
 
8217
8217
  function AudienceIncluder(props) {
8218
8218
  var _this;
@@ -8427,14 +8427,14 @@
8427
8427
 
8428
8428
  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__default['default'](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; }
8429
8429
 
8430
- function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
8430
+ function _createSuper$5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$5(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
8431
8431
 
8432
- 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; } }
8432
+ 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; } }
8433
8433
 
8434
8434
  var DropdownInput = /*#__PURE__*/function (_Component) {
8435
8435
  _inherits__default['default'](DropdownInput, _Component);
8436
8436
 
8437
- var _super = _createSuper$4(DropdownInput);
8437
+ var _super = _createSuper$5(DropdownInput);
8438
8438
 
8439
8439
  function DropdownInput(props) {
8440
8440
  var _this;
@@ -8688,51 +8688,31 @@
8688
8688
 
8689
8689
  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__default['default'](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; }
8690
8690
 
8691
- function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
8691
+ function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
8692
8692
 
8693
- 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; } }
8693
+ 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; } }
8694
8694
 
8695
8695
  var AudienceSelector = /*#__PURE__*/function (_Component) {
8696
8696
  _inherits__default['default'](AudienceSelector, _Component);
8697
8697
 
8698
- var _super = _createSuper$3(AudienceSelector);
8698
+ var _super = _createSuper$4(AudienceSelector);
8699
8699
 
8700
- function AudienceSelector() {
8700
+ function AudienceSelector(props) {
8701
8701
  var _this;
8702
8702
 
8703
8703
  _classCallCheck__default['default'](this, AudienceSelector);
8704
8704
 
8705
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8706
- args[_key] = arguments[_key];
8707
- }
8705
+ _this = _super.call(this, props);
8708
8706
 
8709
- _this = _super.call.apply(_super, [this].concat(args));
8707
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "onChangeSelection", function () {
8708
+ var _this$props = _this.props,
8709
+ updateValidation = _this$props.updateValidation,
8710
+ onChange = _this$props.onChange;
8710
8711
 
8711
- _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "state", {
8712
- categories: [{
8713
- Title: 'All Primary Users',
8714
- Key: 'resident',
8715
- ShortName: 'Primary'
8716
- }, {
8717
- Title: 'All Staff Users',
8718
- Key: 'staff',
8719
- ShortName: 'Staff'
8720
- }, {
8721
- Title: 'All Linked Users',
8722
- Key: 'family',
8723
- ShortName: 'Linked'
8724
- }],
8725
- types: [],
8726
- AudienceType: 'All',
8727
- showInclude: false,
8728
- includeList: [],
8729
- showExclude: false,
8730
- excludeList: [],
8731
- Type: '',
8732
- Category: '',
8733
- userList: [],
8734
- tagList: [],
8735
- AudienceTagList: []
8712
+ var isValid = _this.validateAudienceSelection();
8713
+
8714
+ if (updateValidation) updateValidation(isValid);
8715
+ if (onChange) onChange(_this.getAudienceType(), _this.getAudienceTypeSelection(), isValid);
8736
8716
  });
8737
8717
 
8738
8718
  _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "selectTag", function (key) {
@@ -8742,9 +8722,7 @@
8742
8722
  excludeList: []
8743
8723
  });
8744
8724
 
8745
- setTimeout(function () {
8746
- _this.props.updateValidation(_this.validateAudienceSelection());
8747
- }, 50);
8725
+ setTimeout(_this.onChangeSelection, 50);
8748
8726
  });
8749
8727
 
8750
8728
  _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "validateCustom", function () {
@@ -8752,6 +8730,7 @@
8752
8730
  });
8753
8731
 
8754
8732
  _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "getAvailableAudienceTags", function () {
8733
+ var includeSelected = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
8755
8734
  var _this$state = _this.state,
8756
8735
  categories = _this$state.categories,
8757
8736
  types = _this$state.types,
@@ -8781,7 +8760,8 @@
8781
8760
  Title: "User Tag: ".concat(t.Title)
8782
8761
  };
8783
8762
  });
8784
- return [].concat(_toConsumableArray__default['default'](categoryTags), _toConsumableArray__default['default'](userTypeTags), _toConsumableArray__default['default'](userTagTags)).filter(function (t) {
8763
+ var result = [].concat(_toConsumableArray__default['default'](categoryTags), _toConsumableArray__default['default'](userTypeTags), _toConsumableArray__default['default'](userTagTags));
8764
+ return includeSelected ? result : result.filter(function (t) {
8785
8765
  return !___default['default'].some(AudienceTagList, function (at) {
8786
8766
  return at.Id === t.Id;
8787
8767
  });
@@ -8793,9 +8773,7 @@
8793
8773
 
8794
8774
  _this.setState({
8795
8775
  AudienceTagList: AudienceTagList
8796
- }, function () {
8797
- return _this.props.updateValidation(_this.validateAudienceSelection());
8798
- });
8776
+ }, _this.onChangeSelection);
8799
8777
  });
8800
8778
 
8801
8779
  _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "onDetachAudienceTag", function (tag) {
@@ -8805,26 +8783,58 @@
8805
8783
 
8806
8784
  _this.setState({
8807
8785
  AudienceTagList: AudienceTagList
8808
- }, function () {
8809
- return _this.props.updateValidation(_this.validateAudienceSelection());
8810
- });
8786
+ }, _this.onChangeSelection);
8811
8787
  });
8812
8788
 
8789
+ _this.state = {
8790
+ categories: [{
8791
+ Title: 'All Primary Users',
8792
+ Key: 'resident',
8793
+ ShortName: 'Primary'
8794
+ }, {
8795
+ Title: 'All Staff Users',
8796
+ Key: 'staff',
8797
+ ShortName: 'Staff'
8798
+ }, {
8799
+ Title: 'All Linked Users',
8800
+ Key: 'family',
8801
+ ShortName: 'Linked'
8802
+ }],
8803
+ types: [],
8804
+ AudienceType: props.audienceType || 'All',
8805
+ showInclude: false,
8806
+ includeList: [],
8807
+ showExclude: false,
8808
+ excludeList: [],
8809
+ Type: '',
8810
+ Category: '',
8811
+ userList: [],
8812
+ tagList: [],
8813
+ AudienceTagList: props.audienceTypeSelection || []
8814
+ };
8813
8815
  return _this;
8814
8816
  }
8815
8817
 
8816
8818
  _createClass__default['default'](AudienceSelector, [{
8817
8819
  key: "componentDidMount",
8818
8820
  value: function componentDidMount() {
8819
- var _this$props = this.props,
8820
- disallowUserType = _this$props.disallowUserType,
8821
- custom = _this$props.custom,
8822
- disallowSingleUsers = _this$props.disallowSingleUsers,
8823
- allowTags = _this$props.allowTags;
8821
+ var _this$props2 = this.props,
8822
+ disallowUserType = _this$props2.disallowUserType,
8823
+ custom = _this$props2.custom,
8824
+ disallowSingleUsers = _this$props2.disallowSingleUsers,
8825
+ allowTags = _this$props2.allowTags;
8824
8826
  if (!disallowUserType || custom) this.getUserTypes();
8825
8827
  if (!disallowSingleUsers) this.getUsers();
8826
8828
  if (allowTags || custom) this.getUserTags();
8827
8829
  }
8830
+ }, {
8831
+ key: "componentDidUpdate",
8832
+ value: function componentDidUpdate(prevProps) {
8833
+ var newState = {};
8834
+ if (prevProps.audienceType !== this.props.audienceType) newState.AudienceType = this.props.audienceType;
8835
+ if (!___default['default'].isEqual(prevProps.audienceTypeSelection, this.props.audienceTypeSelection)) newState.AudienceTagList = this.props.audienceTypeSelection;
8836
+ if (!___default['default'].isEmpty(newState)) this.setState(newState);
8837
+ }
8828
8838
  }, {
8829
8839
  key: "onSubmit",
8830
8840
  value: function onSubmit() {
@@ -8848,12 +8858,7 @@
8848
8858
  Category = _this$state2.Category,
8849
8859
  Tag = _this$state2.Tag,
8850
8860
  Type = _this$state2.Type;
8851
- if (AudienceType === 'Custom') return AudienceTagList.map(function (at) {
8852
- return {
8853
- AudienceType: at.AudienceType,
8854
- AudienceTypeSelection: at.AudienceTypeSelection
8855
- };
8856
- });
8861
+ if (AudienceType === 'Custom') return AudienceTagList;
8857
8862
  if (AudienceType === 'Category') return Category;
8858
8863
  if (AudienceType === 'UserTags') return Tag;
8859
8864
  return Type;
@@ -8908,8 +8913,6 @@
8908
8913
  }, {
8909
8914
  key: "onChangeOption",
8910
8915
  value: function onChangeOption(type) {
8911
- var _this4 = this;
8912
-
8913
8916
  this.setState({
8914
8917
  AudienceType: type,
8915
8918
  Type: '',
@@ -8917,20 +8920,18 @@
8917
8920
  includeList: [],
8918
8921
  excludeList: []
8919
8922
  });
8920
- setTimeout(function () {
8921
- _this4.props.updateValidation(_this4.validateAudienceSelection());
8922
- }, 50);
8923
+ setTimeout(this.onChangeSelection, 50);
8923
8924
  }
8924
8925
  }, {
8925
8926
  key: "getOptions",
8926
8927
  value: function getOptions() {
8927
- var _this5 = this;
8928
+ var _this4 = this;
8928
8929
 
8929
8930
  var options = [{
8930
8931
  Label: 'All users',
8931
8932
  Value: 'All',
8932
8933
  onChange: function onChange() {
8933
- return _this5.onChangeOption('All');
8934
+ return _this4.onChangeOption('All');
8934
8935
  }
8935
8936
  }];
8936
8937
 
@@ -8939,7 +8940,7 @@
8939
8940
  Label: 'Custom',
8940
8941
  Value: 'Custom',
8941
8942
  onChange: function onChange() {
8942
- return _this5.onChangeOption('Custom');
8943
+ return _this4.onChangeOption('Custom');
8943
8944
  }
8944
8945
  });
8945
8946
  } else {
@@ -8947,7 +8948,7 @@
8947
8948
  Label: 'By user category',
8948
8949
  Value: 'Category',
8949
8950
  onChange: function onChange() {
8950
- return _this5.onChangeOption('Category');
8951
+ return _this4.onChangeOption('Category');
8951
8952
  }
8952
8953
  });
8953
8954
  }
@@ -8957,7 +8958,7 @@
8957
8958
  Label: 'By user type',
8958
8959
  Value: 'UserType',
8959
8960
  onChange: function onChange() {
8960
- return _this5.onChangeOption('UserType');
8961
+ return _this4.onChangeOption('UserType');
8961
8962
  }
8962
8963
  });
8963
8964
  }
@@ -8967,7 +8968,7 @@
8967
8968
  Label: 'By user tag',
8968
8969
  Value: 'UserTags',
8969
8970
  onChange: function onChange() {
8970
- return _this5.onChangeOption('UserTags');
8971
+ return _this4.onChangeOption('UserTags');
8971
8972
  }
8972
8973
  });
8973
8974
  }
@@ -8977,7 +8978,7 @@
8977
8978
  Label: 'To single users',
8978
8979
  Value: 'User',
8979
8980
  onChange: function onChange() {
8980
- return _this5.onChangeOption('User');
8981
+ return _this4.onChangeOption('User');
8981
8982
  }
8982
8983
  });
8983
8984
  }
@@ -9000,24 +9001,20 @@
9000
9001
  }, {
9001
9002
  key: "selectType",
9002
9003
  value: function selectType(key) {
9003
- var _this6 = this;
9004
-
9005
9004
  this.setState({
9006
9005
  Type: key,
9007
9006
  includeList: [],
9008
9007
  excludeList: []
9009
9008
  });
9010
- setTimeout(function () {
9011
- _this6.props.updateValidation(_this6.validateAudienceSelection());
9012
- }, 50);
9009
+ setTimeout(this.onChangeSelection, 50);
9013
9010
  }
9014
9011
  }, {
9015
9012
  key: "getTypeTitle",
9016
9013
  value: function getTypeTitle() {
9017
- var _this7 = this;
9014
+ var _this5 = this;
9018
9015
 
9019
9016
  var typeObject = ___default['default'].find(this.state.types, function (t) {
9020
- return t.typeName === _this7.state.Type;
9017
+ return t.typeName === _this5.state.Type;
9021
9018
  });
9022
9019
 
9023
9020
  if (typeObject) {
@@ -9029,10 +9026,10 @@
9029
9026
  }, {
9030
9027
  key: "getTagTitle",
9031
9028
  value: function getTagTitle() {
9032
- var _this8 = this;
9029
+ var _this6 = this;
9033
9030
 
9034
9031
  var tag = ___default['default'].find(this.state.tagList, function (t) {
9035
- return t.Id === _this8.state.Tag;
9032
+ return t.Id === _this6.state.Tag;
9036
9033
  });
9037
9034
 
9038
9035
  if (tag) {
@@ -9044,10 +9041,10 @@
9044
9041
  }, {
9045
9042
  key: "getUserTypes",
9046
9043
  value: function getUserTypes() {
9047
- var _this9 = this;
9044
+ var _this7 = this;
9048
9045
 
9049
9046
  typeActions.getUserTypes(this.props.auth.site).then(function (res) {
9050
- _this9.props.setAuth({
9047
+ _this7.props.setAuth({
9051
9048
  userTypes: ___default['default'].cloneDeep(res.data)
9052
9049
  });
9053
9050
 
@@ -9056,7 +9053,7 @@
9056
9053
  e.Key = e.typeName;
9057
9054
 
9058
9055
  if (e.category) {
9059
- var category = ___default['default'].find(_this9.state.categories, function (c) {
9056
+ var category = ___default['default'].find(_this7.state.categories, function (c) {
9060
9057
  return c.Key === e.category;
9061
9058
  });
9062
9059
 
@@ -9065,7 +9062,7 @@
9065
9062
  }
9066
9063
  });
9067
9064
 
9068
- _this9.setState({
9065
+ _this7.setState({
9069
9066
  types: res.data
9070
9067
  });
9071
9068
  }).catch(function (error) {});
@@ -9073,12 +9070,12 @@
9073
9070
  }, {
9074
9071
  key: "getUserList",
9075
9072
  value: function getUserList() {
9076
- var _this10 = this;
9073
+ var _this8 = this;
9077
9074
 
9078
9075
  if (this.state.AudienceType === 'UserType' && !___default['default'].isEmpty(this.state.Type)) {
9079
9076
  var users = [];
9080
9077
  this.state.userList.forEach(function (element) {
9081
- if (element.type !== _this10.state.Type) users.push(element);
9078
+ if (element.type !== _this8.state.Type) users.push(element);
9082
9079
  });
9083
9080
  return ___default['default'].sortBy(users, 'displayName');
9084
9081
  }
@@ -9087,7 +9084,7 @@
9087
9084
  var _users = [];
9088
9085
 
9089
9086
  var types = ___default['default'].filter(this.state.types, function (type) {
9090
- return type.category === _this10.state.Category;
9087
+ return type.category === _this8.state.Category;
9091
9088
  }).map(function (type) {
9092
9089
  return type.typeName;
9093
9090
  });
@@ -9105,24 +9102,20 @@
9105
9102
  }, {
9106
9103
  key: "selectCat",
9107
9104
  value: function selectCat(key, e) {
9108
- var _this11 = this;
9109
-
9110
9105
  this.setState({
9111
9106
  Category: key,
9112
9107
  includeList: [],
9113
9108
  excludeList: []
9114
9109
  });
9115
- setTimeout(function () {
9116
- _this11.props.updateValidation(_this11.validateAudienceSelection());
9117
- }, 50);
9110
+ setTimeout(this.onChangeSelection, 50);
9118
9111
  }
9119
9112
  }, {
9120
9113
  key: "getCatTitle",
9121
9114
  value: function getCatTitle() {
9122
- var _this12 = this;
9115
+ var _this9 = this;
9123
9116
 
9124
9117
  var typeObject = ___default['default'].find(this.state.categories, function (t) {
9125
- return t.Key === _this12.state.Category;
9118
+ return t.Key === _this9.state.Category;
9126
9119
  });
9127
9120
 
9128
9121
  if (typeObject) {
@@ -9178,12 +9171,12 @@
9178
9171
  }, {
9179
9172
  key: "getUserExcludeList",
9180
9173
  value: function getUserExcludeList() {
9181
- var _this13 = this;
9174
+ var _this10 = this;
9182
9175
 
9183
9176
  if (this.state.AudienceType === 'UserType' && !___default['default'].isEmpty(this.state.Type)) {
9184
9177
  var users = [];
9185
9178
  this.state.userList.forEach(function (element) {
9186
- if (element.type === _this13.state.Type) users.push(element);
9179
+ if (element.type === _this10.state.Type) users.push(element);
9187
9180
  });
9188
9181
  return ___default['default'].sortBy(users, 'displayName');
9189
9182
  }
@@ -9192,7 +9185,7 @@
9192
9185
  var _users2 = [];
9193
9186
 
9194
9187
  var types = ___default['default'].filter(this.state.types, function (type) {
9195
- return type.category === _this13.state.Category;
9188
+ return type.category === _this10.state.Category;
9196
9189
  }).map(function (type) {
9197
9190
  return type.typeName;
9198
9191
  });
@@ -9210,8 +9203,6 @@
9210
9203
  }, {
9211
9204
  key: "addToInc",
9212
9205
  value: function addToInc(user) {
9213
- var _this14 = this;
9214
-
9215
9206
  var list = _toConsumableArray__default['default'](this.state.includeList);
9216
9207
 
9217
9208
  list.push({
@@ -9222,23 +9213,17 @@
9222
9213
  this.setState({
9223
9214
  includeList: list
9224
9215
  });
9225
- setTimeout(function () {
9226
- _this14.props.updateValidation(_this14.validateAudienceSelection());
9227
- }, 50);
9216
+ setTimeout(this.onChangeSelection, 50);
9228
9217
  }
9229
9218
  }, {
9230
9219
  key: "removeUserInc",
9231
9220
  value: function removeUserInc(user) {
9232
- var _this15 = this;
9233
-
9234
9221
  this.setState({
9235
9222
  includeList: ___default['default'].filter(this.state.includeList, function (ev) {
9236
9223
  return ev.Id !== user.Id;
9237
9224
  })
9238
9225
  });
9239
- setTimeout(function () {
9240
- _this15.props.updateValidation(_this15.validateAudienceSelection());
9241
- }, 50);
9226
+ setTimeout(this.onChangeSelection, 50);
9242
9227
  }
9243
9228
  }, {
9244
9229
  key: "addToEx",
@@ -9266,7 +9251,7 @@
9266
9251
  }, {
9267
9252
  key: "renderExcludes",
9268
9253
  value: function renderExcludes() {
9269
- var _this16 = this;
9254
+ var _this11 = this;
9270
9255
 
9271
9256
  if (!this.showUserPickers(false)) {
9272
9257
  return null;
@@ -9278,8 +9263,8 @@
9278
9263
  }, /*#__PURE__*/React__default['default'].createElement("div", {
9279
9264
  className: "flex flex-between pointer",
9280
9265
  onClick: function onClick() {
9281
- _this16.setState({
9282
- showExclude: !_this16.state.showExclude
9266
+ _this11.setState({
9267
+ showExclude: !_this11.state.showExclude
9283
9268
  });
9284
9269
  }
9285
9270
  }, /*#__PURE__*/React__default['default'].createElement("div", {
@@ -9303,7 +9288,7 @@
9303
9288
  }, {
9304
9289
  key: "renderIncludes",
9305
9290
  value: function renderIncludes() {
9306
- var _this17 = this;
9291
+ var _this12 = this;
9307
9292
 
9308
9293
  if (!this.showUserPickers(true)) {
9309
9294
  return null;
@@ -9315,8 +9300,8 @@
9315
9300
  }, /*#__PURE__*/React__default['default'].createElement("div", {
9316
9301
  className: "flex flex-between pointer",
9317
9302
  onClick: function onClick() {
9318
- _this17.setState({
9319
- showInclude: !_this17.state.showInclude
9303
+ _this12.setState({
9304
+ showInclude: !_this12.state.showInclude
9320
9305
  });
9321
9306
  }
9322
9307
  }, /*#__PURE__*/React__default['default'].createElement("div", {
@@ -9340,7 +9325,7 @@
9340
9325
  }, {
9341
9326
  key: "renderAssignedAudiences",
9342
9327
  value: function renderAssignedAudiences() {
9343
- var _this18 = this;
9328
+ var _this13 = this;
9344
9329
 
9345
9330
  var AudienceTagList = this.state.AudienceTagList;
9346
9331
  var maxWidth = this.props.maxWidth;
@@ -9359,7 +9344,7 @@
9359
9344
  text: t.Title,
9360
9345
  rightIcon: "remove",
9361
9346
  rightClick: function rightClick() {
9362
- return _this18.onDetachAudienceTag(t);
9347
+ return _this13.onDetachAudienceTag(t);
9363
9348
  }
9364
9349
  });
9365
9350
  }));
@@ -9367,7 +9352,7 @@
9367
9352
  }, {
9368
9353
  key: "renderAvailableAudiences",
9369
9354
  value: function renderAvailableAudiences() {
9370
- var _this19 = this;
9355
+ var _this14 = this;
9371
9356
 
9372
9357
  var maxWidth = this.props.maxWidth;
9373
9358
  var tags = this.getAvailableAudienceTags();
@@ -9382,7 +9367,7 @@
9382
9367
  className: "marginLeft-16 marginBottom-8",
9383
9368
  text: t.Title,
9384
9369
  onClick: function onClick() {
9385
- return _this19.onAttachAudienceTag(t);
9370
+ return _this14.onAttachAudienceTag(t);
9386
9371
  }
9387
9372
  });
9388
9373
  }));
@@ -9403,7 +9388,7 @@
9403
9388
  }, {
9404
9389
  key: "render",
9405
9390
  value: function render() {
9406
- var _this20 = this;
9391
+ var _this15 = this;
9407
9392
 
9408
9393
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(Text, {
9409
9394
  type: "formTitleSmall",
@@ -9425,10 +9410,10 @@
9425
9410
  placeholder: "User Category",
9426
9411
  value: this.getCatTitle(),
9427
9412
  isValid: function isValid() {
9428
- return _this20.validateCategory();
9413
+ return _this15.validateCategory();
9429
9414
  },
9430
9415
  showError: function showError() {
9431
- return _this20.state.showWarnings && !_this20.validateCategory();
9416
+ return _this15.state.showWarnings && !_this15.validateCategory();
9432
9417
  },
9433
9418
  options: this.state.categories,
9434
9419
  onSelect: this.selectCat.bind(this),
@@ -9445,10 +9430,10 @@
9445
9430
  placeholder: "User Type",
9446
9431
  value: this.getTypeTitle(),
9447
9432
  isValid: function isValid() {
9448
- return _this20.validateType();
9433
+ return _this15.validateType();
9449
9434
  },
9450
9435
  showError: function showError() {
9451
- return _this20.state.showWarnings && !_this20.validateType();
9436
+ return _this15.state.showWarnings && !_this15.validateType();
9452
9437
  },
9453
9438
  options: this.state.types,
9454
9439
  onSelect: this.selectType.bind(this),
@@ -9464,10 +9449,10 @@
9464
9449
  placeholder: "User Tag",
9465
9450
  value: this.getTagTitle(),
9466
9451
  isValid: function isValid() {
9467
- return _this20.validateTag();
9452
+ return _this15.validateTag();
9468
9453
  },
9469
9454
  showError: function showError() {
9470
- return _this20.state.showWarnings && !_this20.validateTag();
9455
+ return _this15.state.showWarnings && !_this15.validateTag();
9471
9456
  },
9472
9457
  options: this.state.tagList,
9473
9458
  onSelect: this.selectTag,
@@ -9490,14 +9475,14 @@
9490
9475
  withRef: true
9491
9476
  })(AudienceSelector);
9492
9477
 
9493
- function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
9478
+ function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
9494
9479
 
9495
- 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; } }
9480
+ 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; } }
9496
9481
 
9497
9482
  var TextFormatPopup = /*#__PURE__*/function (_Component) {
9498
9483
  _inherits__default['default'](TextFormatPopup, _Component);
9499
9484
 
9500
- var _super = _createSuper$2(TextFormatPopup);
9485
+ var _super = _createSuper$3(TextFormatPopup);
9501
9486
 
9502
9487
  function TextFormatPopup() {
9503
9488
  _classCallCheck__default['default'](this, TextFormatPopup);
@@ -9603,14 +9588,14 @@
9603
9588
  return TextFormatPopup;
9604
9589
  }(React.Component);
9605
9590
 
9606
- function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
9591
+ function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
9607
9592
 
9608
- 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; } }
9593
+ 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; } }
9609
9594
 
9610
9595
  var OptionsSection = /*#__PURE__*/function (_Component) {
9611
9596
  _inherits__default['default'](OptionsSection, _Component);
9612
9597
 
9613
- var _super = _createSuper$1(OptionsSection);
9598
+ var _super = _createSuper$2(OptionsSection);
9614
9599
 
9615
9600
  function OptionsSection() {
9616
9601
  _classCallCheck__default['default'](this, OptionsSection);
@@ -9692,14 +9677,14 @@
9692
9677
 
9693
9678
  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__default['default'](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; }
9694
9679
 
9695
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
9680
+ function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
9696
9681
 
9697
- 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; } }
9682
+ 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; } }
9698
9683
 
9699
9684
  var MakerPopup = /*#__PURE__*/function (_Component) {
9700
9685
  _inherits__default['default'](MakerPopup, _Component);
9701
9686
 
9702
- var _super = _createSuper(MakerPopup);
9687
+ var _super = _createSuper$1(MakerPopup);
9703
9688
 
9704
9689
  function MakerPopup(props) {
9705
9690
  var _this;
@@ -10015,6 +10000,160 @@
10015
10000
 
10016
10001
  var exportObj = reactRedux.connect(mapStateToProps, {})(MakerPopup);
10017
10002
 
10003
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf__default['default'](Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf__default['default'](this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn__default['default'](this, result); }; }
10004
+
10005
+ 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; } }
10006
+
10007
+ var ExportCsvPopup = /*#__PURE__*/function (_Component) {
10008
+ _inherits__default['default'](ExportCsvPopup, _Component);
10009
+
10010
+ var _super = _createSuper(ExportCsvPopup);
10011
+
10012
+ function ExportCsvPopup(props) {
10013
+ var _this;
10014
+
10015
+ _classCallCheck__default['default'](this, ExportCsvPopup);
10016
+
10017
+ _this = _super.call(this, props);
10018
+
10019
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "canSave", function () {
10020
+ return ___default['default'].some(_this.state.columns, function (c) {
10021
+ return c.selected;
10022
+ });
10023
+ });
10024
+
10025
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "onConfirm", function () {
10026
+ return _this.canSave();
10027
+ });
10028
+
10029
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "onClose", function () {
10030
+ if (_this.props.onClose) _this.props.onClose();
10031
+ });
10032
+
10033
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "onToggleColumn", function (key) {
10034
+ var source = _this.props.source;
10035
+
10036
+ var columns = ___default['default'].cloneDeep(_this.state.columns);
10037
+
10038
+ var column = columns.find(function (c) {
10039
+ return c.key === key;
10040
+ });
10041
+
10042
+ if (column) {
10043
+ column.selected = !column.selected;
10044
+ if (!column.key) columns.map(function (c) {
10045
+ return c.selected = column.selected;
10046
+ }); // Toggle all
10047
+
10048
+ var selectedHeaders = columns.filter(function (c) {
10049
+ return c.key && c.selected;
10050
+ });
10051
+ var selectedheaderKeys = selectedHeaders.map(function (h) {
10052
+ return h.key;
10053
+ });
10054
+ var selectedSource = source.map(function (i) {
10055
+ return ___default['default'].pick(i, selectedheaderKeys);
10056
+ });
10057
+
10058
+ _this.setState({
10059
+ columns: columns,
10060
+ selectedHeaders: selectedHeaders,
10061
+ selectedSource: selectedSource
10062
+ });
10063
+ }
10064
+ });
10065
+
10066
+ _defineProperty__default['default'](_assertThisInitialized__default['default'](_this), "renderContent", function () {
10067
+ var _this$state = _this.state,
10068
+ saving = _this$state.saving,
10069
+ columns = _this$state.columns;
10070
+
10071
+ if (saving) {
10072
+ return /*#__PURE__*/React__default['default'].createElement("div", {
10073
+ className: "marginTop-32",
10074
+ style: {
10075
+ maxWidth: 500,
10076
+ textAlign: 'center'
10077
+ }
10078
+ }, /*#__PURE__*/React__default['default'].createElement(FontAwesome__default['default'], {
10079
+ style: {
10080
+ fontSize: 30
10081
+ },
10082
+ name: "spinner fa-pulse fa-fw"
10083
+ }));
10084
+ }
10085
+
10086
+ if (!columns) return null;
10087
+ return /*#__PURE__*/React__default['default'].createElement("div", {
10088
+ className: "marginTop-16"
10089
+ }, columns.map(function (c) {
10090
+ return /*#__PURE__*/React__default['default'].createElement(CheckBox, {
10091
+ key: c.key,
10092
+ label: c.label,
10093
+ isActive: c.selected,
10094
+ onChange: function onChange() {
10095
+ return _this.onToggleColumn(c.key);
10096
+ },
10097
+ style: {
10098
+ marginBottom: 8
10099
+ }
10100
+ });
10101
+ }));
10102
+ });
10103
+
10104
+ _this.state = {
10105
+ columns: props.columns,
10106
+ selectedSource: [],
10107
+ saving: false
10108
+ };
10109
+ return _this;
10110
+ }
10111
+
10112
+ _createClass__default['default'](ExportCsvPopup, [{
10113
+ key: "render",
10114
+ value: function render() {
10115
+ var _this$state2 = this.state,
10116
+ selectedHeaders = _this$state2.selectedHeaders,
10117
+ selectedSource = _this$state2.selectedSource;
10118
+ var filename = this.props.filename;
10119
+ var buttons = [{
10120
+ type: 'primary',
10121
+ isActive: this.canSave(),
10122
+ text: /*#__PURE__*/React__default['default'].createElement(reactCsv.CSVLink, {
10123
+ headers: selectedHeaders,
10124
+ data: selectedSource,
10125
+ style: {
10126
+ textDecoration: 'none',
10127
+ color: '#fff'
10128
+ },
10129
+ filename: filename || 'export.csv',
10130
+ onClick: this.onConfirm
10131
+ }, "Confirm")
10132
+ }, {
10133
+ type: 'tertiary',
10134
+ onClick: this.onClose,
10135
+ isActive: true,
10136
+ text: 'Close'
10137
+ }];
10138
+ return /*#__PURE__*/React__default['default'].createElement(Popup, {
10139
+ title: "Confirm Export",
10140
+ subtitle: "Select which columns to include in the export",
10141
+ boxClasses: "flex flex-column",
10142
+ innerClasses: "flex flex-column fillSpace flex-1",
10143
+ minWidth: 500,
10144
+ maxWidth: 500,
10145
+ minHeight: '50vh',
10146
+ maxHeight: '100vh',
10147
+ hasPadding: true,
10148
+ onClose: this.onClose,
10149
+ buttons: buttons
10150
+ }, this.renderContent());
10151
+ }
10152
+ }]);
10153
+
10154
+ return ExportCsvPopup;
10155
+ }(React.Component);
10156
+
10018
10157
  var index = /*#__PURE__*/Object.freeze({
10019
10158
  __proto__: null,
10020
10159
  AddButton: AddButton,
@@ -10049,7 +10188,8 @@
10049
10188
  TextFormatPopup: TextFormatPopup,
10050
10189
  OptionsSection: OptionsSection,
10051
10190
  DropdownInput: DropdownInput,
10052
- MakerPopup: exportObj
10191
+ MakerPopup: exportObj,
10192
+ ExportCsvPopup: ExportCsvPopup
10053
10193
  });
10054
10194
 
10055
10195
  exports.Actions = index$1;