@syncfusion/ej2-vue-querybuilder 20.1.48 → 20.1.59

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 (46) hide show
  1. package/CHANGELOG.md +8 -26
  2. package/dist/ej2-vue-querybuilder.umd.min.js +11 -2
  3. package/dist/es6/ej2-vue-querybuilder.es2015.js +51 -5
  4. package/dist/es6/ej2-vue-querybuilder.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-querybuilder.es5.js +35 -5
  6. package/dist/es6/ej2-vue-querybuilder.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-querybuilder.min.js +2 -2
  8. package/package.json +8 -14
  9. package/src/query-builder/columns.directive.d.ts +3 -1
  10. package/src/query-builder/columns.directive.js +24 -2
  11. package/src/query-builder/querybuilder.component.d.ts +1 -0
  12. package/src/query-builder/querybuilder.component.js +10 -1
  13. package/styles/bootstrap-dark.css +31 -214
  14. package/styles/bootstrap.css +31 -214
  15. package/styles/bootstrap4.css +32 -221
  16. package/styles/bootstrap5-dark.css +56 -221
  17. package/styles/bootstrap5.css +56 -221
  18. package/styles/fabric-dark.css +31 -210
  19. package/styles/fabric.css +31 -210
  20. package/styles/fluent-dark.css +785 -0
  21. package/styles/fluent-dark.scss +1 -0
  22. package/styles/fluent.css +785 -0
  23. package/styles/fluent.scss +1 -0
  24. package/styles/highcontrast-light.css +32 -252
  25. package/styles/highcontrast.css +32 -252
  26. package/styles/material-dark.css +27 -199
  27. package/styles/material.css +27 -199
  28. package/styles/query-builder/bootstrap-dark.css +31 -214
  29. package/styles/query-builder/bootstrap.css +31 -214
  30. package/styles/query-builder/bootstrap4.css +32 -221
  31. package/styles/query-builder/bootstrap5-dark.css +56 -221
  32. package/styles/query-builder/bootstrap5.css +56 -221
  33. package/styles/query-builder/fabric-dark.css +31 -210
  34. package/styles/query-builder/fabric.css +31 -210
  35. package/styles/query-builder/fluent-dark.css +785 -0
  36. package/styles/query-builder/fluent-dark.scss +1 -0
  37. package/styles/query-builder/fluent.css +785 -0
  38. package/styles/query-builder/fluent.scss +1 -0
  39. package/styles/query-builder/highcontrast-light.css +32 -252
  40. package/styles/query-builder/highcontrast.css +32 -252
  41. package/styles/query-builder/material-dark.css +27 -199
  42. package/styles/query-builder/material.css +27 -199
  43. package/styles/query-builder/tailwind-dark.css +44 -270
  44. package/styles/query-builder/tailwind.css +44 -270
  45. package/styles/tailwind-dark.css +44 -270
  46. package/styles/tailwind.css +44 -270
package/package.json CHANGED
@@ -1,14 +1,8 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@syncfusion/ej2-vue-querybuilder@19.4.55",
5
- "D:\\Augest 2021\\vue package publish\\vue source from nexus"
6
- ]
7
- ],
8
2
  "_from": "@syncfusion/ej2-vue-querybuilder@*",
9
- "_id": "@syncfusion/ej2-vue-querybuilder@19.4.55",
3
+ "_id": "@syncfusion/ej2-vue-querybuilder@20.1.55",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-nJsIYlJu0bZk1OmIa9zBsN4z4tT46RTkUtM0UVAquNysbsG8UhVsDxXuvBHYzCSdPVp4vmxSMHCOQec1Mi3jCA==",
5
+ "_integrity": "sha512-HyqNzzNzIcssQD3h6l/bJv3pPCAUqS3ceFLvj7FuM12fjJcsirt+tQv7+fs1zRSQExoqRZqeepCWaNgqj78AjA==",
12
6
  "_location": "/@syncfusion/ej2-vue-querybuilder",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
@@ -25,8 +19,8 @@
25
19
  "_requiredBy": [
26
20
  "/"
27
21
  ],
28
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-querybuilder/-/ej2-vue-querybuilder-19.4.55.tgz",
29
- "_shasum": "31894a347e4fa33f237a955bc0b85d5b2349e6a3",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-querybuilder/-/ej2-vue-querybuilder-20.1.55.tgz",
23
+ "_shasum": "ed8bfb7291fed0fa5f099fc524c310906bad0ced",
30
24
  "_spec": "@syncfusion/ej2-vue-querybuilder@*",
31
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
26
  "author": {
@@ -37,9 +31,9 @@
37
31
  },
38
32
  "bundleDependencies": false,
39
33
  "dependencies": {
40
- "@syncfusion/ej2-base": "~20.1.48",
41
- "@syncfusion/ej2-querybuilder": "20.1.48",
42
- "@syncfusion/ej2-vue-base": "~20.1.48"
34
+ "@syncfusion/ej2-base": "~20.1.57",
35
+ "@syncfusion/ej2-querybuilder": "20.1.59",
36
+ "@syncfusion/ej2-vue-base": "~20.1.57"
43
37
  },
44
38
  "deprecated": false,
45
39
  "description": "Essential JS 2 QueryBuilder for Vue",
@@ -70,6 +64,6 @@
70
64
  "type": "git",
71
65
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
72
66
  },
73
- "version": "20.1.48",
67
+ "version": "20.1.59",
74
68
  "sideEffects": false
75
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
- render(): void;
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 !== null && _super.apply(this, arguments) || this;
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;