@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,389 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface LibraryFormProps {
|
|
3
|
+
libraryName?: string
|
|
4
|
+
libraryOwner?: string
|
|
5
|
+
libraryRepository?: string
|
|
6
|
+
libraryLicense?: string
|
|
7
|
+
libraryAuthor?: string
|
|
8
|
+
libraryDefaultLanguage?: string
|
|
9
|
+
libraryContributors?: string
|
|
10
|
+
functionsName?: string
|
|
11
|
+
functionsDescription?: string
|
|
12
|
+
functionsKeywords?: string
|
|
13
|
+
functionsFiles?: string
|
|
14
|
+
stxComponentsName?: string
|
|
15
|
+
stxComponentsKeywords?: string
|
|
16
|
+
stxComponentsDescription?: string
|
|
17
|
+
stxComponentsTags?: string
|
|
18
|
+
webComponentsName?: string
|
|
19
|
+
webComponentsKeywords?: string
|
|
20
|
+
webComponentsDescription?: string
|
|
21
|
+
webComponentsTags?: string
|
|
22
|
+
libraryReleaseable?: boolean
|
|
23
|
+
functionsGenerateSourcemap?: boolean
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const { libraryName = 'hello-world', libraryOwner = '@stacksjs', libraryRepository = 'stacksjs/stacks', libraryLicense = 'MIT', libraryAuthor = 'Chris Breuer', libraryDefaultLanguage = 'en', libraryContributors = 'Chris Breuer <chris@stacksjs.com>', functionsName = 'hello-world-fx', functionsDescription = 'Your function library description.', functionsKeywords = 'functions,composables,library,typescript,javascript', functionsFiles = 'counter,dark', stxComponentsName = 'hello-world-stx', stxComponentsKeywords = 'component,library,stx,vite,typescript,javascript', stxComponentsDescription = 'Your stx component library description', stxComponentsTags = [, webComponentsName = 'hello-world-elements', webComponentsKeywords = 'custom-elements,web-components,library,framework-agnostic,typescript,javascript', webComponentsDescription = 'Your framework agnostic web component library description.', webComponentsTags = [, libraryReleaseable = true, functionsGenerateSourcemap = true } = defineProps<LibraryFormProps>()
|
|
27
|
+
|
|
28
|
+
{ names: 'HelloWorld, AppHelloWorld', description: 'The Hello World custom element, built via this framework.', attributes: 'name : greeting' }
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
{ names: 'HelloWorld, AppHelloWorld', description: 'The Hello World custom element, built via this framework.', attributes: 'name : greeting' }
|
|
32
|
+
]
|
|
33
|
+
</script>
|
|
34
|
+
<form>
|
|
35
|
+
<main class="border-b border-gray-900/10">
|
|
36
|
+
<!-- Settings forms -->
|
|
37
|
+
<div class="divide-gray-900/10 divide-y">
|
|
38
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
39
|
+
<div>
|
|
40
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
41
|
+
Library Base Configurations
|
|
42
|
+
</h2>
|
|
43
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
44
|
+
Update your Library Configuration
|
|
45
|
+
</p>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div class="md:col-span-2">
|
|
49
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
50
|
+
<div class="sm:col-span-2">
|
|
51
|
+
<label for="library-name" class="block font-medium leading-6 text-gray-900 text-sm">Name</label>
|
|
52
|
+
<div class="mt-2">
|
|
53
|
+
<input id="library-name" type="text" name="library-name" value="{{ libraryName }}" 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">
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<div class="sm:col-span-2">
|
|
58
|
+
<label for="library-owner" class="block font-medium leading-6 text-gray-900 text-sm">Owner</label>
|
|
59
|
+
<div class="mt-2">
|
|
60
|
+
<input id="library-owner" type="text" name="library-owner" value="{{ libraryOwner }}" 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">
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<div class="sm:col-span-2">
|
|
65
|
+
<label for="library-repo" class="block font-medium leading-6 text-gray-900 text-sm">Repository</label>
|
|
66
|
+
<div class="mt-2">
|
|
67
|
+
<input id="library-repo" type="text" name="library-repo" value="{{ libraryRepository }}" 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">
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<div class="sm:col-span-2">
|
|
72
|
+
<label for="library-license" class="block font-medium leading-6 text-gray-900 text-sm">License</label>
|
|
73
|
+
<div class="mt-2">
|
|
74
|
+
<input id="library-license" type="text" name="library-license" value="{{ libraryLicense }}" 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">
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="sm:col-span-2">
|
|
79
|
+
<label for="library-author" class="block font-medium leading-6 text-gray-900 text-sm">Author</label>
|
|
80
|
+
<div class="mt-2">
|
|
81
|
+
<input id="library-author" type="text" name="library-author" value="{{ libraryAuthor }}" 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">
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<div class="sm:col-span-2">
|
|
86
|
+
<label for="library-lang" class="block font-medium leading-6 text-gray-900 text-sm">Default Language</label>
|
|
87
|
+
<div class="mt-2">
|
|
88
|
+
<select id="library-lang" name="library-lang" 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">
|
|
89
|
+
<option {{ libraryDefaultLanguage == 'en' ? 'selected' : '' }}>en</option>
|
|
90
|
+
</select>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
|
|
94
|
+
<div class="sm:col-span-full">
|
|
95
|
+
<label for="library-contributors" class="block font-medium leading-6 text-gray-900 text-sm">Contributors</label>
|
|
96
|
+
<div class="mt-2">
|
|
97
|
+
<input id="library-contributors" type="text" name="library-contributors" value="{{ libraryContributors }}" 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">
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="sm:col-span-2">
|
|
102
|
+
<label for="library-releaseable" class="block font-medium leading-6 text-gray-900 text-sm">Releaseable</label>
|
|
103
|
+
<div class="flex gap-x-4 items-center">
|
|
104
|
+
<div class="mt-2">
|
|
105
|
+
<button
|
|
106
|
+
type="button"
|
|
107
|
+
class="relative h-6 w-11 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full {{ libraryReleaseable ? '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"
|
|
108
|
+
role="switch"
|
|
109
|
+
aria-checked="{{ libraryReleaseable ? 'true' : 'false' }}"
|
|
110
|
+
data-action="toggle-releaseable"
|
|
111
|
+
>
|
|
112
|
+
<span class="sr-only">Releaseable</span>
|
|
113
|
+
<span
|
|
114
|
+
aria-hidden="true"
|
|
115
|
+
class="pointer-events-none inline-block h-5 w-5 {{ libraryReleaseable ? 'translate-x-5' : 'translate-x-0' }} transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
|
|
116
|
+
></span>
|
|
117
|
+
</button>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
126
|
+
<div>
|
|
127
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
128
|
+
Library Functions
|
|
129
|
+
</h2>
|
|
130
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
131
|
+
Update your Library Functions Configuration
|
|
132
|
+
</p>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<div class="md:col-span-2">
|
|
136
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
137
|
+
<div class="sm:col-span-2">
|
|
138
|
+
<label for="fn-name" class="block font-medium leading-6 text-gray-900 text-sm">Name</label>
|
|
139
|
+
<div class="mt-2">
|
|
140
|
+
<input id="fn-name" type="text" name="fn-name" value="{{ functionsName }}" 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">
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<div class="sm:col-span-full">
|
|
145
|
+
<label for="fn-description" class="block font-medium leading-6 text-gray-900 text-sm">Description</label>
|
|
146
|
+
<div class="mt-2">
|
|
147
|
+
<input id="fn-description" type="text" name="fn-description" value="{{ functionsDescription }}" 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">
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<div class="sm:col-span-full">
|
|
152
|
+
<label for="fn-keywords" class="block font-medium leading-6 text-gray-900 text-sm">Keywords</label>
|
|
153
|
+
<div class="mt-2">
|
|
154
|
+
<input id="fn-keywords" type="text" name="fn-keywords" value="{{ functionsKeywords }}" 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">
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<div class="sm:col-span-2">
|
|
159
|
+
<label for="fn-sourcemap" class="block font-medium leading-6 text-gray-900 text-sm">Should Generate Sourcemap</label>
|
|
160
|
+
<div class="flex gap-x-4 items-center">
|
|
161
|
+
<div class="mt-2">
|
|
162
|
+
<button
|
|
163
|
+
type="button"
|
|
164
|
+
class="relative h-6 w-11 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full {{ functionsGenerateSourcemap ? '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"
|
|
165
|
+
role="switch"
|
|
166
|
+
aria-checked="{{ functionsGenerateSourcemap ? 'true' : 'false' }}"
|
|
167
|
+
data-action="toggle-sourcemap"
|
|
168
|
+
>
|
|
169
|
+
<span class="sr-only">Generate Sourcemap</span>
|
|
170
|
+
<span
|
|
171
|
+
aria-hidden="true"
|
|
172
|
+
class="pointer-events-none inline-block h-5 w-5 {{ functionsGenerateSourcemap ? 'translate-x-5' : 'translate-x-0' }} transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
|
|
173
|
+
></span>
|
|
174
|
+
</button>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<div class="sm:col-span-full">
|
|
180
|
+
<label for="fn-files" class="block font-medium leading-6 text-gray-900 text-sm">Files</label>
|
|
181
|
+
<div class="mt-2">
|
|
182
|
+
<input id="fn-files" type="text" name="fn-files" value="{{ functionsFiles }}" 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">
|
|
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
|
+
Vue Components Configurations
|
|
193
|
+
</h2>
|
|
194
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
195
|
+
Update your Vue Components Configuration
|
|
196
|
+
</p>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
<div class="md:col-span-full">
|
|
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-2">
|
|
202
|
+
<label for="stx-name" class="block font-medium leading-6 text-gray-900 text-sm">Name</label>
|
|
203
|
+
<div class="mt-2">
|
|
204
|
+
<input id="stx-name" type="text" name="stx-name" value="{{ stxComponentsName }}" 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-4">
|
|
209
|
+
<label for="stx-keywords" class="block font-medium leading-6 text-gray-900 text-sm">Keywords</label>
|
|
210
|
+
<div class="mt-2">
|
|
211
|
+
<input id="stx-keywords" type="text" name="stx-keywords" value="{{ stxComponentsKeywords }}" 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
|
+
|
|
215
|
+
<div class="sm:col-span-full">
|
|
216
|
+
<label for="stx-description" class="block font-medium leading-6 text-gray-900 text-sm">Description</label>
|
|
217
|
+
<div class="mt-2">
|
|
218
|
+
<input id="stx-description" type="text" name="stx-description" value="{{ stxComponentsDescription }}" 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">
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
|
|
222
|
+
<div class="sm:col-span-full">
|
|
223
|
+
<div class="flex justify-between mb-4">
|
|
224
|
+
<div>
|
|
225
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
226
|
+
Vue Components Tags
|
|
227
|
+
</h2>
|
|
228
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
229
|
+
Update Vue Components Tags, click on the button to show modal to add new tag
|
|
230
|
+
</p>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
<div class="sm:flex-none mt-4 sm:ml-16 sm:mt-0">
|
|
234
|
+
<button type="button" class="block px-3 py-2 font-semibold text-center text-sm text-white bg-gray-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" data-action="add-vue-tag">
|
|
235
|
+
Add Tag
|
|
236
|
+
</button>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
|
|
240
|
+
<div class="flow-root mt-8">
|
|
241
|
+
<div class="overflow-x-auto -mx-4 -my-2 sm:-mx-6 lg:-mx-8">
|
|
242
|
+
<div class="inline-block py-2 sm:px-6 lg:px-8 min-w-full align-middle">
|
|
243
|
+
<table class="min-w-full divide-gray-300 divide-y">
|
|
244
|
+
<thead>
|
|
245
|
+
<tr>
|
|
246
|
+
<th scope="col" class="pl-4 pr-3 py-3.5 sm:pl-0 font-semibold text-gray-900 text-left text-sm">Name(s)</th>
|
|
247
|
+
<th scope="col" class="px-3 py-3.5 font-semibold text-gray-900 text-left text-sm">Attributes</th>
|
|
248
|
+
<th scope="col" class="relative pl-3 pr-4 py-3.5 sm:pr-0"><span class="sr-only">Actions</span></th>
|
|
249
|
+
</tr>
|
|
250
|
+
</thead>
|
|
251
|
+
<tbody class="bg-white divide-gray-200 divide-y">
|
|
252
|
+
@foreach(stxComponentsTags as tag)
|
|
253
|
+
<tr>
|
|
254
|
+
<td class="py-5 sm:pl-0 text-sm whitespace-nowrap">
|
|
255
|
+
<div class="flex items-center">
|
|
256
|
+
<div class="ml-4">
|
|
257
|
+
<div class="font-semibold text-gray-900">{{ tag.names }}</div>
|
|
258
|
+
<div class="mt-4 text-gray-500">{{ tag.description }}</div>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</td>
|
|
262
|
+
<td class="px-3 py-5 text-gray-500 text-sm whitespace-nowrap">
|
|
263
|
+
<div class="flex gap-x-4 items-center">
|
|
264
|
+
{<span class="font-semibold text-gray-900">{{ tag.attributes }}</span>},
|
|
265
|
+
</div>
|
|
266
|
+
</td>
|
|
267
|
+
<td class="pl-3 pr-4 py-4 space-x-6 sm:pr-0 font-medium text-right text-sm">
|
|
268
|
+
<a href="#" class="font-semibold text-gray-400 hover:text-gray-600" data-action="delete">Delete</a>
|
|
269
|
+
<a href="#" class="font-semibold text-indigo-600 hover:text-indigo-900" data-action="edit">Edit</a>
|
|
270
|
+
</td>
|
|
271
|
+
</tr>
|
|
272
|
+
@endforeach
|
|
273
|
+
</tbody>
|
|
274
|
+
</table>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
|
|
283
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
284
|
+
<div>
|
|
285
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
286
|
+
Web Components Configurations
|
|
287
|
+
</h2>
|
|
288
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
289
|
+
Update your Web Components Configuration
|
|
290
|
+
</p>
|
|
291
|
+
</div>
|
|
292
|
+
|
|
293
|
+
<div class="md:col-span-full">
|
|
294
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
295
|
+
<div class="sm:col-span-2">
|
|
296
|
+
<label for="wc-name" class="block font-medium leading-6 text-gray-900 text-sm">Name</label>
|
|
297
|
+
<div class="mt-2">
|
|
298
|
+
<input id="wc-name" type="text" name="wc-name" value="{{ webComponentsName }}" 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">
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
<div class="sm:col-span-4">
|
|
303
|
+
<label for="wc-keywords" class="block font-medium leading-6 text-gray-900 text-sm">Keywords</label>
|
|
304
|
+
<div class="mt-2">
|
|
305
|
+
<input id="wc-keywords" type="text" name="wc-keywords" value="{{ webComponentsKeywords }}" 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">
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
<div class="sm:col-span-full">
|
|
310
|
+
<label for="wc-description" class="block font-medium leading-6 text-gray-900 text-sm">Description</label>
|
|
311
|
+
<div class="mt-2">
|
|
312
|
+
<input id="wc-description" type="text" name="wc-description" value="{{ webComponentsDescription }}" 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">
|
|
313
|
+
</div>
|
|
314
|
+
</div>
|
|
315
|
+
|
|
316
|
+
<div class="sm:col-span-full">
|
|
317
|
+
<div class="flex justify-between mb-4">
|
|
318
|
+
<div>
|
|
319
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
320
|
+
Web Components Tags
|
|
321
|
+
</h2>
|
|
322
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
323
|
+
Update Web Components Tags, click on the button to show modal to add new tag
|
|
324
|
+
</p>
|
|
325
|
+
</div>
|
|
326
|
+
|
|
327
|
+
<div class="sm:flex-none mt-4 sm:ml-16 sm:mt-0">
|
|
328
|
+
<button type="button" class="block px-3 py-2 font-semibold text-center text-sm text-white bg-gray-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" data-action="add-wc-tag">
|
|
329
|
+
Add Tag
|
|
330
|
+
</button>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<div class="flow-root mt-8">
|
|
335
|
+
<div class="overflow-x-auto -mx-4 -my-2 sm:-mx-6 lg:-mx-8">
|
|
336
|
+
<div class="inline-block py-2 sm:px-6 lg:px-8 min-w-full align-middle">
|
|
337
|
+
<table class="min-w-full divide-gray-300 divide-y">
|
|
338
|
+
<thead>
|
|
339
|
+
<tr>
|
|
340
|
+
<th scope="col" class="pl-4 pr-3 py-3.5 sm:pl-0 font-semibold text-gray-900 text-left text-sm">Name(s)</th>
|
|
341
|
+
<th scope="col" class="px-3 py-3.5 font-semibold text-gray-900 text-left text-sm">Attributes</th>
|
|
342
|
+
<th scope="col" class="relative pl-3 pr-4 py-3.5 sm:pr-0"><span class="sr-only">Actions</span></th>
|
|
343
|
+
</tr>
|
|
344
|
+
</thead>
|
|
345
|
+
<tbody class="bg-white divide-gray-200 divide-y">
|
|
346
|
+
@foreach(webComponentsTags as tag)
|
|
347
|
+
<tr>
|
|
348
|
+
<td class="py-5 sm:pl-0 text-sm whitespace-nowrap">
|
|
349
|
+
<div class="flex items-center">
|
|
350
|
+
<div class="ml-4">
|
|
351
|
+
<div class="font-semibold text-gray-900">{{ tag.names }}</div>
|
|
352
|
+
<div class="mt-4 text-gray-500">{{ tag.description }}</div>
|
|
353
|
+
</div>
|
|
354
|
+
</div>
|
|
355
|
+
</td>
|
|
356
|
+
<td class="px-3 py-5 text-gray-500 text-sm whitespace-nowrap">
|
|
357
|
+
<div class="flex gap-x-4 items-center">
|
|
358
|
+
{<span class="font-semibold text-gray-900">{{ tag.attributes }}</span>},
|
|
359
|
+
</div>
|
|
360
|
+
</td>
|
|
361
|
+
<td class="pl-3 pr-4 py-4 space-x-6 sm:pr-0 font-medium text-right text-sm">
|
|
362
|
+
<a href="#" class="font-semibold text-gray-400 hover:text-gray-600" data-action="delete">Delete</a>
|
|
363
|
+
<a href="#" class="font-semibold text-indigo-600 hover:text-indigo-900" data-action="edit">Edit</a>
|
|
364
|
+
</td>
|
|
365
|
+
</tr>
|
|
366
|
+
@endforeach
|
|
367
|
+
</tbody>
|
|
368
|
+
</table>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
</div>
|
|
372
|
+
</div>
|
|
373
|
+
</div>
|
|
374
|
+
</div>
|
|
375
|
+
</div>
|
|
376
|
+
</div>
|
|
377
|
+
</main>
|
|
378
|
+
<div class="flex gap-x-6 items-center justify-end mt-6">
|
|
379
|
+
<button type="button" class="font-semibold leading-6 text-gray-900 text-sm">
|
|
380
|
+
Cancel
|
|
381
|
+
</button>
|
|
382
|
+
<button
|
|
383
|
+
type="submit"
|
|
384
|
+
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"
|
|
385
|
+
>
|
|
386
|
+
Save
|
|
387
|
+
</button>
|
|
388
|
+
</div>
|
|
389
|
+
</form>
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
interface QueueFormProps {
|
|
3
|
+
defaultQueue?: string
|
|
4
|
+
databaseTable?: string
|
|
5
|
+
databaseQueue?: string
|
|
6
|
+
redisConnection?: string
|
|
7
|
+
redisQueue?: string
|
|
8
|
+
sqsKey?: string
|
|
9
|
+
sqsSecret?: string
|
|
10
|
+
sqsPrefix?: string
|
|
11
|
+
sqsSuffix?: string
|
|
12
|
+
sqsQueue?: string
|
|
13
|
+
sqsRegion?: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const { defaultQueue = 'sync', databaseTable = 'jobs', databaseQueue = 'default', redisConnection = 'default', redisQueue = 'default', sqsKey = '', sqsSecret = '', sqsPrefix = '', sqsSuffix = '', sqsQueue = 'default', sqsRegion = 'us-east-1' } = defineProps<QueueFormProps>()
|
|
17
|
+
</script>
|
|
18
|
+
<form>
|
|
19
|
+
<main class="border-b border-gray-900/10">
|
|
20
|
+
<!-- Settings forms -->
|
|
21
|
+
<div class="divide-gray-900/10 divide-y">
|
|
22
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
23
|
+
<div>
|
|
24
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
25
|
+
Default Queue Settings
|
|
26
|
+
</h2>
|
|
27
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
28
|
+
Update your default Queue settings
|
|
29
|
+
</p>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div class="md:col-span-2">
|
|
33
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
34
|
+
<div class="sm:col-span-3">
|
|
35
|
+
<label for="type" class="block font-medium leading-6 text-gray-900 text-sm">Default</label>
|
|
36
|
+
<div class="mt-2">
|
|
37
|
+
<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">
|
|
38
|
+
<option {{ defaultQueue == 'sync' ? 'selected' : '' }}>sync</option>
|
|
39
|
+
<option {{ defaultQueue == 'database' ? 'selected' : '' }}>database</option>
|
|
40
|
+
<option {{ defaultQueue == 'redis' ? 'selected' : '' }}>redis</option>
|
|
41
|
+
<option {{ defaultQueue == 'sqs' ? 'selected' : '' }}>sqs</option>
|
|
42
|
+
</select>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
50
|
+
<div>
|
|
51
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
52
|
+
Sync Queue
|
|
53
|
+
</h2>
|
|
54
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
55
|
+
Update your Sync Queue configurations
|
|
56
|
+
</p>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<div class="md:col-span-2">
|
|
60
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
61
|
+
<div class="sm:col-span-3">
|
|
62
|
+
<label for="sync-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
63
|
+
<div class="mt-2">
|
|
64
|
+
<input id="sync-driver" type="text" name="sync-driver" value="sync" disabled class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 bg-neutral-50 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm cursor-not-allowed">
|
|
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
|
+
Database Queue
|
|
75
|
+
</h2>
|
|
76
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
77
|
+
Update your database queue 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="db-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
85
|
+
<div class="mt-2">
|
|
86
|
+
<input id="db-driver" type="text" name="db-driver" value="database" disabled class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 bg-neutral-50 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm cursor-not-allowed">
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<div class="sm:col-span-3">
|
|
91
|
+
<label for="db-table" class="block font-medium leading-6 text-gray-900 text-sm">Table</label>
|
|
92
|
+
<div class="mt-2">
|
|
93
|
+
<input id="db-table" type="text" name="db-table" value="{{ databaseTable }}" 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="db-queue" class="block font-medium leading-6 text-gray-900 text-sm">Queue</label>
|
|
99
|
+
<div class="mt-2">
|
|
100
|
+
<input id="db-queue" type="text" name="db-queue" value="{{ databaseQueue }}" 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
|
+
|
|
107
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
108
|
+
<div>
|
|
109
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
110
|
+
Redis Queue
|
|
111
|
+
</h2>
|
|
112
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
113
|
+
Update your redis queue configurations
|
|
114
|
+
</p>
|
|
115
|
+
</div>
|
|
116
|
+
|
|
117
|
+
<div class="md:col-span-2">
|
|
118
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
119
|
+
<div class="sm:col-span-3">
|
|
120
|
+
<label for="redis-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
121
|
+
<div class="mt-2">
|
|
122
|
+
<input id="redis-driver" type="text" name="redis-driver" value="redis" disabled class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 bg-neutral-50 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm cursor-not-allowed">
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
126
|
+
<div class="sm:col-span-3">
|
|
127
|
+
<label for="redis-connection" class="block font-medium leading-6 text-gray-900 text-sm">Connection</label>
|
|
128
|
+
<div class="mt-2">
|
|
129
|
+
<input id="redis-connection" type="text" name="redis-connection" value="{{ redisConnection }}" 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">
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div class="sm:col-span-3">
|
|
134
|
+
<label for="redis-queue" class="block font-medium leading-6 text-gray-900 text-sm">Queue</label>
|
|
135
|
+
<div class="mt-2">
|
|
136
|
+
<input id="redis-queue" type="text" name="redis-queue" value="{{ redisQueue }}" 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">
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<div class="grid gap-x-8 gap-y-10 grid-cols-1 md:grid-cols-3 py-16 max-w-7xl">
|
|
144
|
+
<div>
|
|
145
|
+
<h2 class="font-semibold leading-7 text-base text-gray-900 dark:text-neutral-100">
|
|
146
|
+
SQS Queue
|
|
147
|
+
</h2>
|
|
148
|
+
<p class="mt-1 leading-6 text-gray-600 text-sm">
|
|
149
|
+
Update your sqs queue configurations
|
|
150
|
+
</p>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<div class="md:col-span-2">
|
|
154
|
+
<div class="grid gap-x-6 gap-y-8 grid-cols-1 sm:grid-cols-6 w-full">
|
|
155
|
+
<div class="sm:col-span-3">
|
|
156
|
+
<label for="sqs-driver" class="block font-medium leading-6 text-gray-900 text-sm">Driver</label>
|
|
157
|
+
<div class="mt-2">
|
|
158
|
+
<input id="sqs-driver" type="text" name="sqs-driver" value="sqs" disabled class="block py-1.5 w-full text-gray-900 sm:leading-6 sm:text-sm placeholder:text-gray-400 bg-neutral-50 border-0 ring-1 ring-gray-300 ring-inset rounded-md focus:ring-2 focus:ring-indigo-600 focus:ring-inset shadow-sm cursor-not-allowed">
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
<div class="sm:col-span-3">
|
|
163
|
+
<label for="sqs-key" class="block font-medium leading-6 text-gray-900 text-sm">Key</label>
|
|
164
|
+
<div class="mt-2">
|
|
165
|
+
<input id="sqs-key" type="text" name="sqs-key" value="{{ sqsKey }}" 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">
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<div class="sm:col-span-3">
|
|
170
|
+
<label for="sqs-secret" class="block font-medium leading-6 text-gray-900 text-sm">Secret</label>
|
|
171
|
+
<div class="mt-2">
|
|
172
|
+
<input id="sqs-secret" type="password" name="sqs-secret" value="{{ sqsSecret }}" 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">
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
|
|
176
|
+
<div class="sm:col-span-3">
|
|
177
|
+
<label for="sqs-prefix" class="block font-medium leading-6 text-gray-900 text-sm">Prefix</label>
|
|
178
|
+
<div class="mt-2">
|
|
179
|
+
<input id="sqs-prefix" type="text" name="sqs-prefix" value="{{ sqsPrefix }}" 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">
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
|
|
183
|
+
<div class="sm:col-span-3">
|
|
184
|
+
<label for="sqs-suffix" class="block font-medium leading-6 text-gray-900 text-sm">Suffix</label>
|
|
185
|
+
<div class="mt-2">
|
|
186
|
+
<input id="sqs-suffix" type="text" name="sqs-suffix" value="{{ sqsSuffix }}" 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">
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<div class="sm:col-span-3">
|
|
191
|
+
<label for="sqs-queue" class="block font-medium leading-6 text-gray-900 text-sm">Queue</label>
|
|
192
|
+
<div class="mt-2">
|
|
193
|
+
<input id="sqs-queue" type="text" name="sqs-queue" value="{{ sqsQueue }}" 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">
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<div class="sm:col-span-3">
|
|
198
|
+
<label for="sqs-region" class="block font-medium leading-6 text-gray-900 text-sm">Region</label>
|
|
199
|
+
<div class="mt-2">
|
|
200
|
+
<input id="sqs-region" type="text" name="sqs-region" value="{{ sqsRegion }}" 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">
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
</main>
|
|
208
|
+
<div class="flex gap-x-6 items-center justify-end mt-6">
|
|
209
|
+
<button type="button" class="font-semibold leading-6 text-gray-900 text-sm">
|
|
210
|
+
Cancel
|
|
211
|
+
</button>
|
|
212
|
+
<button
|
|
213
|
+
type="submit"
|
|
214
|
+
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"
|
|
215
|
+
>
|
|
216
|
+
Save
|
|
217
|
+
</button>
|
|
218
|
+
</div>
|
|
219
|
+
</form>
|