Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fuzzy-ui

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fuzzy-ui - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

2

package.json
{
"name": "fuzzy-ui",
"version": "0.0.15",
"version": "0.0.16",
"main": "src/index.ts",

@@ -5,0 +5,0 @@ "scripts": {

import { ComputedRef, InjectionKey, Ref, Slots, WritableComputedRef } from 'vue'
export type UpdateFnType = (index: number, field: string, value: unknown) => any | Promise<any>
export type UpdateFnType = (
index: number,
field: any,
value: any,
data: Ref<Row[]>,
dataIndex: number
) => any | Promise<any>
export type Row = Record<string, unknown>

@@ -11,7 +17,8 @@ export type Data = Row[]

class?: string | Array<any> | object
colAttrs?: (row: Row, col: ColConfig) => Record<string, unknown> | undefined
editable?: boolean | ((row: Row) => boolean)
colAttrs?: (row: any, col: ColConfig) => Record<string, unknown> | undefined
editable?: boolean | ((row: any) => boolean)
filterable?: boolean
fixed?: string | boolean
getter: (row: Row, col: ColConfig) => unknown
format: (value: any) => unknown
getter: (row: any, col: ColConfig) => unknown
getterOnEdit?: boolean

@@ -26,6 +33,6 @@ hasCustomSetter: boolean

prop: string
setter: (row: Row, value: unknown) => void
setter: (row: any, value: unknown) => void
slots: Slots
sortDirection?: 'asc' | 'desc'
sortable?: boolean | ((rowA: Row, rowB: Row, col: ColConfig) => number)
sortable?: boolean | ((rowA: any, rowB: any, col: ColConfig) => number)
width?: string | number

@@ -41,3 +48,3 @@ }

registerCol: (colKey: string, config: ColConfig) => void
setActiveCell: (rowIndex: number, colIndex: number, direction: string, row: Row) => void
setActiveCell: (x: number, direction: [dx: number, dy: number], row: Row) => void
setCheckedRow: (row: Row, checked: boolean) => void

@@ -44,0 +51,0 @@ setSort: (colKey: string, direction: 'asc' | 'desc' | undefined) => void

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc