@syncfusion/ej2-vue-layouts 19.2.48 → 19.3.44

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 (61) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/ej2-vue-layouts.umd.min.js +20 -2
  3. package/dist/ej2-vue-layouts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-layouts.es2015.js +49 -1
  5. package/dist/es6/ej2-vue-layouts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-layouts.es5.js +53 -1
  7. package/dist/es6/ej2-vue-layouts.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-layouts.min.js +2 -2
  9. package/package.json +8 -8
  10. package/src/dashboard-layout/dashboardlayout.component.d.ts +2 -0
  11. package/src/dashboard-layout/dashboardlayout.component.js +27 -1
  12. package/src/splitter/splitter.component.d.ts +2 -0
  13. package/src/splitter/splitter.component.js +27 -1
  14. package/styles/avatar/bootstrap5-dark.css +61 -0
  15. package/styles/avatar/bootstrap5-dark.scss +1 -0
  16. package/styles/avatar/bootstrap5.css +61 -0
  17. package/styles/avatar/bootstrap5.scss +1 -0
  18. package/styles/bootstrap-dark.css +8 -0
  19. package/styles/bootstrap.css +8 -0
  20. package/styles/bootstrap4.css +8 -0
  21. package/styles/bootstrap5-dark.css +1618 -0
  22. package/styles/bootstrap5-dark.scss +4 -0
  23. package/styles/bootstrap5.css +1618 -0
  24. package/styles/bootstrap5.scss +4 -0
  25. package/styles/card/bootstrap5-dark.css +593 -0
  26. package/styles/card/bootstrap5-dark.scss +1 -0
  27. package/styles/card/bootstrap5.css +593 -0
  28. package/styles/card/bootstrap5.scss +1 -0
  29. package/styles/card/fabric-dark.css +12 -12
  30. package/styles/card/tailwind-dark.css +2 -3
  31. package/styles/card/tailwind.css +0 -1
  32. package/styles/dashboard-layout/bootstrap5-dark.css +393 -0
  33. package/styles/dashboard-layout/bootstrap5-dark.scss +1 -0
  34. package/styles/dashboard-layout/bootstrap5.css +393 -0
  35. package/styles/dashboard-layout/bootstrap5.scss +1 -0
  36. package/styles/dashboard-layout/material-dark.css +3 -3
  37. package/styles/dashboard-layout/tailwind-dark.css +10 -8
  38. package/styles/dashboard-layout/tailwind.css +5 -3
  39. package/styles/fabric-dark.css +20 -12
  40. package/styles/fabric.css +8 -0
  41. package/styles/highcontrast-light.css +8 -0
  42. package/styles/highcontrast.css +8 -0
  43. package/styles/material-dark.css +19 -11
  44. package/styles/material.css +8 -0
  45. package/styles/splitter/bootstrap-dark.css +8 -0
  46. package/styles/splitter/bootstrap.css +8 -0
  47. package/styles/splitter/bootstrap4.css +8 -0
  48. package/styles/splitter/bootstrap5-dark.css +568 -0
  49. package/styles/splitter/bootstrap5-dark.scss +1 -0
  50. package/styles/splitter/bootstrap5.css +568 -0
  51. package/styles/splitter/bootstrap5.scss +1 -0
  52. package/styles/splitter/fabric-dark.css +8 -0
  53. package/styles/splitter/fabric.css +8 -0
  54. package/styles/splitter/highcontrast-light.css +8 -0
  55. package/styles/splitter/highcontrast.css +8 -0
  56. package/styles/splitter/material-dark.css +16 -8
  57. package/styles/splitter/material.css +8 -0
  58. package/styles/splitter/tailwind-dark.css +14 -7
  59. package/styles/splitter/tailwind.css +8 -1
  60. package/styles/tailwind-dark.css +26 -18
  61. package/styles/tailwind.css +13 -5
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-layouts@*",
3
- "_id": "@syncfusion/ej2-vue-layouts@18.3.35",
3
+ "_id": "@syncfusion/ej2-vue-layouts@18.23.7",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2EO/e9vfMDWTX39Wjv64c/wdHoEY3a07hu/k76/HmTjG6viyJDJzwszB6FlYp1NWRx0C2TLc2M9aneEqUJAtSQ==",
5
+ "_integrity": "sha512-bfRlp7aQOWF+pSXs1+86wkaUK2NVWXiu3xDrd0MnzMwTqrogWww3Biq1wDCkkTfvfCtIBq1DzduHI//FfejyGg==",
6
6
  "_location": "/@syncfusion/ej2-vue-layouts",
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-hotfix/@syncfusion/ej2-vue-layouts/-/ej2-vue-layouts-18.3.35.tgz",
23
- "_shasum": "8e8890f91dc483c147957c994790ace7fcc1d839",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-vue-layouts/-/ej2-vue-layouts-18.23.7.tgz",
23
+ "_shasum": "09e5384648b4e5da86f62145c10b296e0d129d2f",
24
24
  "_spec": "@syncfusion/ej2-vue-layouts@*",
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": "~19.2.48",
35
- "@syncfusion/ej2-layouts": "19.2.48",
36
- "@syncfusion/ej2-vue-base": "~19.2.48"
34
+ "@syncfusion/ej2-base": "~19.3.43",
35
+ "@syncfusion/ej2-layouts": "19.3.44",
36
+ "@syncfusion/ej2-vue-base": "~19.3.43"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person. for Vue",
@@ -65,6 +65,6 @@
65
65
  "type": "git",
66
66
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
67
67
  },
68
- "version": "19.2.48",
68
+ "version": "19.3.44",
69
69
  "sideEffects": false
70
70
  }
@@ -23,7 +23,9 @@ export declare class DashboardLayoutComponent extends ComponentBase {
23
23
  };
24
24
  tagNameMapper: Object;
25
25
  isVue3: boolean;
26
+ templateCollection: any;
26
27
  constructor();
28
+ clearTemplate(templateNames?: string[]): any;
27
29
  setProperties(prop: any, muteOnChange: boolean): void;
28
30
  render(createElement: any): any;
29
31
  addPanel(panel: Object): void;
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
21
- import { isNullOrUndefined } from '@syncfusion/ej2-base';
21
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
22
  import { DashboardLayout } from '@syncfusion/ej2-layouts';
23
23
  import { PanelsDirective, PanelDirective, PanelsPlugin, PanelPlugin } from './panels.directive';
24
24
  import { Options } from 'vue-class-component';
@@ -55,8 +55,33 @@ var DashboardLayoutComponent = /** @class */ (function (_super) {
55
55
  _this.bindProperties();
56
56
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
57
57
  _this.ej2Instances.setProperties = _this.setProperties;
58
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
59
  return _this;
59
60
  }
61
+ DashboardLayoutComponent.prototype.clearTemplate = function (templateNames) {
62
+ if (!templateNames) {
63
+ templateNames = Object.keys(this.templateCollection || {});
64
+ }
65
+ if (templateNames.length && this.templateCollection) {
66
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
67
+ var tempName = templateNames_1[_i];
68
+ var elementCollection = this.templateCollection[tempName];
69
+ if (elementCollection && elementCollection.length) {
70
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
+ var ele = elementCollection_1[_a];
72
+ var destroy = getValue('__vue__.$destroy', ele);
73
+ if (destroy) {
74
+ ele.__vue__.$destroy();
75
+ }
76
+ if (ele.innerHTML) {
77
+ ele.innerHTML = '';
78
+ }
79
+ }
80
+ delete this.templateCollection[tempName];
81
+ }
82
+ }
83
+ }
84
+ };
60
85
  DashboardLayoutComponent.prototype.setProperties = function (prop, muteOnChange) {
61
86
  var _this = this;
62
87
  if (this.isVue3) {
@@ -74,6 +99,7 @@ var DashboardLayoutComponent = /** @class */ (function (_super) {
74
99
  }
75
100
  else {
76
101
  _this.$emit('update:' + key, prop[key]);
102
+ _this.$emit('modelchanged', prop[key]);
77
103
  }
78
104
  }
79
105
  });
@@ -23,7 +23,9 @@ export declare class SplitterComponent extends ComponentBase {
23
23
  };
24
24
  tagNameMapper: Object;
25
25
  isVue3: boolean;
26
+ templateCollection: any;
26
27
  constructor();
28
+ clearTemplate(templateNames?: string[]): any;
27
29
  setProperties(prop: any, muteOnChange: boolean): void;
28
30
  render(createElement: any): any;
29
31
  addPane(paneProperties: Object, index: number): void;
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
20
  import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
21
- import { isNullOrUndefined } from '@syncfusion/ej2-base';
21
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
22
  import { Splitter } from '@syncfusion/ej2-layouts';
23
23
  import { PanesDirective, PaneDirective, PanesPlugin, PanePlugin } from './panesettings.directive';
24
24
  import { Options } from 'vue-class-component';
@@ -55,8 +55,33 @@ var SplitterComponent = /** @class */ (function (_super) {
55
55
  _this.bindProperties();
56
56
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
57
57
  _this.ej2Instances.setProperties = _this.setProperties;
58
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
59
  return _this;
59
60
  }
61
+ SplitterComponent.prototype.clearTemplate = function (templateNames) {
62
+ if (!templateNames) {
63
+ templateNames = Object.keys(this.templateCollection || {});
64
+ }
65
+ if (templateNames.length && this.templateCollection) {
66
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
67
+ var tempName = templateNames_1[_i];
68
+ var elementCollection = this.templateCollection[tempName];
69
+ if (elementCollection && elementCollection.length) {
70
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
71
+ var ele = elementCollection_1[_a];
72
+ var destroy = getValue('__vue__.$destroy', ele);
73
+ if (destroy) {
74
+ ele.__vue__.$destroy();
75
+ }
76
+ if (ele.innerHTML) {
77
+ ele.innerHTML = '';
78
+ }
79
+ }
80
+ delete this.templateCollection[tempName];
81
+ }
82
+ }
83
+ }
84
+ };
60
85
  SplitterComponent.prototype.setProperties = function (prop, muteOnChange) {
61
86
  var _this = this;
62
87
  if (this.isVue3) {
@@ -74,6 +99,7 @@ var SplitterComponent = /** @class */ (function (_super) {
74
99
  }
75
100
  else {
76
101
  _this.$emit('update:' + key, prop[key]);
102
+ _this.$emit('modelchanged', prop[key]);
77
103
  }
78
104
  }
79
105
  });
@@ -0,0 +1,61 @@
1
+ .e-avatar {
2
+ -ms-flex-line-pack: center;
3
+ align-content: center;
4
+ -ms-flex-align: center;
5
+ align-items: center;
6
+ background-color: #495057;
7
+ background-position: center;
8
+ background-repeat: no-repeat;
9
+ background-size: cover;
10
+ border-radius: 2px;
11
+ color: #adb5bd;
12
+ display: -ms-inline-flexbox;
13
+ display: inline-flex;
14
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
15
+ font-size: 14px;
16
+ font-weight: 500;
17
+ height: 40px;
18
+ -ms-flex-pack: center;
19
+ justify-content: center;
20
+ overflow: hidden;
21
+ position: relative;
22
+ width: 40px;
23
+ line-height: 22px;
24
+ }
25
+
26
+ .e-avatar img {
27
+ height: 100%;
28
+ width: auto;
29
+ }
30
+
31
+ .e-avatar.e-avatar-circle {
32
+ border-radius: 50%;
33
+ }
34
+
35
+ .e-avatar.e-avatar-xsmall {
36
+ font-size: 10px;
37
+ height: 24px;
38
+ line-height: 16px;
39
+ width: 24px;
40
+ }
41
+
42
+ .e-avatar.e-avatar-small {
43
+ font-size: 12px;
44
+ height: 32px;
45
+ line-height: 18px;
46
+ width: 32px;
47
+ }
48
+
49
+ .e-avatar.e-avatar-large {
50
+ font-size: 18px;
51
+ height: 48px;
52
+ line-height: 28px;
53
+ width: 48px;
54
+ }
55
+
56
+ .e-avatar.e-avatar-xlarge {
57
+ font-size: 20px;
58
+ height: 56px;
59
+ line-height: 28px;
60
+ width: 56px;
61
+ }
@@ -0,0 +1 @@
1
+ @import 'ej2-layouts/styles/avatar/bootstrap5-dark.scss';
@@ -0,0 +1,61 @@
1
+ .e-avatar {
2
+ -ms-flex-line-pack: center;
3
+ align-content: center;
4
+ -ms-flex-align: center;
5
+ align-items: center;
6
+ background-color: #dee2e6;
7
+ background-position: center;
8
+ background-repeat: no-repeat;
9
+ background-size: cover;
10
+ border-radius: 2px;
11
+ color: #6c757d;
12
+ display: -ms-inline-flexbox;
13
+ display: inline-flex;
14
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
15
+ font-size: 14px;
16
+ font-weight: 500;
17
+ height: 40px;
18
+ -ms-flex-pack: center;
19
+ justify-content: center;
20
+ overflow: hidden;
21
+ position: relative;
22
+ width: 40px;
23
+ line-height: 22px;
24
+ }
25
+
26
+ .e-avatar img {
27
+ height: 100%;
28
+ width: auto;
29
+ }
30
+
31
+ .e-avatar.e-avatar-circle {
32
+ border-radius: 50%;
33
+ }
34
+
35
+ .e-avatar.e-avatar-xsmall {
36
+ font-size: 10px;
37
+ height: 24px;
38
+ line-height: 16px;
39
+ width: 24px;
40
+ }
41
+
42
+ .e-avatar.e-avatar-small {
43
+ font-size: 12px;
44
+ height: 32px;
45
+ line-height: 18px;
46
+ width: 32px;
47
+ }
48
+
49
+ .e-avatar.e-avatar-large {
50
+ font-size: 18px;
51
+ height: 48px;
52
+ line-height: 28px;
53
+ width: 48px;
54
+ }
55
+
56
+ .e-avatar.e-avatar-xlarge {
57
+ font-size: 20px;
58
+ height: 56px;
59
+ line-height: 28px;
60
+ width: 56px;
61
+ }
@@ -0,0 +1 @@
1
+ @import 'ej2-layouts/styles/avatar/bootstrap5.scss';
@@ -649,6 +649,10 @@
649
649
  font-size: 14px;
650
650
  }
651
651
 
652
+ .e-splitter .e-split-bar.e-split-bar-horizontal .e-resize-handler.e-template-resize-handler::before {
653
+ content: '';
654
+ }
655
+
652
656
  .e-splitter .e-split-bar.e-split-bar-vertical .e-resize-handler::before {
653
657
  content: '\e984';
654
658
  font-family: 'e-icons';
@@ -656,6 +660,10 @@
656
660
  transform: rotate(90deg);
657
661
  }
658
662
 
663
+ .e-splitter .e-split-bar.e-split-bar-vertical .e-resize-handler.e-template-resize-handler::before {
664
+ content: '';
665
+ }
666
+
659
667
  .e-bigger .e-splitter .e-split-bar .e-resize-handler::before {
660
668
  font-size: 16px;
661
669
  }
@@ -650,6 +650,10 @@
650
650
  font-size: 14px;
651
651
  }
652
652
 
653
+ .e-splitter .e-split-bar.e-split-bar-horizontal .e-resize-handler.e-template-resize-handler::before {
654
+ content: '';
655
+ }
656
+
653
657
  .e-splitter .e-split-bar.e-split-bar-vertical .e-resize-handler::before {
654
658
  content: '\e984';
655
659
  font-family: 'e-icons';
@@ -657,6 +661,10 @@
657
661
  transform: rotate(90deg);
658
662
  }
659
663
 
664
+ .e-splitter .e-split-bar.e-split-bar-vertical .e-resize-handler.e-template-resize-handler::before {
665
+ content: '';
666
+ }
667
+
660
668
  .e-bigger .e-splitter .e-split-bar .e-resize-handler::before {
661
669
  font-size: 16px;
662
670
  }
@@ -657,12 +657,20 @@
657
657
  font-size: 14px;
658
658
  }
659
659
 
660
+ .e-splitter .e-split-bar.e-split-bar-horizontal .e-resize-handler.e-template-resize-handler::before {
661
+ content: '';
662
+ }
663
+
660
664
  .e-splitter .e-split-bar.e-split-bar-vertical .e-resize-handler::before {
661
665
  content: '\e71b';
662
666
  font-family: 'e-icons';
663
667
  font-size: 14px;
664
668
  }
665
669
 
670
+ .e-splitter .e-split-bar.e-split-bar-vertical .e-resize-handler.e-template-resize-handler::before {
671
+ content: '';
672
+ }
673
+
666
674
  .e-bigger .e-splitter .e-split-bar .e-resize-handler::before {
667
675
  font-size: 16px;
668
676
  }