vue-element-ui-x 1.0.2 → 1.0.31-beta

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 (77) hide show
  1. package/README.md +20 -9
  2. package/components.json +13 -0
  3. package/lib/components/Attachments/index.js +987 -995
  4. package/lib/components/Bubble/index.js +10656 -10705
  5. package/lib/components/BubbleList/index.js +10951 -11038
  6. package/lib/components/Conversations/index.js +14026 -14063
  7. package/lib/components/FilesCard/index.js +606 -614
  8. package/lib/components/Prompts/index.js +457 -470
  9. package/lib/components/Sender/index.js +1701 -1678
  10. package/lib/components/Thinking/index.js +695 -703
  11. package/lib/components/ThoughtChain/index.js +25117 -25173
  12. package/lib/components/Typewriter/index.js +10247 -10302
  13. package/lib/components/Welcome/index.js +357 -370
  14. package/lib/index.common.js +1 -1
  15. package/lib/index.esm.js +1 -1
  16. package/lib/index.js +32068 -32093
  17. package/lib/index.umd.js +1 -1
  18. package/lib/mixins/index.js +61 -116
  19. package/package.json +24 -6
  20. package/src/components/Attachments/index.js +8 -8
  21. package/src/components/Bubble/index.js +6 -6
  22. package/src/components/BubbleList/index.js +8 -8
  23. package/src/components/BubbleList/src/loading.vue +75 -75
  24. package/src/components/Conversations/index.js +8 -8
  25. package/src/components/FilesCard/index.js +8 -8
  26. package/src/components/FilesCard/src/fileSvg/audio.vue +38 -38
  27. package/src/components/FilesCard/src/fileSvg/code.vue +35 -35
  28. package/src/components/FilesCard/src/fileSvg/database.vue +94 -94
  29. package/src/components/FilesCard/src/fileSvg/excel.vue +38 -38
  30. package/src/components/FilesCard/src/fileSvg/file.vue +40 -40
  31. package/src/components/FilesCard/src/fileSvg/image.vue +40 -40
  32. package/src/components/FilesCard/src/fileSvg/index.js +46 -46
  33. package/src/components/FilesCard/src/fileSvg/link.vue +54 -54
  34. package/src/components/FilesCard/src/fileSvg/mark.vue +38 -38
  35. package/src/components/FilesCard/src/fileSvg/pdf.vue +38 -38
  36. package/src/components/FilesCard/src/fileSvg/ppt.vue +38 -38
  37. package/src/components/FilesCard/src/fileSvg/three.vue +38 -38
  38. package/src/components/FilesCard/src/fileSvg/txt.vue +38 -38
  39. package/src/components/FilesCard/src/fileSvg/unknown.vue +54 -54
  40. package/src/components/FilesCard/src/fileSvg/video.vue +38 -38
  41. package/src/components/FilesCard/src/fileSvg/word.vue +38 -38
  42. package/src/components/FilesCard/src/fileSvg/zip.vue +38 -38
  43. package/src/components/FilesCard/src/main.vue +14 -12
  44. package/src/components/FilesCard/src/options.js +18 -18
  45. package/src/components/Prompts/index.js +8 -8
  46. package/src/components/Sender/index.js +8 -8
  47. package/src/components/Sender/src/components/ClearButton.vue +28 -28
  48. package/src/components/Sender/src/components/Loading.vue +53 -53
  49. package/src/components/Sender/src/components/SendButton.vue +26 -26
  50. package/src/components/Sender/src/components/SpeechButton.vue +24 -24
  51. package/src/components/Sender/src/components/SpeechLoading.vue +87 -87
  52. package/src/components/Sender/src/main.vue +47 -13
  53. package/src/components/Thinking/index.js +8 -8
  54. package/src/components/ThoughtChain/index.js +8 -8
  55. package/src/components/Typewriter/index.js +8 -8
  56. package/src/components/Welcome/index.js +8 -8
  57. package/src/index.js +7 -9
  58. package/src/styles/Conversations.scss +175 -152
  59. package/src/styles/Sender.scss +1 -1
  60. package/lib/locale/lang/ar-SA.js +0 -18
  61. package/lib/locale/lang/ar-SA.umd.js +0 -26
  62. package/lib/locale/lang/de-DE.js +0 -18
  63. package/lib/locale/lang/de-DE.umd.js +0 -26
  64. package/lib/locale/lang/es-ES.js +0 -18
  65. package/lib/locale/lang/es-ES.umd.js +0 -26
  66. package/lib/locale/lang/fr-FR.js +0 -18
  67. package/lib/locale/lang/fr-FR.umd.js +0 -26
  68. package/lib/locale/lang/it-IT.js +0 -18
  69. package/lib/locale/lang/it-IT.umd.js +0 -26
  70. package/lib/locale/lang/ja-JP.js +0 -18
  71. package/lib/locale/lang/ja-JP.umd.js +0 -26
  72. package/lib/locale/lang/ko-KR.js +0 -18
  73. package/lib/locale/lang/ko-KR.umd.js +0 -26
  74. package/src/styles/button.scss +0 -302
  75. package/src/styles/var.scss +0 -1051
  76. /package/lib/locale/lang/{pt-BR.js → pt-br.js} +0 -0
  77. /package/lib/locale/lang/{pt-BR.umd.js → pt-br.umd.js} +0 -0
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: 'ابدأ التفكير',
5
- processing: 'جاري التفكير...',
6
- completed: 'اكتمل التفكير',
7
- error: 'خطأ في التفكير',
8
- errorContent: 'حدث خطأ أثناء التفكير',
9
- },
10
- sender: { placeholder: 'يرجى إدخال المحتوى' },
11
- common: {
12
- loading: 'جاري التحميل...',
13
- success: 'نجح',
14
- error: 'خطأ',
15
- warning: 'تحذير',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.ar = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: 'ابدأ التفكير',
11
- processing: 'جاري التفكير...',
12
- completed: 'اكتمل التفكير',
13
- error: 'خطأ في التفكير',
14
- errorContent: 'حدث خطأ أثناء التفكير',
15
- },
16
- sender: { placeholder: 'يرجى إدخال المحتوى' },
17
- common: {
18
- loading: 'جاري التحميل...',
19
- success: 'نجح',
20
- error: 'خطأ',
21
- warning: 'تحذير',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: 'Denken beginnen',
5
- processing: 'Denken...',
6
- completed: 'Denken abgeschlossen',
7
- error: 'Denkfehler',
8
- errorContent: 'Beim Denken ist ein Fehler aufgetreten',
9
- },
10
- sender: { placeholder: 'Bitte geben Sie Inhalt ein' },
11
- common: {
12
- loading: 'Laden...',
13
- success: 'Erfolg',
14
- error: 'Fehler',
15
- warning: 'Warnung',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.de = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: 'Denken beginnen',
11
- processing: 'Denken...',
12
- completed: 'Denken abgeschlossen',
13
- error: 'Denkfehler',
14
- errorContent: 'Beim Denken ist ein Fehler aufgetreten',
15
- },
16
- sender: { placeholder: 'Bitte geben Sie Inhalt ein' },
17
- common: {
18
- loading: 'Laden...',
19
- success: 'Erfolg',
20
- error: 'Fehler',
21
- warning: 'Warnung',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: 'Comenzar a pensar',
5
- processing: 'Pensando...',
6
- completed: 'Pensamiento completado',
7
- error: 'Error de pensamiento',
8
- errorContent: 'Ocurrió un error durante el pensamiento',
9
- },
10
- sender: { placeholder: 'Por favor ingrese contenido' },
11
- common: {
12
- loading: 'Cargando...',
13
- success: 'Éxito',
14
- error: 'Error',
15
- warning: 'Advertencia',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.es = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: 'Comenzar a pensar',
11
- processing: 'Pensando...',
12
- completed: 'Pensamiento completado',
13
- error: 'Error de pensamiento',
14
- errorContent: 'Ocurrió un error durante el pensamiento',
15
- },
16
- sender: { placeholder: 'Por favor ingrese contenido' },
17
- common: {
18
- loading: 'Cargando...',
19
- success: 'Éxito',
20
- error: 'Error',
21
- warning: 'Advertencia',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: 'Commencer à réfléchir',
5
- processing: 'Réflexion en cours...',
6
- completed: 'Réflexion terminée',
7
- error: 'Erreur de réflexion',
8
- errorContent: "Une erreur s'est produite pendant la réflexion",
9
- },
10
- sender: { placeholder: 'Veuillez entrer le contenu' },
11
- common: {
12
- loading: 'Chargement...',
13
- success: 'Succès',
14
- error: 'Erreur',
15
- warning: 'Avertissement',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.fr = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: 'Commencer à réfléchir',
11
- processing: 'Réflexion en cours...',
12
- completed: 'Réflexion terminée',
13
- error: 'Erreur de réflexion',
14
- errorContent: "Une erreur s'est produite pendant la réflexion",
15
- },
16
- sender: { placeholder: 'Veuillez entrer le contenu' },
17
- common: {
18
- loading: 'Chargement...',
19
- success: 'Succès',
20
- error: 'Erreur',
21
- warning: 'Avertissement',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: 'Inizia a pensare',
5
- processing: 'Pensando...',
6
- completed: 'Pensiero completato',
7
- error: 'Errore di pensiero',
8
- errorContent: 'Si è verificato un errore durante il pensiero',
9
- },
10
- sender: { placeholder: 'Inserisci il contenuto' },
11
- common: {
12
- loading: 'Caricamento...',
13
- success: 'Successo',
14
- error: 'Errore',
15
- warning: 'Avvertimento',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.it = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: 'Inizia a pensare',
11
- processing: 'Pensando...',
12
- completed: 'Pensiero completato',
13
- error: 'Errore di pensiero',
14
- errorContent: 'Si è verificato un errore durante il pensiero',
15
- },
16
- sender: { placeholder: 'Inserisci il contenuto' },
17
- common: {
18
- loading: 'Caricamento...',
19
- success: 'Successo',
20
- error: 'Errore',
21
- warning: 'Avvertimento',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: '思考を開始',
5
- processing: '思考中...',
6
- completed: '思考完了',
7
- error: '思考エラー',
8
- errorContent: '思考中にエラーが発生しました',
9
- },
10
- sender: { placeholder: '内容を入力してください' },
11
- common: {
12
- loading: '読み込み中...',
13
- success: '成功',
14
- error: 'エラー',
15
- warning: '警告',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.ja = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: '思考を開始',
11
- processing: '思考中...',
12
- completed: '思考完了',
13
- error: '思考エラー',
14
- errorContent: '思考中にエラーが発生しました',
15
- },
16
- sender: { placeholder: '内容を入力してください' },
17
- common: {
18
- loading: '読み込み中...',
19
- success: '成功',
20
- error: 'エラー',
21
- warning: '警告',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
1
- module.exports = {
2
- el_x: {
3
- thinking: {
4
- start: '생각 시작',
5
- processing: '생각 중...',
6
- completed: '생각 완료',
7
- error: '생각 오류',
8
- errorContent: '생각 중 오류가 발생했습니다',
9
- },
10
- sender: { placeholder: '내용을 입력하세요' },
11
- common: {
12
- loading: '로딩 중...',
13
- success: '성공',
14
- error: '오류',
15
- warning: '경고',
16
- },
17
- },
18
- };
@@ -1,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
4
- (global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.ko = factory()));
5
- }(this, function () { 'use strict';
6
-
7
- return {
8
- el_x: {
9
- thinking: {
10
- start: '생각 시작',
11
- processing: '생각 중...',
12
- completed: '생각 완료',
13
- error: '생각 오류',
14
- errorContent: '생각 중 오류가 발생했습니다',
15
- },
16
- sender: { placeholder: '내용을 입력하세요' },
17
- common: {
18
- loading: '로딩 중...',
19
- success: '성공',
20
- error: '오류',
21
- warning: '경고',
22
- },
23
- },
24
- };
25
-
26
- }));
@@ -1,302 +0,0 @@
1
- @charset "UTF-8";
2
- @import 'common/var';
3
- @import 'mixins/button';
4
- @import 'mixins/mixins';
5
- @import 'mixins/utils';
6
-
7
- @include b(button) {
8
- display: inline-block;
9
- line-height: 1;
10
- white-space: nowrap;
11
- cursor: pointer;
12
- background: $--button-default-background-color;
13
- border: $--border-base;
14
- border-color: $--button-default-border-color;
15
- color: $--button-default-font-color;
16
- -webkit-appearance: none;
17
- text-align: center;
18
- box-sizing: border-box;
19
- outline: none;
20
- margin: 0;
21
- transition: 0.1s;
22
- font-weight: $--button-font-weight;
23
- @include utils-user-select(none);
24
- & + & {
25
- margin-left: 10px;
26
- }
27
-
28
- @include button-size(
29
- $--button-padding-vertical,
30
- $--button-padding-horizontal,
31
- $--button-font-size,
32
- $--button-border-radius
33
- );
34
-
35
- &:hover,
36
- &:focus {
37
- color: $--color-primary;
38
- border-color: $--color-primary-light-7;
39
- background-color: $--color-primary-light-9;
40
- }
41
-
42
- &:active {
43
- color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
44
- border-color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
45
- outline: none;
46
- }
47
-
48
- &::-moz-focus-inner {
49
- border: 0;
50
- }
51
-
52
- & [class*='el-icon-'] {
53
- & + span {
54
- margin-left: 5px;
55
- }
56
- }
57
-
58
- @include when(plain) {
59
- &:hover,
60
- &:focus {
61
- background: $--color-white;
62
- border-color: $--color-primary;
63
- color: $--color-primary;
64
- }
65
-
66
- &:active {
67
- background: $--color-white;
68
- border-color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
69
- color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
70
- outline: none;
71
- }
72
- }
73
-
74
- @include when(active) {
75
- color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
76
- border-color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
77
- }
78
-
79
- @include when(disabled) {
80
- &,
81
- &:hover,
82
- &:focus {
83
- color: $--button-disabled-font-color;
84
- cursor: not-allowed;
85
- background-image: none;
86
- background-color: $--button-disabled-background-color;
87
- border-color: $--button-disabled-border-color;
88
- }
89
-
90
- &.el-button--text {
91
- background-color: transparent;
92
- }
93
-
94
- &.is-plain {
95
- &,
96
- &:hover,
97
- &:focus {
98
- background-color: $--color-white;
99
- border-color: $--button-disabled-border-color;
100
- color: $--button-disabled-font-color;
101
- }
102
- }
103
- }
104
-
105
- @include when(loading) {
106
- position: relative;
107
- pointer-events: none;
108
-
109
- &:before {
110
- pointer-events: none;
111
- content: '';
112
- position: absolute;
113
- left: -1px;
114
- top: -1px;
115
- right: -1px;
116
- bottom: -1px;
117
- border-radius: inherit;
118
- background-color: rgba(255, 255, 255, 0.35);
119
- }
120
- }
121
- @include when(round) {
122
- border-radius: 20px;
123
- padding: 12px 23px;
124
- }
125
- @include when(circle) {
126
- border-radius: 50%;
127
- padding: $--button-padding-vertical;
128
- }
129
- @include m(primary) {
130
- @include button-variant(
131
- $--button-primary-font-color,
132
- $--button-primary-background-color,
133
- $--button-primary-border-color
134
- );
135
- }
136
- @include m(success) {
137
- @include button-variant(
138
- $--button-success-font-color,
139
- $--button-success-background-color,
140
- $--button-success-border-color
141
- );
142
- }
143
- @include m(warning) {
144
- @include button-variant(
145
- $--button-warning-font-color,
146
- $--button-warning-background-color,
147
- $--button-warning-border-color
148
- );
149
- }
150
- @include m(danger) {
151
- @include button-variant(
152
- $--button-danger-font-color,
153
- $--button-danger-background-color,
154
- $--button-danger-border-color
155
- );
156
- }
157
- @include m(info) {
158
- @include button-variant(
159
- $--button-info-font-color,
160
- $--button-info-background-color,
161
- $--button-info-border-color
162
- );
163
- }
164
- @include m(medium) {
165
- @include button-size(
166
- $--button-medium-padding-vertical,
167
- $--button-medium-padding-horizontal,
168
- $--button-medium-font-size,
169
- $--button-medium-border-radius
170
- );
171
- @include when(circle) {
172
- padding: $--button-medium-padding-vertical;
173
- }
174
- }
175
- @include m(small) {
176
- @include button-size(
177
- $--button-small-padding-vertical,
178
- $--button-small-padding-horizontal,
179
- $--button-small-font-size,
180
- $--button-small-border-radius
181
- );
182
- @include when(circle) {
183
- padding: $--button-small-padding-vertical;
184
- }
185
- }
186
- @include m(mini) {
187
- @include button-size(
188
- $--button-mini-padding-vertical,
189
- $--button-mini-padding-horizontal,
190
- $--button-mini-font-size,
191
- $--button-mini-border-radius
192
- );
193
- @include when(circle) {
194
- padding: $--button-mini-padding-vertical;
195
- }
196
- }
197
- @include m(text) {
198
- border-color: transparent;
199
- color: $--color-primary;
200
- background: transparent;
201
- padding-left: 0;
202
- padding-right: 0;
203
-
204
- &:hover,
205
- &:focus {
206
- color: mix($--color-white, $--color-primary, $--button-hover-tint-percent);
207
- border-color: transparent;
208
- background-color: transparent;
209
- }
210
- &:active {
211
- color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
212
- border-color: transparent;
213
- background-color: transparent;
214
- }
215
-
216
- &.is-disabled,
217
- &.is-disabled:hover,
218
- &.is-disabled:focus {
219
- border-color: transparent;
220
- }
221
- }
222
- }
223
-
224
- @include b(button-group) {
225
- @include utils-clearfix;
226
- display: inline-block;
227
- vertical-align: middle;
228
-
229
- & > .el-button {
230
- float: left;
231
- position: relative;
232
- & + .el-button {
233
- margin-left: 0;
234
- }
235
- &.is-disabled {
236
- z-index: 1;
237
- }
238
- &:first-child {
239
- border-top-right-radius: 0;
240
- border-bottom-right-radius: 0;
241
- }
242
- &:last-child {
243
- border-top-left-radius: 0;
244
- border-bottom-left-radius: 0;
245
- }
246
- &:first-child:last-child {
247
- border-top-right-radius: $--button-border-radius;
248
- border-bottom-right-radius: $--button-border-radius;
249
- border-top-left-radius: $--button-border-radius;
250
- border-bottom-left-radius: $--button-border-radius;
251
-
252
- &.is-round {
253
- border-radius: 20px;
254
- }
255
-
256
- &.is-circle {
257
- border-radius: 50%;
258
- }
259
- }
260
- &:not(:first-child):not(:last-child) {
261
- border-radius: 0;
262
- }
263
- &:not(:last-child) {
264
- margin-right: -1px;
265
- }
266
-
267
- &:not(.is-disabled) {
268
- &:hover,
269
- &:focus,
270
- &:active {
271
- z-index: 1;
272
- }
273
- }
274
-
275
- @include when(active) {
276
- z-index: 1;
277
- }
278
- }
279
-
280
- & > .el-dropdown {
281
- & > .el-button {
282
- border-top-left-radius: 0;
283
- border-bottom-left-radius: 0;
284
- border-left-color: rgba($--color-white, 0.5);
285
- }
286
- }
287
-
288
- @each $type in (primary, success, warning, danger, info) {
289
- .el-button--#{$type} {
290
- &:first-child {
291
- border-right-color: rgba($--color-white, 0.5);
292
- }
293
- &:last-child {
294
- border-left-color: rgba($--color-white, 0.5);
295
- }
296
- &:not(:first-child):not(:last-child) {
297
- border-left-color: rgba($--color-white, 0.5);
298
- border-right-color: rgba($--color-white, 0.5);
299
- }
300
- }
301
- }
302
- }