Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 26 additions & 34 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ GEM
ast (2.4.3)
autotuner (1.1.0)
aws-eventstream (1.4.0)
aws-partitions (1.1226.0)
aws-sdk-core (3.243.0)
aws-partitions (1.1227.0)
aws-sdk-core (3.244.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
base64
bigdecimal
jmespath (~> 1, >= 1.6.1)
logger
aws-sdk-kms (1.122.0)
aws-sdk-core (~> 3, >= 3.241.4)
aws-sdk-kms (1.123.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.216.0)
aws-sdk-core (~> 3, >= 3.243.0)
aws-sdk-s3 (1.217.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.12.1)
Expand Down Expand Up @@ -196,9 +196,6 @@ GEM
ffi (1.17.3-arm64-darwin)
ffi (1.17.3-x86_64-linux-gnu)
ffi (1.17.3-x86_64-linux-musl)
ffi-compiler (1.3.2)
ffi (>= 1.15.5)
rake
flamegraph (0.9.5)
flipper (1.4.0)
concurrent-ruby (< 2)
Expand Down Expand Up @@ -234,14 +231,11 @@ GEM
logger
htmlcompressor (0.4.0)
htmlentities (4.4.2)
http (5.3.1)
addressable (~> 2.8)
http (6.0.1)
http-cookie (~> 1.0)
http-form_data (~> 2.2)
llhttp-ffi (~> 0.5.0)
llhttp (~> 0.6.1)
http-cookie (1.1.0)
domain_name (~> 0.5)
http-form_data (2.3.0)
i18n (1.14.8)
concurrent-ruby (~> 1.0)
image_processing (1.14.0)
Expand All @@ -263,11 +257,11 @@ GEM
actionview (>= 7.0.0)
activesupport (>= 7.0.0)
jmespath (1.6.2)
json (2.19.1)
json (2.19.2)
json-schema (6.2.0)
addressable (~> 2.8)
bigdecimal (>= 3.1, < 5)
kamal (2.10.1)
kamal (2.11.0)
activesupport (>= 7.0)
base64 (~> 0.2)
bcrypt_pbkdf (~> 1.0)
Expand All @@ -291,11 +285,9 @@ GEM
railties (>= 6.1)
rexml
lint_roller (1.1.0)
llhttp-ffi (0.5.1)
ffi-compiler (~> 1.0)
rake (~> 13.0)
llhttp (0.6.1)
logger (1.7.0)
loofah (2.25.0)
loofah (2.25.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.9.0)
Expand Down Expand Up @@ -374,7 +366,7 @@ GEM
pg (1.6.3-arm64-darwin)
pg (1.6.3-x86_64-linux)
pg (1.6.3-x86_64-linux-musl)
posthog-ruby (3.5.5)
posthog-ruby (3.6.0)
concurrent-ruby (~> 1)
pp (0.6.3)
prettyprint
Expand Down Expand Up @@ -541,10 +533,10 @@ GEM
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 4.0)
websocket (~> 1.0)
sentry-rails (6.4.1)
sentry-rails (6.5.0)
railties (>= 5.2.0)
sentry-ruby (~> 6.4.1)
sentry-ruby (6.4.1)
sentry-ruby (~> 6.5.0)
sentry-ruby (6.5.0)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
logger
Expand All @@ -567,13 +559,13 @@ GEM
activejob (>= 7.2)
activerecord (>= 7.2)
railties (>= 7.2)
sqlite3 (2.9.1-aarch64-linux-gnu)
sqlite3 (2.9.1-aarch64-linux-musl)
sqlite3 (2.9.1-arm-linux-gnu)
sqlite3 (2.9.1-arm-linux-musl)
sqlite3 (2.9.1-arm64-darwin)
sqlite3 (2.9.1-x86_64-linux-gnu)
sqlite3 (2.9.1-x86_64-linux-musl)
sqlite3 (2.9.2-aarch64-linux-gnu)
sqlite3 (2.9.2-aarch64-linux-musl)
sqlite3 (2.9.2-arm-linux-gnu)
sqlite3 (2.9.2-arm-linux-musl)
sqlite3 (2.9.2-arm64-darwin)
sqlite3 (2.9.2-x86_64-linux-gnu)
sqlite3 (2.9.2-x86_64-linux-musl)
sshkit (1.25.0)
base64
logger
Expand Down Expand Up @@ -613,10 +605,10 @@ GEM
uniform_notifier (1.18.0)
uri (1.1.1)
useragent (0.16.11)
vite_rails (3.0.20)
vite_rails (3.10.0)
railties (>= 5.1, < 9)
vite_ruby (~> 3.0, >= 3.2.2)
vite_ruby (3.9.3)
vite_ruby (3.10.0)
dry-cli (>= 0.7, < 2)
logger (~> 1.6)
mutex_m
Expand All @@ -626,7 +618,7 @@ GEM
actionview (>= 8.0.0)
bindex (>= 0.4.0)
railties (>= 8.0.0)
webmock (3.26.1)
webmock (3.26.2)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down
222 changes: 68 additions & 154 deletions bun.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@
"@sveltejs/vite-plugin-svelte": "^6.2.4",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.1",
"@tailwindcss/vite": "^4.2.2",
"@tsconfig/svelte": "^5.0.8",
"axios": "^1.13.6",
"bits-ui": "^2.16.3",
"d3-scale": "^4.0.2",
"layerchart": "^1.0.13",
"plur": "^6.0.0",
"svelte": "^5.53.11",
"svelte": "^5.54.0",
"svelte-check": "^4.4.5",
"tailwindcss": "^4.2.1",
"tailwindcss": "^4.2.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vite-plugin-ruby": "^5.1.3"
"vite": "^8.0.1",
"vite-plugin-ruby": "^5.2.0"
},
"devDependencies": {
"prettier": "^3.8.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import type { ComponentResolver, ResolvedComponent } from '../types';
import { type Page, type PageProps } from '@inertiajs/core';
export interface InertiaAppProps<SharedProps extends PageProps = PageProps> {
initialComponent: ResolvedComponent;
initialPage: Page<SharedProps>;
resolveComponent: ComponentResolver;
}
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
declare const App: $$__sveltets_2_IsomorphicComponent<{
initialComponent: InertiaAppProps["initialComponent"];
initialPage: InertiaAppProps["initialPage"];
resolveComponent: InertiaAppProps["resolveComponent"];
}, {
[evt: string]: CustomEvent<any>;
}, {}, {}, string>;
type App = InstanceType<typeof App>;
export default App;
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
default: any;
} ? Props extends Record<string, never> ? any : {
children?: any;
} : {});
declare const Deferred: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
data: string | string[];
}, {
default: {};
fallback: {};
}>, {
[evt: string]: CustomEvent<any>;
}, {
default: {};
fallback: {};
}, {}, string>;
type Deferred = InstanceType<typeof Deferred>;
export default Deferred;
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
import { config, type FormComponentProps, type FormDataConvertible } from '@inertiajs/core';
import { type NamedInputEvent, type ValidationConfig, type Validator } from 'laravel-precognition';
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
default: any;
} ? Props extends Record<string, never> ? any : {
children?: any;
} : {});
declare const Form: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
[x: string]: any;
action?: FormComponentProps["action"];
method?: FormComponentProps["method"];
headers?: FormComponentProps["headers"];
queryStringArrayFormat?: FormComponentProps["queryStringArrayFormat"];
errorBag?: FormComponentProps["errorBag"];
showProgress?: FormComponentProps["showProgress"];
transform?: FormComponentProps["transform"];
options?: FormComponentProps["options"];
onCancelToken?: FormComponentProps["onCancelToken"];
onBefore?: FormComponentProps["onBefore"];
onStart?: FormComponentProps["onStart"];
onProgress?: FormComponentProps["onProgress"];
onFinish?: FormComponentProps["onFinish"];
onCancel?: FormComponentProps["onCancel"];
onSuccess?: FormComponentProps["onSuccess"];
onError?: FormComponentProps["onError"];
onSubmitComplete?: FormComponentProps["onSubmitComplete"];
disableWhileProcessing?: boolean | undefined;
invalidateCacheTags?: FormComponentProps["invalidateCacheTags"];
resetOnError?: FormComponentProps["resetOnError"];
resetOnSuccess?: FormComponentProps["resetOnSuccess"];
setDefaultsOnSuccess?: FormComponentProps["setDefaultsOnSuccess"];
validateFiles?: FormComponentProps["validateFiles"];
validationTimeout?: FormComponentProps["validationTimeout"];
withAllErrors?: FormComponentProps["withAllErrors"];
getFormData?: ((submitter?: HTMLElement | null) => FormData) | undefined;
getData?: ((submitter?: HTMLElement | null) => Record<string, FormDataConvertible>) | undefined;
submit?: ((submitter?: HTMLElement | null) => void) | undefined;
reset?: ((...fields: string[]) => void) | undefined;
clearErrors?: ((...fields: string[]) => void) | undefined;
resetAndClearErrors?: ((...fields: string[]) => void) | undefined;
setError?: ((fieldOrFields: string | Record<string, string>, maybeValue?: string) => void) | undefined;
defaults?: (() => void) | undefined;
validate?: ((field?: string | NamedInputEvent | ValidationConfig, config?: ValidationConfig) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>) | undefined;
valid?: ((field: string) => boolean) | undefined;
invalid?: ((field: string) => boolean) | undefined;
touch?: ((field: string | NamedInputEvent | string[], ...fields: string[]) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>) | undefined;
touched?: ((field?: string) => boolean) | undefined;
validator?: (() => Validator) | undefined;
}, {
default: {
errors: Errors;
hasErrors: boolean;
processing: boolean;
progress: any;
wasSuccessful: boolean;
recentlySuccessful: boolean;
clearErrors: (...fields: string[]) => void;
resetAndClearErrors: (...fields: string[]) => void;
setError: (fieldOrFields: string | Record<string, string>, maybeValue?: string) => void;
isDirty: boolean;
submit: (submitter?: HTMLElement | null) => void;
defaults: () => void;
reset: (...fields: string[]) => void;
getData: (submitter?: HTMLElement | null) => Record<string, FormDataConvertible>;
getFormData: (submitter?: HTMLElement | null) => FormData;
validator: () => Validator;
validate: (field?: string | NamedInputEvent | ValidationConfig, config?: ValidationConfig) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>;
touch: (field: string | NamedInputEvent | string[], ...fields: string[]) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>;
validating: boolean;
valid: <K extends config<Record<string, any>>>(field: K) => boolean;
invalid: <K extends config<Record<string, any>>>(field: K) => boolean;
touched: <K extends config<Record<string, any>>>(field?: K | undefined) => boolean;
};
}>, {
[evt: string]: CustomEvent<any>;
}, {
default: {
errors: Errors;
hasErrors: boolean;
processing: boolean;
progress: any;
wasSuccessful: boolean;
recentlySuccessful: boolean;
clearErrors: (...fields: string[]) => void;
resetAndClearErrors: (...fields: string[]) => void;
setError: (fieldOrFields: string | Record<string, string>, maybeValue?: string) => void;
isDirty: boolean;
submit: (submitter?: HTMLElement | null) => void;
defaults: () => void;
reset: (...fields: string[]) => void;
getData: (submitter?: HTMLElement | null) => Record<string, FormDataConvertible>;
getFormData: (submitter?: HTMLElement | null) => FormData;
validator: () => Validator;
validate: (field?: string | NamedInputEvent | ValidationConfig, config?: ValidationConfig) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>;
touch: (field: string | NamedInputEvent | string[], ...fields: string[]) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>;
validating: boolean;
valid: <K extends config<Record<string, any>>>(field: K) => boolean;
invalid: <K extends config<Record<string, any>>>(field: K) => boolean;
touched: <K extends config<Record<string, any>>>(field?: K | undefined) => boolean;
};
}, {
getFormData: (submitter?: HTMLElement | null) => FormData;
getData: (submitter?: HTMLElement | null) => Record<string, FormDataConvertible>;
submit: (submitter?: HTMLElement | null) => void;
reset: (...fields: string[]) => void;
clearErrors: (...fields: string[]) => void;
resetAndClearErrors: (...fields: string[]) => void;
setError: (fieldOrFields: string | Record<string, string>, maybeValue?: string) => void;
defaults: () => void;
validate: (field?: string | NamedInputEvent | ValidationConfig, config?: ValidationConfig) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>;
valid: (field: string) => boolean;
invalid: (field: string) => boolean;
touch: (field: string | NamedInputEvent | string[], ...fields: string[]) => import("svelte/store").Writable<import("../useForm").InertiaPrecognitiveForm<Record<string, any>>> & import("../useForm").InertiaFormProps<Record<string, any>> & Record<string, any> & import("../useForm").InertiaFormValidationProps<Record<string, any>>;
touched: (field?: string) => boolean;
validator: () => Validator;
}, string>;
type Form = InstanceType<typeof Form>;
export default Form;
Loading
Loading