@bagelink/vue 1.15.558 → 1.15.562
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/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.mjs +513 -501
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/dataTable/DataTable.vue +1 -1
- package/src/components/form/inputs/CheckInput.vue +1 -1
- package/src/components/lightbox/Lightbox.vue +11 -3
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ const loading = defineModel('loading', { default: false })
|
|
|
34
34
|
const itemHeight = defineModel('itemHeight', { default: 50 })
|
|
35
35
|
/** Cell font size. Number = px; string = any CSS size (e.g. '0.875rem'). */
|
|
36
36
|
const fontSize = defineModel<number | string | undefined>('fontSize', { default: undefined })
|
|
37
|
-
const selectedItems = defineModel<string[]>('selectedItems', { default:
|
|
37
|
+
const selectedItems = defineModel<string[]>('selectedItems', { default: () => [] })
|
|
38
38
|
|
|
39
39
|
const {
|
|
40
40
|
computedSchema,
|
|
@@ -20,7 +20,7 @@ const { shellClass, shellStyle } = useBagelInputShell(props)
|
|
|
20
20
|
const uid = Math.random().toString(36).slice(7)
|
|
21
21
|
const inputId = computed(() => props.id || uid)
|
|
22
22
|
|
|
23
|
-
const checked = defineModel<T>('modelValue'
|
|
23
|
+
const checked = defineModel<T>('modelValue')
|
|
24
24
|
|
|
25
25
|
const hasValue = computed(() => {
|
|
26
26
|
const v = checked.value
|
|
@@ -108,7 +108,7 @@ defineExpose({ open, close })
|
|
|
108
108
|
<embed :src="normalizeURL(item?.src)" type="application/pdf" :title="item?.name">
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
|
-
<div v-else class="lightbox-file">
|
|
111
|
+
<div v-else class="lightbox-file flex-center">
|
|
112
112
|
<div class="file-info txt-white flex m_block align-items-start gap-025">
|
|
113
113
|
<Icon class="m-0 m_none" icon="draft" :size="10" weight="12" />
|
|
114
114
|
<Icon class="m-0 none m_block m_-mb-1" icon="draft" :size="4" weight="2" />
|
|
@@ -130,11 +130,14 @@ defineExpose({ open, close })
|
|
|
130
130
|
</template>
|
|
131
131
|
|
|
132
132
|
<template #prev-button="{ prev }">
|
|
133
|
-
<Btn
|
|
133
|
+
<Btn icon="arrow_back" color="black" :disabled="currentIndex === 0"
|
|
134
|
+
:class="{ 'color-black-70': currentIndex === 0 }" @click="prev"/>
|
|
134
135
|
</template>
|
|
135
136
|
|
|
136
137
|
<template #next-button="{ next }">
|
|
137
|
-
<Btn icon="arrow_forward" color="black"
|
|
138
|
+
<Btn icon="arrow_forward" color="black" :disabled="currentIndex === group.length - 1"
|
|
139
|
+
:class="{ 'color-black-70': currentIndex === group.length - 1 }"
|
|
140
|
+
@click="next" />
|
|
138
141
|
</template>
|
|
139
142
|
</Swiper>
|
|
140
143
|
|
|
@@ -151,6 +154,11 @@ defineExpose({ open, close })
|
|
|
151
154
|
</template>
|
|
152
155
|
|
|
153
156
|
<style>
|
|
157
|
+
.bgl-lightbox-swiper .swi-prev,
|
|
158
|
+
.bgl-lightbox-swiper .swi-next {
|
|
159
|
+
background: transparent;
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
154
162
|
|
|
155
163
|
.bgl-lightbox:has(.bgl_vid) {
|
|
156
164
|
width: 90vw;
|