@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,181 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface SettingsFormManagerProps {
|
|
3
|
+
name?: string
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
const { name = '' } = defineProps<SettingsFormManagerProps>()
|
|
7
|
+
|
|
8
|
+
import AIForm from './Forms/AIForm.vue'
|
|
9
|
+
import AnalyticsForm from './Forms/AnalyticsForm.vue'
|
|
10
|
+
import AppForm from './Forms/AppForm.vue'
|
|
11
|
+
import CacheForm from './Forms/CacheForm.vue'
|
|
12
|
+
import CliForm from './Forms/CLIForm.vue'
|
|
13
|
+
import CloudForm from './Forms/CloudForm.vue'
|
|
14
|
+
import DatabaseForm from './Forms/DatabaseForm.vue'
|
|
15
|
+
import DNSForm from './Forms/DNSForm.vue'
|
|
16
|
+
import EmailForm from './Forms/EmailForm.vue'
|
|
17
|
+
import FileSystemForm from './Forms/FileSystemForm.vue'
|
|
18
|
+
import HashingForm from './Forms/HashingForm.vue'
|
|
19
|
+
import LibraryForm from './Forms/LibraryForm.vue'
|
|
20
|
+
import QueueForm from './Forms/QueueForm.vue'
|
|
21
|
+
import SearchEngineForm from './Forms/SearchEngineForm.vue'
|
|
22
|
+
import SecurityForm from './Forms/SecurityForm.vue'
|
|
23
|
+
import ServicesForm from './Forms/ServicesForm.vue'
|
|
24
|
+
import StorageForm from './Forms/StorageForm.vue'
|
|
25
|
+
import TeamsForm from './Forms/TeamsForm.vue'
|
|
26
|
+
|
|
27
|
+
const options = [
|
|
28
|
+
{
|
|
29
|
+
key: 'ai',
|
|
30
|
+
label: 'AI',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: 'analytics',
|
|
34
|
+
label: 'Analytics',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
key: 'app',
|
|
38
|
+
label: 'App',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
key: 'cache',
|
|
42
|
+
label: 'Cache',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: 'cli',
|
|
46
|
+
label: 'CLI',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
key: 'cloud',
|
|
50
|
+
label: 'Cloud',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
key: 'database',
|
|
54
|
+
label: 'Database',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: 'dns',
|
|
58
|
+
label: 'DNS',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
key: 'email',
|
|
62
|
+
label: 'Email',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: 'file-system',
|
|
66
|
+
label: 'File System',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
key: 'hashing',
|
|
70
|
+
label: 'Hashing',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
key: 'languages',
|
|
74
|
+
label: 'Languages',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: 'library',
|
|
78
|
+
label: 'Library',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: 'native',
|
|
82
|
+
label: 'Native',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
key: 'mail',
|
|
86
|
+
label: 'Mail',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
key: 'queue',
|
|
90
|
+
label: 'Queue',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: 'search-engine',
|
|
94
|
+
label: 'Search Engine',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
key: 'security',
|
|
98
|
+
label: 'Security',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
key: 'services',
|
|
102
|
+
label: 'Services',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
key: 'storage',
|
|
106
|
+
label: 'Storage',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
key: 'team',
|
|
110
|
+
label: 'Team',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
key: 'ui',
|
|
114
|
+
label: 'UI',
|
|
115
|
+
},
|
|
116
|
+
]
|
|
117
|
+
function pageTitle() { return options.find(option => option.key === name }?.label || name)
|
|
118
|
+
</script>
|
|
119
|
+
<main>
|
|
120
|
+
<div class="md:col-span-2 px-4 py-6 sm:px-6 lg:px-8 bg-white ring-1 ring-gray-900/5 sm:rounded-xl shadow-sm">
|
|
121
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900">
|
|
122
|
+
{{ pageTitle }} Configuration
|
|
123
|
+
</h2>
|
|
124
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
125
|
+
This configuration defines all of your {{ pageTitle }} options.
|
|
126
|
+
</p>
|
|
127
|
+
|
|
128
|
+
<div class="mt-10">
|
|
129
|
+
@if(name === 'ai')
|
|
130
|
+
<AIForm />
|
|
131
|
+
@elseif(name === 'analytics')
|
|
132
|
+
<AnalyticsForm />
|
|
133
|
+
@elseif(name === 'app')
|
|
134
|
+
<AppForm />
|
|
135
|
+
@elseif(name === 'cache')
|
|
136
|
+
<CacheForm />
|
|
137
|
+
@elseif(name === 'cli')
|
|
138
|
+
<CliForm />
|
|
139
|
+
@elseif(name === 'cloud')
|
|
140
|
+
<CloudForm />
|
|
141
|
+
@elseif(name === 'database')
|
|
142
|
+
<DatabaseForm />
|
|
143
|
+
@elseif(name === 'dns')
|
|
144
|
+
<DNSForm />
|
|
145
|
+
@elseif(name === 'email')
|
|
146
|
+
<EmailForm />
|
|
147
|
+
@elseif(name === 'file-system')
|
|
148
|
+
<FileSystemForm />
|
|
149
|
+
@elseif(name === 'hashing')
|
|
150
|
+
<HashingForm />
|
|
151
|
+
@elseif(name === 'library')
|
|
152
|
+
<LibraryForm />
|
|
153
|
+
@elseif(name === 'queue')
|
|
154
|
+
<QueueForm />
|
|
155
|
+
@elseif(name === 'search-engine')
|
|
156
|
+
<SearchEngineForm />
|
|
157
|
+
@elseif(name === 'security')
|
|
158
|
+
<SecurityForm />
|
|
159
|
+
@elseif(name === 'services')
|
|
160
|
+
<ServicesForm />
|
|
161
|
+
@elseif(name === 'storage')
|
|
162
|
+
<StorageForm />
|
|
163
|
+
@elseif(name === 'team')
|
|
164
|
+
<TeamsForm />
|
|
165
|
+
@else
|
|
166
|
+
<div class="text-center">
|
|
167
|
+
<div class="h-12 w-12 text-gray-400 dark:text-neutral-200 duration-150 ease-in-out transition-all i-hugeicons-cog-8-tooth" />
|
|
168
|
+
<h3 class="mt-2 font-semibold text-gray-900 text-sm">
|
|
169
|
+
Settings <span class="font-bold">{{ pageTitle }}</span> Form not created yet
|
|
170
|
+
</h3>
|
|
171
|
+
<p class="mt-1 text-gray-500 text-sm">
|
|
172
|
+
Please ask the maintenance team to fix.
|
|
173
|
+
</p>
|
|
174
|
+
</div>
|
|
175
|
+
@endif
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</main>
|
|
179
|
+
<style scoped>
|
|
180
|
+
|
|
181
|
+
</style>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface SettingsHeaderProps {
|
|
3
|
+
currentPath?: string
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
const { currentPath = '/settings/ai' } = defineProps<SettingsHeaderProps>()
|
|
7
|
+
</script>
|
|
8
|
+
<header class="border-b border-gray-200 dark:border-neutral-600">
|
|
9
|
+
<!-- Secondary navigation -->
|
|
10
|
+
<nav class="flex overflow-x-auto py-4">
|
|
11
|
+
<ul
|
|
12
|
+
role="list"
|
|
13
|
+
class="flex flex-none gap-x-6 px-4 sm:px-6 lg:px-8 min-w-full font-semibold leading-6 text-gray-600 text-sm"
|
|
14
|
+
>
|
|
15
|
+
<li>
|
|
16
|
+
<a href="/settings/ai" class="{{ currentPath == '/settings/ai' ? 'text-blue-600' : '' }}">AI</a>
|
|
17
|
+
</li>
|
|
18
|
+
<li>
|
|
19
|
+
<a href="/settings/analytics" class="{{ currentPath == '/settings/analytics' ? 'text-blue-600' : '' }}">Analytics</a>
|
|
20
|
+
</li>
|
|
21
|
+
<li>
|
|
22
|
+
<a href="/settings/app" class="{{ currentPath == '/settings/app' ? 'text-blue-600' : '' }}">App</a>
|
|
23
|
+
</li>
|
|
24
|
+
<li>
|
|
25
|
+
<a href="/settings/cache" class="{{ currentPath == '/settings/cache' ? 'text-blue-600' : '' }}">Cache</a>
|
|
26
|
+
</li>
|
|
27
|
+
<li>
|
|
28
|
+
<a href="/settings/cli" class="{{ currentPath == '/settings/cli' ? 'text-blue-600' : '' }}">CLI</a>
|
|
29
|
+
</li>
|
|
30
|
+
<li>
|
|
31
|
+
<a href="/settings/cloud" class="{{ currentPath == '/settings/cloud' ? 'text-blue-600' : '' }}">Cloud</a>
|
|
32
|
+
</li>
|
|
33
|
+
<li>
|
|
34
|
+
<a href="/settings/database" class="{{ currentPath == '/settings/database' ? 'text-blue-600' : '' }}">Database</a>
|
|
35
|
+
</li>
|
|
36
|
+
<li>
|
|
37
|
+
<a href="/settings/dns" class="{{ currentPath == '/settings/dns' ? 'text-blue-600' : '' }}">DNS</a>
|
|
38
|
+
</li>
|
|
39
|
+
<li>
|
|
40
|
+
<a href="/settings/email" class="{{ currentPath == '/settings/email' ? 'text-blue-600' : '' }}">Email</a>
|
|
41
|
+
</li>
|
|
42
|
+
<li>
|
|
43
|
+
<a href="/settings/file-systems" class="{{ currentPath == '/settings/file-systems' ? 'text-blue-600' : '' }}">File Systems</a>
|
|
44
|
+
</li>
|
|
45
|
+
<li>
|
|
46
|
+
<a href="/settings/hashing" class="{{ currentPath == '/settings/hashing' ? 'text-blue-600' : '' }}">Hashing</a>
|
|
47
|
+
</li>
|
|
48
|
+
<li>
|
|
49
|
+
<a href="/settings/languages" class="{{ currentPath == '/settings/languages' ? 'text-blue-600' : '' }}">Languages</a>
|
|
50
|
+
</li>
|
|
51
|
+
<li>
|
|
52
|
+
<a href="/settings/library" class="{{ currentPath == '/settings/library' ? 'text-blue-600' : '' }}">Library</a>
|
|
53
|
+
</li>
|
|
54
|
+
<li>
|
|
55
|
+
<a href="/settings/native" class="{{ currentPath == '/settings/native' ? 'text-blue-600' : '' }}">Native</a>
|
|
56
|
+
</li>
|
|
57
|
+
<li>
|
|
58
|
+
<a href="/settings/mail" class="{{ currentPath == '/settings/mail' ? 'text-blue-600' : '' }}">Mail</a>
|
|
59
|
+
</li>
|
|
60
|
+
<li>
|
|
61
|
+
<a href="/settings/queue" class="{{ currentPath == '/settings/queue' ? 'text-blue-600' : '' }}">Queue</a>
|
|
62
|
+
</li>
|
|
63
|
+
<li>
|
|
64
|
+
<a href="/settings/search-engine" class="{{ currentPath == '/settings/search-engine' ? 'text-blue-600' : '' }}">Search Engine</a>
|
|
65
|
+
</li>
|
|
66
|
+
<li>
|
|
67
|
+
<a href="/settings/security" class="{{ currentPath == '/settings/security' ? 'text-blue-600' : '' }}">Security</a>
|
|
68
|
+
</li>
|
|
69
|
+
<li>
|
|
70
|
+
<a href="/settings/services" class="{{ currentPath == '/settings/services' ? 'text-blue-600' : '' }}">Services</a>
|
|
71
|
+
</li>
|
|
72
|
+
<li>
|
|
73
|
+
<a href="/settings/storage" class="{{ currentPath == '/settings/storage' ? 'text-blue-600' : '' }}">Storage</a>
|
|
74
|
+
</li>
|
|
75
|
+
<li>
|
|
76
|
+
<a href="/settings/team" class="{{ currentPath == '/settings/team' ? 'text-blue-600' : '' }}">Team</a>
|
|
77
|
+
</li>
|
|
78
|
+
<li>
|
|
79
|
+
<a href="/settings/ui" class="{{ currentPath == '/settings/ui' ? 'text-blue-600' : '' }}">UI</a>
|
|
80
|
+
</li>
|
|
81
|
+
</ul>
|
|
82
|
+
</nav>
|
|
83
|
+
</header>
|
|
84
|
+
<style>
|
|
85
|
+
.sidebar-links {
|
|
86
|
+
@apply text-gray-700 hover:text-blue-600 hover:bg-gray-50 flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold
|
|
87
|
+
}
|
|
88
|
+
</style>
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface SettingsSidebarProps {
|
|
3
|
+
currentPath?: string
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
const { currentPath = 'ai' } = defineProps<SettingsSidebarProps>()
|
|
7
|
+
</script>
|
|
8
|
+
<header class="p-4 sm:p-6 lg:p-8 lg:w-92 border-b border-gray-200 dark:border-neutral-600">
|
|
9
|
+
<div class="p-4 w-full bg-white rounded-lg shadow-sm">
|
|
10
|
+
<h3 class="font-semibold text-gray-700 md:text-sm">
|
|
11
|
+
Stacks Settings
|
|
12
|
+
</h3>
|
|
13
|
+
<p class="mt-2 text-gray-500 text-sm">
|
|
14
|
+
List of available settings
|
|
15
|
+
</p>
|
|
16
|
+
</div>
|
|
17
|
+
<!-- Side navigation -->
|
|
18
|
+
<nav class="flex flex-1 flex-col mt-4 p-4 w-full bg-white rounded-lg shadow-sm">
|
|
19
|
+
<ul role="list" class="-mx-2 mt-2 space-y-1">
|
|
20
|
+
<li>
|
|
21
|
+
<a href="/settings/ai" class="group sidebar-links flex items-center justify-between {{ currentPath == 'ai' ? 'text-blue-600' : '' }}">
|
|
22
|
+
<div class="flex gap-x-2 items-center">
|
|
23
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-sparkles"></div>
|
|
24
|
+
AI
|
|
25
|
+
</div>
|
|
26
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
27
|
+
</a>
|
|
28
|
+
</li>
|
|
29
|
+
<li>
|
|
30
|
+
<a href="/settings/analytics" class="sidebar-links group flex items-center justify-between {{ currentPath == 'analytics' ? 'text-blue-600' : '' }}">
|
|
31
|
+
<div class="flex gap-x-2 items-center">
|
|
32
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-chart-bar"></div>
|
|
33
|
+
Analytics
|
|
34
|
+
</div>
|
|
35
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
36
|
+
</a>
|
|
37
|
+
</li>
|
|
38
|
+
<li>
|
|
39
|
+
<a href="/settings/app" class="sidebar-links group flex items-center justify-between {{ currentPath == 'app' ? 'text-blue-600' : '' }}">
|
|
40
|
+
<div class="flex gap-x-2 items-center">
|
|
41
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-cog-6-tooth"></div>
|
|
42
|
+
App
|
|
43
|
+
</div>
|
|
44
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
45
|
+
</a>
|
|
46
|
+
</li>
|
|
47
|
+
<li>
|
|
48
|
+
<a href="/settings/billing" class="sidebar-links group flex items-center justify-between {{ currentPath == 'billing' ? 'text-blue-600' : '' }}">
|
|
49
|
+
<div class="flex gap-x-2 items-center">
|
|
50
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-credit-card"></div>
|
|
51
|
+
Billing
|
|
52
|
+
</div>
|
|
53
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
54
|
+
</a>
|
|
55
|
+
</li>
|
|
56
|
+
<li>
|
|
57
|
+
<a href="/settings/cache" class="sidebar-links group flex items-center justify-between {{ currentPath == 'cache' ? 'text-blue-600' : '' }}">
|
|
58
|
+
<div class="flex gap-x-2 items-center">
|
|
59
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-server"></div>
|
|
60
|
+
Cache
|
|
61
|
+
</div>
|
|
62
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
63
|
+
</a>
|
|
64
|
+
</li>
|
|
65
|
+
<li>
|
|
66
|
+
<a href="/settings/cli" class="sidebar-links group flex items-center justify-between {{ currentPath == 'cli' ? 'text-blue-600' : '' }}">
|
|
67
|
+
<div class="flex gap-x-2 items-center">
|
|
68
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-command-line"></div>
|
|
69
|
+
CLI
|
|
70
|
+
</div>
|
|
71
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
72
|
+
</a>
|
|
73
|
+
</li>
|
|
74
|
+
<li>
|
|
75
|
+
<a href="/settings/cloud" class="sidebar-links group flex items-center justify-between {{ currentPath == 'cloud' ? 'text-blue-600' : '' }}">
|
|
76
|
+
<div class="flex gap-x-2 items-center">
|
|
77
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-cloud"></div>
|
|
78
|
+
Cloud
|
|
79
|
+
</div>
|
|
80
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
81
|
+
</a>
|
|
82
|
+
</li>
|
|
83
|
+
<li>
|
|
84
|
+
<a href="/settings/database" class="sidebar-links group flex items-center justify-between {{ currentPath == 'database' ? 'text-blue-600' : '' }}">
|
|
85
|
+
<div class="flex gap-x-2 items-center">
|
|
86
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-circle-stack"></div>
|
|
87
|
+
Database
|
|
88
|
+
</div>
|
|
89
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
90
|
+
</a>
|
|
91
|
+
</li>
|
|
92
|
+
<li>
|
|
93
|
+
<a href="/settings/dns" class="sidebar-links group flex items-center justify-between {{ currentPath == 'dns' ? 'text-blue-600' : '' }}">
|
|
94
|
+
<div class="flex gap-x-2 items-center">
|
|
95
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-window"></div>
|
|
96
|
+
DNS
|
|
97
|
+
</div>
|
|
98
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
99
|
+
</a>
|
|
100
|
+
</li>
|
|
101
|
+
<li>
|
|
102
|
+
<a href="/settings/email" class="sidebar-links group flex items-center justify-between {{ currentPath == 'email' ? 'text-blue-600' : '' }}">
|
|
103
|
+
<div class="flex gap-x-2 items-center">
|
|
104
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-at-symbol"></div>
|
|
105
|
+
Email
|
|
106
|
+
</div>
|
|
107
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
108
|
+
</a>
|
|
109
|
+
</li>
|
|
110
|
+
<li>
|
|
111
|
+
<a href="/settings/file-system" class="sidebar-links group flex items-center justify-between {{ currentPath == 'file-system' ? 'text-blue-600' : '' }}">
|
|
112
|
+
<div class="flex gap-x-2 items-center">
|
|
113
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-folder"></div>
|
|
114
|
+
File System
|
|
115
|
+
</div>
|
|
116
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
117
|
+
</a>
|
|
118
|
+
</li>
|
|
119
|
+
<li>
|
|
120
|
+
<a href="/settings/hashing" class="sidebar-links group flex items-center justify-between {{ currentPath == 'hashing' ? 'text-blue-600' : '' }}">
|
|
121
|
+
<div class="flex gap-x-2 items-center">
|
|
122
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-hashtag"></div>
|
|
123
|
+
Hashing
|
|
124
|
+
</div>
|
|
125
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
126
|
+
</a>
|
|
127
|
+
</li>
|
|
128
|
+
<li>
|
|
129
|
+
<a href="/settings/languages" class="sidebar-links group flex items-center justify-between {{ currentPath == 'languages' ? 'text-blue-600' : '' }}">
|
|
130
|
+
<div class="flex gap-x-2 items-center">
|
|
131
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-language"></div>
|
|
132
|
+
Languages
|
|
133
|
+
</div>
|
|
134
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
135
|
+
</a>
|
|
136
|
+
</li>
|
|
137
|
+
<li>
|
|
138
|
+
<a href="/settings/library" class="sidebar-links group flex items-center justify-between {{ currentPath == 'library' ? 'text-blue-600' : '' }}">
|
|
139
|
+
<div class="flex gap-x-2 items-center">
|
|
140
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-book-open"></div>
|
|
141
|
+
Library
|
|
142
|
+
</div>
|
|
143
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
144
|
+
</a>
|
|
145
|
+
</li>
|
|
146
|
+
<li>
|
|
147
|
+
<a href="/settings/native" class="sidebar-links group flex items-center justify-between {{ currentPath == 'native' ? 'text-blue-600' : '' }}">
|
|
148
|
+
<div class="flex gap-x-2 items-center">
|
|
149
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-viewfinder-circle"></div>
|
|
150
|
+
Native
|
|
151
|
+
</div>
|
|
152
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
153
|
+
</a>
|
|
154
|
+
</li>
|
|
155
|
+
<li>
|
|
156
|
+
<a href="/settings/mail" class="sidebar-links group flex items-center justify-between {{ currentPath == 'mail' ? 'text-blue-600' : '' }}">
|
|
157
|
+
<div class="flex gap-x-2 items-center">
|
|
158
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-envelope"></div>
|
|
159
|
+
Mail
|
|
160
|
+
</div>
|
|
161
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
162
|
+
</a>
|
|
163
|
+
</li>
|
|
164
|
+
<li>
|
|
165
|
+
<a href="/settings/queue" class="sidebar-links group flex items-center justify-between {{ currentPath == 'queue' ? 'text-blue-600' : '' }}">
|
|
166
|
+
<div class="flex gap-x-2 items-center">
|
|
167
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-queue-02"></div>
|
|
168
|
+
Queue
|
|
169
|
+
</div>
|
|
170
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
171
|
+
</a>
|
|
172
|
+
</li>
|
|
173
|
+
<li>
|
|
174
|
+
<a href="/settings/search-engine" class="sidebar-links group flex items-center justify-between {{ currentPath == 'search-engine' ? 'text-blue-600' : '' }}">
|
|
175
|
+
<div class="flex gap-x-2 items-center">
|
|
176
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-search-01"></div>
|
|
177
|
+
Search Engine
|
|
178
|
+
</div>
|
|
179
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
180
|
+
</a>
|
|
181
|
+
</li>
|
|
182
|
+
<li>
|
|
183
|
+
<a href="/settings/security" class="sidebar-links group flex items-center justify-between {{ currentPath == 'security' ? 'text-blue-600' : '' }}">
|
|
184
|
+
<div class="flex gap-x-2 items-center">
|
|
185
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-shield-check"></div>
|
|
186
|
+
Security
|
|
187
|
+
</div>
|
|
188
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
189
|
+
</a>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<a href="/settings/services" class="sidebar-links group flex items-center justify-between {{ currentPath == 'services' ? 'text-blue-600' : '' }}">
|
|
193
|
+
<div class="flex gap-x-2 items-center">
|
|
194
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-briefcase"></div>
|
|
195
|
+
Services
|
|
196
|
+
</div>
|
|
197
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
198
|
+
</a>
|
|
199
|
+
</li>
|
|
200
|
+
<li>
|
|
201
|
+
<a href="/settings/storage" class="sidebar-links group flex items-center justify-between {{ currentPath == 'storage' ? 'text-blue-600' : '' }}">
|
|
202
|
+
<div class="flex gap-x-2 items-center">
|
|
203
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-circle-stack"></div>
|
|
204
|
+
Storage
|
|
205
|
+
</div>
|
|
206
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
207
|
+
</a>
|
|
208
|
+
</li>
|
|
209
|
+
<li>
|
|
210
|
+
<a href="/settings/team" class="sidebar-links group flex items-center justify-between {{ currentPath == 'team' ? 'text-blue-600' : '' }}">
|
|
211
|
+
<div class="flex gap-x-2 items-center">
|
|
212
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-user-group"></div>
|
|
213
|
+
Team
|
|
214
|
+
</div>
|
|
215
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
216
|
+
</a>
|
|
217
|
+
</li>
|
|
218
|
+
<li>
|
|
219
|
+
<a href="/settings/ui" class="sidebar-links group flex items-center justify-between {{ currentPath == 'ui' ? 'text-blue-600' : '' }}">
|
|
220
|
+
<div class="flex gap-x-2 items-center">
|
|
221
|
+
<div class="h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-rectangle-group"></div>
|
|
222
|
+
UI
|
|
223
|
+
</div>
|
|
224
|
+
<div class="self-end h-5 w-5 text-gray-500 dark:text-neutral-200 group-hover:text-gray-700 duration-150 ease-in-out transition i-hugeicons-arrow-right-01"></div>
|
|
225
|
+
</a>
|
|
226
|
+
</li>
|
|
227
|
+
</ul>
|
|
228
|
+
</nav>
|
|
229
|
+
</header>
|
|
230
|
+
<style>
|
|
231
|
+
.sidebar-links {
|
|
232
|
+
@apply text-gray-700 hover:text-blue-600 hover:bg-gray-50 flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold
|
|
233
|
+
}
|
|
234
|
+
</style>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Stacks Dashboard sidebar.
|
|
3
|
+
|
|
4
|
+
The actual sidebar is rendered inline by the dashboard layout
|
|
5
|
+
(`storage/framework/defaults/views/dashboard/layouts/default.stx`)
|
|
6
|
+
using the helper at `resources/functions/dashboard/sidebar.ts`. We
|
|
7
|
+
bypass the component-boundary path because in the STX version this
|
|
8
|
+
framework ships with, prop bindings on component invocations
|
|
9
|
+
(`<Sidebar :nav-html="…" />`) silently arrive as undefined regardless
|
|
10
|
+
of how the expression is shaped — so the layout builds the chunk of
|
|
11
|
+
HTML server-side and drops it in via raw triple-brace interpolation.
|
|
12
|
+
|
|
13
|
+
This file is kept (empty) rather than deleted because the components
|
|
14
|
+
directory is auto-scanned and a referenced-but-missing component
|
|
15
|
+
would surface as a runtime error in any view that still does
|
|
16
|
+
`<Sidebar />` (e.g. the older `DashboardLayout.stx`). An empty
|
|
17
|
+
template is a no-op render: safe, unobtrusive, and doesn't drag any
|
|
18
|
+
stale markup into pages that DO use the layout's inline sidebar.
|
|
19
|
+
|
|
20
|
+
See the helper module for the SVG icons + section structure + the
|
|
21
|
+
user-model discovery that wires `Booking`, `Car`, `Roadtrip`, etc.
|
|
22
|
+
into the Data section automatically.
|
|
23
|
+
-->
|