✨(all): update
This commit is contained in:
		
							parent
							
								
									db21a23bda
								
							
						
					
					
						commit
						810b52d2ac
					
				@ -11,14 +11,14 @@ import EyeDropper from "./EyeDropper.vue";
 | 
			
		||||
import { ref, computed, watch, onMounted } from "vue";
 | 
			
		||||
import { useEyeDropper } from "@vueuse/core";
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits(["update:modelValue"]);
 | 
			
		||||
 | 
			
		||||
export interface LayColorPicker {
 | 
			
		||||
  modelValue?: any;
 | 
			
		||||
  preset?: any;
 | 
			
		||||
  eyeDropper?: boolean;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const emit = defineEmits(["update:modelValue"]);
 | 
			
		||||
 | 
			
		||||
const props = withDefaults(defineProps<LayColorPicker>(), {
 | 
			
		||||
  modelValue: { r: 255, g: 255, b: 255, a: 1 },
 | 
			
		||||
  preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,13 @@ export interface LaySelectProps {
 | 
			
		||||
  modelValue?: any;
 | 
			
		||||
  multiple?: boolean;
 | 
			
		||||
  create?: boolean;
 | 
			
		||||
  items?: { label: string; value: any; key: string, disabled: boolean; keyword: string }[];
 | 
			
		||||
  items?: {
 | 
			
		||||
    label: string;
 | 
			
		||||
    value: any;
 | 
			
		||||
    key: string;
 | 
			
		||||
    disabled: boolean;
 | 
			
		||||
    keyword: string;
 | 
			
		||||
  }[];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const selectRef = ref<null | HTMLElement>();
 | 
			
		||||
@ -226,7 +232,7 @@ provide("keyword", txt);
 | 
			
		||||
              ></i>
 | 
			
		||||
            </lay-badge>
 | 
			
		||||
          </template>
 | 
			
		||||
          <input>
 | 
			
		||||
          <input />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user