@zohodesk/components 1.0.0-temp-159 → 1.0.0-temp-160

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.
Files changed (54) hide show
  1. package/es/DateTime/DateTime.js +8 -4
  2. package/es/DateTime/props/defaultProps.js +2 -1
  3. package/es/TextBox/TextBox.module.css +5 -8
  4. package/es/Textarea/Textarea.module.css +4 -3
  5. package/es/utils/datetime/GMTZones.js +48 -0
  6. package/es/utils/datetime/common.js +15 -2
  7. package/lib/DateTime/DateTime.js +9 -5
  8. package/lib/DateTime/DateTimePopupFooter.js +1 -1
  9. package/lib/DateTime/DateTimePopupHeader.js +1 -1
  10. package/lib/DateTime/DateWidget.js +1 -1
  11. package/lib/DateTime/DaysRow.js +1 -1
  12. package/lib/DateTime/Time.js +1 -1
  13. package/lib/DateTime/YearView.js +1 -1
  14. package/lib/DateTime/dateFormatUtils/timeChange.js +1 -1
  15. package/lib/DateTime/props/defaultProps.js +2 -1
  16. package/lib/Label/Label.js +1 -3
  17. package/lib/ListItem/ListContainer.js +1 -1
  18. package/lib/ListItem/ListItem.js +1 -1
  19. package/lib/ListItem/ListItemWithAvatar.js +1 -1
  20. package/lib/ListItem/ListItemWithIcon.js +1 -1
  21. package/lib/Modal/Modal.js +1 -1
  22. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  23. package/lib/MultiSelect/AdvancedMultiSelect.js +2 -1
  24. package/lib/MultiSelect/EmptyState.js +1 -1
  25. package/lib/MultiSelect/MultiSelect.js +2 -1
  26. package/lib/MultiSelect/MultiSelectHeader.js +1 -1
  27. package/lib/MultiSelect/MultiSelectWithAvatar.js +1 -1
  28. package/lib/MultiSelect/SelectedOptions.js +1 -1
  29. package/lib/MultiSelect/Suggestions.js +1 -1
  30. package/lib/Popup/Popup.js +1 -1
  31. package/lib/Popup/__tests__/Popup.spec.js +1 -1
  32. package/lib/Radio/Radio.js +1 -1
  33. package/lib/Responsive/CustomResponsive.js +1 -0
  34. package/lib/Responsive/ResizeComponent.js +1 -3
  35. package/lib/Responsive/Responsive.js +1 -1
  36. package/lib/Ribbon/Ribbon.js +1 -1
  37. package/lib/Select/GroupSelect.js +1 -1
  38. package/lib/Select/Select.js +2 -1
  39. package/lib/Select/SelectWithAvatar.js +1 -1
  40. package/lib/Select/SelectWithIcon.js +1 -1
  41. package/lib/Select/__tests__/Select.spec.js +1 -1
  42. package/lib/Stencils/Stencils.js +1 -1
  43. package/lib/Tab/Tab.js +1 -1
  44. package/lib/Tab/Tabs.js +1 -7
  45. package/lib/TextBox/TextBox.js +1 -1
  46. package/lib/TextBox/TextBox.module.css +5 -8
  47. package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +1 -0
  48. package/lib/Textarea/Textarea.js +1 -1
  49. package/lib/Textarea/Textarea.module.css +4 -3
  50. package/lib/deprecated/PortalLayer/PortalLayer.js +1 -1
  51. package/lib/utils/datetime/GMTZones.js +55 -0
  52. package/lib/utils/datetime/common.js +18 -2
  53. package/lib/utils/dropDownUtils.js +1 -1
  54. package/package.json +1 -1
@@ -154,7 +154,8 @@ export default class DateTime extends React.PureComponent {
154
154
  timeZone,
155
155
  isDateTimeField,
156
156
  dateFormat,
157
- is24Hour
157
+ is24Hour,
158
+ customDateFormat
158
159
  } = this.props;
159
160
  let {
160
161
  year,
@@ -179,10 +180,13 @@ export default class DateTime extends React.PureComponent {
179
180
  selectedInMillis,
180
181
  selectedValue = '',
181
182
  formattedValue;
182
- if (isDateTimeField) {
183
- selectedInMillis = datetime.tz.tzToUtc(Date.UTC(year, month, date, hours, mins), timeZone);
183
+ let currentDate = new Date();
184
+ let sec = currentDate.getSeconds();
185
+ let milliSec = currentDate.getMilliseconds();
186
+ if (isDateTimeField || customDateFormat) {
187
+ selectedInMillis = datetime.tz.tzToUtc(Date.UTC(year, month, date, hours, mins, sec, milliSec), timeZone);
184
188
  selectedValue = datetime.ISO(selectedInMillis);
185
- formattedValue = formatDate(new Date(year, month, date, hours, mins), is24Hour ? `${dateFormat} HH:mm` : `${dateFormat} hh:mm A`);
189
+ formattedValue = formatDate(new Date(year, month, date, hours, mins, sec, milliSec), customDateFormat == null ? is24Hour ? `${dateFormat} HH:mm:ss` : `${dateFormat} hh:mm:ss A` : `${customDateFormat}`);
186
190
  } else {
187
191
  selectedInMillis = Date.UTC(year, month, date);
188
192
  selectedValue = formatDate(new Date(year, month, date), 'YYYY-MM-DD');
@@ -19,7 +19,8 @@ export const DateTime_defaultProps = {
19
19
  isPadding: false,
20
20
  i18nKeys: {},
21
21
  is24Hour: false,
22
- isDefaultPosition: false
22
+ isDefaultPosition: false,
23
+ customDateFormat: null
23
24
  };
24
25
  export const DateWidget_defaultProps = {
25
26
  borderColor: 'default',
@@ -13,6 +13,7 @@
13
13
  /* Variable:Ignore */
14
14
  --textbox_letter_spacing: 0.1px;
15
15
  --textbox_padding: 0;
16
+ --textbox_cursor: auto;
16
17
  --textbox_line_height: 35px;
17
18
 
18
19
  /* textbox placeholder default variable */
@@ -25,7 +26,7 @@
25
26
  appearance: none;
26
27
  letter-spacing: var(--textbox_letter_spacing);
27
28
  border: var(--textbox_border_width);
28
- cursor: text;
29
+ cursor: var(--textbox_cursor);
29
30
  }
30
31
  .basic::placeholder {
31
32
  color: var(--textbox_placeholder_text_color);
@@ -59,11 +60,9 @@
59
60
  .basic:disabled,
60
61
  .container:disabled,
61
62
  .container:disabled:hover {
63
+ --textbox_cursor: not-allowed;
62
64
  --textbox_text_color: var(--zdt_textbox_disabled_text);
63
65
  }
64
- .basic:disabled, .container:disabled, .container:disabled:hover {
65
- cursor: not-allowed;
66
- }
67
66
  .container:disabled,
68
67
  .container:disabled:hover {
69
68
  --textbox_bg_color: none;
@@ -81,7 +80,7 @@
81
80
  color: var(--textbox_placeholder_text_color);
82
81
  }
83
82
  .pointer {
84
- cursor: pointer;
83
+ --textbox_cursor: pointer;
85
84
  }
86
85
  /* Need Border */
87
86
  .border, .effect:hover, .effect:focus {
@@ -153,9 +152,7 @@
153
152
  .readonly,
154
153
  .readonly:hover,
155
154
  .readonly:focus {
155
+ --textbox_cursor: not-allowed;
156
156
  --textbox_text_color: var(--zdt_textbox_default_text);
157
157
  --textbox_bg_color: none;
158
158
  }
159
- .readonly, .readonly:hover, .readonly:focus {
160
- cursor: not-allowed;
161
- }
@@ -2,6 +2,7 @@
2
2
  /* textarea default variables */
3
3
  --textarea_border_width: 0;
4
4
  --textarea_border_color: none;
5
+ --textarea_cursor: auto;
5
6
  --textarea_text_color: var(--zdt_textarea_default_text);
6
7
  --textarea_font_size: 14px;
7
8
  --textarea_line_height: 22px;
@@ -19,7 +20,7 @@
19
20
  outline: 0;
20
21
  letter-spacing: 0.1px;
21
22
  color: var(--textarea_text_color);
22
- cursor:text;
23
+ cursor: var(--textarea_cursor);
23
24
  }
24
25
  .basic, .noBorder {
25
26
  border-width: var(--textarea_border_width);
@@ -37,11 +38,11 @@
37
38
  color: var(--textarea_placeholder_text_color);
38
39
  }
39
40
  .basic:disabled {
41
+ --textarea_cursor: not-allowed;
40
42
  --textarea_text_color: var(--zdt_textarea_default_text);
41
- cursor: not-allowed;
42
43
  }
43
44
  .readonly {
44
- cursor: not-allowed;
45
+ --textarea_cursor: not-allowed;
45
46
  }
46
47
  .resizeX {
47
48
  composes: resizeX from '../common/common.module.css';
@@ -0,0 +1,48 @@
1
+ export const offsetMap = {
2
+ 0: 'GMT+00:00 Africa/Abidjan',
3
+ 44: 'GMT+00:00 Africa/Monrovia',
4
+ 60: 'GMT+01:00 Africa/Bangui',
5
+ 120: 'GMT+02:00 Africa/Blantyre',
6
+ 180: 'GMT+03:00 Africa/Addis_Ababa',
7
+ 210: 'GMT+04:30 Asia/Tehran',
8
+ 240: 'GMT+03:00 Asia/Bahrain',
9
+ 270: 'GMT+04:30 Asia/Kabul',
10
+ 300: 'GMT+05:00 Asia/Aqtau',
11
+ '-330': 'GMT+05:30 Asia/Kolkata',
12
+ 360: 'GMT+06:00 Asia/Dacca',
13
+ 390: 'GMT+06:30 Indian/Cocos',
14
+ 420: 'GMT+07:00 Asia/Bangkok',
15
+ 450: 'GMT+08:00 Asia/Singapore',
16
+ 480: 'GMT+08:00 Asia/Hong_Kong',
17
+ 510: 'GMT+08:00 Asia/Harbin',
18
+ 525: 'GMT+08:45 Australia/Eucla',
19
+ 540: 'GMT+09:00 Asia/Chita',
20
+ 570: 'GMT+09:30 Australia/Adelaide',
21
+ 600: 'GMT+10:00 Antarctica/DumontDUrville',
22
+ 660: 'GMT+11:00 Asia/Magadan',
23
+ 690: 'GMT+11:00 Pacific/Norfolk',
24
+ 720: 'GMT+12:00 Asia/Kamchatka',
25
+ 765: 'GMT+12:45 Pacific/Chatham',
26
+ 780: 'GMT+12:00 Asia/Anadyr',
27
+ 840: 'GMT+14:00 Etc/GMT-14',
28
+ '-60': 'GMT-01:00 Etc/GMT+1',
29
+ '-660': 'GMT-11:00 US/Samoa',
30
+ '-600': 'GMT-04:00 America/Anguilla',
31
+ '-240': 'GMT-04:00 America/Antigua',
32
+ '-180': 'GMT-03:00 America/Araguaina',
33
+ '-300': 'GMT-05:00 America/Atikokan',
34
+ '-480': 'GMT-05:00 America/Bahia_Banderas',
35
+ '-360': 'GMT-06:00 America/Belize',
36
+ '-420': 'GMT-06:00 America/Boise',
37
+ '-540': 'GMT-07:00 America/Dawson',
38
+ '-135': 'GMT-04:00 America/Guyana',
39
+ '-120': 'GMT-02:00 Etc/GMT+2',
40
+ '-150': 'GMT-03:00 America/Paramaribo',
41
+ '-210': 'GMT-04:00 America/Santo_Domingo',
42
+ '-720': 'GMT+12:00 Pacific/Kwajalein',
43
+ '-560': 'GMT+14:00 Pacific/Kiritimati',
44
+ '-510': 'GMT-09:30 Pacific/Marquesas',
45
+ '-630': 'GMT-11:00 Pacific/Niue',
46
+ '-450': 'GMT-08:00 Pacific/Pitcairn',
47
+ '-570': 'GMT-10:00 Pacific/Rarotonga'
48
+ };
@@ -1,3 +1,4 @@
1
+ import { offsetMap } from './GMTZones.js';
1
2
  let dateFormat = {
2
3
  dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
3
4
  monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
@@ -10,8 +11,15 @@ export function pad(n) {
10
11
  n = `${n}`;
11
12
  return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
12
13
  }
14
+ export function getTimeOffset() {
15
+ const GMT = new Date();
16
+ const matchingOffset = Object.keys(offsetMap).find(offset => GMT.getTimezoneOffset() === Number(offset));
17
+ return matchingOffset ? offsetMap[matchingOffset].toString().split(' ') : ['', ''];
18
+ }
13
19
  export function formatDate(dateMill, mask) {
14
20
  let date = new Date(dateMill);
21
+ let O = getTimeOffset()[0];
22
+ let Z = getTimeOffset()[1];
15
23
  let d = date.getDate();
16
24
  let D = date.getDay();
17
25
  let m = date.getMonth();
@@ -22,6 +30,7 @@ export function formatDate(dateMill, mask) {
22
30
  let L = date.getMilliseconds();
23
31
  let flags = {
24
32
  d: d,
33
+ O: O,
25
34
  dd: pad(d, 2),
26
35
  ddd: dateFormat.dayNames[D],
27
36
  dddd: dateFormat.dayNames[D + 7],
@@ -49,9 +58,13 @@ export function formatDate(dateMill, mask) {
49
58
  L: pad(Math.round(L / 10)),
50
59
  t: H < 12 ? dateFormat.timeNames[0] : dateFormat.timeNames[1],
51
60
  A: H < 12 ? dateFormat.timeNames[6] : dateFormat.timeNames[7],
52
- T: H < 12 ? dateFormat.timeNames[4] : dateFormat.timeNames[5]
61
+ a: H < 12 ? dateFormat.timeNames[6] : dateFormat.timeNames[7],
62
+ T: H < 12 ? dateFormat.timeNames[4] : dateFormat.timeNames[5],
63
+ Z: Z,
64
+ VV: Z,
65
+ SSS: pad(L, 3)
53
66
  };
54
- let token = /D{1,4}|d{1,4}|M{1,4}|YYYY|yyyy|YY|yy?|([HhmsA])\1?|[LloSZWN]|\[[^\]]*\]|'[^']*'/g;
67
+ let token = /D{1,4}|d{1,4}|M{1,4}|YYYY|yyyy|YY|O|Z|VV|SSS|yy?|([HhmsAa])\1?|[LloSZWN]|\[[^\]]*\]|'[^']*'/g;
55
68
  let dat = mask.replace(token, match => {
56
69
  if (match in flags) {
57
70
  return flags[match];
@@ -39,7 +39,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
39
39
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
40
40
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41
41
  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; } }
42
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [0, { markAsUsed: ['datesStr', 'dateContainer', 'dateRow', 'today', 'emptySpan', 'dropDown'] }] */ /* eslint-disable react/forbid-component-props */
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
43
  function title(date, year, month) {
44
44
  var monthNames = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
45
45
  var HeadingText = "".concat(monthNames[month] || '', " ").concat(year);
@@ -194,7 +194,8 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
194
194
  timeZone = _this$props2.timeZone,
195
195
  isDateTimeField = _this$props2.isDateTimeField,
196
196
  dateFormat = _this$props2.dateFormat,
197
- is24Hour = _this$props2.is24Hour;
197
+ is24Hour = _this$props2.is24Hour,
198
+ customDateFormat = _this$props2.customDateFormat;
198
199
  var year = selectedInfo.year,
199
200
  month = selectedInfo.month,
200
201
  date = selectedInfo.date,
@@ -216,10 +217,13 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
216
217
  selectedInMillis,
217
218
  selectedValue = '',
218
219
  formattedValue;
219
- if (isDateTimeField) {
220
- selectedInMillis = _datetimejs["default"].tz.tzToUtc(Date.UTC(year, month, date, hours, mins), timeZone);
220
+ var currentDate = new Date();
221
+ var sec = currentDate.getSeconds();
222
+ var milliSec = currentDate.getMilliseconds();
223
+ if (isDateTimeField || customDateFormat) {
224
+ selectedInMillis = _datetimejs["default"].tz.tzToUtc(Date.UTC(year, month, date, hours, mins, sec, milliSec), timeZone);
221
225
  selectedValue = _datetimejs["default"].ISO(selectedInMillis);
222
- formattedValue = (0, _common.formatDate)(new Date(year, month, date, hours, mins), is24Hour ? "".concat(dateFormat, " HH:mm") : "".concat(dateFormat, " hh:mm A"));
226
+ formattedValue = (0, _common.formatDate)(new Date(year, month, date, hours, mins, sec, milliSec), customDateFormat == null ? is24Hour ? "".concat(dateFormat, " HH:mm:ss") : "".concat(dateFormat, " hh:mm:ss A") : "".concat(customDateFormat));
223
227
  } else {
224
228
  selectedInMillis = Date.UTC(year, month, date);
225
229
  selectedValue = (0, _common.formatDate)(new Date(year, month, date), 'YYYY-MM-DD');
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
23
23
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
24
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
25
  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; } }
26
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /** ** Components *** */ /** ** CSS *** */
26
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
27
  var DateTimePopupFooter = /*#__PURE__*/function (_PureComponent) {
28
28
  _inherits(DateTimePopupFooter, _PureComponent);
29
29
  var _super = _createSuper(DateTimePopupFooter);
@@ -24,7 +24,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
24
24
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
25
25
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
26
  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; } }
27
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /** ** Components *** */ /** ** CSS *** */
27
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
28
28
  var Span = /*#__PURE__*/function (_React$PureComponent) {
29
29
  _inherits(Span, _React$PureComponent);
30
30
  var _super = _createSuper(Span);
@@ -37,7 +37,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
37
37
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
38
38
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
39
39
  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; } }
40
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/ /**** Methods ****/ /** * Constants ** */
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
41
  /* eslint-disable react/no-unused-prop-types */
42
42
  /* eslint css-modules/no-unused-class: [0, { markAsUsed: 'inputLine'] }] */
43
43
  var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
@@ -22,7 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
22
22
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
23
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
24
  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; } }
25
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /** ** CSS *** */ /** ** Components *** */
25
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
26
26
  var DaysRow = /*#__PURE__*/function (_PureComponent) {
27
27
  _inherits(DaysRow, _PureComponent);
28
28
  var _super = _createSuper(DaysRow);
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
23
23
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
24
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
25
  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; } }
26
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /** ** Libraries *** */ /**** Components ****/ /** ** CSS *** */
26
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
27
  var Time = /*#__PURE__*/function (_PureComponent) {
28
28
  _inherits(Time, _PureComponent);
29
29
  var _super = _createSuper(Time);
@@ -26,7 +26,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
26
26
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
27
27
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
28
28
  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; } }
29
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/ /**** Methods ****/
29
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
30
  var monthNamesData = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
31
31
  function getYears() {
32
32
  var years = [];
@@ -13,7 +13,7 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
13
13
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
14
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
15
15
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
16
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /** * Methods ** */
16
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  function getChangedHour(values, event, focusOrders, keyActions) {
18
18
  var _ref = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {},
19
19
  _ref$is24Hour = _ref.is24Hour,
@@ -27,7 +27,8 @@ var DateTime_defaultProps = {
27
27
  isPadding: false,
28
28
  i18nKeys: {},
29
29
  is24Hour: false,
30
- isDefaultPosition: false
30
+ isDefaultPosition: false,
31
+ customDateFormat: null
31
32
  };
32
33
  exports.DateTime_defaultProps = DateTime_defaultProps;
33
34
  var DateWidget_defaultProps = {
@@ -22,9 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
22
22
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
23
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
24
  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; } }
25
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [2, { markAsUsed: [
26
- 'small', 'medium', 'large', 'title', 'subtitle', 'default', 'primary', 'secondary', 'danger', 'mandatory'
27
- ]}] */
25
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
28
26
  var Label = /*#__PURE__*/function (_React$Component) {
29
27
  _inherits(Label, _React$Component);
30
28
  var _super = _createSuper(Label);
@@ -15,7 +15,7 @@ var _CustomResponsive = require("../Responsive/CustomResponsive");
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
16
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /**** Libraries ****/
18
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
19
19
  var ListContainer = function ListContainer(props) {
20
20
  var size = props.size,
21
21
  active = props.active,
@@ -25,7 +25,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
25
25
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
26
26
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
27
27
  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; } }
28
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
28
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
29
  var ListItem = /*#__PURE__*/function (_React$Component) {
30
30
  _inherits(ListItem, _React$Component);
31
31
  var _super = _createSuper(ListItem);
@@ -27,7 +27,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
27
27
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
28
28
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
29
29
  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; } }
30
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
30
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
31
31
  var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
32
32
  _inherits(ListItemWithAvatar, _React$PureComponent);
33
33
  var _super = _createSuper(ListItemWithAvatar);
@@ -25,7 +25,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
25
25
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
26
26
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
27
27
  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; } }
28
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** CSS ****/
28
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
29
  var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
30
30
  _inherits(ListItemWithIcon, _React$Component);
31
31
  var _super = _createSuper(ListItemWithIcon);
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
23
23
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
24
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
25
  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; } }
26
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/
26
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
27
  var createdPortalIds = [];
28
28
  var newPortalPrefix = 'CPortal';
29
29
  var portalChildrenTopIndexValues;
@@ -50,7 +50,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
50
50
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
51
51
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
52
52
  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; } }
53
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Components ****/ /**** Icons ****/ /**** CSS ****/ /**** Methods ****/
53
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
54
54
  /* eslint-disable react/forbid-component-props */
55
55
  /* eslint-disable react/no-unused-prop-types */
56
56
  var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
@@ -46,10 +46,11 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
46
46
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
47
47
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
48
48
  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; } }
49
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/ /**** Methods ****/
49
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
50
50
  /* eslint-disable react/sort-prop-types */
51
51
  /* eslint-disable react/no-unused-prop-types */
52
52
  /* eslint-disable react/forbid-component-props */
53
+
53
54
  var dummyArray = [];
54
55
  var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent) {
55
56
  _inherits(AdvancedMultiSelectComponent, _MultiSelectComponent);
@@ -21,7 +21,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
21
21
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
22
22
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
23
23
  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; } }
24
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** CSS ****/
24
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
25
  var EmptyState = /*#__PURE__*/function (_React$PureComponent) {
26
26
  _inherits(EmptyState, _React$PureComponent);
27
27
  var _super = _createSuper(EmptyState);
@@ -50,9 +50,10 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
50
50
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
51
51
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
52
52
  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; } }
53
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Icons ****/ /**** CSS ****/ /**** Methods ****/
53
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
54
54
  /* eslint-disable react/forbid-component-props */
55
55
  /* eslint-disable react/no-unused-prop-types */
56
+
56
57
  var dummyArray = [];
57
58
  var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
58
59
  _inherits(MultiSelectComponent, _React$Component);
@@ -22,7 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
22
22
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
23
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
24
  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; } }
25
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Icons ****/ /**** CSS ****/
25
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
26
26
  var MultiSelectHeader = /*#__PURE__*/function (_React$PureComponent) {
27
27
  _inherits(MultiSelectHeader, _React$PureComponent);
28
28
  var _super = _createSuper(MultiSelectHeader);
@@ -39,7 +39,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
39
39
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
40
40
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41
41
  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; } }
42
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Icons ****/ /**** CSS ****/
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
43
  /*eslint-disable react/sort-prop-types*/
44
44
  /* eslint-disable react/forbid-component-props */
45
45
  /* eslint-disable react/no-unused-prop-types */
@@ -24,7 +24,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
24
24
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
25
25
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
26
  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; } }
27
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Style ****/
27
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
28
28
  /* eslint-disable react/forbid-component-props */
29
29
  var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
30
30
  _inherits(SelectedOptions, _React$PureComponent);
@@ -28,7 +28,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
28
28
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
29
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
30
30
  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; } }
31
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/
31
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
32
32
  var Suggestions = /*#__PURE__*/function (_React$PureComponent) {
33
33
  _inherits(Suggestions, _React$PureComponent);
34
34
  var _super = _createSuper(Suggestions);
@@ -31,7 +31,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
31
31
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
32
32
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
33
33
  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; } }
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Methods ****/
34
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
35
  var lastOpenedGroup = [];
36
36
  var popups = {};
37
37
  global.closeGroupPopups = function (groupName) {
@@ -17,7 +17,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
17
17
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
18
18
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
19
19
  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; } }
20
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable no-undef */ /**** Libraries ****/ /**** Components ****/
20
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
21
21
  var SamplePopup = /*#__PURE__*/function (_React$Component) {
22
22
  _inherits(SamplePopup, _React$Component);
23
23
  var _super = _createSuper(SamplePopup);
@@ -23,7 +23,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
23
23
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
24
24
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
25
25
  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; } }
26
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium'] }] */
26
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
27
27
  var Radio = /*#__PURE__*/function (_React$Component) {
28
28
  _inherits(Radio, _React$Component);
29
29
  var _super = _createSuper(Radio);
@@ -31,6 +31,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
31
31
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
32
32
  // const commonBreakPoints = [ 480, 640, 768, 1024, 1440 ];
33
33
  // const otherBreakPoints = [320, 360, 375, 720, 1280, 1600, 1920];
34
+
34
35
  // defaultResponsiveId means if ResponsiveSender do not recive id This will be id
35
36
  var defaultResponsiveId = 'parent_sender';
36
37
 
@@ -24,9 +24,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
24
24
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
25
25
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
26
26
  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; } }
27
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable */ // QUestions to be discussed
28
- //1) mutation.type === 'characterData' needed ???
29
- // 2) debounce Mutation observer and resize observer
27
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
28
  var ResizeComponent = /*#__PURE__*/function (_React$Component) {
31
29
  _inherits(ResizeComponent, _React$Component);
32
30
  var _super = _createSuper(ResizeComponent);
@@ -38,7 +38,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
38
38
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
39
39
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40
40
  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; } }
41
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } // import React, { useState, useMemo, useCallback, useContext } from 'react';
41
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
42
42
  // const sortedBreackPointKey = [ 'MOBILE_XS', 'MOBILE_S', 'MOBILE_M', 'MOBILE', 'TABLET_S', 'TABLET_M', 'TABLET', 'LAPTOP_S', 'LAPTOP_M', 'LAPTOP', 'MONITOR_M', 'MONITOR'];
43
43
 
44
44
  var ResponsiveContext = /*#__PURE__*/_react["default"].createContext({});
@@ -21,7 +21,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
21
21
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
22
22
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
23
23
  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; } }
24
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [2, { markAsUsed: [default, flag, plain, ribbon, box, stamp, sticker, small, medium, large, xlarge, palette_default, palette_danger, palette_primary, palette_secondary, palette_info, palette_dark, plain_default, plain_danger, plain_primary, plain_secondary, plain_info, plain_dark, tag] }] */
24
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
25
  var Ribbon = /*#__PURE__*/function (_React$Component) {
26
26
  _inherits(Ribbon, _React$Component);
27
27
  var _super = _createSuper(Ribbon);
@@ -44,7 +44,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
44
44
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
45
45
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
46
46
  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; } }
47
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Methods ****/
47
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
48
48
  /* eslint-disable react/no-unused-prop-types */
49
49
  /* eslint-disable react/sort-prop-types */
50
50
  /* eslint-disable react/forbid-component-props */
@@ -39,9 +39,10 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
39
39
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
40
40
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
41
41
  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; } }
42
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** Methods ****/ /**** CSS ****/
42
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
43
43
  /* eslint-disable react/no-deprecated */
44
44
  /* eslint-disable react/no-unused-prop-types */
45
+
45
46
  var dummyArray = [];
46
47
  var SelectComponent = /*#__PURE__*/function (_Component) {
47
48
  _inherits(SelectComponent, _Component);
@@ -38,7 +38,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
38
38
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
39
39
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
40
40
  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; } }
41
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Libraries ****/ /**** Components ****/ /**** CSS ****/
41
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
42
42
  var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
43
43
  _inherits(SelectWithAvatarComponent, _SelectComponent);
44
44
  var _super = _createSuper(SelectWithAvatarComponent);
@@ -35,7 +35,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
35
35
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
36
36
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
37
  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; } }
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /**** Components ****/ /**** Methods ****/ /**** CSS ****/
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
  var SelectWithIcon = /*#__PURE__*/function (_Component) {
40
40
  _inherits(SelectWithIcon, _Component);
41
41
  var _super = _createSuper(SelectWithIcon);
@@ -9,7 +9,7 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
9
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
11
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /* eslint-disable no-undef */ /**** Libraries ****/ /**** Components ****/
12
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  describe('Select component conditions', function () {
14
14
  it('Select component with down arrow', function () {
15
15
  var _setup = setup(_Select["default"], {
@@ -21,7 +21,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
21
21
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
22
22
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
23
23
  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; } }
24
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [2, { markAsUsed: [primary, secondary, small, default, medium, large, clarge, cmedium, cdefault, csmall] }] */
24
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
25
  var Stencils = /*#__PURE__*/function (_React$PureComponent) {
26
26
  _inherits(Stencils, _React$PureComponent);
27
27
  var _super = _createSuper(Stencils);
package/lib/Tab/Tab.js CHANGED
@@ -14,7 +14,7 @@ var _TabModule = _interopRequireDefault(require("./Tab.module.css"));
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /* eslint-disable react/forbid-component-props */ /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['text', 'tabAlpha', 'alphaActive', 'gammaActive', 'betaActive', 'deltaActive', 'tabGamma', 'tabBeta', 'tabDelta',', 'specialActive', 'tabSpecial', 'alphaActive_border', 'gammaActive_border', 'betaActive_border', 'deltaActive_border'] }] */
17
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
18
18
  var tabTypes = {
19
19
  alpha: {
20
20
  active: 'alphaActive',
package/lib/Tab/Tabs.js CHANGED
@@ -35,13 +35,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
35
35
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
36
36
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
37
  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; } }
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint-disable react/forbid-component-props */ /* eslint css-modules/no-unused-class: [2, {
39
- markAsUsed: [
40
- 'hidden','alpha','gamma','beta','delta','special','text','maxWidth','widgetList','menuContainer','border','tabText','block','tabAlpha','alphaActive','gammaActive','betaActive','deltaActive','tabGamma','tabBeta','tabDelta','specialActive','tabSpecial',
41
- 'alpha_padding','alpha_border','gamma_padding','gamma_border','beta_padding','beta_border','delta_padding','delta_border','textContainer','disabled','alphaActive_border','gammaActive_border','betaActive_border','deltaActive_border'
42
- ]
43
- }]
44
- */
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
45
39
  var Tabs = /*#__PURE__*/function (_React$Component) {
46
40
  _inherits(Tabs, _React$Component);
47
41
  var _super = _createSuper(Tabs);
@@ -22,7 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
22
22
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
23
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
24
  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; } }
25
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['xmedium', 'medium', 'small', 'default', 'primary', 'secondary'] }] */
25
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
26
26
  var Textbox = /*#__PURE__*/function (_React$PureComponent) {
27
27
  _inherits(Textbox, _React$PureComponent);
28
28
  var _super = _createSuper(Textbox);
@@ -13,6 +13,7 @@
13
13
  /* Variable:Ignore */
14
14
  --textbox_letter_spacing: 0.1px;
15
15
  --textbox_padding: 0;
16
+ --textbox_cursor: auto;
16
17
  --textbox_line_height: 35px;
17
18
 
18
19
  /* textbox placeholder default variable */
@@ -25,7 +26,7 @@
25
26
  appearance: none;
26
27
  letter-spacing: var(--textbox_letter_spacing);
27
28
  border: var(--textbox_border_width);
28
- cursor: text;
29
+ cursor: var(--textbox_cursor);
29
30
  }
30
31
  .basic::placeholder {
31
32
  color: var(--textbox_placeholder_text_color);
@@ -59,11 +60,9 @@
59
60
  .basic:disabled,
60
61
  .container:disabled,
61
62
  .container:disabled:hover {
63
+ --textbox_cursor: not-allowed;
62
64
  --textbox_text_color: var(--zdt_textbox_disabled_text);
63
65
  }
64
- .basic:disabled, .container:disabled, .container:disabled:hover {
65
- cursor: not-allowed;
66
- }
67
66
  .container:disabled,
68
67
  .container:disabled:hover {
69
68
  --textbox_bg_color: none;
@@ -81,7 +80,7 @@
81
80
  color: var(--textbox_placeholder_text_color);
82
81
  }
83
82
  .pointer {
84
- cursor: pointer;
83
+ --textbox_cursor: pointer;
85
84
  }
86
85
  /* Need Border */
87
86
  .border, .effect:hover, .effect:focus {
@@ -153,9 +152,7 @@
153
152
  .readonly,
154
153
  .readonly:hover,
155
154
  .readonly:focus {
155
+ --textbox_cursor: not-allowed;
156
156
  --textbox_text_color: var(--zdt_textbox_default_text);
157
157
  --textbox_bg_color: none;
158
158
  }
159
- .readonly, .readonly:hover, .readonly:focus {
160
- cursor: not-allowed;
161
- }
@@ -27,6 +27,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
27
27
  // type: PropTypes.oneOf(['text', 'password', 'number']),
28
28
  // value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
29
29
  // variant: PropTypes.oneOf(['primary', 'secondary', 'default'])
30
+
30
31
  describe('TextBoxIcon component', function () {
31
32
  it('should display size small', function () {
32
33
  var ele = _reactTestRenderer["default"].create( /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
@@ -22,7 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
22
22
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
23
23
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
24
24
  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; } }
25
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['resizeX', 'resizeY', 'noresize', 'resizeboth', 'xsmall', 'small', 'medium', 'large', 'xlarge', 'default', 'primary'] }] */
25
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
26
26
  var Textarea = /*#__PURE__*/function (_React$Component) {
27
27
  _inherits(Textarea, _React$Component);
28
28
  var _super = _createSuper(Textarea);
@@ -2,6 +2,7 @@
2
2
  /* textarea default variables */
3
3
  --textarea_border_width: 0;
4
4
  --textarea_border_color: none;
5
+ --textarea_cursor: auto;
5
6
  --textarea_text_color: var(--zdt_textarea_default_text);
6
7
  --textarea_font_size: 14px;
7
8
  --textarea_line_height: 22px;
@@ -19,7 +20,7 @@
19
20
  outline: 0;
20
21
  letter-spacing: 0.1px;
21
22
  color: var(--textarea_text_color);
22
- cursor:text;
23
+ cursor: var(--textarea_cursor);
23
24
  }
24
25
  .basic, .noBorder {
25
26
  border-width: var(--textarea_border_width);
@@ -37,11 +38,11 @@
37
38
  color: var(--textarea_placeholder_text_color);
38
39
  }
39
40
  .basic:disabled {
41
+ --textarea_cursor: not-allowed;
40
42
  --textarea_text_color: var(--zdt_textarea_default_text);
41
- cursor: not-allowed;
42
43
  }
43
44
  .readonly {
44
- cursor: not-allowed;
45
+ --textarea_cursor: not-allowed;
45
46
  }
46
47
  .resizeX {
47
48
  composes: resizeX from '../common/common.module.css';
@@ -21,7 +21,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
21
21
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
22
22
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
23
23
  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; } }
24
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } //Components
24
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
25
25
  var RefElement = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
26
26
  var Element = props.Element,
27
27
  elementProps = props.elementProps,
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.offsetMap = void 0;
7
+ var offsetMap = {
8
+ 0: 'GMT+00:00 Africa/Abidjan',
9
+ 44: 'GMT+00:00 Africa/Monrovia',
10
+ 60: 'GMT+01:00 Africa/Bangui',
11
+ 120: 'GMT+02:00 Africa/Blantyre',
12
+ 180: 'GMT+03:00 Africa/Addis_Ababa',
13
+ 210: 'GMT+04:30 Asia/Tehran',
14
+ 240: 'GMT+03:00 Asia/Bahrain',
15
+ 270: 'GMT+04:30 Asia/Kabul',
16
+ 300: 'GMT+05:00 Asia/Aqtau',
17
+ '-330': 'GMT+05:30 Asia/Kolkata',
18
+ 360: 'GMT+06:00 Asia/Dacca',
19
+ 390: 'GMT+06:30 Indian/Cocos',
20
+ 420: 'GMT+07:00 Asia/Bangkok',
21
+ 450: 'GMT+08:00 Asia/Singapore',
22
+ 480: 'GMT+08:00 Asia/Hong_Kong',
23
+ 510: 'GMT+08:00 Asia/Harbin',
24
+ 525: 'GMT+08:45 Australia/Eucla',
25
+ 540: 'GMT+09:00 Asia/Chita',
26
+ 570: 'GMT+09:30 Australia/Adelaide',
27
+ 600: 'GMT+10:00 Antarctica/DumontDUrville',
28
+ 660: 'GMT+11:00 Asia/Magadan',
29
+ 690: 'GMT+11:00 Pacific/Norfolk',
30
+ 720: 'GMT+12:00 Asia/Kamchatka',
31
+ 765: 'GMT+12:45 Pacific/Chatham',
32
+ 780: 'GMT+12:00 Asia/Anadyr',
33
+ 840: 'GMT+14:00 Etc/GMT-14',
34
+ '-60': 'GMT-01:00 Etc/GMT+1',
35
+ '-660': 'GMT-11:00 US/Samoa',
36
+ '-600': 'GMT-04:00 America/Anguilla',
37
+ '-240': 'GMT-04:00 America/Antigua',
38
+ '-180': 'GMT-03:00 America/Araguaina',
39
+ '-300': 'GMT-05:00 America/Atikokan',
40
+ '-480': 'GMT-05:00 America/Bahia_Banderas',
41
+ '-360': 'GMT-06:00 America/Belize',
42
+ '-420': 'GMT-06:00 America/Boise',
43
+ '-540': 'GMT-07:00 America/Dawson',
44
+ '-135': 'GMT-04:00 America/Guyana',
45
+ '-120': 'GMT-02:00 Etc/GMT+2',
46
+ '-150': 'GMT-03:00 America/Paramaribo',
47
+ '-210': 'GMT-04:00 America/Santo_Domingo',
48
+ '-720': 'GMT+12:00 Pacific/Kwajalein',
49
+ '-560': 'GMT+14:00 Pacific/Kiritimati',
50
+ '-510': 'GMT-09:30 Pacific/Marquesas',
51
+ '-630': 'GMT-11:00 Pacific/Niue',
52
+ '-450': 'GMT-08:00 Pacific/Pitcairn',
53
+ '-570': 'GMT-10:00 Pacific/Rarotonga'
54
+ };
55
+ exports.offsetMap = offsetMap;
@@ -8,6 +8,7 @@ exports.getDiffObj = getDiffObj;
8
8
  exports.getI18NInfo = getI18NInfo;
9
9
  exports.getI18NValue = getI18NValue;
10
10
  exports.getMonthEnd = getMonthEnd;
11
+ exports.getTimeOffset = getTimeOffset;
11
12
  exports.getValues = getValues;
12
13
  exports.isToday = isToday;
13
14
  exports.isTomorrow = isTomorrow;
@@ -17,6 +18,7 @@ exports.isYesterday = isYesterday;
17
18
  exports.pad = pad;
18
19
  exports.replaceI18NValuesWithRegex = replaceI18NValuesWithRegex;
19
20
  exports.unescapeUnicode = unescapeUnicode;
21
+ var _GMTZones = require("./GMTZones.js");
20
22
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
21
23
  var dateFormat = {
22
24
  dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
@@ -30,8 +32,17 @@ function pad(n) {
30
32
  n = "".concat(n);
31
33
  return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
32
34
  }
35
+ function getTimeOffset() {
36
+ var GMT = new Date();
37
+ var matchingOffset = Object.keys(_GMTZones.offsetMap).find(function (offset) {
38
+ return GMT.getTimezoneOffset() === Number(offset);
39
+ });
40
+ return matchingOffset ? _GMTZones.offsetMap[matchingOffset].toString().split(' ') : ['', ''];
41
+ }
33
42
  function formatDate(dateMill, mask) {
34
43
  var date = new Date(dateMill);
44
+ var O = getTimeOffset()[0];
45
+ var Z = getTimeOffset()[1];
35
46
  var d = date.getDate();
36
47
  var D = date.getDay();
37
48
  var m = date.getMonth();
@@ -42,6 +53,7 @@ function formatDate(dateMill, mask) {
42
53
  var L = date.getMilliseconds();
43
54
  var flags = {
44
55
  d: d,
56
+ O: O,
45
57
  dd: pad(d, 2),
46
58
  ddd: dateFormat.dayNames[D],
47
59
  dddd: dateFormat.dayNames[D + 7],
@@ -69,9 +81,13 @@ function formatDate(dateMill, mask) {
69
81
  L: pad(Math.round(L / 10)),
70
82
  t: H < 12 ? dateFormat.timeNames[0] : dateFormat.timeNames[1],
71
83
  A: H < 12 ? dateFormat.timeNames[6] : dateFormat.timeNames[7],
72
- T: H < 12 ? dateFormat.timeNames[4] : dateFormat.timeNames[5]
84
+ a: H < 12 ? dateFormat.timeNames[6] : dateFormat.timeNames[7],
85
+ T: H < 12 ? dateFormat.timeNames[4] : dateFormat.timeNames[5],
86
+ Z: Z,
87
+ VV: Z,
88
+ SSS: pad(L, 3)
73
89
  };
74
- var token = /D{1,4}|d{1,4}|M{1,4}|YYYY|yyyy|YY|yy?|([HhmsA])\1?|[LloSZWN]|\[[^\]]*\]|'[^']*'/g;
90
+ var token = /D{1,4}|d{1,4}|M{1,4}|YYYY|yyyy|YY|O|Z|VV|SSS|yy?|([HhmsAa])\1?|[LloSZWN]|\[[^\]]*\]|'[^']*'/g;
75
91
  var dat = mask.replace(token, function (match) {
76
92
  if (match in flags) {
77
93
  return flags[match];
@@ -19,7 +19,7 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
19
19
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
20
20
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
21
21
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
22
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /***** Libraries *****/
22
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
23
23
  var dummyArray = [];
24
24
  exports.dummyArray = dummyArray;
25
25
  var dummyObj = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-159",
3
+ "version": "1.0.0-temp-160",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,