Skip to content

Beautiful Open-Source Form Builder

Refactor form rendering (#747)

Julien Nahum053abbf31bec
diff --git a/api/app/Http/Controllers/Forms/FormPaymentController.php b/api/app/Http/Controllers/Forms/FormPaymentController.php
index 18536c774..7cd374da4 100644
--- a/api/app/Http/Controllers/Forms/FormPaymentController.php
+++ b/api/app/Http/Controllers/Forms/FormPaymentController.php
@@ -5,6 +5,7 @@ namespace App\Http\Controllers\Forms;
use App\Http\Controllers\Controller;
use App\Models\OAuthProvider;
use App\Http\Requests\Forms\GetStripeAccountRequest;
+use App\Http\Requests\Forms\CreatePaymentIntentRequest;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
@@ -77,7 +78,7 @@ class FormPaymentController extends Controller
return $this->success(['stripeAccount' => $provider->provider_user_id]);
}
- public function createIntent(Request $request)
+ public function createIntent(CreatePaymentIntentRequest $request)
{
// Disable payment features on self-hosted instances
if (config('app.self_hosted')) {
@@ -122,7 +123,8 @@ class FormPaymentController extends Controller
Stripe::setApiKey(config('cashier.secret'));
$intent = PaymentIntent::create([
- 'description' => 'Form - ' . $form->title,
+ // Use description from payment block if available, fallback to form title
+ 'description' => $paymentBlock['description'] ?? ('Form - ' . $form->title),
'amount' => (int) ($paymentBlock['amount'] * 100), // Stripe requires amount in cents
'currency' => strtolower($paymentBlock['currency']),
'payment_method_types' => ['card'],
diff --git a/api/app/Http/Controllers/Forms/PublicFormController.php b/api/app/Http/Controllers/Forms/PublicFormController.php
index 3dd542a58..ae4a509d7 100644
--- a/api/app/Http/Controllers/Forms/PublicFormController.php
+++ b/api/app/Http/Controllers/Forms/PublicFormController.php
@@ -156,14 +156,13 @@ class PublicFormController extends Controller
// Update submission data with generated values for redirect URL
$submissionData = $job->getProcessedData();
} else {
- $job->handle();
- $encodedSubmissionId = Hashids::encode($job->getSubmissionId());
+ dispatch($job);
}
// Return the response
return $this->success(array_merge([
'message' => 'Form submission saved.',
- 'submission_id' => $encodedSubmissionId,
+ 'submission_id' => $encodedSubmissionId ?? null,
'is_first_submission' => $isFirstSubmission,
], $formSubmissionProcessor->getRedirectData($form, $submissionData)));
}
diff --git a/api/app/Http/Requests/AnswerFormRequest.php b/api/app/Http/Requests/AnswerFormRequest.php
index fb08658af..29d71252e 100644
--- a/api/app/Http/Requests/AnswerFormRequest.php
+++ b/api/app/Http/Requests/AnswerFormRequest.php
@@ -140,6 +140,10 @@ class AnswerFormRequest extends FormRequest
$this->requestRules['submission_id'] = 'string';
}
+ // Add rules for metadata fields
+ $this->requestRules['completion_time'] = 'nullable|integer';
+ $this->requestRules['submission_id'] = 'nullable|string';
+
return $this->requestRules;
}
diff --git a/api/app/Http/Requests/Forms/CreatePaymentIntentRequest.php b/api/app/Http/Requests/Forms/CreatePaymentIntentRequest.php
new file mode 100644
index 000000000..a011acdb9
--- /dev/null
+++ b/api/app/Http/Requests/Forms/CreatePaymentIntentRequest.php
@@ -0,0 +1,30 @@
+<?php
+
+namespace App\Http\Requests\Forms;
+
+use Illuminate\Foundation\Http\FormRequest;
+
+class CreatePaymentIntentRequest extends FormRequest
+{
+ /**
+ * Determine if the user is authorized to make this request.
+ */
+ public function authorize(): bool
+ {
+ // Allow public access for now, protected by middleware
+ return true;
+ }
+
+ /**
+ * Get the validation rules that apply to the request.
+ *
+ * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
+ */
+ public function rules(): array
+ {
+ // No body parameters need validation as they are derived from the form itself.
+ return [
+ // Keep empty for now, can add header/other validation later if needed.
+ ];
+ }
+}
diff --git a/api/app/Rules/StorageFile.php b/api/app/Rules/StorageFile.php
index 189bd39e9..e0ca624fa 100644
--- a/api/app/Rules/StorageFile.php
+++ b/api/app/Rules/StorageFile.php
@@ -32,11 +32,12 @@ class StorageFile implements ValidationRule
if (filter_var($value, FILTER_VALIDATE_URL) !== false) {
return true;
}
+ $fileNameParser = StorageFileNameParser::parse($value);
// This is use when updating a record, and file uploads aren't changed.
if ($this->form) {
$newPath = Str::of(PublicFormController::FILE_UPLOAD_PATH)->replace('?', $this->form->id);
- if (Storage::exists($newPath.'/'.$value)) {
+ if (Storage::exists($newPath . '/' . $fileNameParser->getMovedFileName())) {
return true;
}
}
@@ -46,7 +47,7 @@ class StorageFile implements ValidationRule
return false;
}
- $filePath = PublicFormController::TMP_FILE_UPLOAD_PATH.$uuid;
+ $filePath = PublicFormController::TMP_FILE_UPLOAD_PATH . $uuid;
if (! Storage::exists($filePath)) {
return false;
}
@@ -58,7 +59,7 @@ class StorageFile implements ValidationRule
}
if (count($this->fileTypes) > 0) {
- $this->error = 'Incorrect file type. Allowed only: '.implode(',', $this->fileTypes);
+ $this->error = 'Incorrect file type. Allowed only: ' . implode(',', $this->fileTypes);
return collect($this->fileTypes)->map(function ($type) {
return strtolower($type);
})->contains(strtolower($fileNameParser->extension));
diff --git a/api/app/Rules/ValidReCaptcha.php b/api/app/Rules/ValidReCaptcha.php
index a889d423e..b90260ed9 100644
--- a/api/app/Rules/ValidReCaptcha.php
+++ b/api/app/Rules/ValidReCaptcha.php
@@ -32,6 +32,7 @@ class ValidReCaptcha implements ImplicitRule
'response' => $value,
])->json('success');
}
+
public function validate(string $attribute, mixed $value, Closure $fail): void
{
if (!$this->passes($attribute, $value)) {
diff --git a/api/ray.php b/api/ray.php
new file mode 100644
index 000000000..e45f69aba
--- /dev/null
+++ b/api/ray.php
@@ -0,0 +1,128 @@
+<?php
+
+return [
+ /*
+ * This setting controls whether data should be sent to Ray.
+ *
+ * By default, `ray()` will only transmit data in non-production environments.
+ */
+ 'enable' => env('RAY_ENABLED', true),
+
+ /*
+ * When enabled, all cache events will automatically be sent to Ray.
+ */
+ 'send_cache_to_ray' => env('SEND_CACHE_TO_RAY', false),
+
+ /*
+ * When enabled, all things passed to `dump` or `dd`
+ * will be sent to Ray as well.
+ */
+ 'send_dumps_to_ray' => env('SEND_DUMPS_TO_RAY', true),
+
+ /*
+ * When enabled all job events will automatically be sent to Ray.
+ */
+ 'send_jobs_to_ray' => env('SEND_JOBS_TO_RAY', false),
+
+ /*
+ * When enabled, all things logged to the application log
+ * will be sent to Ray as well.
+ */
+ 'send_log_calls_to_ray' => env('SEND_LOG_CALLS_TO_RAY', true),
+
+ /*
+ * When enabled, all queries will automatically be sent to Ray.
+ */
+ 'send_queries_to_ray' => env('SEND_QUERIES_TO_RAY', false),
+
+ /**
+ * When enabled, all duplicate queries will automatically be sent to Ray.
+ */
+ 'send_duplicate_queries_to_ray' => env('SEND_DUPLICATE_QUERIES_TO_RAY', false),
+
+ /*
+ * When enabled, slow queries will automatically be sent to Ray.
+ */
+ 'send_slow_queries_to_ray' => env('SEND_SLOW_QUERIES_TO_RAY', false),
+
+ /**
+ * Queries that are longer than this number of milliseconds will be regarded as slow.
+ */
+ 'slow_query_threshold_in_ms' => env('RAY_SLOW_QUERY_THRESHOLD_IN_MS', 500),
+
+ /*
+ * When enabled, all update queries will automatically be sent to Ray.
+ */
+ 'send_update_queries_to_ray' => env('SEND_UPDATE_QUERIES_TO_RAY', false),
+
+ /*
+ * When enabled, all insert queries will automatically be sent to Ray.
+ */
+ 'send_insert_queries_to_ray' => env('SEND_INSERT_QUERIES_TO_RAY', false),
+
+ /*
+ * When enabled, all delete queries will automatically be sent to Ray.
+ */
+ 'send_delete_queries_to_ray' => env('SEND_DELETE_QUERIES_TO_RAY', false),
+
+ /*
+ * When enabled, all select queries will automatically be sent to Ray.
+ */
+ 'send_select_queries_to_ray' => env('SEND_SELECT_QUERIES_TO_RAY', false),
+
+ /*
+ * When enabled, all requests made to this app will automatically be sent to Ray.
+ */
+ 'send_requests_to_ray' => env('SEND_REQUESTS_TO_RAY', false),
+
+ /**
+ * When enabled, all Http Client requests made by this app will be automatically sent to Ray.
+ */
+ 'send_http_client_requests_to_ray' => env('SEND_HTTP_CLIENT_REQUESTS_TO_RAY', false),
+
+ /*
+ * When enabled, all views that are rendered automatically be sent to Ray.
+ */
+ 'send_views_to_ray' => env('SEND_VIEWS_TO_RAY', false),
+
+ /*
+ * When enabled, all exceptions will be automatically sent to Ray.
+ */
+ 'send_exceptions_to_ray' => env('SEND_EXCEPTIONS_TO_RAY', true),
+
+ /*
+ * When enabled, all deprecation notices will be automatically sent to Ray.
+ */
+ 'send_deprecated_notices_to_ray' => env('SEND_DEPRECATED_NOTICES_TO_RAY', false),
+
+ /*
+ * The host used to communicate with the Ray app.
+ * When using Docker on Mac or Windows, you can replace localhost with 'host.docker.internal'
+ * When using Docker on Linux, you can replace localhost with '172.17.0.1'
+ * When using Homestead with the VirtualBox provider, you can replace localhost with '10.0.2.2'
+ * When using Homestead with the Parallels provider, you can replace localhost with '10.211.55.2'
+ */
+ 'host' => env('RAY_HOST', 'localhost'),
+
+ /*
+ * The port number used to communicate with the Ray app.
+ */
+ 'port' => env('RAY_PORT', 23517),
+
+ /*
+ * Absolute base path for your sites or projects in Homestead,
+ * Vagrant, Docker, or another remote development server.
+ */
+ 'remote_path' => env('RAY_REMOTE_PATH', null),
+
+ /*
+ * Absolute base path for your sites or projects on your local
+ * computer where your IDE or code editor is running on.
+ */
+ 'local_path' => env('RAY_LOCAL_PATH', null),
+
+ /*
+ * When this setting is enabled, the package will not try to format values sent to Ray.
+ */
+ 'always_send_raw_values' => false,
+];
diff --git a/api/routes/api.php b/api/routes/api.php
index c9facc387..aead655fb 100644
--- a/api/routes/api.php
+++ b/api/routes/api.php
@@ -298,7 +298,7 @@ Route::prefix('forms')->name('forms.')->group(function () {
Route::middleware('protected-form')->group(function () {
Route::post('{slug}/answer', [PublicFormController::class, 'answer'])->name('answer')->middleware(HandlePrecognitiveRequests::class);
Route::get('{slug}/stripe-connect/get-account', [FormPaymentController::class, 'getAccount'])->name('stripe-connect.get-account')->middleware(HandlePrecognitiveRequests::class);
- Route::get('{slug}/stripe-connect/payment-intent', [FormPaymentController::class, 'createIntent'])->name('stripe-connect.create-intent')->middleware(HandlePrecognitiveRequests::class);
+ Route::post('{slug}/stripe-connect/payment-intent', [FormPaymentController::class, 'createIntent'])->name('stripe-connect.create-intent')->middleware(HandlePrecognitiveRequests::class);
// Form content endpoints (user lists, relation lists etc.)
Route::get(
diff --git a/api/tests/Feature/Forms/FormPaymentTest.php b/api/tests/Feature/Forms/FormPaymentTest.php
index 6b771d494..24a199332 100644
--- a/api/tests/Feature/Forms/FormPaymentTest.php
+++ b/api/tests/Feature/Forms/FormPaymentTest.php
@@ -40,7 +40,7 @@ it('cannot create payment intent for non-public form', function () {
// Update form visibility to private
$this->form->update(['visibility' => 'private']);
- $this->getJson(route('forms.stripe-connect.create-intent', $this->form->slug))
+ $this->postJson(route('forms.stripe-connect.create-intent', $this->form->slug))
->assertStatus(404)
->assertJson([
'message' => 'Form not found.'
@@ -56,7 +56,7 @@ it('cannot create payment intent for form without payment block', function () {
$this->form->update(['properties' => $properties]);
- $this->getJson(route('forms.stripe-connect.create-intent', $this->form->slug))
+ $this->postJson(route('forms.stripe-connect.create-intent', $this->form->slug))
->assertStatus(400)
->assertJson([
'type' => 'error',
@@ -75,7 +75,7 @@ it('cannot create payment intent with invalid stripe account', function () {
$this->form->update(['properties' => $properties]);
- $this->getJson(route('forms.stripe-connect.create-intent', $this->form->slug))
+ $this->postJson(route('forms.stripe-connect.create-intent', $this->form->slug))
->assertStatus(400)
->assertJson([
'message' => 'Failed to find Stripe account'
diff --git a/api/tests/Feature/UserManagementTest.php b/api/tests/Feature/UserManagementTest.php
index e3b5531b8..59b42d32c 100644
--- a/api/tests/Feature/UserManagementTest.php
+++ b/api/tests/Feature/UserManagementTest.php
@@ -3,13 +3,15 @@
use App\Models\UserInvite;
use Carbon\Carbon;
use App\Rules\ValidHCaptcha;
+use App\Rules\ValidReCaptcha;
use Illuminate\Support\Facades\Http;
beforeEach(function () {
$this->user = $this->actingAsProUser();
$this->workspace = $this->createUserWorkspace($this->user);
Http::fake([
- ValidHCaptcha::H_CAPTCHA_VERIFY_URL => Http::response(['success' => true])
+ ValidHCaptcha::H_CAPTCHA_VERIFY_URL => Http::response(['success' => true]),
+ ValidReCaptcha::RECAPTCHA_VERIFY_URL => Http::response(['success' => true])
]);
});
@@ -37,6 +39,7 @@ it('can register with invite token', function () {
'agree_terms' => true,
'invite_token' => $token,
'h-captcha-response' => 'test-token',
+ 'g-recaptcha-response' => 'test-token',
]);
$response->assertSuccessful();
expect($this->workspace->users()->count())->toBe(2);
@@ -66,6 +69,7 @@ it('cannot register with expired invite token', function () {
'agree_terms' => true,
'invite_token' => $token,
'h-captcha-response' => 'test-token',
+ 'g-recaptcha-response' => 'test-token',
]);
$response->assertStatus(400)->assertJson([
'message' => 'Invite token has expired.',
@@ -96,6 +100,7 @@ it('cannot re-register with accepted invite token', function () {
'agree_terms' => true,
'invite_token' => $token,
'h-captcha-response' => 'test-token',
+ 'g-recaptcha-response' => 'test-token',
]);
$response->assertSuccessful();
expect($this->workspace->users()->count())->toBe(2);
@@ -113,6 +118,7 @@ it('cannot re-register with accepted invite token', function () {
'agree_terms' => true,
'invite_token' => $token,
'h-captcha-response' => 'test-token',
+ 'g-recaptcha-response' => 'test-token',
]);
$response->assertStatus(422)->assertJson([
@@ -148,6 +154,7 @@ it('can cancel user invite', function () {
'agree_terms' => true,
'invite_token' => $token,
'h-captcha-response' => 'test-token',
+ 'g-recaptcha-response' => 'test-token',
]);
$response->assertStatus(400)->assertJson([
'message' => 'Invite token is invalid.',
diff --git a/client/.eslintrc.cjs b/client/.eslintrc.cjs
deleted file mode 100644
index e6e9b6af5..000000000
--- a/client/.eslintrc.cjs
+++ /dev/null
@@ -1,20 +0,0 @@
-module.exports = {
- root: true,
- extends: ["@nuxt/eslint-config"],
- parser: "vue-eslint-parser",
- env: {
- browser: true,
- node: true,
- },
- rules: {
- "vue/require-default-prop": "off",
- "vue/no-mutating-props": "off",
- semi: ["error", "never"],
- "vue/no-v-html": "off",
- "prefer-rest-params": "off",
- "vue/valid-template-root": "off",
- "no-undef": "off",
- "no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
- "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
- },
-};
diff --git a/client/components/forms/DateInput.vue b/client/components/forms/DateInput.vue
index 52156168e..d81de9c53 100644
--- a/client/components/forms/DateInput.vue
+++ b/client/components/forms/DateInput.vue
@@ -204,14 +204,14 @@ const formattedDate = (value) => {
if (props.withTime) {
try {
return format(new Date(value), props.dateFormat + (props.timeFormat == 12 ? ' p':' HH:mm'))
- } catch (e) {
- console.error('Error formatting date', e)
+ } catch {
+ console.error('Error formatting date')
return ''
}
}
try {
return format(new Date(value), props.dateFormat)
- } catch (e) {
+ } catch {
return ''
}
}
diff --git a/client/components/forms/FlatSelectInput.vue b/client/components/forms/FlatSelectInput.vue
index 83e328390..15d7091fa 100644
--- a/client/components/forms/FlatSelectInput.vue
+++ b/client/components/forms/FlatSelectInput.vue
@@ -24,6 +24,24 @@
<template
v-if="options && options.length"
>
+ <div v-if="multiple && compVal && compVal.length" class="px-3 py-2">
+ <slot
+ name="selected"
+ :option="selectedOptions"
+ :option-name="multiple ? getSelectedOptionsNames().join(', ') : getOptionName(selectedOptions)"
+ >
+ <div class="flex items-center truncate">
+ <span
+ class="truncate"
+ :class="[
+ theme.FlatSelectInput.fontSize,
+ ]"
+ >
+ {{ getSelectedOptionsNames().join(', ') }}
+ </span>
+ </div>
+ </slot>
+ </div>
<div
v-for="(option) in options"
:key="option[optionKey]"
@@ -58,9 +76,15 @@
:prevent="!disableOptions.includes(option[optionKey])"
class="w-full"
>
- <p class="flex-grow">
- {{ option[displayKey] }}
- </p>
+ <slot
+ name="option"
+ :option="option"
+ :selected="isSelected(option[optionKey])"
+ >
+ <p class="flex-grow">
+ {{ option[displayKey] }}
+ </p>
+ </slot>
</UTooltip>
</div>
</template>
@@ -120,7 +144,17 @@ export default {
data() {
return {}
},
- computed: {},
+ computed: {
+ selectedOptions() {
+ if (!this.compVal) return []
+
+ if (this.multiple) {
+ return this.options.filter(option => this.compVal.includes(option[this.optionKey]))
+ }
+
+ return this.options.find(option => option[this.optionKey] === this.compVal) || null
+ },
+ },
methods: {
onSelect(value) {
if (this.disabled || this.disableOptions.includes(value)) {
@@ -156,6 +190,18 @@ export default {
}
return this.compVal === value
},
+ getOptionName(option) {
+ return option ? option[this.displayKey] : ''
+ },
+ getSelectedOptionsNames() {
+ if (!this.compVal) return []
+
+ if (this.multiple) {
+ return this.selectedOptions.map(option => option[this.displayKey])
+ }
+
+ return [this.getOptionName(this.selectedOptions)]
+ },
},
}
</script>
\ No newline at end of file
diff --git a/client/components/forms/PaymentInput.client.vue b/client/components/forms/PaymentInput.client.vue
index 0efe856c4..68fa2c73f 100644
--- a/client/components/forms/PaymentInput.client.vue
+++ b/client/components/forms/PaymentInput.client.vue
@@ -44,10 +44,17 @@
</div>
<template v-else>
<div
- v-if="shouldShowPreviewMessage"
+ v-if="shouldShowPreviewMessage || (props.isAdminPreview && (!stripeState.stripeAccountId || !publishableKey || !isStripeJsLoaded))"
class="my-4 p-4 text-center text-sm text-blue-700 bg-blue-100 dark:bg-blue-900/50 dark:text-blue-300 rounded-md"
>
- <p>Please save the form to activate the payment preview.</p>
+ <p v-if="shouldShowPreviewMessage">Please save the form to activate the payment preview.</p>
+ <p v-else>
+ Payment component configuration incomplete.
+ {{ !stripeState?.stripeAccountId ? 'Stripe account not connected': 'Stripe account connected' }}.
+ {{ !publishableKey ? 'Missing Stripe publishable key.' : '' }}
+ {{ !isStripeJsLoaded ? 'Stripe.js not loaded.' : '' }}
+ </p>
+ <p class="mt-2">The complete payment form will be visible to users when viewing the published form.</p>
</div>
<div
v-else-if="stripeState && stripeState.isLoadingAccount"
@@ -80,8 +87,8 @@
<StripeElements
ref="stripeElementsRef"
:stripe-key="publishableKey"
- :stripe-account="stripeState.stripeAccountId"
- :instance-options="{ stripeAccount: stripeState.stripeAccountId }"
+ :stripe-account="String(stripeState.stripeAccountId)"
+ :instance-options="{ stripeAccount: String(stripeState.stripeAccountId) }"
:elements-options="{ locale: props.locale }"
@ready="onStripeReady"
@error="onStripeError"
@@ -135,7 +142,16 @@
</StripeElements>
</div>
<div v-else>
- <Loader class="mx-auto h-6 w-6" />
+ <div v-if="props.isAdminPreview" class="my-4 p-4 text-center text-sm text-blue-700 bg-blue-100 dark:bg-blue-900/50 dark:text-blue-300 rounded-md">
+ <p>Payment component initializing. {{ !!stripeState?.stripeAccountId ? 'Stripe account connected': 'No Stripe account connected' }}.</p>
+ <p class="mt-2">The payment form will be visible to users when viewing the published form.</p>
+ <p v-if="!publishableKey" class="mt-2 text-red-500">Missing Stripe publishable key in configuration.</p>
+ <p v-if="!stripeState?.stripeAccountId" class="mt-2 text-red-500">Missing Stripe account connection. ID: {{ props.oauthProviderId }}</p>
+ </div>
+ <div v-else class="flex flex-col items-center justify-center py-4">
+ <Loader class="mx-auto h-6 w-6" />
+ <p class="text-sm text-gray-500 mt-2">Initializing payment system...</p>
+ </div>
</div>
</template>
</div>
@@ -144,7 +160,12 @@
<slot name="help" />
</template>
<template #error>
- <slot name="error" />
+ <!-- If we have a specific error for this block, show it -->
+ <div v-if="props.error" class="text-sm text-red-500 mt-1">
+ {{ props.error }}
+ </div>
+ <!-- Otherwise, show the default error slot -->
+ <slot v-else name="error" />
</template>
</InputWrapper>
</template>
@@ -156,7 +177,6 @@ import InputWrapper from './components/InputWrapper.vue'
import { loadStripe } from '@stripe/stripe-js'
import { StripeElements, StripeElement } from 'vue-stripe-js'
import stripeCurrencies from "~/data/stripe_currencies.json"
-import { useStripeElements } from '~/composables/useStripeElements'
import { useAlert } from '~/composables/useAlert'
import { useFeatureFlag } from '~/composables/useFeatureFlag'
@@ -168,20 +188,12 @@ const props = defineProps({
oauthProviderId: { type: [String, Number], default: null },
isAdminPreview: { type: Boolean, default: false },
color: { type: String, default: '#000000' },
- isDark: { type: Boolean, default: false }
+ isDark: { type: Boolean, default: false },
+ paymentData: { type: Object, default: null }
})
const emit = defineEmits([])
const { compVal, hasError, inputWrapperProps } = useFormInput(props, { emit })
-const stripeElements = useStripeElements()
-const {
- state: stripeState,
- prepareStripeState,
- setStripeInstance,
- setElementsInstance,
- setCardElement,
- setBillingDetails
-} = stripeElements || {}
const route = useRoute()
const alert = useAlert()
@@ -189,23 +201,31 @@ const alert = useAlert()
const publishableKey = computed(() => {
return useFeatureFlag('billing.stripe_publishable_key', '')
})
+
const card = ref(null)
const stripeElementsRef = ref(null)
const cardHolderName = ref('')
const cardHolderEmail = ref('')
const isCardFocused = ref(false)
-
-// Keep the flag for Stripe.js loading but remove manual instance creation
const isStripeJsLoaded = ref(false)
+// Get Stripe elements from paymentData
+const stripeElements = computed(() => props.paymentData?.stripeElements)
+const stripeState = computed(() => stripeElements.value?.state || {})
+const setStripeInstance = computed(() => stripeElements.value?.setStripeInstance)
+const setElementsInstance = computed(() => stripeElements.value?.setElementsInstance)
+const setCardElement = computed(() => stripeElements.value?.setCardElement)
+const setBillingDetails = computed(() => stripeElements.value?.setBillingDetails)
+const prepareStripeState = computed(() => stripeElements.value?.prepareStripeState)
+
// Computed to determine if we should show success state
const showSuccessState = computed(() => {
- return stripeState?.intentId || (compVal.value && isPaymentIntentId(compVal.value))
+ return stripeState.value?.intentId || (compVal.value && isPaymentIntentId(compVal.value))
})
// Computed to determine if we should always show preview message in editor
const shouldShowPreviewMessage = computed(() => {
- return props.isAdminPreview && (!formSlug.value || !stripeState || !stripeElements)
+ return props.isAdminPreview && stripeState.value?.showPreviewMessage
})
// Helper function to check if a string looks like a Stripe payment intent ID
@@ -216,87 +236,120 @@ const isPaymentIntentId = (value) => {
// Initialize Stripe.js if needed
onMounted(async () => {
try {
- // Validate publishable key
- if (!publishableKey.value || typeof publishableKey.value !== 'string' || publishableKey.value.trim() === '') {
- if (stripeState) {
- stripeState.isLoadingAccount = false
- stripeState.hasAccountLoadingError = true
- stripeState.errorMessage = 'Missing Stripe configuration. Please check your settings.'
- }
- return
- }
-
- // We'll check if Stripe is already available globally
- if (typeof window !== 'undefined' && !window.Stripe) {
+ console.debug('[PaymentInput] Mounting with:', {
+ oauthProviderId: props.oauthProviderId,
+ hasPaymentData: !!props.paymentData,
+ publishableKey: publishableKey.value,
+ stripeElementsInstance: !!stripeElements.value
+ })
+
+ // Initialize Stripe.js globally first if needed
+ if (typeof window !== 'undefined' && !window.Stripe && publishableKey.value) {
+ console.debug('[PaymentInput] Loading Stripe.js with key:', publishableKey.value)
await loadStripe(publishableKey.value)
isStripeJsLoaded.value = true
- } else {
+ } else if (typeof window !== 'undefined' && window.Stripe) {
isStripeJsLoaded.value = true
}
-
- // If stripeElements or stripeState is not available, we need to handle that
- if (!stripeElements || !stripeState) {
- console.warn('Stripe elements provider not found or not properly initialized.')
+ console.debug('[PaymentInput] Stripe.js loaded status:', isStripeJsLoaded.value)
+
+ // Skip initialization if missing essential data
+ if (!props.oauthProviderId || !props.paymentData || !publishableKey.value) {
+ console.debug('[PaymentInput] Skipping initialization - missing requirements:', {
+ oauthProviderId: props.oauthProviderId,
+ paymentData: !!props.paymentData,
+ publishableKey: !!publishableKey.value
+ })
+
+ // Set error state if publishable key is missing
+ if (!publishableKey.value && stripeState.value) {
+ stripeState.value.hasAccountLoadingError = true
+ stripeState.value.errorMessage = 'Missing Stripe configuration. Please check your settings.'
+ }
return
}
// If compVal already contains a payment intent ID, sync it to stripeState
- if (compVal.value && isPaymentIntentId(compVal.value) && stripeState) {
- stripeState.intentId = compVal.value
- }
-
- // For unsaved forms in admin preview, show the preview message
- if (props.isAdminPreview && !formSlug.value && stripeState) {
- stripeState.isLoadingAccount = false
- stripeState.showPreviewMessage = true
- return
+ if (compVal.value && isPaymentIntentId(compVal.value) && stripeState.value) {
+ console.debug('[PaymentInput] Syncing existing payment intent:', compVal.value)
+ stripeState.value.intentId = compVal.value
}
- // Fetch account but don't manually create Stripe instance
+ // Fetch account details from the API, even in preview mode
const slug = formSlug.value
- if (slug && props.oauthProviderId && prepareStripeState) {
- const result = await prepareStripeState(slug, props.oauthProviderId, props.isAdminPreview)
+ if (slug && props.oauthProviderId && prepareStripeState.value) {
+ console.debug('[PaymentInput] Preparing Stripe state with:', {
+ slug,
+ oauthProviderId: props.oauthProviderId,
+ isAdminPreview: props.isAdminPreview
+ })
+ const result = await prepareStripeState.value(slug, props.oauthProviderId, props.isAdminPreview)
+ console.debug('[PaymentInput] Stripe state preparation result:', result)
if (!result.success && result.message && !result.requiresSave) {
+ // Show error only if it's not the "Save the form" message
alert.error(result.message)
}
- } else if (props.isAdminPreview && stripeState) {
- // If we're in admin preview and any required parameter is missing, show preview message
- stripeState.isLoadingAccount = false
- stripeState.showPreviewMessage = true
}
} catch (error) {
+ console.error('[PaymentInput] Stripe initialization error:', error)
+ if (stripeState.value) {
+ stripeState.value.hasAccountLoadingError = true
+ stripeState.value.errorMessage = 'Failed to initialize Stripe. Please refresh and try again.'
+ }
alert.error('Failed to initialize Stripe. Please refresh and try again.')
}
})
// Watch for provider ID changes
watch(() => props.oauthProviderId, async (newVal, oldVal) => {
- if (newVal && newVal !== oldVal && prepareStripeState) {
+ if (newVal && newVal !== oldVal && prepareStripeState.value) {
const slug = formSlug.value
if (slug) {
- await prepareStripeState(slug, newVal, props.isAdminPreview)
+ await prepareStripeState.value(slug, newVal, props.isAdminPreview)
}
}
})
-// Update onStripeReady to always use the stripe instance from the component
+// Update onStripeReady to use the computed methods
const onStripeReady = ({ stripe, elements }) => {
+ console.debug('[PaymentInput] onStripeReady called with:', {
+ hasStripe: !!stripe,
+ hasElements: !!elements,
+ setStripeInstance: !!setStripeInstance.value,
+ setElementsInstance: !!setElementsInstance.value
+ })
+
if (!stripe) {
+ console.warn('[PaymentInput] No Stripe instance in onStripeReady')
return
}
- if (setStripeInstance) {
- setStripeInstance(stripe)
+ if (setStripeInstance.value) {
+ console.debug('[PaymentInput] Setting Stripe instance')
+ setStripeInstance.value(stripe)
+ } else {
+ console.warn('[PaymentInput] No setStripeInstance method available')
}
- if (elements && setElementsInstance) {
- setElementsInstance(elements)
+ if (elements && setElementsInstance.value) {
+ console.debug('[PaymentInput] Setting Elements instance')
+ setElementsInstance.value(elements)
+ } else {
+ console.warn('[PaymentInput] Missing elements or setElementsInstance')
}
}
-const onStripeError = (_error) => {
- alert.error('Failed to load payment component. Please check configuration or refresh.')
+const onStripeError = (error) => {
+ console.error('[PaymentInput] Stripe initialization error:', error)
+ const errorMessage = error?.message || 'Failed to load payment component'
+
+ alert.error('Failed to load payment component. ' + errorMessage)
+
+ if (stripeState.value) {
+ stripeState.value.hasAccountLoadingError = true
+ stripeState.value.errorMessage = errorMessage + '. Please check configuration or refresh.'
+ }
}
// Card focus/blur event handlers
@@ -309,30 +362,41 @@ const onCardBlur = () => {
}
const onCardReady = (_element) => {
- if (card.value?.stripeElement) {
- if (setCardElement) {
- setCardElement(card.value.stripeElement)
- }
+ console.debug('[PaymentInput] Card ready:', {
+ hasCardRef: !!card.value,
+ hasStripeElement: !!card.value?.stripeElement,
+ hasSetCardElement: !!setCardElement.value
+ })
+
+ if (card.value?.stripeElement && setCardElement.value) {
+ console.debug('[PaymentInput] Setting card element')
+ setCardElement.value(card.value.stripeElement)
+ } else {
+ console.warn('[PaymentInput] Cannot set card element - missing dependencies')
}
}
// Billing details
watch(cardHolderName, (newValue) => {
- setBillingDetails({ name: newValue })
+ if (setBillingDetails.value) {
+ setBillingDetails.value({ name: newValue })
+ }
})
watch(cardHolderEmail, (newValue) => {
- setBillingDetails({ email: newValue })
+ if (setBillingDetails.value) {
+ setBillingDetails.value({ email: newValue })
+ }
})
// Payment intent sync
-watch(() => stripeState?.intentId, (newValue) => {
+watch(() => stripeState.value?.intentId, (newValue) => {
if (newValue) compVal.value = newValue
})
watch(compVal, (newValue) => {
- if (newValue && stripeState && newValue !== stripeState.intentId) {
- stripeState.intentId = newValue
+ if (newValue && stripeState.value && newValue !== stripeState.value.intentId) {
+ stripeState.value.intentId = newValue
}
}, { immediate: true })
@@ -351,7 +415,6 @@ const currencySymbol = computed(() => {
})
const cardOptions = computed(() => {
- // Extract placeholder color from theme
const darkPlaceholderColor = props.theme.default?.input?.includes('dark:placeholder-gray-500') ? '#6B7280' : '#9CA3AF'
const lightPlaceholderColor = props.theme.default?.input?.includes('placeholder-gray-400') ? '#9CA3AF' : '#A0AEC0'
@@ -378,7 +441,6 @@ const cardOptions = computed(() => {
})
const formSlug = computed(() => {
- // Return the slug from route params regardless of route name
if (route.params && route.params.slug) {
return route.params.slug
}
@@ -393,7 +455,9 @@ const resetCard = async () => {
if (stripeElementsRef.value?.elements) {
card.value.stripeElement.mount(stripeElementsRef.value.elements)
- setCardElement(card.value.stripeElement)
+ if (setCardElement.value) {
+ setCardElement.value(card.value.stripeElement)
+ }
} else {
console.error('Cannot remount card, Stripe Elements instance not found.')
}
@@ -403,14 +467,21 @@ const resetCard = async () => {
// Add watcher to check when stripeElementsRef becomes available for fallback access
watch(() => stripeElementsRef.value, async (newRef) => {
if (newRef) {
+ console.debug('[PaymentInput] StripeElementsRef updated:', {
+ hasInstance: !!newRef.instance,
+ hasElements: !!newRef.elements
+ })
+
// If @ready event hasn't fired, try accessing the instance directly
- if (newRef.instance && setStripeInstance && !stripeState.isStripeInstanceReady) {
- setStripeInstance(newRef.instance)
+ if (newRef.instance && setStripeInstance.value && !stripeState.value?.isStripeInstanceReady) {
+ console.debug('[PaymentInput] Setting Stripe instance from ref')
+ setStripeInstance.value(newRef.instance)
}
- if (newRef.elements && setElementsInstance) {
- setElementsInstance(newRef.elements)
+ if (newRef.elements && setElementsInstance.value) {
+ console.debug('[PaymentInput] Setting Elements instance from ref')
+ setElementsInstance.value(newRef.elements)
}
}
}, { immediate: true })
-</script>
\ No newline at end of file
+</script>
diff --git a/client/components/forms/TextInput.vue b/client/components/forms/TextInput.vue
index 159a1a0df..d5a50999d 100644
--- a/client/components/forms/TextInput.vue
+++ b/client/components/forms/TextInput.vue
@@ -84,7 +84,7 @@ export default {
if (props.nativeType !== "file") return
const file = event.target.files[0]
- // eslint-disable-next-line vue/no-mutating-props
+
props.form[props.name] = file
}
diff --git a/client/components/forms/components/CaptchaInput.vue b/client/components/forms/components/CaptchaInput.vue
index 7b2ab9783..145c023fe 100644
--- a/client/components/forms/components/CaptchaInput.vue
+++ b/client/components/forms/components/CaptchaInput.vue
@@ -138,7 +138,7 @@ const resizeIframe = (height) => {
try {
window.parentIFrame?.size(height)
- } catch (e) {
+ } catch {
// Silently handle error
}
}
diff --git a/client/components/forms/components/CaptchaWrapper.vue b/client/components/forms/components/CaptchaWrapper.vue
new file mode 100644
index 000000000..ab2778876
--- /dev/null
+++ b/client/components/forms/components/CaptchaWrapper.vue
@@ -0,0 +1,83 @@
+<template>
+ <div v-if="isCaptchaRequired" class="mb-3 px-2 mt-4 mx-auto w-max">
+ <ClientOnly>
+ <CaptchaInput
+ ref="captchaInputRef"
+ :provider="provider"
+ :form="form"
+ :language="language"
+ :dark-mode="darkMode"
+ />
+ <template #fallback>
+ <USkeleton class="h-[78px] w-[304px]" />
+ </template>
+ </ClientOnly>
+ </div>
+</template>
+
+<script setup>
+import CaptchaInput from './CaptchaInput.vue'
+import { computed, ref, watch } from 'vue'
+
+const props = defineProps({
+ formManager: {
+ type: Object,
+ required: true
+ }
+})
+
+const captchaInputRef = ref(null)
+const runtimeConfig = useRuntimeConfig().public
+
+// Get form and config from the formManager
+const form = computed(() => props.formManager.form)
+const config = computed(() => props.formManager.config.value)
+const structure = computed(() => props.formManager.structure)
+const isLastPage = computed(() => structure.value?.isLastPage.value ?? true)
+const language = computed(() => config.value?.language || 'en')
+const provider = computed(() => config.value?.captcha_provider || 'recaptcha')
+const darkMode = computed(() => props.formManager.darkMode.value)
+
+// Determine if captcha should be shown
+const isCaptchaRequired = computed(() => {
+ if (!config.value?.use_captcha || !isLastPage.value) {
+ return false
+ }
+
+ const captchaProvider = config.value.captcha_provider
+ if (captchaProvider === 'recaptcha') {
+ return !!runtimeConfig.recaptchaSiteKey
+ } else if (captchaProvider === 'hcaptcha') {
+ return !!runtimeConfig.hCaptchaSiteKey
+ }
+ return false
+})
+
+// Get field name based on provider
+const captchaFieldName = computed(() => {
+ return provider.value === 'recaptcha'
+ ? 'g-recaptcha-response'
+ : 'h-captcha-response'
+})
+
+// Reset captcha when page changes
+watch(() => props.formManager.state.currentPage, () => {
+ if (captchaInputRef.value) {
+ captchaInputRef.value.reset()
+ }
+})
+
+// Simplified watcher for form submission
+watch(() => props.formManager.state.isProcessing, (isProcessing, wasProcessing) => {
+ // Case 1: Form is starting to process and captcha is required but missing
+ if (isProcessing && isCaptchaRequired.value && !form.value[captchaFieldName.value]) {
+ form.value.errors.set(captchaFieldName.value, 'Please complete the captcha verification')
+ }
+
+ // Case 2: Form submission just ended AND there are errors
+ if (!isProcessing && wasProcessing && form.value.errors.any() && captchaInputRef.value) {
+ // Reset the captcha when validation fails
+ captchaInputRef.value.reset()
+ }
+})
+</script>
\ No newline at end of file
diff --git a/client/components/forms/components/HCaptchaV2.vue b/client/components/forms/components/HCaptchaV2.vue
index 18d2d4bf9..803245c47 100644
--- a/client/components/forms/components/HCaptchaV2.vue
+++ b/client/components/forms/components/HCaptchaV2.vue
@@ -148,7 +148,7 @@ const renderHcaptcha = async () => {
'open-callback': () => emit('opened'),
'close-callback': () => emit('closed')
})
- } catch (error) {
+ } catch {
scriptLoadPromise = null // Reset promise on error
}
}
@@ -162,7 +162,7 @@ onBeforeUnmount(() => {
if (window.hcaptcha && widgetId !== null) {
try {
window.hcaptcha.remove(widgetId)
- } catch (e) {
+ } catch {
// Silently handle error
}
}
@@ -179,6 +179,17 @@ onBeforeUnmount(() => {
// Expose reset method that properly reloads the captcha
defineExpose({
reset: async () => {
+ if (window.hcaptcha && widgetId !== null) {
+ try {
+ // Use the official API to reset the captcha widget
+ window.hcaptcha.reset(widgetId)
+ return true
+ } catch (error) {
+ console.error('Error resetting hCaptcha, falling back to re-render', error)
+ }
+ }
+
+ // Fall back to full re-render if reset fails or hcaptcha isn't available
cleanupHcaptcha()
await renderHcaptcha()
}
diff --git a/client/components/forms/components/RecaptchaV2.vue b/client/components/forms/components/RecaptchaV2.vue
index 885077876..3f2adc405 100644
--- a/client/components/forms/components/RecaptchaV2.vue
+++ b/client/components/forms/components/RecaptchaV2.vue
@@ -129,7 +129,7 @@ const renderRecaptcha = async () => {
}
}
})
- } catch (error) {
+ } catch {
scriptLoadPromise = null // Reset promise on error
}
}
@@ -143,7 +143,7 @@ onBeforeUnmount(() => {
if (window.grecaptcha && widgetId !== null) {
try {
window.grecaptcha.reset(widgetId)
- } catch (e) {
+ } catch {
// Silently handle error
}
}
@@ -164,16 +164,15 @@ defineExpose({
try {
// Try simple reset first
window.grecaptcha.reset(widgetId)
- } catch (e) {
- // If simple reset fails, do a full cleanup and reload
- cleanupRecaptcha()
- await renderRecaptcha()
+ return true
+ } catch (error) {
+ console.error('Error resetting reCAPTCHA, falling back to re-render', error)
}
- } else {
- // If no widget exists, do a full reload
- cleanupRecaptcha()
- await renderRecaptcha()
}
+
+ // If simple reset fails or no widget exists, do a full reload
+ cleanupRecaptcha()
+ await renderRecaptcha()
}
})
</script>
\ No newline at end of file
diff --git a/client/components/open/forms/CaptchaWrapper.vue b/client/components/open/forms/CaptchaWrapper.vue
new file mode 100644
index 000000000..4705ce1ac
--- /dev/null
+++ b/client/components/open/forms/CaptchaWrapper.vue
@@ -0,0 +1,14 @@
+<template>
+ <!-- No changes to template section -->
+</template>
+
+<script setup>
+defineProps({
+ formManager: { type: Object, required: true },
+ theme: { type: Object, required: false }
+})
+</script>
+
+<style>
+ /* No changes to style section */
+</style>
\ No newline at end of file
diff --git a/client/components/open/forms/FormProgressbar.vue b/client/components/open/forms/FormProgressbar.vue
index 3a58be22d..602e1b53d 100644
--- a/client/components/open/forms/FormProgressbar.vue
+++ b/client/components/open/forms/FormProgressbar.vue
@@ -1,5 +1,5 @@
<template>
- <template v-if="form.show_progress_bar">
+ <template v-if="showProgressBar">
<div
v-if="isIframe"
class="mb-4 p-2"
@@ -8,7 +8,7 @@
<div
class="h-full transition-all duration-300 rounded-r-full"
:class="{ 'w-0': formProgress === 0 }"
- :style="{ width: formProgress + '%', background: form.color }"
+ :style="{ width: formProgress + '%', background: config?.color }"
/>
</div>
</div>
@@ -20,7 +20,7 @@
<div
class="h-full transition-all duration-300"
:class="{ 'w-0': formProgress === 0 }"
- :style="{ width: formProgress + '%', background: form.color }"
+ :style="{ width: formProgress + '%', background: config?.color }"
/>
</div>
</div>
@@ -31,28 +31,31 @@
import { useIsIframe } from '~/composables/useIsIframe'
const props = defineProps({
- form: {
- type: Object,
- required: true
- },
- fields: {
- type: Array,
- required: true
- },
- formData: {
+ formManager: {
type: Object,
required: true
}
})
+const config = computed(() => props.formManager?.config.value)
+const form = computed(() => props.formManager?.form)
+const showProgressBar = computed(() => {
+ return config.value?.show_progress_bar
+})
+
+
const isIframe = useIsIframe()
const formProgress = computed(() => {
- const requiredFields = props.fields.filter(field => field.required)
+ const allFields = config.value?.properties ?? []
+ const requiredFields = allFields.filter(field => field?.required)
+
if (requiredFields.length === 0) {
return 100
}
- const completedFields = requiredFields.filter(field => ![null, undefined, ''].includes(props.formData[field.id]))
+
+ const currentFormData = form.value.data() || {}
+ const completedFields = requiredFields.filter(field => field && ![null, undefined, ''].includes(currentFormData[field.id]))
const progress = (completedFields.length / requiredFields.length) * 100
return Math.round(progress)
})
diff --git a/client/components/open/forms/FormTimer.vue b/client/components/open/forms/FormTimer.vue
deleted file mode 100644
index 1d50e00f9..000000000
--- a/client/components/open/forms/FormTimer.vue
+++ /dev/null
@@ -1,50 +0,0 @@
-<template></template>
-
-<script setup>
-import { pendingSubmission as pendingSubmissionFun } from "~/composables/forms/pendingSubmission.js"
-
-const props = defineProps({
- form: { type: Object, required: true }
-})
-
-const pendingSubmission = pendingSubmissionFun(props.form)
-const startTime = ref(null)
-const completionTime = ref(parseInt(pendingSubmission.getTimer() ?? null))
-const timer = ref(null)
-
-watch(() => completionTime.value, () => {
- if (completionTime.value) {
- pendingSubmission.setTimer(completionTime.value)
- }
-}, { immediate: true })
-
-const startTimer = () => {
- if (!startTime.value) {
- startTime.value = parseInt(pendingSubmission.getTimer() ?? 1)
- completionTime.value = startTime.value
- timer.value = setInterval(() => {
- completionTime.value += 1
- }, 1000)
- }
-}
-
-const stopTimer = () => {
- if (timer.value) {
- clearInterval(timer.value)
- timer.value = null
- startTime.value = null
- }
-}
-
-const resetTimer = () => {
- stopTimer()
- completionTime.value = null
-}
-
-defineExpose({
- completionTime,
- startTimer,
- stopTimer,
- resetTimer
-})
-</script>
\ No newline at end of file
diff --git a/client/components/open/forms/OpenCompleteForm.vue b/client/components/open/forms/OpenCompleteForm.vue
index d1b6049b3..7c3d3101d 100644
--- a/client/components/open/forms/OpenCompleteForm.vue
+++ b/client/components/open/forms/OpenCompleteForm.vue
@@ -3,380 +3,399 @@
v-if="form"
class="open-complete-form"
:dir="form?.layout_rtl ? 'rtl' : 'ltr'"
- :style="{ '--font-family': form.font_family, 'direction': form?.layout_rtl ? 'rtl' : 'ltr' }"
+ :style="{ '--font-family': form.font_family, 'direction': form?.layout_rtl ? 'rtl' : 'ltr', '--form-color': form.color }"
>
- <link
- v-if="formModeStrategy.display.showFontLink && form.font_family"
- rel="stylesheet"
- :href="getFontUrl"
- >
-
- <div v-if="isPublicFormPage && form.is_password_protected">
- <p class="form-description mb-4 text-gray-700 dark:text-gray-300 px-2">
- {{ $t('forms.password_protected') }}
- </p>
- <div class="form-group flex flex-wrap w-full">
- <div class="relative mb-3 w-full px-2">
- <text-input
- :theme="theme"
- :form="passwordForm"
- name="password"
- native-type="password"
- label="Password"
- />
- </div>
- </div>
- <div class="flex flex-wrap justify-center w-full text-center">
- <open-form-button
- :theme="theme"
- :color="form.color"
- class="my-4"
- @click="passwordEntered"
+ <ClientOnly>
+ <Teleport to="head">
+ <link
+ v-if="showFontLink && form.font_family"
+ :key="form.font_family"
+ :href="getFontUrl"
+ rel="stylesheet"
+ crossorigin="anonymous"
+ referrerpolicy="no-referrer"
>
- {{ $t('forms.submit') }}
- </open-form-button>
- </div>
- </div>
-
- <v-transition name="fade">
- <div
- v-if="!form.is_password_protected && form.password && !hidePasswordDisabledMsg"
- class="m-2 my-4 flex flex-grow items-end p-4 rounded-md dark:text-yellow-500 bg-yellow-50 dark:bg-yellow-600/20 dark:border-yellow-500"
- >
- <p class="mb-0 text-yellow-600 dark:text-yellow-600 text-sm">
- We disabled the password protection for this form because you are an owner of it.
- </p>
- <UButton
- color="yellow"
- size="xs"
- @click="hidePasswordDisabledMsg = true"
- >
- Close
- </ubutton>
- </div>
- </v-transition>
+ </Teleport>
+ </ClientOnly>
- <div
- v-if="isPublicFormPage && (form.is_closed || form.visibility=='closed')"
- class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 dark:bg-yellow-600/20 border-yellow-500 dark:border-yellow-500/20"
- >
- <div class="flex-grow">
- <div
- class="mb-0 py-2 px-4 text-yellow-600"
- v-html="form.closed_text"
- />
+ <v-transition name="fade" mode="out-in">
+ <!-- Auto-submit loading state -->
+ <div v-if="isAutoSubmit" key="auto-submit" class="text-center p-6">
+ <Loader class="h-6 w-6 text-nt-blue mx-auto" />
</div>
- </div>
- <div
- v-if="isPublicFormPage && form.max_number_of_submissions_reached"
- class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 dark:bg-yellow-600/20 border-yellow-500 dark:border-yellow-500/20"
- >
- <div class="flex-grow">
- <div
- class="mb-0 py-2 px-4 text-yellow-600 dark:text-yellow-600"
- v-html="form.max_submissions_reached_text"
- />
- </div>
- </div>
-
- <form-cleanings
- v-if="formModeStrategy.display.showFormCleanings"
- :hideable="true"
- class="mb-4 mx-2"
- :form="form"
- :specify-form-owner="true"
- />
-
- <v-transition name="fade">
- <div
- v-if="!submitted"
- key="form"
- >
- <open-form
- v-if="form && !form.is_closed"
- :form="form"
- :loading="loading"
- :fields="form.properties"
- :theme="theme"
- :dark-mode="darkMode"
- :mode="mode"
- @submit="submitForm"
- >
- <template #submit-btn="{submitForm: handleSubmit}">
+ <!-- Main form content -->
+ <div v-else key="form-content">
+ <div v-if="isPublicFormPage && form.is_password_protected">
+ <p class="form-description text-gray-700 dark:text-gray-300 px-2">
+ {{ t('forms.password_protected') }}
+ </p>
+ <div class="form-group flex flex-wrap w-full">
+ <div class="relative w-full px-2">
+ <text-input
+ :theme="theme"
+ :form="passwordForm"
+ name="password"
+ native-type="password"
+ label="Password"
+ />
+ </div>
+ </div>
+ <div class="flex flex-wrap justify-center w-full text-center">
<open-form-button
- :loading="loading"
:theme="theme"
:color="form.color"
- class="mt-2 px-8 mx-1"
- :class="submitButtonClass"
- @click.prevent="handleSubmit"
+ class="my-4"
+ @click="passwordEntered"
>
- {{ form.submit_button_text }}
+ {{ t('forms.submit') }}
</open-form-button>
- </template>
- </open-form>
- <p
- v-if="!form.no_branding"
- class="text-center w-full mt-2"
+ </div>
+ </div>
+
+ <div v-if="!form.is_password_protected && form.password && !hidePasswordDisabledMsg"
+ class="m-2 my-4">
+ <UAlert
+ :close-button="{ icon: 'i-heroicons-x-mark-20-solid', color: 'gray', variant: 'link', padded: false }"
+ color="yellow"
+ variant="subtle"
+ icon="i-material-symbols-info-outline"
+ @close="hidePasswordDisabledMsg = true"
+ title="Password protection has been disabled since you are the owner of this form."
+ />
+ </div>
+
+
+ <div
+ v-if="isPublicFormPage && (form.is_closed || form.visibility=='closed')"
+ class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 dark:bg-yellow-600/20 border-yellow-500 dark:border-yellow-500/20"
>
- <a
- href="https://opnform.com?utm_source=form&utm_content=powered_by"
- class="text-gray-400 hover:text-gray-500 dark:text-gray-600 dark:hover:text-gray-500 cursor-pointer hover:underline text-xs"
- target="_blank"
- >
- {{ $t('forms.powered_by') }} <span class="font-semibold">{{ $t('app.name') }}</span>
- </a>
- </p>
- </div>
- <div
- v-else
- key="submitted"
- class="px-2"
- >
- <TextBlock
- v-if="form.submitted_text"
- class="form-description text-gray-700 dark:text-gray-300 whitespace-pre-wrap"
- :content="form.submitted_text"
- :mentions-allowed="true"
+ <div class="flex-grow">
+ <div
+ class="mb-0 py-2 px-4 text-yellow-600"
+ v-html="form.closed_text"
+ />
+ </div>
+ </div>
+
+ <div
+ v-else-if="isPublicFormPage && form.max_number_of_submissions_reached"
+ class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 dark:bg-yellow-600/20 border-yellow-500 dark:border-yellow-500/20"
+ >
+ <div class="flex-grow">
+ <div
+ class="mb-0 py-2 px-4 text-yellow-600 dark:text-yellow-600"
+ v-html="form.max_submissions_reached_text"
+ />
+ </div>
+ </div>
+
+ <form-cleanings
+ v-if="showFormCleanings"
+ :hideable="true"
+ class="mb-4 mx-2"
:form="form"
- :form-data="submittedData"
+ :specify-form-owner="true"
/>
- <open-form-button
- v-if="form.re_fillable"
- :theme="theme"
- :color="form.color"
- class="my-4"
- @click="restart"
- >
- {{ form.re_fill_button_text }}
- </open-form-button>
- <p
- v-if="form.editable_submissions && submissionId"
- class="mt-5"
- >
- <a
- target="_parent"
- :href="form.share_url+'?submission_id='+submissionId"
- class="text-nt-blue hover:underline"
+
+ <v-transition name="fade" v-if="form && !form.is_password_protected">
+ <div
+ v-if="!isFormSubmitted"
+ key="form"
>
- {{ form.editable_submissions_button_text }}
- </a>
- </p>
- <p
- v-if="!form.no_branding"
- class="mt-5"
- >
- <a
- target="_parent"
- href="https://opnform.com/?utm_source=form&utm_content=create_form_free"
- class="text-nt-blue hover:underline"
+ <open-form
+ v-if="formManager && form && shouldDisplayForm"
+ :form-manager="formManager"
+ :theme="theme"
+ @submit="triggerSubmit"
+ >
+ <template #submit-btn="{loading}">
+ <open-form-button
+ :loading="loading || isProcessing"
+ :theme="theme"
+ :color="form.color"
+ class="mt-2 px-8 mx-1"
+ :class="submitButtonClass"
+ @click.prevent="triggerSubmit"
+ >
+ {{ form.submit_button_text }}
+ </open-form-button>
+ </template>
+ </open-form>
+ <p
+ v-if="!form.no_branding"
+ class="text-center w-full mt-2"
+ >
+ <a
+ href="https://opnform.com?utm_source=form&utm_content=powered_by"
+ class="text-gray-400 hover:text-gray-500 dark:text-gray-600 dark:hover:text-gray-500 cursor-pointer hover:underline text-xs"
+ target="_blank"
+ >
+ {{ t('forms.powered_by') }} <span class="font-semibold">{{ t('app.name') }}</span>
+ </a>
+ </p>
+ </div>
+ <div
+ v-else
+ key="submitted"
+ class="px-2"
>
- {{ $t('forms.create_form_free') }}
- </a>
- </p>
+ <TextBlock
+ v-if="form.submitted_text"
+ class="form-description text-gray-700 dark:text-gray-300 whitespace-pre-wrap"
+ :content="form.submitted_text"
+ :mentions-allowed="true"
+ :form="form"
+ :form-data="submittedData"
+ />
+ <open-form-button
+ v-if="form.re_fillable"
+ :theme="theme"
+ :color="form.color"
+ class="my-4"
+ @click="restart"
+ >
+ {{ form.re_fill_button_text }}
+ </open-form-button>
+ <p
+ v-if="form.editable_submissions && submissionId"
+ class="mt-5"
+ >
+ <a
+ target="_parent"
+ :href="form.share_url+'?submission_id='+submissionId"
+ class="text-nt-blue hover:underline"
+ >
+ {{ form.editable_submissions_button_text }}
+ </a>
+ </p>
+ <p
+ v-if="!form.no_branding"
+ class="mt-5"
+ >
+ <a
+ target="_parent"
+ href="https://opnform.com/?utm_source=form&utm_content=create_form_free"
+ class="text-nt-blue hover:underline"
+ >
+ {{ t('forms.create_form_free') }}
+ </a>
+ </p>
+ </div>
+ </v-transition>
+ <FirstSubmissionModal
+ :show="showFirstSubmissionModal"
+ :form="form"
+ @close="showFirstSubmissionModal=false"
+ />
</div>
</v-transition>
- <FirstSubmissionModal
- :show="showFirstSubmissionModal"
- :form="form"
- @close="showFirstSubmissionModal=false"
- />
</div>
</template>
-<script>
+<script setup>
+import { useFormManager } from '~/lib/forms/composables/useFormManager'
+import { FormMode } from "~/lib/forms/FormModeStrategy.js"
+import ThemeBuilder from "~/lib/forms/themes/ThemeBuilder.js"
import OpenForm from './OpenForm.vue'
import OpenFormButton from './OpenFormButton.vue'
import FormCleanings from '../../pages/forms/show/FormCleanings.vue'
import VTransition from '~/components/global/transitions/VTransition.vue'
-import { pendingSubmission } from "~/composables/forms/pendingSubmission.js"
-import { usePartialSubmission } from "~/composables/forms/usePartialSubmission.js"
-import clonedeep from "clone-deep"
-import ThemeBuilder from "~/lib/forms/themes/ThemeBuilder.js"
import FirstSubmissionModal from '~/components/open/forms/components/FirstSubmissionModal.vue'
-import { FormMode, createFormModeStrategy } from "~/lib/forms/FormModeStrategy.js"
-
-export default {
- components: { VTransition, OpenFormButton, OpenForm, FormCleanings, FirstSubmissionModal },
-
- props: {
- form: { type: Object, required: true },
- mode: {
- type: String,
- default: FormMode.LIVE,
- validator: (value) => Object.values(FormMode).includes(value)
- },
- submitButtonClass: { type: String, default: '' },
- darkMode: {
- type: Boolean,
- default: false
- }
- },
+import TextBlock from '~/components/forms/TextBlock.vue'
+import { useForm } from '~/composables/useForm'
+import { useAlert } from '~/composables/useAlert'
+import { useI18n } from 'vue-i18n'
+import { useIsIframe } from '~/composables/useIsIframe'
+import Loader from '~/components/global/Loader.vue'
- emits: ['submitted', 'password-entered', 'restarted'],
-
- setup(props) {
- const { setLocale } = useI18n()
- const authStore = useAuthStore()
-
- return {
- setLocale,
- authStore,
- authenticated: computed(() => authStore.check),
- isIframe: useIsIframe(),
- pendingSubmission: pendingSubmission(props.form),
- partialSubmission: usePartialSubmission(props.form),
- confetti: useConfetti()
- }
+const props = defineProps({
+ form: { type: Object, required: true },
+ mode: {
+ type: String,
+ default: FormMode.LIVE,
+ validator: (value) => Object.values(FormMode).includes(value)
},
+ submitButtonClass: { type: String, default: '' },
+ darkMode: {
+ type: Boolean,
+ default: false
+ }
+})
- data () {
- return {
- loading: false,
- submitted: false,
- passwordForm: useForm({
- password: null
- }),
- hidePasswordDisabledMsg: false,
- submissionId: false,
- submittedData: null,
- showFirstSubmissionModal: false
- }
- },
+const emit = defineEmits(['submitted', 'password-entered', 'restarted'])
- computed: {
- /**
- * Gets the comprehensive strategy based on the form mode
- */
- formModeStrategy() {
- return createFormModeStrategy(this.mode)
- },
- isEmbedPopup () {
- return import.meta.client && window.location.href.includes('popup=true')
- },
- theme () {
- return new ThemeBuilder(this.form.theme, {
- size: this.form.size,
- borderRadius: this.form.border_radius
- }).getAllComponents()
- },
- isPublicFormPage () {
- return this.$route.name === 'forms-slug'
- },
- getFontUrl() {
- if(!this.form || !this.form.font_family) return null
- const family = this.form?.font_family.replace(/ /g, '+')
- return `https://fonts.googleapis.com/css?family=${family}:wght@400,500,700,800,900&display=swap`
- },
- isFormOwner() {
- return this.authenticated && this.form && this.form.creator_id === this.authStore.user.id
- }
- },
- watch: {
- 'form.language': {
- handler(newLanguage) {
- if (newLanguage && typeof newLanguage === 'string') {
- this.setLocale(newLanguage)
- } else {
- this.setLocale('en') // Default to English if invalid locale
- }
- },
- immediate: true
- }
- },
- beforeUnmount() {
- this.setLocale('en')
- },
+const { t, setLocale } = useI18n()
+const route = useRoute()
+const authStore = useAuthStore()
+const alert = useAlert()
+const workingFormStore = useWorkingFormStore()
- methods: {
- submitForm (form, onFailure) {
- // Check if we should perform actual submission based on the mode
- if (!this.formModeStrategy.validation.performActualSubmission) {
- this.submitted = true
- this.$emit('submitted', true)
- return
- }
+const passwordForm = useForm({ password: null })
+const hidePasswordDisabledMsg = ref(false)
+const submissionId = ref(route.query.submission_id || null)
+const submittedData = ref(null)
+const showFirstSubmissionModal = ref(false)
- if (form.busy) return
- this.loading = true
+// Check for auto_submit parameter during setup
+const isAutoSubmit = ref(import.meta.client && window.location.href.includes('auto_submit=true'))
- if (this.form?.enable_partial_submissions) {
- this.partialSubmission.stopSync()
- }
+// Create a reactive reference directly from the prop
+const darkModeRef = toRef(props, 'darkMode')
- form.post('/forms/' + this.form.slug + '/answer').then((data) => {
- this.submittedData = form.data()
- useAmplitude().logEvent('form_submission', {
- workspace_id: this.form.workspace_id,
- form_id: this.form.id
- })
-
- const payload = clonedeep({
- type: 'form-submitted',
- form: {
- slug: this.form.slug,
- id: this.form.id,
- redirect_target_url: (this.form.is_pro && data.redirect && data.redirect_url) ? data.redirect_url : null
- },
- submission_data: form.data(),
- completion_time: form['completion_time']
- })
+// Add back the local theme computation
+const theme = computed(() => {
+ return new ThemeBuilder(props.form.theme, {
+ size: props.form.size,
+ borderRadius: props.form.border_radius
+ }).getAllComponents()
+})
- if (this.isIframe) {
- window.parent.postMessage(payload, '*')
- }
- window.postMessage(payload, '*')
- this.pendingSubmission.remove()
- this.pendingSubmission.removeTimer()
+let formManager = null
+if (props.form) {
+ formManager = useFormManager(props.form, props.mode, {
+ darkMode: darkModeRef
+ })
+ formManager.initialize({
+ submissionId: submissionId,
+ urlParams: import.meta.client ? new URLSearchParams(window.location.search) : null,
+ })
+}
- if (data.redirect && data.redirect_url) {
- window.location.href = data.redirect_url
- }
+// Share the structure service with the working form store only when in admin edit context
+watch(() => formManager?.strategy?.value?.admin?.showAdminControls, (showAdminControls) => {
+ if (workingFormStore && formManager?.structure && showAdminControls) {
+ workingFormStore.setStructureService(formManager.structure)
+ }
+}, { immediate: true })
- if (data.submission_id) {
- this.submissionId = data.submission_id
- }
- if (this.isFormOwner && !this.isIframe && data?.is_first_submission) {
- this.showFirstSubmissionModal = true
- }
- this.loading = false
- this.submitted = true
- this.$emit('submitted', true)
+// Add a watcher to update formManager's darkMode whenever darkModeRef changes
+watch(darkModeRef, (newDarkMode) => {
+ if (formManager) {
+ formManager.setDarkMode(newDarkMode)
+ }
+})
- // If enabled display confetti
- if (this.form.confetti_on_submission) {
- this.confetti.play()
- }
- }).catch((error) => {
- if (this.form?.enable_partial_submissions) {
- this.partialSubmission.startSync()
+// If auto_submit is true, trigger submit after component is mounted
+onMounted(() => {
+ if (isAutoSubmit.value && formManager) {
+ // Using nextTick to ensure form is fully rendered and initialized
+ nextTick(() => {
+ triggerSubmit()
+ })
+ }
+})
+
+const isPublicFormPage = computed(() => {
+ return route.name === 'forms-slug'
+})
+
+const getFontUrl = computed(() => {
+ if(!props.form?.font_family) return null
+ const family = props.form.font_family.replace(/ /g, '+')
+ return `https://fonts.googleapis.com/css?family=${family}:wght@400,500,700,800,900&display=swap`
+})
+
+const isFormOwner = computed(() => {
+ return authStore.check && props.form && props.form.creator_id === authStore.user.id
+})
+
+const isFormSubmitted = computed(() => formManager?.state.isSubmitted ?? false)
+const isProcessing = computed(() => formManager?.state.isProcessing ?? false)
+const showFormCleanings = computed(() => formManager?.strategy.value.display.showFormCleanings ?? false)
+const showFontLink = computed(() => formManager?.strategy.value.display.showFontLink ?? false)
+const shouldDisplayForm = computed(() => {
+ return (!props.form.is_closed && !props.form.max_number_of_submissions_reached) || formManager?.strategy?.value.admin?.showAdminControls
+})
+
+watch(() => props.form.language, (newLanguage) => {
+ if (newLanguage && typeof newLanguage === 'string') {
+ setLocale(newLanguage)
+ } else {
+ setLocale('en')
+ }
+}, { immediate: true })
+
+onBeforeUnmount(() => {
+ setLocale('en')
+})
+
+const handleScrollToError = () => {
+ if (import.meta.server) return
+
+ nextTick(() => {
+ const firstErrorElement = document.querySelector('.form-group [error], .form-group .has-error')
+ if (firstErrorElement) {
+ const headerOffset = 60 // Offset for fixed headers, adjust as needed
+ const elementPosition = firstErrorElement.getBoundingClientRect().top
+ const offsetPosition = elementPosition + window.scrollY - headerOffset
+
+ window.scrollTo({
+ top: offsetPosition,
+ behavior: 'smooth'
+ })
+ }
+ })
+}
+
+const triggerSubmit = async () => {
+ if (!formManager || isProcessing.value) return
+
+ formManager.submit()
+ .then(result => {
+ if (result) {
+ submittedData.value = result || {}
+
+ if (result?.submission_id) {
+ submissionId.value = result.submission_id
}
-
- console.error(error)
- if (error.response && error.data) {
- useAlert().formValidationError(error.data)
+
+ if (isFormOwner.value && !useIsIframe() && result?.is_first_submission) {
+ showFirstSubmissionModal.value = true
}
- this.loading = false
- onFailure()
- })
- },
- restart () {
- this.submitted = false
- this.$emit('restarted', true)
- },
- passwordEntered () {
- if (this.passwordForm.password !== '' && this.passwordForm.password !== null) {
- this.$emit('password-entered', this.passwordForm.password)
- } else {
- this.addPasswordError(this.$t('forms.password_required'))
+
+ emit('submitted', true)
+ } else {
+ console.warn('Form submission failed via composable, but no error thrown?')
+ alert.error(t('forms.submission_error'))
}
- },
- addPasswordError (msg) {
- this.passwordForm.errors.set('password', msg)
- }
+ })
+ .catch(error => {
+ if (error.response && error.response.status === 422 && error.data) {
+ useAlert().formValidationError(error.data)
+ } else if (error.message) {
+ useAlert().error(error.message)
+ }
+ handleScrollToError()
+ }).finally(() => {
+ isAutoSubmit.value = false
+ })
+}
+
+const restart = async () => {
+ if (!formManager) return
+ await formManager.restart()
+ submittedData.value = null
+ submissionId.value = null
+ emit('restarted', true)
+}
+
+const passwordEntered = () => {
+ if (passwordForm.password) {
+ emit('password-entered', passwordForm.password)
+ } else {
+ addPasswordError(t('forms.password_required'))
}
}
+
+const addPasswordError = (msg) => {
+ passwordForm.errors.set('password', msg)
+}
+
+defineExpose({
+ addPasswordError
+})
+
</script>
<style lang="scss">
diff --git a/client/components/open/forms/OpenForm.vue b/client/components/open/forms/OpenForm.vue
index 9ef3eb2ad..743aa836c 100644
--- a/client/components/open/forms/OpenForm.vue
+++ b/client/components/open/forms/OpenForm.vue
@@ -1,22 +1,11 @@
<template>
- <div v-if="isAutoSubmit">
- <p class="text-center p-4">
- <Loader class="h-6 w-6 text-nt-blue mx-auto" />
- </p>
- </div>
<form
- v-else-if="dataForm"
- :style="computedStyle"
+ v-if="form"
@submit.prevent=""
>
- <FormTimer
- ref="form-timer"
- :form="form"
- />
<FormProgressbar
- :form="form"
- :fields="fields"
- :form-data="dataFormValue"
+ :form-manager="formManager"
+ :theme="theme"
/>
<transition
name="fade"
@@ -37,51 +26,36 @@
ghost-class="ghost-item"
filter=".not-draggable"
:animation="200"
- :disabled="!formModeStrategy.admin.allowDragging"
+ :disabled="!allowDragging"
@change="handleDragDropped"
>
<template #item="{element}">
<open-form-field
:field="element"
- :show-hidden="showHidden"
- :form="form"
- :data-form="dataForm"
- :data-form-value="dataFormValue"
+ :form-manager="formManager"
:theme="theme"
- :dark-mode="darkMode"
- :mode="mode"
/>
</template>
</draggable>
</div>
</transition>
- <!-- Captcha -->
-
- <ClientOnly>
- <div v-if="form.use_captcha && isLastPage && hasCaptchaProviders && isCaptchaProviderAvailable" class="mb-3 px-2 mt-4 mx-auto w-max">
- <CaptchaInput
- ref="captcha"
- :provider="form.captcha_provider"
- :form="dataForm"
- :language="form.language"
- :dark-mode="darkMode"
- />
- </div>
- <template #fallback>
- <USkeleton class="h-[78px] w-[304px]" />
- </template>
- </ClientOnly>
+ <!-- Replace Captcha with CaptchaWrapper -->
+ <CaptchaWrapper
+ v-if="form.use_captcha"
+ :form-manager="formManager"
+ :theme="theme"
+ />
<!-- Submit, Next and previous buttons -->
<div class="flex flex-wrap justify-center w-full">
<open-form-button
- v-if="formPageIndex>0 && previousFieldsPageBreak && !loading"
+ v-if="formPageIndex>0 && previousFieldsPageBreak"
native-type="button"
:color="form.color"
:theme="theme"
class="mt-2 px-8 mx-1"
- @click="previousPage"
+ @click="handlePreviousClick"
>
{{ previousFieldsPageBreak.previous_btn_text }}
</open-form-button>
@@ -89,8 +63,7 @@
<slot
v-if="isLastPage"
name="submit-btn"
- :submit-form="submitForm"
- :loading="dataForm.busy"
+ :loading="form.busy"
/>
<open-form-button
v-else-if="currentFieldsPageBreak"
@@ -98,8 +71,8 @@
:color="form.color"
:theme="theme"
class="mt-2 px-8 mx-1"
- :loading="dataForm.busy"
- @click.stop="nextPage"
+ :loading="form.busy"
+ @click.stop="handleNextClick"
>
{{ currentFieldsPageBreak.next_btn_text }}
</open-form-button>
@@ -107,7 +80,7 @@
{{ $t('forms.wrong_form_structure') }}
</div>
<div
- v-if="paymentBlock"
+ v-if="hasPaymentBlock"
class="mt-6 flex justify-center w-full"
>
<p class="text-xs text-gray-400 dark:text-gray-500 flex text-center max-w-md">
@@ -118,761 +91,76 @@
</form>
</template>
-<script>
+<script setup>
import draggable from 'vuedraggable'
import OpenFormButton from './OpenFormButton.vue'
-import CaptchaInput from '~/components/forms/components/CaptchaInput.vue'
+import CaptchaWrapper from '~/components/forms/components/CaptchaWrapper.vue'
import OpenFormField from './OpenFormField.vue'
-import { pendingSubmission } from "~/composables/forms/pendingSubmission.js"
-import { usePartialSubmission } from "~/composables/forms/usePartialSubmission.js"
-import FormLogicPropertyResolver from "~/lib/forms/FormLogicPropertyResolver.js"
-import CachedDefaultTheme from "~/lib/forms/themes/CachedDefaultTheme.js"
-import FormTimer from './FormTimer.vue'
import FormProgressbar from './FormProgressbar.vue'
-import { storeToRefs } from 'pinia'
-import { FormMode, createFormModeStrategy } from "~/lib/forms/FormModeStrategy.js"
-import clonedeep from 'clone-deep'
-import { provideStripeElements } from '~/composables/useStripeElements'
-
-export default {
- name: 'OpenForm',
- components: {draggable, OpenFormField, OpenFormButton, CaptchaInput, FormTimer, FormProgressbar},
- props: {
- form: {
- type: Object,
- required: true
- },
- theme: {
- type: Object, default: () => {
- const theme = inject("theme", null)
- if (theme) {
- return theme.value
- }
- return CachedDefaultTheme.getInstance()
- }
- },
- loading: {
- type: Boolean,
- required: true
- },
- fields: {
- type: Array,
- required: true
- },
- defaultDataForm: { type: [Object, null] },
- mode: {
- type: String,
- default: FormMode.LIVE,
- validator: (value) => Object.values(FormMode).includes(value)
- },
- darkMode: {
- type: Boolean,
- default: false
- }
- },
- emits: ['submit'],
- setup(props) {
- const recordsStore = useRecordsStore()
- const workingFormStore = useWorkingFormStore()
- const dataForm = ref(useForm())
- const config = useRuntimeConfig()
-
- // Provide Stripe elements to be used by child components
- const stripeElements = provideStripeElements()
-
- const hasCaptchaProviders = computed(() => {
- return config.public.hCaptchaSiteKey || config.public.recaptchaSiteKey
- })
-
- return {
- dataForm,
- recordsStore,
- workingFormStore,
- stripeElements,
- isIframe: useIsIframe(),
- draggingNewBlock: computed(() => workingFormStore.draggingNewBlock),
- pendingSubmission: import.meta.client ? pendingSubmission(props.form) : { get: () => ({}), set: () => {} },
- partialSubmission: import.meta.client ? usePartialSubmission(props.form, dataForm) : { startSync: () => {}, stopSync: () => {} },
- formPageIndex: storeToRefs(workingFormStore).formPageIndex,
-
- // Used for admin previews
- selectedFieldIndex: computed(() => workingFormStore.selectedFieldIndex),
- showEditFieldSidebar: computed(() => workingFormStore.showEditFieldSidebar),
- hasCaptchaProviders
- }
- },
-
- data() {
- return {
- isAutoSubmit: false,
- partialSubmissionStarted: false,
- isInitialLoad: true,
- // Flag to prevent recursion in field group updates
- isUpdatingFieldGroups: false,
- }
- },
-
- computed: {
- /**
- * Create field groups (or Page) using page breaks if any
- */
- fieldGroups() {
- if (!this.fields) return []
- const groups = []
- let currentGroup = []
- this.fields.forEach((field) => {
- if (field.type === 'nf-page-break' && this.isFieldHidden(field)) return
- currentGroup.push(field)
- if (field.type === 'nf-page-break') {
- groups.push(currentGroup)
- currentGroup = []
- }
- })
- groups.push(currentGroup)
- return groups
- },
- /**
- * Gets the comprehensive strategy based on the form mode
- */
- formModeStrategy() {
- return createFormModeStrategy(this.mode)
- },
- /**
- * Determines if hidden fields should be shown based on the mode
- */
- showHidden() {
- return this.formModeStrategy.display.showHiddenFields
- },
- /**
- * Determines if the form is in admin preview mode
- */
- isAdminPreview() {
- return this.formModeStrategy.admin.showAdminControls
- },
- currentFields: {
- get() {
- return this.fieldGroups[this.formPageIndex]
- },
- set(val) {
- // On re-order from the form, set the new order
- // Add the previous groups and next to val, and set the properties on working form
- const newFields = []
- this.fieldGroups.forEach((group, index) => {
- if (index < this.formPageIndex) {
- newFields.push(...group)
- } else if (index === this.formPageIndex) {
- newFields.push(...val)
- } else {
- newFields.push(...group)
- }
- })
- // set the properties on working_form store
- this.workingFormStore.setProperties(newFields)
- }
- },
- /**
- * Returns the page break block for the current group of fields
- */
- currentFieldsPageBreak() {
- // Last block from current group
- if (!this.currentFields?.length) return null
- const block = this.currentFields[this.currentFields.length - 1]
- if (block && block.type === 'nf-page-break') return block
- return null
- },
- previousFieldsPageBreak() {
- if (this.formPageIndex === 0) return null
- const previousFields = this.fieldGroups[this.formPageIndex - 1]
- const block = previousFields[previousFields.length - 1]
- if (block && block.type === 'nf-page-break') return block
- return null
- },
- /**
- * Returns true if we're on the last page
- * @returns {boolean}xs
- */
- isLastPage() {
- return this.formPageIndex === (this.fieldGroups.length - 1)
- },
- isPublicFormPage() {
- return this.$route.name === 'forms-slug'
- },
- dataFormValue() {
- // For get values instead of Id for select/multi select options
- const data = this.dataForm.data()
- const selectionFields = this.fields.filter((field) => {
- return ['select', 'multi_select'].includes(field.type)
- })
- selectionFields.forEach((field) => {
- if (data[field.id] !== undefined && data[field.id] !== null && Array.isArray(data[field.id])) {
- data[field.id] = data[field.id].map(option_nfid => {
- const tmpop = field[field.type].options.find((op) => {
- return (op.id === option_nfid)
- })
- return (tmpop) ? tmpop.name : option_nfid
- })
- }
- })
- return data
- },
- computedStyle() {
- return {
- '--form-color': this.form.color
- }
- },
- paymentBlock() {
- return (this.currentFields) ? this.currentFields.find(field => field.type === 'payment') : null
- },
- isCaptchaProviderAvailable() {
- const config = useRuntimeConfig()
- if (this.form.captcha_provider === 'recaptcha') {
- return !!config.public.recaptchaSiteKey
- } else if (this.form.captcha_provider === 'hcaptcha') {
- return !!config.public.hCaptchaSiteKey
- }
- return false
- }
- },
-
- watch: {
- // Monitor only critical changes that require full reinitialization
- 'form.database_id': function() {
- // Only reinitialize when database changes
- this.initForm()
- },
- 'fields.length': function() {
- // Only reinitialize when fields are added or removed
- this.updateFieldGroupsSafely()
- },
- // Watch for changes to individual field properties
- 'fields': {
- deep: true,
- handler() {
- // Skip update if only triggered by internal fieldGroups changes
- if (this.isUpdatingFieldGroups) return
-
- // Safely update field groups without causing recursive updates
- this.updateFieldGroupsSafely()
- }
- },
- dataFormValue: {
- deep: true,
- handler(newValue, oldValue) {
- if (this.isPublicFormPage && this.form && this.form.auto_save) {
- this.pendingSubmission.set(this.dataFormValue)
- }
- // Start partial submission sync on first form change
- if (!this.adminPreview && this.form?.enable_partial_submissions && oldValue && Object.keys(oldValue).length > 0 && !this.partialSubmissionStarted) {
- this.partialSubmission.startSync()
- this.partialSubmissionStarted = true
- }
- }
- },
-
- // These watchers ensure the form shows the correct page for the field being edited in admin preview
- selectedFieldIndex: {
- handler(newIndex) {
- if (this.isAdminPreview && this.showEditFieldSidebar) {
- this.setPageForField(newIndex)
- }
- }
- },
- showEditFieldSidebar: {
- handler(newValue) {
- if (this.isAdminPreview && newValue) {
- this.setPageForField(this.selectedFieldIndex)
- }
- }
- }
- },
- beforeMount() {
- this.initForm()
- },
- mounted() {
- nextTick(() => {
- if (this.$refs['form-timer']) {
- this.$refs['form-timer'].startTimer()
- }
- })
- if (import.meta.client && window.location.href.includes('auto_submit=true')) {
- this.isAutoSubmit = true
- this.submitForm()
- }
- },
- beforeUnmount() {
- if (!this.adminPreview && this.form?.enable_partial_submissions) {
- this.partialSubmission.stopSync()
- }
- },
- methods: {
- async submitForm() {
- try {
- // Process payment if needed
- if (!await this.doPayment()) {
- return false // Payment failed or was required but not completed
- }
- this.dataForm.busy = false
-
- // Add submission_id for editable submissions (from main)
- if (this.form.editable_submissions && this.form.submission_id) {
- this.dataForm.submission_id = this.form.submission_id
- }
-
- // Stop timer and get completion time (from main)
- this.$refs['form-timer'].stopTimer()
- this.dataForm.completion_time = this.$refs['form-timer'].completionTime
-
- // Add submission hash for partial submissions (from HEAD)
- if (this.form?.enable_partial_submissions) {
- this.dataForm.submission_hash = this.partialSubmission.getSubmissionHash()
- }
-
- // Add validation strategy check (from main)
- if (!this.formModeStrategy.validation.validateOnSubmit) {
- this.$emit('submit', this.dataForm, this.onSubmissionFailure)
- return
- }
-
- this.$emit('submit', this.dataForm, this.onSubmissionFailure)
- } catch (error) {
- this.handleValidationError(error)
- } finally {
- this.dataForm.busy = false
- }
- },
- /**
- * Handle form submission failure
- */
- onSubmissionFailure() {
- this.$refs['form-timer'].startTimer()
- this.isAutoSubmit = false
- this.dataForm.busy = false
-
- if (this.fieldGroups.length > 1) {
- this.showFirstPageWithError()
- }
- this.scrollToFirstError()
- },
- showFirstPageWithError() {
- for (let i = 0; i < this.fieldGroups.length; i++) {
- if (this.fieldGroups[i].some(field => this.dataForm.errors.has(field.id))) {
- this.formPageIndex = i
- break
- }
- }
- },
- scrollToFirstError() {
- if (import.meta.server) return
- const firstErrorElement = document.querySelector('.has-error')
- if (firstErrorElement) {
- window.scroll({
- top: window.scrollY + firstErrorElement.getBoundingClientRect().top - 60,
- behavior: 'smooth'
- })
- }
- },
- async getSubmissionData() {
- if (!this.form || !this.form.editable_submissions || !this.form.submission_id) {
- return null
- }
- await this.recordsStore.loadRecord(
- opnFetch('/forms/' + this.form.slug + '/submissions/' + this.form.submission_id).then((data) => {
- return {submission_id: this.form.submission_id, id: this.form.submission_id, ...data.data}
- }).catch((error) => {
- if (error?.data?.errors) {
- useAlert().formValidationError(error.data)
- } else {
- useAlert().error(error?.data?.message || 'Something went wrong')
- }
- return null
- })
- )
- return this.recordsStore.getByKey(this.form.submission_id)
- },
-
- /**
- * Form initialization
- */
- async initForm() {
- // Only do a full initialization when necessary
- // Store current page index and form data to avoid overwriting existing values
- const currentFormData = this.dataForm ? clonedeep(this.dataForm.data()) : {}
-
- // Handle special cases first
- if (this.defaultDataForm) {
- // If we have default data form, initialize with that
- await nextTick(() => {
- this.dataForm.resetAndFill(this.defaultDataForm)
- })
- this.updateFieldGroupsSafely()
- return
- }
-
- // Initialize the field groups without resetting form data
- this.updateFieldGroupsSafely()
-
- // Check if we need to handle form submission states
- if (await this.checkForEditableSubmission()) {
- return
- }
-
- if (this.checkForPendingSubmission()) {
- return
- }
-
- // Standard initialization with default values
- this.initFormWithDefaultValues(currentFormData)
- },
-
- checkForEditableSubmission() {
- return this.tryInitFormFromEditableSubmission()
- },
-
- checkForPendingSubmission() {
- if (this.tryInitFormFromPendingSubmission()) {
- this.updateFieldGroupsSafely()
- return true
- }
- return false
- },
-
- async tryInitFormFromEditableSubmission() {
- if (this.isPublicFormPage && this.form.editable_submissions) {
- const submissionId = useRoute().query?.submission_id
- if (submissionId) {
- this.form.submission_id = submissionId
- const data = await this.getSubmissionData()
- if (data) {
- this.dataForm.resetAndFill(data)
- return true
- }
- }
- }
- return false
- },
-
- tryInitFormFromPendingSubmission() {
- if (!this.pendingSubmission || !this.isPublicFormPage || !this.form.auto_save) {
- return false
- }
-
- const pendingData = this.pendingSubmission.get()
- if (pendingData && Object.keys(pendingData).length !== 0) {
- this.updatePendingDataFields(pendingData)
- this.dataForm.resetAndFill(pendingData)
- return true
- }
-
- return false
- },
-
- updatePendingDataFields(pendingData) {
- this.fields.forEach(field => {
- if (field.type === 'date' && field.prefill_today) {
- pendingData[field.id] = new Date().toISOString()
- }
- })
- },
-
- initFormWithDefaultValues(currentFormData = {}) {
- // Only set page 0 on first load, otherwise maintain current position
- if (this.formPageIndex === undefined || this.isInitialLoad) {
- this.formPageIndex = 0
- this.isInitialLoad = false
- }
-
- // Initialize form data with default values
- const formData = { ...currentFormData }
- const urlPrefill = this.isPublicFormPage ? new URLSearchParams(window.location.search) : null
-
- this.fields.forEach(field => {
- if (field.type.startsWith('nf-') && !['nf-page-body-input', 'nf-page-logo', 'nf-page-cover'].includes(field.type)) return
-
- this.handleUrlPrefill(field, formData, urlPrefill)
- this.handleDefaultPrefill(field, formData)
- })
-
- // Reset form with new data
- this.dataForm.resetAndFill(formData)
- },
- handleUrlPrefill(field, formData, urlPrefill) {
- if (!urlPrefill) return
-
- const prefillValue = (() => {
- const val = urlPrefill.get(field.id)
- try {
- return typeof val === 'string' && val.startsWith('{') ? JSON.parse(val) : val
- } catch (e) {
- return val
- }
- })()
- const arrayPrefillValue = urlPrefill.getAll(field.id + '[]')
-
- if (typeof prefillValue === 'object' && prefillValue !== null) {
- formData[field.id] = { ...prefillValue }
- } else if (prefillValue !== null) {
- formData[field.id] = field.type === 'checkbox' ? this.parseBooleanValue(prefillValue) : prefillValue
- } else if (arrayPrefillValue.length > 0) {
- formData[field.id] = arrayPrefillValue
- }
- },
- parseBooleanValue(value) {
- return value === 'true' || value === '1'
- },
- handleDefaultPrefill(field, formData) {
- if (field.type === 'date' && field.prefill_today) {
- formData[field.id] = new Date().toISOString()
- } else if (field.type === 'matrix' && !formData[field.id]) {
- formData[field.id] = {...field.prefill}
- } else if (!(field.id in formData)) {
- formData[field.id] = field.prefill
- }
- },
-
- /**
- * Page Navigation
- */
- previousPage() {
- this.formPageIndex--
- this.scrollToTop()
- },
- async nextPage() {
- if (!this.formModeStrategy.validation.validateOnNextPage) {
- if (!this.isLastPage) {
- this.formPageIndex++
- }
- this.scrollToTop()
- return true
- }
-
- try {
- this.dataForm.busy = true
- const fieldsToValidate = this.currentFields
- .filter(f => f.type !== 'payment')
- .map(f => f.id)
-
- // Validate non-payment fields first
- if (fieldsToValidate.length > 0) {
- await this.dataForm.validate('POST', `/forms/${this.form.slug}/answer`, {}, fieldsToValidate)
- }
-
- // Process payment if needed
- if (!await this.doPayment()) {
- return false // Payment failed or was required but not completed
- }
-
- // If validation and payment are successful, proceed
- if (!this.isLastPage) {
- this.formPageIndex++
- this.scrollToTop()
- }
-
- return true
- } catch (error) {
- this.handleValidationError(error)
- return false
- } finally {
- this.dataForm.busy = false
- }
- },
- async doPayment() {
- // Check if there's a payment block in the current step
- if (!this.paymentBlock) {
- return true // No payment needed for this step
- }
- this.dataForm.busy = true
-
- // Use the stripeElements from setup instead of calling useStripeElements
- const { state: stripeState, processPayment, isCardPopulated, isReadyForPayment } = this.stripeElements
-
- // Skip if payment is already processed in the stripe state
- if (stripeState.intentId) {
- return true
- }
-
- // Skip if payment ID already exists in the form data
- const paymentFieldValue = this.dataFormValue[this.paymentBlock.id]
- if (paymentFieldValue && typeof paymentFieldValue === 'string' && paymentFieldValue.startsWith('pi_')) {
- // If we have a valid payment intent ID in the form data, sync it to the stripe state
- stripeState.intentId = paymentFieldValue
- return true
- }
-
- // Check for the stripe object itself, not just the ready flag
- if (stripeState.isStripeInstanceReady && !stripeState.stripe) {
- stripeState.isStripeInstanceReady = false
- }
-
- // Only process payment if required or card has data
- const shouldProcessPayment = this.paymentBlock.required || isCardPopulated.value
-
- if (shouldProcessPayment) {
- // If not ready yet, try a brief wait
- if (!isReadyForPayment.value) {
- try {
- this.dataForm.busy = true
-
- // Just wait a second to see if state updates (it should be reactive now)
- await new Promise(resolve => setTimeout(resolve, 1000))
-
- // Check if we're ready now
- if (!isReadyForPayment.value) {
- // Provide detailed diagnostics
- let errorMsg = 'Payment system not ready. '
- const details = []
-
- if (!stripeState.stripeAccountId) {
- details.push('No Stripe account connected')
- }
-
- if (!stripeState.isStripeInstanceReady) {
- details.push('Stripe.js not initialized')
- }
-
- if (!stripeState.isCardElementReady) {
- details.push('Card element not initialized')
- }
-
- errorMsg += details.join(', ') + '. Please refresh and try again.'
- useAlert().error(errorMsg)
- return false
- }
- } catch (error) {
- return false
- } finally {
- this.dataForm.busy = false
- }
- }
-
- try {
- this.dataForm.busy = true
- const result = await processPayment(this.form.slug, this.paymentBlock.required)
-
- if (!result.success) {
- // Handle payment error
- if (result.error?.message) {
- this.dataForm.errors.set(this.paymentBlock.id, result.error.message)
- useAlert().error(result.error.message)
- } else {
- useAlert().error('Payment processing failed. Please try again.')
- }
- return false
- }
-
- // Payment successful
- if (result.paymentIntent?.status === 'succeeded') {
- useAlert().success('Thank you! Your payment is successful.')
- return true
- }
-
- // Fallback error
- useAlert().error('Something went wrong with the payment. Please try again.')
- return false
- } catch (error) {
- useAlert().error(error?.message || 'Payment failed')
- return false
- } finally {
- this.dataForm.busy = false
- }
- }
-
- return true // Payment not required or no card data
- },
- scrollToTop() {
- window.scrollTo({ top: 0, behavior: 'smooth' })
- },
- handleValidationError(error) {
- console.error(error)
- if (error?.data) {
- useAlert().formValidationError(error.data)
- }
- this.dataForm.busy = false
- },
- isFieldHidden(field) {
- return (new FormLogicPropertyResolver(field, this.dataFormValue)).isHidden()
- },
- getTargetFieldIndex(currentFieldPageIndex) {
- return this.formPageIndex > 0
- ? this.fieldGroups.slice(0, this.formPageIndex).reduce((sum, group) => sum + group.length, 0) + currentFieldPageIndex
- : currentFieldPageIndex
- },
- handleDragDropped(data) {
- if (data.added) {
- const targetIndex = this.getTargetFieldIndex(data.added.newIndex)
- this.workingFormStore.addBlock(data.added.element, targetIndex, false)
- }
- if (data.moved) {
- const oldTargetIndex = this.getTargetFieldIndex(data.moved.oldIndex)
- const newTargetIndex = this.getTargetFieldIndex(data.moved.newIndex)
- this.workingFormStore.moveField(oldTargetIndex, newTargetIndex)
- }
- },
- setPageForField(fieldIndex) {
- if (fieldIndex === -1) return
-
- let currentIndex = 0
- for (let i = 0; i < this.fieldGroups.length; i++) {
- currentIndex += this.fieldGroups[i].length
- if (currentIndex > fieldIndex) {
- this.formPageIndex = i
- return
- }
- }
- this.formPageIndex = this.fieldGroups.length - 1
- },
-
- // New method for updating field groups
- updateFieldGroups() {
- if (!this.fields || this.fields.length === 0) return
-
- // Preserve the current page index if possible
- const currentPageIndex = this.formPageIndex
-
- // Use a local variable instead of directly modifying computed property
- // We'll use this to determine totalPages and currentPageIndex
- const calculatedGroups = this.fields.reduce((groups, field, index) => {
- // If the field is a page break, start a new group
- if (field.type === 'nf-page-break' && index !== 0) {
- groups.push([])
- }
- // Add the field to the current group
- if (groups.length === 0) groups.push([])
- groups[groups.length - 1].push(field)
- return groups
- }, [])
+import { useWorkingFormStore } from '~/stores/working_form'
+
+const props = defineProps({
+ formManager: { type: Object, required: true },
+ theme: { type: Object, required: true }
+})
+
+const workingFormStore = useWorkingFormStore()
+
+// Derive everything from formManager
+const state = computed(() => props.formManager.state)
+const form = computed(() => props.formManager.config.value)
+const formPageIndex = computed(() => props.formManager.state.currentPage)
+const strategy = computed(() => props.formManager.strategy.value)
+const structure = computed(() => props.formManager.structure)
+
+const hasPaymentBlock = computed(() => {
+ return structure.value?.currentPageHasPaymentBlock.value ?? false
+})
+
+const currentFields = computed(() => {
+ return structure.value?.getPageFields(state.value.currentPage) ?? []
+})
+
+const isLastPage = computed(() => {
+ const result = structure.value?.isLastPage.value ?? true
+ return result
+})
+
+const currentFieldsPageBreak = computed(() =>
+ structure.value?.currentPageBreak.value
+)
+const previousFieldsPageBreak = computed(() =>
+ structure.value?.previousPageBreak.value
+)
+
+const allowDragging = computed(() => strategy.value.admin.allowDragging)
+const draggingNewBlock = computed(() => workingFormStore.draggingNewBlock)
+
+const handlePreviousClick = () => {
+ props.formManager.previousPage()
+ if (import.meta.client) window.scrollTo({ top: 0, behavior: 'smooth' })
+}
- // If we don't have any groups (shouldn't happen), create a default group
- if (calculatedGroups.length === 0) {
- calculatedGroups.push([])
- }
+const handleNextClick = async () => {
+ await props.formManager.nextPage()
+ if (import.meta.client) window.scrollTo({ top: 0, behavior: 'smooth' })
+}
- // Update page navigation
- const totalPages = calculatedGroups.length
-
- // Try to maintain the current page index if valid
- if (currentPageIndex !== undefined && currentPageIndex < totalPages) {
- this.formPageIndex = currentPageIndex
- } else {
- this.formPageIndex = 0
- }
+const handleDragDropped = (data) => {
+ if (!structure.value) return
- // Force a re-render of the component, which will update fieldGroups computed property
- this.$forceUpdate()
- },
+ const getAbsoluteIndex = (relativeIndex) => {
+ return structure.value.getTargetDropIndex(relativeIndex, state.value.currentPage)
+ }
- // Helper method to prevent recursive updates
- updateFieldGroupsSafely() {
- // Set flag to prevent recursive updates
- this.isUpdatingFieldGroups = true
-
- // Call the actual update method
- this.updateFieldGroups()
-
- // Clear the flag after a short delay to allow Vue to process the update
- this.$nextTick(() => {
- this.isUpdatingFieldGroups = false
- })
- }
+ if (data.added) {
+ const targetIndex = getAbsoluteIndex(data.added.newIndex)
+ workingFormStore.addBlock(data.added.element, targetIndex, false)
+ }
+ if (data.moved) {
+ const oldTargetIndex = getAbsoluteIndex(data.moved.oldIndex)
+ const newTargetIndex = getAbsoluteIndex(data.moved.newIndex)
+ workingFormStore.moveField(oldTargetIndex, newTargetIndex)
}
}
</script>
diff --git a/client/components/open/forms/OpenFormField.vue b/client/components/open/forms/OpenFormField.vue
index d75475bd8..188a60240 100644
--- a/client/components/open/forms/OpenFormField.vue
+++ b/client/components/open/forms/OpenFormField.vue
@@ -147,294 +147,257 @@
</div>
</template>
-<script>
-import {computed} from 'vue'
+<script setup>
import FormLogicPropertyResolver from "~/lib/forms/FormLogicPropertyResolver.js"
import CachedDefaultTheme from "~/lib/forms/themes/CachedDefaultTheme.js"
-import {default as _has} from 'lodash/has'
+import { default as _has } from 'lodash/has'
import { FormMode, createFormModeStrategy } from "~/lib/forms/FormModeStrategy.js"
+import { useWorkingFormStore } from '~/stores/working_form'
-export default {
- name: 'OpenFormField',
- components: {},
- props: {
- form: {
- type: Object,
- required: true
- },
- dataForm: {
- type: Object,
- required: true
- },
- dataFormValue: {
- type: Object,
- required: true
- },
- theme: {
- type: Object, default: () => {
- const theme = inject("theme", null)
- if (theme) {
- return theme.value
- }
- return CachedDefaultTheme.getInstance()
- }
- },
- showHidden: {
- type: Boolean,
- default: false
- },
- darkMode: {
- type: Boolean,
- default: false
- },
- field: {
- type: Object,
- required: true
- },
- mode: {
- type: String,
- default: FormMode.LIVE
- }
+// Define props
+const props = defineProps({
+ field: {
+ type: Object,
+ required: true
},
-
- setup(props) {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore,
- currentWorkspace: computed(() => useWorkspacesStore().getCurrent),
- selectedFieldIndex: computed(() => workingFormStore.selectedFieldIndex),
- showEditFieldSidebar: computed(() => workingFormStore.showEditFieldSidebar),
- formModeStrategy: computed(() => createFormModeStrategy(props.mode)),
- isAdminPreview: computed(() => createFormModeStrategy(props.mode).admin.showAdminControls)
- }
+ formManager: {
+ type: Object,
+ required: true
},
+ theme: {
+ type: Object,
+ required: true
+ }
+})
- computed: {
- /**
- * Get the right input component for the field/options combination
- */
- getFieldComponents() {
- const field = this.field
- if (field.type === 'text' && field.multi_lines) {
- return 'TextAreaInput'
- }
- if (field.type === 'url' && field.file_upload) {
- return 'FileInput'
- }
- if (['select', 'multi_select'].includes(field.type) && field.without_dropdown) {
- return 'FlatSelectInput'
- }
- if (field.type === 'checkbox' && field.use_toggle_switch) {
- return 'ToggleSwitchInput'
- }
- if (field.type === 'signature') {
- return 'SignatureInput'
- }
- if (field.type === 'phone_number' && !field.use_simple_text_input) {
- return 'PhoneInput'
- }
+// Derive everything from formManager
+const form = computed(() => props.formManager?.config?.value || {})
+const dataForm = computed(() => props.formManager?.form || {})
+const darkMode = computed(() => props.formManager?.darkMode?.value || false)
+const showHidden = computed(() => props.formManager?.strategy?.value?.display?.showHiddenFields || false)
- return {
- text: 'TextInput',
- rich_text: 'RichTextAreaInput',
- number: 'TextInput',
- rating: 'RatingInput',
- scale: 'ScaleInput',
- slider: 'SliderInput',
- select: 'SelectInput',
- multi_select: 'SelectInput',
- date: 'DateInput',
- files: 'FileInput',
- checkbox: 'CheckboxInput',
- url: 'TextInput',
- email: 'TextInput',
- phone_number: 'TextInput',
- matrix: 'MatrixInput',
- barcode: 'BarcodeInput',
- payment: 'PaymentInput'
- }[field.type]
- },
- isPublicFormPage() {
- return this.$route.name === 'forms-slug'
- },
- isFieldHidden() {
- return !this.showHidden && this.shouldBeHidden
- },
- shouldBeHidden() {
- return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isHidden()
- },
- isFieldRequired() {
- return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isRequired()
- },
- isFieldDisabled() {
- return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isDisabled()
- },
- beingEdited() {
- return this.isAdminPreview && this.showEditFieldSidebar && this.form.properties.findIndex((item) => {
- return item.id === this.field.id
- }) === this.selectedFieldIndex
- },
- selectionFieldsOptions() {
- // For auto update hidden options
- let fieldsOptions = []
+// Setup stores and reactive state
+const workingFormStore = useWorkingFormStore()
+const selectedFieldIndex = computed(() => workingFormStore.selectedFieldIndex)
+const showEditFieldSidebar = computed(() => workingFormStore.showEditFieldSidebar)
+const strategy = computed(() => props.formManager?.strategy?.value || createFormModeStrategy(FormMode.LIVE))
+const isAdminPreview = computed(() => strategy.value?.admin?.showAdminControls || false)
- if (['select', 'multi_select', 'status'].includes(this.field.type)) {
- fieldsOptions = [...this.field[this.field.type].options]
- if (this.field.hidden_options && this.field.hidden_options.length > 0) {
- fieldsOptions = fieldsOptions.filter((option) => {
- return this.field.hidden_options.indexOf(option.id) < 0
- })
- }
- }
+// Computed properties
+const getFieldComponents = computed(() => {
+ const field = props.field
+ if (field.type === 'text' && field.multi_lines) {
+ return 'TextAreaInput'
+ }
+ if (field.type === 'url' && field.file_upload) {
+ return 'FileInput'
+ }
+ if (['select', 'multi_select'].includes(field.type) && field.without_dropdown) {
+ return 'FlatSelectInput'
+ }
+ if (field.type === 'checkbox' && field.use_toggle_switch) {
+ return 'ToggleSwitchInput'
+ }
+ if (field.type === 'signature') {
+ return 'SignatureInput'
+ }
+ if (field.type === 'phone_number' && !field.use_simple_text_input) {
+ return 'PhoneInput'
+ }
- return fieldsOptions
- },
- fieldSideBarOpened() {
- return this.isAdminPreview && (this.form && this.selectedFieldIndex !== null) ? (this.form.properties[this.selectedFieldIndex] && this.showEditFieldSidebar) : false
- }
- },
+ return {
+ text: 'TextInput',
+ rich_text: 'RichTextAreaInput',
+ number: 'TextInput',
+ rating: 'RatingInput',
+ scale: 'ScaleInput',
+ slider: 'SliderInput',
+ select: 'SelectInput',
+ multi_select: 'SelectInput',
+ date: 'DateInput',
+ files: 'FileInput',
+ checkbox: 'CheckboxInput',
+ url: 'TextInput',
+ email: 'TextInput',
+ phone_number: 'TextInput',
+ matrix: 'MatrixInput',
+ barcode: 'BarcodeInput',
+ payment: 'PaymentInput'
+ }[field.type]
+})
- watch: {},
+const isPublicFormPage = computed(() => useRoute().name === 'forms-slug')
- mounted() {
- },
+const isFieldHidden = computed(() => !showHidden.value && shouldBeHidden.value)
- methods: {
- editFieldOptions() {
- if (!this.formModeStrategy.admin.showAdminControls) return
- this.workingFormStore.openSettingsForField(this.field)
- },
- setFieldAsSelected () {
- if (!this.formModeStrategy.admin.showAdminControls || !this.workingFormStore.showEditFieldSidebar) return
- this.workingFormStore.openSettingsForField(this.field)
- },
- openAddFieldSidebar() {
- if (!this.formModeStrategy.admin.showAdminControls) return
- this.workingFormStore.openAddFieldSidebar(this.field)
- },
- removeField () {
- if (!this.formModeStrategy.admin.showAdminControls) return
- this.workingFormStore.removeField(this.field)
- },
- getFieldWidthClasses(field) {
- if (!field.width || field.width === 'full') return 'col-span-full'
- else if (field.width === '1/2') {
- return 'sm:col-span-6 col-span-full'
- } else if (field.width === '1/3') {
- return 'sm:col-span-4 col-span-full'
- } else if (field.width === '2/3') {
- return 'sm:col-span-8 col-span-full'
- } else if (field.width === '1/4') {
- return 'sm:col-span-3 col-span-full'
- } else if (field.width === '3/4') {
- return 'sm:col-span-9 col-span-full'
- }
- },
- getFieldAlignClasses(field) {
- if (!field.align || field.align === 'left') return 'text-left'
- else if (field.align === 'right') {
- return 'text-right'
- } else if (field.align === 'center') {
- return 'text-center'
- } else if (field.align === 'justify') {
- return 'text-justify'
- }
- },
- /**
- * Get the right input component options for the field/options
- */
- inputProperties(field) {
- const inputProperties = {
- key: field.id,
- name: field.id,
- form: this.dataForm,
- label: (field.hide_field_name) ? null : field.name + ((this.shouldBeHidden) ? ' (Hidden Field)' : ''),
- color: this.form.color,
- placeholder: field.placeholder,
- help: field.help,
- helpPosition: (field.help_position) ? field.help_position : 'below_input',
- uppercaseLabels: this.form.uppercase_labels == 1 || this.form.uppercase_labels == true,
- theme: this.theme,
- maxCharLimit: (field.max_char_limit) ? parseInt(field.max_char_limit) : null,
- showCharLimit: field.show_char_limit || false,
- isDark: this.darkMode,
- locale: (this.form?.language) ? this.form.language : 'en'
- }
+const shouldBeHidden = computed(() =>
+ (new FormLogicPropertyResolver(props.field, dataForm.value)).isHidden()
+)
- if (field.type === 'matrix') {
- inputProperties.rows = field.rows
- inputProperties.columns = field.columns
- }
+const isFieldRequired = computed(() =>
+ (new FormLogicPropertyResolver(props.field, dataForm.value)).isRequired()
+)
- if (field.type === 'barcode') {
- inputProperties.decoders = field.decoders
- }
+const isFieldDisabled = computed(() =>
+ (new FormLogicPropertyResolver(props.field, dataForm.value)).isDisabled()
+)
- if (['select','multi_select'].includes(field.type) && !this.isFieldRequired) {
- inputProperties.clearable = true
- }
+const beingEdited = computed(() =>
+ isAdminPreview.value &&
+ showEditFieldSidebar.value &&
+ form.value.properties.findIndex((item) => item.id === props.field.id) === selectedFieldIndex.value
+)
- if (['select', 'multi_select'].includes(field.type)) {
- inputProperties.options = (_has(field, field.type))
- ? field[field.type].options.map(option => {
- return {
- name: option.name,
- value: option.name
- }
- })
- : []
- inputProperties.multiple = (field.type === 'multi_select')
- inputProperties.allowCreation = (field.allow_creation === true)
- inputProperties.searchable = (inputProperties.options.length > 4)
- } else if (field.type === 'date') {
- inputProperties.dateFormat = field.date_format
- inputProperties.timeFormat = field.time_format
- if (field.with_time) {
- inputProperties.withTime = true
- }
- if (field.date_range) {
- inputProperties.dateRange = true
- }
- if (field.disable_past_dates) {
- inputProperties.disablePastDates = true
- } else if (field.disable_future_dates) {
- inputProperties.disableFutureDates = true
- }
- } else if (field.type === 'files' || (field.type === 'url' && field.file_upload)) {
- inputProperties.multiple = (field.multiple !== undefined && field.multiple)
- inputProperties.cameraUpload = (field.camera_upload !== undefined && field.camera_upload)
- let maxFileSize = (this.form?.workspace && this.form?.workspace.max_file_size) ? this.form?.workspace?.max_file_size : 10
- if (field?.max_file_size > 0) {
- maxFileSize = Math.min(field.max_file_size, maxFileSize)
+// Methods
+function editFieldOptions() {
+ if (!isAdminPreview.value) return
+ workingFormStore.openSettingsForField(props.field)
+}
+
+function setFieldAsSelected() {
+ if (!isAdminPreview.value || !workingFormStore.showEditFieldSidebar) return
+ workingFormStore.openSettingsForField(props.field)
+}
+
+function openAddFieldSidebar() {
+ if (!isAdminPreview.value) return
+ workingFormStore.openAddFieldSidebar(props.field)
+}
+
+function removeField() {
+ if (!isAdminPreview.value) return
+ workingFormStore.removeField(props.field)
+}
+
+function getFieldWidthClasses(field) {
+ if (!field.width || field.width === 'full') return 'col-span-full'
+ else if (field.width === '1/2') {
+ return 'sm:col-span-6 col-span-full'
+ } else if (field.width === '1/3') {
+ return 'sm:col-span-4 col-span-full'
+ } else if (field.width === '2/3') {
+ return 'sm:col-span-8 col-span-full'
+ } else if (field.width === '1/4') {
+ return 'sm:col-span-3 col-span-full'
+ } else if (field.width === '3/4') {
+ return 'sm:col-span-9 col-span-full'
+ }
+}
+
+function getFieldAlignClasses(field) {
+ if (!field.align || field.align === 'left') return 'text-left'
+ else if (field.align === 'right') {
+ return 'text-right'
+ } else if (field.align === 'center') {
+ return 'text-center'
+ } else if (field.align === 'justify') {
+ return 'text-justify'
+ }
+}
+
+/**
+ * Get the right input component options for the field/options
+ */
+function inputProperties(field) {
+ const inputProperties = {
+ key: field.id,
+ name: field.id,
+ form: dataForm.value,
+ label: (field.hide_field_name) ? null : field.name + ((shouldBeHidden.value) ? ' (Hidden Field)' : ''),
+ color: form.value.color,
+ placeholder: field.placeholder,
+ help: field.help,
+ helpPosition: (field.help_position) ? field.help_position : 'below_input',
+ uppercaseLabels: form.value.uppercase_labels == 1 || form.value.uppercase_labels == true,
+ theme: props.theme || CachedDefaultTheme.getInstance(),
+ maxCharLimit: (field.max_char_limit) ? parseInt(field.max_char_limit) : null,
+ showCharLimit: field.show_char_limit || false,
+ isDark: darkMode.value,
+ locale: (form.value?.language) ? form.value.language : 'en'
+ }
+
+
+ if (field.type === 'matrix') {
+ inputProperties.rows = field.rows
+ inputProperties.columns = field.columns
+ }
+
+ if (field.type === 'barcode') {
+ inputProperties.decoders = field.decoders
+ }
+
+ if (['select','multi_select'].includes(field.type) && !isFieldRequired.value) {
+ inputProperties.clearable = true
+ }
+
+ if (['select', 'multi_select'].includes(field.type)) {
+ inputProperties.options = (_has(field, field.type))
+ ? field[field.type].options.map(option => {
+ return {
+ name: option.name,
+ value: option.name
}
- inputProperties.mbLimit = maxFileSize
- inputProperties.accept = (this.form.is_pro && field.allowed_file_types) ? field.allowed_file_types : ''
- } else if (field.type === 'rating') {
- inputProperties.numberOfStars = parseInt(field.rating_max_value) ?? 5
- } else if (field.type === 'scale') {
- inputProperties.minScale = parseFloat(field.scale_min_value) ?? 1
- inputProperties.maxScale = parseFloat(field.scale_max_value) ?? 5
- inputProperties.stepScale = parseFloat(field.scale_step_value) ?? 1
- } else if (field.type === 'slider') {
- inputProperties.minSlider = parseInt(field.slider_min_value) ?? 0
- inputProperties.maxSlider = parseInt(field.slider_max_value) ?? 50
- inputProperties.stepSlider = parseInt(field.slider_step_value) ?? 5
- } else if (field.type === 'number' || (field.type === 'phone_number' && field.use_simple_text_input)) {
- inputProperties.pattern = '/d*'
- } else if (field.type === 'phone_number' && !field.use_simple_text_input) {
- inputProperties.unavailableCountries = field.unavailable_countries ?? []
- } else if (field.type === 'text' && field.secret_input) {
- inputProperties.nativeType = 'password'
- } else if (field.type === 'payment') {
- inputProperties.direction = this.form.layout_rtl ? 'rtl' : 'ltr'
- inputProperties.currency = field.currency
- inputProperties.amount = field.amount
- inputProperties.oauthProviderId = field.stripe_account_id
+ })
+ : []
+ inputProperties.multiple = (field.type === 'multi_select')
+ inputProperties.allowCreation = (field.allow_creation === true)
+ inputProperties.searchable = (inputProperties.options.length > 4)
+ } else if (field.type === 'date') {
+ inputProperties.dateFormat = field.date_format
+ inputProperties.timeFormat = field.time_format
+ if (field.with_time) {
+ inputProperties.withTime = true
+ }
+ if (field.date_range) {
+ inputProperties.dateRange = true
+ }
+ if (field.disable_past_dates) {
+ inputProperties.disablePastDates = true
+ } else if (field.disable_future_dates) {
+ inputProperties.disableFutureDates = true
+ }
+ } else if (field.type === 'files' || (field.type === 'url' && field.file_upload)) {
+ inputProperties.multiple = (field.multiple !== undefined && field.multiple)
+ inputProperties.cameraUpload = (field.camera_upload !== undefined && field.camera_upload)
+ let maxFileSize = (form.value?.workspace && form.value?.workspace.max_file_size) ? form.value?.workspace?.max_file_size : 10
+ if (field?.max_file_size > 0) {
+ maxFileSize = Math.min(field.max_file_size, maxFileSize)
+ }
+ inputProperties.mbLimit = maxFileSize
+ inputProperties.accept = (form.value.is_pro && field.allowed_file_types) ? field.allowed_file_types : ''
+ } else if (field.type === 'rating') {
+ inputProperties.numberOfStars = parseInt(field.rating_max_value) ?? 5
+ } else if (field.type === 'scale') {
+ inputProperties.minScale = parseFloat(field.scale_min_value) ?? 1
+ inputProperties.maxScale = parseFloat(field.scale_max_value) ?? 5
+ inputProperties.stepScale = parseFloat(field.scale_step_value) ?? 1
+ } else if (field.type === 'slider') {
+ inputProperties.minSlider = parseInt(field.slider_min_value) ?? 0
+ inputProperties.maxSlider = parseInt(field.slider_max_value) ?? 50
+ inputProperties.stepSlider = parseInt(field.slider_step_value) ?? 5
+ } else if (field.type === 'number' || (field.type === 'phone_number' && field.use_simple_text_input)) {
+ inputProperties.pattern = '/d*'
+ } else if (field.type === 'phone_number' && !field.use_simple_text_input) {
+ inputProperties.unavailableCountries = field.unavailable_countries ?? []
+ } else if (field.type === 'text' && field.secret_input) {
+ inputProperties.nativeType = 'password'
+ } else if (field.type === 'payment') {
+ inputProperties.direction = form.value.layout_rtl ? 'rtl' : 'ltr'
+ inputProperties.currency = field.currency
+ inputProperties.amount = field.amount
+ inputProperties.oauthProviderId = field.stripe_account_id
+
+ // Get paymentData from formManager if available
+ if (props.formManager?.payment) {
+ try {
+ inputProperties.paymentData = props.formManager.payment.getPaymentData(field)
+ } catch (error) {
+ console.error("Error getting payment data:", error)
}
-
- return inputProperties
}
}
+
+ return inputProperties
}
</script>
diff --git a/client/components/open/forms/components/FirstSubmissionModal.vue b/client/components/open/forms/components/FirstSubmissionModal.vue
index 51844cd24..ce19a607d 100644
--- a/client/components/open/forms/components/FirstSubmissionModal.vue
+++ b/client/components/open/forms/components/FirstSubmissionModal.vue
@@ -2,7 +2,7 @@
<modal
:show="show"
compact-header
- ;backdrop-blur="true"
+ :backdrop-blur="true"
@close="$emit('close')"
>
<template #title>
diff --git a/client/components/open/forms/components/form-components/FormEditorPreview.vue b/client/components/open/forms/components/form-components/FormEditorPreview.vue
index a2938201c..bcfac8ff8 100644
--- a/client/components/open/forms/components/form-components/FormEditorPreview.vue
+++ b/client/components/open/forms/components/form-components/FormEditorPreview.vue
@@ -150,7 +150,7 @@ function coverPictureSrc(val) {
try {
// Is valid url
new URL(val)
- } catch (_) {
+ } catch {
// Is file
return URL.createObjectURL(val)
}
diff --git a/client/components/open/forms/components/form-components/FormSubmissionSettings.vue b/client/components/open/forms/components/form-components/FormSubmissionSettings.vue
index d78cf81bf..671ae7946 100644
--- a/client/components/open/forms/components/form-components/FormSubmissionSettings.vue
+++ b/client/components/open/forms/components/form-components/FormSubmissionSettings.vue
@@ -115,7 +115,7 @@
class="w-full"
:class="{'flex flex-wrap gap-x-4':submissionOptions.submissionMode === 'redirect'}"
>
- <select-input
+ <flat-select-input
:form="submissionOptions"
name="submissionMode"
class="w-full max-w-xs"
@@ -150,7 +150,7 @@
</span>
</span>
</template>
- </select-input>
+ </flat-select-input>
<template v-if="submissionOptions.submissionMode === 'redirect'">
<MentionInput
name="redirect_url"
diff --git a/client/components/open/forms/components/form-logic-components/ConditionEditor.client.vue b/client/components/open/forms/components/form-logic-components/ConditionEditor.client.vue
index 02268777e..c3d3ee741 100644
--- a/client/components/open/forms/components/form-logic-components/ConditionEditor.client.vue
+++ b/client/components/open/forms/components/form-logic-components/ConditionEditor.client.vue
@@ -45,7 +45,7 @@
</template>
<script>
-/* eslint-disable vue/one-component-per-file */
+
import { defineComponent } from "vue"
import QueryBuilder from "query-builder-vue-3"
import ColumnCondition from "./ColumnCondition.vue"
diff --git a/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue b/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
index 1ab331238..417fdfbb9 100644
--- a/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
+++ b/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
@@ -190,7 +190,7 @@ export default {
field.id !== this.field.id &&
_has(field, "logic") &&
field.logic !== null &&
- field.logic !== {}
+ Object.keys(field.logic || {}).length > 0
)
})
.map((field) => {
diff --git a/client/components/open/forms/fields/FormFieldEdit.vue b/client/components/open/forms/fields/FormFieldEdit.vue
index fdf5226b2..f5e5516ec 100644
--- a/client/components/open/forms/fields/FormFieldEdit.vue
+++ b/client/components/open/forms/fields/FormFieldEdit.vue
@@ -128,7 +128,9 @@ const field = computed(() => {
// This prevents page jumps when editing field properties
onMounted(() => {
if (selectedFieldIndex.value !== null) {
- workingFormStore.setPageForField(selectedFieldIndex.value)
+ if (workingFormStore.structureService) {
+ workingFormStore.structureService.setPageForField(selectedFieldIndex.value)
+ }
}
})
diff --git a/client/components/open/integrations/components/IntegrationModal.vue b/client/components/open/integrations/components/IntegrationModal.vue
index 54ff4e8f2..c863665a0 100644
--- a/client/components/open/integrations/components/IntegrationModal.vue
+++ b/client/components/open/integrations/components/IntegrationModal.vue
@@ -117,7 +117,7 @@ const save = () => {
.catch((error) => {
try {
alert.error(error.data.message)
- } catch (e) {
+ } catch {
alert.error("An error occurred while saving the integration")
}
})
diff --git a/client/components/open/tables/components/OpenDate.vue b/client/components/open/tables/components/OpenDate.vue
index 5e9f7b39f..a85f41d9b 100644
--- a/client/components/open/tables/components/OpenDate.vue
+++ b/client/components/open/tables/components/OpenDate.vue
@@ -15,11 +15,11 @@ import { default as _has } from 'lodash/has'
export default {
components: {},
props: {
- // eslint-disable-next-line vue/require-prop-types
+
property: {
required: true
},
- // eslint-disable-next-line vue/require-prop-types
+
value: {
required: true
}
@@ -45,13 +45,13 @@ export default {
if (this.property?.with_time) {
try {
return format(new Date(val), dateFormat + (timeFormat == 12 ? ' p':' HH:mm'))
- } catch (e) {
+ } catch {
return ''
}
}
try {
return format(new Date(val), dateFormat)
- } catch (e) {
+ } catch {
return ''
}
}
diff --git a/client/components/pages/admin/EditWorkSpaceUser.vue b/client/components/pages/admin/EditWorkSpaceUser.vue
index fbcc235fa..9a185d6ca 100644
--- a/client/components/pages/admin/EditWorkSpaceUser.vue
+++ b/client/components/pages/admin/EditWorkSpaceUser.vue
@@ -42,7 +42,7 @@
<script setup>
import {watch, ref} from "vue"
-// eslint-disable-next-line vue/require-prop-types
+
const props = defineProps(['user', 'showEditUserModal'])
const emit = defineEmits(['close', 'fetchUsers'])
diff --git a/client/components/pages/forms/show/UrlFormPrefill.vue b/client/components/pages/forms/show/UrlFormPrefill.vue
index 18525bb47..e8f0d8813 100644
--- a/client/components/pages/forms/show/UrlFormPrefill.vue
+++ b/client/components/pages/forms/show/UrlFormPrefill.vue
@@ -72,18 +72,16 @@
<div class="rounded-lg p-5 bg-gray-100 dark:bg-gray-900 mt-4">
<open-form
- v-if="form"
+ v-if="formManager"
:theme="theme"
- :loading="false"
- :form="form"
- :fields="form.properties"
- :mode="FormMode.PREFILL"
+ :form-manager="formManager"
@submit="generateUrl"
>
- <template #submit-btn="{ submitForm }">
+ <template #submit-btn="{loading}">
<v-button
class="mt-2 px-8 mx-1"
- @click.prevent="submitForm"
+ :loading="loading"
+ @click.prevent="generateUrl"
>
Generate Pre-filled URL
</v-button>
@@ -106,47 +104,69 @@
</div>
</template>
-<script>
+<script setup>
import ThemeBuilder from "~/lib/forms/themes/ThemeBuilder"
import FormUrlPrefill from "../../../open/forms/components/FormUrlPrefill.vue"
import OpenForm from "../../../open/forms/OpenForm.vue"
import { FormMode } from "~/lib/forms/FormModeStrategy.js"
+import { useFormManager } from '~/lib/forms/composables/useFormManager'
-export default {
- name: "UrlFormPrefill",
- components: { FormUrlPrefill, OpenForm },
- props: {
- form: { type: Object, required: true },
- extraQueryParam: { type: String, default: "" },
- },
+const props = defineProps({
+ form: { type: Object, required: true },
+ extraQueryParam: { type: String, default: "" },
+})
- data: () => ({
- prefillFormData: null,
- showUrlFormPrefillModal: false,
- }),
+// State variables
+const prefillFormData = ref(null)
+const showUrlFormPrefillModal = ref(false)
+const content = ref(null)
- computed: {
- theme () {
- return new ThemeBuilder(this.form.theme, {
- size: this.form.size,
- borderRadius: this.form.border_radius
- }).getAllComponents()
- },
- FormMode() {
- return FormMode
- }
- },
+// Theme computation
+const theme = computed(() => {
+ return new ThemeBuilder(props.form.theme, {
+ size: props.form.size,
+ borderRadius: props.form.border_radius
+ }).getAllComponents()
+})
+
+// Set up form manager with proper mode
+let formManager = null
+const setupFormManager = () => {
+ if (!props.form) return null
+
+ formManager = useFormManager(props.form, FormMode.PREFILL, {
+ darkMode: false
+ })
+ formManager.initialize()
+
+ return formManager
+}
- methods: {
- generateUrl(formData) {
- this.prefillFormData = formData
- this.$nextTick().then(() => {
- if (this.$refs.content) {
- this.$refs.content.parentElement.parentElement.parentElement.scrollTop =
- this.$refs.content.offsetHeight
- }
- })
- },
- },
+// Initialize form manager
+formManager = setupFormManager()
+
+// Watch for form changes to reinitialize form manager
+watch(() => props.form, (newForm) => {
+ if (newForm) {
+ formManager = setupFormManager()
+ } else {
+ formManager = null
+ }
+}, { deep: true })
+
+// Method to generate URL
+const generateUrl = () => {
+ if (!formManager) return
+
+ const formData = formManager.data.value
+
+ prefillFormData.value = formData
+
+ nextTick().then(() => {
+ if (content.value) {
+ content.value.parentElement.parentElement.parentElement.scrollTop =
+ content.value.offsetHeight
+ }
+ })
}
</script>
diff --git a/client/components/settings/AccessTokenCard.vue b/client/components/settings/AccessTokenCard.vue
index c64813852..645c7cd99 100644
--- a/client/components/settings/AccessTokenCard.vue
+++ b/client/components/settings/AccessTokenCard.vue
@@ -74,7 +74,7 @@ function destroy() {
.catch((error) => {
try {
alert.error(error.data.message)
- } catch (e) {
+ } catch {
alert.error("An error occurred while disconnecting an account")
}
})
diff --git a/client/components/settings/ProviderCard.vue b/client/components/settings/ProviderCard.vue
index 36d0e0517..02b4d15eb 100644
--- a/client/components/settings/ProviderCard.vue
+++ b/client/components/settings/ProviderCard.vue
@@ -101,7 +101,7 @@ function disconnect() {
.catch((error) => {
try {
alert.error(error.data.message)
- } catch (e) {
+ } catch {
alert.error("An error occurred while disconnecting an account")
}
})
diff --git a/client/components/workspaces/WorkspaceIcon.vue b/client/components/workspaces/WorkspaceIcon.vue
index 439af3fe3..21a0302e9 100644
--- a/client/components/workspaces/WorkspaceIcon.vue
+++ b/client/components/workspaces/WorkspaceIcon.vue
@@ -37,7 +37,7 @@ export default {
try {
new URL(str)
}
- catch (_) {
+ catch {
return false
}
return true
diff --git a/client/composables/forms/pendingSubmission.js b/client/composables/forms/pendingSubmission.js
deleted file mode 100644
index b45103273..000000000
--- a/client/composables/forms/pendingSubmission.js
+++ /dev/null
@@ -1,71 +0,0 @@
-import { hash } from "~/lib/utils.js"
-import { useStorage } from "@vueuse/core"
-
-export const pendingSubmission = (form) => {
- const formPendingSubmissionKey = computed(() => {
- return form
- ? form.form_pending_submission_key + "-" + hash(window.location.href)
- : ""
- })
- const formPendingSubmissionTimerKey = computed(() => {
- return formPendingSubmissionKey.value + "-timer"
- })
-
- const enabled = computed(() => {
- return form?.auto_save ?? false
- })
-
- const set = (value) => {
- if (import.meta.server || !enabled.value) return
- useStorage(formPendingSubmissionKey.value).value =
- value === null ? value : JSON.stringify(value)
- }
-
- const remove = () => {
- return set(null)
- }
-
- const get = (defaultValue = {}) => {
- if (import.meta.server || !enabled.value) return
- const pendingSubmission = useStorage(formPendingSubmissionKey.value).value
- return pendingSubmission ? JSON.parse(pendingSubmission) : defaultValue
- }
-
- const setSubmissionHash = (hash) => {
- set({
- ...get(),
- submission_hash: hash
- })
- }
-
- const getSubmissionHash = () => {
- return get()?.submission_hash ?? null
- }
-
- const setTimer = (value) => {
- if (import.meta.server) return
- useStorage(formPendingSubmissionTimerKey.value).value = value
- }
-
- const removeTimer = () => {
- return setTimer(null)
- }
-
- const getTimer = (defaultValue = null) => {
- if (import.meta.server) return
- return useStorage(formPendingSubmissionTimerKey.value).value ?? defaultValue
- }
-
- return {
- formPendingSubmissionKey,
- enabled,
- set,
- get,
- remove,
- setSubmissionHash,
- getSubmissionHash,
- setTimer,
- removeTimer,
- getTimer,
- }
-}
diff --git a/client/composables/forms/usePartialSubmission.js b/client/composables/forms/usePartialSubmission.js
index 2e36d596c..8606b016e 100644
--- a/client/composables/forms/usePartialSubmission.js
+++ b/client/composables/forms/usePartialSubmission.js
@@ -1,86 +1,124 @@
import { opnFetch } from "./../useOpnApi.js"
-import { pendingSubmission as pendingSubmissionFunction } from "./pendingSubmission.js"
-import { watch, onBeforeUnmount, ref } from 'vue'
+import { watch, onBeforeUnmount, ref, toValue } from 'vue'
// Create a Map to store submission hashes for different forms
+// This map might be better managed globally or passed if needed across instances
const submissionHashes = ref(new Map())
-export const usePartialSubmission = (form, formData = {}) => {
- const pendingSubmission = pendingSubmissionFunction(form)
+/**
+ * Composable for handling partial form submissions (auto-syncing to server).
+ *
+ * @param {Object} formConfig - The form configuration object (not reactive needed here, just for slug).
+ * @param {import('vue').ComputedRef<Object>} formDataRef - Computed reference to the reactive form data.
+ * @param {Object} pendingSubmissionService - The instantiated service from usePendingSubmission.
+ */
+export function usePartialSubmission(formConfig, formDataRef, pendingSubmissionService) {
let syncTimeout = null
let dataWatcher = null
const getSubmissionHash = () => {
- return pendingSubmission.getSubmissionHash() ?? submissionHashes.value.get(pendingSubmission.formPendingSubmissionKey.value)
+ // Prioritize hash from the pendingSubmission service (localStorage)
+ const storedHash = pendingSubmissionService.getSubmissionHash()
+ if (storedHash) return storedHash
+ // Fallback to the in-memory map for this instance if needed (should ideally be synced)
+ const key = pendingSubmissionService.formPendingSubmissionKey?.value // Use optional chaining
+ return key ? submissionHashes.value.get(key) : null
}
const setSubmissionHash = (hash) => {
- submissionHashes.value.set(pendingSubmission.formPendingSubmissionKey.value, hash)
- pendingSubmission.setSubmissionHash(hash)
+ // Set in both localStorage (via service) and the local map
+ pendingSubmissionService.setSubmissionHash(hash)
+ const key = pendingSubmissionService.formPendingSubmissionKey?.value
+ if (key) {
+ submissionHashes.value.set(key, hash)
+ }
}
const debouncedSync = () => {
- if (syncTimeout) clearTimeout(syncTimeout)
+ // Clear existing timeout to reset the timer
+ if (syncTimeout) {
+ clearTimeout(syncTimeout)
+ }
+
+ // Set a new timeout - increased to 2 seconds for less frequent syncing
syncTimeout = setTimeout(() => {
syncToServer()
- }, 1000) // 1 second debounce
+ }, 2000) // 2 second debounce
+ }
+
+ // Add a function to execute sync immediately without debouncing
+ // This is used for critical moments like page unload
+ const syncImmediately = () => {
+ if (syncTimeout) {
+ clearTimeout(syncTimeout)
+ syncTimeout = null
+ }
+ return syncToServer()
}
const syncToServer = async () => {
+ const config = toValue(formConfig) // Ensure we have the latest config value
// Check if partial submissions are enabled and if we have data
- if (!form?.enable_partial_submissions) return
+ if (!config?.enable_partial_submissions) {
+ return
+ }
- // Get current form data - handle both function and direct object patterns
- const currentData = typeof formData.value?.data === 'function'
- ? formData.value.data()
- : formData.value
+ // Get current form data from the reactive ref
+ const currentData = formDataRef.value // Directly use .value from computed ref
// Skip if no data or empty data
- if (!currentData || Object.keys(currentData).length === 0) return
+ if (!currentData || Object.keys(currentData).length === 0) {
+ return
+ }
try {
- const response = await opnFetch(`/forms/${form.slug}/answer`, {
+ const response = await opnFetch(`/forms/${config.slug}/answer`, {
method: "POST",
body: {
...currentData,
'is_partial': true,
- 'submission_hash': getSubmissionHash()
+ 'submission_hash': getSubmissionHash() // Use the updated getter
}
})
if (response.submission_hash) {
- setSubmissionHash(response.submission_hash)
+ setSubmissionHash(response.submission_hash) // Use the updated setter
}
} catch (error) {
- console.error('Failed to sync partial submission', error)
+ console.error(error)
}
}
// Add these handlers as named functions so we can remove them later
const handleVisibilityChange = () => {
if (document.visibilityState === 'hidden') {
- debouncedSync()
+ // When tab becomes hidden, sync immediately
+ syncImmediately()
}
}
const handleBlur = () => {
- debouncedSync()
+ // When window loses focus, sync immediately
+ syncImmediately()
}
const handleBeforeUnload = () => {
- syncToServer()
+ // Before page unloads, sync immediately
+ syncImmediately()
}
const startSync = () => {
- if (dataWatcher) return
+ if (dataWatcher || import.meta.server) { // Prevent starting multiple times or on server
+ return
+ }
// Initial sync
debouncedSync()
- // Watch formData directly with Vue's reactivity
+ // Watch formDataRef using Vue's reactivity
dataWatcher = watch(
- formData,
- () => {
+ formDataRef,
+ (_newValue) => {
debouncedSync()
},
{ deep: true }
@@ -93,7 +131,17 @@ export const usePartialSubmission = (form, formData = {}) => {
}
const stopSync = () => {
- submissionHashes.value = new Map()
+ if (import.meta.server) return
+
+ // Final sync before stopping if we have a hash
+ if (getSubmissionHash()) {
+ syncImmediately()
+ }
+
+ const key = pendingSubmissionService.formPendingSubmissionKey?.value
+ if (key) {
+ submissionHashes.value.delete(key) // Clear from instance map on stop
+ }
if (dataWatcher) {
dataWatcher()
@@ -114,18 +162,14 @@ export const usePartialSubmission = (form, formData = {}) => {
// Ensure cleanup when component is unmounted
onBeforeUnmount(() => {
stopSync()
-
- // Final sync attempt before unmounting
- if(getSubmissionHash()) {
- syncToServer()
- }
})
return {
startSync,
stopSync,
- syncToServer,
- getSubmissionHash,
- setSubmissionHash
+ syncToServer: debouncedSync, // Expose the debounced version externally
+ syncImmediately, // Also expose the immediate sync for critical situations
+ getSubmissionHash, // Use the getter that prioritizes localStorage
+ setSubmissionHash // Use the setter that updates both
}
}
\ No newline at end of file
diff --git a/client/composables/lib/vForm/Form.js b/client/composables/lib/vForm/Form.js
index bcfa6ba8c..c2e7097f9 100644
--- a/client/composables/lib/vForm/Form.js
+++ b/client/composables/lib/vForm/Form.js
@@ -138,7 +138,7 @@ class Form {
if (method.toLowerCase() === "get") {
config.params = { ...this.data(), ...config.params }
} else {
- config.body = { ...this.data(), ...config.data }
+ config.body = { ...this.data(), ...config.data, ...config.body }
if (hasFiles(config.data) && !config.transformRequest) {
config.transformRequest = [(data) => serialize(data)]
diff --git a/client/composables/useAuth.js b/client/composables/useAuth.js
index 4cf297fe3..062cbb0d4 100644
--- a/client/composables/useAuth.js
+++ b/client/composables/useAuth.js
@@ -119,21 +119,14 @@ export const useAuth = () => {
body: { code, utm_data: utmData }
})
- console.log(`[useAuth] handleSocialCallback executed for provider: ${provider}`)
- console.log(`[useAuth] Checking window.opener:`, window.opener, `Is closed:`, window.opener ? window.opener.closed : 'N/A')
-
// Send message to parent window if applicable
if (window.opener && !window.opener.closed) {
- console.log(`[useAuth] Attempting to send message ${WindowMessageTypes.OAUTH_PROVIDER_CONNECTED}:${provider} to opener`, window.opener)
useWindowMessage(WindowMessageTypes.OAUTH_PROVIDER_CONNECTED).send(window.opener, {
eventType: `${WindowMessageTypes.OAUTH_PROVIDER_CONNECTED}:${provider}`,
useMessageChannel: false,
waitForAcknowledgment: false
})
- console.log(`[useAuth] Message supposedly sent for ${provider}`)
- } else {
- console.log('[useAuth] Not sending message: window.opener check failed.', { opener: window.opener, closed: window.opener ? window.opener.closed : 'N/A' })
- }
+ }
return authenticateUser({
tokenData,
diff --git a/client/composables/useCheckoutUrl.js b/client/composables/useCheckoutUrl.js
index 3f25fa91d..991128477 100644
--- a/client/composables/useCheckoutUrl.js
+++ b/client/composables/useCheckoutUrl.js
@@ -30,7 +30,7 @@ export const useCheckoutUrl = (name, email, plan, yearly, currency) => {
// Filter out empty params
const filteredParams = Object.fromEntries(
- // eslint-disable-next-line no-unused-vars
+
Object.entries(params).filter(([_, value]) => value !== null && value !== undefined && value !== '')
)
diff --git a/client/composables/useStripeElements.js b/client/composables/useStripeElements.js
index e12edb4a8..bc64ce947 100644
--- a/client/composables/useStripeElements.js
+++ b/client/composables/useStripeElements.js
@@ -1,11 +1,20 @@
-import { computed, provide, inject, reactive } from 'vue'
+import { computed, reactive, readonly } from 'vue'
import { useI18n } from '#imports'
+import { opnFetch } from '~/composables/useOpnApi.js'
-// Symbol for injection key
-export const STRIPE_ELEMENTS_KEY = Symbol('stripe-elements')
+/**
+ * Creates a Stripe elements instance with state management
+ * @param {String} initialAccountId - Optional account ID to initialize with
+ * @returns {Object} Stripe elements API with state and methods
+ */
+export const createStripeElements = (initialAccountId = null) => {
+ // Ensure we're on the client side
+ if (import.meta.server) {
+ console.warn('Stripe Elements can only be initialized in the browser')
+ return null
+ }
-export const createStripeElements = () => {
- // Get the translation function
+ // Initialize i18n at the top level
const { t } = useI18n()
// Use reactive for the state to ensure changes propagate
@@ -26,12 +35,20 @@ export const createStripeElements = () => {
cardHolderEmail: '',
// Account & payment state
- stripeAccountId: null,
+ stripeAccountId: initialAccountId, // Initialize with provided account ID
intentId: null,
showPreviewMessage: false,
- errorMessage: ''
+ error: null
})
+ // Reset state on initialization
+ state.stripe = null
+ state.elements = null
+ state.card = null
+ state.isStripeInstanceReady = false
+ state.isCardElementReady = false
+ state.error = null
+
// Computed properties
const isReadyForPayment = computed(() => {
return state.isStripeInstanceReady &&
@@ -54,45 +71,54 @@ export const createStripeElements = () => {
state.stripe = null
state.elements = null
state.card = null
+ state.stripeAccountId = null
state.intentId = null
state.showPreviewMessage = false
- state.stripeAccountId = null
- state.errorMessage = ''
+ state.error = null
}
/**
- * Fetches the Stripe account ID required for connecting to the proper account
- * @param {string} formSlug - The slug of the form
- * @param {string} providerId - The OAuth provider ID
- * @param {boolean} isEditorPreview - Whether this is in editor preview mode
- * @returns {Promise<Object>} - Object containing success/error information
+ * Prepares the Stripe state by fetching account details
+ * @param {String} formSlug - Form slug
+ * @param {String|Number} providerId - OAuth provider ID
+ * @param {Boolean} isEditorPreview - Whether this is in editor preview mode
+ * @returns {Promise<Object>} Result object with success and message
*/
const prepareStripeState = async (formSlug, providerId, isEditorPreview = false) => {
if (!formSlug || !providerId) {
resetStripeState()
- return { success: false, message: t('forms.payment.errors.missingFormOrProvider') }
+ return { success: false, message: 'Missing form slug or OAuth provider ID' }
}
+ // Always ensure provider ID is a string
+ const providerIdStr = String(providerId)
+
resetStripeState()
state.isLoadingAccount = true
try {
+ console.debug('[useStripeElements] Preparing Stripe state for:', { formSlug, providerId: providerIdStr, isEditorPreview })
+
+ // Construct fetch options, adding providerId only for editor preview
const fetchOptions = {}
if (isEditorPreview) {
- fetchOptions.query = { oauth_provider_id: providerId }
+ fetchOptions.query = { oauth_provider_id: providerIdStr }
}
const response = await opnFetch(`/forms/${formSlug}/stripe-connect/get-account`, fetchOptions)
+ console.debug('[useStripeElements] Got account response:', response)
if (response?.type === 'success' && response?.stripeAccount) {
- // Explicitly set the account ID in state
- state.stripeAccountId = response.stripeAccount
+ // Ensure account ID is stored as string
+ state.stripeAccountId = String(response.stripeAccount)
state.isLoadingAccount = false
- // We'll rely on the StripeElements component to create the Stripe instance
- // Don't try to create it here
+ // If card is already set, mark card element as ready
+ if (state.card && state.stripe) {
+ state.isCardElementReady = true
+ }
- return { success: true, accountId: response.stripeAccount }
+ return { success: true, accountId: String(response.stripeAccount) }
} else {
state.hasAccountLoadingError = true
state.isLoadingAccount = false
@@ -101,7 +127,7 @@ export const createStripeElements = () => {
state.showPreviewMessage = true
}
- state.errorMessage = response?.message || t('forms.payment.errors.failedAccountDetails')
+ state.errorMessage = response?.message || 'Failed to get account details'
return {
success: false,
message: state.errorMessage,
@@ -109,10 +135,11 @@ export const createStripeElements = () => {
}
}
} catch (error) {
+ console.error('[useStripeElements] Error preparing state:', error)
state.hasAccountLoadingError = true
state.isLoadingAccount = false
- const message = error?.data?.message || t('forms.payment.errors.setupError')
+ const message = error?.data?.message || 'Payment setup error'
if (message.includes('save the form and try again')) {
state.showPreviewMessage = true
@@ -129,30 +156,44 @@ export const createStripeElements = () => {
/**
* Sets the Stripe instance in the state
- * @param {Object} instance - The Stripe instance from vue-stripe-js
*/
const setStripeInstance = (instance) => {
- // Check if the instance is actually a Stripe instance by looking for known methods
- const isValidStripeInstance = instance &&
- typeof instance === 'object' &&
- typeof instance.confirmCardPayment === 'function' &&
- typeof instance.createToken === 'function'
-
- if (instance && isValidStripeInstance) {
- // Only set if the instance is different to avoid unnecessary updates
- if (state.stripe !== instance) {
+ console.debug('[useStripeElements] Setting Stripe instance:', {
+ hasInstance: !!instance
+ })
+
+ try {
+ if (!instance) {
+ console.warn('[useStripeElements] No Stripe instance provided')
+ return
+ }
+
+ const isValidStripeInstance = instance &&
+ typeof instance === 'object' &&
+ typeof instance.confirmCardPayment === 'function' &&
+ typeof instance.createToken === 'function'
+
+ if (isValidStripeInstance) {
+ console.debug('[useStripeElements] Valid Stripe instance detected')
state.stripe = instance
state.isStripeInstanceReady = true
+
+ // If we have all required components, ensure card element is ready
+ if (state.card && state.stripeAccountId) {
+ console.debug('[useStripeElements] Card element ready with account')
+ state.isCardElementReady = true
+ }
+ } else {
+ console.warn('[useStripeElements] Invalid Stripe instance provided')
+ state.isStripeInstanceReady = false
}
- } else {
- state.stripe = null
- state.isStripeInstanceReady = false
+ } catch (error) {
+ console.error('[useStripeElements] Error setting Stripe instance:', error)
}
}
/**
* Sets the Elements instance in the state
- * @param {Object} elementsInstance - The Elements instance from vue-stripe-js
*/
const setElementsInstance = (elementsInstance) => {
if (elementsInstance) {
@@ -162,7 +203,6 @@ export const createStripeElements = () => {
/**
* Sets the Card Element in the state
- * @param {Object} cardElement - The Card Element instance
*/
const setCardElement = (cardElement) => {
if (cardElement) {
@@ -176,7 +216,6 @@ export const createStripeElements = () => {
/**
* Sets the billing details in the state
- * @param {Object} details - The billing details object {name, email}
*/
const setBillingDetails = ({ name, email }) => {
if (name !== undefined) state.cardHolderName = name
@@ -185,12 +224,8 @@ export const createStripeElements = () => {
/**
* Processes a payment using the Stripe API
- * @param {string} formSlug - The slug of the form
- * @param {boolean} isRequired - Whether payment is required to proceed
- * @returns {Promise<Object>} - Object containing payment result or error
*/
const processPayment = async (formSlug, isRequired = true) => {
- // Check if Stripe is fully initialized
if (!isReadyForPayment.value) {
return {
success: false,
@@ -198,7 +233,6 @@ export const createStripeElements = () => {
}
}
- // Check if the stripe instance exists
if (!state.stripe) {
return {
success: false,
@@ -206,7 +240,6 @@ export const createStripeElements = () => {
}
}
- // Additional validation for card
if (!state.card) {
return {
success: false,
@@ -214,7 +247,6 @@ export const createStripeElements = () => {
}
}
- // Check if payment is required but card is empty
if (isRequired && state.card._empty) {
return {
success: false,
@@ -222,9 +254,7 @@ export const createStripeElements = () => {
}
}
- // Only validate billing details if payment is required or card has data
if (isRequired || !state.card._empty) {
- // Validate card holder name
if (!state.cardHolderName) {
return {
success: false,
@@ -232,7 +262,6 @@ export const createStripeElements = () => {
}
}
- // Validate billing email
if (!state.cardHolderEmail) {
return {
success: false,
@@ -240,7 +269,6 @@ export const createStripeElements = () => {
}
}
- // Validate email format
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(state.cardHolderEmail)) {
return {
success: false,
@@ -250,13 +278,11 @@ export const createStripeElements = () => {
}
try {
- // Get payment intent from server
const responseIntent = await opnFetch('/forms/' + formSlug + '/stripe-connect/payment-intent')
if (responseIntent?.type === 'success') {
const intentSecret = responseIntent?.intent?.secret
- // Confirm card payment with Stripe
const result = await state.stripe.confirmCardPayment(intentSecret, {
payment_method: {
card: state.card,
@@ -268,7 +294,6 @@ export const createStripeElements = () => {
receipt_email: state.cardHolderEmail,
})
- // Store payment intent ID on success
if (result?.paymentIntent?.status === 'succeeded') {
state.intentId = result.paymentIntent.id
}
@@ -284,7 +309,6 @@ export const createStripeElements = () => {
}
}
} catch (error) {
- // Include more details about the error
const errorMessage = error?.message || t('forms.payment.errors.processingFailed')
const errorType = error?.type || 'unknown'
const errorCode = error?.code || 'unknown'
@@ -300,38 +324,54 @@ export const createStripeElements = () => {
}
}
+ /**
+ * Sets the intent ID
+ * @param {String} intentId - The payment intent ID
+ */
+ const setIntentId = (intentId) => {
+ console.debug('[useStripeElements] Setting intentId:', intentId)
+ if (intentId && typeof intentId === 'string' && intentId.startsWith('pi_')) {
+ state.intentId = intentId
+ }
+ }
+
+ /**
+ * Sets the Stripe Account ID in the state
+ * @param {String|Number} accountId - The Stripe account ID
+ */
+ const setAccountId = (accountId) => {
+ if (accountId) {
+ // Always convert to string - Stripe.js requires a string account ID
+ const accountIdStr = String(accountId)
+ console.debug('[useStripeElements] Setting Stripe account ID:', accountIdStr)
+ state.stripeAccountId = accountIdStr
+
+ // If we have all required components, ensure card element is ready
+ if (state.card && state.stripe) {
+ state.isCardElementReady = true
+ }
+ }
+ }
+
const stripeElements = {
- state,
+ // Expose readonly state to prevent mutations outside of proper methods
+ state: readonly(state),
+
+ // Read-only computed values
isReadyForPayment,
isCardPopulated,
- processPayment,
+
+ // Methods
resetStripeState,
prepareStripeState,
+ processPayment,
setStripeInstance,
setElementsInstance,
setCardElement,
- setBillingDetails
+ setBillingDetails,
+ setIntentId,
+ setAccountId
}
- // Return the API
- return stripeElements
-}
-
-// Use this in the provider component (OpenForm)
-export const provideStripeElements = () => {
- const stripeElements = createStripeElements()
-
- // Provide the entire stripeElements object to ensure reactivity
- provide(STRIPE_ELEMENTS_KEY, stripeElements)
-
- return stripeElements
-}
-
-// Use this in consumer components (PaymentInput)
-export const useStripeElements = () => {
- const stripeElements = inject(STRIPE_ELEMENTS_KEY)
- if (!stripeElements) {
- console.error('stripeElements was not provided. Make sure to call provideStripeElements in a parent component')
- }
return stripeElements
}
\ No newline at end of file
diff --git a/client/eslint.config.cjs b/client/eslint.config.cjs
new file mode 100644
index 000000000..33b4ed199
--- /dev/null
+++ b/client/eslint.config.cjs
@@ -0,0 +1,37 @@
+const globals = require("globals")
+const js = require("@eslint/js")
+const pluginVue = require("eslint-plugin-vue")
+
+module.exports = [
+ js.configs.recommended,
+ { ignores: [".nuxt/**", "node_modules/**", "dist/**"] },
+ {
+ files: ["**/*.{js,mjs,cjs,vue}"],
+ languageOptions: {
+ globals: {
+ ...globals.browser,
+ ...globals.node,
+ },
+ parser: require("vue-eslint-parser"),
+ parserOptions: {
+ ecmaVersion: "latest",
+ sourceType: "module"
+ }
+ },
+ plugins: {
+ vue: pluginVue
+ },
+ rules: {
+ "vue/require-default-prop": "off",
+ "vue/no-mutating-props": "off",
+ semi: ["error", "never"],
+ "vue/no-v-html": "off",
+ "prefer-rest-params": "off",
+ "vue/valid-template-root": "off",
+ "no-undef": "off",
+ "no-unused-vars": ["error", {
+ "argsIgnorePattern": "^_",
+ }],
+ },
+ }
+]
diff --git a/client/lib/colors.js b/client/lib/colors.js
index d0f41312c..7d94a365d 100644
--- a/client/lib/colors.js
+++ b/client/lib/colors.js
@@ -34,7 +34,7 @@ const hexToHSL = (hex) => {
}
return { h: Math.round(h * 360), s: Math.round(s * 100), l: Math.round(l * 100) }
- } catch (error) {
+ } catch {
console.error('Invalid HEX color', hex)
return { h: 0, s: 0, l: 0 }
}
diff --git a/client/lib/forms/FormLogicConditionChecker.js b/client/lib/forms/FormLogicConditionChecker.js
index b49645810..7cc5ce29b 100644
--- a/client/lib/forms/FormLogicConditionChecker.js
+++ b/client/lib/forms/FormLogicConditionChecker.js
@@ -290,14 +290,14 @@ function textConditionMet(propertyCondition, value) {
try {
const regex = new RegExp(propertyCondition.value)
return regex.test(value)
- } catch (e) {
+ } catch {
return false
}
case 'does_not_match_regex':
try {
const regex = new RegExp(propertyCondition.value)
return !regex.test(value)
- } catch (e) {
+ } catch {
return true
}
}
diff --git a/client/lib/forms/FormModeStrategy.js b/client/lib/forms/FormModeStrategy.js
index 1df05a5d5..35c6f13c5 100644
--- a/client/lib/forms/FormModeStrategy.js
+++ b/client/lib/forms/FormModeStrategy.js
@@ -37,7 +37,6 @@ export function createFormModeStrategy(mode) {
admin: {
allowDragging: false,
showAdminControls: false,
- isEditingMode: false
}
}
@@ -78,7 +77,6 @@ export function createFormModeStrategy(mode) {
// Editing submission - same validation as LIVE mode, but show hidden fields
// This ensures edit mode behaves like live mode for validation
strategy.display.showHiddenFields = true
- strategy.admin.isEditingMode = true
break
case FormMode.TEST:
diff --git a/client/lib/forms/composables/useFormInitialization.js b/client/lib/forms/composables/useFormInitialization.js
new file mode 100644
index 000000000..4af248b23
--- /dev/null
+++ b/client/lib/forms/composables/useFormInitialization.js
@@ -0,0 +1,207 @@
+import { toValue } from 'vue'
+import { opnFetch } from '~/composables/useOpnApi.js'
+
+/**
+ * @fileoverview Composable for initializing form data, with complete handling of
+ * form state persistence, URL parameters, and default values.
+ */
+export function useFormInitialization(formConfig, form, pendingSubmission) {
+ /**
+ * Applies URL parameters to the form data.
+ * @param {URLSearchParams} params - The URL search parameters.
+ */
+ const applyUrlParameters = (params) => {
+ if (!params) return
+
+ // First, handle regular parameters
+ params.forEach((value, key) => {
+ // Skip array parameters for now
+ if (key.endsWith('[]')) return
+
+ try {
+ // Try to parse JSON if the value starts with '{'
+ const parsedValue = (typeof value === 'string' && value.startsWith('{'))
+ ? JSON.parse(value)
+ : value
+
+ form[key] = parsedValue
+ } catch {
+ // If parsing fails, use the original value
+ form[key] = value
+ }
+ })
+
+ // Handle array parameters (key[])
+ const paramKeys = [...new Set([...params.keys()])]
+ paramKeys.forEach(key => {
+ if (key.endsWith('[]')) {
+ const arrayValues = params.getAll(key)
+ if (arrayValues.length > 0) {
+ const baseKey = key.slice(0, -2)
+ form[baseKey] = arrayValues
+ }
+ }
+ })
+ }
+
+ /**
+ * Applies default data to form fields that don't already have values.
+ * @param {Object} defaultData - Default data object.
+ */
+ const applyDefaultValues = (defaultData) => {
+ if (!defaultData || Object.keys(defaultData).length === 0) return
+
+ for (const key in defaultData) {
+ if (Object.hasOwnProperty.call(defaultData, key) && form[key] === undefined) {
+ form[key] = defaultData[key]
+ }
+ }
+ }
+
+ /**
+ * Updates special fields like dates with today's date if configured.
+ * @param {Array} fields - Form fields
+ */
+ const updateSpecialFields = () => {
+ formConfig.value.properties.forEach(field => {
+ // Handle date fields with prefill_today
+ if (field.type === 'date' && field.prefill_today) {
+ form[field.id] = new Date().toISOString()
+ }
+ // Handle matrix fields with prefill data
+ else if (field.type === 'matrix' && !form[field.id] && field.prefill) {
+ form[field.id] = {...field.prefill}
+ } else if (field.id && !form[field.id]) {
+ form[field.id] = field.prefill
+ }
+ })
+ }
+
+ /**
+ * Attempts to load form data from an existing submission.
+ * @param {String} submissionId - ID of the submission to load
+ * @returns {Promise<Boolean>} - Whether loading was successful
+ */
+ const tryLoadFromSubmissionId = async (submissionId) => {
+ const submissionIdValue = toValue(submissionId)
+ if (!submissionIdValue) return false
+ const config = toValue(formConfig) // Get the form config value
+ const slug = config?.slug // Extract the slug
+
+ if (!slug) {
+ console.error('Cannot load submission: Form slug is missing from config.')
+ form.reset() // Reset if config is invalid
+ return false
+ }
+
+ // Use the correct route format: /forms/{slug}/submissions/{submission_id}
+ return opnFetch(`/forms/${slug}/submissions/${submissionIdValue}`)
+ .then(submissionData => {
+ if (submissionData.data) {
+ form.resetAndFill(submissionData.data)
+ return true
+ } else {
+ console.warn(`Submission ${submissionIdValue} for form ${slug} loaded but returned no data.`)
+ form.reset()
+ return false
+ }
+ })
+ .catch(error => {
+ console.error(`Error loading submission ${submissionIdValue} for form ${slug}:`, error)
+ form.reset()
+ return false
+ })
+ }
+
+ /**
+ * Attempts to load form data from pendingSubmission in localStorage.
+ * @returns {Boolean} - Whether loading was successful
+ */
+ const tryLoadFromPendingSubmission = () => {
+ // Skip on server or if pendingSubmission is not available
+ if (import.meta.server || !pendingSubmission) {
+ return false
+ }
+
+ // Check if auto-save is enabled for this form
+ if (!pendingSubmission.enabled?.value) {
+ return false
+ }
+
+ // Get the saved data
+ const pendingData = pendingSubmission.get()
+
+ if (!pendingData || Object.keys(pendingData).length === 0) {
+ return false
+ }
+
+ form.resetAndFill(pendingData)
+ return true
+ }
+
+ /**
+ * Main method to initialize the form data.
+ * Follows a clear priority order:
+ * 1. Load from submission ID (if provided)
+ * 2. Load from pendingSubmission (localStorage) - client-side only
+ * 3. Apply URL parameters
+ * 4. Apply default values for fields
+ *
+ * @param {Object} options - Initialization options
+ * @param {String} [options.submissionId] - ID of submission to load
+ * @param {URLSearchParams} [options.urlParams] - URL parameters
+ * @param {Object} [options.defaultData] - Default data to apply
+ * @param {Array} [options.fields] - Form fields for special handling
+ */
+ const initialize = async (options = {}) => {
+ const config = toValue(formConfig)
+
+ // 1. Reset form state
+ form.reset()
+ form.errors.clear()
+
+ // 2. Try loading from submission ID
+ if (options.submissionId) {
+ const loaded = await tryLoadFromSubmissionId(options.submissionId)
+ if (loaded) return // Exit if loaded successfully
+ }
+
+ // 3. Try loading from pendingSubmission
+ if (tryLoadFromPendingSubmission()) {
+ updateSpecialFields()
+ return // Exit if loaded successfully
+ }
+
+ // 4. Start with empty form data
+ const formData = {}
+
+ // 5. Apply URL parameters
+ if (options.urlParams) {
+ applyUrlParameters(options.urlParams)
+ }
+
+ // 6. Apply special field handling
+ updateSpecialFields()
+
+ // 7. Apply default data from config or options
+ const defaultData = options.defaultData || config?.default_data
+ if (defaultData) {
+ for (const key in defaultData) {
+ if (!formData[key]) { // Only if not already set
+ formData[key] = defaultData[key]
+ }
+ }
+ }
+
+ // 8. Fill the form with the collected data
+ if (Object.keys(formData).length > 0) {
+ form.resetAndFill(formData)
+ }
+ }
+
+ return {
+ initialize,
+ applyUrlParameters,
+ applyDefaultValues
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/useFormManager.js b/client/lib/forms/composables/useFormManager.js
new file mode 100644
index 000000000..800127545
--- /dev/null
+++ b/client/lib/forms/composables/useFormManager.js
@@ -0,0 +1,317 @@
+import { reactive, computed, ref, toValue, onBeforeUnmount } from 'vue'
+import { useForm } from '~/composables/useForm.js' // Assuming useForm handles vForm setup
+import { FormMode, createFormModeStrategy } from '../FormModeStrategy'
+import { useFormStructure } from './useFormStructure'
+import { useFormInitialization } from './useFormInitialization'
+import { useFormValidation } from './useFormValidation'
+import { useFormSubmission } from './useFormSubmission'
+import { useFormPayment } from './useFormPayment'
+import { useFormTimer } from './useFormTimer'
+import { usePendingSubmission } from '~/lib/forms/composables/usePendingSubmission.js'
+import { usePartialSubmission } from '~/composables/forms/usePartialSubmission.js'
+import { useIsIframe } from '~/composables/useIsIframe'
+import { useAmplitude } from '~/composables/useAmplitude'
+import { useConfetti } from '~/composables/useConfetti'
+import { cloneDeep } from 'lodash'
+
+/**
+ * @fileoverview Main orchestrator composable for form operations.
+ * Initializes and coordinates various form composables (Structure, Init, Validation, etc.)
+ * based on the provided form configuration and mode.
+ */
+export function useFormManager(initialFormConfig, mode = FormMode.LIVE, options = {}) {
+ // --- Reactive State ---
+ const config = ref(initialFormConfig) // Use ref for potentially replaceable config
+ const form = useForm() // Core vForm instance
+ const strategy = computed(() => createFormModeStrategy(mode)) // Strategy based on mode
+
+ // Use the passed darkMode ref if it's a ref, otherwise create a new ref
+ const darkMode = options.darkMode && typeof options.darkMode === 'object' && 'value' in options.darkMode
+ ? options.darkMode
+ : ref(options.darkMode || false)
+
+ const state = reactive({
+ currentPage: 0,
+ isSubmitted: false,
+ isProcessing: false, // Unified flag for async ops
+ })
+
+ // --- Initialize services that depend on config and form data ---
+ // Create a reactive reference to the form data for dependent composables to watch
+ const formDataRef = computed(() => form.data())
+
+ // Instantiate pending submission service (handles localStorage saving)
+ const pendingSubmissionService = usePendingSubmission(config, formDataRef)
+
+ // Instantiate partial submission service (handles server auto-sync)
+ const partialSubmissionService = usePartialSubmission(config, formDataRef, pendingSubmissionService)
+
+ // --- Instantiate Other Composables (Services) ---
+ const timer = useFormTimer(pendingSubmissionService)
+ const initialization = useFormInitialization(config, form, pendingSubmissionService)
+ const structure = useFormStructure(config, state, form)
+ const validation = useFormValidation(config, form, state)
+ const payment = useFormPayment(config, form)
+ const submission = useFormSubmission(config, form)
+
+ /**
+ * Initializes the form: loads data, resets state, starts timer.
+ * @param {Object} options - Initialization options (passed to useFormInitialization).
+ */
+ const initialize = async (options = {}) => {
+ state.isProcessing = true
+ state.isSubmitted = false
+ state.currentPage = 0
+
+ await initialization.initialize({
+ ...options
+ })
+
+ timer.reset()
+ timer.start()
+
+ // Start partial submission sync if enabled
+ if (import.meta.client && config.value.enable_partial_submissions) {
+ partialSubmissionService.startSync()
+ }
+
+ state.isProcessing = false
+ }
+
+ /**
+ * Navigates to the next page, handling validation and payment intent creation.
+ */
+ const nextPage = async () => {
+ if (state.isProcessing) return false
+ state.isProcessing = true
+
+ try {
+ const currentPageFields = structure.getPageFields(state.currentPage)
+ // Use computed isLastPage directly from structure composable
+ const isCurrentlyLastPage = structure.isLastPage.value
+
+ // 1. Validate current page
+ await validation.validateCurrentPage(currentPageFields, strategy.value)
+
+ // 2. Process payment (Create Payment Intent if applicable)
+ const paymentBlock = structure.currentPagePaymentBlock.value
+ if (paymentBlock) {
+ // In editor/test mode (not LIVE), skip payment validation
+ const isPaymentRequired = mode === FormMode.LIVE ? !!paymentBlock.required : false
+
+ // Pass required refs if Stripe needs them now (unlikely for just intent creation)
+ const paymentResult = await payment.processPayment(paymentBlock, isPaymentRequired)
+ if (!paymentResult.success) {
+ throw paymentResult.error || new Error('Payment intent creation failed')
+ }
+ }
+
+ // 3. Move to the next page if not the last
+ if (!isCurrentlyLastPage) {
+ state.currentPage++
+ }
+ state.isProcessing = false
+ return true
+
+ } catch {
+ // Use validation composable's failure handler
+ validation.onValidationFailure({
+ fieldGroups: structure.fieldGroups.value, // Pass reactive groups
+ setPageIndexCallback: (index) => { state.currentPage = index },
+ timerService: timer // Pass the timer composable instance
+ })
+ state.isProcessing = false
+ return false
+ }
+ }
+
+ /** Navigates to the previous page */
+ const previousPage = () => {
+ if (state.currentPage > 0 && !state.isProcessing) {
+ state.currentPage--
+ }
+ }
+
+ /**
+ * Attempts the final form submission.
+ * Handles timer stop, final validation, captcha, and submission call.
+ * @param {Object} submitOptions - Optional extra data for submission.
+ * @returns {Promise<Object>} Result from submission composable.
+ */
+ const submit = async (submitOptions = {}) => {
+ if (state.isProcessing) {
+ return Promise.reject('Processing')
+ }
+ state.isProcessing = true
+
+ try {
+ // Stop partial submission sync during submission if enabled
+ if (!import.meta.server && toValue(config).enable_partial_submissions) {
+ partialSubmissionService.stopSync() // This will sync immediately before stopping
+ }
+
+ // 1. Stop Timer & Get Time
+ timer.stop()
+ const completionTime = timer.getCompletionTime()
+
+ // 2. Process payment if applicable
+ const paymentBlock = structure.currentPagePaymentBlock.value
+ if (paymentBlock) {
+
+ // In editor/test mode (not LIVE), skip payment validation
+ const isPaymentRequired = mode === FormMode.LIVE ? !!paymentBlock.required : false
+
+ const paymentResult = await payment.processPayment(paymentBlock, isPaymentRequired)
+
+ if (!paymentResult.success) {
+ // If payment was skipped because it's not required, we continue
+ if (!paymentResult.skipped) {
+ // Payment error - don't proceed with submission
+ state.isProcessing = false
+ throw new Error(paymentResult.error || 'Payment failed')
+ }
+ }
+ }
+
+ // 3. Get submission hash from partialSubmission if enabled
+ let submissionHash = null
+ if (!import.meta.server && toValue(config).enable_partial_submissions) {
+ submissionHash = partialSubmissionService.getSubmissionHash()
+ }
+
+ // 4. Perform Submission (using submission composable)
+ const submissionResult = await submission.submit({
+ formModeStrategy: strategy.value,
+ completionTime: completionTime,
+ submissionHash: submissionHash,
+ ...submitOptions
+ })
+
+ // 5. Update State on Success
+ state.isSubmitted = true
+ state.isProcessing = false
+
+ // 6. Play confetti if enabled in config
+ if (import.meta.client && toValue(config).confetti_on_submission) {
+ useConfetti().play()
+ }
+
+ // 7. Clear pending submission data on successful submit
+ pendingSubmissionService?.clear()
+
+ // 8. Handle amplitude logging
+ if (import.meta.client) {
+ const amplitude = useAmplitude()
+ amplitude.logEvent('form_submission', {
+ workspace_id: toValue(config).workspace_id,
+ form_id: toValue(config).id
+ })
+ }
+
+ // 9. Handle postMessage communication for iframe integration
+ if (import.meta.client) {
+ const isIframe = useIsIframe()
+ const formConfig = toValue(config)
+ const payload = cloneDeep({
+ type: 'form-submitted',
+ form: {
+ slug: formConfig.slug,
+ id: formConfig.id,
+ redirect_target_url: (formConfig.is_pro && submissionResult?.redirect && submissionResult?.redirect_url)
+ ? submissionResult.redirect_url
+ : null
+ },
+ submission_data: form.data(),
+ completion_time: completionTime
+ })
+
+ // Send message to parent if in iframe
+ if (isIframe) {
+ window.parent.postMessage(payload, '*')
+ }
+ // Also send to current window for potential internal listeners
+ window.postMessage(payload, '*')
+ }
+
+ // 10. Handle redirect if server response includes redirect info
+ if (import.meta.client && submissionResult?.redirect && submissionResult?.redirect_url) {
+ window.location.href = submissionResult.redirect_url
+ }
+
+ return submissionResult // Return result from submission composable
+
+ } catch (error) {
+ // Restart partial submission sync if there was an error and it's enabled
+ if (!import.meta.server && toValue(config).enable_partial_submissions) {
+ partialSubmissionService.startSync()
+ }
+
+ // Handle validation or submission errors using validation composable's handler
+ validation.onValidationFailure({
+ fieldGroups: structure.fieldGroups.value,
+ setPageIndexCallback: (index) => { state.currentPage = index },
+ timerService: timer
+ })
+ state.isProcessing = false
+ throw error
+ }
+ }
+
+ /** Resets the form to its initial state for refilling. */
+ const restart = async () => {
+ state.isSubmitted = false
+ state.currentPage = 0
+ state.isProcessing = false
+ form.reset() // Reset vForm data
+ form.errors.clear() // Clear vForm errors
+ timer.reset() // Reset timer via composable
+ timer.start() // Restart timer
+
+ // Restart partial submission if enabled
+ if (!import.meta.server && toValue(config).enable_partial_submissions) {
+ partialSubmissionService.stopSync() // This will sync immediately before stopping
+ partialSubmissionService.startSync() // Start fresh sync
+ }
+ }
+
+ // Clean up when component using the manager is unmounted
+ if (import.meta.client) {
+ onBeforeUnmount(() => {
+ if (toValue(config).enable_partial_submissions) {
+ partialSubmissionService.stopSync()
+ }
+ })
+ }
+
+ // --- Exposed API ---
+ return {
+ // Reactive State & Config
+ state, // Core state (currentPage, isProcessing, isSubmitted)
+ config, // Form configuration (ref)
+ form, // The vForm instance (from useForm)
+ strategy, // Current mode strategy (computed)
+ pendingSubmission: pendingSubmissionService, // Expose pendingSubmission service
+ partialSubmission: partialSubmissionService, // Expose partialSubmission service with debounced sync
+
+ // UI-related properties
+ darkMode, // Dark mode setting
+ setDarkMode: (isDark) => { darkMode.value = isDark }, // Method to update dark mode
+
+ // Composables (Expose if direct access needed, often not necessary)
+ structure,
+ payment, // Expose payment service
+
+ // Core Methods
+ initialize,
+ nextPage,
+ previousPage,
+ submit,
+ restart,
+
+ // Convenience Computed Getters for vForm state
+ data: computed(() => form.data()),
+ errors: computed(() => form.errors),
+ isDirty: computed(() => form.isDirty),
+ busy: computed(() => form.busy), // Or potentially combine with state.isProcessing
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/useFormPayment.js b/client/lib/forms/composables/useFormPayment.js
new file mode 100644
index 000000000..d250235ce
--- /dev/null
+++ b/client/lib/forms/composables/useFormPayment.js
@@ -0,0 +1,360 @@
+import { toValue, ref } from 'vue'
+import { createStripeElements } from '~/composables/useStripeElements'
+import { opnFetch } from '~/composables/useOpnApi.js'
+// Assume Stripe is loaded globally or via another mechanism if needed client-side
+// For server-side/Nuxt API routes, import Stripe library properly.
+
+/**
+ * @fileoverview Composable for handling payment processing, currently focused on Stripe.
+ */
+export function useFormPayment(formConfig, form) {
+ const stripeElements = ref(null)
+
+ /**
+ * Gets payment-related data for a specific payment block
+ * @param {Object} paymentBlock - The payment field configuration
+ * @returns {Object|null} Payment data including stripeElements or null if not applicable
+ */
+ const getPaymentData = (paymentBlock) => {
+ if (!import.meta.client || !paymentBlock || paymentBlock.type !== 'payment') return null
+
+ // Create Stripe elements if needed and this is a Stripe payment
+ if (paymentBlock.provider === 'stripe' || !paymentBlock.provider) {
+ // Ensure account ID is a string (Stripe.js requires a string)
+ const accountId = paymentBlock.stripe_account_id ? String(paymentBlock.stripe_account_id) : null
+
+ if (!stripeElements.value) {
+ // Create the Stripe elements with the account ID
+ stripeElements.value = createStripeElements(accountId)
+ } else if (stripeElements.value && accountId) {
+ // Update the account ID if the instance already exists
+ // Use the proper setter method to avoid readonly errors
+ if (typeof stripeElements.value.setAccountId === 'function') {
+ stripeElements.value.setAccountId(accountId)
+ }
+ }
+
+ return {
+ stripeElements: stripeElements.value,
+ oauthProviderId: accountId
+ }
+ }
+ return null
+ }
+
+ /**
+ * Creates a payment intent with the Stripe API using a POST request.
+ * @param {Number} amount - The amount to charge in cents.
+ * @param {String} currency - The currency code (e.g., 'usd').
+ * @param {String} description - A description for the payment.
+ * @returns {Promise<Object>} The result of creating the payment intent.
+ */
+ const _createPaymentIntent = async (_amount, _currency, _description) => {
+ if (!import.meta.client) {
+ return { success: false, error: 'Client-side only operation' }
+ }
+
+ try {
+
+ // Get form slug from config
+ const config = toValue(formConfig)
+ const formSlug = config.slug
+
+ if (!formSlug) {
+ console.error('Missing form slug in config')
+ return { success: false, error: 'Invalid form configuration' }
+ }
+
+ // Construct the URL (no query params needed for POST)
+ const url = `/forms/${formSlug}/stripe-connect/payment-intent`
+
+ // Use opnFetch with POST method and an empty body
+ const response = await opnFetch(url, {
+ method: 'POST',
+ body: {}
+ })
+
+ // Handle response structure with type and intent fields
+ if (response?.type === 'success' && response?.intent?.secret) {
+ return {
+ success: true,
+ client_secret: response.intent.secret,
+ intentId: response.intent.id
+ }
+ }
+
+ // Handle error response
+ return {
+ success: false,
+ error: response?.message || 'Could not create payment: Invalid response from server'
+ }
+ } catch (error) {
+ return {
+ success: false,
+ error: error.message || 'Failed to create payment'
+ }
+ }
+ }
+
+ /**
+ * Confirms the Stripe payment on the client-side using Stripe.js.
+ * @param {String} clientSecret - The Stripe client secret.
+ * @param {String} paymentBlockId - The ID of the payment block for setting errors.
+ * @returns {Promise<Object>} The result of the payment confirmation.
+ */
+ const _confirmStripePayment = async (clientSecret, paymentBlockId) => {
+ if (!import.meta.client) {
+ return { success: false, error: 'Client-side only operation' }
+ }
+
+ if (!stripeElements.value || !stripeElements.value.state) {
+ return { success: false, error: 'Stripe elements not initialized' }
+ }
+
+ const state = stripeElements.value.state
+ const { stripe, card } = state
+
+ if (!stripe || !card) {
+ const error = 'Stripe or card element not available'
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ try {
+ const result = await stripe.confirmCardPayment(clientSecret, {
+ payment_method: {
+ card: card,
+ billing_details: {
+ name: state.cardHolderName || '',
+ email: state.cardHolderEmail || ''
+ }
+ },
+ receipt_email: state.cardHolderEmail
+ })
+
+ // Check for errors
+ if (result.error) {
+ console.error('Payment confirmation error:', result.error)
+ const errorMessage = result.error.message || 'Payment failed. Please try again.'
+
+ if (paymentBlockId) {
+ form.errors.set(paymentBlockId, errorMessage)
+ }
+
+ return {
+ success: false,
+ error: errorMessage,
+ code: result.error.code,
+ type: result.error.type
+ }
+ }
+
+ // Handle payment intent status
+ if (result.paymentIntent) {
+ const status = result.paymentIntent.status
+ const intentId = result.paymentIntent.id
+
+ // Store successful payment intent ID
+ if (status === 'succeeded' || status === 'processing') {
+ // Update form data with payment information
+ const updateData = {}
+ updateData['stripe_payment_intent_id'] = intentId
+ updateData['payment_status'] = status
+
+ // Update payment block field with intent ID
+ if (paymentBlockId) {
+ updateData[paymentBlockId] = intentId
+ }
+
+ // Update form data
+ form.update(updateData)
+
+ // Also update the Stripe state
+ if (state.intentId !== intentId && stripeElements.value.setIntentId) {
+ stripeElements.value.setIntentId(intentId)
+ }
+
+ return {
+ success: true,
+ paymentIntent: result.paymentIntent,
+ status: status,
+ intentId: intentId
+ }
+ } else {
+ // Payment intent exists but status is not successful
+ const failMessage = `Payment failed with status: ${status}`
+ console.error(failMessage)
+
+ if (paymentBlockId) {
+ form.errors.set(paymentBlockId, failMessage)
+ }
+
+ return { success: false, error: failMessage }
+ }
+ }
+
+ // If we get here, something unexpected happened
+ const unexpectedError = 'Payment failed with an unexpected error'
+ if (paymentBlockId) {
+ form.errors.set(paymentBlockId, unexpectedError)
+ }
+
+ return { success: false, error: unexpectedError }
+
+ } catch (error) {
+ console.error('Payment confirmation error:', error)
+
+ const errorMessage = error.message || 'Payment confirmation failed'
+
+ if (paymentBlockId) {
+ form.errors.set(paymentBlockId, errorMessage)
+ }
+
+ return {
+ success: false,
+ error: errorMessage,
+ code: error.code,
+ type: error.type
+ }
+ }
+ }
+
+ /**
+ * Process a payment for the form
+ * @param {Object} paymentBlock - The payment block from the form config
+ * @param {Boolean} isRequired - Whether payment is required
+ * @returns {Promise<Object>} The result of the payment processing
+ */
+ const processPayment = async (paymentBlock, isRequired = true) => {
+ // Only process payments on the client side
+ if (!import.meta.client) {
+ console.warn('Payment processing attempted on server')
+ return { success: false, error: 'Payment can only be processed in the browser' }
+ }
+
+ // Validate the payment block
+ if (!paymentBlock || paymentBlock.type !== 'payment') {
+ console.error('Invalid payment block provided:', paymentBlock)
+ return { success: false, error: 'Invalid payment block' }
+ }
+
+ const paymentBlockId = paymentBlock.id
+
+ // First check for existing payment in form data
+ const existingPaymentId = form[paymentBlockId]
+ if (existingPaymentId && isPaymentIntentId(existingPaymentId)) {
+ return { success: true, intentId: existingPaymentId }
+ }
+
+ // Check if Stripe elements are initialized
+ if (!stripeElements.value || !stripeElements.value.state) {
+ console.error('Stripe elements not initialized')
+ if (paymentBlockId) form.errors.set(paymentBlockId, 'Payment system not ready')
+ return { success: false, error: 'Stripe elements not initialized' }
+ }
+
+ const state = stripeElements.value.state
+ const { stripe, card } = state
+
+ // Check if Stripe is loaded
+ if (!stripe) {
+ const error = 'Stripe.js not initialized'
+ console.error(error)
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ // Check if card is complete
+ const cardComplete = card && !card._empty
+ if (!cardComplete) {
+ // If payment is not required and card is empty, just skip payment
+ if (!isRequired) {
+ return { success: true, skipped: true }
+ }
+
+ const error = 'Please enter your card details'
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ // Validate billing details
+ if (!state.cardHolderName) {
+ const error = 'Please enter the name on your card'
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ if (!state.cardHolderEmail) {
+ const error = 'Please enter your billing email'
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ try {
+ // Step 1: Create payment intent
+ const config = toValue(formConfig)
+ const formSlug = config.slug
+
+ if (!formSlug) {
+ const error = 'Missing form slug'
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ // Create payment intent
+ const intentResult = await _createPaymentIntent(
+ paymentBlock.amount,
+ paymentBlock.currency || 'usd',
+ paymentBlock.description || ''
+ )
+
+ if (!intentResult.success || !intentResult.client_secret) {
+ const error = intentResult.error || 'Failed to create payment intent'
+ console.error('Payment intent creation failed:', error)
+ if (paymentBlockId) form.errors.set(paymentBlockId, error)
+ return { success: false, error }
+ }
+
+ // Step 2: Confirm payment with Stripe
+ const confirmResult = await _confirmStripePayment(intentResult.client_secret, paymentBlockId)
+
+ // Return the result from confirmation
+ return confirmResult
+
+ } catch (error) {
+ console.error('Payment processing error:', error)
+ const errorMessage = error.message || 'Payment processing failed'
+ if (paymentBlockId) form.errors.set(paymentBlockId, errorMessage)
+ return { success: false, error: errorMessage }
+ }
+ }
+
+ /**
+ * Confirms a Stripe payment with given client secret.
+ * This method is available for direct usage if needed.
+ * @param {String} clientSecret - The client secret from a payment intent
+ * @param {String} [paymentBlockId] - Optional ID of payment block for error display
+ * @returns {Promise<Object>} The result of payment confirmation
+ */
+ const confirmStripePayment = async (clientSecret, paymentBlockId) => {
+ if (!clientSecret) {
+ console.error('Missing client secret for payment confirmation')
+ return { success: false, error: 'Invalid payment data' }
+ }
+
+ return await _confirmStripePayment(clientSecret, paymentBlockId)
+ }
+
+ // Helper function to check if a value looks like a Stripe payment intent ID
+ const isPaymentIntentId = (value) => {
+ return typeof value === 'string' && value.startsWith('pi_')
+ }
+
+ // Expose the main payment processing function
+ return {
+ processPayment,
+ getPaymentData,
+ createPaymentIntent: _createPaymentIntent,
+ confirmStripePayment
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/useFormStructure.js b/client/lib/forms/composables/useFormStructure.js
new file mode 100644
index 000000000..7bb6bea54
--- /dev/null
+++ b/client/lib/forms/composables/useFormStructure.js
@@ -0,0 +1,366 @@
+import { computed, toValue } from 'vue'
+import FormLogicPropertyResolver from '~/lib/forms/FormLogicPropertyResolver.js'
+
+/**
+ * @fileoverview Composable responsible for analyzing and managing the structural aspects of a form,
+ * including page breaks, field grouping, page boundaries, and determining field locations.
+ */
+export function useFormStructure(formConfig, managerState, formData) {
+ const form = computed(() => toValue(formConfig) || { properties: [] })
+
+ /**
+ * Checks if a field is hidden based on form logic.
+ * Uses FormLogicPropertyResolver.
+ * @param {Object} field - The field configuration object.
+ * @returns {Boolean} True if the field is hidden, false otherwise.
+ */
+ const isFieldHidden = (field) => {
+ try {
+ // Use the formData ref passed into the composable
+ const currentFormData = toValue(formData) || {}
+ return new FormLogicPropertyResolver(field, currentFormData).isHidden()
+ } catch (e) {
+ console.error("Error checking if field is hidden:", field?.id, e)
+ return field?.hidden || false // Fallback
+ }
+ }
+
+ /**
+ * Calculates the groups of fields based on non-hidden page breaks.
+ * @returns {Array<Array<Object>>} Nested array where each inner array represents a page.
+ */
+ const calculateFieldGroups = () => {
+ const properties = form.value.properties || []
+ if (properties.length === 0) return [[]]
+
+ const groups = []
+ let currentGroup = []
+
+ properties.forEach((field, index) => {
+ currentGroup.push(field)
+
+ // Check if the field is a page break AND it's not hidden
+ if (field.type === 'nf-page-break' && !isFieldHidden(field)) {
+ groups.push([...currentGroup])
+ if (index < properties.length - 1) {
+ currentGroup = []
+ }
+ }
+ })
+
+ // Add the last group if it's not empty AND the last field wasn't a non-hidden page break
+ const lastProperty = properties[properties.length - 1]
+ if (currentGroup.length > 0 && (!lastProperty || lastProperty.type !== 'nf-page-break' || isFieldHidden(lastProperty))) {
+ groups.push(currentGroup)
+ }
+
+ // Ensure at least one group exists
+ if (groups.length === 0) {
+ groups.push([])
+ }
+
+ return groups
+ }
+
+ /**
+ * Reactive computed property holding the field groups.
+ */
+ const fieldGroups = computed(calculateFieldGroups)
+
+ /**
+ * Reactive computed property holding the total number of pages.
+ */
+ const pageCount = computed(() => {
+ const groups = fieldGroups.value
+ const count = groups ? groups.length : 0
+ return count
+ })
+
+ /**
+ * Calculates the start and end indices for each page.
+ * @returns {Array<Object>} Array of boundary objects { start, end }.
+ */
+ const calculatePageBoundaries = () => {
+ const properties = form.value.properties || []
+ if (properties.length === 0) {
+ return [{ start: 0, end: -1 }] // Empty form
+ }
+
+ const boundaries = []
+ let startIndex = 0
+ let visibleBreakFound = false
+
+ properties.forEach((field, index) => {
+ // Check if the field is a page break AND it's not hidden
+ if (field.type === 'nf-page-break' && !isFieldHidden(field)) {
+ visibleBreakFound = true
+ // The page ends *at* the page break field
+ boundaries.push({ start: startIndex, end: index })
+ // The next page starts *after* the page break field
+ startIndex = index + 1
+ }
+ })
+
+ // If no visible page breaks were found, the entire form is a single page
+ if (!visibleBreakFound) {
+ return [{ start: 0, end: properties.length - 1 }]
+ }
+
+ // Add the boundary for the last page if there are fields after the last visible break
+ if (startIndex < properties.length) {
+ boundaries.push({ start: startIndex, end: properties.length - 1 })
+ }
+ // If the last field was a visible page break, startIndex will equal properties.length,
+ // and we don't add an extra empty page boundary.
+
+ // Safety check: Ensure at least one boundary exists if properties are not empty
+ if (boundaries.length === 0 && properties.length > 0) {
+ return [{ start: 0, end: properties.length - 1 }]
+ }
+
+ return boundaries
+ }
+
+
+ /**
+ * Reactive computed property holding the page boundaries.
+ */
+ const pageBoundaries = computed(calculatePageBoundaries)
+
+ /**
+ * Reactive computed property for the page break field ending the current page.
+ */
+ const currentPageBreak = computed(() => {
+ const groups = fieldGroups.value
+ if (!managerState || !groups) return null
+
+ const currentPageIndex = managerState.currentPage
+ if (currentPageIndex < 0 || currentPageIndex >= groups.length) return null
+
+ const currentPageFields = groups[currentPageIndex] || []
+ if (currentPageFields.length === 0) return null
+
+ const lastField = currentPageFields[currentPageFields.length - 1]
+ // It's the current page break only if it's a page break and *not hidden*
+ return (lastField && lastField.type === 'nf-page-break' && !isFieldHidden(lastField)) ? lastField : null
+ })
+
+ /**
+ * Reactive computed property for the page break field ending the previous page.
+ */
+ const previousPageBreak = computed(() => {
+ const groups = fieldGroups.value
+ if (!managerState || !groups || managerState.currentPage <= 0) return null
+
+ const previousPageIndex = managerState.currentPage - 1
+ if (previousPageIndex < 0 || previousPageIndex >= groups.length) return null
+
+ const previousPageFields = groups[previousPageIndex] || []
+ if (previousPageFields.length === 0) return null
+
+ const lastField = previousPageFields[previousPageFields.length - 1]
+ // It's the previous page break only if it's a page break and *not hidden*
+ return (lastField && lastField.type === 'nf-page-break' && !isFieldHidden(lastField)) ? lastField : null
+ })
+
+ /**
+ * Reactive computed property indicating if the current page is the last one.
+ */
+ const isLastPage = computed(() => {
+ if (managerState?.currentPage === undefined || managerState?.currentPage === null || pageCount.value === undefined) {
+ // console.warn('[useFormStructure] isLastPage: Invalid state, returning default true.');
+ return true // Default true for safety in simple forms
+ }
+ const result = managerState.currentPage === pageCount.value - 1
+ return result
+ })
+
+ /**
+ * Reactive computed property checking if current page has a payment block
+ */
+ const currentPageHasPaymentBlock = computed(() => {
+ if (managerState?.currentPage === undefined || managerState?.currentPage === null) return false
+
+ return hasPaymentBlock(managerState.currentPage)
+ })
+
+ /**
+ * Reactive computed property returning the payment block from the current page, if any
+ */
+ const currentPagePaymentBlock = computed(() => {
+ if (managerState?.currentPage === undefined || managerState?.currentPage === null) return undefined
+
+ return getPaymentBlock(managerState.currentPage)
+ })
+
+ /**
+ * Gets the fields for a specific page index.
+ * @param {Number} pageIndex - The index of the page.
+ * @returns {Array<Object>} Array of field objects for the page.
+ */
+ const getPageFields = (pageIndex) => {
+ const groups = fieldGroups.value
+ if (!groups) {
+ console.warn("useFormStructure: getPageFields called but fieldGroups is undefined.")
+ return []
+ }
+ return groups[pageIndex] || []
+ }
+
+ /**
+ * Determines the page index for a given field index within the form properties array.
+ * @param {Number} fieldIndex - The index of the field in the form.properties array.
+ * @returns {Number} The page index (0-based).
+ */
+ const getPageForField = (fieldIndex) => {
+ // Basic validation for field index
+ if (fieldIndex === null || fieldIndex === undefined ||
+ typeof fieldIndex !== 'number' || isNaN(fieldIndex) || fieldIndex < 0) {
+ console.warn(`Invalid field index passed to getPageForField: ${fieldIndex}`)
+ return 0 // Default to first page for invalid indexes
+ }
+
+ const properties = form.value.properties || []
+ if (properties.length === 0 || fieldIndex >= properties.length) {
+ return 0 // Default to first page
+ }
+
+ const boundaries = pageBoundaries.value
+ if (!boundaries || boundaries.length === 0) return 0
+
+ // If only one boundary (covers all), it's page 0
+ if (boundaries.length === 1 && boundaries[0].start === 0) {
+ return 0
+ }
+
+ for (let i = 0; i < boundaries.length; i++) {
+ const { start, end } = boundaries[i]
+ if (fieldIndex >= start && fieldIndex <= end) {
+ return i
+ }
+ }
+
+ // Fallback: Should technically not be reached with correct boundaries
+ console.warn(`[useFormStructure] getPageForField: Field index ${fieldIndex} not found within calculated boundaries. Returning last page index.`)
+ return Math.max(0, boundaries.length - 1)
+ }
+
+ /**
+ * Checks if a given page contains a payment block.
+ * @param {Number} pageIndex - The page index.
+ * @returns {Boolean} True if a payment block exists on the page.
+ */
+ const hasPaymentBlock = (pageIndex) => {
+ return getPageFields(pageIndex).some(field => field?.type === 'payment')
+ }
+
+ /**
+ * Gets the payment block field object from a given page.
+ * @param {Number} pageIndex - The page index.
+ * @returns {Object|undefined} The payment field object or undefined if not found.
+ */
+ const getPaymentBlock = (pageIndex) => {
+ return getPageFields(pageIndex).find(field => field?.type === 'payment')
+ }
+
+ /**
+ * Determines the target index in the flat form.properties array for drag/drop operations.
+ * @param {number} currentFieldPageIndex - The relative index of the field within the current page's field list.
+ * @param {number} selectedFieldIndex - The original flat index of the field being dragged (often not needed here).
+ * @param {number} currentPageIndex - The index of the page where the drop occurs.
+ * @returns {number} The absolute index in the form.properties array.
+ */
+ const getTargetDropIndex = (relativeDropIndex, targetPageIndex) => {
+ const groups = fieldGroups.value
+ if (!groups) return relativeDropIndex // Fallback
+
+ let precedingFields = 0
+ for(let i = 0; i < targetPageIndex; i++) {
+ precedingFields += groups[i]?.length || 0
+ }
+ return precedingFields + relativeDropIndex
+ }
+
+ /**
+ * Sets the current page to the page containing the specified field.
+ * @param {Number} fieldIndex - The index of the field in the form.properties array.
+ * @returns {Number} The page index that was set.
+ */
+ const setPageForField = (fieldIndex) => {
+ // Get the page index, with additional validation
+ const pageIndex = getPageForField(fieldIndex)
+
+ // Ensure we have a valid numeric page index
+ if (typeof pageIndex !== 'number' || isNaN(pageIndex) || pageIndex < 0) {
+ console.warn('[useFormStructure] setPageForField: Invalid page index', pageIndex)
+ return
+ }
+
+ // Update the manager state with validated page index - DON'T USE toValue HERE
+ if (managerState && managerState.currentPage !== undefined) {
+ managerState.currentPage = pageIndex
+ }
+
+ return pageIndex
+ }
+
+ /**
+ * Determines the correct index to insert a new field.
+ * Considers selected field index and current page boundaries.
+ * @param {Number|null} selectedFieldIndex - The index of the currently selected field in form.properties.
+ * @param {Number} currentPageIndex - The current page index.
+ * @param {Number|null} [explicitIndex=null] - An explicitly provided insert index.
+ * @returns {Number} The calculated index for insertion.
+ */
+ const determineInsertIndex = (selectedFieldIndex, currentPageIndex, explicitIndex = null) => {
+ if (explicitIndex !== null && typeof explicitIndex === 'number') {
+ return explicitIndex
+ }
+
+ if (selectedFieldIndex !== null && selectedFieldIndex !== undefined && selectedFieldIndex >= 0) {
+ return selectedFieldIndex + 1
+ }
+
+ const properties = form.value.properties || []
+ if (properties.length === 0) {
+ return 0
+ }
+
+ const boundaries = pageBoundaries.value
+ // Use managerState directly without toValue
+ const pageIdx = currentPageIndex ?? managerState?.currentPage ?? 0 // Use provided or state page index
+
+ if (!boundaries || boundaries.length === 0 || pageIdx >= boundaries.length || pageIdx < 0) {
+ // Fallback to end of the form if boundaries/page index is invalid
+ return properties.length
+ }
+
+ const currentBoundary = boundaries[pageIdx]
+ // Insert at the end of the current page (index after the last field of that page)
+ return currentBoundary.end + 1
+ }
+
+ // --- Exposed API ---
+ return {
+ // Reactive Computed Properties
+ fieldGroups,
+ pageCount,
+ pageBoundaries,
+ currentPageBreak,
+ previousPageBreak,
+ isLastPage,
+ currentPage: computed(() => managerState?.currentPage ?? 0),
+ currentPageHasPaymentBlock,
+ currentPagePaymentBlock,
+
+ // Methods
+ getPageFields, // Get fields for a specific page
+ getPageForField, // Find which page a field index belongs to
+ hasPaymentBlock, // Check if a page has a payment block
+ getPaymentBlock, // Get the payment block from a page
+ isFieldHidden, // Check if a specific field is hidden by logic
+ getTargetDropIndex, // Calculate absolute index for drag/drop
+ determineInsertIndex, // Calculate where to insert a new field
+ setPageForField // Set the current page to the page containing the specified field
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/useFormSubmission.js b/client/lib/forms/composables/useFormSubmission.js
new file mode 100644
index 000000000..883ea4a3b
--- /dev/null
+++ b/client/lib/forms/composables/useFormSubmission.js
@@ -0,0 +1,77 @@
+import { toValue } from 'vue'
+
+/**
+ * @fileoverview Composable for handling the final form submission process.
+ */
+export function useFormSubmission(formConfig, form) {
+
+ /**
+ * Prepares additional metadata for the submission payload.
+ * Focuses only on metadata fields, not the form data itself.
+ * @param {Object} options - Options containing completionTime, captchaToken, etc.
+ * @returns {Object} Metadata to be included in the submission request.
+ */
+ const _prepareMetadata = (options = {}) => {
+ const metadata = {}
+
+ // Add completion time if provided
+ if (options.completionTime !== undefined) {
+ metadata.completion_time = options.completionTime
+ }
+
+ // Add captcha token if provided
+ if (options.captchaToken) {
+ metadata.captcha_token = options.captchaToken
+ }
+
+ // Add submission hash if provided (for partial submissions)
+ if (options.submissionHash) {
+ metadata.submission_hash = options.submissionHash
+ }
+
+ // Add submission ID if provided (for editable submissions)
+ if (options.submissionId) {
+ metadata.submission_id = options.submissionId
+ }
+
+ return metadata
+ }
+
+ /**
+ * Performs the form submission.
+ * @param {Object} options - Submission options.
+ * @param {Object} options.formModeStrategy - The strategy object.
+ * @param {Number} [options.completionTime] - Form completion time in seconds.
+ * @param {String} [options.captchaToken] - Captcha verification token.
+ * @param {String} [options.submissionHash] - Hash for partial submissions.
+ * @param {String} [options.submissionId] - ID for editable submissions.
+ * @returns {Promise<Object>} The response data from the submission endpoint.
+ * @throws {Error} If submission fails.
+ */
+ const submit = async (options = {}) => {
+ // Get the form slug from config
+ const formSlug = formConfig.value.slug
+ // Get the URL for form submission
+ const url = `/forms/${formSlug}/answer`
+ // Prepare metadata only (form data will be auto-merged by Form.js)
+ const metadata = _prepareMetadata(options)
+
+ // Use the vForm post method, which will automatically merge form data with metadata
+ const response = await toValue(form).post(url, {
+ data: metadata
+ })
+
+ // Optionally reset form after successful submission based on strategy
+ const formModeStrategy = options.formModeStrategy
+ if (formModeStrategy?.submission?.resetAfterSubmit) {
+ toValue(form).reset()
+ }
+
+ return response
+ }
+
+ // Expose the main submission function
+ return {
+ submit,
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/useFormTimer.js b/client/lib/forms/composables/useFormTimer.js
new file mode 100644
index 000000000..29f89c928
--- /dev/null
+++ b/client/lib/forms/composables/useFormTimer.js
@@ -0,0 +1,115 @@
+import { ref } from 'vue'
+
+/**
+ * @fileoverview Composable for managing form completion time.
+ * Includes persistence in localStorage via pendingSubmission.
+ */
+export function useFormTimer(pendingSubmission) {
+ // Reactive state for timer
+ const startTime = ref(null)
+ const completionTime = ref(null)
+ const isTimerActive = ref(false)
+ const isInitialized = ref(false)
+
+ /**
+ * Loads timer data from localStorage if available.
+ * @returns {Boolean} Whether data was loaded successfully
+ */
+ const loadFromLocalStorage = () => {
+ if (import.meta.server || !pendingSubmission) return false
+
+ const savedTimer = pendingSubmission.getTimer()
+ if (savedTimer) {
+ startTime.value = parseInt(savedTimer)
+ return true
+ }
+ return false
+ }
+
+ /**
+ * Saves the current start time to localStorage.
+ */
+ const saveToLocalStorage = () => {
+ if (import.meta.server || !pendingSubmission) return
+
+ if (startTime.value) {
+ pendingSubmission.setTimer(startTime.value.toString())
+ } else {
+ pendingSubmission.removeTimer()
+ }
+ }
+
+ /**
+ * Starts the timer if not already active.
+ * Will load from localStorage on first call if available.
+ */
+ const start = () => {
+ if (isTimerActive.value) {
+ return
+ }
+
+ // If this is the first time starting, try to load from localStorage
+ if (!isInitialized.value) {
+ isInitialized.value = true
+ loadFromLocalStorage()
+ }
+
+ // Only set a new start time if one doesn't exist already
+ if (!startTime.value) {
+ startTime.value = Date.now()
+ }
+
+ isTimerActive.value = true
+ saveToLocalStorage()
+ }
+
+ /**
+ * Stops the timer if active and calculates completion time.
+ */
+ const stop = () => {
+ if (!isTimerActive.value) {
+ return
+ }
+
+ if (startTime.value) {
+ completionTime.value = Math.round((Date.now() - startTime.value) / 1000) // Time in seconds
+ } else {
+ completionTime.value = null
+ }
+
+ isTimerActive.value = false
+
+ // Don't clear local storage on stop - only on reset or explicit removal
+ }
+
+ /**
+ * Resets the timer state and clears localStorage.
+ */
+ const reset = () => {
+ startTime.value = null
+ completionTime.value = null
+ isTimerActive.value = false
+
+ if (pendingSubmission) {
+ pendingSubmission.removeTimer()
+ }
+ }
+
+ /**
+ * Returns the calculated completion time.
+ * @returns {Number|null} Completion time in seconds, or null if not available.
+ */
+ const getCompletionTime = () => {
+ return completionTime.value
+ }
+
+ // Expose reactive state and methods
+ return {
+ isTimerActive, // Expose reactive status
+ completionTime, // Expose reactive completion time
+ start,
+ stop,
+ reset,
+ getCompletionTime,
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/useFormValidation.js b/client/lib/forms/composables/useFormValidation.js
new file mode 100644
index 000000000..04b4c0c92
--- /dev/null
+++ b/client/lib/forms/composables/useFormValidation.js
@@ -0,0 +1,135 @@
+import { computed, toValue } from 'vue'
+
+/**
+ * @fileoverview Composable for handling form validation logic.
+ */
+export function useFormValidation(formConfig, form, managerState) {
+
+ const formRef = computed(() => toValue(form)) // Ensure reactivity with the form instance
+ const configRef = computed(() => toValue(formConfig)) // Ensure reactivity with config
+
+ /**
+ * Validates specific fields using the vForm instance's validate method.
+ * @param {Array<String>} fieldIds - Array of field IDs to validate.
+ * @param {String} [httpMethod='POST'] - HTTP method for the validation request.
+ * @returns {Promise<boolean>} Resolves true if validation passes, rejects with errors if fails.
+ */
+ const validateFields = async (fieldIds, httpMethod = 'POST') => {
+ if (!fieldIds || fieldIds.length === 0) {
+ return true // Nothing to validate
+ }
+
+ const config = configRef.value
+ const validationUrl = `/forms/${config.slug}/answer` // Use reactive config
+
+ // Use the reactive formRef
+ await formRef.value.validate(httpMethod, validationUrl, {}, fieldIds)
+ return true // Validation passed
+ }
+
+ /**
+ * Validates fields on the current page based on the form mode strategy.
+ * Excludes payment fields.
+ * @param {Array<Object>} currentPageFields - Array of field objects for the current page.
+ * @param {Object} formModeStrategy - The strategy object for the current mode.
+ * @returns {Promise<boolean>} Resolves true if validation passes or isn't required, rejects otherwise.
+ */
+ const validateCurrentPage = async (currentPageFields, formModeStrategy) => {
+ if (!formModeStrategy?.validation?.validateOnNextPage) {
+ return true
+ }
+
+ const fieldIdsToValidate = currentPageFields
+ .filter(field => field && field.id && field.type !== 'payment')
+ .map(field => field.id)
+
+ if (fieldIdsToValidate.length === 0) {
+ return true
+ }
+
+ await validateFields(fieldIdsToValidate)
+ return true
+ }
+
+ /**
+ * Validates all form fields before final submission, *unless* currently on the last page.
+ * @param {Array<Object>} allFields - Array of all field objects in the form.
+ * @param {Object} formModeStrategy - The strategy object for the current mode.
+ * @param {boolean} isCurrentlyLastPage - Boolean indicating if the *current* state is the last page.
+ * @returns {Promise<boolean>} Resolves true if validation passes or isn't required/skipped, rejects otherwise.
+ */
+ const validateSubmissionIfNotLastPage = async (allFields, formModeStrategy, isCurrentlyLastPage) => {
+ // Skip validation if we are already determined to be on the last page
+ if (isCurrentlyLastPage) {
+ return true
+ }
+
+ // Skip validation if strategy doesn't require it
+ if (!formModeStrategy?.validation?.validateOnSubmit) {
+ return true
+ }
+
+ const fieldIdsToValidate = allFields
+ .filter(field => field && field.id && field.type !== 'payment')
+ .map(field => field.id)
+
+ if (fieldIdsToValidate.length === 0) {
+ return true
+ }
+
+ await validateFields(fieldIdsToValidate)
+ return true
+ }
+
+ /**
+ * Finds the index of the first page containing validation errors.
+ * @param {Array<Array<Object>>} fieldGroups - Nested array of fields per page (from useFormStructure).
+ * @returns {number} Index of the first page with errors, or -1 if no errors found.
+ */
+ const findFirstPageWithError = (fieldGroups) => {
+ const errors = formRef.value.errors
+ if (!errors || !errors.any()) {
+ return -1 // No errors exist
+ }
+ if (!fieldGroups) return -1 // No groups to check
+
+ for (let i = 0; i < fieldGroups.length; i++) {
+ const pageHasError = fieldGroups[i]?.some(field => field && field.id && errors.has(field.id))
+ if (pageHasError) {
+ return i
+ }
+ }
+ return -1
+ }
+
+ /**
+ * Actions to perform on validation failure (e.g., during submit or page change).
+ * @param {Object} context - Object containing { fieldGroups, timerService, setPageIndexCallback }.
+ */
+ const onValidationFailure = (context) => {
+ const { fieldGroups, timerService, setPageIndexCallback } = context
+
+ // Restart timer using the timer composable instance
+ if (timerService && typeof timerService.start === 'function') {
+ timerService.start()
+ }
+
+ // Find and navigate to the first page with an error
+ if (fieldGroups && fieldGroups.length > 1 && typeof setPageIndexCallback === 'function') {
+ const errorPageIndex = findFirstPageWithError(fieldGroups)
+ if (errorPageIndex !== -1 && errorPageIndex !== managerState?.currentPage) {
+ setPageIndexCallback(errorPageIndex)
+ }
+ }
+ }
+
+ // --- Exposed API ---
+ return {
+ // Methods
+ validateFields,
+ validateCurrentPage,
+ validateSubmissionIfNotLastPage,
+ findFirstPageWithError,
+ onValidationFailure,
+ }
+}
\ No newline at end of file
diff --git a/client/lib/forms/composables/usePendingSubmission.js b/client/lib/forms/composables/usePendingSubmission.js
new file mode 100644
index 000000000..8414fa77b
--- /dev/null
+++ b/client/lib/forms/composables/usePendingSubmission.js
@@ -0,0 +1,124 @@
+import { hash } from "~/lib/utils.js"
+import { useStorage, watchThrottled } from "@vueuse/core"
+import { computed, toValue } from 'vue'
+
+/**
+ * Composable for managing pending form submission data and timer in localStorage.
+ * Includes throttled auto-saving of form data.
+ *
+ * @param {import('vue').Ref<Object>} formConfig - Reactive reference to the form configuration object.
+ * @param {import('vue').ComputedRef<Object>} formDataRef - Computed reference to the reactive form data object.
+ */
+export function usePendingSubmission(formConfig, formDataRef) {
+ const config = computed(() => toValue(formConfig)) // Ensure reactivity to config changes
+
+ const formPendingSubmissionKey = computed(() => {
+ const currentConfig = config.value
+ return currentConfig && typeof window !== 'undefined'
+ ? currentConfig.form_pending_submission_key + "-" + hash(window.location.href)
+ : ""
+ })
+
+ const formPendingSubmissionTimerKey = computed(() => {
+ return formPendingSubmissionKey.value ? formPendingSubmissionKey.value + "-timer" : ""
+ })
+
+ const enabled = computed(() => {
+ // Auto-save is enabled if the feature is turned on in the config
+ return config.value?.auto_save ?? false
+ })
+
+ // Internal function to save data to localStorage
+ const saveData = (value) => {
+ if (import.meta.server || !enabled.value || !formPendingSubmissionKey.value) return
+ try {
+ useStorage(formPendingSubmissionKey.value).value =
+ value === null ? null : JSON.stringify(value)
+ } catch (e) {
+ console.error("Error saving pending submission to localStorage:", e)
+ }
+ }
+
+ // Internal function to retrieve data from localStorage
+ const retrieveData = (defaultValue = {}) => {
+ if (import.meta.server || !enabled.value || !formPendingSubmissionKey.value) return defaultValue
+ try {
+ const storageValue = useStorage(formPendingSubmissionKey.value).value
+ return storageValue ? JSON.parse(storageValue) : defaultValue
+ } catch (e) {
+ console.error("Error reading pending submission from localStorage:", e)
+ // Attempt to clear corrupted data
+ remove()
+ return defaultValue
+ }
+ }
+
+ // Watch formDataRef with throttling
+ watchThrottled(
+ formDataRef,
+ (newData) => {
+ // Only save if enabled and on client
+ if (import.meta.client && enabled.value) {
+ saveData(newData)
+ }
+ },
+ { deep: true, throttle: 1000 } // Throttle saving to once per second
+ )
+
+ // --- Exposed Methods ---
+
+ const remove = () => {
+ // Clear the data from storage
+ saveData(null)
+ }
+
+ const get = (defaultValue = {}) => {
+ // Retrieve the currently stored data
+ return retrieveData(defaultValue)
+ }
+
+ const setSubmissionHash = (hash) => {
+ if (!enabled.value) return
+ const currentData = retrieveData()
+ saveData({
+ ...currentData,
+ submission_hash: hash
+ })
+ }
+
+ const getSubmissionHash = () => {
+ return retrieveData()?.submission_hash ?? null
+ }
+
+ const setTimer = (value) => {
+ if (import.meta.server || !formPendingSubmissionTimerKey.value) return
+ useStorage(formPendingSubmissionTimerKey.value).value = value
+ }
+
+ const removeTimer = () => {
+ setTimer(null)
+ }
+
+ const getTimer = (defaultValue = null) => {
+ if (import.meta.server || !formPendingSubmissionTimerKey.value) return defaultValue
+ return useStorage(formPendingSubmissionTimerKey.value, defaultValue).value
+ }
+
+ const clear = () => {
+ remove()
+ removeTimer()
+ }
+
+ return {
+ formPendingSubmissionKey, // Keep for potential external use (e.g., partial submission hash map key)
+ enabled,
+ get, // Method to retrieve stored data
+ remove, // Method to clear stored data
+ setSubmissionHash, // Method to specifically set the submission hash
+ getSubmissionHash, // Method to specifically get the submission hash
+ setTimer, // Method to set the timer value
+ removeTimer, // Method to clear the timer value
+ getTimer, // Method to get the timer value
+ clear, // Method to clear both data and timer
+ }
+}
diff --git a/client/lib/utils.js b/client/lib/utils.js
index 8838818ca..b982d5a8c 100644
--- a/client/lib/utils.js
+++ b/client/lib/utils.js
@@ -92,7 +92,7 @@ export const getDomain = function (url) {
try {
if (!url.startsWith("http")) url = "https://" + url
return new URL(url).hostname
- } catch (e) {
+ } catch {
return url
}
}
diff --git a/client/package-lock.json b/client/package-lock.json
index 3d6816e4b..d093ec709 100644
--- a/client/package-lock.json
+++ b/client/package-lock.json
@@ -66,6 +66,7 @@
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
+ "eslint-plugin-vue": "^10.1.0",
"nuxt": "^3.17.1",
"nuxt-utm": "^0.2.2",
"postcss": "^8.4.47",
@@ -148,13 +149,13 @@
}
},
"node_modules/@antfu/install-pkg": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.0.0.tgz",
- "integrity": "sha512-xvX6P/lo1B3ej0OsaErAjqgFYzYVcJpamjLAFLYh9vRJngBrMoUG7aVnrGTeqM7yxbyTD5p3F2+0/QUEh8Vzhw==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.1.0.tgz",
+ "integrity": "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==",
"license": "MIT",
"dependencies": {
- "package-manager-detector": "^0.2.8",
- "tinyexec": "^0.3.2"
+ "package-manager-detector": "^1.3.0",
+ "tinyexec": "^1.0.1"
},
"funding": {
"url": "https://github.com/sponsors/antfu"
@@ -170,44 +171,44 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.26.2",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz",
- "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
+ "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
"license": "MIT",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.25.9",
+ "@babel/helper-validator-identifier": "^7.27.1",
"js-tokens": "^4.0.0",
- "picocolors": "^1.0.0"
+ "picocolors": "^1.1.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/compat-data": {
- "version": "7.26.8",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz",
- "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==",
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.27.2.tgz",
+ "integrity": "sha512-TUtMJYRPyUb/9aU8f3K0mjmjf6M9N5Woshn2CS6nqJSeJtTtQcpLUXjGt9vbF8ZGff0El99sWkLgzwW3VXnxZQ==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/core": {
- "version": "7.26.10",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz",
- "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.1.tgz",
+ "integrity": "sha512-IaaGWsQqfsQWVLqMn9OB92MNN7zukfVA4s7KKAI0KfrrDsZ0yhi5uV4baBuLuN7n3vsZpwP8asPPcVwApxvjBQ==",
"license": "MIT",
"dependencies": {
"@ampproject/remapping": "^2.2.0",
- "@babel/code-frame": "^7.26.2",
- "@babel/generator": "^7.26.10",
- "@babel/helper-compilation-targets": "^7.26.5",
- "@babel/helper-module-transforms": "^7.26.0",
- "@babel/helpers": "^7.26.10",
- "@babel/parser": "^7.26.10",
- "@babel/template": "^7.26.9",
- "@babel/traverse": "^7.26.10",
- "@babel/types": "^7.26.10",
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.27.1",
+ "@babel/helper-compilation-targets": "^7.27.1",
+ "@babel/helper-module-transforms": "^7.27.1",
+ "@babel/helpers": "^7.27.1",
+ "@babel/parser": "^7.27.1",
+ "@babel/template": "^7.27.1",
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1",
"convert-source-map": "^2.0.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -232,13 +233,13 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.0.tgz",
- "integrity": "sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.1.tgz",
+ "integrity": "sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w==",
"license": "MIT",
"dependencies": {
- "@babel/parser": "^7.27.0",
- "@babel/types": "^7.27.0",
+ "@babel/parser": "^7.27.1",
+ "@babel/types": "^7.27.1",
"@jridgewell/gen-mapping": "^0.3.5",
"@jridgewell/trace-mapping": "^0.3.25",
"jsesc": "^3.0.2"
@@ -248,25 +249,25 @@
}
},
"node_modules/@babel/helper-annotate-as-pure": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz",
- "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.1.tgz",
+ "integrity": "sha512-WnuuDILl9oOBbKnb4L+DyODx7iC47XfzmNCpTttFsSp6hTG7XZxu60+4IO+2/hPfcGOoKbFiwoI/+zwARbNQow==",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.25.9"
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-compilation-targets": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.0.tgz",
- "integrity": "sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA==",
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
+ "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
"license": "MIT",
"dependencies": {
- "@babel/compat-data": "^7.26.8",
- "@babel/helper-validator-option": "^7.25.9",
+ "@babel/compat-data": "^7.27.2",
+ "@babel/helper-validator-option": "^7.27.1",
"browserslist": "^4.24.0",
"lru-cache": "^5.1.1",
"semver": "^6.3.1"
@@ -285,17 +286,17 @@
}
},
"node_modules/@babel/helper-create-class-features-plugin": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.27.0.tgz",
- "integrity": "sha512-vSGCvMecvFCd/BdpGlhpXYNhhC4ccxyvQWpbGL4CWbvfEoLFWUZuSuf7s9Aw70flgQF+6vptvgK2IfOnKlRmBg==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.27.1.tgz",
+ "integrity": "sha512-QwGAmuvM17btKU5VqXfb+Giw4JcN0hjuufz3DYnpeVDvZLAObloM77bhMXiqry3Iio+Ai4phVRDwl6WU10+r5A==",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.25.9",
- "@babel/helper-member-expression-to-functions": "^7.25.9",
- "@babel/helper-optimise-call-expression": "^7.25.9",
- "@babel/helper-replace-supers": "^7.26.5",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9",
- "@babel/traverse": "^7.27.0",
+ "@babel/helper-annotate-as-pure": "^7.27.1",
+ "@babel/helper-member-expression-to-functions": "^7.27.1",
+ "@babel/helper-optimise-call-expression": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/traverse": "^7.27.1",
"semver": "^6.3.1"
},
"engines": {
@@ -315,40 +316,40 @@
}
},
"node_modules/@babel/helper-member-expression-to-functions": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz",
- "integrity": "sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.27.1.tgz",
+ "integrity": "sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==",
"license": "MIT",
"dependencies": {
- "@babel/traverse": "^7.25.9",
- "@babel/types": "^7.25.9"
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-module-imports": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz",
- "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
+ "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
"license": "MIT",
"dependencies": {
- "@babel/traverse": "^7.25.9",
- "@babel/types": "^7.25.9"
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-module-transforms": {
- "version": "7.26.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz",
- "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.1.tgz",
+ "integrity": "sha512-9yHn519/8KvTU5BjTVEEeIM3w9/2yXNKoD82JifINImhpKkARMJKPP59kLo+BafpdN5zgNeIcS4jsGDmd3l58g==",
"license": "MIT",
"dependencies": {
- "@babel/helper-module-imports": "^7.25.9",
- "@babel/helper-validator-identifier": "^7.25.9",
- "@babel/traverse": "^7.25.9"
+ "@babel/helper-module-imports": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.27.1",
+ "@babel/traverse": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -358,35 +359,35 @@
}
},
"node_modules/@babel/helper-optimise-call-expression": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz",
- "integrity": "sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz",
+ "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.25.9"
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-plugin-utils": {
- "version": "7.26.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz",
- "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
+ "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-replace-supers": {
- "version": "7.26.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.26.5.tgz",
- "integrity": "sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz",
+ "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==",
"license": "MIT",
"dependencies": {
- "@babel/helper-member-expression-to-functions": "^7.25.9",
- "@babel/helper-optimise-call-expression": "^7.25.9",
- "@babel/traverse": "^7.26.5"
+ "@babel/helper-member-expression-to-functions": "^7.27.1",
+ "@babel/helper-optimise-call-expression": "^7.27.1",
+ "@babel/traverse": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -396,65 +397,65 @@
}
},
"node_modules/@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz",
- "integrity": "sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz",
+ "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==",
"license": "MIT",
"dependencies": {
- "@babel/traverse": "^7.25.9",
- "@babel/types": "^7.25.9"
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-string-parser": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz",
- "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
- "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
+ "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-option": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz",
- "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helpers": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.0.tgz",
- "integrity": "sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.1.tgz",
+ "integrity": "sha512-FCvFTm0sWV8Fxhpp2McP5/W53GPllQ9QeQ7SiqGWjMf/LVG07lFa5+pgK05IRhVwtvafT22KF+ZSnM9I545CvQ==",
"license": "MIT",
"dependencies": {
- "@babel/template": "^7.27.0",
- "@babel/types": "^7.27.0"
+ "@babel/template": "^7.27.1",
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/parser": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz",
- "integrity": "sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==",
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.2.tgz",
+ "integrity": "sha512-QYLs8299NA7WM/bZAdp+CviYYkVoYXlDW2rzliy3chxd1PQjej7JORuMJDJXJUb9g0TT+B99EwaVLKmX+sPXWw==",
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.27.0"
+ "@babel/types": "^7.27.1"
},
"bin": {
"parser": "bin/babel-parser.js"
@@ -464,12 +465,12 @@
}
},
"node_modules/@babel/plugin-syntax-jsx": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz",
- "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz",
+ "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.25.9"
+ "@babel/helper-plugin-utils": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -479,12 +480,12 @@
}
},
"node_modules/@babel/plugin-syntax-typescript": {
- "version": "7.25.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz",
- "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz",
+ "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==",
"license": "MIT",
"dependencies": {
- "@babel/helper-plugin-utils": "^7.25.9"
+ "@babel/helper-plugin-utils": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -494,16 +495,16 @@
}
},
"node_modules/@babel/plugin-transform-typescript": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.0.tgz",
- "integrity": "sha512-fRGGjO2UEGPjvEcyAZXRXAS8AfdaQoq7HnxAbJoAoW10B9xOKesmmndJv+Sym2a+9FHWZ9KbyyLCe9s0Sn5jtg==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz",
+ "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==",
"license": "MIT",
"dependencies": {
- "@babel/helper-annotate-as-pure": "^7.25.9",
- "@babel/helper-create-class-features-plugin": "^7.27.0",
- "@babel/helper-plugin-utils": "^7.26.5",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9",
- "@babel/plugin-syntax-typescript": "^7.25.9"
+ "@babel/helper-annotate-as-pure": "^7.27.1",
+ "@babel/helper-create-class-features-plugin": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/plugin-syntax-typescript": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -513,42 +514,39 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz",
- "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.1.tgz",
+ "integrity": "sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==",
"license": "MIT",
- "dependencies": {
- "regenerator-runtime": "^0.14.0"
- },
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/template": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.0.tgz",
- "integrity": "sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==",
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
+ "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
"license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.26.2",
- "@babel/parser": "^7.27.0",
- "@babel/types": "^7.27.0"
+ "@babel/code-frame": "^7.27.1",
+ "@babel/parser": "^7.27.2",
+ "@babel/types": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/traverse": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.0.tgz",
- "integrity": "sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.1.tgz",
+ "integrity": "sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg==",
"license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.26.2",
- "@babel/generator": "^7.27.0",
- "@babel/parser": "^7.27.0",
- "@babel/template": "^7.27.0",
- "@babel/types": "^7.27.0",
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.27.1",
+ "@babel/parser": "^7.27.1",
+ "@babel/template": "^7.27.1",
+ "@babel/types": "^7.27.1",
"debug": "^4.3.1",
"globals": "^11.1.0"
},
@@ -566,13 +564,13 @@
}
},
"node_modules/@babel/types": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.0.tgz",
- "integrity": "sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==",
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.1.tgz",
+ "integrity": "sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==",
"license": "MIT",
"dependencies": {
- "@babel/helper-string-parser": "^7.25.9",
- "@babel/helper-validator-identifier": "^7.25.9"
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.27.1"
},
"engines": {
"node": ">=6.9.0"
@@ -740,9 +738,9 @@
}
},
"node_modules/@codemirror/view": {
- "version": "6.36.6",
- "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.36.6.tgz",
- "integrity": "sha512-uxugGLet+Nzp0Jcit8Hn3LypM8ioMLKTsdf8FRoT3HWvZtb9GhaWMe0Cc15rz90Ljab4YFJiAulmIVB74OY0IQ==",
+ "version": "6.36.7",
+ "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.36.7.tgz",
+ "integrity": "sha512-kCWGW/chWGPgZqfZ36Um9Iz0X2IVpmCjg1P/qY6B6a2ecXtWRRAigmpJ6YgUQ5lTWXMyyVdfmpzhLZmsZQMbtg==",
"license": "MIT",
"dependencies": {
"@codemirror/state": "^6.5.0",
@@ -1102,9 +1100,9 @@
}
},
"node_modules/@esbuild/netbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-1QaLtOWq0mzK6tzzp0jRN3eccmN3hezey7mhLnzC6oNlJoUJz4nym5ZD7mDnS/LZQgkrhEbEiTn515lPeLpgWA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==",
"cpu": [
"arm64"
],
@@ -1230,9 +1228,9 @@
}
},
"node_modules/@eslint-community/eslint-utils": {
- "version": "4.6.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.6.1.tgz",
- "integrity": "sha512-KTsJMmobmbrFLe3LDh0PC2FXpcSYJt/MLjlkh/9LEnmKYLSYmT/0EW9JWANjeoemiuZrmogti0tW5Ch+qNUYDw==",
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
+ "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
"devOptional": true,
"license": "MIT",
"dependencies": {
@@ -1259,9 +1257,9 @@
}
},
"node_modules/@eslint/compat": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.8.tgz",
- "integrity": "sha512-LqCYHdWL/QqKIJuZ/ucMAv8d4luKGs4oCPgpt8mWztQAtPrHfXKQ/XAUc8ljCHAfJCn6SvkpTcGt5Tsh8saowA==",
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.9.tgz",
+ "integrity": "sha512-gCdSY54n7k+driCadyMNv8JSPzYLeDVM/ikZRtvtROBpRdFSkS8W9A82MqsaY7lZuwL0wiapgD0NT1xT0hyJsA==",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1316,9 +1314,9 @@
}
},
"node_modules/@eslint/config-helpers": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.1.tgz",
- "integrity": "sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==",
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.2.tgz",
+ "integrity": "sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==",
"devOptional": true,
"license": "Apache-2.0",
"engines": {
@@ -1410,9 +1408,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "9.25.1",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.25.1.tgz",
- "integrity": "sha512-dEIwmjntEx8u3Uvv+kr3PDeeArL8Hw07H9kyYxCjnM9pBjfEhk6uLXSchxxzgiwtRhhzVzqmUSDFBOi1TuZ7qg==",
+ "version": "9.26.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.26.0.tgz",
+ "integrity": "sha512-I9XlJawFdSMvWjDt6wksMCrgns5ggLNfFwFvnShsleWruvXM514Qxk8V246efTw+eo9JABvVz+u3q2RiAowKxQ==",
"devOptional": true,
"license": "MIT",
"engines": {
@@ -1619,9 +1617,9 @@
}
},
"node_modules/@iconify/collections": {
- "version": "1.0.543",
- "resolved": "https://registry.npmjs.org/@iconify/collections/-/collections-1.0.543.tgz",
- "integrity": "sha512-aFBP8NrdXMXtv/hSz9d4s2TAUC+V4ZvKB60uNLQGFeiUwxf8CkrceKI2nbojJucoTQuFgaQeDOyPhX2g+J2C+A==",
+ "version": "1.0.546",
+ "resolved": "https://registry.npmjs.org/@iconify/collections/-/collections-1.0.546.tgz",
+ "integrity": "sha512-ftDzfvN+9lX0zNeKrgunE2HmWGfek7hKJJC6R16pc/JU7Wv0uibJ6MS2cRlmrjUFvtl0Kl2c2wbZZGRgFmKvTg==",
"license": "MIT",
"dependencies": {
"@iconify/types": "*"
@@ -2132,6 +2130,12 @@
"node": ">= 12"
}
},
+ "node_modules/@koa/router/node_modules/path-to-regexp": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
+ "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
+ "license": "MIT"
+ },
"node_modules/@kurkle/color": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz",
@@ -2282,6 +2286,28 @@
"rollup": "^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0"
}
},
+ "node_modules/@modelcontextprotocol/sdk": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.11.0.tgz",
+ "integrity": "sha512-k/1pb70eD638anoi0e8wUGAlbMJXyvdV4p62Ko+EZ7eBe1xMx8Uhak1R5DgfoofsK5IBBnRwsYGTaLZl+6/+RQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "content-type": "^1.0.5",
+ "cors": "^2.8.5",
+ "cross-spawn": "^7.0.3",
+ "eventsource": "^3.0.2",
+ "express": "^5.0.1",
+ "express-rate-limit": "^7.5.0",
+ "pkce-challenge": "^5.0.0",
+ "raw-body": "^3.0.0",
+ "zod": "^3.23.8",
+ "zod-to-json-schema": "^3.24.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@napi-rs/wasm-runtime": {
"version": "0.2.9",
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.9.tgz",
@@ -2305,14 +2331,16 @@
"resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-8.2.0.tgz",
"integrity": "sha512-9djLZHBKsoKk8XCgwWSEPK9QnT8qqxEQGuYh48gFIcNLvpBKkLnHbDZuyUxmNemCfDz7h0HnMXgSPnnUVgARhg==",
"license": "MIT",
+ "optional": true,
+ "peer": true,
"engines": {
"node": "^14.16.0 || >=16.0.0"
}
},
"node_modules/@netlify/dev-utils": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@netlify/dev-utils/-/dev-utils-1.1.0.tgz",
- "integrity": "sha512-pR0/Hx4yKUvkEc+7Bs/W4MD8nUrGzO0Euksj02JWFZQ7kDmXSb20GUz/uOzIiohz2v0lO925HMhZIZPiu8d/yw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@netlify/dev-utils/-/dev-utils-2.1.0.tgz",
+ "integrity": "sha512-GZ3cVSkipJ+shHQ0yudqqgH5/PW8g98Ou8CckLDKDVi7FREnaWQocJIomfxk0cPWqkg9Iq3DLLV9LOoioCOlAg==",
"license": "MIT",
"dependencies": {
"@whatwg-node/server": "^0.9.60",
@@ -2323,6 +2351,7 @@
"find-up": "7.0.0",
"lodash.debounce": "^4.0.8",
"netlify": "^13.3.4",
+ "parse-gitignore": "^2.0.0",
"uuid": "^11.1.0",
"write-file-atomic": "^6.0.0"
},
@@ -2426,15 +2455,15 @@
}
},
"node_modules/@netlify/functions": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-3.1.2.tgz",
- "integrity": "sha512-910dYmcd/Xhcdhede7Io97CyTmiYmNAuuf5+vDVfm+br/MpidnYvK5R7519xHgmmvNcgLarlTtJdenImg02Uiw==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-3.1.5.tgz",
+ "integrity": "sha512-HQtKIY+O1gJf+UFk9nHm62ai9fYxF9F4Aaq8zJdMfPhZaSsslS/PH8rEE51bkLi3u63GM8LdaxU1JyCKmT4mGg==",
"license": "MIT",
"dependencies": {
- "@netlify/blobs": "^8.2.0",
- "@netlify/dev-utils": "1.1.0",
- "@netlify/serverless-functions-api": "1.33.0",
- "@netlify/zip-it-and-ship-it": "^9.42.5",
+ "@netlify/blobs": "^9.0.1",
+ "@netlify/dev-utils": "2.1.0",
+ "@netlify/serverless-functions-api": "1.38.0",
+ "@netlify/zip-it-and-ship-it": "^10.0.7",
"cron-parser": "^4.9.0",
"decache": "^4.6.2",
"extract-zip": "^2.0.1",
@@ -2448,6 +2477,19 @@
"node": ">=14.0.0"
}
},
+ "node_modules/@netlify/functions/node_modules/@netlify/blobs": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-9.0.1.tgz",
+ "integrity": "sha512-l2d7KCAvekDpIBMQjUuOpOgolhMWt9Bll7G/KH/zmW/3gFlTB2mD5/2ghSjCTxLGJzdjbch7/5EBt8UPSDlD3A==",
+ "license": "MIT",
+ "dependencies": {
+ "@netlify/dev-utils": "2.1.0",
+ "@netlify/runtime-utils": "1.2.0"
+ },
+ "engines": {
+ "node": "^14.16.0 || >=16.0.0"
+ }
+ },
"node_modules/@netlify/functions/node_modules/is-stream": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz",
@@ -2460,15 +2502,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@netlify/node-cookies": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz",
- "integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==",
- "license": "MIT",
- "engines": {
- "node": "^14.16.0 || >=16.0.0"
- }
- },
"node_modules/@netlify/open-api": {
"version": "2.37.0",
"resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.37.0.tgz",
@@ -2478,31 +2511,36 @@
"node": ">=14.8.0"
}
},
+ "node_modules/@netlify/runtime-utils": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@netlify/runtime-utils/-/runtime-utils-1.2.0.tgz",
+ "integrity": "sha512-iTWkuINC7O8AqthMzbF9/OAnz3ubVPn8ycSD5ZO7vtnlaQiYu/L8mZ7Nez1eZu4WxWgpNBwS79YgAK6x0RBWUQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
"node_modules/@netlify/serverless-functions-api": {
- "version": "1.33.0",
- "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.33.0.tgz",
- "integrity": "sha512-il9HUEC5Nu+6l7vJR2vvolJ12SuI/Yo6K8ZoAKHx7RkMGzS0LHcopDW2pIVRTP8I3vQBxvzuof3FUfqLdAiXhw==",
+ "version": "1.38.0",
+ "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.38.0.tgz",
+ "integrity": "sha512-AuTzLH4BlQxPViwdEP9WcW/9NjqmjzaPHxOd9fyaMZUOkAgF0iauio9PF9QylAtgyodhLd6mGuASESZZiJcXaw==",
"license": "MIT",
- "dependencies": {
- "@netlify/node-cookies": "^0.1.0",
- "urlpattern-polyfill": "8.0.2"
- },
"engines": {
"node": ">=18.0.0"
}
},
"node_modules/@netlify/zip-it-and-ship-it": {
- "version": "9.43.1",
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.43.1.tgz",
- "integrity": "sha512-NPOntCuGmpulEUc3wpk3Fct7wI2KsrPnx7sCmEotNDJcLUtb0xEgNpBNclSGA6k5uQDhrLkC5TpaEnCkxjxGww==",
+ "version": "10.0.7",
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-10.0.7.tgz",
+ "integrity": "sha512-h7VUDyY6ePD8JA1tM0m8zbWDp03UOmBlPdqgl9/aK1fSVYcoo0qhXmp1Z1n+viKkNkmvBx4KvOLScUJEXPeRnA==",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.22.5",
- "@babel/types": "7.26.9",
+ "@babel/types": "7.26.10",
"@netlify/binary-info": "^1.0.0",
- "@netlify/serverless-functions-api": "^1.34.0",
+ "@netlify/serverless-functions-api": "^1.38.0",
"@vercel/nft": "0.27.7",
- "archiver": "^7.0.0",
+ "archiver": "^5.3.1",
"common-path-prefix": "^3.0.0",
"cp-file": "^10.0.0",
"es-module-lexer": "^1.0.0",
@@ -2540,9 +2578,9 @@
}
},
"node_modules/@netlify/zip-it-and-ship-it/node_modules/@babel/types": {
- "version": "7.26.9",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.9.tgz",
- "integrity": "sha512-Y3IR1cRnOxOCDvMmNiym7XpXQ93iGDDPHx+Zj+NM+rg0fBaShfQLkg+hKPaZCEvg5N/LeCo4+Rj/i3FuJsIQaw==",
+ "version": "7.26.10",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.10.tgz",
+ "integrity": "sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==",
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^7.25.9",
@@ -2920,13 +2958,110 @@
"node": ">=12"
}
},
- "node_modules/@netlify/zip-it-and-ship-it/node_modules/@netlify/serverless-functions-api": {
- "version": "1.38.0",
- "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.38.0.tgz",
- "integrity": "sha512-AuTzLH4BlQxPViwdEP9WcW/9NjqmjzaPHxOd9fyaMZUOkAgF0iauio9PF9QylAtgyodhLd6mGuASESZZiJcXaw==",
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/archiver": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.2.tgz",
+ "integrity": "sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==",
"license": "MIT",
+ "dependencies": {
+ "archiver-utils": "^2.1.0",
+ "async": "^3.2.4",
+ "buffer-crc32": "^0.2.1",
+ "readable-stream": "^3.6.0",
+ "readdir-glob": "^1.1.2",
+ "tar-stream": "^2.2.0",
+ "zip-stream": "^4.1.0"
+ },
"engines": {
- "node": ">=18.0.0"
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/archiver-utils": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz",
+ "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==",
+ "license": "MIT",
+ "dependencies": {
+ "glob": "^7.1.4",
+ "graceful-fs": "^4.2.0",
+ "lazystream": "^1.0.0",
+ "lodash.defaults": "^4.2.0",
+ "lodash.difference": "^4.5.0",
+ "lodash.flatten": "^4.4.0",
+ "lodash.isplainobject": "^4.0.6",
+ "lodash.union": "^4.6.0",
+ "normalize-path": "^3.0.0",
+ "readable-stream": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/archiver-utils/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/archiver-utils/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/archiver-utils/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/archiver-utils/node_modules/readable-stream": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
+ "license": "MIT",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+ "license": "MIT",
+ "engines": {
+ "node": "*"
}
},
"node_modules/@netlify/zip-it-and-ship-it/node_modules/builtin-modules": {
@@ -2941,6 +3076,34 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/compress-commons": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.2.tgz",
+ "integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer-crc32": "^0.2.13",
+ "crc32-stream": "^4.0.2",
+ "normalize-path": "^3.0.0",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/crc32-stream": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.3.tgz",
+ "integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==",
+ "license": "MIT",
+ "dependencies": {
+ "crc-32": "^1.2.0",
+ "readable-stream": "^3.4.0"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
"node_modules/@netlify/zip-it-and-ship-it/node_modules/esbuild": {
"version": "0.19.11",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz",
@@ -3140,6 +3303,20 @@
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
},
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/@netlify/zip-it-and-ship-it/node_modules/resolve": {
"version": "2.0.0-next.5",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
@@ -3157,12 +3334,43 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
+ "license": "MIT"
+ },
"node_modules/@netlify/zip-it-and-ship-it/node_modules/signal-exit": {
"version": "3.0.7",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
"license": "ISC"
},
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/tar-stream": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "bl": "^4.0.3",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/@netlify/zip-it-and-ship-it/node_modules/yocto-queue": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.1.tgz",
@@ -3175,6 +3383,84 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/zip-stream": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.1.tgz",
+ "integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==",
+ "license": "MIT",
+ "dependencies": {
+ "archiver-utils": "^3.0.4",
+ "compress-commons": "^4.1.2",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/zip-stream/node_modules/archiver-utils": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-3.0.4.tgz",
+ "integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==",
+ "license": "MIT",
+ "dependencies": {
+ "glob": "^7.2.3",
+ "graceful-fs": "^4.2.0",
+ "lazystream": "^1.0.0",
+ "lodash.defaults": "^4.2.0",
+ "lodash.difference": "^4.5.0",
+ "lodash.flatten": "^4.4.0",
+ "lodash.isplainobject": "^4.0.6",
+ "lodash.union": "^4.6.0",
+ "normalize-path": "^3.0.0",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/zip-stream/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/zip-stream/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/zip-stream/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -3251,12 +3537,6 @@
"node": "^16.10.0 || >=18.0.0"
}
},
- "node_modules/@nuxt/cli/node_modules/tinyexec": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.1.tgz",
- "integrity": "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==",
- "license": "MIT"
- },
"node_modules/@nuxt/devalue": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@nuxt/devalue/-/devalue-2.0.2.tgz",
@@ -3441,9 +3721,9 @@
}
},
"node_modules/@nuxt/kit": {
- "version": "3.17.1",
- "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.17.1.tgz",
- "integrity": "sha512-VG3NlK51jzNNZ9+VIVMwN2YgDddkCkdZRJv0KMs63Z81UQo1FfEwzapqUiV23SWkyyfNSD/1XGarYPOl30J39g==",
+ "version": "3.17.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.17.2.tgz",
+ "integrity": "sha512-Mz2Ni8iUwty5LBs3LepUL43rI2xXbuAz3Cqq37L9frOD2QI2tQUtasYaSoKk6U7nvYzuW2z/2b3YOLkMNi/k2w==",
"license": "MIT",
"dependencies": {
"c12": "^3.0.3",
@@ -3466,7 +3746,7 @@
"tinyglobby": "^0.2.13",
"ufo": "^1.6.1",
"unctx": "^2.4.1",
- "unimport": "^5.0.0",
+ "unimport": "^5.0.1",
"untyped": "^2.0.0"
},
"engines": {
@@ -3474,9 +3754,9 @@
}
},
"node_modules/@nuxt/schema": {
- "version": "3.17.1",
- "resolved": "https://registry.npmjs.org/@nuxt/schema/-/schema-3.17.1.tgz",
- "integrity": "sha512-FmPMyfexkZ0bp7rDz+012/ee9rEHPAZ3P8alOZrCV9j/xPcjuKspcLWGZz4kAoJA7nnx49kpRUcS2rpYcBRV+A==",
+ "version": "3.17.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/schema/-/schema-3.17.2.tgz",
+ "integrity": "sha512-DzmvgqcfIoCkNKXrBU6wpGckIXSxHHU+7OTlE68qNq6y0lVYnUA0Akrn0I8j+n/vFdQTIpJXiRD4dAgcomsBAg==",
"license": "MIT",
"dependencies": {
"@vue/shared": "^3.5.13",
@@ -3515,12 +3795,6 @@
"node": ">=18.12.0"
}
},
- "node_modules/@nuxt/telemetry/node_modules/package-manager-detector": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.2.0.tgz",
- "integrity": "sha512-PutJepsOtsqVfUsxCzgTTpyXmiAgvKptIgY4th5eq5UXXFhj5PxfQ9hnGkypMeovpAvVshFRItoFHYO18TCOqA==",
- "license": "MIT"
- },
"node_modules/@nuxt/ui": {
"version": "2.22.0",
"resolved": "https://registry.npmjs.org/@nuxt/ui/-/ui-2.22.0.tgz",
@@ -3655,12 +3929,12 @@
}
},
"node_modules/@nuxt/vite-builder": {
- "version": "3.17.1",
- "resolved": "https://registry.npmjs.org/@nuxt/vite-builder/-/vite-builder-3.17.1.tgz",
- "integrity": "sha512-gtayw5+6Wx94FLUyJ+TAR27iLd7PqXYy1c9Yefam+wVhllYr9bpWLmM1pOQisujdm24OYsAyQ1AiBBp4voM9pw==",
+ "version": "3.17.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/vite-builder/-/vite-builder-3.17.2.tgz",
+ "integrity": "sha512-TfKuh7MPjIhlObLNcoNTRk6/s3L6b6Z7hPuJcnrAeh/a9JGH6fmRsKztW5D5mFEN3H3K6viXche8q2ftQEk7CQ==",
"license": "MIT",
"dependencies": {
- "@nuxt/kit": "3.17.1",
+ "@nuxt/kit": "3.17.2",
"@rollup/plugin-replace": "^6.0.2",
"@vitejs/plugin-vue": "^5.2.3",
"@vitejs/plugin-vue-jsx": "^4.1.2",
@@ -3689,9 +3963,9 @@
"ufo": "^1.6.1",
"unenv": "^2.0.0-rc.15",
"unplugin": "^2.3.2",
- "vite": "^6.3.3",
+ "vite": "^6.3.4",
"vite-node": "^3.1.2",
- "vite-plugin-checker": "^0.9.1",
+ "vite-plugin-checker": "^0.9.2",
"vue-bundle-renderer": "^2.1.1"
},
"engines": {
@@ -3702,9 +3976,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz",
- "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
+ "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
"cpu": [
"ppc64"
],
@@ -3718,9 +3992,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/android-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz",
- "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
+ "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
"cpu": [
"arm"
],
@@ -3734,9 +4008,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/android-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz",
- "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
+ "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
"cpu": [
"arm64"
],
@@ -3750,9 +4024,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/android-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz",
- "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
+ "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
"cpu": [
"x64"
],
@@ -3766,9 +4040,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz",
- "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
+ "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
"cpu": [
"arm64"
],
@@ -3782,9 +4056,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/darwin-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz",
- "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
+ "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
"cpu": [
"x64"
],
@@ -3798,9 +4072,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz",
- "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
"cpu": [
"arm64"
],
@@ -3814,9 +4088,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz",
- "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
+ "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
"cpu": [
"x64"
],
@@ -3830,9 +4104,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz",
- "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
+ "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
"cpu": [
"arm"
],
@@ -3846,9 +4120,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz",
- "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
+ "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
"cpu": [
"arm64"
],
@@ -3862,9 +4136,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz",
- "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
+ "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
"cpu": [
"ia32"
],
@@ -3878,9 +4152,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-loong64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz",
- "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
+ "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
"cpu": [
"loong64"
],
@@ -3894,9 +4168,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz",
- "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
+ "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
"cpu": [
"mips64el"
],
@@ -3910,9 +4184,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz",
- "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
+ "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
"cpu": [
"ppc64"
],
@@ -3926,9 +4200,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz",
- "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
+ "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
"cpu": [
"riscv64"
],
@@ -3942,9 +4216,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-s390x": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz",
- "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
+ "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
"cpu": [
"s390x"
],
@@ -3958,9 +4232,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz",
- "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
+ "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
"cpu": [
"x64"
],
@@ -3974,9 +4248,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz",
- "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
"cpu": [
"x64"
],
@@ -3990,9 +4264,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
"cpu": [
"arm64"
],
@@ -4006,9 +4280,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz",
- "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
"cpu": [
"x64"
],
@@ -4022,9 +4296,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/sunos-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz",
- "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
+ "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
"cpu": [
"x64"
],
@@ -4038,9 +4312,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/win32-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz",
- "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
+ "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
"cpu": [
"arm64"
],
@@ -4054,9 +4328,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/win32-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz",
- "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
+ "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
"cpu": [
"ia32"
],
@@ -4070,9 +4344,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/@esbuild/win32-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz",
- "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
+ "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
"cpu": [
"x64"
],
@@ -4086,9 +4360,9 @@
}
},
"node_modules/@nuxt/vite-builder/node_modules/esbuild": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz",
- "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
+ "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"hasInstallScript": true,
"license": "MIT",
"bin": {
@@ -4098,31 +4372,31 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.3",
- "@esbuild/android-arm": "0.25.3",
- "@esbuild/android-arm64": "0.25.3",
- "@esbuild/android-x64": "0.25.3",
- "@esbuild/darwin-arm64": "0.25.3",
- "@esbuild/darwin-x64": "0.25.3",
- "@esbuild/freebsd-arm64": "0.25.3",
- "@esbuild/freebsd-x64": "0.25.3",
- "@esbuild/linux-arm": "0.25.3",
- "@esbuild/linux-arm64": "0.25.3",
- "@esbuild/linux-ia32": "0.25.3",
- "@esbuild/linux-loong64": "0.25.3",
- "@esbuild/linux-mips64el": "0.25.3",
- "@esbuild/linux-ppc64": "0.25.3",
- "@esbuild/linux-riscv64": "0.25.3",
- "@esbuild/linux-s390x": "0.25.3",
- "@esbuild/linux-x64": "0.25.3",
- "@esbuild/netbsd-arm64": "0.25.3",
- "@esbuild/netbsd-x64": "0.25.3",
- "@esbuild/openbsd-arm64": "0.25.3",
- "@esbuild/openbsd-x64": "0.25.3",
- "@esbuild/sunos-x64": "0.25.3",
- "@esbuild/win32-arm64": "0.25.3",
- "@esbuild/win32-ia32": "0.25.3",
- "@esbuild/win32-x64": "0.25.3"
+ "@esbuild/aix-ppc64": "0.25.4",
+ "@esbuild/android-arm": "0.25.4",
+ "@esbuild/android-arm64": "0.25.4",
+ "@esbuild/android-x64": "0.25.4",
+ "@esbuild/darwin-arm64": "0.25.4",
+ "@esbuild/darwin-x64": "0.25.4",
+ "@esbuild/freebsd-arm64": "0.25.4",
+ "@esbuild/freebsd-x64": "0.25.4",
+ "@esbuild/linux-arm": "0.25.4",
+ "@esbuild/linux-arm64": "0.25.4",
+ "@esbuild/linux-ia32": "0.25.4",
+ "@esbuild/linux-loong64": "0.25.4",
+ "@esbuild/linux-mips64el": "0.25.4",
+ "@esbuild/linux-ppc64": "0.25.4",
+ "@esbuild/linux-riscv64": "0.25.4",
+ "@esbuild/linux-s390x": "0.25.4",
+ "@esbuild/linux-x64": "0.25.4",
+ "@esbuild/netbsd-arm64": "0.25.4",
+ "@esbuild/netbsd-x64": "0.25.4",
+ "@esbuild/openbsd-arm64": "0.25.4",
+ "@esbuild/openbsd-x64": "0.25.4",
+ "@esbuild/sunos-x64": "0.25.4",
+ "@esbuild/win32-arm64": "0.25.4",
+ "@esbuild/win32-ia32": "0.25.4",
+ "@esbuild/win32-x64": "0.25.4"
}
},
"node_modules/@nuxt/vite-builder/node_modules/escape-string-regexp": {
@@ -4179,15 +4453,15 @@
"license": "MIT"
},
"node_modules/@nuxtjs/i18n": {
- "version": "9.5.3",
- "resolved": "https://registry.npmjs.org/@nuxtjs/i18n/-/i18n-9.5.3.tgz",
- "integrity": "sha512-pw8xU6PFzCop8tYts5IqqoL4F5eol18Xg+0wgVeptlzdki4LR0NnNQkO5nHhwsKUK8e+g8+Efc6ppqKdTqPGig==",
+ "version": "9.5.4",
+ "resolved": "https://registry.npmjs.org/@nuxtjs/i18n/-/i18n-9.5.4.tgz",
+ "integrity": "sha512-HSCC6bLvkI74AOJ/Hsa8+52uy92Bzpu/lVOKYJZIR/HV4TtV48fgKLPRlL8RmCXx/AmKBtrPsLfhAAIj9RBAKQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@intlify/h3": "^0.6.1",
"@intlify/shared": "^10.0.7",
- "@intlify/unplugin-vue-i18n": "^6.0.5",
+ "@intlify/unplugin-vue-i18n": "^6.0.8",
"@intlify/utils": "^0.13.0",
"@miyaneee/rollup-plugin-json5": "^1.2.0",
"@nuxt/kit": "^3.16.2",
@@ -4219,9 +4493,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz",
- "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
+ "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
"cpu": [
"ppc64"
],
@@ -4236,9 +4510,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/android-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz",
- "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
+ "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
"cpu": [
"arm"
],
@@ -4253,9 +4527,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/android-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz",
- "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
+ "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
"cpu": [
"arm64"
],
@@ -4270,9 +4544,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/android-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz",
- "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
+ "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
"cpu": [
"x64"
],
@@ -4287,9 +4561,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz",
- "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
+ "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
"cpu": [
"arm64"
],
@@ -4304,9 +4578,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/darwin-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz",
- "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
+ "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
"cpu": [
"x64"
],
@@ -4321,9 +4595,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz",
- "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
"cpu": [
"arm64"
],
@@ -4338,9 +4612,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz",
- "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
+ "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
"cpu": [
"x64"
],
@@ -4355,9 +4629,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz",
- "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
+ "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
"cpu": [
"arm"
],
@@ -4372,9 +4646,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz",
- "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
+ "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
"cpu": [
"arm64"
],
@@ -4389,9 +4663,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz",
- "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
+ "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
"cpu": [
"ia32"
],
@@ -4406,9 +4680,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-loong64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz",
- "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
+ "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
"cpu": [
"loong64"
],
@@ -4423,9 +4697,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz",
- "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
+ "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
"cpu": [
"mips64el"
],
@@ -4440,9 +4714,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz",
- "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
+ "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
"cpu": [
"ppc64"
],
@@ -4457,9 +4731,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz",
- "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
+ "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
"cpu": [
"riscv64"
],
@@ -4474,9 +4748,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-s390x": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz",
- "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
+ "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
"cpu": [
"s390x"
],
@@ -4491,9 +4765,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/linux-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz",
- "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
+ "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
"cpu": [
"x64"
],
@@ -4508,9 +4782,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz",
- "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
"cpu": [
"x64"
],
@@ -4525,9 +4799,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
"cpu": [
"arm64"
],
@@ -4542,9 +4816,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz",
- "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
"cpu": [
"x64"
],
@@ -4559,9 +4833,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/sunos-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz",
- "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
+ "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
"cpu": [
"x64"
],
@@ -4576,9 +4850,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/win32-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz",
- "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
+ "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
"cpu": [
"arm64"
],
@@ -4593,9 +4867,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/win32-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz",
- "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
+ "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
"cpu": [
"ia32"
],
@@ -4610,9 +4884,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/@esbuild/win32-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz",
- "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
+ "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
"cpu": [
"x64"
],
@@ -4627,9 +4901,9 @@
}
},
"node_modules/@nuxtjs/i18n/node_modules/esbuild": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz",
- "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
+ "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -4640,31 +4914,31 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.3",
- "@esbuild/android-arm": "0.25.3",
- "@esbuild/android-arm64": "0.25.3",
- "@esbuild/android-x64": "0.25.3",
- "@esbuild/darwin-arm64": "0.25.3",
- "@esbuild/darwin-x64": "0.25.3",
- "@esbuild/freebsd-arm64": "0.25.3",
- "@esbuild/freebsd-x64": "0.25.3",
- "@esbuild/linux-arm": "0.25.3",
- "@esbuild/linux-arm64": "0.25.3",
- "@esbuild/linux-ia32": "0.25.3",
- "@esbuild/linux-loong64": "0.25.3",
- "@esbuild/linux-mips64el": "0.25.3",
- "@esbuild/linux-ppc64": "0.25.3",
- "@esbuild/linux-riscv64": "0.25.3",
- "@esbuild/linux-s390x": "0.25.3",
- "@esbuild/linux-x64": "0.25.3",
- "@esbuild/netbsd-arm64": "0.25.3",
- "@esbuild/netbsd-x64": "0.25.3",
- "@esbuild/openbsd-arm64": "0.25.3",
- "@esbuild/openbsd-x64": "0.25.3",
- "@esbuild/sunos-x64": "0.25.3",
- "@esbuild/win32-arm64": "0.25.3",
- "@esbuild/win32-ia32": "0.25.3",
- "@esbuild/win32-x64": "0.25.3"
+ "@esbuild/aix-ppc64": "0.25.4",
+ "@esbuild/android-arm": "0.25.4",
+ "@esbuild/android-arm64": "0.25.4",
+ "@esbuild/android-x64": "0.25.4",
+ "@esbuild/darwin-arm64": "0.25.4",
+ "@esbuild/darwin-x64": "0.25.4",
+ "@esbuild/freebsd-arm64": "0.25.4",
+ "@esbuild/freebsd-x64": "0.25.4",
+ "@esbuild/linux-arm": "0.25.4",
+ "@esbuild/linux-arm64": "0.25.4",
+ "@esbuild/linux-ia32": "0.25.4",
+ "@esbuild/linux-loong64": "0.25.4",
+ "@esbuild/linux-mips64el": "0.25.4",
+ "@esbuild/linux-ppc64": "0.25.4",
+ "@esbuild/linux-riscv64": "0.25.4",
+ "@esbuild/linux-s390x": "0.25.4",
+ "@esbuild/linux-x64": "0.25.4",
+ "@esbuild/netbsd-arm64": "0.25.4",
+ "@esbuild/netbsd-x64": "0.25.4",
+ "@esbuild/openbsd-arm64": "0.25.4",
+ "@esbuild/openbsd-x64": "0.25.4",
+ "@esbuild/sunos-x64": "0.25.4",
+ "@esbuild/win32-arm64": "0.25.4",
+ "@esbuild/win32-ia32": "0.25.4",
+ "@esbuild/win32-x64": "0.25.4"
}
},
"node_modules/@nuxtjs/sitemap": {
@@ -5447,6 +5721,7 @@
"version": "0.60.0",
"resolved": "https://registry.npmjs.org/@oxc-parser/wasm/-/wasm-0.60.0.tgz",
"integrity": "sha512-Dkf9/D87WGBCW3L0+1DtpAfL4SrNsgeRvxwjpKCtbH7Kf6K+pxrT0IridaJfmWKu1Ml+fDvj+7HEyBcfUC/TXQ==",
+ "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -6110,9 +6385,9 @@
"license": "MIT"
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.1.tgz",
- "integrity": "sha512-kxz0YeeCrRUHz3zyqvd7n+TVRlNyTifBsmnmNPtk3hQURUyG9eAB+usz6DAwagMusjx/zb3AjvDUvhFGDAexGw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.2.tgz",
+ "integrity": "sha512-JkdNEq+DFxZfUwxvB58tHMHBHVgX23ew41g1OQinthJ+ryhdRk67O31S7sYw8u2lTjHUPFxwar07BBt1KHp/hg==",
"cpu": [
"arm"
],
@@ -6123,9 +6398,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.1.tgz",
- "integrity": "sha512-PPkxTOisoNC6TpnDKatjKkjRMsdaWIhyuMkA4UsBXT9WEZY4uHezBTjs6Vl4PbqQQeu6oION1w2voYZv9yquCw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.2.tgz",
+ "integrity": "sha512-13unNoZ8NzUmnndhPTkWPWbX3vtHodYmy+I9kuLxN+F+l+x3LdVF7UCu8TWVMt1POHLh6oDHhnOA04n8oJZhBw==",
"cpu": [
"arm64"
],
@@ -6136,9 +6411,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.1.tgz",
- "integrity": "sha512-VWXGISWFY18v/0JyNUy4A46KCFCb9NVsH+1100XP31lud+TzlezBbz24CYzbnA4x6w4hx+NYCXDfnvDVO6lcAA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.2.tgz",
+ "integrity": "sha512-Gzf1Hn2Aoe8VZzevHostPX23U7N5+4D36WJNHK88NZHCJr7aVMG4fadqkIf72eqVPGjGc0HJHNuUaUcxiR+N/w==",
"cpu": [
"arm64"
],
@@ -6149,9 +6424,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.1.tgz",
- "integrity": "sha512-nIwkXafAI1/QCS7pxSpv/ZtFW6TXcNUEHAIA9EIyw5OzxJZQ1YDrX+CL6JAIQgZ33CInl1R6mHet9Y/UZTg2Bw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.2.tgz",
+ "integrity": "sha512-47N4hxa01a4x6XnJoskMKTS8XZ0CZMd8YTbINbi+w03A2w4j1RTlnGHOz/P0+Bg1LaVL6ufZyNprSg+fW5nYQQ==",
"cpu": [
"x64"
],
@@ -6162,9 +6437,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.1.tgz",
- "integrity": "sha512-BdrLJ2mHTrIYdaS2I99mriyJfGGenSaP+UwGi1kB9BLOCu9SR8ZpbkmmalKIALnRw24kM7qCN0IOm6L0S44iWw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.2.tgz",
+ "integrity": "sha512-8t6aL4MD+rXSHHZUR1z19+9OFJ2rl1wGKvckN47XFRVO+QL/dUSpKA2SLRo4vMg7ELA8pzGpC+W9OEd1Z/ZqoQ==",
"cpu": [
"arm64"
],
@@ -6175,9 +6450,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.1.tgz",
- "integrity": "sha512-VXeo/puqvCG8JBPNZXZf5Dqq7BzElNJzHRRw3vjBE27WujdzuOPecDPc/+1DcdcTptNBep3861jNq0mYkT8Z6Q==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.2.tgz",
+ "integrity": "sha512-C+AyHBzfpsOEYRFjztcYUFsH4S7UsE9cDtHCtma5BK8+ydOZYgMmWg1d/4KBytQspJCld8ZIujFMAdKG1xyr4Q==",
"cpu": [
"x64"
],
@@ -6188,9 +6463,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.1.tgz",
- "integrity": "sha512-ehSKrewwsESPt1TgSE/na9nIhWCosfGSFqv7vwEtjyAqZcvbGIg4JAcV7ZEh2tfj/IlfBeZjgOXm35iOOjadcg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.2.tgz",
+ "integrity": "sha512-de6TFZYIvJwRNjmW3+gaXiZ2DaWL5D5yGmSYzkdzjBDS3W+B9JQ48oZEsmMvemqjtAFzE16DIBLqd6IQQRuG9Q==",
"cpu": [
"arm"
],
@@ -6201,9 +6476,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.1.tgz",
- "integrity": "sha512-m39iO/aaurh5FVIu/F4/Zsl8xppd76S4qoID8E+dSRQvTyZTOI2gVk3T4oqzfq1PtcvOfAVlwLMK3KRQMaR8lg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.2.tgz",
+ "integrity": "sha512-urjaEZubdIkacKc930hUDOfQPysezKla/O9qV+O89enqsqUmQm8Xj8O/vh0gHg4LYfv7Y7UsE3QjzLQzDYN1qg==",
"cpu": [
"arm"
],
@@ -6214,9 +6489,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.1.tgz",
- "integrity": "sha512-Y+GHnGaku4aVLSgrT0uWe2o2Rq8te9hi+MwqGF9r9ORgXhmHK5Q71N757u0F8yU1OIwUIFy6YiJtKjtyktk5hg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.2.tgz",
+ "integrity": "sha512-KlE8IC0HFOC33taNt1zR8qNlBYHj31qGT1UqWqtvR/+NuCVhfufAq9fxO8BMFC22Wu0rxOwGVWxtCMvZVLmhQg==",
"cpu": [
"arm64"
],
@@ -6227,9 +6502,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.1.tgz",
- "integrity": "sha512-jEwjn3jCA+tQGswK3aEWcD09/7M5wGwc6+flhva7dsQNRZZTe30vkalgIzV4tjkopsTS9Jd7Y1Bsj6a4lzz8gQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.2.tgz",
+ "integrity": "sha512-j8CgxvfM0kbnhu4XgjnCWJQyyBOeBI1Zq91Z850aUddUmPeQvuAy6OiMdPS46gNFgy8gN1xkYyLgwLYZG3rBOg==",
"cpu": [
"arm64"
],
@@ -6240,9 +6515,9 @@
]
},
"node_modules/@rollup/rollup-linux-loongarch64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.1.tgz",
- "integrity": "sha512-ySyWikVhNzv+BV/IDCsrraOAZ3UaC8SZB67FZlqVwXwnFhPihOso9rPOxzZbjp81suB1O2Topw+6Ug3JNegejQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.2.tgz",
+ "integrity": "sha512-Ybc/1qUampKuRF4tQXc7G7QY9YRyeVSykfK36Y5Qc5dmrIxwFhrOzqaVTNoZygqZ1ZieSWTibfFhQ5qK8jpWxw==",
"cpu": [
"loong64"
],
@@ -6253,9 +6528,9 @@
]
},
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.1.tgz",
- "integrity": "sha512-BvvA64QxZlh7WZWqDPPdt0GH4bznuL6uOO1pmgPnnv86rpUpc8ZxgZwcEgXvo02GRIZX1hQ0j0pAnhwkhwPqWg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.2.tgz",
+ "integrity": "sha512-3FCIrnrt03CCsZqSYAOW/k9n625pjpuMzVfeI+ZBUSDT3MVIFDSPfSUgIl9FqUftxcUXInvFah79hE1c9abD+Q==",
"cpu": [
"ppc64"
],
@@ -6266,9 +6541,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.1.tgz",
- "integrity": "sha512-EQSP+8+1VuSulm9RKSMKitTav89fKbHymTf25n5+Yr6gAPZxYWpj3DzAsQqoaHAk9YX2lwEyAf9S4W8F4l3VBQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.2.tgz",
+ "integrity": "sha512-QNU7BFHEvHMp2ESSY3SozIkBPaPBDTsfVNGx3Xhv+TdvWXFGOSH2NJvhD1zKAT6AyuuErJgbdvaJhYVhVqrWTg==",
"cpu": [
"riscv64"
],
@@ -6279,9 +6554,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.1.tgz",
- "integrity": "sha512-n/vQ4xRZXKuIpqukkMXZt9RWdl+2zgGNx7Uda8NtmLJ06NL8jiHxUawbwC+hdSq1rrw/9CghCpEONor+l1e2gA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.2.tgz",
+ "integrity": "sha512-5W6vNYkhgfh7URiXTO1E9a0cy4fSgfE4+Hl5agb/U1sa0kjOLMLC1wObxwKxecE17j0URxuTrYZZME4/VH57Hg==",
"cpu": [
"riscv64"
],
@@ -6292,9 +6567,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.1.tgz",
- "integrity": "sha512-h8d28xzYb98fMQKUz0w2fMc1XuGzLLjdyxVIbhbil4ELfk5/orZlSTpF/xdI9C8K0I8lCkq+1En2RJsawZekkg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.2.tgz",
+ "integrity": "sha512-B7LKIz+0+p348JoAL4X/YxGx9zOx3sR+o6Hj15Y3aaApNfAshK8+mWZEf759DXfRLeL2vg5LYJBB7DdcleYCoQ==",
"cpu": [
"s390x"
],
@@ -6305,9 +6580,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.1.tgz",
- "integrity": "sha512-XiK5z70PEFEFqcNj3/zRSz/qX4bp4QIraTy9QjwJAb/Z8GM7kVUsD0Uk8maIPeTyPCP03ChdI+VVmJriKYbRHQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.2.tgz",
+ "integrity": "sha512-lG7Xa+BmBNwpjmVUbmyKxdQJ3Q6whHjMjzQplOs5Z+Gj7mxPtWakGHqzMqNER68G67kmCX9qX57aRsW5V0VOng==",
"cpu": [
"x64"
],
@@ -6318,9 +6593,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.1.tgz",
- "integrity": "sha512-2BRORitq5rQ4Da9blVovzNCMaUlyKrzMSvkVR0D4qPuOy/+pMCrh1d7o01RATwVy+6Fa1WBw+da7QPeLWU/1mQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.2.tgz",
+ "integrity": "sha512-tD46wKHd+KJvsmije4bUskNuvWKFcTOIM9tZ/RrmIvcXnbi0YK/cKS9FzFtAm7Oxi2EhV5N2OpfFB348vSQRXA==",
"cpu": [
"x64"
],
@@ -6331,9 +6606,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.1.tgz",
- "integrity": "sha512-b2bcNm9Kbde03H+q+Jjw9tSfhYkzrDUf2d5MAd1bOJuVplXvFhWz7tRtWvD8/ORZi7qSCy0idW6tf2HgxSXQSg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.2.tgz",
+ "integrity": "sha512-Bjv/HG8RRWLNkXwQQemdsWw4Mg+IJ29LK+bJPW2SCzPKOUaMmPEppQlu/Fqk1d7+DX3V7JbFdbkh/NMmurT6Pg==",
"cpu": [
"arm64"
],
@@ -6344,9 +6619,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.1.tgz",
- "integrity": "sha512-DfcogW8N7Zg7llVEfpqWMZcaErKfsj9VvmfSyRjCyo4BI3wPEfrzTtJkZG6gKP/Z92wFm6rz2aDO7/JfiR/whA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.2.tgz",
+ "integrity": "sha512-dt1llVSGEsGKvzeIO76HToiYPNPYPkmjhMHhP00T9S4rDern8P2ZWvWAQUEJ+R1UdMWJ/42i/QqJ2WV765GZcA==",
"cpu": [
"ia32"
],
@@ -6357,9 +6632,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.1.tgz",
- "integrity": "sha512-ECyOuDeH3C1I8jH2MK1RtBJW+YPMvSfT0a5NN0nHfQYnDSJ6tUiZH3gzwVP5/Kfh/+Tt7tpWVF9LXNTnhTJ3kA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.2.tgz",
+ "integrity": "sha512-bwspbWB04XJpeElvsp+DCylKfF4trJDa2Y9Go8O6A7YLX2LIKGcNK/CYImJN6ZP4DcuOHB4Utl3iCbnR62DudA==",
"cpu": [
"x64"
],
@@ -6370,50 +6645,50 @@
]
},
"node_modules/@sentry-internal/browser-utils": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-9.14.0.tgz",
- "integrity": "sha512-pDk9XUu9zf7lcT9QX0nTObPNp/y0xQyy1Dj+5/8TSB3vAfe0LQcooKGl/D1h7EoIXVHUozZk5JC/dH+gz6BXRg==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-9.15.0.tgz",
+ "integrity": "sha512-tIM+9zXCefkInRiNmBkXKgkamRjEOlAcf768cBKlMWVOatfNrSEB0UEV7qkAYqnQGWkbPkHFMbFJxWptydLODw==",
"license": "MIT",
"dependencies": {
- "@sentry/core": "9.14.0"
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/@sentry-internal/feedback": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-9.14.0.tgz",
- "integrity": "sha512-D+PiEUWbDT0vqmaTiOs6OzXwVRVFgf7BCkFs48qsN9sAPwUgT+5zh2oo/rU2r0NrmMcvJVtSY+ezwPMk8BgGsg==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-9.15.0.tgz",
+ "integrity": "sha512-jyN0r57WL8V5ViwZpiNvbIhF9I89jxn6mtIQcyV85EjIXDyzJmeTgxc/FIU0kcDVv6zso3qnGRJUxGK+GvoYZg==",
"license": "MIT",
"dependencies": {
- "@sentry/core": "9.14.0"
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/@sentry-internal/replay": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-9.14.0.tgz",
- "integrity": "sha512-wgt397/PtpfVQ9t779a0L+hGH3JN9doXv3+9Wj98MLWwhymvJBjpjCFUBLScO5iP6imewTbRqQHbq7XS7I+x1A==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-9.15.0.tgz",
+ "integrity": "sha512-lv6ENRmfeBuod6Tr1WgLeF0+wIIXlHWNAGofsaNUvm8UKS7USicFsQWKOZPk4UyjTfrEClPp2vx+o7aUcZS6TQ==",
"license": "MIT",
"dependencies": {
- "@sentry-internal/browser-utils": "9.14.0",
- "@sentry/core": "9.14.0"
+ "@sentry-internal/browser-utils": "9.15.0",
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/@sentry-internal/replay-canvas": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-9.14.0.tgz",
- "integrity": "sha512-GhCSqc0oNzRiLhQsi9LCXgUmIwdHdvzVIsX4fihoFYWfgWSSj5YLqeEkb3CMM8htM6vheSFzIbPLlRS8fjCrPQ==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-9.15.0.tgz",
+ "integrity": "sha512-a1/oiXwcW5OmILjD7/R2UEsPQWXJBUr0u388uCKDUGeyXLxBBbIJGS5E8oLwVQLVxhVJrODgxvT19z9OVcbn7g==",
"license": "MIT",
"dependencies": {
- "@sentry-internal/replay": "9.14.0",
- "@sentry/core": "9.14.0"
+ "@sentry-internal/replay": "9.15.0",
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
@@ -6429,16 +6704,16 @@
}
},
"node_modules/@sentry/browser": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-9.14.0.tgz",
- "integrity": "sha512-acxFbFEei3hzKr/IW3OmkzHlwohRaRBG0872nIhLYV2f/BgZmR6eV5zrUoELMmt2cgoLmDYyfp1734OoplfDbw==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-9.15.0.tgz",
+ "integrity": "sha512-ppHESKFVQFpAb3rQI2ateDkmMytVcvAWsjZrZ3hF9iEnO3iTIIu32ib5nqQUL4KKXZQovYnDrSlDcdv3ZwX/8Q==",
"license": "MIT",
"dependencies": {
- "@sentry-internal/browser-utils": "9.14.0",
- "@sentry-internal/feedback": "9.14.0",
- "@sentry-internal/replay": "9.14.0",
- "@sentry-internal/replay-canvas": "9.14.0",
- "@sentry/core": "9.14.0"
+ "@sentry-internal/browser-utils": "9.15.0",
+ "@sentry-internal/feedback": "9.15.0",
+ "@sentry-internal/replay": "9.15.0",
+ "@sentry-internal/replay-canvas": "9.15.0",
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
@@ -6698,18 +6973,18 @@
}
},
"node_modules/@sentry/core": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry/core/-/core-9.14.0.tgz",
- "integrity": "sha512-OLfucnP3LAL5bxVNWc2RVOHCX7fk9Er5bWPCS+O5cPjqNUUz0HQHhVh2Vhei5C0kYZZM4vy4BQit5T9LrlOaNA==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-9.15.0.tgz",
+ "integrity": "sha512-lBmo3bzzaYUesdzc2H5K3fajfXyUNuj5koqyFoCAI8rnt9CBl7SUc/P07+E5eipF8mxgiU3QtkI7ALzRQN8pqQ==",
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@sentry/node": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry/node/-/node-9.14.0.tgz",
- "integrity": "sha512-AWPc6O+zAdSgnsiKm6Nb1txyiKCOIBriJEONdXFSslgZgkm8EWAYRRHyS2Hkmnz0/5bEQ3jEffIw22qJuaHN+Q==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry/node/-/node-9.15.0.tgz",
+ "integrity": "sha512-K0LdJxIzYbbsbiT+1tKgNq6MUHuDs2DggBDcFEp3T+yXVJYN1AyalUli06Kmxq8yvou6hgLwWL4gjIcB1IQySA==",
"license": "MIT",
"dependencies": {
"@opentelemetry/api": "^1.9.0",
@@ -6743,8 +7018,8 @@
"@opentelemetry/sdk-trace-base": "^1.30.1",
"@opentelemetry/semantic-conventions": "^1.30.0",
"@prisma/instrumentation": "6.6.0",
- "@sentry/core": "9.14.0",
- "@sentry/opentelemetry": "9.14.0",
+ "@sentry/core": "9.15.0",
+ "@sentry/opentelemetry": "9.15.0",
"import-in-the-middle": "^1.13.0"
},
"engines": {
@@ -6752,19 +7027,19 @@
}
},
"node_modules/@sentry/nuxt": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry/nuxt/-/nuxt-9.14.0.tgz",
- "integrity": "sha512-CF2jgw0l8cj47r651Tb8lb2CHLfgwZmRrlh+Nisvm2D60borbS0EX9rLCd754oMpuTHNAWEmRU59S+C0AbjYkA==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry/nuxt/-/nuxt-9.15.0.tgz",
+ "integrity": "sha512-v6/ZUmH1iHSQpSvVVITNM5NlCxo6mn0uqojCBdMVRE09U6hpXgz+RnyXzHKxz/KXWQn8KyEsEft1VmsI063Fyg==",
"license": "MIT",
"dependencies": {
"@nuxt/kit": "^3.13.2",
- "@sentry/browser": "9.14.0",
- "@sentry/core": "9.14.0",
- "@sentry/node": "9.14.0",
- "@sentry/opentelemetry": "9.14.0",
+ "@sentry/browser": "9.15.0",
+ "@sentry/core": "9.15.0",
+ "@sentry/node": "9.15.0",
+ "@sentry/opentelemetry": "9.15.0",
"@sentry/rollup-plugin": "3.2.4",
"@sentry/vite-plugin": "3.2.4",
- "@sentry/vue": "9.14.0"
+ "@sentry/vue": "9.15.0"
},
"engines": {
"node": ">=18.19.1"
@@ -6865,12 +7140,12 @@
"license": "MIT"
},
"node_modules/@sentry/opentelemetry": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-9.14.0.tgz",
- "integrity": "sha512-NnHJjSQGpWaZ6+0QK9Xn1T3CTOM16Ij07VnSiGmVz3/IMsNC1/jndqc8p9BxEI+67XhZjOUUN0Ogpq1XRY7YeA==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry/opentelemetry/-/opentelemetry-9.15.0.tgz",
+ "integrity": "sha512-gGOzgSxbuh4B4SlEonL1LFsazmeqL/fn5CIQqRG0UWWxdt6TKAMlj0ThIlGF3jSHW2eXdpvs+4E73uFEaHIqfg==",
"license": "MIT",
"dependencies": {
- "@sentry/core": "9.14.0"
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
@@ -6979,12 +7254,12 @@
"license": "MIT"
},
"node_modules/@sentry/vite-plugin": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/@sentry/vite-plugin/-/vite-plugin-3.3.1.tgz",
- "integrity": "sha512-eIIIHqVOTO0m7+3aTg//gVi11XNpKi4G0xA45hjz46UmRiToVfqgBH7Dsn1qRrDxa7YPYCdREQkyGEINlElT2A==",
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/@sentry/vite-plugin/-/vite-plugin-3.4.0.tgz",
+ "integrity": "sha512-pUFBGrKsHuc8K6A7B1wU2nx65n9aIzvTlcHX9yZ1qvjEO0cZFih0JCwu1Fcav/yrtT9RMN44L/ugu/kMBHQhjQ==",
"license": "MIT",
"dependencies": {
- "@sentry/bundler-plugin-core": "3.3.1",
+ "@sentry/bundler-plugin-core": "3.4.0",
"unplugin": "1.0.1"
},
"engines": {
@@ -6992,22 +7267,22 @@
}
},
"node_modules/@sentry/vite-plugin/node_modules/@sentry/babel-plugin-component-annotate": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-3.3.1.tgz",
- "integrity": "sha512-5GOxGT7lZN+I8A7Vp0rWY+726FDKEw8HnFiebe51rQrMbfGfCu2Aw9uSM0nT9OG6xhV6WvGccIcCszTPs4fUZQ==",
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-3.4.0.tgz",
+ "integrity": "sha512-tSzfc3aE7m0PM0Aj7HBDet5llH9AB9oc+tBQ8AvOqUSnWodLrNCuWeQszJ7mIBovD3figgCU3h0cvI6U5cDtsg==",
"license": "MIT",
"engines": {
"node": ">= 14"
}
},
"node_modules/@sentry/vite-plugin/node_modules/@sentry/bundler-plugin-core": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/@sentry/bundler-plugin-core/-/bundler-plugin-core-3.3.1.tgz",
- "integrity": "sha512-Dd6xaWb293j9otEJ1yJqG2Ra6zB49OPzMNdIkdP8wdY+S9UFQE5PyKTyredmPY7hqCc005OrUQZolIIo9Zl13A==",
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/@sentry/bundler-plugin-core/-/bundler-plugin-core-3.4.0.tgz",
+ "integrity": "sha512-X1Q41AsQ6xcT6hB4wYmBDBukndKM/inT4IsR7pdKLi7ICpX2Qq6lisamBAEPCgEvnLpazSFguaiC0uiwMKAdqw==",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.18.5",
- "@sentry/babel-plugin-component-annotate": "3.3.1",
+ "@sentry/babel-plugin-component-annotate": "3.4.0",
"@sentry/cli": "2.42.2",
"dotenv": "^16.3.1",
"find-up": "^5.0.0",
@@ -7110,13 +7385,13 @@
"license": "MIT"
},
"node_modules/@sentry/vue": {
- "version": "9.14.0",
- "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-9.14.0.tgz",
- "integrity": "sha512-FJ6SBsDXCHpKlFpXcniFZ+5x9FUJ+WtxetU3rEelFrvYRV24lodRXY+IUbkxPiH0NvwhIo7B36DBQIhxeOWQew==",
+ "version": "9.15.0",
+ "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-9.15.0.tgz",
+ "integrity": "sha512-VO9OZ2V3x+94yoLT3FEJ5bv2o4A3tTqBHtFpju3KjsiDU0meWFAUYQEqrVgvmfUo2ULohluDQe+JDFDumQKaRA==",
"license": "MIT",
"dependencies": {
- "@sentry/browser": "9.14.0",
- "@sentry/core": "9.14.0"
+ "@sentry/browser": "9.15.0",
+ "@sentry/core": "9.15.0"
},
"engines": {
"node": ">=18"
@@ -7255,9 +7530,9 @@
}
},
"node_modules/@tanstack/virtual-core": {
- "version": "3.13.6",
- "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.6.tgz",
- "integrity": "sha512-cnQUeWnhNP8tJ4WsGcYiX24Gjkc9ALstLbHcBj1t3E7EimN6n6kHH+DPV4PpDnuw00NApQp+ViojMj1GRdwYQg==",
+ "version": "3.13.8",
+ "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.8.tgz",
+ "integrity": "sha512-BT6w89Hqy7YKaWewYzmecXQzcJh6HTBbKYJIIkMaNU49DZ06LoTV3z32DWWEdUsgW6n1xTmwTLs4GtWrZC261w==",
"license": "MIT",
"funding": {
"type": "github",
@@ -7265,12 +7540,12 @@
}
},
"node_modules/@tanstack/vue-virtual": {
- "version": "3.13.6",
- "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.13.6.tgz",
- "integrity": "sha512-GYdZ3SJBQPzgxhuCE2fvpiH46qzHiVx5XzBSdtESgiqh4poj8UgckjGWYEhxaBbcVt1oLzh1m3Ql4TyH32TOzQ==",
+ "version": "3.13.8",
+ "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.13.8.tgz",
+ "integrity": "sha512-CqyjKVc88YlE8JPth8a5Gi4CUoYrwJ2PZxtFbhoekx8Z2qqymxX2jzkbUMKFsX4EVNET90D5bLsG3epyozbzcg==",
"license": "MIT",
"dependencies": {
- "@tanstack/virtual-core": "3.13.6"
+ "@tanstack/virtual-core": "3.13.8"
},
"funding": {
"type": "github",
@@ -7337,9 +7612,9 @@
}
},
"node_modules/@types/node": {
- "version": "22.15.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
- "integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
+ "version": "22.15.14",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.14.tgz",
+ "integrity": "sha512-BL1eyu/XWsFGTtDWOYULQEs4KR0qdtYfCxYAUYRoB7JP7h9ETYLgQTww6kH8Sj2C0pFGgrpM0XKv6/kbIzYJ1g==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
@@ -7427,21 +7702,21 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.31.1.tgz",
- "integrity": "sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.32.0.tgz",
+ "integrity": "sha512-/jU9ettcntkBFmWUzzGgsClEi2ZFiikMX5eEQsmxIAWMOn4H3D4rvHssstmAHGVvrYnaMqdWWWg0b5M6IN/MTQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.31.1",
- "@typescript-eslint/type-utils": "8.31.1",
- "@typescript-eslint/utils": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1",
+ "@typescript-eslint/scope-manager": "8.32.0",
+ "@typescript-eslint/type-utils": "8.32.0",
+ "@typescript-eslint/utils": "8.32.0",
+ "@typescript-eslint/visitor-keys": "8.32.0",
"graphemer": "^1.4.0",
"ignore": "^5.3.1",
"natural-compare": "^1.4.0",
- "ts-api-utils": "^2.0.1"
+ "ts-api-utils": "^2.1.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -7467,16 +7742,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.31.1.tgz",
- "integrity": "sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.32.0.tgz",
+ "integrity": "sha512-B2MdzyWxCE2+SqiZHAjPphft+/2x2FlO9YBx7eKE1BCb+rqBlQdhtAEhzIEdozHd55DXPmxBdpMygFJjfjjA9A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.31.1",
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/typescript-estree": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1",
+ "@typescript-eslint/scope-manager": "8.32.0",
+ "@typescript-eslint/types": "8.32.0",
+ "@typescript-eslint/typescript-estree": "8.32.0",
+ "@typescript-eslint/visitor-keys": "8.32.0",
"debug": "^4.3.4"
},
"engines": {
@@ -7492,14 +7767,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.31.1.tgz",
- "integrity": "sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.32.0.tgz",
+ "integrity": "sha512-jc/4IxGNedXkmG4mx4nJTILb6TMjL66D41vyeaPWvDUmeYQzF3lKtN15WsAeTr65ce4mPxwopPSo1yUUAWw0hQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1"
+ "@typescript-eslint/types": "8.32.0",
+ "@typescript-eslint/visitor-keys": "8.32.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -7510,16 +7785,16 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.31.1.tgz",
- "integrity": "sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.32.0.tgz",
+ "integrity": "sha512-t2vouuYQKEKSLtJaa5bB4jHeha2HJczQ6E5IXPDPgIty9EqcJxpr1QHQ86YyIPwDwxvUmLfP2YADQ5ZY4qddZg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/typescript-estree": "8.31.1",
- "@typescript-eslint/utils": "8.31.1",
+ "@typescript-eslint/typescript-estree": "8.32.0",
+ "@typescript-eslint/utils": "8.32.0",
"debug": "^4.3.4",
- "ts-api-utils": "^2.0.1"
+ "ts-api-utils": "^2.1.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -7534,9 +7809,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.31.1.tgz",
- "integrity": "sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.32.0.tgz",
+ "integrity": "sha512-O5Id6tGadAZEMThM6L9HmVf5hQUXNSxLVKeGJYWNhhVseps/0LddMkp7//VDkzwJ69lPL0UmZdcZwggj9akJaA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -7548,20 +7823,20 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.31.1.tgz",
- "integrity": "sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.32.0.tgz",
+ "integrity": "sha512-pU9VD7anSCOIoBFnhTGfOzlVFQIA1XXiQpH/CezqOBaDppRwTglJzCC6fUQGpfwey4T183NKhF1/mfatYmjRqQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1",
+ "@typescript-eslint/types": "8.32.0",
+ "@typescript-eslint/visitor-keys": "8.32.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
"minimatch": "^9.0.4",
"semver": "^7.6.0",
- "ts-api-utils": "^2.0.1"
+ "ts-api-utils": "^2.1.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -7575,16 +7850,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.31.1.tgz",
- "integrity": "sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.32.0.tgz",
+ "integrity": "sha512-8S9hXau6nQ/sYVtC3D6ISIDoJzS1NsCK+gluVhLN2YkBPX+/1wkwyUiDKnxRh15579WoOIyVWnoyIf3yGI9REw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "8.31.1",
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/typescript-estree": "8.31.1"
+ "@eslint-community/eslint-utils": "^4.7.0",
+ "@typescript-eslint/scope-manager": "8.32.0",
+ "@typescript-eslint/types": "8.32.0",
+ "@typescript-eslint/typescript-estree": "8.32.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -7599,13 +7874,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.31.1.tgz",
- "integrity": "sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==",
+ "version": "8.32.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.32.0.tgz",
+ "integrity": "sha512-1rYQTCLFFzOI5Nl0c8LUpJT8HxpwVRn9E4CkMsYfuN6ctmQqExjSTzzSk0Tz2apmXy7WU6/6fyaZVVA/thPN+w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.31.1",
+ "@typescript-eslint/types": "8.32.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
@@ -8879,13 +9154,14 @@
}
},
"node_modules/accepts": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
- "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+ "devOptional": true,
"license": "MIT",
"dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
+ "mime-types": "^3.0.0",
+ "negotiator": "^1.0.0"
},
"engines": {
"node": ">= 0.6"
@@ -9365,12 +9641,82 @@
"url": "https://github.com/sponsors/antfu"
}
},
+ "node_modules/bl": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
+ "node_modules/bl/node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/bl/node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/blueimp-md5": {
"version": "2.19.0",
"resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz",
"integrity": "sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==",
"license": "MIT"
},
+ "node_modules/body-parser": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz",
+ "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "^3.1.2",
+ "content-type": "^1.0.5",
+ "debug": "^4.4.0",
+ "http-errors": "^2.0.0",
+ "iconv-lite": "^0.6.3",
+ "on-finished": "^2.4.1",
+ "qs": "^6.14.0",
+ "raw-body": "^3.0.0",
+ "type-is": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/boolbase": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
@@ -9399,9 +9745,9 @@
}
},
"node_modules/browserslist": {
- "version": "4.24.4",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz",
- "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==",
+ "version": "4.24.5",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.5.tgz",
+ "integrity": "sha512-FDToo4Wo82hIdgc1CQ+NQD0hEhmpPjrZ3hiUgwgOG6IuTdlpr8jdjyG24P6cNP1yJpTLzS5OcGgSw0xmDU1/Tw==",
"funding": [
{
"type": "opencollective",
@@ -9418,10 +9764,10 @@
],
"license": "MIT",
"dependencies": {
- "caniuse-lite": "^1.0.30001688",
- "electron-to-chromium": "^1.5.73",
+ "caniuse-lite": "^1.0.30001716",
+ "electron-to-chromium": "^1.5.149",
"node-releases": "^2.0.19",
- "update-browserslist-db": "^1.1.1"
+ "update-browserslist-db": "^1.1.3"
},
"bin": {
"browserslist": "cli.js"
@@ -9497,6 +9843,16 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/bytes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/c12": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/c12/-/c12-3.0.3.tgz",
@@ -9540,11 +9896,32 @@
"integrity": "sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==",
"license": "MIT",
"dependencies": {
- "mime-types": "^2.1.18",
- "ylru": "^1.2.0"
+ "mime-types": "^2.1.18",
+ "ylru": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
+ "node_modules/cache-content-type/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cache-content-type/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
},
"engines": {
- "node": ">= 6.0.0"
+ "node": ">= 0.6"
}
},
"node_modules/call-bind-apply-helpers": {
@@ -9625,9 +10002,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001715",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001715.tgz",
- "integrity": "sha512-7ptkFGMm2OAOgvZpwgA4yjQ5SQbrNVGdRjzH0pBdy1Fasvcr+KAeECmbCAECzTuDuoX0FCY8KzUxjf9+9kfZEw==",
+ "version": "1.0.30001717",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001717.tgz",
+ "integrity": "sha512-auPpttCq6BDEG8ZAuHJIplGw6GODhjw+/11e7IjpnYCxZcW/ONgPs0KVBJ0d1bY3e2+7PRe5RCLyP+PfwVgkYw==",
"funding": [
{
"type": "opencollective",
@@ -10010,9 +10387,10 @@
}
},
"node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",
+ "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==",
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"safe-buffer": "5.2.1"
@@ -10037,12 +10415,13 @@
"license": "MIT"
},
"node_modules/cookie": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz",
- "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==",
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "devOptional": true,
"license": "MIT",
"engines": {
- "node": ">=18"
+ "node": ">= 0.6"
}
},
"node_modules/cookie-es": {
@@ -10051,6 +10430,16 @@
"integrity": "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==",
"license": "MIT"
},
+ "node_modules/cookie-signature": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz",
+ "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.6.0"
+ }
+ },
"node_modules/cookies": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/cookies/-/cookies-0.9.1.tgz",
@@ -10080,9 +10469,9 @@
}
},
"node_modules/core-js-compat": {
- "version": "3.41.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.41.0.tgz",
- "integrity": "sha512-RFsU9LySVue9RTwdDVX/T0e2Y6jRYWXERKElIjpuEOEnxaXffI0X7RUwVzfYLfzuLXSNJDYoRYUAmRUcyln20A==",
+ "version": "3.42.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.42.0.tgz",
+ "integrity": "sha512-bQasjMfyDGyaeWKBIu33lHh9qlSR0MFE/Nmc6nMjf/iU9b3rSMdAYz1Baxrv4lPdGUsTqZudHA4jIGSJy0SWZQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -10099,6 +10488,20 @@
"integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ==",
"license": "MIT"
},
+ "node_modules/cors": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "object-assign": "^4",
+ "vary": "^1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
"node_modules/cp-file": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/cp-file/-/cp-file-10.0.0.tgz",
@@ -10263,13 +10666,13 @@
}
},
"node_modules/cssnano": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-7.0.6.tgz",
- "integrity": "sha512-54woqx8SCbp8HwvNZYn68ZFAepuouZW4lTwiMVnBErM3VkO7/Sd4oTOt3Zz3bPx3kxQ36aISppyXj2Md4lg8bw==",
+ "version": "7.0.7",
+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-7.0.7.tgz",
+ "integrity": "sha512-evKu7yiDIF7oS+EIpwFlMF730ijRyLFaM2o5cTxRGJR9OKHKkc+qP443ZEVR9kZG0syaAJJCPJyfv5pbrxlSng==",
"license": "MIT",
"dependencies": {
- "cssnano-preset-default": "^7.0.6",
- "lilconfig": "^3.1.2"
+ "cssnano-preset-default": "^7.0.7",
+ "lilconfig": "^3.1.3"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
@@ -10279,63 +10682,63 @@
"url": "https://opencollective.com/cssnano"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/cssnano-preset-default": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-7.0.6.tgz",
- "integrity": "sha512-ZzrgYupYxEvdGGuqL+JKOY70s7+saoNlHSCK/OGn1vB2pQK8KSET8jvenzItcY+kA7NoWvfbb/YhlzuzNKjOhQ==",
+ "version": "7.0.7",
+ "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-7.0.7.tgz",
+ "integrity": "sha512-jW6CG/7PNB6MufOrlovs1TvBTEVmhY45yz+bd0h6nw3h6d+1e+/TX+0fflZ+LzvZombbT5f+KC063w9VoHeHow==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
+ "browserslist": "^4.24.5",
"css-declaration-sorter": "^7.2.0",
- "cssnano-utils": "^5.0.0",
- "postcss-calc": "^10.0.2",
- "postcss-colormin": "^7.0.2",
- "postcss-convert-values": "^7.0.4",
- "postcss-discard-comments": "^7.0.3",
- "postcss-discard-duplicates": "^7.0.1",
- "postcss-discard-empty": "^7.0.0",
- "postcss-discard-overridden": "^7.0.0",
- "postcss-merge-longhand": "^7.0.4",
- "postcss-merge-rules": "^7.0.4",
- "postcss-minify-font-values": "^7.0.0",
- "postcss-minify-gradients": "^7.0.0",
- "postcss-minify-params": "^7.0.2",
- "postcss-minify-selectors": "^7.0.4",
- "postcss-normalize-charset": "^7.0.0",
- "postcss-normalize-display-values": "^7.0.0",
- "postcss-normalize-positions": "^7.0.0",
- "postcss-normalize-repeat-style": "^7.0.0",
- "postcss-normalize-string": "^7.0.0",
- "postcss-normalize-timing-functions": "^7.0.0",
- "postcss-normalize-unicode": "^7.0.2",
- "postcss-normalize-url": "^7.0.0",
- "postcss-normalize-whitespace": "^7.0.0",
- "postcss-ordered-values": "^7.0.1",
- "postcss-reduce-initial": "^7.0.2",
- "postcss-reduce-transforms": "^7.0.0",
- "postcss-svgo": "^7.0.1",
- "postcss-unique-selectors": "^7.0.3"
+ "cssnano-utils": "^5.0.1",
+ "postcss-calc": "^10.1.1",
+ "postcss-colormin": "^7.0.3",
+ "postcss-convert-values": "^7.0.5",
+ "postcss-discard-comments": "^7.0.4",
+ "postcss-discard-duplicates": "^7.0.2",
+ "postcss-discard-empty": "^7.0.1",
+ "postcss-discard-overridden": "^7.0.1",
+ "postcss-merge-longhand": "^7.0.5",
+ "postcss-merge-rules": "^7.0.5",
+ "postcss-minify-font-values": "^7.0.1",
+ "postcss-minify-gradients": "^7.0.1",
+ "postcss-minify-params": "^7.0.3",
+ "postcss-minify-selectors": "^7.0.5",
+ "postcss-normalize-charset": "^7.0.1",
+ "postcss-normalize-display-values": "^7.0.1",
+ "postcss-normalize-positions": "^7.0.1",
+ "postcss-normalize-repeat-style": "^7.0.1",
+ "postcss-normalize-string": "^7.0.1",
+ "postcss-normalize-timing-functions": "^7.0.1",
+ "postcss-normalize-unicode": "^7.0.3",
+ "postcss-normalize-url": "^7.0.1",
+ "postcss-normalize-whitespace": "^7.0.1",
+ "postcss-ordered-values": "^7.0.2",
+ "postcss-reduce-initial": "^7.0.3",
+ "postcss-reduce-transforms": "^7.0.1",
+ "postcss-svgo": "^7.0.2",
+ "postcss-unique-selectors": "^7.0.4"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/cssnano-utils": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-5.0.0.tgz",
- "integrity": "sha512-Uij0Xdxc24L6SirFr25MlwC2rCFX6scyUmuKpzI+JQ7cyqDEwD42fJ0xfB3yLfOnRDU5LKGgjQ9FA6LYh76GWQ==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-5.0.1.tgz",
+ "integrity": "sha512-ZIP71eQgG9JwjVZsTPSqhc6GHgEr53uJ7tK5///VfyWj6Xp2DBmixWHqJgPno+PqATzn48pL42ww9x5SSGmhZg==",
"license": "MIT",
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/csso": {
@@ -11020,9 +11423,9 @@
"license": "MIT"
},
"node_modules/electron-to-chromium": {
- "version": "1.5.144",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.144.tgz",
- "integrity": "sha512-eJIaMRKeAzxfBSxtjYnoIAw/tdD6VIH6tHBZepZnAbE3Gyqqs5mGN87DvcldPUbVkIljTK8pY0CMcUljP64lfQ==",
+ "version": "1.5.150",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.150.tgz",
+ "integrity": "sha512-rOOkP2ZUMx1yL4fCxXQKDHQ8ZXwisb2OycOQVKHgvB3ZI4CvehOd4y2tfnnLDieJ3Zs1RL1Dlp3cMkyIn7nnXA==",
"license": "ISC"
},
"node_modules/emoji-regex": {
@@ -11232,9 +11635,9 @@
}
},
"node_modules/eslint": {
- "version": "9.25.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.25.1.tgz",
- "integrity": "sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ==",
+ "version": "9.26.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.26.0.tgz",
+ "integrity": "sha512-Hx0MOjPh6uK9oq9nVsATZKE/Wlbai7KFjfCuw9UHaguDW3x+HF0O5nIi3ud39TWgrTjTO5nHxmL3R1eANinWHQ==",
"devOptional": true,
"license": "MIT",
"dependencies": {
@@ -11244,11 +11647,12 @@
"@eslint/config-helpers": "^0.2.1",
"@eslint/core": "^0.13.0",
"@eslint/eslintrc": "^3.3.1",
- "@eslint/js": "9.25.1",
+ "@eslint/js": "9.26.0",
"@eslint/plugin-kit": "^0.2.8",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
"@humanwhocodes/retry": "^0.4.2",
+ "@modelcontextprotocol/sdk": "^1.8.0",
"@types/estree": "^1.0.6",
"@types/json-schema": "^7.0.15",
"ajv": "^6.12.4",
@@ -11272,7 +11676,8 @@
"lodash.merge": "^4.6.2",
"minimatch": "^3.1.2",
"natural-compare": "^1.4.0",
- "optionator": "^0.9.3"
+ "optionator": "^0.9.3",
+ "zod": "^3.24.2"
},
"bin": {
"eslint": "bin/eslint.js"
@@ -11424,9 +11829,9 @@
}
},
"node_modules/eslint-plugin-prettier": {
- "version": "5.2.6",
- "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.6.tgz",
- "integrity": "sha512-mUcf7QG2Tjk7H055Jk0lGBjbgDnfrvqjhXh9t2xLMSCjZVcw9Rb1V6sVNXO0th3jgeO7zllWPTNRil3JW94TnQ==",
+ "version": "5.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.4.0.tgz",
+ "integrity": "sha512-BvQOvUhkVQM1i63iMETK9Hjud9QhqBnbtT1Zc642p9ynzBuCe5pybkOnvqZIBypXmMlsGcnU4HZ8sCTPfpAexA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -11512,9 +11917,9 @@
}
},
"node_modules/eslint-plugin-vue": {
- "version": "10.0.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-10.0.1.tgz",
- "integrity": "sha512-A5dRYc3eQ5i2rJFBW8J6F69ur/H7YfYg+5SCg6v829FU0BhM4fUTrRVR2d4MdZgzw0ioJEk6otYHEAnoGFqO4A==",
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-10.1.0.tgz",
+ "integrity": "sha512-/VTiJ1eSfNLw6lvG9ENySbGmcVvz6wZ9nA7ZqXlLBY2RkaF15iViYKxglWiIch12KiLAj0j1iXPYU6W4wTROFA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -11797,6 +12202,29 @@
"node": ">=0.8.x"
}
},
+ "node_modules/eventsource": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.6.tgz",
+ "integrity": "sha512-l19WpE2m9hSuyP06+FbuUUf1G+R0SFLrtQfbRb9PRr+oimOfxQhgGCbVaXg5IvZyyTThJsxh6L/srkMiCeBPDA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "eventsource-parser": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/eventsource-parser": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.1.tgz",
+ "integrity": "sha512-VARTJ9CYeuQYb0pZEPbzi740OWFgpHe7AYJ2WFZVnUDUQp5Dk2yJUgF36YsZ81cOyxT0QxmXD2EQpapAouzWVA==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
"node_modules/execa": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
@@ -11820,6 +12248,65 @@
"url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
+ "node_modules/express": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
+ "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "^2.0.0",
+ "body-parser": "^2.2.0",
+ "content-disposition": "^1.0.0",
+ "content-type": "^1.0.5",
+ "cookie": "^0.7.1",
+ "cookie-signature": "^1.2.1",
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "finalhandler": "^2.1.0",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "merge-descriptors": "^2.0.0",
+ "mime-types": "^3.0.0",
+ "on-finished": "^2.4.1",
+ "once": "^1.4.0",
+ "parseurl": "^1.3.3",
+ "proxy-addr": "^2.0.7",
+ "qs": "^6.14.0",
+ "range-parser": "^1.2.1",
+ "router": "^2.2.0",
+ "send": "^1.1.0",
+ "serve-static": "^2.2.0",
+ "statuses": "^2.0.1",
+ "type-is": "^2.0.1",
+ "vary": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/express-rate-limit": {
+ "version": "7.5.0",
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.0.tgz",
+ "integrity": "sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/express-rate-limit"
+ },
+ "peerDependencies": {
+ "express": "^4.11 || 5 || ^5.0.0-beta.1"
+ }
+ },
"node_modules/exsolve": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.5.tgz",
@@ -12066,6 +12553,24 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/finalhandler": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz",
+ "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "on-finished": "^2.4.1",
+ "parseurl": "^1.3.3",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/find-up": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
@@ -12160,6 +12665,27 @@
"node": ">= 0.12"
}
},
+ "node_modules/form-data/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/form-data/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/formdata-polyfill": {
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
@@ -12172,6 +12698,16 @@
"node": ">=12.20.0"
}
},
+ "node_modules/forwarded": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/forwarded-parse": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/forwarded-parse/-/forwarded-parse-2.1.2.tgz",
@@ -12215,6 +12751,12 @@
"node": ">= 0.8"
}
},
+ "node_modules/fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
+ "license": "MIT"
+ },
"node_modules/fs-extra": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
@@ -12342,6 +12884,27 @@
"through": "^2.3.4"
}
},
+ "node_modules/get-pixels/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/get-pixels/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/get-pixels/node_modules/pngjs": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz",
@@ -12519,9 +13082,9 @@
}
},
"node_modules/globals": {
- "version": "16.0.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-16.0.0.tgz",
- "integrity": "sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==",
+ "version": "16.1.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-16.1.0.tgz",
+ "integrity": "sha512-aibexHNbb/jiUSObBgpHLj+sIuUmJnYcgXBlrfsiDZ9rt4aF2TFRbyLgZ2iFQuVZ1K5Mx3FVkbKRSgKrbK3K2g==",
"dev": true,
"license": "MIT",
"engines": {
@@ -12853,6 +13416,19 @@
"node": ">=16.17.0"
}
},
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/ieee754": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
@@ -12889,9 +13465,9 @@
"license": "MIT"
},
"node_modules/immutable": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.1.tgz",
- "integrity": "sha512-3jatXi9ObIsPGr3N5hGw/vWWcTkq6hUYhpQz4k0wLC+owqWi/LiugIw9x0EdNZ2yGedKN/HzePiBvaJRXa0Ujg==",
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.2.tgz",
+ "integrity": "sha512-qHKXW1q6liAk1Oys6umoaZbDRqjcjgSrbnrifHsfsttza7zcvRAsL7mMV6xWcyhwQy7Xj5v4hhbr6b+iDYwlmQ==",
"devOptional": true,
"license": "MIT"
},
@@ -13027,6 +13603,16 @@
"integrity": "sha512-pZ2xT+LOHckCatGQ3DcG/a+QuEqvoxqkiL7tvE8nn3uuu+f6i1TtpB5/FtWFbxUuVr5PZCx8KskuGatbJDXOWA==",
"license": "MIT"
},
+ "node_modules/ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
"node_modules/iron-webcrypto": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz",
@@ -13236,6 +13822,13 @@
"node": ">=0.10.0"
}
},
+ "node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "devOptional": true,
+ "license": "MIT"
+ },
"node_modules/is-reference": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
@@ -13784,6 +14377,31 @@
"ms": "^2.1.1"
}
},
+ "node_modules/koa/node_modules/accepts": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "~2.1.34",
+ "negotiator": "0.6.3"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/koa/node_modules/content-disposition": {
+ "version": "0.5.4",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/koa/node_modules/encodeurl": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
@@ -13827,6 +14445,45 @@
"node": ">= 0.6"
}
},
+ "node_modules/koa/node_modules/media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/koa/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/koa/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/koa/node_modules/negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/koa/node_modules/statuses": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
@@ -13836,6 +14493,19 @@
"node": ">= 0.6"
}
},
+ "node_modules/koa/node_modules/type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/kolorist": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.8.0.tgz",
@@ -14068,6 +14738,18 @@
"integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==",
"license": "MIT"
},
+ "node_modules/lodash.difference": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz",
+ "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==",
+ "license": "MIT"
+ },
+ "node_modules/lodash.flatten": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz",
+ "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==",
+ "license": "MIT"
+ },
"node_modules/lodash.isarguments": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
@@ -14099,6 +14781,12 @@
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
"license": "MIT"
},
+ "node_modules/lodash.union": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz",
+ "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==",
+ "license": "MIT"
+ },
"node_modules/lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
@@ -14191,12 +14879,26 @@
"license": "CC0-1.0"
},
"node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/merge-descriptors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+ "devOptional": true,
"license": "MIT",
"engines": {
- "node": ">= 0.6"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/merge-images": {
@@ -14288,21 +14990,21 @@
}
},
"node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
"license": "MIT",
"dependencies": {
- "mime-db": "1.52.0"
+ "mime-db": "^1.54.0"
},
"engines": {
"node": ">= 0.6"
@@ -14466,9 +15168,9 @@
}
},
"node_modules/module-details-from-path": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.3.tgz",
- "integrity": "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==",
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.4.tgz",
+ "integrity": "sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w==",
"license": "MIT"
},
"node_modules/mrmime": {
@@ -14571,9 +15273,10 @@
}
},
"node_modules/negotiator": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
- "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",
+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",
+ "devOptional": true,
"license": "MIT",
"engines": {
"node": ">= 0.6"
@@ -14724,9 +15427,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz",
- "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
+ "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
"cpu": [
"ppc64"
],
@@ -14740,9 +15443,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/android-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz",
- "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
+ "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
"cpu": [
"arm"
],
@@ -14756,9 +15459,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/android-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz",
- "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
+ "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
"cpu": [
"arm64"
],
@@ -14772,9 +15475,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/android-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz",
- "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
+ "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
"cpu": [
"x64"
],
@@ -14788,9 +15491,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz",
- "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
+ "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
"cpu": [
"arm64"
],
@@ -14804,9 +15507,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/darwin-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz",
- "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
+ "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
"cpu": [
"x64"
],
@@ -14820,9 +15523,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz",
- "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
"cpu": [
"arm64"
],
@@ -14836,9 +15539,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz",
- "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
+ "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
"cpu": [
"x64"
],
@@ -14852,9 +15555,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz",
- "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
+ "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
"cpu": [
"arm"
],
@@ -14868,9 +15571,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz",
- "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
+ "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
"cpu": [
"arm64"
],
@@ -14884,9 +15587,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz",
- "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
+ "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
"cpu": [
"ia32"
],
@@ -14900,9 +15603,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-loong64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz",
- "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
+ "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
"cpu": [
"loong64"
],
@@ -14916,9 +15619,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz",
- "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
+ "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
"cpu": [
"mips64el"
],
@@ -14932,9 +15635,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz",
- "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
+ "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
"cpu": [
"ppc64"
],
@@ -14948,9 +15651,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz",
- "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
+ "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
"cpu": [
"riscv64"
],
@@ -14964,9 +15667,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-s390x": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz",
- "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
+ "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
"cpu": [
"s390x"
],
@@ -14980,9 +15683,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/linux-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz",
- "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
+ "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
"cpu": [
"x64"
],
@@ -14996,9 +15699,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz",
- "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
"cpu": [
"x64"
],
@@ -15012,9 +15715,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
"cpu": [
"arm64"
],
@@ -15028,9 +15731,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz",
- "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
"cpu": [
"x64"
],
@@ -15044,9 +15747,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/sunos-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz",
- "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
+ "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
"cpu": [
"x64"
],
@@ -15060,9 +15763,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/win32-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz",
- "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
+ "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
"cpu": [
"arm64"
],
@@ -15076,9 +15779,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/win32-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz",
- "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
+ "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
"cpu": [
"ia32"
],
@@ -15092,9 +15795,9 @@
}
},
"node_modules/nitropack/node_modules/@esbuild/win32-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz",
- "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
+ "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
"cpu": [
"x64"
],
@@ -15114,9 +15817,9 @@
"license": "MIT"
},
"node_modules/nitropack/node_modules/esbuild": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz",
- "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
+ "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"hasInstallScript": true,
"license": "MIT",
"bin": {
@@ -15126,31 +15829,31 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.3",
- "@esbuild/android-arm": "0.25.3",
- "@esbuild/android-arm64": "0.25.3",
- "@esbuild/android-x64": "0.25.3",
- "@esbuild/darwin-arm64": "0.25.3",
- "@esbuild/darwin-x64": "0.25.3",
- "@esbuild/freebsd-arm64": "0.25.3",
- "@esbuild/freebsd-x64": "0.25.3",
- "@esbuild/linux-arm": "0.25.3",
- "@esbuild/linux-arm64": "0.25.3",
- "@esbuild/linux-ia32": "0.25.3",
- "@esbuild/linux-loong64": "0.25.3",
- "@esbuild/linux-mips64el": "0.25.3",
- "@esbuild/linux-ppc64": "0.25.3",
- "@esbuild/linux-riscv64": "0.25.3",
- "@esbuild/linux-s390x": "0.25.3",
- "@esbuild/linux-x64": "0.25.3",
- "@esbuild/netbsd-arm64": "0.25.3",
- "@esbuild/netbsd-x64": "0.25.3",
- "@esbuild/openbsd-arm64": "0.25.3",
- "@esbuild/openbsd-x64": "0.25.3",
- "@esbuild/sunos-x64": "0.25.3",
- "@esbuild/win32-arm64": "0.25.3",
- "@esbuild/win32-ia32": "0.25.3",
- "@esbuild/win32-x64": "0.25.3"
+ "@esbuild/aix-ppc64": "0.25.4",
+ "@esbuild/android-arm": "0.25.4",
+ "@esbuild/android-arm64": "0.25.4",
+ "@esbuild/android-x64": "0.25.4",
+ "@esbuild/darwin-arm64": "0.25.4",
+ "@esbuild/darwin-x64": "0.25.4",
+ "@esbuild/freebsd-arm64": "0.25.4",
+ "@esbuild/freebsd-x64": "0.25.4",
+ "@esbuild/linux-arm": "0.25.4",
+ "@esbuild/linux-arm64": "0.25.4",
+ "@esbuild/linux-ia32": "0.25.4",
+ "@esbuild/linux-loong64": "0.25.4",
+ "@esbuild/linux-mips64el": "0.25.4",
+ "@esbuild/linux-ppc64": "0.25.4",
+ "@esbuild/linux-riscv64": "0.25.4",
+ "@esbuild/linux-s390x": "0.25.4",
+ "@esbuild/linux-x64": "0.25.4",
+ "@esbuild/netbsd-arm64": "0.25.4",
+ "@esbuild/netbsd-x64": "0.25.4",
+ "@esbuild/openbsd-arm64": "0.25.4",
+ "@esbuild/openbsd-x64": "0.25.4",
+ "@esbuild/sunos-x64": "0.25.4",
+ "@esbuild/win32-arm64": "0.25.4",
+ "@esbuild/win32-ia32": "0.25.4",
+ "@esbuild/win32-x64": "0.25.4"
}
},
"node_modules/nitropack/node_modules/escape-string-regexp": {
@@ -15365,18 +16068,18 @@
}
},
"node_modules/nuxt": {
- "version": "3.17.1",
- "resolved": "https://registry.npmjs.org/nuxt/-/nuxt-3.17.1.tgz",
- "integrity": "sha512-RFUamVkXw86Kn9l3jeHLNnctsNf5Dp5pQY2bal9uZFiq1Wc9VyMdzou70DbMUjDe1yAoUbD6qz65FOEq+abesQ==",
+ "version": "3.17.2",
+ "resolved": "https://registry.npmjs.org/nuxt/-/nuxt-3.17.2.tgz",
+ "integrity": "sha512-zPEGeGlHoMCFf+Y9I7iEZKhdfsRq0Zf2qE8wEEcjP9T6omzm776h9KVzoj3+qPL1v0rGzSyCFslFtxk+Ey6neA==",
"license": "MIT",
"dependencies": {
"@nuxt/cli": "^3.25.0",
"@nuxt/devalue": "^2.0.2",
"@nuxt/devtools": "^2.4.0",
- "@nuxt/kit": "3.17.1",
- "@nuxt/schema": "3.17.1",
+ "@nuxt/kit": "3.17.2",
+ "@nuxt/schema": "3.17.2",
"@nuxt/telemetry": "^2.6.6",
- "@nuxt/vite-builder": "3.17.1",
+ "@nuxt/vite-builder": "3.17.2",
"@unhead/vue": "^2.0.8",
"@vue/shared": "^3.5.13",
"c12": "^3.0.3",
@@ -15409,7 +16112,7 @@
"ofetch": "^1.4.1",
"ohash": "^2.0.11",
"on-change": "^5.0.1",
- "oxc-parser": "^0.67.0",
+ "oxc-parser": "^0.68.1",
"pathe": "^2.0.3",
"perfect-debounce": "^1.0.0",
"pkg-types": "^2.1.0",
@@ -15423,7 +16126,7 @@
"ultrahtml": "^1.6.0",
"uncrypto": "^0.1.3",
"unctx": "^2.4.1",
- "unimport": "^5.0.0",
+ "unimport": "^5.0.1",
"unplugin": "^2.3.2",
"unplugin-vue-router": "^0.12.0",
"unstorage": "^1.16.0",
@@ -15500,9 +16203,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz",
- "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
+ "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
"cpu": [
"ppc64"
],
@@ -15516,9 +16219,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/android-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz",
- "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
+ "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
"cpu": [
"arm"
],
@@ -15532,9 +16235,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/android-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz",
- "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
+ "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
"cpu": [
"arm64"
],
@@ -15548,9 +16251,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/android-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz",
- "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
+ "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
"cpu": [
"x64"
],
@@ -15564,9 +16267,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz",
- "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
+ "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
"cpu": [
"arm64"
],
@@ -15580,9 +16283,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/darwin-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz",
- "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
+ "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
"cpu": [
"x64"
],
@@ -15596,9 +16299,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz",
- "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
"cpu": [
"arm64"
],
@@ -15612,9 +16315,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz",
- "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
+ "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
"cpu": [
"x64"
],
@@ -15628,9 +16331,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz",
- "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
+ "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
"cpu": [
"arm"
],
@@ -15644,9 +16347,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz",
- "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
+ "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
"cpu": [
"arm64"
],
@@ -15660,9 +16363,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz",
- "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
+ "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
"cpu": [
"ia32"
],
@@ -15676,9 +16379,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-loong64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz",
- "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
+ "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
"cpu": [
"loong64"
],
@@ -15692,9 +16395,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz",
- "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
+ "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
"cpu": [
"mips64el"
],
@@ -15708,9 +16411,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz",
- "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
+ "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
"cpu": [
"ppc64"
],
@@ -15724,9 +16427,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz",
- "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
+ "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
"cpu": [
"riscv64"
],
@@ -15740,9 +16443,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-s390x": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz",
- "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
+ "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
"cpu": [
"s390x"
],
@@ -15756,9 +16459,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/linux-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz",
- "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
+ "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
"cpu": [
"x64"
],
@@ -15772,9 +16475,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz",
- "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
"cpu": [
"x64"
],
@@ -15788,9 +16491,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
"cpu": [
"arm64"
],
@@ -15804,9 +16507,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz",
- "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
"cpu": [
"x64"
],
@@ -15820,9 +16523,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/sunos-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz",
- "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
+ "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
"cpu": [
"x64"
],
@@ -15836,9 +16539,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/win32-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz",
- "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
+ "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
"cpu": [
"arm64"
],
@@ -15852,9 +16555,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/win32-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz",
- "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
+ "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
"cpu": [
"ia32"
],
@@ -15868,9 +16571,9 @@
}
},
"node_modules/nuxt/node_modules/@esbuild/win32-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz",
- "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
+ "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
"cpu": [
"x64"
],
@@ -15884,9 +16587,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-darwin-arm64": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.67.0.tgz",
- "integrity": "sha512-AWLaNH7emKLCpFzHjcYr0wqE8HRpK/5vDtIAUz0BEZKsYxM/Nd8UpgRg2ZlNlEiPDMgAhpRLBHqjf9Xiv/IMhw==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.68.1.tgz",
+ "integrity": "sha512-Y5FBQyPCLsldAZYEd+oZcUboXwpcLf42Lakx3EYtiYDbuK9M3IqBXMGxdM07P4PfGQrKYn6/cC8xAqkVHnbWPw==",
"cpu": [
"arm64"
],
@@ -15900,9 +16603,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-darwin-x64": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.67.0.tgz",
- "integrity": "sha512-1wYbIWpXZ8V9jUx309LyCyK5cVqbTC3qawZ293qfGSmRTsn0F7OenRK7ERbRx7HuvWw2zgWIbWieUpO487nloQ==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.68.1.tgz",
+ "integrity": "sha512-nkiXpEKl8UOhNPdOY5hA2PFq9vQc9xVs7NFu2vUD9eH/j5uYfv8GnNaKkd+v6iH93JwEBxuK5gfwxiiCEMZRyg==",
"cpu": [
"x64"
],
@@ -15916,9 +16619,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-linux-arm-gnueabihf": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.67.0.tgz",
- "integrity": "sha512-Dry9zRk/LOvPvb/GDNkgtQZ2cJKBIc6alQOwjvpji/OdJFjqawTPJoHB0F7nd6NfRYle0tVXCFYHtGUxv2WNxQ==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.68.1.tgz",
+ "integrity": "sha512-38ejU7GP9sOILA82xcF9laJfCiwZWKp96+jeLQMkebZCfQqaGtld/hbJ2yvZ2laLQS3ISRasDemZEJuk/yb6Uw==",
"cpu": [
"arm"
],
@@ -15932,9 +16635,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-linux-arm64-gnu": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.67.0.tgz",
- "integrity": "sha512-Bk+Fqe2J9OvIPs+FK/avTA1YL0tAQD3FgiHe0gq7HLaiuwjw8FAzi2KldyataNmIekfiSH6e+xrt2FugwDXFlw==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.68.1.tgz",
+ "integrity": "sha512-qJK9nzelQqMSLdZbWUpQ8rfSAiH5pgB7rR5OC3/DLbmvhnD+vvuet/67cNzYnGW4pcTzsWzcRTSkmH/b6VcDCA==",
"cpu": [
"arm64"
],
@@ -15948,9 +16651,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-linux-arm64-musl": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.67.0.tgz",
- "integrity": "sha512-zBMJOkxgcR7Fgmx6hFJQycgWCl9fhS/oW5n1Qix+cbKFe2HfgtOhI+pESEqHc642WX/93BJ1m4OMmZJl35VYgg==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.68.1.tgz",
+ "integrity": "sha512-Fd/yP458VG5wit7uku9iEXzl+qfNTuYTVaxfo6EFsBokOf5Xs6Y4LFeKAjtZfb/eCCsc7UY75sAjDyOGnPnNWg==",
"cpu": [
"arm64"
],
@@ -15964,9 +16667,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-linux-x64-gnu": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.67.0.tgz",
- "integrity": "sha512-/zHUMrL24fGMTEr1iHE63f8NYa2IvxfIeNo24H1ofxhtr0A2KmcgOCcEUIypFjMxD5EY5kpQ2t0Nf42o+d4LOA==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.68.1.tgz",
+ "integrity": "sha512-VH7q2GXcFKiecD2eNloB4o8Ho6dUeB92O9bS/GV0+Q/yZdu/l0zWXetaszaCviPHCf8YBQzpOHxzsqgVu0RYqQ==",
"cpu": [
"x64"
],
@@ -15980,9 +16683,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-linux-x64-musl": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.67.0.tgz",
- "integrity": "sha512-+JsqPXn2Op35lPEMbTyHonPHzTyvCpfaD522M5nziDt41DAOe3BMMcGgRfJXl6Dv/r8f4iZuHL3YSU8wF+elcQ==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.68.1.tgz",
+ "integrity": "sha512-35drWZMNp31JL0fjAK10pOfE20xVQXa7/o1NGqSGiZ2Huf4c0OK0TOggw+F7IEwPXpi5qOL6C+apY1zod8299A==",
"cpu": [
"x64"
],
@@ -15996,9 +16699,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-wasm32-wasi": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-wasm32-wasi/-/binding-wasm32-wasi-0.67.0.tgz",
- "integrity": "sha512-jAugJhwJvCSurHEoicL0Gp9k1XVEnrTpQ3l1YBro/jfJ5uKSpfMBPPpNZBW04gumD08RDk32nqcPbk+BezvTaw==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-wasm32-wasi/-/binding-wasm32-wasi-0.68.1.tgz",
+ "integrity": "sha512-MkTZeTYEqZm18b1TaLSEuo0MxeAv8MNaKSjEz0GgldV3+lNowMbTLusW/QEgYczx/J9/9Y/oYj36Rja7qmfe1Q==",
"cpu": [
"wasm32"
],
@@ -16012,9 +16715,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-win32-arm64-msvc": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.67.0.tgz",
- "integrity": "sha512-JZparqb773ahTQoC3/e6LazRqOLhlyzNhllK73xvz/wixkYueivHxJrdYtFy4ss2VDns4Dg0MZ/zRhkBJy1enA==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.68.1.tgz",
+ "integrity": "sha512-27Mrz18+4l7ZzM5FYSCSXDOR+CfZPkxkDz85jADpOTO1lUxH+wkTZiTBAOYuyoyRYbjQOTiZzkYljXtDgNeeLg==",
"cpu": [
"arm64"
],
@@ -16028,9 +16731,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-parser/binding-win32-x64-msvc": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.67.0.tgz",
- "integrity": "sha512-jP5BkhItHRg0J/JfTp1L8D57VMyFgKrXeqH8h8CS04WL1V/ZbBUSr6FnK8gfy7eeKQZg7K7ZeJRTEEcW6i3nwQ==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.68.1.tgz",
+ "integrity": "sha512-TUsmnbG2ysQ5bUSfWdDliDMXqu7KwAxtIkAtO4mzHKgEu5avVbqk26BhSJsEC9JXqWSo13yTYBmMtC498K3GzQ==",
"cpu": [
"x64"
],
@@ -16044,9 +16747,9 @@
}
},
"node_modules/nuxt/node_modules/@oxc-project/types": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.67.0.tgz",
- "integrity": "sha512-AI7inoYvnVro7b8S2Z+Fxi295xQvNKLP1CM/xzx5il4R3aiGgnFt9qiXaRo9vIutataX8AjHcaPnOsjdcItU0w==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.68.1.tgz",
+ "integrity": "sha512-Q/H52+HXPPxuIHwQnVkEM8GebLnNcokkI4zQQdbxLIZdfxMGhAm9+gEqsMku3t95trN/1titHUmCM9NxbKaE2g==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/Boshen"
@@ -16059,9 +16762,9 @@
"license": "MIT"
},
"node_modules/nuxt/node_modules/esbuild": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz",
- "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
+ "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"hasInstallScript": true,
"license": "MIT",
"bin": {
@@ -16071,31 +16774,31 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.3",
- "@esbuild/android-arm": "0.25.3",
- "@esbuild/android-arm64": "0.25.3",
- "@esbuild/android-x64": "0.25.3",
- "@esbuild/darwin-arm64": "0.25.3",
- "@esbuild/darwin-x64": "0.25.3",
- "@esbuild/freebsd-arm64": "0.25.3",
- "@esbuild/freebsd-x64": "0.25.3",
- "@esbuild/linux-arm": "0.25.3",
- "@esbuild/linux-arm64": "0.25.3",
- "@esbuild/linux-ia32": "0.25.3",
- "@esbuild/linux-loong64": "0.25.3",
- "@esbuild/linux-mips64el": "0.25.3",
- "@esbuild/linux-ppc64": "0.25.3",
- "@esbuild/linux-riscv64": "0.25.3",
- "@esbuild/linux-s390x": "0.25.3",
- "@esbuild/linux-x64": "0.25.3",
- "@esbuild/netbsd-arm64": "0.25.3",
- "@esbuild/netbsd-x64": "0.25.3",
- "@esbuild/openbsd-arm64": "0.25.3",
- "@esbuild/openbsd-x64": "0.25.3",
- "@esbuild/sunos-x64": "0.25.3",
- "@esbuild/win32-arm64": "0.25.3",
- "@esbuild/win32-ia32": "0.25.3",
- "@esbuild/win32-x64": "0.25.3"
+ "@esbuild/aix-ppc64": "0.25.4",
+ "@esbuild/android-arm": "0.25.4",
+ "@esbuild/android-arm64": "0.25.4",
+ "@esbuild/android-x64": "0.25.4",
+ "@esbuild/darwin-arm64": "0.25.4",
+ "@esbuild/darwin-x64": "0.25.4",
+ "@esbuild/freebsd-arm64": "0.25.4",
+ "@esbuild/freebsd-x64": "0.25.4",
+ "@esbuild/linux-arm": "0.25.4",
+ "@esbuild/linux-arm64": "0.25.4",
+ "@esbuild/linux-ia32": "0.25.4",
+ "@esbuild/linux-loong64": "0.25.4",
+ "@esbuild/linux-mips64el": "0.25.4",
+ "@esbuild/linux-ppc64": "0.25.4",
+ "@esbuild/linux-riscv64": "0.25.4",
+ "@esbuild/linux-s390x": "0.25.4",
+ "@esbuild/linux-x64": "0.25.4",
+ "@esbuild/netbsd-arm64": "0.25.4",
+ "@esbuild/netbsd-x64": "0.25.4",
+ "@esbuild/openbsd-arm64": "0.25.4",
+ "@esbuild/openbsd-x64": "0.25.4",
+ "@esbuild/sunos-x64": "0.25.4",
+ "@esbuild/win32-arm64": "0.25.4",
+ "@esbuild/win32-ia32": "0.25.4",
+ "@esbuild/win32-x64": "0.25.4"
}
},
"node_modules/nuxt/node_modules/escape-string-regexp": {
@@ -16111,12 +16814,12 @@
}
},
"node_modules/nuxt/node_modules/oxc-parser": {
- "version": "0.67.0",
- "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.67.0.tgz",
- "integrity": "sha512-07arJoEJQopwEQ3gDu220l9J7i4XIyOWUGhfRalOX6gKEEYZIaqts5zJvFNtwNSjCc2yHMYscAdHNAB8nRazjA==",
+ "version": "0.68.1",
+ "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.68.1.tgz",
+ "integrity": "sha512-dHwz+xP9r1GTvqyywfws4j7EEP/OaeTpHEjTcvIjViB/R2IdUn52AnoUFNjpw8yRU52XVE76rOA4IEj7I0EjnA==",
"license": "MIT",
"dependencies": {
- "@oxc-project/types": "^0.67.0"
+ "@oxc-project/types": "^0.68.1"
},
"engines": {
"node": ">=14.0.0"
@@ -16125,16 +16828,16 @@
"url": "https://github.com/sponsors/Boshen"
},
"optionalDependencies": {
- "@oxc-parser/binding-darwin-arm64": "0.67.0",
- "@oxc-parser/binding-darwin-x64": "0.67.0",
- "@oxc-parser/binding-linux-arm-gnueabihf": "0.67.0",
- "@oxc-parser/binding-linux-arm64-gnu": "0.67.0",
- "@oxc-parser/binding-linux-arm64-musl": "0.67.0",
- "@oxc-parser/binding-linux-x64-gnu": "0.67.0",
- "@oxc-parser/binding-linux-x64-musl": "0.67.0",
- "@oxc-parser/binding-wasm32-wasi": "0.67.0",
- "@oxc-parser/binding-win32-arm64-msvc": "0.67.0",
- "@oxc-parser/binding-win32-x64-msvc": "0.67.0"
+ "@oxc-parser/binding-darwin-arm64": "0.68.1",
+ "@oxc-parser/binding-darwin-x64": "0.68.1",
+ "@oxc-parser/binding-linux-arm-gnueabihf": "0.68.1",
+ "@oxc-parser/binding-linux-arm64-gnu": "0.68.1",
+ "@oxc-parser/binding-linux-arm64-musl": "0.68.1",
+ "@oxc-parser/binding-linux-x64-gnu": "0.68.1",
+ "@oxc-parser/binding-linux-x64-musl": "0.68.1",
+ "@oxc-parser/binding-wasm32-wasi": "0.68.1",
+ "@oxc-parser/binding-win32-arm64-msvc": "0.68.1",
+ "@oxc-parser/binding-win32-x64-msvc": "0.68.1"
}
},
"node_modules/nypm": {
@@ -16156,6 +16859,12 @@
"node": "^14.16.0 || >=16.10.0"
}
},
+ "node_modules/nypm/node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "license": "MIT"
+ },
"node_modules/oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
@@ -16498,13 +17207,10 @@
"license": "BlueOak-1.0.0"
},
"node_modules/package-manager-detector": {
- "version": "0.2.11",
- "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-0.2.11.tgz",
- "integrity": "sha512-BEnLolu+yuz22S56CU1SUKq3XC3PkwD5wv4ikR4MfGvnRVcmzXR9DwSlW2fEamyTPyXHomBJRzgapeuBvRNzJQ==",
- "license": "MIT",
- "dependencies": {
- "quansync": "^0.2.7"
- }
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.3.0.tgz",
+ "integrity": "sha512-ZsEbbZORsyHuO00lY1kV3/t72yp6Ysay6Pd17ZAlNGuGwmWDLCJxFpRs0IzfXfj1o4icJOkUEioexFHzyPurSQ==",
+ "license": "MIT"
},
"node_modules/parchment": {
"version": "3.0.0",
@@ -16534,6 +17240,15 @@
"data-uri-to-buffer": "0.0.3"
}
},
+ "node_modules/parse-gitignore": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/parse-gitignore/-/parse-gitignore-2.0.0.tgz",
+ "integrity": "sha512-RmVuCHWsfu0QPNW+mraxh/xjQVw/lhUCUru8Zni3Ctq3AoMhpDTq0OVdKS6iesd6Kqb7viCV3isAL43dciOSog==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/parse-imports-exports": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/parse-imports-exports/-/parse-imports-exports-0.2.4.tgz",
@@ -16664,10 +17379,14 @@
}
},
"node_modules/path-to-regexp": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
- "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
- "license": "MIT"
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz",
+ "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=16"
+ }
},
"node_modules/path-type": {
"version": "6.0.0",
@@ -16793,6 +17512,16 @@
"node": ">= 6"
}
},
+ "node_modules/pkce-challenge": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.0.tgz",
+ "integrity": "sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/pkg-types": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.1.0.tgz",
@@ -16912,12 +17641,12 @@
}
},
"node_modules/postcss-colormin": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-7.0.2.tgz",
- "integrity": "sha512-YntRXNngcvEvDbEjTdRWGU606eZvB5prmHG4BF0yLmVpamXbpsRJzevyy6MZVyuecgzI2AWAlvFi8DAeCqwpvA==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-7.0.3.tgz",
+ "integrity": "sha512-xZxQcSyIVZbSsl1vjoqZAcMYYdnJsIyG8OvqShuuqf12S88qQboxxEy0ohNCOLwVPXTU+hFHvJPACRL2B5ohTA==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
+ "browserslist": "^4.24.5",
"caniuse-api": "^3.0.0",
"colord": "^2.9.3",
"postcss-value-parser": "^4.2.0"
@@ -16926,44 +17655,44 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-convert-values": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-7.0.4.tgz",
- "integrity": "sha512-e2LSXPqEHVW6aoGbjV9RsSSNDO3A0rZLCBxN24zvxF25WknMPpX8Dm9UxxThyEbaytzggRuZxaGXqaOhxQ514Q==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-7.0.5.tgz",
+ "integrity": "sha512-0VFhH8nElpIs3uXKnVtotDJJNX0OGYSZmdt4XfSfvOMrFw1jKfpwpZxfC4iN73CTM/MWakDEmsHQXkISYj4BXw==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
+ "browserslist": "^4.24.5",
"postcss-value-parser": "^4.2.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-discard-comments": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-7.0.3.tgz",
- "integrity": "sha512-q6fjd4WU4afNhWOA2WltHgCbkRhZPgQe7cXF74fuVB/ge4QbM9HEaOIzGSiMvM+g/cOsNAUGdf2JDzqA2F8iLA==",
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-7.0.4.tgz",
+ "integrity": "sha512-6tCUoql/ipWwKtVP/xYiFf1U9QgJ0PUvxN7pTcsQ8Ns3Fnwq1pU5D5s1MhT/XySeLq6GXNvn37U46Ded0TckWg==",
"license": "MIT",
"dependencies": {
- "postcss-selector-parser": "^6.1.2"
+ "postcss-selector-parser": "^7.1.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-discard-comments/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
@@ -16974,39 +17703,39 @@
}
},
"node_modules/postcss-discard-duplicates": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-7.0.1.tgz",
- "integrity": "sha512-oZA+v8Jkpu1ct/xbbrntHRsfLGuzoP+cpt0nJe5ED2FQF8n8bJtn7Bo28jSmBYwqgqnqkuSXJfSUEE7if4nClQ==",
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-7.0.2.tgz",
+ "integrity": "sha512-eTonaQvPZ/3i1ASDHOKkYwAybiM45zFIc7KXils4mQmHLqIswXD9XNOKEVxtTFnsmwYzF66u4LMgSr0abDlh5w==",
"license": "MIT",
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-discard-empty": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-7.0.0.tgz",
- "integrity": "sha512-e+QzoReTZ8IAwhnSdp/++7gBZ/F+nBq9y6PomfwORfP7q9nBpK5AMP64kOt0bA+lShBFbBDcgpJ3X4etHg4lzA==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-7.0.1.tgz",
+ "integrity": "sha512-cFrJKZvcg/uxB6Ijr4l6qmn3pXQBna9zyrPC+sK0zjbkDUZew+6xDltSF7OeB7rAtzaaMVYSdbod+sZOCWnMOg==",
"license": "MIT",
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-discard-overridden": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-7.0.0.tgz",
- "integrity": "sha512-GmNAzx88u3k2+sBTZrJSDauR0ccpE24omTQCVmaTTZFz1du6AasspjaUPMJ2ud4RslZpoFKyf+6MSPETLojc6w==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-7.0.1.tgz",
+ "integrity": "sha512-7c3MMjjSZ/qYrx3uc1940GSOzN1Iqjtlqe8uoSg+qdVPYyRb0TILSqqmtlSFuE4mTDECwsm397Ya7iXGzfF7lg==",
"license": "MIT",
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-import": {
@@ -17081,43 +17810,43 @@
}
},
"node_modules/postcss-merge-longhand": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-7.0.4.tgz",
- "integrity": "sha512-zer1KoZA54Q8RVHKOY5vMke0cCdNxMP3KBfDerjH/BYHh4nCIh+1Yy0t1pAEQF18ac/4z3OFclO+ZVH8azjR4A==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-7.0.5.tgz",
+ "integrity": "sha512-Kpu5v4Ys6QI59FxmxtNB/iHUVDn9Y9sYw66D6+SZoIk4QTz1prC4aYkhIESu+ieG1iylod1f8MILMs1Em3mmIw==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0",
- "stylehacks": "^7.0.4"
+ "stylehacks": "^7.0.5"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-merge-rules": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-7.0.4.tgz",
- "integrity": "sha512-ZsaamiMVu7uBYsIdGtKJ64PkcQt6Pcpep/uO90EpLS3dxJi6OXamIobTYcImyXGoW0Wpugh7DSD3XzxZS9JCPg==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-7.0.5.tgz",
+ "integrity": "sha512-ZonhuSwEaWA3+xYbOdJoEReKIBs5eDiBVLAGpYZpNFPzXZcEE5VKR7/qBEQvTZpiwjqhhqEQ+ax5O3VShBj9Wg==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
+ "browserslist": "^4.24.5",
"caniuse-api": "^3.0.0",
- "cssnano-utils": "^5.0.0",
- "postcss-selector-parser": "^6.1.2"
+ "cssnano-utils": "^5.0.1",
+ "postcss-selector-parser": "^7.1.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-merge-rules/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
@@ -17128,9 +17857,9 @@
}
},
"node_modules/postcss-minify-font-values": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-7.0.0.tgz",
- "integrity": "sha512-2ckkZtgT0zG8SMc5aoNwtm5234eUx1GGFJKf2b1bSp8UflqaeFzR50lid4PfqVI9NtGqJ2J4Y7fwvnP/u1cQog==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-7.0.1.tgz",
+ "integrity": "sha512-2m1uiuJeTplll+tq4ENOQSzB8LRnSUChBv7oSyFLsJRtUgAAJGP6LLz0/8lkinTgxrmJSPOEhgY1bMXOQ4ZXhQ==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17139,63 +17868,63 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-minify-gradients": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-7.0.0.tgz",
- "integrity": "sha512-pdUIIdj/C93ryCHew0UgBnL2DtUS3hfFa5XtERrs4x+hmpMYGhbzo6l/Ir5de41O0GaKVpK1ZbDNXSY6GkXvtg==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-7.0.1.tgz",
+ "integrity": "sha512-X9JjaysZJwlqNkJbUDgOclyG3jZEpAMOfof6PUZjPnPrePnPG62pS17CjdM32uT1Uq1jFvNSff9l7kNbmMSL2A==",
"license": "MIT",
"dependencies": {
"colord": "^2.9.3",
- "cssnano-utils": "^5.0.0",
+ "cssnano-utils": "^5.0.1",
"postcss-value-parser": "^4.2.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-minify-params": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-7.0.2.tgz",
- "integrity": "sha512-nyqVLu4MFl9df32zTsdcLqCFfE/z2+f8GE1KHPxWOAmegSo6lpV2GNy5XQvrzwbLmiU7d+fYay4cwto1oNdAaQ==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-7.0.3.tgz",
+ "integrity": "sha512-vUKV2+f5mtjewYieanLX0xemxIp1t0W0H/D11u+kQV/MWdygOO7xPMkbK+r9P6Lhms8MgzKARF/g5OPXhb8tgg==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
- "cssnano-utils": "^5.0.0",
+ "browserslist": "^4.24.5",
+ "cssnano-utils": "^5.0.1",
"postcss-value-parser": "^4.2.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-minify-selectors": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-7.0.4.tgz",
- "integrity": "sha512-JG55VADcNb4xFCf75hXkzc1rNeURhlo7ugf6JjiiKRfMsKlDzN9CXHZDyiG6x/zGchpjQS+UAgb1d4nqXqOpmA==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-7.0.5.tgz",
+ "integrity": "sha512-x2/IvofHcdIrAm9Q+p06ZD1h6FPcQ32WtCRVodJLDR+WMn8EVHI1kvLxZuGKz/9EY5nAmI6lIQIrpo4tBy5+ug==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
- "postcss-selector-parser": "^6.1.2"
+ "postcss-selector-parser": "^7.1.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
@@ -17328,21 +18057,21 @@
}
},
"node_modules/postcss-normalize-charset": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-7.0.0.tgz",
- "integrity": "sha512-ABisNUXMeZeDNzCQxPxBCkXexvBrUHV+p7/BXOY+ulxkcjUZO0cp8ekGBwvIh2LbCwnWbyMPNJVtBSdyhM2zYQ==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-7.0.1.tgz",
+ "integrity": "sha512-sn413ofhSQHlZFae//m9FTOfkmiZ+YQXsbosqOWRiVQncU2BA3daX3n0VF3cG6rGLSFVc5Di/yns0dFfh8NFgQ==",
"license": "MIT",
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-display-values": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-7.0.0.tgz",
- "integrity": "sha512-lnFZzNPeDf5uGMPYgGOw7v0BfB45+irSRz9gHQStdkkhiM0gTfvWkWB5BMxpn0OqgOQuZG/mRlZyJxp0EImr2Q==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-7.0.1.tgz",
+ "integrity": "sha512-E5nnB26XjSYz/mGITm6JgiDpAbVuAkzXwLzRZtts19jHDUBFxZ0BkXAehy0uimrOjYJbocby4FVswA/5noOxrQ==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17351,13 +18080,13 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-positions": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-7.0.0.tgz",
- "integrity": "sha512-I0yt8wX529UKIGs2y/9Ybs2CelSvItfmvg/DBIjTnoUSrPxSV7Z0yZ8ShSVtKNaV/wAY+m7bgtyVQLhB00A1NQ==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-7.0.1.tgz",
+ "integrity": "sha512-pB/SzrIP2l50ZIYu+yQZyMNmnAcwyYb9R1fVWPRxm4zcUFCY2ign7rcntGFuMXDdd9L2pPNUgoODDk91PzRZuQ==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17366,13 +18095,13 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-repeat-style": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-7.0.0.tgz",
- "integrity": "sha512-o3uSGYH+2q30ieM3ppu9GTjSXIzOrRdCUn8UOMGNw7Af61bmurHTWI87hRybrP6xDHvOe5WlAj3XzN6vEO8jLw==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-7.0.1.tgz",
+ "integrity": "sha512-NsSQJ8zj8TIDiF0ig44Byo3Jk9e4gNt9x2VIlJudnQQ5DhWAHJPF4Tr1ITwyHio2BUi/I6Iv0HRO7beHYOloYQ==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17381,13 +18110,13 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-string": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-7.0.0.tgz",
- "integrity": "sha512-w/qzL212DFVOpMy3UGyxrND+Kb0fvCiBBujiaONIihq7VvtC7bswjWgKQU/w4VcRyDD8gpfqUiBQ4DUOwEJ6Qg==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-7.0.1.tgz",
+ "integrity": "sha512-QByrI7hAhsoze992kpbMlJSbZ8FuCEc1OT9EFbZ6HldXNpsdpZr+YXC5di3UEv0+jeZlHbZcoCADgb7a+lPmmQ==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17396,13 +18125,13 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-timing-functions": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-7.0.0.tgz",
- "integrity": "sha512-tNgw3YV0LYoRwg43N3lTe3AEWZ66W7Dh7lVEpJbHoKOuHc1sLrzMLMFjP8SNULHaykzsonUEDbKedv8C+7ej6g==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-7.0.1.tgz",
+ "integrity": "sha512-bHifyuuSNdKKsnNJ0s8fmfLMlvsQwYVxIoUBnowIVl2ZAdrkYQNGVB4RxjfpvkMjipqvbz0u7feBZybkl/6NJg==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17411,29 +18140,29 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-unicode": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-7.0.2.tgz",
- "integrity": "sha512-ztisabK5C/+ZWBdYC+Y9JCkp3M9qBv/XFvDtSw0d/XwfT3UaKeW/YTm/MD/QrPNxuecia46vkfEhewjwcYFjkg==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-7.0.3.tgz",
+ "integrity": "sha512-EcoA29LvG3F+EpOh03iqu+tJY3uYYKzArqKJHxDhUYLa2u58aqGq16K6/AOsXD9yqLN8O6y9mmePKN5cx6krOw==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
+ "browserslist": "^4.24.5",
"postcss-value-parser": "^4.2.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-url": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-7.0.0.tgz",
- "integrity": "sha512-+d7+PpE+jyPX1hDQZYG+NaFD+Nd2ris6r8fPTBAjE8z/U41n/bib3vze8x7rKs5H1uEw5ppe9IojewouHk0klQ==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-7.0.1.tgz",
+ "integrity": "sha512-sUcD2cWtyK1AOL/82Fwy1aIVm/wwj5SdZkgZ3QiUzSzQQofrbq15jWJ3BA7Z+yVRwamCjJgZJN0I9IS7c6tgeQ==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17442,13 +18171,13 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-normalize-whitespace": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-7.0.0.tgz",
- "integrity": "sha512-37/toN4wwZErqohedXYqWgvcHUGlT8O/m2jVkAfAe9Bd4MzRqlBmXrJRePH0e9Wgnz2X7KymTgTOaaFizQe3AQ==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-7.0.1.tgz",
+ "integrity": "sha512-vsbgFHMFQrJBJKrUFJNZ2pgBeBkC2IvvoHjz1to0/0Xk7sII24T0qFOiJzG6Fu3zJoq/0yI4rKWi7WhApW+EFA==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17457,45 +18186,45 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-ordered-values": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-7.0.1.tgz",
- "integrity": "sha512-irWScWRL6nRzYmBOXReIKch75RRhNS86UPUAxXdmW/l0FcAsg0lvAXQCby/1lymxn/o0gVa6Rv/0f03eJOwHxw==",
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-7.0.2.tgz",
+ "integrity": "sha512-AMJjt1ECBffF7CEON/Y0rekRLS6KsePU6PRP08UqYW4UGFRnTXNrByUzYK1h8AC7UWTZdQ9O3Oq9kFIhm0SFEw==",
"license": "MIT",
"dependencies": {
- "cssnano-utils": "^5.0.0",
+ "cssnano-utils": "^5.0.1",
"postcss-value-parser": "^4.2.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-reduce-initial": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-7.0.2.tgz",
- "integrity": "sha512-pOnu9zqQww7dEKf62Nuju6JgsW2V0KRNBHxeKohU+JkHd/GAH5uvoObqFLqkeB2n20mr6yrlWDvo5UBU5GnkfA==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-7.0.3.tgz",
+ "integrity": "sha512-RFvkZaqiWtGMlVjlUHpaxGqEL27lgt+Q2Ixjf83CRAzqdo+TsDyGPtJUbPx2MuYIJ+sCQc2TrOvRnhcXQfgIVA==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
+ "browserslist": "^4.24.5",
"caniuse-api": "^3.0.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-reduce-transforms": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-7.0.0.tgz",
- "integrity": "sha512-pnt1HKKZ07/idH8cpATX/ujMbtOGhUfE+m8gbqwJE05aTaNw8gbo34a2e3if0xc0dlu75sUOiqvwCGY3fzOHew==",
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-7.0.1.tgz",
+ "integrity": "sha512-MhyEbfrm+Mlp/36hvZ9mT9DaO7dbncU0CvWI8V93LRkY6IYlu38OPg3FObnuKTUxJ4qA8HpurdQOo5CyqqO76g==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0"
@@ -17504,7 +18233,7 @@
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-selector-parser": {
@@ -17521,9 +18250,9 @@
}
},
"node_modules/postcss-svgo": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-7.0.1.tgz",
- "integrity": "sha512-0WBUlSL4lhD9rA5k1e5D8EN5wCEyZD6HJk0jIvRxl+FDVOMlJ7DePHYWGGVc5QRqrJ3/06FTXM0bxjmJpmTPSA==",
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-7.0.2.tgz",
+ "integrity": "sha512-5Dzy66JlnRM6pkdOTF8+cGsB1fnERTE8Nc+Eed++fOWo1hdsBptCsbG8UuJkgtZt75bRtMJIrPeZmtfANixdFA==",
"license": "MIT",
"dependencies": {
"postcss-value-parser": "^4.2.0",
@@ -17533,28 +18262,28 @@
"node": "^18.12.0 || ^20.9.0 || >= 18"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-unique-selectors": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-7.0.3.tgz",
- "integrity": "sha512-J+58u5Ic5T1QjP/LDV9g3Cx4CNOgB5vz+kM6+OxHHhFACdcDeKhBXjQmB7fnIZM12YSTvsL0Opwco83DmacW2g==",
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-7.0.4.tgz",
+ "integrity": "sha512-pmlZjsmEAG7cHd7uK3ZiNSW6otSZ13RHuZ/4cDN/bVglS5EpF2r2oxY99SuOHa8m7AWoBCelTS3JPpzsIs8skQ==",
"license": "MIT",
"dependencies": {
- "postcss-selector-parser": "^6.1.2"
+ "postcss-selector-parser": "^7.1.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/postcss-unique-selectors/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
@@ -17782,6 +18511,20 @@
"integrity": "sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ==",
"license": "MIT"
},
+ "node_modules/proxy-addr": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "forwarded": "0.2.0",
+ "ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
"node_modules/proxy-from-env": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
@@ -18134,6 +18877,22 @@
"node": ">= 0.6"
}
},
+ "node_modules/raw-body": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz",
+ "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "3.1.2",
+ "http-errors": "2.0.0",
+ "iconv-lite": "0.6.3",
+ "unpipe": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/rc9": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/rc9/-/rc9-2.1.2.tgz",
@@ -18285,12 +19044,6 @@
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
- "node_modules/regenerator-runtime": {
- "version": "0.14.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
- "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==",
- "license": "MIT"
- },
"node_modules/regexp-ast-analysis": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/regexp-ast-analysis/-/regexp-ast-analysis-0.7.1.tgz",
@@ -18467,6 +19220,27 @@
"node": ">= 6"
}
},
+ "node_modules/request/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/request/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/request/node_modules/qs": {
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz",
@@ -18636,9 +19410,9 @@
"license": "MIT"
},
"node_modules/rollup": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.1.tgz",
- "integrity": "sha512-C5VvvgCCyfyotVITIAv+4efVytl5F7wt+/I2i9q9GZcEXW9BP52YYOXC58igUi+LFZVHukErIIqQSWwv/M3WRw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.2.tgz",
+ "integrity": "sha512-tfUOg6DTP4rhQ3VjOO6B4wyrJnGOX85requAXvqYTHsOgb2TFJdZ3aWpT8W2kPoypSGP7dZUyzxJ9ee4buM5Fg==",
"license": "MIT",
"dependencies": {
"@types/estree": "1.0.7"
@@ -18651,26 +19425,26 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.40.1",
- "@rollup/rollup-android-arm64": "4.40.1",
- "@rollup/rollup-darwin-arm64": "4.40.1",
- "@rollup/rollup-darwin-x64": "4.40.1",
- "@rollup/rollup-freebsd-arm64": "4.40.1",
- "@rollup/rollup-freebsd-x64": "4.40.1",
- "@rollup/rollup-linux-arm-gnueabihf": "4.40.1",
- "@rollup/rollup-linux-arm-musleabihf": "4.40.1",
- "@rollup/rollup-linux-arm64-gnu": "4.40.1",
- "@rollup/rollup-linux-arm64-musl": "4.40.1",
- "@rollup/rollup-linux-loongarch64-gnu": "4.40.1",
- "@rollup/rollup-linux-powerpc64le-gnu": "4.40.1",
- "@rollup/rollup-linux-riscv64-gnu": "4.40.1",
- "@rollup/rollup-linux-riscv64-musl": "4.40.1",
- "@rollup/rollup-linux-s390x-gnu": "4.40.1",
- "@rollup/rollup-linux-x64-gnu": "4.40.1",
- "@rollup/rollup-linux-x64-musl": "4.40.1",
- "@rollup/rollup-win32-arm64-msvc": "4.40.1",
- "@rollup/rollup-win32-ia32-msvc": "4.40.1",
- "@rollup/rollup-win32-x64-msvc": "4.40.1",
+ "@rollup/rollup-android-arm-eabi": "4.40.2",
+ "@rollup/rollup-android-arm64": "4.40.2",
+ "@rollup/rollup-darwin-arm64": "4.40.2",
+ "@rollup/rollup-darwin-x64": "4.40.2",
+ "@rollup/rollup-freebsd-arm64": "4.40.2",
+ "@rollup/rollup-freebsd-x64": "4.40.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.40.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.40.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.40.2",
+ "@rollup/rollup-linux-arm64-musl": "4.40.2",
+ "@rollup/rollup-linux-loongarch64-gnu": "4.40.2",
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.40.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.40.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.40.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.40.2",
+ "@rollup/rollup-linux-x64-gnu": "4.40.2",
+ "@rollup/rollup-linux-x64-musl": "4.40.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.40.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.40.2",
+ "@rollup/rollup-win32-x64-msvc": "4.40.2",
"fsevents": "~2.3.2"
}
},
@@ -18713,6 +19487,23 @@
"node": ">= 8"
}
},
+ "node_modules/router": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz",
+ "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "depd": "^2.0.0",
+ "is-promise": "^4.0.0",
+ "parseurl": "^1.3.3",
+ "path-to-regexp": "^8.0.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
"node_modules/run-applescript": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz",
@@ -18876,27 +19667,6 @@
"node": ">= 18"
}
},
- "node_modules/send/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/send/node_modules/mime-types": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
- "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/serialize-javascript": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz",
@@ -19539,25 +20309,25 @@
"license": "0BSD"
},
"node_modules/stylehacks": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-7.0.4.tgz",
- "integrity": "sha512-i4zfNrGMt9SB4xRK9L83rlsFCgdGANfeDAYacO1pkqcE7cRHPdWHwnKZVz7WY17Veq/FvyYsRAU++Ga+qDFIww==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-7.0.5.tgz",
+ "integrity": "sha512-5kNb7V37BNf0Q3w+1pxfa+oiNPS++/b4Jil9e/kPDgrk1zjEd6uR7SZeJiYaLYH6RRSC1XX2/37OTeU/4FvuIA==",
"license": "MIT",
"dependencies": {
- "browserslist": "^4.23.3",
- "postcss-selector-parser": "^6.1.2"
+ "browserslist": "^4.24.5",
+ "postcss-selector-parser": "^7.1.0"
},
"engines": {
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"peerDependencies": {
- "postcss": "^8.4.31"
+ "postcss": "^8.4.32"
}
},
"node_modules/stylehacks/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
@@ -20061,9 +20831,9 @@
"license": "MIT"
},
"node_modules/tinyexec": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
- "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.1.tgz",
+ "integrity": "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==",
"license": "MIT"
},
"node_modules/tinyglobby": {
@@ -20269,9 +21039,9 @@
}
},
"node_modules/type-fest": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.40.1.tgz",
- "integrity": "sha512-9YvLNnORDpI+vghLU/Nf+zSv0kL47KbVJ1o3sKgoTefl6i+zebxbiDQWoe/oWWqPhIgQdRZRT1KA9sCPL810SA==",
+ "version": "4.41.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+ "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=16"
@@ -20281,13 +21051,15 @@
}
},
"node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
+ "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "devOptional": true,
"license": "MIT",
"dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
+ "content-type": "^1.0.5",
+ "media-typer": "^1.1.0",
+ "mime-types": "^3.0.0"
},
"engines": {
"node": ">= 0.6"
@@ -20392,9 +21164,9 @@
}
},
"node_modules/unimport": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/unimport/-/unimport-5.0.0.tgz",
- "integrity": "sha512-8jL3T+FKDg+qLFX55X9j92uFRqH5vWrNlf/eJb5IQlQB5q5wjooXQDXP1ulhJJQHbosBmlKhBo/ZVS5jHlcJGA==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/unimport/-/unimport-5.0.1.tgz",
+ "integrity": "sha512-1YWzPj6wYhtwHE+9LxRlyqP4DiRrhGfJxdtH475im8ktyZXO3jHj/3PZ97zDdvkYoovFdi0K4SKl3a7l92v3sQ==",
"license": "MIT",
"dependencies": {
"acorn": "^8.14.1",
@@ -20408,8 +21180,8 @@
"pkg-types": "^2.1.0",
"scule": "^1.3.0",
"strip-literal": "^3.0.0",
- "tinyglobby": "^0.2.12",
- "unplugin": "^2.2.2",
+ "tinyglobby": "^0.2.13",
+ "unplugin": "^2.3.2",
"unplugin-utils": "^0.2.4"
},
"engines": {
@@ -20467,6 +21239,16 @@
"node": ">=0.10.0"
}
},
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/unplugin": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/unplugin/-/unplugin-2.3.2.tgz",
@@ -20883,9 +21665,9 @@
}
},
"node_modules/vite": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.3.tgz",
- "integrity": "sha512-5nXH+QsELbFKhsEfWLkHrvgRpTdGJzqOZ+utSdmPTvwHmvU6ITTm3xx+mRusihkcI8GeC7lCDyn3kDtiki9scw==",
+ "version": "6.3.5",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
+ "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
"license": "MIT",
"dependencies": {
"esbuild": "^0.25.0",
@@ -20985,14 +21767,14 @@
}
},
"node_modules/vite-node": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.1.2.tgz",
- "integrity": "sha512-/8iMryv46J3aK13iUXsei5G/A3CUlW4665THCPS+K8xAaqrVWiGB4RfXMQXCLjpK9P2eK//BczrVkn5JLAk6DA==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.1.3.tgz",
+ "integrity": "sha512-uHV4plJ2IxCl4u1up1FQRrqclylKAogbtBfOTwcuJ28xFi+89PZ57BRh+naIRvH70HPwxy5QHYzg1OrEaC7AbA==",
"license": "MIT",
"dependencies": {
"cac": "^6.7.14",
"debug": "^4.4.0",
- "es-module-lexer": "^1.6.0",
+ "es-module-lexer": "^1.7.0",
"pathe": "^2.0.3",
"vite": "^5.0.0 || ^6.0.0"
},
@@ -21007,19 +21789,19 @@
}
},
"node_modules/vite-plugin-checker": {
- "version": "0.9.1",
- "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.9.1.tgz",
- "integrity": "sha512-neH3CSNWdkZ+zi+WPt/0y5+IO2I0UAI0NX6MaXqU/KxN1Lz6np/7IooRB6VVAMBa4nigqm1GRF6qNa4+EL5jDQ==",
+ "version": "0.9.3",
+ "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.9.3.tgz",
+ "integrity": "sha512-Tf7QBjeBtG7q11zG0lvoF38/2AVUzzhMNu+Wk+mcsJ00Rk/FpJ4rmUviVJpzWkagbU13cGXvKpt7CMiqtxVTbQ==",
"license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.26.2",
+ "@babel/code-frame": "^7.27.1",
"chokidar": "^4.0.3",
"npm-run-path": "^6.0.0",
"picocolors": "^1.1.1",
"picomatch": "^4.0.2",
"strip-ansi": "^7.1.0",
"tiny-invariant": "^1.3.3",
- "tinyglobby": "^0.2.12",
+ "tinyglobby": "^0.2.13",
"vscode-uri": "^3.1.0"
},
"engines": {
@@ -21035,7 +21817,7 @@
"vite": ">=2.0.0",
"vls": "*",
"vti": "*",
- "vue-tsc": "~2.2.2"
+ "vue-tsc": "~2.2.10"
},
"peerDependenciesMeta": {
"@biomejs/biome": {
@@ -21139,9 +21921,9 @@
}
},
"node_modules/vite-plugin-inspect/node_modules/open": {
- "version": "10.1.1",
- "resolved": "https://registry.npmjs.org/open/-/open-10.1.1.tgz",
- "integrity": "sha512-zy1wx4+P3PfhXSEPJNtZmJXfhkkIaxU1VauWIrDZw1O7uJRDRJtKr9n3Ic4NgbA16KyOxOXO2ng9gYwCdXuSXA==",
+ "version": "10.1.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-10.1.2.tgz",
+ "integrity": "sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==",
"license": "MIT",
"dependencies": {
"default-browser": "^5.2.1",
@@ -21177,9 +21959,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz",
- "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
+ "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
"cpu": [
"ppc64"
],
@@ -21193,9 +21975,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/android-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz",
- "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
+ "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
"cpu": [
"arm"
],
@@ -21209,9 +21991,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/android-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz",
- "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
+ "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
"cpu": [
"arm64"
],
@@ -21225,9 +22007,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/android-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz",
- "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
+ "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
"cpu": [
"x64"
],
@@ -21241,9 +22023,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz",
- "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
+ "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
"cpu": [
"arm64"
],
@@ -21257,9 +22039,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/darwin-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz",
- "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
+ "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
"cpu": [
"x64"
],
@@ -21273,9 +22055,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz",
- "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
"cpu": [
"arm64"
],
@@ -21289,9 +22071,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz",
- "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
+ "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
"cpu": [
"x64"
],
@@ -21305,9 +22087,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz",
- "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
+ "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
"cpu": [
"arm"
],
@@ -21321,9 +22103,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz",
- "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
+ "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
"cpu": [
"arm64"
],
@@ -21337,9 +22119,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz",
- "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
+ "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
"cpu": [
"ia32"
],
@@ -21353,9 +22135,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-loong64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz",
- "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
+ "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
"cpu": [
"loong64"
],
@@ -21369,9 +22151,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz",
- "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
+ "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
"cpu": [
"mips64el"
],
@@ -21385,9 +22167,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz",
- "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
+ "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
"cpu": [
"ppc64"
],
@@ -21401,9 +22183,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz",
- "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
+ "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
"cpu": [
"riscv64"
],
@@ -21417,9 +22199,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-s390x": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz",
- "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
+ "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
"cpu": [
"s390x"
],
@@ -21433,9 +22215,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/linux-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz",
- "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
+ "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
"cpu": [
"x64"
],
@@ -21449,9 +22231,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz",
- "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
"cpu": [
"x64"
],
@@ -21465,9 +22247,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
"cpu": [
"arm64"
],
@@ -21481,9 +22263,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz",
- "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
"cpu": [
"x64"
],
@@ -21497,9 +22279,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/sunos-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz",
- "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
+ "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
"cpu": [
"x64"
],
@@ -21513,9 +22295,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/win32-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz",
- "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
+ "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
"cpu": [
"arm64"
],
@@ -21529,9 +22311,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/win32-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz",
- "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
+ "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
"cpu": [
"ia32"
],
@@ -21545,9 +22327,9 @@
}
},
"node_modules/vite/node_modules/@esbuild/win32-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz",
- "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
+ "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
"cpu": [
"x64"
],
@@ -21561,9 +22343,9 @@
}
},
"node_modules/vite/node_modules/esbuild": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz",
- "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
+ "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"hasInstallScript": true,
"license": "MIT",
"bin": {
@@ -21573,31 +22355,31 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.3",
- "@esbuild/android-arm": "0.25.3",
- "@esbuild/android-arm64": "0.25.3",
- "@esbuild/android-x64": "0.25.3",
- "@esbuild/darwin-arm64": "0.25.3",
- "@esbuild/darwin-x64": "0.25.3",
- "@esbuild/freebsd-arm64": "0.25.3",
- "@esbuild/freebsd-x64": "0.25.3",
- "@esbuild/linux-arm": "0.25.3",
- "@esbuild/linux-arm64": "0.25.3",
- "@esbuild/linux-ia32": "0.25.3",
- "@esbuild/linux-loong64": "0.25.3",
- "@esbuild/linux-mips64el": "0.25.3",
- "@esbuild/linux-ppc64": "0.25.3",
- "@esbuild/linux-riscv64": "0.25.3",
- "@esbuild/linux-s390x": "0.25.3",
- "@esbuild/linux-x64": "0.25.3",
- "@esbuild/netbsd-arm64": "0.25.3",
- "@esbuild/netbsd-x64": "0.25.3",
- "@esbuild/openbsd-arm64": "0.25.3",
- "@esbuild/openbsd-x64": "0.25.3",
- "@esbuild/sunos-x64": "0.25.3",
- "@esbuild/win32-arm64": "0.25.3",
- "@esbuild/win32-ia32": "0.25.3",
- "@esbuild/win32-x64": "0.25.3"
+ "@esbuild/aix-ppc64": "0.25.4",
+ "@esbuild/android-arm": "0.25.4",
+ "@esbuild/android-arm64": "0.25.4",
+ "@esbuild/android-x64": "0.25.4",
+ "@esbuild/darwin-arm64": "0.25.4",
+ "@esbuild/darwin-x64": "0.25.4",
+ "@esbuild/freebsd-arm64": "0.25.4",
+ "@esbuild/freebsd-x64": "0.25.4",
+ "@esbuild/linux-arm": "0.25.4",
+ "@esbuild/linux-arm64": "0.25.4",
+ "@esbuild/linux-ia32": "0.25.4",
+ "@esbuild/linux-loong64": "0.25.4",
+ "@esbuild/linux-mips64el": "0.25.4",
+ "@esbuild/linux-ppc64": "0.25.4",
+ "@esbuild/linux-riscv64": "0.25.4",
+ "@esbuild/linux-s390x": "0.25.4",
+ "@esbuild/linux-x64": "0.25.4",
+ "@esbuild/netbsd-arm64": "0.25.4",
+ "@esbuild/netbsd-x64": "0.25.4",
+ "@esbuild/openbsd-arm64": "0.25.4",
+ "@esbuild/openbsd-x64": "0.25.4",
+ "@esbuild/sunos-x64": "0.25.4",
+ "@esbuild/win32-arm64": "0.25.4",
+ "@esbuild/win32-ia32": "0.25.4",
+ "@esbuild/win32-x64": "0.25.4"
}
},
"node_modules/vscode-uri": {
@@ -22106,9 +22888,9 @@
}
},
"node_modules/ws": {
- "version": "8.18.1",
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz",
- "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==",
+ "version": "8.18.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz",
+ "integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==",
"license": "MIT",
"engines": {
"node": ">=10.0.0"
@@ -22284,6 +23066,15 @@
"node": ">=18"
}
},
+ "node_modules/youch/node_modules/cookie": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz",
+ "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/zip-stream": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-6.0.1.tgz",
@@ -22299,13 +23090,23 @@
}
},
"node_modules/zod": {
- "version": "3.24.3",
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.3.tgz",
- "integrity": "sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg==",
+ "version": "3.24.4",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.4.tgz",
+ "integrity": "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
+ },
+ "node_modules/zod-to-json-schema": {
+ "version": "3.24.5",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.5.tgz",
+ "integrity": "sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==",
+ "devOptional": true,
+ "license": "ISC",
+ "peerDependencies": {
+ "zod": "^3.24.1"
+ }
}
}
}
diff --git a/client/package.json b/client/package.json
index 9024eb78a..5f8b96899 100644
--- a/client/package.json
+++ b/client/package.json
@@ -25,6 +25,7 @@
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
+ "eslint-plugin-vue": "^10.1.0",
"nuxt": "^3.17.1",
"nuxt-utm": "^0.2.2",
"postcss": "^8.4.47",
diff --git a/client/pages/forms/[slug]/edit.vue b/client/pages/forms/[slug]/edit.vue
index b829e635c..30dbd599c 100644
--- a/client/pages/forms/[slug]/edit.vue
+++ b/client/pages/forms/[slug]/edit.vue
@@ -48,7 +48,7 @@ function isDirty() {
formInitialHash.value !==
hash(JSON.stringify(updatedForm?.value?.data() ?? null))
)
- } catch (e) {
+ } catch {
return false
}
}
diff --git a/client/pages/forms/[slug]/index.vue b/client/pages/forms/[slug]/index.vue
index a7ee32594..90eb47070 100644
--- a/client/pages/forms/[slug]/index.vue
+++ b/client/pages/forms/[slug]/index.vue
@@ -43,13 +43,7 @@
</p>
</div>
<template v-else>
- <div v-if="recordLoading">
- <p class="text-center mt-6 p-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </p>
- </div>
<OpenCompleteForm
- v-show="!recordLoading"
ref="openCompleteForm"
:form="form"
class="mb-10"
@@ -77,14 +71,12 @@ import { FormMode } from "~/lib/forms/FormModeStrategy.js"
const crisp = useCrisp()
const formsStore = useFormsStore()
-const recordsStore = useRecordsStore()
const darkMode = useDarkMode()
const isIframe = useIsIframe()
const formLoading = computed(() => formsStore.loading)
-const recordLoading = computed(() => recordsStore.loading)
const slug = useRoute().params.slug
const form = computed(() => formsStore.getByKey(slug))
-const $t = useI18n()
+const { t } = useI18n()
const openCompleteForm = ref(null)
@@ -98,7 +90,7 @@ const passwordEntered = function (password) {
nextTick(() => {
loadForm().then(() => {
if (form.value?.is_password_protected) {
- openCompleteForm.value.addPasswordError($t('forms.invalid_password'))
+ openCompleteForm.value.addPasswordError(t('forms.invalid_password'))
}
})
})
@@ -121,7 +113,7 @@ const loadForm = async (setup=false) => {
try {
const data = await formsStore.publicFetch(slug)
formsStore.save(data)
- } catch (e) {
+ } catch {
formsStore.stopLoading()
setResponseStatus(event, 404, 'Page Not Found')
return
@@ -143,11 +135,6 @@ const loadForm = async (setup=false) => {
await loadForm(true)
-// Start loader if record needs to be loaded
-if (useRoute().query?.submission_id) {
- recordsStore.startLoading()
-}
-
onMounted(() => {
crisp.hideChat()
document.body.classList.add('public-page')
diff --git a/client/pages/redirect/billing-portal.vue b/client/pages/redirect/billing-portal.vue
index 8a14d7615..3bed5632e 100644
--- a/client/pages/redirect/billing-portal.vue
+++ b/client/pages/redirect/billing-portal.vue
@@ -19,7 +19,7 @@ onMounted(async () => {
throw new Error('No portal URL returned')
}
window.location.href = portal_url
- } catch (error) {
+ } catch {
useAlert().error('Unable to access billing portal. Please try again or contact support.')
setTimeout(() => {
navigateTo({ name: 'settings-billing' })
diff --git a/client/pages/redirect/checkout.vue b/client/pages/redirect/checkout.vue
index b080e0569..449c0359a 100644
--- a/client/pages/redirect/checkout.vue
+++ b/client/pages/redirect/checkout.vue
@@ -31,7 +31,7 @@ onMounted(async () => {
method: 'PUT',
body: { name, email }
})
- } catch (error) {
+ } catch {
useAlert().error('Failed to update customer details, but proceeding with checkout')
}
}
@@ -52,7 +52,7 @@ onMounted(async () => {
}
window.location.href = checkout_url
- } catch (error) {
+ } catch {
useAlert().error('Unable to start checkout process. Please try again or contact support.')
setTimeout(() => {
navigateTo({ name: 'pricing' })
diff --git a/client/pages/settings/connections/callback/[service].vue b/client/pages/settings/connections/callback/[service].vue
index e92e3d40a..39ee82bc9 100644
--- a/client/pages/settings/connections/callback/[service].vue
+++ b/client/pages/settings/connections/callback/[service].vue
@@ -56,7 +56,7 @@ async function handleCallback() {
waitForAcknowledgment: false,
targetOrigin: window.location.origin
})
- } catch (sendError) {
+ } catch {
// Silently handle error when sending window message - continue flow regardless
}
}
@@ -84,7 +84,7 @@ async function handleCallback() {
try {
errorMessage.value = error?.data?.message || "An error occurred while connecting the account."
alert.error(errorMessage.value)
- } catch (e) {
+ } catch {
errorMessage.value = "An unknown error occurred while connecting the account."
alert.error(errorMessage.value)
}
diff --git a/client/stores/oauth_providers.js b/client/stores/oauth_providers.js
index eaa680142..e3da43c0b 100644
--- a/client/stores/oauth_providers.js
+++ b/client/stores/oauth_providers.js
@@ -82,7 +82,7 @@ export const useOAuthProvidersStore = defineStore("oauth_providers", () => {
.catch((error) => {
try {
alert.error(error.data.message)
- } catch (e) {
+ } catch {
alert.error("An error occurred while connecting an account")
}
})
@@ -109,7 +109,7 @@ export const useOAuthProvidersStore = defineStore("oauth_providers", () => {
.catch((error) => {
try {
alert.error(error.data.message)
- } catch (e) {
+ } catch {
alert.error("An error occurred while connecting an account")
}
})
diff --git a/client/stores/working_form.js b/client/stores/working_form.js
index 58854edc5..9906c2a07 100644
--- a/client/stores/working_form.js
+++ b/client/stores/working_form.js
@@ -4,138 +4,92 @@ import { generateUUID } from "~/lib/utils.js"
import blocksTypes from "~/data/blocks_types.json"
import { useAlert } from '~/composables/useAlert'
import { useAuthStore } from '~/stores/auth'
+import { useForm } from '~/composables/useForm'
export const useWorkingFormStore = defineStore("working_form", {
state: () => ({
content: null,
activeTab: 0,
- formPageIndex: 0,
-
+
// Field being edited
selectedFieldIndex: null,
showEditFieldSidebar: null,
showAddFieldSidebar: null,
blockForm: null,
draggingNewBlock: false,
+
+ // Structure service instance - will be set from useFormManager
+ structureService: null,
}),
getters: {
// Get all blocks/properties in the form
formBlocks() {
return this.content?.properties || []
},
-
- // Get page break indices to determine page boundaries
- pageBreakIndices() {
- if (!this.content?.properties || this.content.properties.length === 0) return []
-
- // Find all indices of page break blocks
- const indices = []
- this.content.properties.forEach((prop, index) => {
- if (prop.type === 'nf-page-break' && !prop.hidden) {
- indices.push(index)
- }
- })
-
- return indices
- },
-
- // Calculate page boundaries (start/end indices for each page)
- pageBoundaries() {
- if (!this.content?.properties || this.content.properties.length === 0) {
- return [{ start: 0, end: 0 }]
- }
-
- const boundaries = []
- const breaks = this.pageBreakIndices
-
- // If no page breaks, return a single page boundary
- if (breaks.length === 0) {
- return [{
- start: 0,
- end: this.formBlocks.length - 1
- }]
- }
-
- // First page starts at 0
- let startIndex = 0
-
- // For each page break, create a boundary
- breaks.forEach(breakIndex => {
- boundaries.push({
- start: startIndex,
- end: breakIndex
- })
- startIndex = breakIndex + 1
- })
-
- // Add the last page
- boundaries.push({
- start: startIndex,
- end: this.formBlocks.length - 1
- })
-
- return boundaries
- },
-
- // Get the current page's boundary
- currentPageBoundary() {
- return this.pageBoundaries[this.formPageIndex] || { start: 0, end: this.formBlocks.length - 1 }
- },
-
- // Count total pages
- pageCount() {
- return this.pageBoundaries.length
+
+ // Get page count using structure service
+ simplePageCount() {
+ if (!this.structureService) return 1
+ return this.structureService.pageCount.value
},
- // Whether this is the last page
- isLastPage() {
- return this.formPageIndex === this.pageCount - 1
+ // Current page index from structure service
+ formPageIndex() {
+ if (!this.structureService) return 0
+ return this.structureService.currentPage
}
},
actions: {
set(form) {
this.content = form
+ // Don't reset structure service here - it's externally managed now
+ },
+ setStructureService(service) {
+ this.structureService = service
},
setProperties(properties) {
+ if (!this.content) return
this.content.properties = [...properties]
+ // No need to reset structure service as it's externally managed
},
objectToIndex(field) {
- if (typeof field === 'object') {
+ if (!this.content?.properties) return -1
+ if (typeof field === 'object' && field !== null && field.id !== undefined) {
return this.content.properties.findIndex(
- prop => prop.id === field.id
+ prop => prop && prop.id === field.id
)
}
- return field
+ if (typeof field === 'number') {
+ return field
+ }
+ return -1
},
setEditingField(field) {
this.selectedFieldIndex = this.objectToIndex(field)
},
openSettingsForField(field) {
- this.setEditingField(field)
+ const targetIndex = this.objectToIndex(field)
+ const previousIndex = this.selectedFieldIndex
+
+ this.selectedFieldIndex = targetIndex
this.showEditFieldSidebar = true
this.showAddFieldSidebar = false
- // Set the page to the one containing this field
- // But only do this when initially opening settings, not during editing
- if (typeof field === 'number' || (typeof field === 'object' && field !== null)) {
- // Only navigate to the field's page if we're newly selecting it
- // Not if we're just updating an already selected field
- const previousIndex = this.selectedFieldIndex
- const currentIndex = this.objectToIndex(field)
-
- if (previousIndex !== currentIndex) {
- this.setPageForField(this.selectedFieldIndex)
+ if (this.selectedFieldIndex !== -1 && previousIndex !== this.selectedFieldIndex) {
+ // Find which page contains the selected field and set to that page
+ if (this.structureService) {
+ this.structureService.setPageForField(this.selectedFieldIndex)
}
}
},
closeEditFieldSidebar() {
- this.selectedFieldIndex = null
this.showEditFieldSidebar = false
- this.showAddFieldSidebar = false
},
- openAddFieldSidebar(field) {
+ openAddFieldSidebar(field = null) {
if (field !== null) {
this.setEditingField(field)
+ } else {
+ this.selectedFieldIndex = null
}
this.showAddFieldSidebar = true
this.showEditFieldSidebar = false
@@ -143,13 +97,14 @@ export const useWorkingFormStore = defineStore("working_form", {
closeAddFieldSidebar() {
this.selectedFieldIndex = null
this.showAddFieldSidebar = false
- this.showEditFieldSidebar = false
},
reset() {
this.content = null
this.selectedFieldIndex = null
- this.showEditFieldSidebar = null
- this.showAddFieldSidebar = null
+ this.showEditFieldSidebar = false
+ this.showAddFieldSidebar = false
+ this.blockForm = null
+ this.structureService = null
},
resetBlockForm() {
@@ -160,61 +115,45 @@ export const useWorkingFormStore = defineStore("working_form", {
},
/**
- * Determine where to insert a new block
+ * Determine where to insert a new block based on current page index and selection.
+ * Uses the FormStructureService if available.
* @param {number|null} explicitIndex - Optional explicit index to insert at
- * @returns {number} The index where the block should be inserted
+ * @returns {number} The index where the block should be inserted relative to all properties
*/
determineInsertIndex(explicitIndex) {
- // If an explicit index is provided, use that
+ // If we have a structure service, use its method
+ if (this.structureService) {
+ return this.structureService.determineInsertIndex(
+ this.selectedFieldIndex,
+ this.formPageIndex,
+ explicitIndex
+ )
+ }
+
+ // Fallback to old logic
if (explicitIndex !== null && typeof explicitIndex === 'number') {
return explicitIndex
}
-
- // If a field is selected, insert after it
- // This handles the case when adding from a field's "Add new field" button
- if (this.selectedFieldIndex !== null && this.selectedFieldIndex !== undefined) {
+
+ if (this.selectedFieldIndex !== null && this.selectedFieldIndex >= 0) {
return this.selectedFieldIndex + 1
}
- // Early validation
- if (!this.content?.properties || this.content.properties.length === 0) {
- return 0
- }
-
- // Get the current page's boundaries
- const pageBreaks = this.pageBreakIndices
-
- // If no page breaks, insert at the end of the form
- if (pageBreaks.length === 0) {
- return this.content.properties.length
- }
-
- // For first page
- if (this.formPageIndex === 0) {
- return pageBreaks[0]
- }
-
- // For pages after the first one
- // Find the end of the current page (the page break index)
- const nextPageBreakIndex = pageBreaks[this.formPageIndex] || this.content.properties.length
-
- // Insert at the end of the current page, right before the next page break
- // If this is the last page, insert at the very end
- if (this.formPageIndex >= pageBreaks.length) {
- return this.content.properties.length
- }
-
- return nextPageBreakIndex
+ // Default: end of properties array
+ return this.content?.properties?.length || 0
},
prefillDefault(data) {
- // If a field already has this name, we need to make it unique with a number at the end
+ if (!this.content?.properties) return data
+
let baseName = data.name
let counter = 1
- while (this.content.properties.some(prop => prop.name === data.name)) {
+ let uniqueName = data.name
+ while (this.content.properties.some(prop => prop && prop.name === uniqueName)) {
counter++
- data.name = `${baseName} ${counter}`
+ uniqueName = `${baseName} ${counter}`
}
+ data.name = uniqueName
if (data.type === "nf-text") {
data.content = "<p>This is a text block.</p>"
@@ -231,48 +170,48 @@ export const useWorkingFormStore = defineStore("working_form", {
},
addBlock(type, index = null, openSettings = true) {
+ if (!this.blockForm) {
+ this.resetBlockForm()
+ }
+ if (!this.content) return
+
const block = blocksTypes[type]
if (block?.self_hosted !== undefined && !block.self_hosted && useFeatureFlag('self_hosted')) {
useAlert().error(block?.title + ' is not allowed on self hosted. Please use our hosted version.')
return
}
- // Check if authentication is required for this block type
if (block?.auth_required && !useAuthStore().check) {
useAlert().error('Please login first to add this block')
return
}
- // Check if block type has a maximum count defined
if (block?.max_count !== undefined) {
- const currentCount = this.content.properties.filter(prop => prop.type === type).length
+ const currentCount = this.content.properties.filter(prop => prop && prop.type === type).length
if (currentCount >= block.max_count) {
useAlert().error(`Only ${block.max_count} '${block.title}' block(s) allowed per form.`)
return
}
- // If a max_count is defined, always open settings like we did for payment
openSettings = true
}
this.blockForm.type = type
- this.blockForm.name = blocksTypes[type].default_block_name
- const newBlock = this.prefillDefault(this.blockForm.data())
+ this.blockForm.name = blocksTypes[type]?.default_block_name || 'New Block'
+ const newBlock = this.prefillDefault({ ...this.blockForm.data() })
newBlock.id = generateUUID()
newBlock.hidden = false
newBlock.help_position = "below_input"
- // Apply default values from blocks_types.json if they exist
if (blocksTypes[type]?.default_values) {
Object.assign(newBlock, blocksTypes[type].default_values)
}
- // Determine the insert index
const insertIndex = this.determineInsertIndex(index)
- // Insert at the determined position
- const newFields = clonedeep(this.content.properties)
+ const newFields = clonedeep(this.content.properties || [])
newFields.splice(insertIndex, 0, newBlock)
- this.content.properties = newFields
+ // Use setProperties to ensure content update triggers computed service update
+ this.setProperties(newFields)
if (openSettings) {
this.openSettingsForField(insertIndex)
@@ -284,7 +223,7 @@ export const useWorkingFormStore = defineStore("working_form", {
internalRemoveField(field) {
const index = this.objectToIndex(field)
- if (index !== -1) {
+ if (index !== -1 && this.content?.properties) {
useAlert().success('Ctrl + Z to undo',10000,{
title: 'Field removed',
actions: [{
@@ -295,53 +234,23 @@ export const useWorkingFormStore = defineStore("working_form", {
}
}]
})
- this.content.properties.splice(index, 1)
+ const newProps = [...this.content.properties]
+ newProps.splice(index, 1)
+ this.setProperties(newProps)
}
},
moveField(oldIndex, newIndex) {
- const newFields = clonedeep(this.content.properties)
- const field = newFields.splice(oldIndex, 1)[0]
- newFields.splice(newIndex, 0, field)
- this.content.properties = newFields
- },
-
- /**
- * Find which page a field belongs to and navigate to it
- * @param {number} fieldIndex - The index of the field to navigate to
- */
- setPageForField(fieldIndex) {
- if (fieldIndex === -1 || fieldIndex === null) return
+ if (!this.content?.properties || oldIndex === newIndex) return
- // Early return if no fields or field is out of range
- if (!this.content?.properties ||
- this.content.properties.length === 0 ||
- fieldIndex >= this.content.properties.length) {
- return
- }
+ const newFields = clonedeep(this.content.properties)
+ if (oldIndex < 0 || oldIndex >= newFields.length) return
- // If there are no page breaks, everything is on page 0
- if (this.pageBreakIndices.length === 0) {
- this.formPageIndex = 0
- return
- }
+ const field = newFields.splice(oldIndex, 1)[0]
- // Find which page contains this field
- for (let i = 0; i < this.pageBoundaries.length; i++) {
- const { start, end } = this.pageBoundaries[i]
- if (fieldIndex >= start && fieldIndex <= end) {
- // Only set page if it's different to avoid unnecessary rerenders
- if (this.formPageIndex !== i) {
- this.formPageIndex = i
- }
- return
- }
- }
+ const validNewIndex = Math.max(0, Math.min(newIndex, newFields.length))
- // Fallback to last page if field not found in any boundaries
- const lastPageIndex = this.pageBoundaries.length - 1
- if (this.formPageIndex !== lastPageIndex) {
- this.formPageIndex = lastPageIndex
- }
+ newFields.splice(validNewIndex, 0, field)
+ this.setProperties(newFields)
}
},
history: {}