@easyquery/ui 7.2.5-rc01 → 7.2.5-rc02

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/dist/assets/css/aggr-settings.css +242 -0
  2. package/dist/assets/css/easychart.css +73 -0
  3. package/dist/assets/css/easyfacets.css +280 -0
  4. package/dist/assets/css/easyquery-mobile.css +267 -0
  5. package/dist/assets/css/easyquery.css +1712 -0
  6. package/dist/assets/css/easyquery.ui.css +3205 -0
  7. package/dist/assets/css/eq-icons-default.css +140 -0
  8. package/dist/assets/css/eq-icons-files.css +138 -0
  9. package/dist/assets/css/eqview.css +596 -0
  10. package/dist/assets/css/images/ExportCSV.png +0 -0
  11. package/dist/assets/css/images/ExportExel.png +0 -0
  12. package/dist/assets/css/images/aggr_settings_cancel.png +0 -0
  13. package/dist/assets/css/images/aggr_settings_func.png +0 -0
  14. package/dist/assets/css/images/aggr_settings_group.png +0 -0
  15. package/dist/assets/css/images/ajax-loader.gif +0 -0
  16. package/dist/assets/css/images/chart-settings.png +0 -0
  17. package/dist/assets/css/images/checkbox_checked.png +0 -0
  18. package/dist/assets/css/images/checkbox_unchecked.png +0 -0
  19. package/dist/assets/css/images/clearButton.png +0 -0
  20. package/dist/assets/css/images/colbtn-aggrfunc.png +0 -0
  21. package/dist/assets/css/images/condbtn-addcondition.png +0 -0
  22. package/dist/assets/css/images/condbtn-addpredicate.png +0 -0
  23. package/dist/assets/css/images/condbtn-delete.png +0 -0
  24. package/dist/assets/css/images/condbtn-disabled.png +0 -0
  25. package/dist/assets/css/images/condbtn-enabled.png +0 -0
  26. package/dist/assets/css/images/condbtn-menu.png +0 -0
  27. package/dist/assets/css/images/condbtn-param.png +0 -0
  28. package/dist/assets/css/images/eqjs-ep-add-columns-hover.png +0 -0
  29. package/dist/assets/css/images/eqjs-ep-add-columns.png +0 -0
  30. package/dist/assets/css/images/eqjs-ep-add-cond-hover.png +0 -0
  31. package/dist/assets/css/images/eqjs-ep-add-cond.png +0 -0
  32. package/dist/assets/css/images/eqjs-ep-deselect-all-hover.png +0 -0
  33. package/dist/assets/css/images/eqjs-ep-deselect-all.png +0 -0
  34. package/dist/assets/css/images/eqjs-ep-select-all-hover.png +0 -0
  35. package/dist/assets/css/images/eqjs-ep-select-all.png +0 -0
  36. package/dist/assets/css/images/eqjs-fb-header-icon.png +0 -0
  37. package/dist/assets/css/images/execute.png +0 -0
  38. package/dist/assets/css/images/loadButton.png +0 -0
  39. package/dist/assets/css/images/logo.png +0 -0
  40. package/dist/assets/css/images/node-close.png +0 -0
  41. package/dist/assets/css/images/node-open.png +0 -0
  42. package/dist/assets/css/images/saveButton.png +0 -0
  43. package/dist/assets/css/images/sorting_asc.png +0 -0
  44. package/dist/assets/css/images/sorting_desc.png +0 -0
  45. package/dist/assets/css/images/sorting_none.png +0 -0
  46. package/dist/assets/css/images/ve-loader.gif +0 -0
  47. package/dist/easyquery.ui.cjs.js +22 -24
  48. package/dist/easyquery.ui.esm.js +22 -24
  49. package/dist/types/views/html_data_filter_view.d.ts +3 -3
  50. package/dist/types/views/view.d.ts +3 -3
  51. package/dist/types/widgets/charts/chart_widget.d.ts +3 -4
  52. package/dist/types/widgets/charts/chart_widget_chartjs.d.ts +3 -4
  53. package/dist/types/widgets/charts/chart_widget_google.d.ts +3 -4
  54. package/package.json +2 -2
@@ -1677,7 +1677,8 @@ class PopupMenu {
1677
1677
  showItemIds: false
1678
1678
  };
1679
1679
  if (options) {
1680
- core$1.utils.assignDeep(this.options, options);
1680
+ core$1.utils.assign(this.options, options);
1681
+ core$1.utils.assign(this.options.buttons, options.buttons);
1681
1682
  }
1682
1683
  if (this.options.hideButtons) {
1683
1684
  this.options.submitOnBlur = true;
@@ -9266,12 +9267,11 @@ class ChartWidget extends core.Widget {
9266
9267
  return 'eqjs-chart';
9267
9268
  }
9268
9269
  /**
9269
- * The default constructor.
9270
- * @param slot The html element.
9271
- * @param provider The provider.
9270
+ Initializes a new instance of the `ChartWidget` class
9271
+ * @param slotElement - an HTML element we should place our widget in.
9272
9272
  */
9273
- constructor(slot) {
9274
- super(slot);
9273
+ constructor(slotElement) {
9274
+ super(slotElement);
9275
9275
  this.chartType = exports.ChartType.Pie;
9276
9276
  this.supportedChartTypes = [];
9277
9277
  this.dataTable = null;
@@ -9288,7 +9288,7 @@ class ChartWidget extends core.Widget {
9288
9288
  position: 'right'
9289
9289
  }
9290
9290
  };
9291
- this.element = slot;
9291
+ this.element = slotElement;
9292
9292
  this.group = core.WidgetGroup.Result;
9293
9293
  }
9294
9294
  /**
@@ -9611,12 +9611,11 @@ class ChartWidget extends core.Widget {
9611
9611
 
9612
9612
  class ChartJsWidget extends ChartWidget {
9613
9613
  /**
9614
- * The default constructor.
9615
- * @param slot The html element.
9616
- * @param provider The provider.
9614
+ Initializes a new instance of the `ChartJsWidget` class
9615
+ * @param slotElement - an HTML element we should place our widget in.
9617
9616
  */
9618
- constructor(slot) {
9619
- super(slot);
9617
+ constructor(slotElement) {
9618
+ super(slotElement);
9620
9619
  this.colors = [
9621
9620
  '#4dc9f6',
9622
9621
  '#f67019',
@@ -9776,12 +9775,11 @@ class ChartJsWidget extends ChartWidget {
9776
9775
 
9777
9776
  class GoogleChartWidget extends ChartWidget {
9778
9777
  /**
9779
- * The default constructor.
9780
- * @param slot The html element.
9781
- * @param provider The provider.
9778
+ Initializes a new instance of the `GoogleChartWidget` class
9779
+ * @param slotElement - an HTML element we should place our widget in.
9782
9780
  */
9783
- constructor(slot) {
9784
- super(slot);
9781
+ constructor(slotElement) {
9782
+ super(slotElement);
9785
9783
  this.hasChartTypes = [
9786
9784
  exports.ChartType.Column,
9787
9785
  exports.ChartType.Bar,
@@ -12437,7 +12435,7 @@ class View {
12437
12435
  }
12438
12436
  /**
12439
12437
  * Creates the widget that represents Chart Widget.
12440
- * @param slot The HTMLElement to place the created widget in.
12438
+ * @param slotElement The HTMLElement to place the created widget in.
12441
12439
  * @returns the created Widget object.
12442
12440
  */
12443
12441
  createChartWidget(slotElement) {
@@ -12449,8 +12447,8 @@ class View {
12449
12447
  }
12450
12448
  }
12451
12449
  /**
12452
- * Creates the widget that represents Grid Widget.
12453
- * @param slot The HTMLElement to place the created widget in.
12450
+ * Creates the widget that represents Result Grid.
12451
+ * @param slotElement The HTMLElement to place the created widget in.
12454
12452
  * @returns the created Widget object.
12455
12453
  */
12456
12454
  createResultGridWidget(slotElement) {
@@ -13371,12 +13369,12 @@ class HtmlDataFilterView extends DataFilterView {
13371
13369
  super();
13372
13370
  }
13373
13371
  /**
13374
- * Creates the widget that represents Grid Widget.
13375
- * @param slot The HTMLElement to place the created widget in.
13372
+ * Creates the widget that represents Result Grid.
13373
+ * @param slotElement The HTMLElement to place the created widget in.
13376
13374
  * @returns the created Widget object.
13377
13375
  */
13378
- createResultGridWidget(element) {
13379
- return new EqHtmlGrid(element);
13376
+ createResultGridWidget(slotElement) {
13377
+ return new EqHtmlGrid(slotElement);
13380
13378
  }
13381
13379
  /**
13382
13380
  * Obsolete. Left for backward compatibility.
@@ -1675,7 +1675,8 @@ class PopupMenu {
1675
1675
  showItemIds: false
1676
1676
  };
1677
1677
  if (options) {
1678
- utils.assignDeep(this.options, options);
1678
+ utils.assign(this.options, options);
1679
+ utils.assign(this.options.buttons, options.buttons);
1679
1680
  }
1680
1681
  if (this.options.hideButtons) {
1681
1682
  this.options.submitOnBlur = true;
@@ -9264,12 +9265,11 @@ class ChartWidget extends Widget {
9264
9265
  return 'eqjs-chart';
9265
9266
  }
9266
9267
  /**
9267
- * The default constructor.
9268
- * @param slot The html element.
9269
- * @param provider The provider.
9268
+ Initializes a new instance of the `ChartWidget` class
9269
+ * @param slotElement - an HTML element we should place our widget in.
9270
9270
  */
9271
- constructor(slot) {
9272
- super(slot);
9271
+ constructor(slotElement) {
9272
+ super(slotElement);
9273
9273
  this.chartType = ChartType.Pie;
9274
9274
  this.supportedChartTypes = [];
9275
9275
  this.dataTable = null;
@@ -9286,7 +9286,7 @@ class ChartWidget extends Widget {
9286
9286
  position: 'right'
9287
9287
  }
9288
9288
  };
9289
- this.element = slot;
9289
+ this.element = slotElement;
9290
9290
  this.group = WidgetGroup.Result;
9291
9291
  }
9292
9292
  /**
@@ -9609,12 +9609,11 @@ class ChartWidget extends Widget {
9609
9609
 
9610
9610
  class ChartJsWidget extends ChartWidget {
9611
9611
  /**
9612
- * The default constructor.
9613
- * @param slot The html element.
9614
- * @param provider The provider.
9612
+ Initializes a new instance of the `ChartJsWidget` class
9613
+ * @param slotElement - an HTML element we should place our widget in.
9615
9614
  */
9616
- constructor(slot) {
9617
- super(slot);
9615
+ constructor(slotElement) {
9616
+ super(slotElement);
9618
9617
  this.colors = [
9619
9618
  '#4dc9f6',
9620
9619
  '#f67019',
@@ -9774,12 +9773,11 @@ class ChartJsWidget extends ChartWidget {
9774
9773
 
9775
9774
  class GoogleChartWidget extends ChartWidget {
9776
9775
  /**
9777
- * The default constructor.
9778
- * @param slot The html element.
9779
- * @param provider The provider.
9776
+ Initializes a new instance of the `GoogleChartWidget` class
9777
+ * @param slotElement - an HTML element we should place our widget in.
9780
9778
  */
9781
- constructor(slot) {
9782
- super(slot);
9779
+ constructor(slotElement) {
9780
+ super(slotElement);
9783
9781
  this.hasChartTypes = [
9784
9782
  ChartType.Column,
9785
9783
  ChartType.Bar,
@@ -12435,7 +12433,7 @@ class View {
12435
12433
  }
12436
12434
  /**
12437
12435
  * Creates the widget that represents Chart Widget.
12438
- * @param slot The HTMLElement to place the created widget in.
12436
+ * @param slotElement The HTMLElement to place the created widget in.
12439
12437
  * @returns the created Widget object.
12440
12438
  */
12441
12439
  createChartWidget(slotElement) {
@@ -12447,8 +12445,8 @@ class View {
12447
12445
  }
12448
12446
  }
12449
12447
  /**
12450
- * Creates the widget that represents Grid Widget.
12451
- * @param slot The HTMLElement to place the created widget in.
12448
+ * Creates the widget that represents Result Grid.
12449
+ * @param slotElement The HTMLElement to place the created widget in.
12452
12450
  * @returns the created Widget object.
12453
12451
  */
12454
12452
  createResultGridWidget(slotElement) {
@@ -13369,12 +13367,12 @@ class HtmlDataFilterView extends DataFilterView {
13369
13367
  super();
13370
13368
  }
13371
13369
  /**
13372
- * Creates the widget that represents Grid Widget.
13373
- * @param slot The HTMLElement to place the created widget in.
13370
+ * Creates the widget that represents Result Grid.
13371
+ * @param slotElement The HTMLElement to place the created widget in.
13374
13372
  * @returns the created Widget object.
13375
13373
  */
13376
- createResultGridWidget(element) {
13377
- return new EqHtmlGrid(element);
13374
+ createResultGridWidget(slotElement) {
13375
+ return new EqHtmlGrid(slotElement);
13378
13376
  }
13379
13377
  /**
13380
13378
  * Obsolete. Left for backward compatibility.
@@ -6,11 +6,11 @@ import { DataFilterView } from "./data_filter_view";
6
6
  export declare class HtmlDataFilterView extends DataFilterView {
7
7
  constructor();
8
8
  /**
9
- * Creates the widget that represents Grid Widget.
10
- * @param slot The HTMLElement to place the created widget in.
9
+ * Creates the widget that represents Result Grid.
10
+ * @param slotElement The HTMLElement to place the created widget in.
11
11
  * @returns the created Widget object.
12
12
  */
13
- protected createResultGridWidget(element: HTMLElement): Widget;
13
+ protected createResultGridWidget(slotElement: HTMLElement): Widget;
14
14
  /**
15
15
  * Obsolete. Left for backward compatibility.
16
16
  * Use fetchData() instead
@@ -63,13 +63,13 @@ export declare abstract class View {
63
63
  protected hideResultSpinner(): void;
64
64
  /**
65
65
  * Creates the widget that represents Chart Widget.
66
- * @param slot The HTMLElement to place the created widget in.
66
+ * @param slotElement The HTMLElement to place the created widget in.
67
67
  * @returns the created Widget object.
68
68
  */
69
69
  protected createChartWidget(slotElement: HTMLElement): Widget;
70
70
  /**
71
- * Creates the widget that represents Grid Widget.
72
- * @param slot The HTMLElement to place the created widget in.
71
+ * Creates the widget that represents Result Grid.
72
+ * @param slotElement The HTMLElement to place the created widget in.
73
73
  * @returns the created Widget object.
74
74
  */
75
75
  protected createResultGridWidget(slotElement: HTMLElement): Widget;
@@ -20,11 +20,10 @@ export declare abstract class ChartWidget extends Widget {
20
20
  protected options: ChartWidgetOptions;
21
21
  protected get cssPrefix(): string;
22
22
  /**
23
- * The default constructor.
24
- * @param slot The html element.
25
- * @param provider The provider.
23
+ Initializes a new instance of the `ChartWidget` class
24
+ * @param slotElement - an HTML element we should place our widget in.
26
25
  */
27
- constructor(slot: HTMLElement);
26
+ constructor(slotElement: HTMLElement);
28
27
  /**
29
28
  * Initialize widget.
30
29
  * @param context The context.
@@ -3,11 +3,10 @@ import { ChartType } from './chart_type';
3
3
  export declare class ChartJsWidget extends ChartWidget {
4
4
  private colors;
5
5
  /**
6
- * The default constructor.
7
- * @param slot The html element.
8
- * @param provider The provider.
6
+ Initializes a new instance of the `ChartJsWidget` class
7
+ * @param slotElement - an HTML element we should place our widget in.
9
8
  */
10
- constructor(slot: HTMLElement);
9
+ constructor(slotElement: HTMLElement);
11
10
  getWidgetType(): string;
12
11
  private chartLabels;
13
12
  private chartColumns;
@@ -4,11 +4,10 @@ export declare class GoogleChartWidget extends ChartWidget {
4
4
  protected googleDataView: any;
5
5
  protected hasChartTypes: ChartType[];
6
6
  /**
7
- * The default constructor.
8
- * @param slot The html element.
9
- * @param provider The provider.
7
+ Initializes a new instance of the `GoogleChartWidget` class
8
+ * @param slotElement - an HTML element we should place our widget in.
10
9
  */
11
- constructor(slot: HTMLElement);
10
+ constructor(slotElement: HTMLElement);
12
11
  getWidgetType(): string;
13
12
  protected canDraw(): boolean;
14
13
  static hasGoogleCharts(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyquery/ui",
3
- "version": "7.2.5-rc01",
3
+ "version": "7.2.5-rc02",
4
4
  "description": "EasyQuery.JS Community UI widgets",
5
5
  "types": "./dist/types/public_api.d.ts",
6
6
  "main": "./dist/easyquery.ui.cjs.js",
@@ -31,7 +31,7 @@
31
31
  "peerDependencies": {
32
32
  "@easydata/core": "^1.4.21",
33
33
  "@easydata/ui": "^1.4.21",
34
- "@easyquery/core": "^7.2.5-rc01"
34
+ "@easyquery/core": "^7.2.5-rc02"
35
35
  },
36
36
  "files": [
37
37
  "dist",