@stacksjs/defaults 0.70.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +2 -0
- package/package.json +20 -0
- package/resources/assets/fonts/013717e9.woff +0 -0
- package/resources/assets/fonts/03355817.woff2 +0 -0
- package/resources/assets/fonts/0380de7e.woff2 +0 -0
- package/resources/assets/fonts/0ba5d32a.woff +0 -0
- package/resources/assets/fonts/0bd57ddf.woff2 +0 -0
- package/resources/assets/fonts/19de0a60.woff2 +0 -0
- package/resources/assets/fonts/20b87e84.woff +0 -0
- package/resources/assets/fonts/4bbc67e1.woff +0 -0
- package/resources/assets/fonts/576fb0d7.woff +0 -0
- package/resources/assets/fonts/5ea10ee5.woff2 +0 -0
- package/resources/assets/fonts/6413fc0a.woff +0 -0
- package/resources/assets/fonts/72c114cf.woff +0 -0
- package/resources/assets/fonts/73c57e73.woff2 +0 -0
- package/resources/assets/fonts/813dca6c.woff +0 -0
- package/resources/assets/fonts/8a9b0995.woff2 +0 -0
- package/resources/assets/fonts/90b4832f.woff +0 -0
- package/resources/assets/fonts/9394ab85.woff2 +0 -0
- package/resources/assets/fonts/9b3c7d7f.woff2 +0 -0
- package/resources/assets/fonts/Monaco.ttf +0 -0
- package/resources/assets/fonts/b1b36d74.woff +0 -0
- package/resources/assets/fonts/b5d74798.woff2 +0 -0
- package/resources/assets/fonts/b9f81a4d.woff +0 -0
- package/resources/assets/fonts/c9784008.woff2 +0 -0
- package/resources/assets/fonts/cf692227.woff +0 -0
- package/resources/assets/fonts/d1c6ab51.woff2 +0 -0
- package/resources/assets/fonts/e2eb62fc.woff +0 -0
- package/resources/assets/fonts/fe21f8d8.woff2 +0 -0
- package/resources/assets/fonts/nps/CampmateScript-Regular.woff2 +0 -0
- package/resources/assets/fonts/nps/NPS_2026-variable.woff2 +0 -0
- package/resources/assets/fonts/nps/RedwoodSerif-Regular.woff2 +0 -0
- package/resources/assets/fonts/nps/SequoiaSans-Regular.woff2 +0 -0
- package/resources/assets/fonts/nps/Switchback-Regular.woff2 +0 -0
- package/resources/assets/images/app-icon.png +0 -0
- package/resources/assets/images/bg-img.png +0 -0
- package/resources/assets/images/park-ridge.svg +15 -0
- package/resources/assets/images/topography.svg +1 -0
- package/resources/assets/scripts/main.ts +2153 -0
- package/resources/assets/styles/README.md +19 -0
- package/resources/assets/styles/docs/main.css +1 -0
- package/resources/assets/styles/docs/overrides.css +1 -0
- package/resources/assets/styles/docs/vars.css +8 -0
- package/resources/assets/styles/main.css +1419 -0
- package/resources/components/Button.stx +70 -0
- package/resources/components/Buttons/BaseButton.stx +39 -0
- package/resources/components/Buttons/Counter.stx +28 -0
- package/resources/components/Buttons/ToggleDark.stx +11 -0
- package/resources/components/Container.stx +10 -0
- package/resources/components/Dashboard/.gitkeep +0 -0
- package/resources/components/Dashboard/Auth/ForgotPassword.stx +127 -0
- package/resources/components/Dashboard/Auth/Login.stx +212 -0
- package/resources/components/Dashboard/Auth/Register.stx +306 -0
- package/resources/components/Dashboard/Avatar.stx +123 -0
- package/resources/components/Dashboard/Billing/ActivePlan.stx +57 -0
- package/resources/components/Dashboard/Billing/CardBrands.stx +32 -0
- package/resources/components/Dashboard/Billing/CardForm.stx +34 -0
- package/resources/components/Dashboard/Billing/OneTimePayment.stx +28 -0
- package/resources/components/Dashboard/Billing/PaymentForm.stx +33 -0
- package/resources/components/Dashboard/Billing/PaymentMethod.stx +66 -0
- package/resources/components/Dashboard/Billing/PaymentMethodList.stx +52 -0
- package/resources/components/Dashboard/Billing/Plans.stx +136 -0
- package/resources/components/Dashboard/Buttons/AppButton.stx +48 -0
- package/resources/components/Dashboard/Buttons/IconButton.stx +20 -0
- package/resources/components/Dashboard/Card.stx +78 -0
- package/resources/components/Dashboard/Chart.stx +75 -0
- package/resources/components/Dashboard/CodeEditor.stx +41 -0
- package/resources/components/Dashboard/Commerce/BulkActionBar.stx +70 -0
- package/resources/components/Dashboard/Commerce/CategoriesTable.stx +133 -0
- package/resources/components/Dashboard/Commerce/CouponsTable.stx +161 -0
- package/resources/components/Dashboard/Commerce/CustomersTable.stx +142 -0
- package/resources/components/Dashboard/Commerce/Delivery/DeliveryRoutesTable.stx +80 -0
- package/resources/components/Dashboard/Commerce/Delivery/DigitalDeliveryTable.stx +85 -0
- package/resources/components/Dashboard/Commerce/Delivery/DriversTable.stx +99 -0
- package/resources/components/Dashboard/Commerce/Delivery/LicenseKeysTable.stx +92 -0
- package/resources/components/Dashboard/Commerce/Delivery/LicenseTemplatesTable.stx +88 -0
- package/resources/components/Dashboard/Commerce/Delivery/Pagination.stx +122 -0
- package/resources/components/Dashboard/Commerce/Delivery/SearchFilter.stx +23 -0
- package/resources/components/Dashboard/Commerce/Delivery/ShippingMethodsTable.stx +80 -0
- package/resources/components/Dashboard/Commerce/Delivery/ShippingRatesTable.stx +59 -0
- package/resources/components/Dashboard/Commerce/Delivery/ShippingZonesTable.stx +71 -0
- package/resources/components/Dashboard/Commerce/Delivery/TabNavigation.stx +36 -0
- package/resources/components/Dashboard/Commerce/Forms/CouponsForm.stx +191 -0
- package/resources/components/Dashboard/Commerce/OrdersTable.stx +131 -0
- package/resources/components/Dashboard/Commerce/ProductsTable.stx +170 -0
- package/resources/components/Dashboard/CreateRecordModal.stx +363 -0
- package/resources/components/Dashboard/DashboardLayout.stx +155 -0
- package/resources/components/Dashboard/Deployments/ActivityFeed.stx +54 -0
- package/resources/components/Dashboard/Deployments/DeployScript.stx +23 -0
- package/resources/components/Dashboard/Deployments/DeploymentHistory.stx +97 -0
- package/resources/components/Dashboard/Deployments/DeploymentList.stx +94 -0
- package/resources/components/Dashboard/Deployments/LiveTerminalOutput.stx +18 -0
- package/resources/components/Dashboard/Elements/Dropdown.stx +57 -0
- package/resources/components/Dashboard/Email/EmailActivityChart.stx +111 -0
- package/resources/components/Dashboard/Email/EmailCompose.stx +72 -0
- package/resources/components/Dashboard/Email/EmailDetail.stx +105 -0
- package/resources/components/Dashboard/Email/EmailList.stx +117 -0
- package/resources/components/Dashboard/Email/EmailSearch.stx +40 -0
- package/resources/components/Dashboard/Email/EmailSidebar.stx +133 -0
- package/resources/components/Dashboard/GlobalSearch.stx +124 -0
- package/resources/components/Dashboard/MobileSidebar.stx +47 -0
- package/resources/components/Dashboard/Modals/BaseModal.stx +50 -0
- package/resources/components/Dashboard/Modals/Popups/Alert.stx +112 -0
- package/resources/components/Dashboard/Modals/Popups/Toast.stx +70 -0
- package/resources/components/Dashboard/Modals/ToastWrapper.stx +35 -0
- package/resources/components/Dashboard/Monitoring/ErrorDetailModal.stx +228 -0
- package/resources/components/Dashboard/Monitoring/ErrorsTable.stx +184 -0
- package/resources/components/Dashboard/Navbar.stx +194 -0
- package/resources/components/Dashboard/NavbarModern.stx +188 -0
- package/resources/components/Dashboard/NotificationErrorModal.stx +105 -0
- package/resources/components/Dashboard/NotificationStatusBadge.stx +20 -0
- package/resources/components/Dashboard/Pagination.stx +90 -0
- package/resources/components/Dashboard/Queue/QueueTable.stx +127 -0
- package/resources/components/Dashboard/Settings/Forms/AIForm.stx +126 -0
- package/resources/components/Dashboard/Settings/Forms/AnalyticsForm.stx +52 -0
- package/resources/components/Dashboard/Settings/Forms/AppForm.stx +157 -0
- package/resources/components/Dashboard/Settings/Forms/CLIForm.stx +66 -0
- package/resources/components/Dashboard/Settings/Forms/CacheForm.stx +253 -0
- package/resources/components/Dashboard/Settings/Forms/CloudForm.stx +441 -0
- package/resources/components/Dashboard/Settings/Forms/DNSForm.stx +307 -0
- package/resources/components/Dashboard/Settings/Forms/DatabaseForm.stx +168 -0
- package/resources/components/Dashboard/Settings/Forms/EmailForm.stx +100 -0
- package/resources/components/Dashboard/Settings/Forms/FileSystemForm.stx +259 -0
- package/resources/components/Dashboard/Settings/Forms/HashingForm.stx +119 -0
- package/resources/components/Dashboard/Settings/Forms/LibraryForm.stx +389 -0
- package/resources/components/Dashboard/Settings/Forms/QueueForm.stx +219 -0
- package/resources/components/Dashboard/Settings/Forms/SearchEngineForm.stx +48 -0
- package/resources/components/Dashboard/Settings/Forms/SecurityForm.stx +143 -0
- package/resources/components/Dashboard/Settings/Forms/ServicesForm.stx +194 -0
- package/resources/components/Dashboard/Settings/Forms/StorageForm.stx +191 -0
- package/resources/components/Dashboard/Settings/Forms/TeamsForm.stx +33 -0
- package/resources/components/Dashboard/Settings/SettingsFormManager.stx +181 -0
- package/resources/components/Dashboard/SettingsHeader.stx +88 -0
- package/resources/components/Dashboard/SettingsSidebar.stx +234 -0
- package/resources/components/Dashboard/Sidebar.stx +23 -0
- package/resources/components/Dashboard/SidebarModern.stx +249 -0
- package/resources/components/Dashboard/Skeleton/LoadingCard.stx +15 -0
- package/resources/components/Dashboard/Skeleton/LoadingDetails.stx +26 -0
- package/resources/components/Dashboard/Table.stx +82 -0
- package/resources/components/Dashboard/TerminalContainer.stx +97 -0
- package/resources/components/Dashboard/Tooltip.stx +166 -0
- package/resources/components/Dashboard/Transaction/index.stx +88 -0
- package/resources/components/Dashboard/UI/ActivityTable.stx +54 -0
- package/resources/components/Dashboard/UI/Avatar.stx +102 -0
- package/resources/components/Dashboard/UI/Badge.stx +66 -0
- package/resources/components/Dashboard/UI/Button.stx +73 -0
- package/resources/components/Dashboard/UI/Card.stx +51 -0
- package/resources/components/Dashboard/UI/ChartCard.stx +36 -0
- package/resources/components/Dashboard/UI/Checkbox.stx +74 -0
- package/resources/components/Dashboard/UI/ConfirmDialog.stx +74 -0
- package/resources/components/Dashboard/UI/DataTable.stx +45 -0
- package/resources/components/Dashboard/UI/Dropdown.stx +72 -0
- package/resources/components/Dashboard/UI/DropdownItem.stx +80 -0
- package/resources/components/Dashboard/UI/EmptyState.stx +50 -0
- package/resources/components/Dashboard/UI/FilterBar.stx +48 -0
- package/resources/components/Dashboard/UI/Input.stx +77 -0
- package/resources/components/Dashboard/UI/Modal.stx +75 -0
- package/resources/components/Dashboard/UI/PageHeader.stx +69 -0
- package/resources/components/Dashboard/UI/PageLayout.stx +84 -0
- package/resources/components/Dashboard/UI/Pagination.stx +126 -0
- package/resources/components/Dashboard/UI/QuickLinks.stx +31 -0
- package/resources/components/Dashboard/UI/RouterLink.stx +31 -0
- package/resources/components/Dashboard/UI/Select.stx +84 -0
- package/resources/components/Dashboard/UI/ServiceHealth.stx +38 -0
- package/resources/components/Dashboard/UI/StatsCard.stx +79 -0
- package/resources/components/Dashboard/UI/Table.stx +143 -0
- package/resources/components/Dashboard/UI/Tabs.stx +45 -0
- package/resources/components/Dashboard/UI/Textarea.stx +93 -0
- package/resources/components/Dashboard/UI/Toggle.stx +84 -0
- package/resources/components/Dashboard/UI/WindowControls.stx +135 -0
- package/resources/components/Dashboard/Widget.stx +89 -0
- package/resources/components/Dashboard/WindowControls.stx +119 -0
- package/resources/components/Dashboard/index.ts +106 -0
- package/resources/components/Docs/Demo/ComboboxCode.md +114 -0
- package/resources/components/Docs/Demo/ComboboxDemo.stx +91 -0
- package/resources/components/Docs/Demo/DialogCode.md +42 -0
- package/resources/components/Docs/Demo/DialogDemo.stx +76 -0
- package/resources/components/Docs/Demo/DocsPlayground.stx +39 -0
- package/resources/components/Docs/Demo/DropdownCode.md +109 -0
- package/resources/components/Docs/Demo/DropdownDemo.stx +82 -0
- package/resources/components/Docs/Demo/Hero.stx +100 -0
- package/resources/components/Docs/Demo/ListboxCode.md +87 -0
- package/resources/components/Docs/Demo/ListboxDemo.stx +59 -0
- package/resources/components/Docs/Demo/NotificationCode.md +173 -0
- package/resources/components/Docs/Demo/NotificationDemo.stx +99 -0
- package/resources/components/Docs/Demo/PopoverCode.md +161 -0
- package/resources/components/Docs/Demo/PopoverDemo.stx +96 -0
- package/resources/components/Docs/Demo/RadioGroupCode.md +98 -0
- package/resources/components/Docs/Demo/RadioGroupDemo.stx +53 -0
- package/resources/components/Docs/Demo/StepperCode.md +216 -0
- package/resources/components/Docs/Demo/StepperDemo.stx +137 -0
- package/resources/components/Docs/Demo/SwitchCode.md +24 -0
- package/resources/components/Docs/Demo/SwitchDemo.stx +28 -0
- package/resources/components/Docs/Home.stx +7 -0
- package/resources/components/Docs/HomeContributors.stx +23 -0
- package/resources/components/Docs/HomeSponsors.stx +17 -0
- package/resources/components/Docs/HomeTeam.stx +18 -0
- package/resources/components/Docs/TeamMember.stx +79 -0
- package/resources/components/Email/EmailButton.stx +32 -0
- package/resources/components/Email/EmailDivider.stx +20 -0
- package/resources/components/Email/EmailImage.stx +24 -0
- package/resources/components/Email/EmailLayout.stx +55 -0
- package/resources/components/Email/EmailLink.stx +22 -0
- package/resources/components/Email/EmailSection.stx +20 -0
- package/resources/components/Email/EmailText.stx +30 -0
- package/resources/components/Forum/ForumBreadcrumb.stx +38 -0
- package/resources/components/Forum/ForumCategory.stx +16 -0
- package/resources/components/Forum/ForumCategoryItem.stx +46 -0
- package/resources/components/Forum/ForumLayout.stx +36 -0
- package/resources/components/Forum/ForumPagination.stx +39 -0
- package/resources/components/Forum/ForumPost.stx +71 -0
- package/resources/components/Forum/ForumReplyForm.stx +76 -0
- package/resources/components/Forum/ForumSidebar.stx +86 -0
- package/resources/components/Forum/ForumTopicItem.stx +77 -0
- package/resources/components/Forum/ForumTopicList.stx +23 -0
- package/resources/components/HelloWorld.stx +253 -0
- package/resources/components/Logo.stx +10 -0
- package/resources/components/Marketing/CallToAction.stx +30 -0
- package/resources/components/Marketing/ComingSoon.stx +155 -0
- package/resources/components/Marketing/Faqs.stx +99 -0
- package/resources/components/Marketing/Feature.stx +32 -0
- package/resources/components/Marketing/Fields.stx +28 -0
- package/resources/components/Marketing/Footer.stx +33 -0
- package/resources/components/Marketing/Header.stx +51 -0
- package/resources/components/Marketing/Hero.stx +46 -0
- package/resources/components/Marketing/Layout.stx +26 -0
- package/resources/components/Marketing/NavLink.stx +13 -0
- package/resources/components/Marketing/Plan.stx +43 -0
- package/resources/components/Marketing/Pricing.stx +120 -0
- package/resources/components/Marketing/PrimaryFeatures.stx +80 -0
- package/resources/components/Marketing/PrimaryFeatures2.stx +98 -0
- package/resources/components/Marketing/SecondaryFeatures.stx +80 -0
- package/resources/components/Marketing/Testimonials.stx +120 -0
- package/resources/components/Pagination.stx +149 -0
- package/resources/components/Playground.stx +9 -0
- package/resources/components/README.md +87 -0
- package/resources/components/Storefront/AnnouncementBar.stx +17 -0
- package/resources/components/Storefront/CartDrawer.stx +227 -0
- package/resources/components/Storefront/CheckoutSteps.stx +50 -0
- package/resources/components/Storefront/Footer.stx +81 -0
- package/resources/components/Storefront/Header.stx +66 -0
- package/resources/components/Storefront/OrderSummary.stx +79 -0
- package/resources/components/Storefront/ProductCard.stx +63 -0
- package/resources/components/Storefront/ProductGallery.stx +88 -0
- package/resources/components/Storefront/QuantitySelector.stx +97 -0
- package/resources/components/index.ts +13 -0
- package/resources/emails/email-verification.stx +46 -0
- package/resources/emails/layouts/base.html +113 -0
- package/resources/emails/password-changed.stx +55 -0
- package/resources/emails/password-reset.stx +43 -0
- package/resources/emails/subscription-confirmation.stx +99 -0
- package/resources/emails/welcome.stx +48 -0
- package/resources/functions/README.md +28 -0
- package/resources/functions/counter.ts +13 -0
- package/resources/functions/dark.ts +4 -0
- package/resources/functions/dashboard/analytics.ts +238 -0
- package/resources/functions/dashboard/config-io.ts +316 -0
- package/resources/functions/dashboard/data.ts +375 -0
- package/resources/functions/dashboard/library.ts +250 -0
- package/resources/functions/dashboard/sidebar.ts +537 -0
- package/resources/functions/dashboard/system.ts +150 -0
- package/resources/layouts/403.stx +188 -0
- package/resources/layouts/404.stx +34 -0
- package/resources/layouts/README.md +14 -0
- package/resources/layouts/dashboard/default.stx +20 -0
- package/resources/layouts/dashboard/guest.stx +10 -0
- package/resources/layouts/default.stx +3 -0
- package/resources/layouts/maintenance.stx +11 -0
- package/resources/layouts/storefront.stx +73 -0
- package/resources/layouts/system-tray/default.stx +3 -0
- package/resources/modules/.gitkeep +0 -0
- package/resources/plugins/.gitkeep +0 -0
- package/resources/plugins/preloader.ts +308 -0
- package/resources/types/README.md +3 -0
- package/resources/views/cart.stx +149 -0
- package/resources/views/checkout/contact.stx +101 -0
- package/resources/views/checkout/payment.stx +114 -0
- package/resources/views/checkout/shipping.stx +120 -0
- package/resources/views/coming-soon.stx +9 -0
- package/resources/views/dashboard/custom-page.stx +45 -0
- package/resources/views/dashboard/index.stx +24 -0
- package/resources/views/emails/welcome.stx +0 -0
- package/resources/views/errors/tester.stx +26 -0
- package/resources/views/index.stx +2865 -0
- package/resources/views/orders/[id].stx +130 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface FileSystemFormProps {
|
|
3
|
+
defaultDisk?: string
|
|
4
|
+
localDriver?: string
|
|
5
|
+
localRoot?: string
|
|
6
|
+
publicDriver?: string
|
|
7
|
+
publicRoot?: string
|
|
8
|
+
privateDriver?: string
|
|
9
|
+
privateRoot?: string
|
|
10
|
+
efsDriver?: string
|
|
11
|
+
efsRoot?: string
|
|
12
|
+
s3Driver?: string
|
|
13
|
+
s3Root?: string
|
|
14
|
+
publicVisibility?: boolean
|
|
15
|
+
privateVisibility?: boolean
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const { defaultDisk = 'local', localDriver = 'local', localRoot = 'storage', publicDriver = 'public', publicRoot = 'storage/public', privateDriver = 'private', privateRoot = 'storage/private', efsDriver = 'local', efsRoot = '/mnt/efs', s3Driver = 's3', s3Root = 's3', publicVisibility = true, privateVisibility = false } = defineProps<FileSystemFormProps>()
|
|
19
|
+
|
|
20
|
+
// Local disk settings
|
|
21
|
+
// Public disk settings
|
|
22
|
+
// Private disk settings
|
|
23
|
+
// EFS disk settings
|
|
24
|
+
// S3 disk settings
|
|
25
|
+
</script>
|
|
26
|
+
<form>
|
|
27
|
+
<main class="border-b border-gray-900/10">
|
|
28
|
+
<!-- Settings forms -->
|
|
29
|
+
<div class="divide-gray-900/10 divide-y">
|
|
30
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
31
|
+
<div>
|
|
32
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
33
|
+
Default File System Settings
|
|
34
|
+
</h2>
|
|
35
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
36
|
+
Update your default File System settings
|
|
37
|
+
</p>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div class="md:col-span-2">
|
|
41
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
42
|
+
<div class="sm:col-span-3">
|
|
43
|
+
<label for="default-disk" class="block font-medium leading-6 text-gray-900 text-sm">Default</label>
|
|
44
|
+
<div class="mt-2">
|
|
45
|
+
<select id="default-disk" name="default-disk" class="block py-1.5 w-full sm:max-w-xs text-gray-900 sm:leading-6 sm:text-sm border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
46
|
+
<option {{ defaultDisk == 'local' ? 'selected' : '' }}>local</option>
|
|
47
|
+
<option {{ defaultDisk == 'public' ? 'selected' : '' }}>public</option>
|
|
48
|
+
<option {{ defaultDisk == 'private' ? 'selected' : '' }}>private</option>
|
|
49
|
+
<option {{ defaultDisk == 'efs' ? 'selected' : '' }}>efs</option>
|
|
50
|
+
<option {{ defaultDisk == 's3' ? 'selected' : '' }}>s3</option>
|
|
51
|
+
</select>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
59
|
+
<div>
|
|
60
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
61
|
+
Local Disk
|
|
62
|
+
</h2>
|
|
63
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
64
|
+
Update your local disk configurations
|
|
65
|
+
</p>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<div class="md:col-span-2">
|
|
69
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
70
|
+
<div class="sm:col-span-3">
|
|
71
|
+
<label for="local-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
72
|
+
<div class="mt-2">
|
|
73
|
+
<input id="local-driver" type="text" name="local-driver" value="{{ localDriver }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div class="sm:col-span-3">
|
|
78
|
+
<label for="local-root" class="block font-medium leading-6 text-gray-900 text-sm">Root</label>
|
|
79
|
+
<div class="mt-2">
|
|
80
|
+
<input id="local-root" type="text" name="local-root" value="{{ localRoot }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
88
|
+
<div>
|
|
89
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
90
|
+
Public Disk
|
|
91
|
+
</h2>
|
|
92
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
93
|
+
Update your public disk configurations
|
|
94
|
+
</p>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div class="md:col-span-2">
|
|
98
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
99
|
+
<div class="sm:col-span-3">
|
|
100
|
+
<label for="public-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
101
|
+
<div class="mt-2">
|
|
102
|
+
<input id="public-driver" type="text" name="public-driver" value="{{ publicDriver }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<div class="sm:col-span-3">
|
|
107
|
+
<label for="public-root" class="block font-medium leading-6 text-gray-900 text-sm">Root</label>
|
|
108
|
+
<div class="mt-2">
|
|
109
|
+
<input id="public-root" type="text" name="public-root" value="{{ publicRoot }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div class="sm:col-span-2">
|
|
114
|
+
<label for="public-visibility" class="block font-medium leading-6 text-gray-900 text-sm">Visibility</label>
|
|
115
|
+
<div class="flex gap-x-4 items-center">
|
|
116
|
+
<div class="mt-2">
|
|
117
|
+
<button
|
|
118
|
+
type="button"
|
|
119
|
+
class="relative h-6 w-11 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full {{ publicVisibility ? 'bg-indigo-600' : 'bg-gray-200' }} transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-600"
|
|
120
|
+
role="switch"
|
|
121
|
+
aria-checked="{{ publicVisibility ? 'true' : 'false' }}"
|
|
122
|
+
data-action="toggle-public-visibility"
|
|
123
|
+
>
|
|
124
|
+
<span class="sr-only">Public Visibility</span>
|
|
125
|
+
<span
|
|
126
|
+
aria-hidden="true"
|
|
127
|
+
class="pointer-events-none inline-block h-5 w-5 {{ publicVisibility ? 'translate-x-5' : 'translate-x-0' }} transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
|
|
128
|
+
></span>
|
|
129
|
+
</button>
|
|
130
|
+
</div>
|
|
131
|
+
<span class="font-medium leading-6 text-gray-900 text-sm">Public</span>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
139
|
+
<div>
|
|
140
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
141
|
+
Private Disk
|
|
142
|
+
</h2>
|
|
143
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
144
|
+
Update your private disk configurations
|
|
145
|
+
</p>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div class="md:col-span-2">
|
|
149
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
150
|
+
<div class="sm:col-span-3">
|
|
151
|
+
<label for="private-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
152
|
+
<div class="mt-2">
|
|
153
|
+
<input id="private-driver" type="text" name="private-driver" value="{{ privateDriver }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<div class="sm:col-span-3">
|
|
158
|
+
<label for="private-root" class="block font-medium leading-6 text-gray-900 text-sm">Root</label>
|
|
159
|
+
<div class="mt-2">
|
|
160
|
+
<input id="private-root" type="text" name="private-root" value="{{ privateRoot }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<div class="sm:col-span-2">
|
|
165
|
+
<label for="private-visibility" class="block font-medium leading-6 text-gray-900 text-sm">Visibility</label>
|
|
166
|
+
<div class="flex gap-x-4 items-center">
|
|
167
|
+
<div class="mt-2">
|
|
168
|
+
<button
|
|
169
|
+
type="button"
|
|
170
|
+
class="relative h-6 w-11 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full {{ privateVisibility ? 'bg-indigo-600' : 'bg-gray-200' }} transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-600"
|
|
171
|
+
role="switch"
|
|
172
|
+
aria-checked="{{ privateVisibility ? 'true' : 'false' }}"
|
|
173
|
+
data-action="toggle-private-visibility"
|
|
174
|
+
>
|
|
175
|
+
<span class="sr-only">Private Visibility</span>
|
|
176
|
+
<span
|
|
177
|
+
aria-hidden="true"
|
|
178
|
+
class="pointer-events-none inline-block h-5 w-5 {{ privateVisibility ? 'translate-x-5' : 'translate-x-0' }} transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
|
|
179
|
+
></span>
|
|
180
|
+
</button>
|
|
181
|
+
</div>
|
|
182
|
+
<span class="font-medium leading-6 text-gray-900 text-sm">Private</span>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
190
|
+
<div>
|
|
191
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
192
|
+
EFS Disk
|
|
193
|
+
</h2>
|
|
194
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
195
|
+
Update your EFS disk configurations
|
|
196
|
+
</p>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<div class="md:col-span-2">
|
|
200
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
201
|
+
<div class="sm:col-span-3">
|
|
202
|
+
<label for="efs-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
203
|
+
<div class="mt-2">
|
|
204
|
+
<input id="efs-driver" type="text" name="efs-driver" value="{{ efsDriver }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
<div class="sm:col-span-3">
|
|
209
|
+
<label for="efs-root" class="block font-medium leading-6 text-gray-900 text-sm">Root</label>
|
|
210
|
+
<div class="mt-2">
|
|
211
|
+
<input id="efs-root" type="text" name="efs-root" value="{{ efsRoot }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
|
|
218
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
219
|
+
<div>
|
|
220
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
221
|
+
S3 Disk
|
|
222
|
+
</h2>
|
|
223
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
224
|
+
Update your S3 disk configurations
|
|
225
|
+
</p>
|
|
226
|
+
</div>
|
|
227
|
+
|
|
228
|
+
<div class="md:col-span-2">
|
|
229
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
230
|
+
<div class="sm:col-span-3">
|
|
231
|
+
<label for="s3-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
232
|
+
<div class="mt-2">
|
|
233
|
+
<input id="s3-driver" type="text" name="s3-driver" value="{{ s3Driver }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
|
|
237
|
+
<div class="sm:col-span-3">
|
|
238
|
+
<label for="s3-root" class="block font-medium leading-6 text-gray-900 text-sm">Root</label>
|
|
239
|
+
<div class="mt-2">
|
|
240
|
+
<input id="s3-root" type="text" name="s3-root" value="{{ s3Root }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
</main>
|
|
248
|
+
<div class="flex gap-x-6 items-center justify-end mt-6">
|
|
249
|
+
<button type="button" class="font-semibold leading-6 text-gray-900 text-sm">
|
|
250
|
+
Cancel
|
|
251
|
+
</button>
|
|
252
|
+
<button
|
|
253
|
+
type="submit"
|
|
254
|
+
class="px-3 py-2 font-semibold text-sm text-white bg-indigo-600 hover:bg-indigo-500 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-indigo-600 focus-visible:outline-offset-2 shadow-sm"
|
|
255
|
+
>
|
|
256
|
+
Save
|
|
257
|
+
</button>
|
|
258
|
+
</div>
|
|
259
|
+
</form>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface HashingFormProps {
|
|
3
|
+
driver?: string
|
|
4
|
+
bcryptRounds?: string
|
|
5
|
+
bcryptCost?: string
|
|
6
|
+
argon2Memory?: string
|
|
7
|
+
argon2Threads?: string
|
|
8
|
+
argon2Time?: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const { driver = 'argon2', bcryptRounds = '10', bcryptCost = '4', argon2Memory = '65596', argon2Threads = '1', argon2Time = '1' } = defineProps<HashingFormProps>()
|
|
12
|
+
</script>
|
|
13
|
+
<form>
|
|
14
|
+
<main class="border-b border-gray-900/10">
|
|
15
|
+
<!-- Settings forms -->
|
|
16
|
+
<div class="divide-gray-900/10 divide-y">
|
|
17
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
18
|
+
<div>
|
|
19
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
20
|
+
Default Hashing Settings
|
|
21
|
+
</h2>
|
|
22
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
23
|
+
Update your default Hashing settings
|
|
24
|
+
</p>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="md:col-span-2">
|
|
28
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
29
|
+
<div class="sm:col-span-3">
|
|
30
|
+
<label for="type" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
31
|
+
<div class="mt-2">
|
|
32
|
+
<select id="type" name="type" class="block py-1.5 w-full sm:max-w-xs text-gray-900 sm:leading-6 sm:text-sm border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
33
|
+
<option {{ driver == 'argon2' ? 'selected' : '' }}>argon2</option>
|
|
34
|
+
<option {{ driver == 'bcrypt' ? 'selected' : '' }}>bcrypt</option>
|
|
35
|
+
</select>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
43
|
+
<div>
|
|
44
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
45
|
+
Bcrypt Hashing
|
|
46
|
+
</h2>
|
|
47
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
48
|
+
Update your Bcrypt Hashing configurations
|
|
49
|
+
</p>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div class="md:col-span-2">
|
|
53
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
54
|
+
<div class="sm:col-span-3">
|
|
55
|
+
<label for="bcrypt-rounds" class="block font-medium leading-6 text-gray-900 text-sm">rounds</label>
|
|
56
|
+
<div class="mt-2">
|
|
57
|
+
<input id="bcrypt-rounds" type="text" name="bcrypt-rounds" value="{{ bcryptRounds }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<div class="sm:col-span-3">
|
|
62
|
+
<label for="bcrypt-cost" class="block font-medium leading-6 text-gray-900 text-sm">Cost</label>
|
|
63
|
+
<div class="mt-2">
|
|
64
|
+
<input id="bcrypt-cost" type="text" name="bcrypt-cost" value="{{ bcryptCost }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
72
|
+
<div>
|
|
73
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
74
|
+
Argon2 Hashing
|
|
75
|
+
</h2>
|
|
76
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
77
|
+
Update your Argon2 Hashing configurations
|
|
78
|
+
</p>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<div class="md:col-span-2">
|
|
82
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
83
|
+
<div class="sm:col-span-3">
|
|
84
|
+
<label for="argon2-memory" class="block font-medium leading-6 text-gray-900 text-sm">Memory</label>
|
|
85
|
+
<div class="mt-2">
|
|
86
|
+
<input id="argon2-memory" type="text" name="argon2-memory" value="{{ argon2Memory }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<div class="sm:col-span-3">
|
|
91
|
+
<label for="argon2-threads" class="block font-medium leading-6 text-gray-900 text-sm">Threads</label>
|
|
92
|
+
<div class="mt-2">
|
|
93
|
+
<input id="argon2-threads" type="text" name="argon2-threads" value="{{ argon2Threads }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div class="sm:col-span-3">
|
|
98
|
+
<label for="argon2-time" class="block font-medium leading-6 text-gray-900 text-sm">Time</label>
|
|
99
|
+
<div class="mt-2">
|
|
100
|
+
<input id="argon2-time" type="text" name="argon2-time" value="{{ argon2Time }}" class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm">
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</main>
|
|
108
|
+
<div class="flex gap-x-6 items-center justify-end mt-6">
|
|
109
|
+
<button type="button" class="font-semibold leading-6 text-gray-900 text-sm">
|
|
110
|
+
Cancel
|
|
111
|
+
</button>
|
|
112
|
+
<button
|
|
113
|
+
type="submit"
|
|
114
|
+
class="px-3 py-2 font-semibold text-sm text-white bg-indigo-600 hover:bg-indigo-500 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-indigo-600 focus-visible:outline-offset-2 shadow-sm"
|
|
115
|
+
>
|
|
116
|
+
Save
|
|
117
|
+
</button>
|
|
118
|
+
</div>
|
|
119
|
+
</form>
|