@vcita/design-system 1.12.10 → 1.12.12
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/@vcita/design-system.esm.js +31 -18
- package/dist/@vcita/design-system.min.js +1 -1
- package/dist/@vcita/design-system.ssr.js +35 -23
- package/init/SvgIcons.js +1 -1
- package/package.json +1 -1
- package/src/components/VcDraggableList/VcDraggableList.vue +1 -1
- package/src/components/VcGallery/VcGallery.spec.js +19 -0
- package/src/components/VcGallery/VcGallery.stories.js +28 -4
- package/src/components/VcGallery/VcGallery.vue +9 -5
- package/src/components/VcTabs/VcTabs.vue +27 -5
- package/src/components/table/elements/VcTableActionBar/VcTableActionBar.vue +2 -1
|
@@ -17073,7 +17073,8 @@ var __vue_render__$M = function () {
|
|
|
17073
17073
|
}, [_c('VcIcon', {
|
|
17074
17074
|
staticClass: "align-self-center handle",
|
|
17075
17075
|
attrs: {
|
|
17076
|
-
"size": "16"
|
|
17076
|
+
"size": "16",
|
|
17077
|
+
"color": "var(--gray-darken-3)"
|
|
17077
17078
|
}
|
|
17078
17079
|
}, [_vm._v("\n $draggable\n ")]), _vm._v(" "), _vm._t("default", function () {
|
|
17079
17080
|
return [_vm._v("\n " + _vm._s(item.text) + "\n ")];
|
|
@@ -17088,8 +17089,8 @@ var __vue_staticRenderFns__$M = [];
|
|
|
17088
17089
|
|
|
17089
17090
|
const __vue_inject_styles__$Q = function (inject) {
|
|
17090
17091
|
if (!inject) return;
|
|
17091
|
-
inject("data-v-
|
|
17092
|
-
source: ".list-group.onDragging[data-v-
|
|
17092
|
+
inject("data-v-2fdce58e_0", {
|
|
17093
|
+
source: ".list-group.onDragging[data-v-2fdce58e]{cursor:grabbing!important}.list-group .v-icon[data-v-2fdce58e]{margin:0 var(--size-value1)}@media screen and (min-width:960px){.list-group .v-icon[data-v-2fdce58e]{visibility:hidden}}@media screen and (min-width:960px){.list-group .onHover[data-v-2fdce58e]{background:var(--gray-lighten-3);border-radius:var(--border-radius)}.list-group .onHover .v-icon[data-v-2fdce58e]{cursor:grab;visibility:visible}}.list-group .ghost[data-v-2fdce58e]{background:var(--gray-lighten-2);border:1px solid var(--v-secondary-lighten1);border-radius:var(--border-radius);box-shadow:unset;opacity:.4}.list-group .ghost .v-icon[data-v-2fdce58e]{visibility:visible}.list-group .drag[data-v-2fdce58e]{background:#fff;opacity:1!important;border-left:3px solid var(--v-secondary-base);box-shadow:var(--shadow-6);border-radius:var(--size-value1)}",
|
|
17093
17094
|
map: undefined,
|
|
17094
17095
|
media: undefined
|
|
17095
17096
|
});
|
|
@@ -17097,7 +17098,7 @@ const __vue_inject_styles__$Q = function (inject) {
|
|
|
17097
17098
|
/* scoped */
|
|
17098
17099
|
|
|
17099
17100
|
|
|
17100
|
-
const __vue_scope_id__$Q = "data-v-
|
|
17101
|
+
const __vue_scope_id__$Q = "data-v-2fdce58e";
|
|
17101
17102
|
/* module identifier */
|
|
17102
17103
|
|
|
17103
17104
|
const __vue_module_identifier__$Q = undefined;
|
|
@@ -17322,12 +17323,14 @@ var __vue_render__$L = function () {
|
|
|
17322
17323
|
class: _vm.dragIconClasses,
|
|
17323
17324
|
attrs: {
|
|
17324
17325
|
"size": "16",
|
|
17325
|
-
"color":
|
|
17326
|
+
"color": _vm.dragTooltip ? 'var(--gray)' : 'var(--gray-darken-4)'
|
|
17326
17327
|
}
|
|
17327
17328
|
}, [_vm._v("\n $draggable\n ")])], 1), _vm._v(" "), _c('div', {
|
|
17328
17329
|
staticClass: "folder-label__info"
|
|
17329
17330
|
}, [_vm._t("folder-label-info-" + index, function () {
|
|
17330
|
-
return [_c('span',
|
|
17331
|
+
return [_c('span', {
|
|
17332
|
+
staticClass: "label-text"
|
|
17333
|
+
}, [_vm._v(_vm._s(item.label))])];
|
|
17331
17334
|
}, {
|
|
17332
17335
|
"item": item
|
|
17333
17336
|
})], 2), _vm._v(" "), _c('VcTooltip', {
|
|
@@ -17417,8 +17420,8 @@ var __vue_staticRenderFns__$L = [];
|
|
|
17417
17420
|
|
|
17418
17421
|
const __vue_inject_styles__$P = function (inject) {
|
|
17419
17422
|
if (!inject) return;
|
|
17420
|
-
inject("data-v-
|
|
17421
|
-
source: ".VcTabs--wrapper[data-v-
|
|
17423
|
+
inject("data-v-445d0354_0", {
|
|
17424
|
+
source: ".VcTabs--wrapper[data-v-445d0354]{display:flex;flex-direction:column;height:100%}.VcTabs--wrapper .separatorShadow[data-v-445d0354]{border-bottom:1px solid var(--gray-lighten-1);box-shadow:var(--shadow-1)}.VcTabs--wrapper .separatorDivider[data-v-445d0354]{border-bottom:1px solid var(--gray-lighten-1)}.VcTabs--wrapper .folder[data-v-445d0354] .v-tabs-slider-wrapper{transition:none;bottom:auto}.VcTabs--wrapper .folder[data-v-445d0354] .v-ripple__container{display:none!important}.VcTabs--wrapper .folder[data-v-445d0354] .VcTab{padding:0;min-width:auto}.VcTabs--wrapper .folder[data-v-445d0354] .VcTabActive:hover::before{opacity:0}.VcTabs--wrapper .full-height-tabs[data-v-445d0354]{height:calc(100% - 1px)}.VcTabs--wrapper .full-height-tabs .v-window-item[data-v-445d0354]{height:100%}.VcTabs--wrapper .draggable-tabs[data-v-445d0354]{display:flex}.VcTabs--content[data-v-445d0354]{flex:unset}.VcTab[data-v-445d0354]:focus{color:rgba(255,255,255,0)!important;box-shadow:inset 0 0 0 3px var(--v-secondary-lighten1);border-radius:2px}.VcTab:focus .VcTab-label[data-v-445d0354]{color:var(--gray-darken-4)}.VcTab:focus.VcTabDisabled[data-v-445d0354]{background:rgba(0,0,0,.04);color:var(--gray-darken-2)}.VcTabActive[data-v-445d0354]{color:var(--gray-darken-5)}.VcTab-label[data-v-445d0354]{font-size:var(--font-size-x-small);font-weight:var(--font-weight-medium2);line-height:var(--size-value4);letter-spacing:0;text-transform:initial}.VcTab .folder-label[data-v-445d0354]{display:flex;flex-direction:row;height:100%;width:216px;font-size:var(--font-size-xx-small);border-inline-end:1px solid var(--gray-lighten-2);text-transform:none;letter-spacing:normal;padding:var(--size-value3) var(--size-value1);gap:var(--size-value1);text-align:start}.VcTab .folder-label__info[data-v-445d0354]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.VcTab .folder-label__info .label-text[data-v-445d0354]{line-height:var(--size-value5)}.VcTab .folder-label__close[data-v-445d0354],.VcTab .folder-label__menu[data-v-445d0354]{top:-3px;display:none}.VcTab .folder-label__close[data-v-445d0354]{margin-inline-end:-4px}.VcTab .folder-label__drag[data-v-445d0354]{cursor:grab}.VcTab .folder-label__drag--dragging[data-v-445d0354]{cursor:grabbing}.VcTab .folder-label__drag--hidden[data-v-445d0354]{visibility:hidden}.VcTab .folder-label:hover .folder-label__close[data-v-445d0354],.VcTab .folder-label:hover .folder-label__menu[data-v-445d0354]{display:flex;animation:fadeIn-data-v-445d0354 250ms}.VcTab .folder-label:hover .folder-label__drag[data-v-445d0354]:not(.folder-label__drag--hidden){visibility:visible}.VcTab:not(.VcTabActive) .folder-label[data-v-445d0354]{background-color:var(--gray-lighten-4);border-bottom:1px solid var(--gray-lighten-2)}.VcTab:not(.VcTabActive) .folder-label__drag[data-v-445d0354]{visibility:hidden}.VcTab:not(.VcTabActive) .folder-label:hover .folder-label__drag[data-v-445d0354]{visibility:visible;animation:fadeIn-data-v-445d0354 250ms}.VcTab[data-v-445d0354]:focus{color:unset!important;box-shadow:none}.VcTabsContent[data-v-445d0354]{background-color:transparent;overflow-y:auto}[data-v-445d0354] .v-slide-group__next,[data-v-445d0354] .v-slide-group__prev{display:none!important}[data-v-445d0354] .v-slide-group__wrapper{overflow-x:auto;overflow-y:hidden}@keyframes fadeIn-data-v-445d0354{from{opacity:0}to{opacity:1}}",
|
|
17422
17425
|
map: undefined,
|
|
17423
17426
|
media: undefined
|
|
17424
17427
|
});
|
|
@@ -17426,7 +17429,7 @@ const __vue_inject_styles__$P = function (inject) {
|
|
|
17426
17429
|
/* scoped */
|
|
17427
17430
|
|
|
17428
17431
|
|
|
17429
|
-
const __vue_scope_id__$P = "data-v-
|
|
17432
|
+
const __vue_scope_id__$P = "data-v-445d0354";
|
|
17430
17433
|
/* module identifier */
|
|
17431
17434
|
|
|
17432
17435
|
const __vue_module_identifier__$P = undefined;
|
|
@@ -24491,6 +24494,7 @@ var __vue_render__$9 = function () {
|
|
|
24491
24494
|
"label": _vm.searchBarLabel,
|
|
24492
24495
|
"placeholder": _vm.searchBarPlaceholder,
|
|
24493
24496
|
"value": _vm.searchValue,
|
|
24497
|
+
"case-sensitive": true,
|
|
24494
24498
|
"clearable": true
|
|
24495
24499
|
},
|
|
24496
24500
|
on: {
|
|
@@ -24513,8 +24517,8 @@ var __vue_staticRenderFns__$9 = [];
|
|
|
24513
24517
|
|
|
24514
24518
|
const __vue_inject_styles__$9 = function (inject) {
|
|
24515
24519
|
if (!inject) return;
|
|
24516
|
-
inject("data-v-
|
|
24517
|
-
source: ".VcTableActionBar[data-v-
|
|
24520
|
+
inject("data-v-745d07c3_0", {
|
|
24521
|
+
source: ".VcTableActionBar[data-v-745d07c3]{height:40px}.VcTableActionBar--summaryText[data-v-745d07c3]{font-size:11px;font-weight:var(--font-weight-medium2);color:var(--gray-darken-5)}.VcTableActionBar--summaryText--skeleton[data-v-745d07c3]{min-width:137px;padding-bottom:var(--size-value4)}.VcTableActionBar--searchBar[data-v-745d07c3]{max-width:400px;padding-bottom:var(--size-value4)}",
|
|
24518
24522
|
map: undefined,
|
|
24519
24523
|
media: undefined
|
|
24520
24524
|
});
|
|
@@ -24522,7 +24526,7 @@ const __vue_inject_styles__$9 = function (inject) {
|
|
|
24522
24526
|
/* scoped */
|
|
24523
24527
|
|
|
24524
24528
|
|
|
24525
|
-
const __vue_scope_id__$9 = "data-v-
|
|
24529
|
+
const __vue_scope_id__$9 = "data-v-745d07c3";
|
|
24526
24530
|
/* module identifier */
|
|
24527
24531
|
|
|
24528
24532
|
const __vue_module_identifier__$9 = undefined;
|
|
@@ -49059,9 +49063,13 @@ var script = {
|
|
|
49059
49063
|
this.$emit('thumbnailsClicked', fileClicked);
|
|
49060
49064
|
},
|
|
49061
49065
|
|
|
49062
|
-
|
|
49066
|
+
errorLoadingPreview() {
|
|
49063
49067
|
this.isErrorLoading = true;
|
|
49064
|
-
this.$emit('
|
|
49068
|
+
this.$emit('errorLoadingPreview', this.startIndex);
|
|
49069
|
+
},
|
|
49070
|
+
|
|
49071
|
+
errorLoadingThumbnails(file) {
|
|
49072
|
+
this.$emit('errorLoadingThumbnails', file);
|
|
49065
49073
|
}
|
|
49066
49074
|
|
|
49067
49075
|
}
|
|
@@ -49163,7 +49171,7 @@ var __vue_render__ = function () {
|
|
|
49163
49171
|
"download": function ($event) {
|
|
49164
49172
|
return _vm.$emit('download');
|
|
49165
49173
|
},
|
|
49166
|
-
"errorLoading": _vm.
|
|
49174
|
+
"errorLoading": _vm.errorLoadingPreview
|
|
49167
49175
|
}
|
|
49168
49176
|
})], 1)];
|
|
49169
49177
|
}), _vm._v(" "), _vm._t("thumbnails", function () {
|
|
@@ -49192,6 +49200,11 @@ var __vue_render__ = function () {
|
|
|
49192
49200
|
"inFocus": _vm.currentFile.name === file.name,
|
|
49193
49201
|
"icon": file.icon,
|
|
49194
49202
|
"fileLocation": file.thumbnails || file.icon
|
|
49203
|
+
},
|
|
49204
|
+
on: {
|
|
49205
|
+
"errorLoading": function ($event) {
|
|
49206
|
+
return _vm.errorLoadingThumbnails(file);
|
|
49207
|
+
}
|
|
49195
49208
|
}
|
|
49196
49209
|
})], 1);
|
|
49197
49210
|
}), 0)]) : _vm._e()];
|
|
@@ -49203,8 +49216,8 @@ var __vue_staticRenderFns__ = [];
|
|
|
49203
49216
|
|
|
49204
49217
|
const __vue_inject_styles__ = function (inject) {
|
|
49205
49218
|
if (!inject) return;
|
|
49206
|
-
inject("data-v-
|
|
49207
|
-
source: ".gallery[data-v-
|
|
49219
|
+
inject("data-v-47dd5c94_0", {
|
|
49220
|
+
source: ".gallery[data-v-47dd5c94]{height:100%;width:100%;display:flex;flex-direction:column;background-color:rgba(0,0,0,.8);position:relative;overflow:hidden}.gallery[data-v-47dd5c94] ::-webkit-scrollbar{width:var(--size-value1);height:var(--size-value1);background-color:transparent}.gallery[data-v-47dd5c94] ::-webkit-scrollbar-thumb{background:var(--gray-darken-3)}.gallery__navigation[data-v-47dd5c94]{width:100%;position:fixed;z-index:1;left:0;height:0;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;padding-inline:var(--size-value7)}.gallery__navigation[data-v-47dd5c94] .v-btn{background-color:#fff}.gallery__viewer[data-v-47dd5c94]{position:relative;overflow:auto;flex:1}.gallery__controls[data-v-47dd5c94]{position:absolute;z-index:1;transform:translateX(-50%);left:50%;bottom:var(--size-value4)}.thumbnails-on .gallery__controls[data-v-47dd5c94]{bottom:128px}.gallery__thumbnails[data-v-47dd5c94]{display:flex;position:relative;height:116px;background-color:var(--gray-darken-5)}.gallery__thumbnails--scroll[data-v-47dd5c94]{display:flex;flex-wrap:nowrap;transition:.25s ease-in-out;position:absolute;left:50%;padding-block:var(--size-value2)}.gallery__thumbnails--item[data-v-47dd5c94]{flex-basis:100px;width:100px;height:100px;margin-inline:var(--size-value3);border-radius:var(--size-value1);overflow:hidden;cursor:pointer}",
|
|
49208
49221
|
map: undefined,
|
|
49209
49222
|
media: undefined
|
|
49210
49223
|
});
|
|
@@ -49212,7 +49225,7 @@ const __vue_inject_styles__ = function (inject) {
|
|
|
49212
49225
|
/* scoped */
|
|
49213
49226
|
|
|
49214
49227
|
|
|
49215
|
-
const __vue_scope_id__ = "data-v-
|
|
49228
|
+
const __vue_scope_id__ = "data-v-47dd5c94";
|
|
49216
49229
|
/* module identifier */
|
|
49217
49230
|
|
|
49218
49231
|
const __vue_module_identifier__ = undefined;
|