@@ -2,7 +2,7 @@ import { Fragment as be, reactive as bt, computed as v, watchEffect as _t, toRef
2
2
import { onClickOutside as ba } from "@vueuse/core" ;
3
3
/**
4
4
* @name @wdns /vuetify-color-field
5
- * @version 1.1.0
5
+ * @version 1.1.1
6
6
* @description Vuetify Color Field is a Vuetify VTextField Color Picker Component
7
7
* @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! <[email protected] > (https://webdevnerdstuff.com)
8
8
* @copyright Copyright 2024, WebDevNerdStuff
@@ -22,7 +22,7 @@ const Ee = (e) => {
22
22
o = o === "fa" || o === "fasvg" ? "fa" : o ;
23
23
const a = ka [ o ] ;
24
24
if ( ! a )
25
- throw new Error ( `[VColorField]: No VColorField default ${ n == null ? void 0 : n . defaultSet } icon set found.` ) ;
25
+ throw new Error ( `[VColorField]: No default ${ n == null ? void 0 : n . defaultSet } icon set found.` ) ;
26
26
const i = a [ l ] ;
27
27
if ( ! i )
28
28
throw new Error ( `[VColorField]: No ${ l } icon found.` ) ;
@@ -1787,7 +1787,7 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1787
1787
}
1788
1788
} } ) ;
1789
1789
} ( { } , g , $ , k ) ;
1790
- } } ) , qr = { key : 1 } , Xr = { key : 0 , class : "text-error ms-1" } , Gr = ( ( e ) => ( ha ( "data-v-e2745fd7" ) , e = e ( ) , ya ( ) , e ) ) ( ( ) => ol ( "div" , { class : "position-elm-helper" } , null , - 1 ) ) , Yr = xt ( { inheritAttrs : ! 1 , __name : "VColorField" , props : { appendIcon : { default : void 0 } , appendInnerIcon : { default : void 0 } , cardFieldWidth : { type : Boolean , default : ! 1 } , cardOffsetX : { default : 0 } , cardOffsetY : { default : 5 } , cardPadding : { default : 4 } , cardProps : { default : ( ) => ( { } ) } , clearable : { default : ! 1 } , color : { default : void 0 } , colorPickerProps : { default : ( ) => ( { } ) } , density : { default : "default" } , hint : { default : "" } , iconHoverColor : { type : Boolean , default : void 0 } , iconSize : { default : "default" } , label : { default : void 0 } , messages : { default : void 0 } , name : { default : "color" } , open : { default : "bottom left" } , persistentHint : { type : Boolean , default : ! 1 } , persistentPlaceholder : { default : ! 1 } , placeholder : { default : void 0 } , prependIcon : { default : void 0 } , prependInnerIcon : { type : [ String , null , Boolean ] , default : "default" } , readonly : { default : ! 1 } , readonlyInput : { type : [ Boolean , null ] , default : ! 1 } , required : { type : Boolean , default : ! 1 } , theme : { } , canvasHeight : { } , dotSize : { } , hideCanvas : { } , hideInputs : { } , hideSliders : { } , mode : { } , modes : { } , showSwatches : { } , swatches : { } , swatchesMaxHeight : { } , variant : { default : "filled" } , pip : { type : Boolean , default : ! 1 } , pipBorder : { default : "3px solid rgb(var(--v-theme-on-surface))" } , pipIcon : { type : [ String , null , Boolean ] , default : "pip" } , pipBorderRadius : { default : "50%" } , pipSize : { } , pipSlot : { default : "prepend-inner" } } , emits : [ "update" , "update:mode" , "update:modelValue" ] , setup ( e , { emit : t } ) {
1790
+ } } ) , qr = { key : 1 } , Xr = { key : 0 , class : "text-error ms-1" } , Gr = ( ( e ) => ( ha ( "data-v-070e9f6c" ) , e = e ( ) , ya ( ) , e ) ) ( ( ) => ol ( "div" , { class : "position-elm-helper" } , null , - 1 ) ) , Yr = xt ( { inheritAttrs : ! 1 , __name : "VColorField" , props : { appendIcon : { default : void 0 } , appendInnerIcon : { default : void 0 } , cardFieldWidth : { type : Boolean , default : ! 1 } , cardOffsetX : { default : 0 } , cardOffsetY : { default : 5 } , cardPadding : { default : 4 } , cardProps : { default : ( ) => ( { } ) } , clearable : { default : ! 1 } , color : { default : void 0 } , colorPickerProps : { default : ( ) => ( { } ) } , density : { default : "default" } , hint : { default : "" } , iconHoverColor : { type : Boolean , default : void 0 } , iconSize : { default : "default" } , label : { default : void 0 } , messages : { default : void 0 } , name : { default : "color" } , open : { default : "bottom left" } , persistentHint : { type : Boolean , default : ! 1 } , persistentPlaceholder : { default : ! 1 } , placeholder : { default : void 0 } , prependIcon : { default : void 0 } , prependInnerIcon : { type : [ String , null , Boolean ] , default : "default" } , readonly : { default : ! 1 } , readonlyInput : { type : [ Boolean , null ] , default : ! 1 } , required : { type : Boolean , default : ! 1 } , theme : { } , canvasHeight : { } , dotSize : { } , hideCanvas : { } , hideInputs : { } , hideSliders : { } , mode : { } , modes : { } , showSwatches : { } , swatches : { } , swatchesMaxHeight : { } , variant : { default : "filled" } , pip : { type : Boolean , default : ! 1 } , pipBorder : { default : "3px solid rgb(var(--v-theme-on-surface))" } , pipIcon : { type : [ String , null , Boolean ] , default : "pip" } , pipBorderRadius : { default : "50%" } , pipSize : { } , pipSlot : { default : "prepend-inner" } } , emits : [ "update" , "update:mode" , "update:modelValue" ] , setup ( e , { emit : t } ) {
1791
1791
var E ;
1792
1792
const n = ua ( ) , l = ca ( ) , o = t , a = e , i = pe ( Xl , { } ) ;
1793
1793
let r = bt ( { ...a , ...i } ) ;
@@ -1862,7 +1862,7 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1862
1862
for ( const [ l , o ] of t )
1863
1863
n [ l ] = o ;
1864
1864
return n ;
1865
- } ) ( Yr , [ [ "__scopeId" , "data-v-e2745fd7 " ] ] ) , Xl = Symbol ( ) ;
1865
+ } ) ( Yr , [ [ "__scopeId" , "data-v-070e9f6c " ] ] ) , Xl = Symbol ( ) ;
1866
1866
function Qr ( e = { } ) {
1867
1867
return { install : ( t ) => {
1868
1868
t . provide ( Xl , e ) , t . component ( "VColorField" , Kr ) ;
@@ -1874,4 +1874,4 @@ export {
1874
1874
Kr as default ,
1875
1875
Xl as globalOptions
1876
1876
} ;
1877
- ( function ( ) { "use strict" ; try { if ( typeof document < "u" ) { var e = document . createElement ( "style" ) ; e . appendChild ( document . createTextNode ( ".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.position-elm-helper[data-v-e2745fd7]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}" ) ) , document . head . appendChild ( e ) } } catch ( o ) { console . error ( "vite-plugin-css-injected-by-js" , o ) } } ) ( ) ;
1877
+ ( function ( ) { "use strict" ; try { if ( typeof document < "u" ) { var e = document . createElement ( "style" ) ; e . appendChild ( document . createTextNode ( ".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.v-color-field--text-field-readonly .v-field *[data-v-070e9f6c],.v-color-field--text-field-readonly-input .v-field *[data-v-070e9f6c]{cursor:pointer!important}.v-color-field--card[data-v-070e9f6c]{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker[data-v-070e9f6c]{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas[data-v-070e9f6c]{width:100%}.v-color-field--card-full-width .v-color-picker[data-v-070e9f6c]{max-width:100%!important}.position-elm-helper[data-v-070e9f6c]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}" ) ) , document . head . appendChild ( e ) } } catch ( o ) { console . error ( "vite-plugin-css-injected-by-js" , o ) } } ) ( ) ;
0 commit comments