-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
103 additions
and
2,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ node_modules/ | |
|
||
# Ignore compiled assets | ||
public/assets/ | ||
dist/ | ||
|
||
# Ignore dev utils cache | ||
.phpunit.cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { useSprunjer } from './sprunjer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Common Interfaces | ||
* | ||
* Returns miscellaneous interfaces that are used throughout the application. | ||
*/ | ||
export interface AssociativeArray { | ||
[key: string]: string | null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import type { AlertInterface } from './alerts' | ||
import { Severity } from './severity' | ||
|
||
export { type AlertInterface, Severity } | ||
export type { AlertInterface } from './alerts' | ||
export type { AssociativeArray } from './common' | ||
export { Severity } from './severity' | ||
export type { Sprunjer } from './sprunjer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Sprunjer Interface | ||
* | ||
* Represents the interface for the Sprunjer composable. | ||
*/ | ||
import type { Ref, ComputedRef } from 'vue' | ||
import type { AssociativeArray } from '../interfaces' | ||
|
||
export interface Sprunjer { | ||
dataUrl: any | ||
size: Ref<number> | ||
page: Ref<number> | ||
sorts: Ref<AssociativeArray> | ||
filters: Ref<AssociativeArray> | ||
data: Ref<any> | ||
fetch: () => void | ||
loading: Ref<boolean> | ||
totalPages: ComputedRef<number> | ||
downloadCsv: () => void | ||
countFiltered: ComputedRef<number> | ||
count: ComputedRef<number> | ||
rows: ComputedRef<any[]> | ||
first: ComputedRef<number> | ||
last: ComputedRef<number> | ||
toggleSort: (column: string) => void | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { useConfigStore } from './config' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.