@everchron/ec-shards 0.8.21 → 0.8.24
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/dist/ec-shards.common.js +117 -78
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +117 -78
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/assets/.DS_Store +0 -0
- package/src/assets/images/.DS_Store +0 -0
- package/src/assets/images/flags/.DS_Store +0 -0
- package/src/components/button-dialog/button-dialog.vue +2 -3
- package/src/components/party-entry/party-entry.vue +57 -23
- package/src/stories/collection-control/.DS_Store +0 -0
- package/src/stories/comment/.DS_Store +0 -0
- package/src/stories/data-card/.DS_Store +0 -0
- package/src/stories/data-list-item/.DS_Store +0 -0
- package/src/stories/dialog/.DS_Store +0 -0
- package/src/stories/dialog-header/.DS_Store +0 -0
- package/src/stories/directory-entry/.DS_Store +0 -0
- package/src/stories/document-state/.DS_Store +0 -0
- package/src/stories/dropzone/.DS_Store +0 -0
- package/src/stories/empty-state/.DS_Store +0 -0
- package/src/stories/excerpt-snippet/.DS_Store +0 -0
- package/src/stories/file-icon/.DS_Store +0 -0
- package/src/stories/file-list-item/.DS_Store +0 -0
- package/src/stories/flag/.DS_Store +0 -0
- package/src/stories/form-group/.DS_Store +0 -0
- package/src/stories/form-headline/.DS_Store +0 -0
- package/src/stories/form-set/.DS_Store +0 -0
- package/src/stories/formatted/.DS_Store +0 -0
- package/src/stories/icon/.DS_Store +0 -0
- package/src/stories/index-toolbar/.DS_Store +0 -0
- package/src/stories/info-tooltip/.DS_Store +0 -0
- package/src/stories/input/.DS_Store +0 -0
- package/src/stories/input-group/.DS_Store +0 -0
- package/src/stories/input-search/.DS_Store +0 -0
- package/src/stories/jumper-document/.DS_Store +0 -0
- package/src/stories/jumper-index/.DS_Store +0 -0
- package/src/stories/jumper-page/.DS_Store +0 -0
- package/src/stories/layout-data-table/.DS_Store +0 -0
- package/src/stories/layout-directory/.DS_Store +0 -0
- package/src/stories/layout-index/.DS_Store +0 -0
- package/src/stories/map/.DS_Store +0 -0
- package/src/stories/modal/.DS_Store +0 -0
- package/src/stories/multiselect-option/.DS_Store +0 -0
- package/src/stories/multiselect-search-token/.DS_Store +0 -0
- package/src/stories/multiselect-token/.DS_Store +0 -0
- package/src/stories/overlay/.DS_Store +0 -0
- package/src/stories/pagination/.DS_Store +0 -0
- package/src/stories/party-entry/.DS_Store +0 -0
- package/src/stories/popover-header/.DS_Store +0 -0
- package/src/stories/popover-list/.DS_Store +0 -0
- package/src/stories/popover-list-headline/.DS_Store +0 -0
- package/src/stories/popover-list-item/.DS_Store +0 -0
- package/src/stories/progress/.DS_Store +0 -0
- package/src/stories/quicklink/.DS_Store +0 -0
- package/src/stories/radiobutton/.DS_Store +0 -0
- package/src/stories/rating-favorability/.DS_Store +0 -0
- package/src/stories/rating-star-read/.DS_Store +0 -0
- package/src/stories/rating-star-write/.DS_Store +0 -0
- package/src/stories/scroll-container/.DS_Store +0 -0
- package/src/stories/section/.DS_Store +0 -0
- package/src/stories/segment/.DS_Store +0 -0
- package/src/stories/select/.DS_Store +0 -0
- package/src/stories/sequence-map-button/.DS_Store +0 -0
- package/src/stories/sidebar/.DS_Store +0 -0
- package/src/stories/sidebar-footer/.DS_Store +0 -0
- package/src/stories/sidebar-header/.DS_Store +0 -0
- package/src/stories/skeleton-loader/.DS_Store +0 -0
- package/src/stories/sortbutton/.DS_Store +0 -0
- package/src/stories/sticker/.DS_Store +0 -0
- package/src/stories/structured-content/.DS_Store +0 -0
- package/src/stories/switch/.DS_Store +0 -0
- package/src/stories/tabs/.DS_Store +0 -0
- package/src/stories/tag/.DS_Store +0 -0
- package/src/stories/toast/.DS_Store +0 -0
- package/src/stories/tree-list/.DS_Store +0 -0
- package/src/stories/tree-list-item/.DS_Store +0 -0
- package/src/stories/video/.DS_Store +0 -0
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<button class="ecs-dialog-footer-button" :class="[typeClass, loading ? `loading` : '']" @click="$emit('click', $event)"
|
|
2
|
+
<button class="ecs-dialog-footer-button" :class="[typeClass, loading ? `loading` : '']" @click="$emit('click', $event)">
|
|
3
3
|
<ecs-icon v-if="icon || loading" :type="iconType" />
|
|
4
4
|
<slot></slot>
|
|
5
5
|
</button>
|
|
@@ -23,8 +23,7 @@
|
|
|
23
23
|
validator: v => ['danger', 'confirm', null].includes(v),
|
|
24
24
|
default: null
|
|
25
25
|
},
|
|
26
|
-
loading: Boolean
|
|
27
|
-
disabled: Boolean
|
|
26
|
+
loading: Boolean
|
|
28
27
|
},
|
|
29
28
|
|
|
30
29
|
computed: {
|
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
:class="[
|
|
4
4
|
party,
|
|
5
5
|
shared ? 'shared' : '',
|
|
6
|
-
background ? 'ecs-party-entry-background' : ''
|
|
6
|
+
background ? 'ecs-party-entry-background' : '',
|
|
7
|
+
annotationColor ? 'annotation' : ''
|
|
7
8
|
]"
|
|
8
9
|
:style="annotationStyles">
|
|
9
10
|
<ecs-icon v-if="icon && iconPosition == 'left'" :type="iconType" :color="iconColor" :style="'margin-right:'+iconSpacing" :width="iconSize" :height="iconSize" />
|
|
10
|
-
<
|
|
11
|
+
<span>
|
|
12
|
+
<slot></slot>
|
|
13
|
+
</span>
|
|
11
14
|
<ecs-icon v-if="icon && iconPosition == 'right'" :type="iconType" :color="iconColor" :style="'margin-left:'+iconSpacing" :width="iconSize" :height="iconSize" />
|
|
12
15
|
</div>
|
|
13
16
|
</template>
|
|
@@ -71,55 +74,79 @@
|
|
|
71
74
|
annotationBackgroundColor() {
|
|
72
75
|
switch (this.annotationColor){
|
|
73
76
|
case 1:
|
|
74
|
-
return 'rgba(249, 223, 0, 0.
|
|
77
|
+
return 'rgba(249, 223, 0, 0.2)'
|
|
75
78
|
case 2:
|
|
76
|
-
return 'rgba(243, 161, 0, 0.
|
|
79
|
+
return 'rgba(243, 161, 0, 0.2)'
|
|
77
80
|
case 3:
|
|
78
|
-
return 'rgba(183, 234, 128, 0.
|
|
81
|
+
return 'rgba(183, 234, 128, 0.2)'
|
|
79
82
|
case 4:
|
|
80
|
-
return 'rgba(72, 228, 194, 0.
|
|
83
|
+
return 'rgba(72, 228, 194, 0.2)'
|
|
81
84
|
case 5:
|
|
82
|
-
return 'rgba(72, 157, 255, 0.
|
|
85
|
+
return 'rgba(72, 157, 255, 0.2)'
|
|
83
86
|
case 6:
|
|
84
|
-
return 'rgba(184, 119, 240, 0.
|
|
87
|
+
return 'rgba(184, 119, 240, 0.2)'
|
|
85
88
|
case 7:
|
|
86
|
-
return 'rgba(253, 120, 253, 0.
|
|
89
|
+
return 'rgba(253, 120, 253, 0.2)'
|
|
87
90
|
case 8:
|
|
88
|
-
return 'rgba(197, 148, 101, 0.
|
|
91
|
+
return 'rgba(197, 148, 101, 0.2)'
|
|
89
92
|
case 9:
|
|
90
|
-
return 'rgba(133, 142, 159, 0.
|
|
93
|
+
return 'rgba(133, 142, 159, 0.2)'
|
|
94
|
+
case 10:
|
|
95
|
+
return 'rgba(238, 84, 82, 0.2)'
|
|
96
|
+
case 11:
|
|
97
|
+
return 'rgba(34, 127, 211, 0.2)'
|
|
98
|
+
case 12:
|
|
99
|
+
return 'rgba(93, 175, 0, 0.2)'
|
|
100
|
+
case 13:
|
|
101
|
+
return 'rgba(164, 146, 122, 0.2)'
|
|
102
|
+
case 14:
|
|
103
|
+
return 'rgba(149, 152, 156, 0.2)'
|
|
104
|
+
case 15:
|
|
105
|
+
return 'rgba(215, 139, 33, 0.2)'
|
|
91
106
|
default:
|
|
92
|
-
return 'rgba(
|
|
107
|
+
return 'rgba(17, 17, 17, 0.2)'
|
|
93
108
|
}
|
|
94
109
|
},
|
|
95
110
|
|
|
96
111
|
annotationIconColor() {
|
|
97
112
|
switch (this.annotationColor){
|
|
98
113
|
case 1:
|
|
99
|
-
return '#
|
|
114
|
+
return '#F9DF00'
|
|
100
115
|
case 2:
|
|
101
|
-
return '#
|
|
116
|
+
return '#F3A100'
|
|
102
117
|
case 3:
|
|
103
|
-
return '#
|
|
118
|
+
return '#B7EA80'
|
|
104
119
|
case 4:
|
|
105
|
-
return '#
|
|
120
|
+
return '#48E4C2'
|
|
106
121
|
case 5:
|
|
107
|
-
return '#
|
|
122
|
+
return '#489DFF'
|
|
108
123
|
case 6:
|
|
109
|
-
return '#
|
|
124
|
+
return '#B877F0'
|
|
110
125
|
case 7:
|
|
111
|
-
return '#
|
|
126
|
+
return '#FD78FD'
|
|
112
127
|
case 8:
|
|
113
|
-
return '#
|
|
128
|
+
return '#C59465'
|
|
114
129
|
case 9:
|
|
115
|
-
return '#
|
|
130
|
+
return '#858E9F'
|
|
131
|
+
case 10:
|
|
132
|
+
return '#EE5452'
|
|
133
|
+
case 11:
|
|
134
|
+
return '#227FD3'
|
|
135
|
+
case 12:
|
|
136
|
+
return '#5DAF00'
|
|
137
|
+
case 13:
|
|
138
|
+
return '#A4927A'
|
|
139
|
+
case 14:
|
|
140
|
+
return '#95989C'
|
|
141
|
+
case 15:
|
|
142
|
+
return '#D78B21'
|
|
116
143
|
default:
|
|
117
|
-
return '#
|
|
144
|
+
return '#111111'
|
|
118
145
|
}
|
|
119
146
|
},
|
|
120
147
|
|
|
121
148
|
iconColor() {
|
|
122
|
-
if(
|
|
149
|
+
if (this.annotationColor){
|
|
123
150
|
return this.annotationIconColor
|
|
124
151
|
} else {
|
|
125
152
|
switch (this.party){
|
|
@@ -166,6 +193,13 @@
|
|
|
166
193
|
flex-shrink: 0;
|
|
167
194
|
}
|
|
168
195
|
|
|
196
|
+
&.annotation{
|
|
197
|
+
> span,
|
|
198
|
+
.icon{
|
|
199
|
+
filter: brightness(65%);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
169
203
|
&:after{
|
|
170
204
|
width: 11px;
|
|
171
205
|
height: 11px;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|