@bagelink/vue 0.0.878 → 0.0.882
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/Badge.vue.d.ts +5 -6
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +2 -2
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +105 -77
- package/dist/index.mjs +105 -77
- package/dist/style.css +84 -81
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/Badge.vue +7 -9
- package/src/components/Btn.vue +19 -20
- package/src/components/Dropdown.vue +1 -1
- package/src/components/form/inputs/PasswordInput.vue +11 -2
- package/src/components/form/inputs/SelectInput.vue +28 -7
- package/src/components/form/inputs/TextInput.vue +10 -11
- package/src/components/lightbox/Lightbox.vue +1 -1
- package/src/utils/index.ts +1 -0
|
@@ -123,17 +123,16 @@ onMounted(() => {
|
|
|
123
123
|
@focusout="onFocusout"
|
|
124
124
|
/>
|
|
125
125
|
<p v-if="helptext">{{ helptext }}</p>
|
|
126
|
+
<MaterialIcon
|
|
127
|
+
v-if="iconStart"
|
|
128
|
+
class="iconStart"
|
|
129
|
+
:icon="iconStart"
|
|
130
|
+
/>
|
|
131
|
+
<MaterialIcon
|
|
132
|
+
v-if="icon"
|
|
133
|
+
:icon="icon"
|
|
134
|
+
/>
|
|
126
135
|
</label>
|
|
127
|
-
|
|
128
|
-
<MaterialIcon
|
|
129
|
-
v-if="iconStart"
|
|
130
|
-
class="iconStart"
|
|
131
|
-
:icon="iconStart"
|
|
132
|
-
/>
|
|
133
|
-
<MaterialIcon
|
|
134
|
-
v-if="icon"
|
|
135
|
-
:icon="icon"
|
|
136
|
-
/>
|
|
137
136
|
</div>
|
|
138
137
|
</template>
|
|
139
138
|
|
|
@@ -204,7 +203,7 @@ onMounted(() => {
|
|
|
204
203
|
color: var(--input-color);
|
|
205
204
|
position: absolute;
|
|
206
205
|
inset-inline-start:calc(var(--input-height) / 3 - 0.25rem);
|
|
207
|
-
margin-top: calc(var(--input-height) / 2
|
|
206
|
+
margin-top: calc(var(--input-height) / 2 );
|
|
208
207
|
line-height: 0;
|
|
209
208
|
}
|
|
210
209
|
.txtInputIconStart input, .txtInputIconStart textarea{
|
|
@@ -106,7 +106,7 @@ defineExpose({ open, close })
|
|
|
106
106
|
<Btn flat class="color-white" icon="add" :disabled="zoom === 3" @click="zoom++" />
|
|
107
107
|
</div>
|
|
108
108
|
<Btn
|
|
109
|
-
v-if="currentItem?.openFile" class="color-white" round thin flat
|
|
109
|
+
v-if="currentItem?.openFile" class="color-white" round thin flat iconEnd="arrow_outward"
|
|
110
110
|
value="Open File"
|
|
111
111
|
:href="currentItem?.src"
|
|
112
112
|
target="_blank"
|
package/src/utils/index.ts
CHANGED
|
@@ -61,6 +61,7 @@ export function bindAttrs<T = { [key: string]: any }>(
|
|
|
61
61
|
fieldVal?: any,
|
|
62
62
|
row?: T
|
|
63
63
|
) {
|
|
64
|
+
// TODO: Fix this so that you don't have to return a fn for onClick and other event handlers
|
|
64
65
|
if (!attrs) return {}
|
|
65
66
|
const exclude = ['class']
|
|
66
67
|
const arr = Object.entries(attrs)
|