@syncfusion/ej2-vue-layouts 20.4.53 → 21.1.36

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 (97) hide show
  1. package/CHANGELOG.md +19 -3
  2. package/dist/ej2-vue-layouts.umd.min.js +2 -2
  3. package/dist/ej2-vue-layouts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-layouts.es2015.js +226 -336
  5. package/dist/es6/ej2-vue-layouts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-layouts.es5.js +257 -401
  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 +11 -10
  10. package/src/dashboard-layout/dashboardlayout.component.d.ts +3 -30
  11. package/src/dashboard-layout/dashboardlayout.component.js +107 -136
  12. package/src/dashboard-layout/panels.directive.d.ts +2 -12
  13. package/src/dashboard-layout/panels.directive.js +22 -71
  14. package/src/splitter/panesettings.directive.d.ts +2 -12
  15. package/src/splitter/panesettings.directive.js +22 -71
  16. package/src/splitter/splitter.component.d.ts +3 -26
  17. package/src/splitter/splitter.component.js +95 -124
  18. package/styles/avatar/bootstrap-dark.css +3 -0
  19. package/styles/avatar/bootstrap.css +3 -0
  20. package/styles/avatar/bootstrap4.css +3 -0
  21. package/styles/avatar/bootstrap5-dark.css +3 -0
  22. package/styles/avatar/bootstrap5.css +3 -0
  23. package/styles/avatar/fabric-dark.css +3 -0
  24. package/styles/avatar/fabric.css +3 -0
  25. package/styles/avatar/fluent-dark.css +3 -0
  26. package/styles/avatar/fluent.css +3 -0
  27. package/styles/avatar/highcontrast-light.css +3 -0
  28. package/styles/avatar/highcontrast.css +3 -0
  29. package/styles/avatar/material-dark.css +3 -0
  30. package/styles/avatar/material.css +3 -0
  31. package/styles/avatar/material3-dark.css +114 -0
  32. package/styles/avatar/material3-dark.scss +2 -0
  33. package/styles/avatar/material3.css +170 -0
  34. package/styles/avatar/material3.scss +2 -0
  35. package/styles/avatar/tailwind-dark.css +3 -0
  36. package/styles/avatar/tailwind.css +3 -0
  37. package/styles/bootstrap-dark.css +7 -1
  38. package/styles/bootstrap.css +7 -1
  39. package/styles/bootstrap4.css +10 -3
  40. package/styles/bootstrap5-dark.css +7 -1
  41. package/styles/bootstrap5.css +7 -1
  42. package/styles/card/bootstrap-dark.css +2 -1
  43. package/styles/card/bootstrap.css +2 -1
  44. package/styles/card/bootstrap4.css +5 -3
  45. package/styles/card/bootstrap5-dark.css +2 -1
  46. package/styles/card/bootstrap5.css +2 -1
  47. package/styles/card/fabric-dark.css +2 -1
  48. package/styles/card/fabric.css +3 -2
  49. package/styles/card/fluent-dark.css +2 -1
  50. package/styles/card/fluent.css +2 -1
  51. package/styles/card/highcontrast-light.css +2 -1
  52. package/styles/card/highcontrast.css +3 -2
  53. package/styles/card/material-dark.css +2 -1
  54. package/styles/card/material.css +2 -1
  55. package/styles/card/material3-dark.css +567 -0
  56. package/styles/card/material3-dark.scss +2 -0
  57. package/styles/card/material3.css +623 -0
  58. package/styles/card/material3.scss +2 -0
  59. package/styles/card/tailwind-dark.css +2 -1
  60. package/styles/card/tailwind.css +2 -1
  61. package/styles/dashboard-layout/material3-dark.css +357 -0
  62. package/styles/dashboard-layout/material3-dark.scss +2 -0
  63. package/styles/dashboard-layout/material3.css +413 -0
  64. package/styles/dashboard-layout/material3.scss +2 -0
  65. package/styles/fabric-dark.css +7 -1
  66. package/styles/fabric.css +8 -2
  67. package/styles/fluent-dark.css +7 -1
  68. package/styles/fluent.css +7 -1
  69. package/styles/highcontrast-light.css +7 -1
  70. package/styles/highcontrast.css +8 -2
  71. package/styles/material-dark.css +7 -1
  72. package/styles/material.css +7 -1
  73. package/styles/material3-dark.css +1585 -0
  74. package/styles/material3-dark.scss +5 -0
  75. package/styles/material3.css +1806 -0
  76. package/styles/material3.scss +5 -0
  77. package/styles/splitter/bootstrap-dark.css +2 -0
  78. package/styles/splitter/bootstrap.css +2 -0
  79. package/styles/splitter/bootstrap4.css +2 -0
  80. package/styles/splitter/bootstrap5-dark.css +2 -0
  81. package/styles/splitter/bootstrap5.css +2 -0
  82. package/styles/splitter/fabric-dark.css +2 -0
  83. package/styles/splitter/fabric.css +2 -0
  84. package/styles/splitter/fluent-dark.css +2 -0
  85. package/styles/splitter/fluent.css +2 -0
  86. package/styles/splitter/highcontrast-light.css +2 -0
  87. package/styles/splitter/highcontrast.css +2 -0
  88. package/styles/splitter/material-dark.css +2 -0
  89. package/styles/splitter/material.css +2 -0
  90. package/styles/splitter/material3-dark.css +545 -0
  91. package/styles/splitter/material3-dark.scss +2 -0
  92. package/styles/splitter/material3.css +601 -0
  93. package/styles/splitter/material3.scss +2 -0
  94. package/styles/splitter/tailwind-dark.css +2 -0
  95. package/styles/splitter/tailwind.css +2 -0
  96. package/styles/tailwind-dark.css +7 -1
  97. package/styles/tailwind.css +7 -1
@@ -1,38 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
6
  * Represents the VueJS Splitter component
10
7
  * ```html
11
8
  * <ejs-splitter></ejs-splitter>
12
9
  * ```
13
10
  */
14
- export declare class SplitterComponent extends ComponentBase {
15
- ej2Instances: any;
16
- propKeys: string[];
17
- models: string[];
18
- hasChildDirective: boolean;
19
- protected hasInjectedModules: boolean;
20
- tagMapper: {
21
- [key: string]: Object;
22
- };
23
- tagNameMapper: Object;
24
- isVue3: boolean;
25
- templateCollection: any;
26
- constructor();
27
- clearTemplate(templateNames?: string[]): any;
28
- setProperties(prop: any, muteOnChange: boolean): void;
29
- render(createElement: any): any;
30
- custom(): void;
31
- addPane(paneProperties: Object, index: number): void;
32
- collapse(index: number): void;
33
- expand(index: number): void;
34
- removePane(index: number): void;
35
- }
11
+ export declare let SplitterComponent: any;
12
+ export declare type SplitterComponent = InstanceType<typeof SplitterComponent>;
36
13
  export declare const SplitterPlugin: {
37
14
  name: string;
38
15
  install(Vue: any): void;
@@ -1,33 +1,11 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
1
+ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
21
2
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
3
  import { Splitter } from '@syncfusion/ej2-layouts';
23
4
  import { PanesDirective, PaneDirective, PanesPlugin, PanePlugin } from './panesettings.directive';
24
- import { Options } from 'vue-class-component';
25
5
  export var properties = ['isLazyUpdate', 'plugins', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableReversePanes', 'enableRtl', 'enabled', 'height', 'locale', 'orientation', 'paneSettings', 'separatorSize', 'width', 'beforeCollapse', 'beforeExpand', 'beforeSanitizeHtml', 'collapsed', 'created', 'expanded', 'resizeStart', 'resizeStop', 'resizing'];
26
6
  export var modelProps = [];
27
7
  export var testProp = getProps({ props: properties });
28
- export var props = testProp[0];
29
- export var watch = testProp[1];
30
- export var emitProbs = Object.keys(watch);
8
+ export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
31
9
  emitProbs.push('modelchanged', 'update:modelValue');
32
10
  for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
33
11
  var props_1 = modelProps_1[_i];
@@ -39,114 +17,107 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
39
17
  * <ejs-splitter></ejs-splitter>
40
18
  * ```
41
19
  */
42
- var SplitterComponent = /** @class */ (function (_super) {
43
- __extends(SplitterComponent, _super);
44
- function SplitterComponent() {
45
- var _this = _super.call(this, arguments) || this;
46
- _this.propKeys = properties;
47
- _this.models = modelProps;
48
- _this.hasChildDirective = true;
49
- _this.hasInjectedModules = false;
50
- _this.tagMapper = { "e-panes": "e-pane" };
51
- _this.tagNameMapper = { "e-panes": "e-paneSettings" };
52
- _this.isVue3 = !isExecute;
53
- _this.ej2Instances = new Splitter({});
54
- _this.bindProperties();
55
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
- _this.ej2Instances.setProperties = _this.setProperties;
57
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
- _this.updated = _this.updated;
59
- return _this;
60
- }
61
- SplitterComponent.prototype.clearTemplate = function (templateNames) {
62
- if (!templateNames) {
63
- templateNames = Object.keys(this.templateCollection || {});
20
+ export var SplitterComponent = vueDefineComponent({
21
+ name: 'SplitterComponent',
22
+ mixins: [ComponentBase],
23
+ props: props,
24
+ watch: watch,
25
+ emits: emitProbs,
26
+ provide: function () { return { custom: this.custom }; },
27
+ data: function () {
28
+ return {
29
+ ej2Instance: new Splitter({}),
30
+ propKeys: properties,
31
+ models: modelProps,
32
+ hasChildDirective: true,
33
+ hasInjectedModules: false,
34
+ tagMapper: { "e-panes": "e-pane" },
35
+ tagNameMapper: { "e-panes": "e-paneSettings" },
36
+ isVue3: !isExecute,
37
+ templateCollection: {},
38
+ };
39
+ },
40
+ created: function () {
41
+ this.bindProperties();
42
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
43
+ this.ej2Instances.setProperties = this.setProperties;
44
+ this.ej2Instances.clearTemplate = this.clearTemplate;
45
+ this.updated = this.updated;
46
+ },
47
+ render: function (createElement) {
48
+ var h = !isExecute ? gh : createElement;
49
+ var slots = null;
50
+ if (!isNullOrUndefined(this.$slots.default)) {
51
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
64
52
  }
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 = '';
53
+ return h('div', slots);
54
+ },
55
+ methods: {
56
+ clearTemplate: function (templateNames) {
57
+ if (!templateNames) {
58
+ templateNames = Object.keys(this.templateCollection || {});
59
+ }
60
+ if (templateNames.length && this.templateCollection) {
61
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
62
+ var tempName = templateNames_1[_i];
63
+ var elementCollection = this.templateCollection[tempName];
64
+ if (elementCollection && elementCollection.length) {
65
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
66
+ var ele = elementCollection_1[_a];
67
+ var destroy = getValue('__vue__.$destroy', ele);
68
+ if (destroy) {
69
+ ele.__vue__.$destroy();
70
+ }
71
+ if (ele.innerHTML) {
72
+ ele.innerHTML = '';
73
+ }
78
74
  }
75
+ delete this.templateCollection[tempName];
79
76
  }
80
- delete this.templateCollection[tempName];
81
77
  }
82
78
  }
83
- }
84
- };
85
- SplitterComponent.prototype.setProperties = function (prop, muteOnChange) {
86
- var _this = this;
87
- if (this.isVue3) {
88
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
89
- }
90
- if (this.ej2Instances && this.ej2Instances._setProperties) {
91
- this.ej2Instances._setProperties(prop, muteOnChange);
92
- }
93
- if (prop && this.models && this.models.length) {
94
- Object.keys(prop).map(function (key) {
95
- _this.models.map(function (model) {
96
- if ((key === model) && !(/datasource/i.test(key))) {
97
- if (_this.isVue3) {
98
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
99
- }
100
- else {
101
- _this.$emit('update:' + key, prop[key]);
102
- _this.$emit('modelchanged', prop[key]);
79
+ },
80
+ setProperties: function (prop, muteOnChange) {
81
+ var _this = this;
82
+ if (this.isVue3) {
83
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
84
+ }
85
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
86
+ this.ej2Instances._setProperties(prop, muteOnChange);
87
+ }
88
+ if (prop && this.models && this.models.length) {
89
+ Object.keys(prop).map(function (key) {
90
+ _this.models.map(function (model) {
91
+ if ((key === model) && !(/datasource/i.test(key))) {
92
+ if (_this.isVue3) {
93
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
94
+ }
95
+ else {
96
+ _this.$emit('update:' + key, prop[key]);
97
+ _this.$emit('modelchanged', prop[key]);
98
+ }
103
99
  }
104
- }
100
+ });
105
101
  });
106
- });
107
- }
108
- };
109
- SplitterComponent.prototype.render = function (createElement) {
110
- var h = !isExecute ? gh : createElement;
111
- var slots = null;
112
- if (!isNullOrUndefined(this.$slots.default)) {
113
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
114
- }
115
- return h('div', slots);
116
- };
117
- SplitterComponent.prototype.custom = function () {
118
- this.updated();
119
- };
120
- SplitterComponent.prototype.addPane = function (paneProperties, index) {
121
- return this.ej2Instances.addPane(paneProperties, index);
122
- };
123
- SplitterComponent.prototype.collapse = function (index) {
124
- return this.ej2Instances.collapse(index);
125
- };
126
- SplitterComponent.prototype.expand = function (index) {
127
- return this.ej2Instances.expand(index);
128
- };
129
- SplitterComponent.prototype.removePane = function (index) {
130
- return this.ej2Instances.removePane(index);
131
- };
132
- SplitterComponent = __decorate([
133
- EJComponentDecorator({
134
- props: properties
135
- }, isExecute)
136
- ,Options({
137
- props: props,
138
- watch: watch,
139
- emits: emitProbs,
140
- provide: function provide() {
141
- return {
142
- custom: this.custom
143
- };
144
102
  }
145
- })
146
- ], SplitterComponent);
147
- return SplitterComponent;
148
- }(ComponentBase));
149
- export { SplitterComponent };
103
+ },
104
+ custom: function () {
105
+ this.updated();
106
+ },
107
+ addPane: function (paneProperties, index) {
108
+ return this.ej2Instances.addPane(paneProperties, index);
109
+ },
110
+ collapse: function (index) {
111
+ return this.ej2Instances.collapse(index);
112
+ },
113
+ expand: function (index) {
114
+ return this.ej2Instances.expand(index);
115
+ },
116
+ removePane: function (index) {
117
+ return this.ej2Instances.removePane(index);
118
+ },
119
+ }
120
+ });
150
121
  export var SplitterPlugin = {
151
122
  name: 'ejs-splitter',
152
123
  install: function (Vue) {
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.6em;
33
36
  }
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.6em;
33
36
  }
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.65em;
33
36
  }
@@ -29,6 +29,9 @@
29
29
  .e-avatar.e-avatar-circle {
30
30
  border-radius: 50%;
31
31
  }
32
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
33
+ border-radius: 50%;
34
+ }
32
35
  .e-avatar.e-avatar-xsmall {
33
36
  font-size: 10px;
34
37
  height: 24px;
@@ -29,6 +29,9 @@
29
29
  .e-avatar.e-avatar-circle {
30
30
  border-radius: 50%;
31
31
  }
32
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
33
+ border-radius: 50%;
34
+ }
32
35
  .e-avatar.e-avatar-xsmall {
33
36
  font-size: 10px;
34
37
  height: 24px;
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.6em;
33
36
  }
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.6em;
33
36
  }
@@ -29,6 +29,9 @@
29
29
  .e-avatar.e-avatar-circle {
30
30
  border-radius: 50%;
31
31
  }
32
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
33
+ border-radius: 50%;
34
+ }
32
35
  .e-avatar.e-avatar-xsmall {
33
36
  font-size: 10px;
34
37
  height: 24px;
@@ -29,6 +29,9 @@
29
29
  .e-avatar.e-avatar-circle {
30
30
  border-radius: 50%;
31
31
  }
32
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
33
+ border-radius: 50%;
34
+ }
32
35
  .e-avatar.e-avatar-xsmall {
33
36
  font-size: 10px;
34
37
  height: 24px;
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.6em;
33
36
  }
@@ -28,6 +28,9 @@
28
28
  .e-avatar.e-avatar-circle {
29
29
  border-radius: 50%;
30
30
  }
31
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
32
+ border-radius: 50%;
33
+ }
31
34
  .e-avatar.e-avatar-xsmall {
32
35
  font-size: 0.6em;
33
36
  }
@@ -29,6 +29,9 @@
29
29
  .e-avatar.e-avatar-circle {
30
30
  border-radius: 50%;
31
31
  }
32
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
33
+ border-radius: 50%;
34
+ }
32
35
  .e-avatar.e-avatar-xsmall {
33
36
  font-size: 0.6em;
34
37
  }
@@ -29,6 +29,9 @@
29
29
  .e-avatar.e-avatar-circle {
30
30
  border-radius: 50%;
31
31
  }
32
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
33
+ border-radius: 50%;
34
+ }
32
35
  .e-avatar.e-avatar-xsmall {
33
36
  font-size: 0.6em;
34
37
  }
@@ -0,0 +1,114 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
2
+ :root {
3
+ --color-sf-black: 0, 0, 0;
4
+ --color-sf-white: 255, 255, 255;
5
+ --color-sf-primary: 208, 188, 255;
6
+ --color-sf-primary-container: 79, 55, 139;
7
+ --color-sf-secondary: 204, 194, 220;
8
+ --color-sf-secondary-container: 74, 68, 88;
9
+ --color-sf-tertiary: 239, 184, 200;
10
+ --color-sf-tertiary-container: 99, 59, 72;
11
+ --color-sf-surface: 28, 27, 31;
12
+ --color-sf-surface-variant: 73, 69, 79;
13
+ --color-sf-background: var(--color-sf-surface);
14
+ --color-sf-on-primary: 55, 30, 115;
15
+ --color-sf-on-primary-container: 234, 221, 255;
16
+ --color-sf-on-secondary: 51, 45, 65;
17
+ --color-sf-on-secondary-container: 232, 222, 248;
18
+ --color-sf-on-tertiary: 73, 37, 50;
19
+ --color-sf-on-tertiary-containe: 255, 216, 228;
20
+ --color-sf-on-surface: 230, 225, 229;
21
+ --color-sf-on-surface-variant: 202, 196, 208;
22
+ --color-sf-on-background: 230, 225, 229;
23
+ --color-sf-outline: 147, 143, 153;
24
+ --color-sf-outline-variant: 68, 71, 70;
25
+ --color-sf-shadow: 0, 0, 0;
26
+ --color-sf-surface-tint-color: 208, 188, 255;
27
+ --color-sf-inverse-surface: 230, 225, 229;
28
+ --color-sf-inverse-on-surface: 49, 48, 51;
29
+ --color-sf-inverse-primary: 103, 80, 164;
30
+ --color-sf-scrim: 0, 0, 0;
31
+ --color-sf-error: 242, 184, 181;
32
+ --color-sf-error-container: 140, 29, 24;
33
+ --color-sf-on-error: 96, 20, 16;
34
+ --color-sf-on-error-container: 249, 222, 220;
35
+ --color-sf-success: 83, 202, 23;
36
+ --color-sf-success-container: 22, 62, 2;
37
+ --color-sf-on-success: 13, 39, 0;
38
+ --color-sf-on-success-container: 183, 250, 150;
39
+ --color-sf-info: 71, 172, 251;
40
+ --color-sf-info-container: 0, 67, 120;
41
+ --color-sf-on-info: 0, 51, 91;
42
+ --color-sf-on-info-container: 173, 219, 255;
43
+ --color-sf-warning: 245, 180, 130;
44
+ --color-sf-warning-container: 123, 65, 0;
45
+ --color-sf-on-warning: 99, 52, 0;
46
+ --color-sf-on-warning-container: 255, 220, 193;
47
+ --color-sf-spreadsheet-gridline: 231, 224, 236;
48
+ --color-sf-shadow-focus-ring1: 0 0 0 1px #000000, 0 0 0 3px #ffffff;
49
+ --color-sf-success-text: 0, 0, 0;
50
+ --color-sf-warning-text: 0, 0, 0;
51
+ --color-sf-info-text: 0, 0, 0;
52
+ --color-sf-danger-text: 0, 0, 0;
53
+ --color-sf-diagram-palette-background: var(--color-sf-inverse-surface);
54
+ --color-sf-content-text-color-alt2: var(--color-sf-on-secondary);
55
+ }
56
+
57
+ .e-avatar {
58
+ -ms-flex-line-pack: center;
59
+ align-content: center;
60
+ -ms-flex-align: center;
61
+ align-items: center;
62
+ background-color: rgba(var(--color-sf-primary-container));
63
+ background-position: center;
64
+ background-repeat: no-repeat;
65
+ background-size: cover;
66
+ border-radius: 4px;
67
+ color: rgba(var(--color-sf-on-primary-container));
68
+ display: -ms-inline-flexbox;
69
+ display: inline-flex;
70
+ font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
71
+ font-size: 20px;
72
+ font-weight: 500;
73
+ height: 40px;
74
+ -ms-flex-pack: center;
75
+ justify-content: center;
76
+ overflow: hidden;
77
+ position: relative;
78
+ width: 40px;
79
+ line-height: 20px;
80
+ }
81
+ .e-avatar img {
82
+ height: 100%;
83
+ width: auto;
84
+ }
85
+ .e-avatar.e-avatar-circle {
86
+ border-radius: 50%;
87
+ }
88
+ .e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
89
+ border-radius: 50%;
90
+ }
91
+ .e-avatar.e-avatar-xsmall {
92
+ font-size: 14px;
93
+ height: 24px;
94
+ line-height: 14px;
95
+ width: 24px;
96
+ }
97
+ .e-avatar.e-avatar-small {
98
+ font-size: 18px;
99
+ height: 32px;
100
+ line-height: 18px;
101
+ width: 32px;
102
+ }
103
+ .e-avatar.e-avatar-large {
104
+ font-size: 26px;
105
+ height: 48px;
106
+ line-height: 26px;
107
+ width: 48px;
108
+ }
109
+ .e-avatar.e-avatar-xlarge {
110
+ font-size: 30px;
111
+ height: 56px;
112
+ line-height: 30px;
113
+ width: 56px;
114
+ }
@@ -0,0 +1,2 @@
1
+ @import 'ej2-base/styles/material3-dark-definition.scss';
2
+ @import 'ej2-layouts/styles/avatar/material3-dark.scss';