@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.
- package/dist/assets/css/aggr-settings.css +242 -0
- package/dist/assets/css/easychart.css +73 -0
- package/dist/assets/css/easyfacets.css +280 -0
- package/dist/assets/css/easyquery-mobile.css +267 -0
- package/dist/assets/css/easyquery.css +1712 -0
- package/dist/assets/css/easyquery.ui.css +3205 -0
- package/dist/assets/css/eq-icons-default.css +140 -0
- package/dist/assets/css/eq-icons-files.css +138 -0
- package/dist/assets/css/eqview.css +596 -0
- package/dist/assets/css/images/ExportCSV.png +0 -0
- package/dist/assets/css/images/ExportExel.png +0 -0
- package/dist/assets/css/images/aggr_settings_cancel.png +0 -0
- package/dist/assets/css/images/aggr_settings_func.png +0 -0
- package/dist/assets/css/images/aggr_settings_group.png +0 -0
- package/dist/assets/css/images/ajax-loader.gif +0 -0
- package/dist/assets/css/images/chart-settings.png +0 -0
- package/dist/assets/css/images/checkbox_checked.png +0 -0
- package/dist/assets/css/images/checkbox_unchecked.png +0 -0
- package/dist/assets/css/images/clearButton.png +0 -0
- package/dist/assets/css/images/colbtn-aggrfunc.png +0 -0
- package/dist/assets/css/images/condbtn-addcondition.png +0 -0
- package/dist/assets/css/images/condbtn-addpredicate.png +0 -0
- package/dist/assets/css/images/condbtn-delete.png +0 -0
- package/dist/assets/css/images/condbtn-disabled.png +0 -0
- package/dist/assets/css/images/condbtn-enabled.png +0 -0
- package/dist/assets/css/images/condbtn-menu.png +0 -0
- package/dist/assets/css/images/condbtn-param.png +0 -0
- package/dist/assets/css/images/eqjs-ep-add-columns-hover.png +0 -0
- package/dist/assets/css/images/eqjs-ep-add-columns.png +0 -0
- package/dist/assets/css/images/eqjs-ep-add-cond-hover.png +0 -0
- package/dist/assets/css/images/eqjs-ep-add-cond.png +0 -0
- package/dist/assets/css/images/eqjs-ep-deselect-all-hover.png +0 -0
- package/dist/assets/css/images/eqjs-ep-deselect-all.png +0 -0
- package/dist/assets/css/images/eqjs-ep-select-all-hover.png +0 -0
- package/dist/assets/css/images/eqjs-ep-select-all.png +0 -0
- package/dist/assets/css/images/eqjs-fb-header-icon.png +0 -0
- package/dist/assets/css/images/execute.png +0 -0
- package/dist/assets/css/images/loadButton.png +0 -0
- package/dist/assets/css/images/logo.png +0 -0
- package/dist/assets/css/images/node-close.png +0 -0
- package/dist/assets/css/images/node-open.png +0 -0
- package/dist/assets/css/images/saveButton.png +0 -0
- package/dist/assets/css/images/sorting_asc.png +0 -0
- package/dist/assets/css/images/sorting_desc.png +0 -0
- package/dist/assets/css/images/sorting_none.png +0 -0
- package/dist/assets/css/images/ve-loader.gif +0 -0
- package/dist/easyquery.ui.cjs.js +22 -24
- package/dist/easyquery.ui.esm.js +22 -24
- package/dist/types/views/html_data_filter_view.d.ts +3 -3
- package/dist/types/views/view.d.ts +3 -3
- package/dist/types/widgets/charts/chart_widget.d.ts +3 -4
- package/dist/types/widgets/charts/chart_widget_chartjs.d.ts +3 -4
- package/dist/types/widgets/charts/chart_widget_google.d.ts +3 -4
- package/package.json +2 -2
package/dist/easyquery.ui.cjs.js
CHANGED
|
@@ -1677,7 +1677,8 @@ class PopupMenu {
|
|
|
1677
1677
|
showItemIds: false
|
|
1678
1678
|
};
|
|
1679
1679
|
if (options) {
|
|
1680
|
-
core$1.utils.
|
|
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
|
-
|
|
9270
|
-
* @param
|
|
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(
|
|
9274
|
-
super(
|
|
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 =
|
|
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
|
-
|
|
9615
|
-
* @param
|
|
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(
|
|
9619
|
-
super(
|
|
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
|
-
|
|
9780
|
-
* @param
|
|
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(
|
|
9784
|
-
super(
|
|
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
|
|
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
|
|
12453
|
-
* @param
|
|
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
|
|
13375
|
-
* @param
|
|
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(
|
|
13379
|
-
return new EqHtmlGrid(
|
|
13376
|
+
createResultGridWidget(slotElement) {
|
|
13377
|
+
return new EqHtmlGrid(slotElement);
|
|
13380
13378
|
}
|
|
13381
13379
|
/**
|
|
13382
13380
|
* Obsolete. Left for backward compatibility.
|
package/dist/easyquery.ui.esm.js
CHANGED
|
@@ -1675,7 +1675,8 @@ class PopupMenu {
|
|
|
1675
1675
|
showItemIds: false
|
|
1676
1676
|
};
|
|
1677
1677
|
if (options) {
|
|
1678
|
-
utils.
|
|
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
|
-
|
|
9268
|
-
* @param
|
|
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(
|
|
9272
|
-
super(
|
|
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 =
|
|
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
|
-
|
|
9613
|
-
* @param
|
|
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(
|
|
9617
|
-
super(
|
|
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
|
-
|
|
9778
|
-
* @param
|
|
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(
|
|
9782
|
-
super(
|
|
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
|
|
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
|
|
12451
|
-
* @param
|
|
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
|
|
13373
|
-
* @param
|
|
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(
|
|
13377
|
-
return new EqHtmlGrid(
|
|
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
|
|
10
|
-
* @param
|
|
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(
|
|
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
|
|
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
|
|
72
|
-
* @param
|
|
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
|
-
|
|
24
|
-
* @param
|
|
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(
|
|
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
|
-
|
|
7
|
-
* @param
|
|
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(
|
|
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
|
-
|
|
8
|
-
* @param
|
|
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(
|
|
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-
|
|
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-
|
|
34
|
+
"@easyquery/core": "^7.2.5-rc02"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist",
|