@mjhls/mjh-framework 1.0.297 → 1.0.298

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.297
2
+ # mjh-framework v. 1.0.298
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -10,7 +10,7 @@ var main = require('./main-0ea1b808.js');
10
10
  var toConsumableArray = require('./toConsumableArray-f05a306f.js');
11
11
  require('./core.get-iterator-method-e049ca4a.js');
12
12
  var _extends$2 = require('./extends-e94dbea5.js');
13
- var inherits$2 = require('./inherits-663e8f74.js');
13
+ var inherits$2 = require('./inherits-dd435947.js');
14
14
  var React = require('react');
15
15
  var React__default = _interopDefault(React);
16
16
  require('prop-types');
@@ -10,7 +10,7 @@ var main = require('./main-0ea1b808.js');
10
10
  var toConsumableArray = require('./toConsumableArray-f05a306f.js');
11
11
  require('./core.get-iterator-method-e049ca4a.js');
12
12
  var _extends$2 = require('./extends-e94dbea5.js');
13
- var inherits$2 = require('./inherits-663e8f74.js');
13
+ var inherits$2 = require('./inherits-dd435947.js');
14
14
  var React = require('react');
15
15
  var React__default = _interopDefault(React);
16
16
  require('prop-types');
@@ -6,7 +6,7 @@ var debounce = require('./debounce-ba3eaee2.js');
6
6
  var main = require('./main-0ea1b808.js');
7
7
  var toConsumableArray = require('./toConsumableArray-f05a306f.js');
8
8
  var _extends$2 = require('./extends-e94dbea5.js');
9
- var inherits$2 = require('./inherits-663e8f74.js');
9
+ var inherits$2 = require('./inherits-dd435947.js');
10
10
  var React = require('react');
11
11
  var React__default = _interopDefault(React);
12
12
  var Container = _interopDefault(require('react-bootstrap/Container'));
@@ -8,7 +8,7 @@ require('./main-0ea1b808.js');
8
8
  require('./toConsumableArray-f05a306f.js');
9
9
  require('./core.get-iterator-method-e049ca4a.js');
10
10
  require('./extends-e94dbea5.js');
11
- require('./inherits-663e8f74.js');
11
+ require('./inherits-dd435947.js');
12
12
  require('react');
13
13
  require('prop-types');
14
14
  require('react-bootstrap/Container');
@@ -27,7 +27,7 @@ require('./AdSlot-29aee917.js');
27
27
  require('./promise-2c453658.js');
28
28
  require('./ADInfeed-6b94763a.js');
29
29
  require('./get-de2660c3.js');
30
- var GridContent = require('./GridContent-888d2bfa.js');
30
+ var GridContent = require('./GridContent-380b5f9c.js');
31
31
 
32
32
 
33
33
 
@@ -10,7 +10,7 @@ var main = require('./main-0ea1b808.js');
10
10
  var toConsumableArray = require('./toConsumableArray-f05a306f.js');
11
11
  require('./core.get-iterator-method-e049ca4a.js');
12
12
  var _extends$2 = require('./extends-e94dbea5.js');
13
- var inherits$2 = require('./inherits-663e8f74.js');
13
+ var inherits$2 = require('./inherits-dd435947.js');
14
14
  var React = require('react');
15
15
  var React__default = _interopDefault(React);
16
16
  require('prop-types');
@@ -867,34 +867,6 @@ var NavMagazine = function NavMagazine(props) {
867
867
  React__default.createElement(
868
868
  Nav,
869
869
  { className: 'mr-auto' },
870
- showLogin && userChecked && userLoggedIn && React__default.createElement(
871
- React__default.Fragment,
872
- null,
873
- React__default.createElement(
874
- 'a',
875
- { key: 'mobile-profile', href: '/auth/profile', className: 'nav-link' },
876
- 'Profile'
877
- ),
878
- React__default.createElement(
879
- 'a',
880
- { key: 'mobile-logout', href: '/api/auth/logout', className: 'nav-link' },
881
- 'Log Out'
882
- )
883
- ),
884
- showLogin && userChecked && !userLoggedIn && React__default.createElement(
885
- React__default.Fragment,
886
- null,
887
- React__default.createElement(
888
- 'a',
889
- { key: 'mobile-signup', href: '/auth/signup', className: 'nav-link' },
890
- 'Sign Up'
891
- ),
892
- React__default.createElement(
893
- 'a',
894
- { key: 'mobile-login', href: '/auth/login', className: 'nav-link' },
895
- 'Log In'
896
- )
897
- ),
898
870
  subNav && subNav.map(function (row, index) {
899
871
  if (row.subQuery && row.subQuery.length > 0) {
900
872
  return row.name ? React__default.createElement(
@@ -20,7 +20,7 @@ require('./react-social-icons-cd0d9d3b.js');
20
20
  require('react-bootstrap');
21
21
  require('./index.esm-340d3792.js');
22
22
  require('react-bootstrap/Button');
23
- var TemplateNormal = require('./Normal-c3f4eec3.js');
23
+ var TemplateNormal = require('./Normal-71e6f75e.js');
24
24
  require('react-bootstrap/ListGroup');
25
25
  require('next/head');
26
26
  require('react-bootstrap/Nav');
@@ -7,7 +7,7 @@ require('./_to-object-329a650b.js');
7
7
  require('./web.dom.iterable-0998bdc3.js');
8
8
  var debounce = require('./debounce-ba3eaee2.js');
9
9
  var _extends$2 = require('./extends-e94dbea5.js');
10
- var inherits$2 = require('./inherits-663e8f74.js');
10
+ var inherits$2 = require('./inherits-dd435947.js');
11
11
  var React = require('react');
12
12
  var React__default = _interopDefault(React);
13
13
  require('prop-types');
package/dist/cjs/index.js CHANGED
@@ -12,7 +12,7 @@ var main = require('./main-0ea1b808.js');
12
12
  var toConsumableArray = require('./toConsumableArray-f05a306f.js');
13
13
  require('./core.get-iterator-method-e049ca4a.js');
14
14
  var _extends$2 = require('./extends-e94dbea5.js');
15
- var inherits$2 = require('./inherits-663e8f74.js');
15
+ var inherits$2 = require('./inherits-dd435947.js');
16
16
  var React = require('react');
17
17
  var React__default = _interopDefault(React);
18
18
  var PropTypes = _interopDefault(require('prop-types'));
@@ -34,7 +34,7 @@ require('./promise-2c453658.js');
34
34
  require('./ADInfeed-6b94763a.js');
35
35
  var DeckContent = require('./DeckContent.js');
36
36
  var get$1 = require('./get-de2660c3.js');
37
- var GridContent = require('./GridContent-888d2bfa.js');
37
+ var GridContent = require('./GridContent-380b5f9c.js');
38
38
  var DeckQueue = require('./DeckQueue.js');
39
39
  require('react-bootstrap/Media');
40
40
  var ThumbnailCard = require('./ThumbnailCard.js');
@@ -53,7 +53,7 @@ var IssueDeck = require('./IssueDeck.js');
53
53
  require('react-bootstrap/Badge');
54
54
  var IssueContentDeck = require('./IssueContentDeck.js');
55
55
  var Spinner = _interopDefault(require('react-bootstrap/Spinner'));
56
- var TemplateNormal = require('./Normal-c3f4eec3.js');
56
+ var TemplateNormal = require('./Normal-71e6f75e.js');
57
57
  require('react-bootstrap/ListGroup');
58
58
  var Head = _interopDefault(require('next/head'));
59
59
  var Accordion = _interopDefault(require('react-bootstrap/Accordion'));
@@ -16659,34 +16659,6 @@ var KMTracker = function KMTracker(props) {
16659
16659
  }
16660
16660
  };
16661
16661
 
16662
- var defineProperty = _commonjsHelpers.createCommonjsModule(function (module, exports) {
16663
-
16664
- exports.__esModule = true;
16665
-
16666
-
16667
-
16668
- var _defineProperty2 = _interopRequireDefault(inherits$2.defineProperty);
16669
-
16670
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16671
-
16672
- exports.default = function (obj, key, value) {
16673
- if (key in obj) {
16674
- (0, _defineProperty2.default)(obj, key, {
16675
- value: value,
16676
- enumerable: true,
16677
- configurable: true,
16678
- writable: true
16679
- });
16680
- } else {
16681
- obj[key] = value;
16682
- }
16683
-
16684
- return obj;
16685
- };
16686
- });
16687
-
16688
- var _defineProperty$1 = _commonjsHelpers.unwrapExports(defineProperty);
16689
-
16690
16662
  var returnFormField = function returnFormField(_ref) {
16691
16663
  var name = _ref.name,
16692
16664
  label = _ref.label,
@@ -16780,7 +16752,7 @@ var returnFormField = function returnFormField(_ref) {
16780
16752
  if (type == 'radio' || type == 'checkbox') {
16781
16753
  return React__default.createElement(
16782
16754
  reactBootstrap.Form.Group,
16783
- _extends$2._extends({}, opts, { controlId: name }),
16755
+ opts,
16784
16756
  React__default.createElement(
16785
16757
  reactBootstrap.Form.Label,
16786
16758
  null,
@@ -16792,9 +16764,12 @@ var returnFormField = function returnFormField(_ref) {
16792
16764
  )
16793
16765
  ),
16794
16766
  options.map(function (option, index) {
16795
- var _React$createElement;
16796
-
16797
- return React__default.createElement(reactBootstrap.Form.Check, (_React$createElement = { type: type, key: index, defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index }, _defineProperty$1(_React$createElement, 'key', index), _defineProperty$1(_React$createElement, 'value', option.value), _defineProperty$1(_React$createElement, 'label', option.label), _defineProperty$1(_React$createElement, 'required', required), _React$createElement));
16767
+ return React__default.createElement(
16768
+ reactBootstrap.Form.Check,
16769
+ { type: type, key: index, required: required },
16770
+ React__default.createElement(reactBootstrap.Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
16771
+ React__default.createElement(reactBootstrap.Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
16772
+ );
16798
16773
  })
16799
16774
  );
16800
16775
  }
@@ -17388,7 +17363,7 @@ var SignupForm = function SignupForm(props) {
17388
17363
  label: 'Terms & Conditions | Privacy Policy',
17389
17364
  type: 'checkbox',
17390
17365
  required: true,
17391
- options: [{ label: 'By registering you agree to our Terms and Conditions and Privacy Policy and understand that you will be receiving email communications', value: 'Y' }]
17366
+ options: [{ label: 'By registering you agree to our <a href="/terms" style="color:blue">Terms and Conditions</a> and <a href="/privacy" style="color:blue">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
17392
17367
  }),
17393
17368
  React__default.createElement('hr', null),
17394
17369
  React__default.createElement(
@@ -17812,7 +17787,7 @@ var SignupForm$1 = function SignupForm(props) {
17812
17787
  label: 'Terms & Conditions | Privacy Policy',
17813
17788
  type: 'checkbox',
17814
17789
  required: true,
17815
- options: [{ label: 'By registering you agree to our Terms and Conditions and Privacy Policy and understand that you will be receiving email communications', value: 'Y' }]
17790
+ options: [{ label: 'By registering you agree to our <a href="/terms">Terms and Conditions</a> and <a href="/privacy">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
17816
17791
  }),
17817
17792
  React__default.createElement('hr', null),
17818
17793
  React__default.createElement(
@@ -18362,7 +18337,7 @@ var arePropertyDescriptorsSupported = function () {
18362
18337
  };
18363
18338
  var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();
18364
18339
 
18365
- var defineProperty$1 = function (object, name, value, predicate) {
18340
+ var defineProperty = function (object, name, value, predicate) {
18366
18341
  if (name in object && (!isFunction$1(predicate) || !predicate())) {
18367
18342
  return;
18368
18343
  }
@@ -18385,7 +18360,7 @@ var defineProperties = function (object, map) {
18385
18360
  props = concat.call(props, Object.getOwnPropertySymbols(map));
18386
18361
  }
18387
18362
  for (var i = 0; i < props.length; i += 1) {
18388
- defineProperty$1(object, props[i], map[props[i]], predicates[props[i]]);
18363
+ defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
18389
18364
  }
18390
18365
  };
18391
18366
 
@@ -646,4 +646,3 @@ exports._createClass = _createClass;
646
646
  exports._inherits = _inherits;
647
647
  exports._objectSap = _objectSap;
648
648
  exports._possibleConstructorReturn = _possibleConstructorReturn;
649
- exports.defineProperty = defineProperty$1;
@@ -6,7 +6,7 @@ import { m as main_36 } from './main-155ec04f.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-eb308ede.js';
7
7
  import './core.get-iterator-method-31c1fb1a.js';
8
8
  import { _ as _extends } from './extends-dbbe308d.js';
9
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4cae443b.js';
9
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-2a854891.js';
10
10
  import React__default from 'react';
11
11
  import 'prop-types';
12
12
  import Container from 'react-bootstrap/Container';
@@ -6,7 +6,7 @@ import { m as main_36 } from './main-155ec04f.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-eb308ede.js';
7
7
  import './core.get-iterator-method-31c1fb1a.js';
8
8
  import { _ as _extends } from './extends-dbbe308d.js';
9
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4cae443b.js';
9
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-2a854891.js';
10
10
  import React__default from 'react';
11
11
  import 'prop-types';
12
12
  import Container from 'react-bootstrap/Container';
@@ -2,7 +2,7 @@ import { d as debounce_1, l as lib_3 } from './debounce-93ab8f80.js';
2
2
  import { m as main_36 } from './main-155ec04f.js';
3
3
  import { _ as _toConsumableArray } from './toConsumableArray-eb308ede.js';
4
4
  import { _ as _extends } from './extends-dbbe308d.js';
5
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4cae443b.js';
5
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-2a854891.js';
6
6
  import React__default, { Suspense } from 'react';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import Row from 'react-bootstrap/Row';
@@ -6,7 +6,7 @@ import './main-155ec04f.js';
6
6
  import './toConsumableArray-eb308ede.js';
7
7
  import './core.get-iterator-method-31c1fb1a.js';
8
8
  import './extends-dbbe308d.js';
9
- import './inherits-4cae443b.js';
9
+ import './inherits-2a854891.js';
10
10
  import 'react';
11
11
  import 'prop-types';
12
12
  import 'react-bootstrap/Container';
@@ -25,4 +25,4 @@ import './AdSlot-3d2ecc87.js';
25
25
  import './promise-e3480f1c.js';
26
26
  import './ADInfeed-94f767ec.js';
27
27
  import './get-9c285a85.js';
28
- export { G as default } from './GridContent-ce2f615a.js';
28
+ export { G as default } from './GridContent-7ea9958c.js';
@@ -6,7 +6,7 @@ import { m as main_36 } from './main-155ec04f.js';
6
6
  import { _ as _toConsumableArray } from './toConsumableArray-eb308ede.js';
7
7
  import './core.get-iterator-method-31c1fb1a.js';
8
8
  import { _ as _extends } from './extends-dbbe308d.js';
9
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4cae443b.js';
9
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-2a854891.js';
10
10
  import React__default from 'react';
11
11
  import 'prop-types';
12
12
  import Container from 'react-bootstrap/Container';
@@ -862,34 +862,6 @@ var NavMagazine = function NavMagazine(props) {
862
862
  React__default.createElement(
863
863
  Nav,
864
864
  { className: 'mr-auto' },
865
- showLogin && userChecked && userLoggedIn && React__default.createElement(
866
- React__default.Fragment,
867
- null,
868
- React__default.createElement(
869
- 'a',
870
- { key: 'mobile-profile', href: '/auth/profile', className: 'nav-link' },
871
- 'Profile'
872
- ),
873
- React__default.createElement(
874
- 'a',
875
- { key: 'mobile-logout', href: '/api/auth/logout', className: 'nav-link' },
876
- 'Log Out'
877
- )
878
- ),
879
- showLogin && userChecked && !userLoggedIn && React__default.createElement(
880
- React__default.Fragment,
881
- null,
882
- React__default.createElement(
883
- 'a',
884
- { key: 'mobile-signup', href: '/auth/signup', className: 'nav-link' },
885
- 'Sign Up'
886
- ),
887
- React__default.createElement(
888
- 'a',
889
- { key: 'mobile-login', href: '/auth/login', className: 'nav-link' },
890
- 'Log In'
891
- )
892
- ),
893
865
  subNav && subNav.map(function (row, index) {
894
866
  if (row.subQuery && row.subQuery.length > 0) {
895
867
  return row.name ? React__default.createElement(
@@ -18,7 +18,7 @@ import './react-social-icons-a7d5c5c7.js';
18
18
  import 'react-bootstrap';
19
19
  import './index.esm-536609db.js';
20
20
  import 'react-bootstrap/Button';
21
- export { T as default } from './Normal-0bf73d75.js';
21
+ export { T as default } from './Normal-46a7df31.js';
22
22
  import 'react-bootstrap/ListGroup';
23
23
  import 'next/head';
24
24
  import 'react-bootstrap/Nav';
@@ -3,7 +3,7 @@ import './_to-object-b9b796ec.js';
3
3
  import './web.dom.iterable-3be50d6c.js';
4
4
  import { d as debounce_1, l as lib_3 } from './debounce-93ab8f80.js';
5
5
  import { _ as _extends } from './extends-dbbe308d.js';
6
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4cae443b.js';
6
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-2a854891.js';
7
7
  import React__default from 'react';
8
8
  import 'prop-types';
9
9
  import Container from 'react-bootstrap/Container';
package/dist/esm/index.js CHANGED
@@ -6,7 +6,7 @@ import { m as main_36, a as main_16, b as main_35 } from './main-155ec04f.js';
6
6
  import { _ as _toConsumableArray, a as _Array$from } from './toConsumableArray-eb308ede.js';
7
7
  import './core.get-iterator-method-31c1fb1a.js';
8
8
  import { _ as _extends$2 } from './extends-dbbe308d.js';
9
- import { _ as _objectSap, a as _inherits$1, b as _classCallCheck$1, c as _possibleConstructorReturn$1, d as _Object$getPrototypeOf, e as _createClass$1, f as defineProperty$2 } from './inherits-4cae443b.js';
9
+ import { _ as _objectSap, a as _inherits$1, b as _classCallCheck$1, c as _possibleConstructorReturn$1, d as _Object$getPrototypeOf, e as _createClass$1 } from './inherits-2a854891.js';
10
10
  import React__default, { useState, useRef, useEffect } from 'react';
11
11
  import PropTypes from 'prop-types';
12
12
  import Container from 'react-bootstrap/Container';
@@ -27,7 +27,7 @@ import './promise-e3480f1c.js';
27
27
  import './ADInfeed-94f767ec.js';
28
28
  export { default as DeckContent } from './DeckContent.js';
29
29
  import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-9c285a85.js';
30
- export { A as AD, G as GridContent } from './GridContent-ce2f615a.js';
30
+ export { A as AD, G as GridContent } from './GridContent-7ea9958c.js';
31
31
  export { default as DeckQueue } from './DeckQueue.js';
32
32
  import 'react-bootstrap/Media';
33
33
  export { default as ThumbnailCard } from './ThumbnailCard.js';
@@ -49,8 +49,8 @@ export { default as IssueDeck } from './IssueDeck.js';
49
49
  import 'react-bootstrap/Badge';
50
50
  export { default as IssueContentDeck } from './IssueContentDeck.js';
51
51
  import Spinner from 'react-bootstrap/Spinner';
52
- import { M as MdPictureAsPdf } from './Normal-0bf73d75.js';
53
- export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-0bf73d75.js';
52
+ import { M as MdPictureAsPdf } from './Normal-46a7df31.js';
53
+ export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-46a7df31.js';
54
54
  import 'react-bootstrap/ListGroup';
55
55
  import Head from 'next/head';
56
56
  import Accordion from 'react-bootstrap/Accordion';
@@ -16657,34 +16657,6 @@ var KMTracker = function KMTracker(props) {
16657
16657
  }
16658
16658
  };
16659
16659
 
16660
- var defineProperty = createCommonjsModule(function (module, exports) {
16661
-
16662
- exports.__esModule = true;
16663
-
16664
-
16665
-
16666
- var _defineProperty2 = _interopRequireDefault(defineProperty$2);
16667
-
16668
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16669
-
16670
- exports.default = function (obj, key, value) {
16671
- if (key in obj) {
16672
- (0, _defineProperty2.default)(obj, key, {
16673
- value: value,
16674
- enumerable: true,
16675
- configurable: true,
16676
- writable: true
16677
- });
16678
- } else {
16679
- obj[key] = value;
16680
- }
16681
-
16682
- return obj;
16683
- };
16684
- });
16685
-
16686
- var _defineProperty$1 = unwrapExports(defineProperty);
16687
-
16688
16660
  var returnFormField = function returnFormField(_ref) {
16689
16661
  var name = _ref.name,
16690
16662
  label = _ref.label,
@@ -16778,7 +16750,7 @@ var returnFormField = function returnFormField(_ref) {
16778
16750
  if (type == 'radio' || type == 'checkbox') {
16779
16751
  return React__default.createElement(
16780
16752
  Form.Group,
16781
- _extends$2({}, opts, { controlId: name }),
16753
+ opts,
16782
16754
  React__default.createElement(
16783
16755
  Form.Label,
16784
16756
  null,
@@ -16790,9 +16762,12 @@ var returnFormField = function returnFormField(_ref) {
16790
16762
  )
16791
16763
  ),
16792
16764
  options.map(function (option, index) {
16793
- var _React$createElement;
16794
-
16795
- return React__default.createElement(Form.Check, (_React$createElement = { type: type, key: index, defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index }, _defineProperty$1(_React$createElement, 'key', index), _defineProperty$1(_React$createElement, 'value', option.value), _defineProperty$1(_React$createElement, 'label', option.label), _defineProperty$1(_React$createElement, 'required', required), _React$createElement));
16765
+ return React__default.createElement(
16766
+ Form.Check,
16767
+ { type: type, key: index, required: required },
16768
+ React__default.createElement(Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
16769
+ React__default.createElement(Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
16770
+ );
16796
16771
  })
16797
16772
  );
16798
16773
  }
@@ -17386,7 +17361,7 @@ var SignupForm = function SignupForm(props) {
17386
17361
  label: 'Terms & Conditions | Privacy Policy',
17387
17362
  type: 'checkbox',
17388
17363
  required: true,
17389
- options: [{ label: 'By registering you agree to our Terms and Conditions and Privacy Policy and understand that you will be receiving email communications', value: 'Y' }]
17364
+ options: [{ label: 'By registering you agree to our <a href="/terms" style="color:blue">Terms and Conditions</a> and <a href="/privacy" style="color:blue">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
17390
17365
  }),
17391
17366
  React__default.createElement('hr', null),
17392
17367
  React__default.createElement(
@@ -17810,7 +17785,7 @@ var SignupForm$1 = function SignupForm(props) {
17810
17785
  label: 'Terms & Conditions | Privacy Policy',
17811
17786
  type: 'checkbox',
17812
17787
  required: true,
17813
- options: [{ label: 'By registering you agree to our Terms and Conditions and Privacy Policy and understand that you will be receiving email communications', value: 'Y' }]
17788
+ options: [{ label: 'By registering you agree to our <a href="/terms">Terms and Conditions</a> and <a href="/privacy">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
17814
17789
  }),
17815
17790
  React__default.createElement('hr', null),
17816
17791
  React__default.createElement(
@@ -18360,7 +18335,7 @@ var arePropertyDescriptorsSupported = function () {
18360
18335
  };
18361
18336
  var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();
18362
18337
 
18363
- var defineProperty$1 = function (object, name, value, predicate) {
18338
+ var defineProperty = function (object, name, value, predicate) {
18364
18339
  if (name in object && (!isFunction$1(predicate) || !predicate())) {
18365
18340
  return;
18366
18341
  }
@@ -18383,7 +18358,7 @@ var defineProperties = function (object, map) {
18383
18358
  props = concat.call(props, Object.getOwnPropertySymbols(map));
18384
18359
  }
18385
18360
  for (var i = 0; i < props.length; i += 1) {
18386
- defineProperty$1(object, props[i], map[props[i]], predicates[props[i]]);
18361
+ defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
18387
18362
  }
18388
18363
  };
18389
18364
 
@@ -638,4 +638,4 @@ exports.default = function (subClass, superClass) {
638
638
 
639
639
  var _inherits = unwrapExports(inherits);
640
640
 
641
- export { _objectSap as _, _inherits as a, _classCallCheck as b, _possibleConstructorReturn as c, _Object$getPrototypeOf as d, _createClass as e, defineProperty$1 as f };
641
+ export { _objectSap as _, _inherits as a, _classCallCheck as b, _possibleConstructorReturn as c, _Object$getPrototypeOf as d, _createClass as e };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.297",
3
+ "version": "1.0.298",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",