@syncfusion/ej2-vue-querybuilder 20.1.47 → 20.1.55
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/CHANGELOG.md +23 -0
- package/dist/ej2-vue-querybuilder.umd.min.js +9 -0
- package/dist/es6/ej2-vue-querybuilder.es2015.js +51 -5
- package/dist/es6/ej2-vue-querybuilder.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-querybuilder.es5.js +35 -5
- package/dist/es6/ej2-vue-querybuilder.es5.js.map +1 -1
- package/dist/global/ej2-vue-querybuilder.min.js +2 -2
- package/package.json +8 -8
- package/src/query-builder/columns.directive.d.ts +3 -1
- package/src/query-builder/columns.directive.js +24 -2
- package/src/query-builder/querybuilder.component.d.ts +1 -0
- package/src/query-builder/querybuilder.component.js +10 -1
- package/styles/fluent-dark.css +0 -14
- package/styles/fluent.css +0 -14
- package/styles/query-builder/fluent-dark.css +0 -14
- package/styles/query-builder/fluent.css +0 -14
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-querybuilder@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-querybuilder@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-querybuilder@20.1.51",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-nTmioY7vufIbmXVMCGacFgGGg5e7Cq7gELT9fMRVvp5rl+PGnRqUAb2Nyn8PxCsJFSDbZQNUWuLFT3oo9MHKdg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-querybuilder",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-querybuilder/-/ej2-vue-querybuilder-20.1.51.tgz",
|
|
23
|
+
"_shasum": "1f407fec890e85936501ddfa0a95ade737b9b96f",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-querybuilder@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~20.1.
|
|
35
|
-
"@syncfusion/ej2-querybuilder": "20.1.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~20.1.
|
|
34
|
+
"@syncfusion/ej2-base": "~20.1.55",
|
|
35
|
+
"@syncfusion/ej2-querybuilder": "20.1.55",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~20.1.55"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 QueryBuilder for Vue",
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
"type": "git",
|
|
65
65
|
"url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
|
|
66
66
|
},
|
|
67
|
-
"version": "20.1.
|
|
67
|
+
"version": "20.1.55",
|
|
68
68
|
"sideEffects": false
|
|
69
69
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare const isExecute: any;
|
|
2
2
|
declare let vueImport: any;
|
|
3
3
|
export declare class ColumnsDirective extends vueImport {
|
|
4
|
-
|
|
4
|
+
constructor();
|
|
5
|
+
render(createElement: any): void;
|
|
6
|
+
updated(): void;
|
|
5
7
|
getTag(): string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ColumnsPlugin: {
|
|
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
};
|
|
20
20
|
import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
|
|
21
21
|
import * as Vue3 from 'vue-class-component';
|
|
22
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
22
23
|
import Vue from 'vue';
|
|
24
|
+
import { Options } from 'vue-class-component';
|
|
23
25
|
export var isExecute = gh ? false : true;
|
|
24
26
|
var vueImport;
|
|
25
27
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -31,16 +33,36 @@ else {
|
|
|
31
33
|
var ColumnsDirective = /** @class */ (function (_super) {
|
|
32
34
|
__extends(ColumnsDirective, _super);
|
|
33
35
|
function ColumnsDirective() {
|
|
34
|
-
return _super
|
|
36
|
+
return _super.call(this, arguments) || this;
|
|
35
37
|
}
|
|
36
|
-
ColumnsDirective.prototype.render = function () {
|
|
38
|
+
ColumnsDirective.prototype.render = function (createElement) {
|
|
39
|
+
if (gh) {
|
|
40
|
+
var h = gh || createElement;
|
|
41
|
+
var slots = null;
|
|
42
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
43
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
44
|
+
}
|
|
45
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
46
|
+
}
|
|
37
47
|
return;
|
|
38
48
|
};
|
|
49
|
+
ColumnsDirective.prototype.updated = function () {
|
|
50
|
+
if (gh && this.custom) {
|
|
51
|
+
this.custom();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
39
54
|
ColumnsDirective.prototype.getTag = function () {
|
|
40
55
|
return 'e-columns';
|
|
41
56
|
};
|
|
42
57
|
ColumnsDirective = __decorate([
|
|
43
58
|
EJComponentDecorator({}, isExecute)
|
|
59
|
+
,Options({
|
|
60
|
+
inject: {
|
|
61
|
+
custom: {
|
|
62
|
+
default: null
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
44
66
|
], ColumnsDirective);
|
|
45
67
|
return ColumnsDirective;
|
|
46
68
|
}(vueImport));
|
|
@@ -28,6 +28,7 @@ export declare class QueryBuilderComponent extends ComponentBase {
|
|
|
28
28
|
clearTemplate(templateNames?: string[]): any;
|
|
29
29
|
setProperties(prop: any, muteOnChange: boolean): void;
|
|
30
30
|
render(createElement: any): any;
|
|
31
|
+
custom(): void;
|
|
31
32
|
addGroups(groups: Object[], groupID: string): void;
|
|
32
33
|
addRules(rule: Object[], groupID: string): void;
|
|
33
34
|
deleteGroup(target: Object | string): void;
|
|
@@ -56,6 +56,7 @@ var QueryBuilderComponent = /** @class */ (function (_super) {
|
|
|
56
56
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
57
57
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
58
58
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
59
|
+
_this.updated = _this.updated;
|
|
59
60
|
return _this;
|
|
60
61
|
}
|
|
61
62
|
QueryBuilderComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -114,6 +115,9 @@ var QueryBuilderComponent = /** @class */ (function (_super) {
|
|
|
114
115
|
}
|
|
115
116
|
return h('div', slots);
|
|
116
117
|
};
|
|
118
|
+
QueryBuilderComponent.prototype.custom = function () {
|
|
119
|
+
this.updated();
|
|
120
|
+
};
|
|
117
121
|
QueryBuilderComponent.prototype.addGroups = function (groups, groupID) {
|
|
118
122
|
return this.ej2Instances.addGroups(groups, groupID);
|
|
119
123
|
};
|
|
@@ -184,7 +188,12 @@ var QueryBuilderComponent = /** @class */ (function (_super) {
|
|
|
184
188
|
,Options({
|
|
185
189
|
props: props,
|
|
186
190
|
watch: watch,
|
|
187
|
-
emits: emitProbs
|
|
191
|
+
emits: emitProbs,
|
|
192
|
+
provide: function provide() {
|
|
193
|
+
return {
|
|
194
|
+
custom: this.custom
|
|
195
|
+
};
|
|
196
|
+
}
|
|
188
197
|
})
|
|
189
198
|
], QueryBuilderComponent);
|
|
190
199
|
return QueryBuilderComponent;
|
package/styles/fluent-dark.css
CHANGED
|
@@ -46,16 +46,6 @@
|
|
|
46
46
|
text-indent: 16px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.e-bigger .e-popup.e-ddl .e-dd-group .e-list-item {
|
|
50
|
-
padding-left: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.e-bigger .e-popup.e-ddl .e-input-group input,
|
|
54
|
-
.e-bigger .e-popup.e-ddl .e-input-group input.e-input {
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
height: 36px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
49
|
.e-bigger .e-popup.e-ddl .e-dropdownbase {
|
|
60
50
|
min-height: 40px;
|
|
61
51
|
}
|
|
@@ -133,10 +123,6 @@
|
|
|
133
123
|
text-indent: 16px;
|
|
134
124
|
}
|
|
135
125
|
|
|
136
|
-
.e-bigger.e-small .e-ddl.e-popup .e-dd-group .e-list-item {
|
|
137
|
-
padding-left: 4px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
126
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input,
|
|
141
127
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input.e-input {
|
|
142
128
|
height: 30px;
|
package/styles/fluent.css
CHANGED
|
@@ -46,16 +46,6 @@
|
|
|
46
46
|
text-indent: 16px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.e-bigger .e-popup.e-ddl .e-dd-group .e-list-item {
|
|
50
|
-
padding-left: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.e-bigger .e-popup.e-ddl .e-input-group input,
|
|
54
|
-
.e-bigger .e-popup.e-ddl .e-input-group input.e-input {
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
height: 36px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
49
|
.e-bigger .e-popup.e-ddl .e-dropdownbase {
|
|
60
50
|
min-height: 40px;
|
|
61
51
|
}
|
|
@@ -133,10 +123,6 @@
|
|
|
133
123
|
text-indent: 16px;
|
|
134
124
|
}
|
|
135
125
|
|
|
136
|
-
.e-bigger.e-small .e-ddl.e-popup .e-dd-group .e-list-item {
|
|
137
|
-
padding-left: 4px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
126
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input,
|
|
141
127
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input.e-input {
|
|
142
128
|
height: 30px;
|
|
@@ -46,16 +46,6 @@
|
|
|
46
46
|
text-indent: 16px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.e-bigger .e-popup.e-ddl .e-dd-group .e-list-item {
|
|
50
|
-
padding-left: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.e-bigger .e-popup.e-ddl .e-input-group input,
|
|
54
|
-
.e-bigger .e-popup.e-ddl .e-input-group input.e-input {
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
height: 36px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
49
|
.e-bigger .e-popup.e-ddl .e-dropdownbase {
|
|
60
50
|
min-height: 40px;
|
|
61
51
|
}
|
|
@@ -133,10 +123,6 @@
|
|
|
133
123
|
text-indent: 16px;
|
|
134
124
|
}
|
|
135
125
|
|
|
136
|
-
.e-bigger.e-small .e-ddl.e-popup .e-dd-group .e-list-item {
|
|
137
|
-
padding-left: 4px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
126
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input,
|
|
141
127
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input.e-input {
|
|
142
128
|
height: 30px;
|
|
@@ -46,16 +46,6 @@
|
|
|
46
46
|
text-indent: 16px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.e-bigger .e-popup.e-ddl .e-dd-group .e-list-item {
|
|
50
|
-
padding-left: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.e-bigger .e-popup.e-ddl .e-input-group input,
|
|
54
|
-
.e-bigger .e-popup.e-ddl .e-input-group input.e-input {
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
height: 36px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
49
|
.e-bigger .e-popup.e-ddl .e-dropdownbase {
|
|
60
50
|
min-height: 40px;
|
|
61
51
|
}
|
|
@@ -133,10 +123,6 @@
|
|
|
133
123
|
text-indent: 16px;
|
|
134
124
|
}
|
|
135
125
|
|
|
136
|
-
.e-bigger.e-small .e-ddl.e-popup .e-dd-group .e-list-item {
|
|
137
|
-
padding-left: 4px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
126
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input,
|
|
141
127
|
.e-bigger.e-small .e-ddl.e-popup .e-input-group input.e-input {
|
|
142
128
|
height: 30px;
|