Skip to content

Commit bb92597

Browse files
Merge pull request #45 from webdevnerdstuff/dev
v1.0.3
2 parents f1adbe4 + 32b5939 commit bb92597

6 files changed

+16
-10
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Change Log
22
All notable changes to the "vuetify-inline-fields" plugin will be documented in this file.
33

4+
## v1.0.3
5+
12-06-2023
6+
[main] (@webdevnerdstuff)
7+
* Remove console.log from SaveFieldButtons component
8+
* Updated terser to remove console.log from build in case I forget to remove it in the future
9+
410
## v1.0.2
511
12-06-2023
612
[main] (@webdevnerdstuff)

dist/vuetify-inline-fields.cjs.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vuetify-inline-fields.es.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useTheme as Wl } from "vuetify";
33
import { useWindowSize as _i } from "@vueuse/core";
44
/**
55
* @name @wdns/vuetify-inline-fields
6-
* @version 1.0.2
6+
* @version 1.0.3
77
* @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications.
88
* @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! <[email protected]> (https://webdevnerdstuff.com)
99
* @copyright Copyright 2023, WebDevNerdStuff
@@ -3168,9 +3168,7 @@ const xs = (e, t) => {
31683168
}
31693169
return (f, m) => (J(), ce("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [f.displayPrependIcon || r(o)["display.prepend"] ? (J(), ce("div", { key: 0, class: le(p("prepend")), style: Te(r(i)) }, [r(o)["display.prepend"] ? Ye(f.$slots, "display.prepend", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0), Ge("div", { class: le(["d-inline-flex", r(u)]), style: Te(r(s)) }, [f.displayPrependInnerIcon || r(o)["display.prependInner"] ? (J(), ce("div", { key: 0, class: le(p("prepend", !0)) }, [r(o)["display.prependInner"] ? Ye(f.$slots, "display.prependInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0), ta(" " + Ll(f.displayValue) + " ", 1), f.displayAppendInnerIcon || r(o)["display.appendInner"] ? (J(), ce("div", { key: 1, class: le(p("append", !0)) }, [r(o)["display.appendInner"] ? Ye(f.$slots, "display.appendInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0)], 6), f.displayAppendIcon || r(o)["display.append"] ? (J(), ce("div", { key: 1, class: le(p("append")), style: Te(r(i)) }, [r(o)["display.append"] ? Ye(f.$slots, "display.append", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0)]));
31703170
} }), ct = sn({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, cancelIcon: {}, loadingIcon: {}, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) {
3171-
const n = Tn(), l = t, o = e, a = me(Symbol.for("vuetify:icons")), c = v(() => o.error), u = v(() => ({ [`${ie}--save-fields-container`]: !0 })), s = v(() => o.loading), i = ln({ ...n, ...o });
3172-
console.log({ settings: i });
3173-
const p = v(() => (a == null ? void 0 : a.defaultSet) === "fa" ? "fa-spin" : (a == null ? void 0 : a.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((C) => {
3171+
const n = Tn(), l = t, o = e, a = me(Symbol.for("vuetify:icons")), c = v(() => o.error), u = v(() => ({ [`${ie}--save-fields-container`]: !0 })), s = v(() => o.loading), i = ln({ ...n, ...o }), p = v(() => (a == null ? void 0 : a.defaultSet) === "fa" ? "fa-spin" : (a == null ? void 0 : a.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((C) => {
31743172
const { cancelButtonVariant: w } = C;
31753173
return { "me-1": w === "elevated", "ms-1": !0 };
31763174
})({ cancelButtonVariant: i.cancelButtonVariant })), f = v(() => on({ icon: o.cancelIcon, iconOptions: a, name: "false" })), m = v(() => on({ icon: o.loadingIcon, iconOptions: a, name: "loading" })), h = v(() => on({ icon: o.saveIcon, iconOptions: a, name: "save" }));

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wdns/vuetify-inline-fields",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications.",
55
"private": false,
66
"publishConfig": {

src/plugin/components/SaveFieldButtons.vue

-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ const loading = computed(() => props.loading);
7777
7878
const settings = reactive({ ...attrs, ...props });
7979
80-
console.log({ settings });
81-
8280
const loadingIconClasses = computed(() => {
8381
if (iconOptions?.defaultSet === 'fa') {
8482
return 'fa-spin';

vite.build.config.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ export default defineConfig({
8686
},
8787
]
8888
}),
89-
terser(),
89+
terser({
90+
compress: {
91+
drop_console: ['log'],
92+
},
93+
}),
9094
],
9195
resolve: {
9296
alias: {

0 commit comments

Comments
 (0)