{"version":3,"file":"symbol.mjs","sources":["../../../components/checkbox/symbol.ts"],"sourcesContent":["import type { InjectionKey, Ref } from 'vue'\nimport type { ComponentSize, ComponentState } from '@vexip-ui/config'\n\nexport interface ControlState {\n  checked: boolean,\n  partial: boolean\n}\n\nexport interface GroupState {\n  currentValues: (string | number)[],\n  size: ComponentSize,\n  state: ComponentState,\n  disabled: boolean,\n  loading: boolean,\n  loadingLock: boolean,\n  colorMap: Record<string, string> | null,\n  stateColor: boolean,\n  increaseItem(\n    value: string | number,\n    checked: boolean,\n    input: Ref<HTMLElement | null | undefined>\n  ): void,\n  decreaseItem(value: string | number, input: Ref<HTMLElement | null | undefined>): void,\n  increaseControl(state: ControlState): void,\n  decreaseControl(state: ControlState): void,\n  handleControlChange(): void,\n  setItemChecked(value: string | number, checked: boolean): void,\n  replaceValue(prevValue: string | number, newValue: string | number): void\n}\n\nexport const GROUP_STATE = '__VXP_CHECKBOX_GROUP_STATE' as unknown as InjectionKey<GroupState>\n"],"names":["GROUP_STATE"],"mappings":"AA8BO,MAAMA,IAAc;"}