react-autoql 3.5.4 → 3.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,14 +66,9 @@ function ownKeys(object, enumerableOnly) {
66
66
 
67
67
  if (Object.getOwnPropertySymbols) {
68
68
  var symbols = Object.getOwnPropertySymbols(object);
69
-
70
- if (enumerableOnly) {
71
- symbols = symbols.filter(function (sym) {
72
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
73
- });
74
- }
75
-
76
- keys.push.apply(keys, symbols);
69
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
70
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
71
+ })), keys.push.apply(keys, symbols);
77
72
  }
78
73
 
79
74
  return keys;
@@ -81,19 +76,12 @@ function ownKeys(object, enumerableOnly) {
81
76
 
82
77
  function _objectSpread2(target) {
83
78
  for (var i = 1; i < arguments.length; i++) {
84
- var source = arguments[i] != null ? arguments[i] : {};
85
-
86
- if (i % 2) {
87
- ownKeys(Object(source), true).forEach(function (key) {
88
- _defineProperty(target, key, source[key]);
89
- });
90
- } else if (Object.getOwnPropertyDescriptors) {
91
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
92
- } else {
93
- ownKeys(Object(source)).forEach(function (key) {
94
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
95
- });
96
- }
79
+ var source = null != arguments[i] ? arguments[i] : {};
80
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
81
+ _defineProperty(target, key, source[key]);
82
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
83
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
84
+ });
97
85
  }
98
86
 
99
87
  return target;
@@ -102,17 +90,11 @@ function _objectSpread2(target) {
102
90
  function _typeof(obj) {
103
91
  "@babel/helpers - typeof";
104
92
 
105
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
106
- _typeof = function (obj) {
107
- return typeof obj;
108
- };
109
- } else {
110
- _typeof = function (obj) {
111
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
112
- };
113
- }
114
-
115
- return _typeof(obj);
93
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
94
+ return typeof obj;
95
+ } : function (obj) {
96
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
97
+ }, _typeof(obj);
116
98
  }
117
99
 
118
100
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -170,6 +152,9 @@ function _defineProperties(target, props) {
170
152
  function _createClass(Constructor, protoProps, staticProps) {
171
153
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
172
154
  if (staticProps) _defineProperties(Constructor, staticProps);
155
+ Object.defineProperty(Constructor, "prototype", {
156
+ writable: false
157
+ });
173
158
  return Constructor;
174
159
  }
175
160
 
@@ -218,6 +203,9 @@ function _inherits(subClass, superClass) {
218
203
  configurable: true
219
204
  }
220
205
  });
206
+ Object.defineProperty(subClass, "prototype", {
207
+ writable: false
208
+ });
221
209
  if (superClass) _setPrototypeOf(subClass, superClass);
222
210
  }
223
211
 
@@ -464,7 +452,7 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
464
452
  return _this;
465
453
  }
466
454
 
467
- return ErrorBoundary;
455
+ return _createClass(ErrorBoundary);
468
456
  }(React.Component);
469
457
 
470
458
  _defineProperty(ErrorBoundary, "propTypes", {
@@ -2628,7 +2616,7 @@ var Icon = /*#__PURE__*/function (_React$Component) {
2628
2616
  return _this;
2629
2617
  }
2630
2618
 
2631
- return Icon;
2619
+ return _createClass(Icon);
2632
2620
  }(React.Component);
2633
2621
 
2634
2622
  _defineProperty(Icon, "propTypes", {
@@ -3384,7 +3372,7 @@ var Dictaphone = /*#__PURE__*/function (_React$Component) {
3384
3372
  return _this;
3385
3373
  }
3386
3374
 
3387
- return Dictaphone;
3375
+ return _createClass(Dictaphone);
3388
3376
  }(React.Component);
3389
3377
 
3390
3378
  _defineProperty(Dictaphone, "propTypes", {
@@ -3841,7 +3829,7 @@ var QueryInput = /*#__PURE__*/function (_React$Component) {
3841
3829
  return _this;
3842
3830
  }
3843
3831
 
3844
- return QueryInput;
3832
+ return _createClass(QueryInput);
3845
3833
  }(React.Component);
3846
3834
 
3847
3835
  _defineProperty(QueryInput, "propTypes", {
@@ -4041,7 +4029,7 @@ var ChataTable = /*#__PURE__*/function (_React$Component) {
4041
4029
  return _this;
4042
4030
  }
4043
4031
 
4044
- return ChataTable;
4032
+ return _createClass(ChataTable);
4045
4033
  }(React.Component);
4046
4034
 
4047
4035
  _defineProperty(ChataTable, "propTypes", {
@@ -4338,7 +4326,7 @@ var Axis$1 = /*#__PURE__*/function (_Component) {
4338
4326
  return _this;
4339
4327
  }
4340
4328
 
4341
- return Axis;
4329
+ return _createClass(Axis);
4342
4330
  }(Component);
4343
4331
 
4344
4332
  _defineProperty(Axis$1, "propTypes", {
@@ -4577,7 +4565,7 @@ var Axes = /*#__PURE__*/function (_React$Component) {
4577
4565
  return _this;
4578
4566
  }
4579
4567
 
4580
- return Axes;
4568
+ return _createClass(Axes);
4581
4569
  }(React.Component);
4582
4570
 
4583
4571
  _defineProperty(Axes, "propTypes", {
@@ -4735,7 +4723,7 @@ var Columns = /*#__PURE__*/function (_Component) {
4735
4723
  return _this;
4736
4724
  }
4737
4725
 
4738
- return Columns;
4726
+ return _createClass(Columns);
4739
4727
  }(Component);
4740
4728
 
4741
4729
  _defineProperty(Columns, "propTypes", {});
@@ -4992,7 +4980,7 @@ var ChataColumnChart = /*#__PURE__*/function (_Component) {
4992
4980
  return _this;
4993
4981
  }
4994
4982
 
4995
- return ChataColumnChart;
4983
+ return _createClass(ChataColumnChart);
4996
4984
  }(Component);
4997
4985
 
4998
4986
  _defineProperty(ChataColumnChart, "propTypes", {
@@ -5136,7 +5124,7 @@ var Bars = /*#__PURE__*/function (_Component) {
5136
5124
  return _this;
5137
5125
  }
5138
5126
 
5139
- return Bars;
5127
+ return _createClass(Bars);
5140
5128
  }(Component);
5141
5129
 
5142
5130
  _defineProperty(Bars, "propTypes", {
@@ -5298,7 +5286,7 @@ var ChataBarChart = /*#__PURE__*/function (_Component) {
5298
5286
  return _this;
5299
5287
  }
5300
5288
 
5301
- return ChataBarChart;
5289
+ return _createClass(ChataBarChart);
5302
5290
  }(Component);
5303
5291
 
5304
5292
  _defineProperty(ChataBarChart, "propTypes", {
@@ -5460,7 +5448,7 @@ var Line = /*#__PURE__*/function (_Component) {
5460
5448
  return _this;
5461
5449
  }
5462
5450
 
5463
- return Line;
5451
+ return _createClass(Line);
5464
5452
  }(Component);
5465
5453
 
5466
5454
  _defineProperty(Line, "propTypes", {});
@@ -5608,7 +5596,7 @@ var ChataLineChart = /*#__PURE__*/function (_Component) {
5608
5596
  return _this;
5609
5597
  }
5610
5598
 
5611
- return ChataLineChart;
5599
+ return _createClass(ChataLineChart);
5612
5600
  }(Component);
5613
5601
 
5614
5602
  _defineProperty(ChataLineChart, "propTypes", {
@@ -5949,7 +5937,7 @@ var Axis = /*#__PURE__*/function (_Component) {
5949
5937
  return _this;
5950
5938
  }
5951
5939
 
5952
- return Axis;
5940
+ return _createClass(Axis);
5953
5941
  }(Component);
5954
5942
 
5955
5943
  _defineProperty(Axis, "propTypes", {
@@ -6037,7 +6025,7 @@ var Squares = /*#__PURE__*/function (_Component) {
6037
6025
  return _this;
6038
6026
  }
6039
6027
 
6040
- return Squares;
6028
+ return _createClass(Squares);
6041
6029
  }(Component);
6042
6030
 
6043
6031
  _defineProperty(Squares, "propTypes", {
@@ -6224,7 +6212,7 @@ var ChataHeatmapChart = /*#__PURE__*/function (_Component) {
6224
6212
  return _this;
6225
6213
  }
6226
6214
 
6227
- return ChataHeatmapChart;
6215
+ return _createClass(ChataHeatmapChart);
6228
6216
  }(Component);
6229
6217
 
6230
6218
  _defineProperty(ChataHeatmapChart, "propTypes", {
@@ -6325,7 +6313,7 @@ var Circles = /*#__PURE__*/function (_Component) {
6325
6313
  return _this;
6326
6314
  }
6327
6315
 
6328
- return Circles;
6316
+ return _createClass(Circles);
6329
6317
  }(Component);
6330
6318
 
6331
6319
  _defineProperty(Circles, "propTypes", {
@@ -6524,7 +6512,7 @@ var ChataBubbleChart = /*#__PURE__*/function (_Component) {
6524
6512
  return _this;
6525
6513
  }
6526
6514
 
6527
- return ChataBubbleChart;
6515
+ return _createClass(ChataBubbleChart);
6528
6516
  }(Component);
6529
6517
 
6530
6518
  _defineProperty(ChataBubbleChart, "propTypes", {
@@ -6656,7 +6644,7 @@ var StackedColumns$1 = /*#__PURE__*/function (_Component) {
6656
6644
  return _this;
6657
6645
  }
6658
6646
 
6659
- return StackedColumns;
6647
+ return _createClass(StackedColumns);
6660
6648
  }(Component);
6661
6649
 
6662
6650
  _defineProperty(StackedColumns$1, "propTypes", {});
@@ -6807,7 +6795,7 @@ var ChataStackedBarChart = /*#__PURE__*/function (_Component) {
6807
6795
  return _this;
6808
6796
  }
6809
6797
 
6810
- return ChataStackedBarChart;
6798
+ return _createClass(ChataStackedBarChart);
6811
6799
  }(Component);
6812
6800
 
6813
6801
  _defineProperty(ChataStackedBarChart, "propTypes", {
@@ -6937,7 +6925,7 @@ var StackedColumns = /*#__PURE__*/function (_Component) {
6937
6925
  return _this;
6938
6926
  }
6939
6927
 
6940
- return StackedColumns;
6928
+ return _createClass(StackedColumns);
6941
6929
  }(Component);
6942
6930
 
6943
6931
  _defineProperty(StackedColumns, "propTypes", {});
@@ -7079,7 +7067,7 @@ var ChataStackedColumnChart = /*#__PURE__*/function (_Component) {
7079
7067
  return _this;
7080
7068
  }
7081
7069
 
7082
- return ChataStackedColumnChart;
7070
+ return _createClass(ChataStackedColumnChart);
7083
7071
  }(Component);
7084
7072
 
7085
7073
  _defineProperty(ChataStackedColumnChart, "propTypes", {
@@ -7201,7 +7189,7 @@ var Checkbox = /*#__PURE__*/function (_React$Component) {
7201
7189
  return _this;
7202
7190
  }
7203
7191
 
7204
- return Checkbox;
7192
+ return _createClass(Checkbox);
7205
7193
  }(React.Component);
7206
7194
 
7207
7195
  _defineProperty(Checkbox, "propTypes", {
@@ -7403,7 +7391,7 @@ var SelectableList = /*#__PURE__*/function (_React$Component) {
7403
7391
  return _this;
7404
7392
  }
7405
7393
 
7406
- return SelectableList;
7394
+ return _createClass(SelectableList);
7407
7395
  }(React.Component);
7408
7396
 
7409
7397
  _defineProperty(SelectableList, "propTypes", {
@@ -7506,7 +7494,7 @@ var Button = /*#__PURE__*/function (_React$Component) {
7506
7494
  return _this;
7507
7495
  }
7508
7496
 
7509
- return Button;
7497
+ return _createClass(Button);
7510
7498
  }(React.Component);
7511
7499
 
7512
7500
  _defineProperty(Button, "propTypes", {
@@ -7677,7 +7665,7 @@ var StackedLines = /*#__PURE__*/function (_Component) {
7677
7665
  return _this;
7678
7666
  }
7679
7667
 
7680
- return StackedLines;
7668
+ return _createClass(StackedLines);
7681
7669
  }(Component);
7682
7670
 
7683
7671
  _defineProperty(StackedLines, "propTypes", {});
@@ -7818,7 +7806,7 @@ var ChataStackedLineChart = /*#__PURE__*/function (_Component) {
7818
7806
  return _this;
7819
7807
  }
7820
7808
 
7821
- return ChataStackedLineChart;
7809
+ return _createClass(ChataStackedLineChart);
7822
7810
  }(Component);
7823
7811
 
7824
7812
  _defineProperty(ChataStackedLineChart, "propTypes", {
@@ -8701,7 +8689,7 @@ var ChataChart = /*#__PURE__*/function (_Component) {
8701
8689
  return _this;
8702
8690
  }
8703
8691
 
8704
- return ChataChart;
8692
+ return _createClass(ChataChart);
8705
8693
  }(Component);
8706
8694
 
8707
8695
  _defineProperty(ChataChart, "propTypes", {
@@ -8832,7 +8820,7 @@ var Select$1 = /*#__PURE__*/function (_React$Component) {
8832
8820
  return _this;
8833
8821
  }
8834
8822
 
8835
- return Select;
8823
+ return _createClass(Select);
8836
8824
  }(React.Component);
8837
8825
 
8838
8826
  _defineProperty(Select$1, "propTypes", {
@@ -9166,7 +9154,7 @@ var QueryValidationMessage = /*#__PURE__*/function (_React$Component) {
9166
9154
  return _this;
9167
9155
  }
9168
9156
 
9169
- return QueryValidationMessage;
9157
+ return _createClass(QueryValidationMessage);
9170
9158
  }(React.Component);
9171
9159
 
9172
9160
  _defineProperty(QueryValidationMessage, "propTypes", {
@@ -11094,7 +11082,7 @@ var QueryOutput = /*#__PURE__*/function (_React$Component) {
11094
11082
  return _this;
11095
11083
  }
11096
11084
 
11097
- return QueryOutput;
11085
+ return _createClass(QueryOutput);
11098
11086
  }(React.Component);
11099
11087
 
11100
11088
  _defineProperty(QueryOutput, "propTypes", (_defineProperty2$1 = {
@@ -11207,7 +11195,7 @@ var VizToolbar = /*#__PURE__*/function (_React$Component) {
11207
11195
  return _this;
11208
11196
  }
11209
11197
 
11210
- return VizToolbar;
11198
+ return _createClass(VizToolbar);
11211
11199
  }(React.Component);
11212
11200
 
11213
11201
  _defineProperty(VizToolbar, "propTypes", {
@@ -11291,7 +11279,7 @@ var ConfirmModal = /*#__PURE__*/function (_React$Component) {
11291
11279
  return _this;
11292
11280
  }
11293
11281
 
11294
- return ConfirmModal;
11282
+ return _createClass(ConfirmModal);
11295
11283
  }(React.Component);
11296
11284
 
11297
11285
  _defineProperty(ConfirmModal, "propTypes", {
@@ -11427,7 +11415,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
11427
11415
  return _this;
11428
11416
  }
11429
11417
 
11430
- return Modal;
11418
+ return _createClass(Modal);
11431
11419
  }(React.Component);
11432
11420
 
11433
11421
  _defineProperty(Modal, "propTypes", {
@@ -11552,7 +11540,7 @@ var ColumnVisibilityModal = /*#__PURE__*/function (_React$Component) {
11552
11540
  return _this;
11553
11541
  }
11554
11542
 
11555
- return ColumnVisibilityModal;
11543
+ return _createClass(ColumnVisibilityModal);
11556
11544
  }(React.Component);
11557
11545
 
11558
11546
  _defineProperty(ColumnVisibilityModal, "propTypes", {
@@ -12315,7 +12303,7 @@ var NotificationIcon = /*#__PURE__*/function (_React$Component) {
12315
12303
  return _this;
12316
12304
  }
12317
12305
 
12318
- return NotificationIcon;
12306
+ return _createClass(NotificationIcon);
12319
12307
  }(React.Component);
12320
12308
 
12321
12309
  _defineProperty(NotificationIcon, "propTypes", {
@@ -12422,7 +12410,7 @@ var Input$1 = /*#__PURE__*/function (_React$Component) {
12422
12410
  return _this;
12423
12411
  }
12424
12412
 
12425
- return Input;
12413
+ return _createClass(Input);
12426
12414
  }(React.Component);
12427
12415
 
12428
12416
  _defineProperty(Input$1, "propTypes", {
@@ -12784,7 +12772,7 @@ var RuleSimple = /*#__PURE__*/function (_React$Component) {
12784
12772
  return _this;
12785
12773
  }
12786
12774
 
12787
- return RuleSimple;
12775
+ return _createClass(RuleSimple);
12788
12776
  }(React.Component);
12789
12777
 
12790
12778
  _defineProperty(RuleSimple, "propTypes", {
@@ -12993,7 +12981,7 @@ var ExpressionBuilderSimple = /*#__PURE__*/function (_React$Component) {
12993
12981
  return _this;
12994
12982
  }
12995
12983
 
12996
- return ExpressionBuilderSimple;
12984
+ return _createClass(ExpressionBuilderSimple);
12997
12985
  }(React.Component);
12998
12986
 
12999
12987
  _defineProperty(ExpressionBuilderSimple, "propTypes", {
@@ -13356,7 +13344,7 @@ var NotificationItem = /*#__PURE__*/function (_React$Component) {
13356
13344
  return _this;
13357
13345
  }
13358
13346
 
13359
- return NotificationItem;
13347
+ return _createClass(NotificationItem);
13360
13348
  }(React.Component);
13361
13349
 
13362
13350
  _defineProperty(NotificationItem, "propTypes", {
@@ -13564,7 +13552,7 @@ var Steps = /*#__PURE__*/function (_React$Component) {
13564
13552
  return _this;
13565
13553
  }
13566
13554
 
13567
- return Steps;
13555
+ return _createClass(Steps);
13568
13556
  }(React.Component);
13569
13557
 
13570
13558
  _defineProperty(Steps, "propTypes", {
@@ -13672,7 +13660,7 @@ var Radio = /*#__PURE__*/function (_React$Component) {
13672
13660
  return _this;
13673
13661
  }
13674
13662
 
13675
- return Radio;
13663
+ return _createClass(Radio);
13676
13664
  }(React.Component);
13677
13665
 
13678
13666
  _defineProperty(Radio, "propTypes", {
@@ -13752,7 +13740,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
13752
13740
  return _this;
13753
13741
  }
13754
13742
 
13755
- return Select;
13743
+ return _createClass(Select);
13756
13744
  }(React.Component);
13757
13745
 
13758
13746
  _defineProperty(Select, "propTypes", {
@@ -13822,7 +13810,7 @@ var DataAlertModal$1 = /*#__PURE__*/function (_React$Component) {
13822
13810
  return _this;
13823
13811
  }
13824
13812
 
13825
- return DataAlertModal;
13813
+ return _createClass(DataAlertModal);
13826
13814
  }(React.Component);
13827
13815
 
13828
13816
  _defineProperty(DataAlertModal$1, "propTypes", {
@@ -13974,7 +13962,7 @@ var ScheduleBuilder = /*#__PURE__*/function (_React$Component) {
13974
13962
  return _this;
13975
13963
  }
13976
13964
 
13977
- return ScheduleBuilder;
13965
+ return _createClass(ScheduleBuilder);
13978
13966
  }(React.Component);
13979
13967
 
13980
13968
  _defineProperty(ScheduleBuilder, "propTypes", {
@@ -14608,7 +14596,7 @@ var DataAlertModal = /*#__PURE__*/function (_React$Component) {
14608
14596
  return _this;
14609
14597
  }
14610
14598
 
14611
- return DataAlertModal;
14599
+ return _createClass(DataAlertModal);
14612
14600
  }(React.Component);
14613
14601
 
14614
14602
  _defineProperty(DataAlertModal, "propTypes", {
@@ -14990,7 +14978,7 @@ var NotificationFeed = /*#__PURE__*/function (_React$Component) {
14990
14978
  return _this;
14991
14979
  }
14992
14980
 
14993
- return NotificationFeed;
14981
+ return _createClass(NotificationFeed);
14994
14982
  }(React.Component);
14995
14983
 
14996
14984
  _defineProperty(NotificationFeed, "propTypes", {
@@ -15385,7 +15373,7 @@ var DataAlerts = /*#__PURE__*/function (_React$Component) {
15385
15373
  return _this;
15386
15374
  }
15387
15375
 
15388
- return DataAlerts;
15376
+ return _createClass(DataAlerts);
15389
15377
  }(React.Component);
15390
15378
 
15391
15379
  _defineProperty(DataAlerts, "propTypes", {
@@ -15802,7 +15790,7 @@ var Rule = /*#__PURE__*/function (_React$Component) {
15802
15790
  return _this;
15803
15791
  }
15804
15792
 
15805
- return Rule;
15793
+ return _createClass(Rule);
15806
15794
  }(React.Component);
15807
15795
 
15808
15796
  _defineProperty(Rule, "propTypes", {
@@ -16181,7 +16169,7 @@ var Group = /*#__PURE__*/function (_React$Component) {
16181
16169
  return _this;
16182
16170
  }
16183
16171
 
16184
- return Group;
16172
+ return _createClass(Group);
16185
16173
  }(React.Component);
16186
16174
 
16187
16175
  _defineProperty(Group, "propTypes", {
@@ -16492,7 +16480,7 @@ var ExpressionBuilder = /*#__PURE__*/function (_React$Component) {
16492
16480
  return _this;
16493
16481
  }
16494
16482
 
16495
- return ExpressionBuilder;
16483
+ return _createClass(ExpressionBuilder);
16496
16484
  }(React.Component);
16497
16485
 
16498
16486
  _defineProperty(ExpressionBuilder, "propTypes", {
@@ -18138,7 +18126,7 @@ var Input = /*#__PURE__*/function (_React$Component) {
18138
18126
  return _this;
18139
18127
  }
18140
18128
 
18141
- return Input;
18129
+ return _createClass(Input);
18142
18130
  }(React.Component);
18143
18131
 
18144
18132
  _defineProperty(Input, "propTypes", {
@@ -18562,7 +18550,7 @@ var ChatMessage = /*#__PURE__*/function (_React$Component) {
18562
18550
  return _this;
18563
18551
  }
18564
18552
 
18565
- return ChatMessage;
18553
+ return _createClass(ChatMessage);
18566
18554
  }(React.Component);
18567
18555
 
18568
18556
  _defineProperty(ChatMessage, "propTypes", (_defineProperty2 = {
@@ -18727,7 +18715,7 @@ var QueryTipsTab = /*#__PURE__*/function (_React$Component) {
18727
18715
  return _this;
18728
18716
  }
18729
18717
 
18730
- return QueryTipsTab;
18718
+ return _createClass(QueryTipsTab);
18731
18719
  }(React.Component);
18732
18720
 
18733
18721
  _defineProperty(QueryTipsTab, "propTypes", {
@@ -18877,7 +18865,7 @@ var Cascader = /*#__PURE__*/function (_React$Component) {
18877
18865
  return _this;
18878
18866
  }
18879
18867
 
18880
- return Cascader;
18868
+ return _createClass(Cascader);
18881
18869
  }(React.Component);
18882
18870
 
18883
18871
  _defineProperty(Cascader, "propTypes", {
@@ -18912,15 +18900,15 @@ function accentColorAssist(col, amt) {
18912
18900
 
18913
18901
  var autoCompleteArray$1 = [];
18914
18902
 
18915
- var FilterLockMenu = /*#__PURE__*/function (_React$Component) {
18916
- _inherits(FilterLockMenu, _React$Component);
18903
+ var ConditionLockMenu = /*#__PURE__*/function (_React$Component) {
18904
+ _inherits(ConditionLockMenu, _React$Component);
18917
18905
 
18918
- var _super = _createSuper(FilterLockMenu);
18906
+ var _super = _createSuper(ConditionLockMenu);
18919
18907
 
18920
- function FilterLockMenu() {
18908
+ function ConditionLockMenu() {
18921
18909
  var _this;
18922
18910
 
18923
- _classCallCheck(this, FilterLockMenu);
18911
+ _classCallCheck(this, ConditionLockMenu);
18924
18912
 
18925
18913
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
18926
18914
  args[_key] = arguments[_key];
@@ -19399,7 +19387,7 @@ var FilterLockMenu = /*#__PURE__*/function (_React$Component) {
19399
19387
  return _this;
19400
19388
  }
19401
19389
 
19402
- _createClass(FilterLockMenu, [{
19390
+ _createClass(ConditionLockMenu, [{
19403
19391
  key: "handleFetchFilteredList",
19404
19392
  value: function handleFetchFilteredList() {
19405
19393
  var _this2 = this;
@@ -19487,10 +19475,10 @@ var FilterLockMenu = /*#__PURE__*/function (_React$Component) {
19487
19475
  }
19488
19476
  }]);
19489
19477
 
19490
- return FilterLockMenu;
19478
+ return ConditionLockMenu;
19491
19479
  }(React.Component);
19492
19480
 
19493
- _defineProperty(FilterLockMenu, "propTypes", {
19481
+ _defineProperty(ConditionLockMenu, "propTypes", {
19494
19482
  containerWidth: PropTypes.string,
19495
19483
  isOpen: PropTypes.bool,
19496
19484
  onClose: PropTypes.func,
@@ -19499,7 +19487,7 @@ _defineProperty(FilterLockMenu, "propTypes", {
19499
19487
  themeConfig: themeConfigType
19500
19488
  });
19501
19489
 
19502
- _defineProperty(FilterLockMenu, "defaultProps", {
19490
+ _defineProperty(ConditionLockMenu, "defaultProps", {
19503
19491
  containerWidth: undefined,
19504
19492
  onClose: function onClose() {},
19505
19493
  isOpen: false,
@@ -19601,6 +19589,10 @@ var DataMessenger = /*#__PURE__*/function (_React$Component) {
19601
19589
  _this.clearMessages();
19602
19590
  }
19603
19591
 
19592
+ if (_this.state.messages.length === 0) {
19593
+ _this.setintroMessages();
19594
+ }
19595
+
19604
19596
  var thisTheme = getThemeConfig(getThemeConfig(_this.props.themeConfig)).theme;
19605
19597
  var prevTheme = getThemeConfig(prevProps.themeConfig).theme;
19606
19598
 
@@ -19973,10 +19965,12 @@ var DataMessenger = /*#__PURE__*/function (_React$Component) {
19973
19965
  }); // If there is a query message right above it (not a drilldown), delete the query message also
19974
19966
 
19975
19967
 
19976
- var messageAbove = _this.state.messages[messageIndex - 1];
19968
+ var messageAbove = _this.state.messages[messageIndex - 1]; // If the messageAbove is not undefined
19977
19969
 
19978
- if (!messageAbove.isResponse) {
19979
- messagesToDelete.push(messageAbove.id);
19970
+ if (messageAbove) {
19971
+ if (!messageAbove.isResponse) {
19972
+ messagesToDelete.push(messageAbove.id);
19973
+ }
19980
19974
  }
19981
19975
 
19982
19976
  var newMessages = _this.state.messages.filter(function (message) {
@@ -20314,7 +20308,7 @@ var DataMessenger = /*#__PURE__*/function (_React$Component) {
20314
20308
  * Because the popover anchor is over the header title instead of the button,
20315
20309
  * the button is considered part of an "outside" event. This also includes
20316
20310
  * some elements inside of the popover as well for some reason.
20317
- *
20311
+ *
20318
20312
  * This is a hacky solution, but it works.
20319
20313
  */
20320
20314
  if (_get(e, 'target.id') !== 'react-autoql-interpreted-value-label' && _get(e, 'target.parentElement.parentElement.parentElement.id') !== 'react-autoql-filter-menu-dropdown-button' && _get(e, 'target.parentElement.parentElement.parentElement.id') !== 'react-autoql-filter-menu-dropdown' && _get(e, 'target.parentElement.id') !== 'react-autoql-filter-table-row' && _get(e, 'target.parentElement.id') !== 'react-autoql-remove-filtered-condition-icon' && _get(e, 'target.parentElement.parentElement.id') !== 'react-autoql-remove-filtered-condition-icon' && _get(e, 'target.parentElement.id') !== 'react-autoql-remove-filter-container' && !_get(e, 'target.classList.value').includes('react-autoql-drawer-resize-handle')) {
@@ -20331,7 +20325,7 @@ var DataMessenger = /*#__PURE__*/function (_React$Component) {
20331
20325
  style: {
20332
20326
  display: 'block'
20333
20327
  }
20334
- }, /*#__PURE__*/React.createElement(FilterLockMenu, {
20328
+ }, /*#__PURE__*/React.createElement(ConditionLockMenu, {
20335
20329
  "data-test": "react-autoql-filter-menu",
20336
20330
  id: "react-autoql-filter-menu",
20337
20331
  authentication: getAuthentication(getAuthentication(_this.props.authentication)),
@@ -22052,7 +22046,7 @@ var DashboardTile = /*#__PURE__*/function (_React$Component) {
22052
22046
  return _this;
22053
22047
  }
22054
22048
 
22055
- return DashboardTile;
22049
+ return _createClass(DashboardTile);
22056
22050
  }(React.Component);
22057
22051
 
22058
22052
  _defineProperty(DashboardTile, "propTypes", {
@@ -22746,7 +22740,7 @@ var Dashboard = /*#__PURE__*/function (_React$Component) {
22746
22740
  return _this;
22747
22741
  }
22748
22742
 
22749
- return Dashboard;
22743
+ return _createClass(Dashboard);
22750
22744
  }(React.Component);
22751
22745
 
22752
22746
  _defineProperty(Dashboard, "propTypes", {
@@ -22979,7 +22973,7 @@ var SpeechToTextBtn = /*#__PURE__*/function (_React$Component) {
22979
22973
  return _this;
22980
22974
  }
22981
22975
 
22982
- return SpeechToTextBtn;
22976
+ return _createClass(SpeechToTextBtn);
22983
22977
  }(React.Component);
22984
22978
 
22985
22979
  _defineProperty(SpeechToTextBtn, "propTypes", {
@@ -22998,4 +22992,4 @@ _defineProperty(SpeechToTextBtn, "defaultProps", {
22998
22992
  themeConfig: themeConfigDefault
22999
22993
  });
23000
22994
 
23001
- export { Dashboard, DashboardTile, DataAlertModal, DataAlerts, DataMessenger, ExpressionBuilder, ExpressionBuilderSimple, FilterLockMenu, Icon, LoadingDots, NotificationFeed, NotificationIcon, NotificationItem, QueryInput, QueryOutput, ScheduleBuilder, SpeechToTextBtn as SpeechToTextButton, SpeechToTextButtonBrowser, executeDashboard, fetchQueryTips, getDefaultDisplayType, getSupportedDisplayTypes, isDisplayTypeValid, unExecuteDashboard };
22995
+ export { ConditionLockMenu, Dashboard, DashboardTile, DataAlertModal, DataAlerts, DataMessenger, ExpressionBuilder, ExpressionBuilderSimple, Icon, LoadingDots, NotificationFeed, NotificationIcon, NotificationItem, QueryInput, QueryOutput, ScheduleBuilder, SpeechToTextBtn as SpeechToTextButton, SpeechToTextButtonBrowser, executeDashboard, fetchQueryTips, getDefaultDisplayType, getSupportedDisplayTypes, isDisplayTypeValid, unExecuteDashboard };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-autoql",
3
- "version": "3.5.4",
3
+ "version": "3.5.5",
4
4
  "description": "React Widget Library",
5
5
  "main": "dist/autoql.cjs.js",
6
6
  "module": "dist/autoql.esm.js",
Binary file