create-businessdash 0.0.0-stage → 0.1.0
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 +21 -0
- package/README.md +125 -2
- package/dist/index.mjs +3672 -0
- package/index.js +2 -0
- package/package.json +40 -5
- package/templates/angular/.claude/CLAUDE.md +54 -0
- package/templates/angular/.cursor/rules/cursor.mdc +60 -0
- package/templates/angular/.editorconfig +17 -0
- package/templates/angular/.env.example +62 -0
- package/templates/angular/.prettierrc +12 -0
- package/templates/angular/.vscode/extensions.json +4 -0
- package/templates/angular/.vscode/launch.json +20 -0
- package/templates/angular/.vscode/mcp.json +9 -0
- package/templates/angular/.vscode/tasks.json +42 -0
- package/templates/angular/AGENTS.md +54 -0
- package/templates/angular/README.md +382 -0
- package/templates/angular/_gitignore +49 -0
- package/templates/angular/angular.json +93 -0
- package/templates/angular/bd.config.ts +331 -0
- package/templates/angular/bd.data-model.config.ts +89 -0
- package/templates/angular/package.json +60 -0
- package/templates/angular/pnpm-lock.yaml +5506 -0
- package/templates/angular/public/favicon.ico +0 -0
- package/templates/angular/src/app/app.config.server.ts +10 -0
- package/templates/angular/src/app/app.config.ts +48 -0
- package/templates/angular/src/app/app.html +7 -0
- package/templates/angular/src/app/app.routes.server.ts +14 -0
- package/templates/angular/src/app/app.routes.ts +69 -0
- package/templates/angular/src/app/app.scss +5 -0
- package/templates/angular/src/app/app.spec.ts +25 -0
- package/templates/angular/src/app/app.ts +27 -0
- package/templates/angular/src/app/lib/bd-api.client.ts +416 -0
- package/templates/angular/src/app/lib/bd-forms.client.ts +107 -0
- package/templates/angular/src/app/lib/bd.service.ts +145 -0
- package/templates/angular/src/app/lib/followers.service.ts +143 -0
- package/templates/angular/src/app/pages/booking.page.ts +142 -0
- package/templates/angular/src/app/pages/cart.page.ts +131 -0
- package/templates/angular/src/app/pages/home.page.ts +37 -0
- package/templates/angular/src/app/pages/my-account.page.ts +197 -0
- package/templates/angular/src/app/pages/product-detail.page.ts +217 -0
- package/templates/angular/src/app/pages/reviews.page.ts +89 -0
- package/templates/angular/src/app/pages/service-area.page.ts +86 -0
- package/templates/angular/src/app/pages/services-index.page.ts +49 -0
- package/templates/angular/src/app/pages/store.page.ts +422 -0
- package/templates/angular/src/app/pages/subscriptions.page.ts +102 -0
- package/templates/angular/src/app/pages/todos.page.ts +194 -0
- package/templates/angular/src/app/pages/updates.page.ts +45 -0
- package/templates/angular/src/app/sections/about.component.ts +24 -0
- package/templates/angular/src/app/sections/blog.component.ts +33 -0
- package/templates/angular/src/app/sections/contact-form.component.ts +51 -0
- package/templates/angular/src/app/sections/footer.component.ts +14 -0
- package/templates/angular/src/app/sections/header.component.ts +36 -0
- package/templates/angular/src/app/sections/hero.component.ts +21 -0
- package/templates/angular/src/app/sections/news-banner.component.ts +50 -0
- package/templates/angular/src/app/sections/reviews-summary.component.ts +41 -0
- package/templates/angular/src/app/sections/sdk-setup-banner.component.ts +125 -0
- package/templates/angular/src/app/sections/services.component.ts +27 -0
- package/templates/angular/src/app/sections/subscribe.component.ts +140 -0
- package/templates/angular/src/app/sections/updates.component.ts +38 -0
- package/templates/angular/src/environments/environment.prod.ts +13 -0
- package/templates/angular/src/environments/environment.ts +23 -0
- package/templates/angular/src/index.html +13 -0
- package/templates/angular/src/main.server.ts +7 -0
- package/templates/angular/src/main.ts +5 -0
- package/templates/angular/src/server/bd-api.ts +1098 -0
- package/templates/angular/src/server/bd-seo.ts +55 -0
- package/templates/angular/src/server/bd-server.ts +293 -0
- package/templates/angular/src/server.ts +94 -0
- package/templates/angular/src/styles.scss +1102 -0
- package/templates/angular/tsconfig.app.json +11 -0
- package/templates/angular/tsconfig.json +33 -0
- package/templates/angular/tsconfig.spec.json +10 -0
- package/templates/astro/.env.example +48 -0
- package/templates/astro/.vscode/extensions.json +4 -0
- package/templates/astro/.vscode/launch.json +11 -0
- package/templates/astro/README.md +432 -0
- package/templates/astro/_gitignore +25 -0
- package/templates/astro/astro.config.mjs +13 -0
- package/templates/astro/bd.config.ts +331 -0
- package/templates/astro/bd.data-model.config.ts +90 -0
- package/templates/astro/package.json +40 -0
- package/templates/astro/pnpm-lock.yaml +3788 -0
- package/templates/astro/public/favicon.ico +0 -0
- package/templates/astro/public/favicon.svg +9 -0
- package/templates/astro/src/components/About.astro +59 -0
- package/templates/astro/src/components/Banner.astro +78 -0
- package/templates/astro/src/components/Blog.astro +62 -0
- package/templates/astro/src/components/Booking.astro +285 -0
- package/templates/astro/src/components/ContactForm.astro +89 -0
- package/templates/astro/src/components/ContactForm.tsx +80 -0
- package/templates/astro/src/components/Footer.astro +39 -0
- package/templates/astro/src/components/Gallery.astro +77 -0
- package/templates/astro/src/components/Header.astro +65 -0
- package/templates/astro/src/components/Hero.astro +45 -0
- package/templates/astro/src/components/NotFound.astro +22 -0
- package/templates/astro/src/components/Reviews.astro +169 -0
- package/templates/astro/src/components/SdkSetupBanner.astro +83 -0
- package/templates/astro/src/components/Services.astro +87 -0
- package/templates/astro/src/components/Subscribe.astro +196 -0
- package/templates/astro/src/components/Subscribe.tsx +171 -0
- package/templates/astro/src/layouts/Layout.astro +89 -0
- package/templates/astro/src/lib/bd-bundle.ts +113 -0
- package/templates/astro/src/lib/bd-distribution.ts +36 -0
- package/templates/astro/src/lib/bd-portal.ts +158 -0
- package/templates/astro/src/lib/bd-seo.ts +81 -0
- package/templates/astro/src/lib/bd-store.ts +185 -0
- package/templates/astro/src/lib/bd-suspension.ts +67 -0
- package/templates/astro/src/lib/bd-todos.ts +124 -0
- package/templates/astro/src/lib/bd.ts +73 -0
- package/templates/astro/src/pages/.well-known/mcp.json.ts +22 -0
- package/templates/astro/src/pages/404.astro +15 -0
- package/templates/astro/src/pages/[...slug].astro +50 -0
- package/templates/astro/src/pages/ai/product-feed.ts +25 -0
- package/templates/astro/src/pages/api/bd/cart/add.ts +41 -0
- package/templates/astro/src/pages/api/bd/cart/clear.ts +29 -0
- package/templates/astro/src/pages/api/bd/cart/coupon.ts +35 -0
- package/templates/astro/src/pages/api/bd/cart/get.ts +28 -0
- package/templates/astro/src/pages/api/bd/cart/remove.ts +33 -0
- package/templates/astro/src/pages/api/bd/cart/update.ts +41 -0
- package/templates/astro/src/pages/api/bd/checkout/start.ts +37 -0
- package/templates/astro/src/pages/api/bd/forms/[slug].ts +75 -0
- package/templates/astro/src/pages/api/bd/portal/plan.ts +31 -0
- package/templates/astro/src/pages/api/bd/portal/submit-review.ts +56 -0
- package/templates/astro/src/pages/api/bd/revalidate.ts +49 -0
- package/templates/astro/src/pages/api/bd/reviews.ts +39 -0
- package/templates/astro/src/pages/api/bd/scheduling/bookings.ts +44 -0
- package/templates/astro/src/pages/api/bd/scheduling/slots.ts +40 -0
- package/templates/astro/src/pages/api/bd/subscriptions/checkout.ts +29 -0
- package/templates/astro/src/pages/api/bd-auth/[...slug].ts +61 -0
- package/templates/astro/src/pages/api/mcp.ts +40 -0
- package/templates/astro/src/pages/index.astro +47 -0
- package/templates/astro/src/pages/llms.txt.ts +25 -0
- package/templates/astro/src/pages/my-account.astro +388 -0
- package/templates/astro/src/pages/reviews.astro +18 -0
- package/templates/astro/src/pages/robots.txt.ts +46 -0
- package/templates/astro/src/pages/services/[service]/[area].astro +103 -0
- package/templates/astro/src/pages/services/index.astro +104 -0
- package/templates/astro/src/pages/sitemap.xml.ts +89 -0
- package/templates/astro/src/pages/store/[id].astro +208 -0
- package/templates/astro/src/pages/store/cart.astro +458 -0
- package/templates/astro/src/pages/store/index.astro +567 -0
- package/templates/astro/src/pages/store/subscriptions.astro +155 -0
- package/templates/astro/src/pages/todos.astro +199 -0
- package/templates/astro/src/pages/updates.astro +135 -0
- package/templates/astro/src/styles/global.css +631 -0
- package/templates/astro/tsconfig.json +8 -0
- package/templates/elixir/.env.example +58 -0
- package/templates/elixir/README.md +293 -0
- package/templates/elixir/_gitignore +16 -0
- package/templates/elixir/assets/js/app.js +16 -0
- package/templates/elixir/bd-records/README.md +50 -0
- package/templates/elixir/bd-records/todo-images.json +14 -0
- package/templates/elixir/bd-records/todos.json +20 -0
- package/templates/elixir/bd.config.ts +331 -0
- package/templates/elixir/bd.data-model.config.ts +89 -0
- package/templates/elixir/config/config.exs +30 -0
- package/templates/elixir/config/dev.exs +20 -0
- package/templates/elixir/config/prod.exs +6 -0
- package/templates/elixir/config/runtime.exs +68 -0
- package/templates/elixir/config/test.exs +9 -0
- package/templates/elixir/lib/bd_starter/application.ex +29 -0
- package/templates/elixir/lib/bd_starter/bd/auth.ex +126 -0
- package/templates/elixir/lib/bd_starter/bd/cache.ex +148 -0
- package/templates/elixir/lib/bd_starter/bd/chat_session.ex +214 -0
- package/templates/elixir/lib/bd_starter/bd/client.ex +203 -0
- package/templates/elixir/lib/bd_starter/bd/customer_auth.ex +116 -0
- package/templates/elixir/lib/bd_starter/bd/resources/blog.ex +18 -0
- package/templates/elixir/lib/bd_starter/bd/resources/cart.ex +40 -0
- package/templates/elixir/lib/bd_starter/bd/resources/checkout.ex +22 -0
- package/templates/elixir/lib/bd_starter/bd/resources/data_model.ex +53 -0
- package/templates/elixir/lib/bd_starter/bd/resources/donations.ex +50 -0
- package/templates/elixir/lib/bd_starter/bd/resources/followers.ex +25 -0
- package/templates/elixir/lib/bd_starter/bd/resources/forms.ex +29 -0
- package/templates/elixir/lib/bd_starter/bd/resources/marketing.ex +20 -0
- package/templates/elixir/lib/bd_starter/bd/resources/notifications.ex +87 -0
- package/templates/elixir/lib/bd_starter/bd/resources/parallel_pages.ex +21 -0
- package/templates/elixir/lib/bd_starter/bd/resources/portal.ex +153 -0
- package/templates/elixir/lib/bd_starter/bd/resources/reviews.ex +8 -0
- package/templates/elixir/lib/bd_starter/bd/resources/scheduling.ex +122 -0
- package/templates/elixir/lib/bd_starter/bd/resources/storefront.ex +47 -0
- package/templates/elixir/lib/bd_starter/bd/resources/subscriptions.ex +13 -0
- package/templates/elixir/lib/bd_starter/bd/seo.ex +148 -0
- package/templates/elixir/lib/bd_starter/bd/sign_in_core.ex +258 -0
- package/templates/elixir/lib/bd_starter/bd/social_platforms.ex +46 -0
- package/templates/elixir/lib/bd_starter/bd/socials.ex +99 -0
- package/templates/elixir/lib/bd_starter/bd/webhook.ex +89 -0
- package/templates/elixir/lib/bd_starter/bd.ex +156 -0
- package/templates/elixir/lib/bd_starter/forms/backend.ex +74 -0
- package/templates/elixir/lib/bd_starter/forms/calculation.ex +158 -0
- package/templates/elixir/lib/bd_starter/forms/dates.ex +151 -0
- package/templates/elixir/lib/bd_starter/forms/field.ex +211 -0
- package/templates/elixir/lib/bd_starter/forms/field_path.ex +18 -0
- package/templates/elixir/lib/bd_starter/forms/form_controller.ex +615 -0
- package/templates/elixir/lib/bd_starter/forms/form_view.ex +339 -0
- package/templates/elixir/lib/bd_starter/forms/forms.ex +37 -0
- package/templates/elixir/lib/bd_starter/forms/forms_data.ex +298 -0
- package/templates/elixir/lib/bd_starter/forms/formula.ex +602 -0
- package/templates/elixir/lib/bd_starter/forms/formula_parser.ex +197 -0
- package/templates/elixir/lib/bd_starter/forms/js.ex +501 -0
- package/templates/elixir/lib/bd_starter/forms/json.ex +103 -0
- package/templates/elixir/lib/bd_starter/forms/messages.ex +95 -0
- package/templates/elixir/lib/bd_starter/forms/package_backend.ex +175 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_arrange.ex +120 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_backend.ex +14 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_config.ex +51 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_controller.ex +188 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_engine.ex +682 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_options.ex +99 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_page.ex +93 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_runs.ex +44 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_scoring.ex +397 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_state.ex +68 -0
- package/templates/elixir/lib/bd_starter/forms/quiz_words.ex +101 -0
- package/templates/elixir/lib/bd_starter/forms/quizzes.ex +98 -0
- package/templates/elixir/lib/bd_starter/forms/re.ex +22 -0
- package/templates/elixir/lib/bd_starter/forms/rules.ex +1355 -0
- package/templates/elixir/lib/bd_starter/forms/sample_backend.ex +44 -0
- package/templates/elixir/lib/bd_starter/forms/schema.ex +50 -0
- package/templates/elixir/lib/bd_starter/forms/submit_result.ex +60 -0
- package/templates/elixir/lib/bd_starter/forms/units.ex +75 -0
- package/templates/elixir/lib/bd_starter_web/bundle.ex +27 -0
- package/templates/elixir/lib/bd_starter_web/components/form_components.ex +779 -0
- package/templates/elixir/lib/bd_starter_web/components/layouts/app.html.heex +50 -0
- package/templates/elixir/lib/bd_starter_web/components/layouts/root.html.heex +24 -0
- package/templates/elixir/lib/bd_starter_web/components/layouts.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/bd_auth_controller.ex +144 -0
- package/templates/elixir/lib/bd_starter_web/controllers/bd_customer_auth_controller.ex +224 -0
- package/templates/elixir/lib/bd_starter_web/controllers/blog_controller.ex +28 -0
- package/templates/elixir/lib/bd_starter_web/controllers/blog_html/index.html.heex +10 -0
- package/templates/elixir/lib/bd_starter_web/controllers/blog_html/show.html.heex +20 -0
- package/templates/elixir/lib/bd_starter_web/controllers/blog_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/cart_controller.ex +140 -0
- package/templates/elixir/lib/bd_starter_web/controllers/cart_html/show.html.heex +42 -0
- package/templates/elixir/lib/bd_starter_web/controllers/cart_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/error_html.ex +8 -0
- package/templates/elixir/lib/bd_starter_web/controllers/form_page_controller.ex +77 -0
- package/templates/elixir/lib/bd_starter_web/controllers/form_page_html/form.html.heex +2 -0
- package/templates/elixir/lib/bd_starter_web/controllers/form_page_html/quiz.html.heex +4 -0
- package/templates/elixir/lib/bd_starter_web/controllers/form_page_html.ex +5 -0
- package/templates/elixir/lib/bd_starter_web/controllers/page_controller.ex +56 -0
- package/templates/elixir/lib/bd_starter_web/controllers/page_html/home.html.heex +53 -0
- package/templates/elixir/lib/bd_starter_web/controllers/page_html/reviews.html.heex +10 -0
- package/templates/elixir/lib/bd_starter_web/controllers/page_html/updates.html.heex +8 -0
- package/templates/elixir/lib/bd_starter_web/controllers/page_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/portal_controller.ex +109 -0
- package/templates/elixir/lib/bd_starter_web/controllers/portal_html/delete_account.html.heex +31 -0
- package/templates/elixir/lib/bd_starter_web/controllers/portal_html/index.html.heex +29 -0
- package/templates/elixir/lib/bd_starter_web/controllers/portal_html/sign_in.html.heex +18 -0
- package/templates/elixir/lib/bd_starter_web/controllers/portal_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/seo_controller.ex +87 -0
- package/templates/elixir/lib/bd_starter_web/controllers/service_area_controller.ex +14 -0
- package/templates/elixir/lib/bd_starter_web/controllers/service_area_html/index.html.heex +12 -0
- package/templates/elixir/lib/bd_starter_web/controllers/service_area_html/show.html.heex +4 -0
- package/templates/elixir/lib/bd_starter_web/controllers/service_area_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/store_controller.ex +34 -0
- package/templates/elixir/lib/bd_starter_web/controllers/store_html/index.html.heex +31 -0
- package/templates/elixir/lib/bd_starter_web/controllers/store_html/show.html.heex +29 -0
- package/templates/elixir/lib/bd_starter_web/controllers/store_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/subscription_controller.ex +31 -0
- package/templates/elixir/lib/bd_starter_web/controllers/subscription_html/index.html.heex +14 -0
- package/templates/elixir/lib/bd_starter_web/controllers/subscription_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/todos_controller.ex +58 -0
- package/templates/elixir/lib/bd_starter_web/controllers/todos_html/index.html.heex +38 -0
- package/templates/elixir/lib/bd_starter_web/controllers/todos_html.ex +6 -0
- package/templates/elixir/lib/bd_starter_web/controllers/webhook_controller.ex +30 -0
- package/templates/elixir/lib/bd_starter_web/endpoint.ex +40 -0
- package/templates/elixir/lib/bd_starter_web/live/chat_live.ex +113 -0
- package/templates/elixir/lib/bd_starter_web/live/form_live.ex +431 -0
- package/templates/elixir/lib/bd_starter_web/live/quiz_live.ex +532 -0
- package/templates/elixir/lib/bd_starter_web/live/sign_in_live.ex +533 -0
- package/templates/elixir/lib/bd_starter_web/money.ex +50 -0
- package/templates/elixir/lib/bd_starter_web/plugs/cache_body_reader.ex +33 -0
- package/templates/elixir/lib/bd_starter_web/router.ex +110 -0
- package/templates/elixir/lib/bd_starter_web.ex +75 -0
- package/templates/elixir/mix.exs +42 -0
- package/templates/elixir/package.json +20 -0
- package/templates/elixir/pnpm-lock.yaml +347 -0
- package/templates/elixir/priv/forms/demo-form.json +283 -0
- package/templates/elixir/priv/forms/demo-quiz.json +97 -0
- package/templates/elixir/priv/static/assets/app.css +113 -0
- package/templates/elixir/priv/static/bd-sign-in.css +51 -0
- package/templates/elixir/priv/static/forms.css +1153 -0
- package/templates/elixir/test/fixtures/forms-parity.json +3806 -0
- package/templates/elixir/test/fixtures/quiz-parity.json +9937 -0
- package/templates/elixir/test/form_controller_test.exs +314 -0
- package/templates/elixir/test/forms_parity_test.exs +206 -0
- package/templates/elixir/test/quiz_parity_test.exs +243 -0
- package/templates/elixir/test/support/parity.ex +46 -0
- package/templates/elixir/test/test_helper.exs +1 -0
- package/templates/elixir/tsconfig.json +19 -0
- package/templates/flutter/README.md +321 -0
- package/templates/flutter/_gitignore +9 -0
- package/templates/flutter/analysis_options.yaml +8 -0
- package/templates/flutter/bd-records/README.md +50 -0
- package/templates/flutter/bd-records/todo-images.json +14 -0
- package/templates/flutter/bd-records/todos.json +20 -0
- package/templates/flutter/bd.config.ts +331 -0
- package/templates/flutter/bd.data-model.config.ts +89 -0
- package/templates/flutter/lib/forms/demo_form.dart +289 -0
- package/templates/flutter/lib/forms/demo_quiz.dart +104 -0
- package/templates/flutter/lib/forms/form_hooks.dart +147 -0
- package/templates/flutter/lib/main.dart +120 -0
- package/templates/flutter/lib/ui/account_page.dart +153 -0
- package/templates/flutter/lib/ui/bd_scope.dart +39 -0
- package/templates/flutter/lib/ui/cart_page.dart +102 -0
- package/templates/flutter/lib/ui/chat_page.dart +111 -0
- package/templates/flutter/lib/ui/form_page.dart +50 -0
- package/templates/flutter/lib/ui/load_state.dart +62 -0
- package/templates/flutter/lib/ui/product_page.dart +71 -0
- package/templates/flutter/lib/ui/quiz_page.dart +83 -0
- package/templates/flutter/lib/ui/storefront_page.dart +85 -0
- package/templates/flutter/package.json +20 -0
- package/templates/flutter/packages/businessdash_forms/analysis_options.yaml +8 -0
- package/templates/flutter/packages/businessdash_forms/lib/businessdash_forms.dart +47 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/controls/choice.dart +865 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/controls/dates.dart +527 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/controls/media.dart +507 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/controls/static.dart +302 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/controls/text.dart +537 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/form.dart +781 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/icons.dart +398 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/logic.dart +719 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/primitives.dart +1223 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/quiz.dart +1225 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/sign_in.dart +570 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/sign_in_core.dart +1069 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/style.dart +497 -0
- package/templates/flutter/packages/businessdash_forms/lib/src/tree.dart +491 -0
- package/templates/flutter/packages/businessdash_forms/pubspec.yaml +34 -0
- package/templates/flutter/packages/businessdash_forms/test/form_widget_test.dart +358 -0
- package/templates/flutter/packages/businessdash_forms/test/logic_test.dart +207 -0
- package/templates/flutter/packages/businessdash_forms/test/quiz_widget_test.dart +221 -0
- package/templates/flutter/packages/businessdash_forms/test/sign_in_test.dart +279 -0
- package/templates/flutter/packages/businessdash_sdk/CHANGELOG.md +66 -0
- package/templates/flutter/packages/businessdash_sdk/LICENSE +21 -0
- package/templates/flutter/packages/businessdash_sdk/analysis_options.yaml +6 -0
- package/templates/flutter/packages/businessdash_sdk/lib/businessdash_sdk.dart +21 -0
- package/templates/flutter/packages/businessdash_sdk/lib/forms.dart +29 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/bundle.dart +34 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/chat.dart +122 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/client.dart +161 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/customer_account.dart +31 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/donations.dart +179 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/errors.dart +82 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/backend.dart +488 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/calculation.dart +172 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/controller.dart +1004 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/dates.dart +173 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/forms_data.generated.dart +405 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/formula.dart +920 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/json.dart +462 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz.dart +1185 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz_backend.dart +382 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz_controller.dart +277 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz_page.dart +148 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz_scoring.dart +550 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz_screen.dart +388 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/quiz_words.dart +280 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/rules.dart +1268 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/schema.dart +1114 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/forms/units.dart +105 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/models.dart +311 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/money.dart +38 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/portal.dart +227 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/resources.dart +164 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/scheduling.dart +135 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/seo.dart +144 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/social_platforms.generated.dart +45 -0
- package/templates/flutter/packages/businessdash_sdk/lib/src/socials.dart +88 -0
- package/templates/flutter/packages/businessdash_sdk/pubspec.yaml +23 -0
- package/templates/flutter/packages/businessdash_sdk/test/bd_test.dart +335 -0
- package/templates/flutter/packages/businessdash_sdk/test/fixtures/forms-parity.json +3806 -0
- package/templates/flutter/packages/businessdash_sdk/test/fixtures/quiz-parity.json +9937 -0
- package/templates/flutter/packages/businessdash_sdk/test/form_controller_test.dart +449 -0
- package/templates/flutter/packages/businessdash_sdk/test/forms_parity_test.dart +254 -0
- package/templates/flutter/packages/businessdash_sdk/test/quiz_controller_test.dart +390 -0
- package/templates/flutter/packages/businessdash_sdk/test/quiz_parity_test.dart +269 -0
- package/templates/flutter/pnpm-lock.yaml +347 -0
- package/templates/flutter/pubspec.yaml +33 -0
- package/templates/flutter/tsconfig.json +19 -0
- package/templates/htmx/.env.example +59 -0
- package/templates/htmx/README.md +446 -0
- package/templates/htmx/_gitignore +7 -0
- package/templates/htmx/bd.config.ts +331 -0
- package/templates/htmx/bd.data-model.config.ts +89 -0
- package/templates/htmx/package.json +27 -0
- package/templates/htmx/pnpm-lock.yaml +97 -0
- package/templates/htmx/public/forms.css +1134 -0
- package/templates/htmx/public/index.html +68 -0
- package/templates/htmx/public/styles.css +1078 -0
- package/templates/htmx/server.ts +387 -0
- package/templates/htmx/src/bd.ts +142 -0
- package/templates/htmx/src/cache.ts +45 -0
- package/templates/htmx/src/form-pages.ts +35 -0
- package/templates/htmx/src/form.ts +955 -0
- package/templates/htmx/src/forms/demo-form.json +283 -0
- package/templates/htmx/src/forms/demo-quiz.json +97 -0
- package/templates/htmx/src/html.ts +55 -0
- package/templates/htmx/src/layout.ts +232 -0
- package/templates/htmx/src/pages.ts +975 -0
- package/templates/htmx/src/quiz.ts +582 -0
- package/templates/htmx/src/sections/about.ts +63 -0
- package/templates/htmx/src/sections/blog.ts +53 -0
- package/templates/htmx/src/sections/header.ts +42 -0
- package/templates/htmx/src/sections/hero.ts +48 -0
- package/templates/htmx/src/sections/services.ts +71 -0
- package/templates/htmx/src/sections/subscribe.ts +141 -0
- package/templates/htmx/src/sign-in.ts +636 -0
- package/templates/htmx/tsconfig.json +19 -0
- package/templates/kotlin/README.md +318 -0
- package/templates/kotlin/_gitignore +12 -0
- package/templates/kotlin/app/build.gradle.kts +70 -0
- package/templates/kotlin/app/src/main/AndroidManifest.xml +21 -0
- package/templates/kotlin/app/src/main/assets/bd-demo-form.json +283 -0
- package/templates/kotlin/app/src/main/assets/bd-demo-quiz.json +97 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/AccountScreen.kt +209 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/BdApp.kt +68 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/DemoFormsBackend.kt +52 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/FormScreen.kt +37 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/MainActivity.kt +186 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/QuizScreen.kt +75 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/SessionStore.kt +68 -0
- package/templates/kotlin/app/src/main/kotlin/app/bdstarter/ShopViewModel.kt +73 -0
- package/templates/kotlin/app/src/main/res/values/strings.xml +4 -0
- package/templates/kotlin/app/src/main/res/values/themes.xml +5 -0
- package/templates/kotlin/app/src/main/res/values-night/themes.xml +4 -0
- package/templates/kotlin/bd/LICENSE +21 -0
- package/templates/kotlin/bd/README.md +31 -0
- package/templates/kotlin/bd/build.gradle.kts +126 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Auth.kt +58 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/BdClient.kt +166 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/BdError.kt +62 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Bundle.kt +52 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/ChatFeed.kt +82 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/DataModel.kt +95 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Donations.kt +111 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Models.kt +271 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Money.kt +48 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Portal.kt +250 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Resources.kt +129 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Scheduling.kt +134 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Seo.kt +120 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/SocialPlatforms.generated.kt +46 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/Socials.kt +79 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdCalculation.kt +157 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdDates.kt +108 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdFormController.kt +770 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdFormRules.kt +1149 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdFormSchema.kt +528 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdFormsBackend.kt +392 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdFormula.kt +767 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdJson.kt +294 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizBackend.kt +310 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizController.kt +281 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizEngine.kt +578 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizPage.kt +128 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizScoring.kt +386 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizScreen.kt +477 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdQuizWords.kt +196 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/BdUnits.kt +84 -0
- package/templates/kotlin/bd/src/main/kotlin/app/bd/forms/FormsData.generated.kt +292 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/BdClientTest.kt +278 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/forms/FormControllerTest.kt +294 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/forms/FormsBackendPathTest.kt +27 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/forms/FormsParityTest.kt +233 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/forms/PackageFormsBackendTest.kt +123 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/forms/QuizControllerTest.kt +359 -0
- package/templates/kotlin/bd/src/test/kotlin/app/bd/forms/QuizParityTest.kt +260 -0
- package/templates/kotlin/bd/src/test/resources/forms-parity.json +3806 -0
- package/templates/kotlin/bd/src/test/resources/quiz-parity.json +9937 -0
- package/templates/kotlin/bd-forms/build.gradle.kts +51 -0
- package/templates/kotlin/bd-forms/src/main/AndroidManifest.xml +5 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdChoiceControls.kt +651 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdDateControls.kt +470 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdFieldControl.kt +520 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdFieldTree.kt +328 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdForm.kt +573 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdFormStyle.kt +279 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdHtml.kt +438 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdIcon.kt +282 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdMediaControls.kt +412 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdQuiz.kt +896 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdStaticViews.kt +250 -0
- package/templates/kotlin/bd-forms/src/main/kotlin/app/bd/forms/ui/BdTextControls.kt +409 -0
- package/templates/kotlin/bd-forms/src/test/kotlin/app/bd/forms/ui/RendererLogicTest.kt +177 -0
- package/templates/kotlin/bd-records/README.md +50 -0
- package/templates/kotlin/bd-records/todo-images.json +14 -0
- package/templates/kotlin/bd-records/todos.json +20 -0
- package/templates/kotlin/bd-sign-in/build.gradle.kts +49 -0
- package/templates/kotlin/bd-sign-in/src/main/AndroidManifest.xml +27 -0
- package/templates/kotlin/bd-sign-in/src/main/kotlin/app/bd/signin/BdSignIn.kt +713 -0
- package/templates/kotlin/bd-sign-in/src/main/kotlin/app/bd/signin/BdSignInBackend.kt +291 -0
- package/templates/kotlin/bd-sign-in/src/main/kotlin/app/bd/signin/BdSignInChecks.kt +162 -0
- package/templates/kotlin/bd-sign-in/src/main/kotlin/app/bd/signin/BdSignInOAuth.kt +95 -0
- package/templates/kotlin/bd-sign-in/src/test/kotlin/app/bd/signin/BdSignInChecksTest.kt +64 -0
- package/templates/kotlin/bd.config.ts +331 -0
- package/templates/kotlin/bd.data-model.config.ts +89 -0
- package/templates/kotlin/build.gradle.kts +8 -0
- package/templates/kotlin/gradle/libs.versions.toml +38 -0
- package/templates/kotlin/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/templates/kotlin/gradle/wrapper/gradle-wrapper.properties +10 -0
- package/templates/kotlin/gradle.properties +8 -0
- package/templates/kotlin/gradlew +248 -0
- package/templates/kotlin/gradlew.bat +112 -0
- package/templates/kotlin/local.properties.example +30 -0
- package/templates/kotlin/package.json +20 -0
- package/templates/kotlin/pnpm-lock.yaml +347 -0
- package/templates/kotlin/settings.gradle.kts +39 -0
- package/templates/kotlin/tsconfig.json +19 -0
- package/templates/laravel/.env.example +76 -0
- package/templates/laravel/README.md +316 -0
- package/templates/laravel/_gitignore +28 -0
- package/templates/laravel/app/Bd/Auth.php +181 -0
- package/templates/laravel/app/Bd/Bd.php +131 -0
- package/templates/laravel/app/Bd/BdAccessRejectedException.php +29 -0
- package/templates/laravel/app/Bd/BdApiException.php +18 -0
- package/templates/laravel/app/Bd/Client.php +358 -0
- package/templates/laravel/app/Bd/CustomerAnswer.php +58 -0
- package/templates/laravel/app/Bd/CustomerAuth.php +93 -0
- package/templates/laravel/app/Bd/Forms/Backend.php +35 -0
- package/templates/laravel/app/Bd/Forms/Calculation.php +179 -0
- package/templates/laravel/app/Bd/Forms/Dates.php +91 -0
- package/templates/laravel/app/Bd/Forms/Field.php +274 -0
- package/templates/laravel/app/Bd/Forms/FieldPath.php +36 -0
- package/templates/laravel/app/Bd/Forms/FormController.php +730 -0
- package/templates/laravel/app/Bd/Forms/FormView.php +307 -0
- package/templates/laravel/app/Bd/Forms/Forms.php +39 -0
- package/templates/laravel/app/Bd/Forms/FormsData.php +298 -0
- package/templates/laravel/app/Bd/Forms/FormsError.php +12 -0
- package/templates/laravel/app/Bd/Forms/Formula.php +696 -0
- package/templates/laravel/app/Bd/Forms/FormulaError.php +6 -0
- package/templates/laravel/app/Bd/Forms/FormulaParser.php +223 -0
- package/templates/laravel/app/Bd/Forms/Js.php +300 -0
- package/templates/laravel/app/Bd/Forms/Json.php +254 -0
- package/templates/laravel/app/Bd/Forms/Messages.php +89 -0
- package/templates/laravel/app/Bd/Forms/PackageBackend.php +181 -0
- package/templates/laravel/app/Bd/Forms/PickedFile.php +25 -0
- package/templates/laravel/app/Bd/Forms/QuizArrange.php +144 -0
- package/templates/laravel/app/Bd/Forms/QuizBackend.php +26 -0
- package/templates/laravel/app/Bd/Forms/QuizConfig.php +65 -0
- package/templates/laravel/app/Bd/Forms/QuizController.php +232 -0
- package/templates/laravel/app/Bd/Forms/QuizEngine.php +712 -0
- package/templates/laravel/app/Bd/Forms/QuizOptions.php +109 -0
- package/templates/laravel/app/Bd/Forms/QuizPage.php +99 -0
- package/templates/laravel/app/Bd/Forms/QuizScoring.php +459 -0
- package/templates/laravel/app/Bd/Forms/QuizState.php +96 -0
- package/templates/laravel/app/Bd/Forms/QuizWords.php +188 -0
- package/templates/laravel/app/Bd/Forms/Quizzes.php +123 -0
- package/templates/laravel/app/Bd/Forms/Rules.php +1593 -0
- package/templates/laravel/app/Bd/Forms/SampleBackend.php +48 -0
- package/templates/laravel/app/Bd/Forms/Schema.php +76 -0
- package/templates/laravel/app/Bd/Forms/Submission.php +33 -0
- package/templates/laravel/app/Bd/Forms/SubmitOptions.php +19 -0
- package/templates/laravel/app/Bd/Forms/SubmitResult.php +69 -0
- package/templates/laravel/app/Bd/Forms/Undefined.php +28 -0
- package/templates/laravel/app/Bd/Forms/Units.php +113 -0
- package/templates/laravel/app/Bd/Resources/Blog.php +50 -0
- package/templates/laravel/app/Bd/Resources/Cart.php +81 -0
- package/templates/laravel/app/Bd/Resources/Chatbot.php +117 -0
- package/templates/laravel/app/Bd/Resources/Checkout.php +51 -0
- package/templates/laravel/app/Bd/Resources/DataModel.php +61 -0
- package/templates/laravel/app/Bd/Resources/Donations.php +74 -0
- package/templates/laravel/app/Bd/Resources/Followers.php +48 -0
- package/templates/laravel/app/Bd/Resources/Forms.php +52 -0
- package/templates/laravel/app/Bd/Resources/Marketing.php +47 -0
- package/templates/laravel/app/Bd/Resources/Notifications.php +130 -0
- package/templates/laravel/app/Bd/Resources/ParallelPages.php +45 -0
- package/templates/laravel/app/Bd/Resources/Portal.php +241 -0
- package/templates/laravel/app/Bd/Resources/Reviews.php +22 -0
- package/templates/laravel/app/Bd/Resources/Scheduling.php +170 -0
- package/templates/laravel/app/Bd/Resources/Storefront.php +89 -0
- package/templates/laravel/app/Bd/Resources/Subscriptions.php +34 -0
- package/templates/laravel/app/Bd/Seo.php +167 -0
- package/templates/laravel/app/Bd/SignInCore.php +276 -0
- package/templates/laravel/app/Bd/SocialPlatforms.php +45 -0
- package/templates/laravel/app/Bd/Socials.php +118 -0
- package/templates/laravel/app/Bd/Webhook.php +93 -0
- package/templates/laravel/app/Http/Controllers/BdAuthController.php +146 -0
- package/templates/laravel/app/Http/Controllers/BdCustomerAuthController.php +214 -0
- package/templates/laravel/app/Http/Controllers/BlogController.php +49 -0
- package/templates/laravel/app/Http/Controllers/CartController.php +183 -0
- package/templates/laravel/app/Http/Controllers/Controller.php +8 -0
- package/templates/laravel/app/Http/Controllers/FormPageController.php +55 -0
- package/templates/laravel/app/Http/Controllers/HomeController.php +104 -0
- package/templates/laravel/app/Http/Controllers/PortalController.php +95 -0
- package/templates/laravel/app/Http/Controllers/SeoController.php +103 -0
- package/templates/laravel/app/Http/Controllers/ServiceAreaController.php +56 -0
- package/templates/laravel/app/Http/Controllers/StoreController.php +78 -0
- package/templates/laravel/app/Http/Controllers/SubscriptionController.php +40 -0
- package/templates/laravel/app/Http/Controllers/TodosController.php +87 -0
- package/templates/laravel/app/Http/Controllers/WebhookController.php +44 -0
- package/templates/laravel/app/Livewire/BdForm.php +508 -0
- package/templates/laravel/app/Livewire/BdQuiz.php +429 -0
- package/templates/laravel/app/Livewire/SignIn.php +449 -0
- package/templates/laravel/app/Support/Money.php +54 -0
- package/templates/laravel/app/Support/PhpSecurity.php +94 -0
- package/templates/laravel/artisan +16 -0
- package/templates/laravel/bd-records/README.md +50 -0
- package/templates/laravel/bd-records/todo-images.json +14 -0
- package/templates/laravel/bd-records/todos.json +20 -0
- package/templates/laravel/bd.config.ts +331 -0
- package/templates/laravel/bd.data-model.config.ts +89 -0
- package/templates/laravel/bootstrap/app.php +33 -0
- package/templates/laravel/bootstrap/cache/.gitkeep +0 -0
- package/templates/laravel/composer.json +47 -0
- package/templates/laravel/config/bd.php +75 -0
- package/templates/laravel/package.json +20 -0
- package/templates/laravel/phpunit.xml +22 -0
- package/templates/laravel/pnpm-lock.yaml +347 -0
- package/templates/laravel/public/bd-sign-in.css +48 -0
- package/templates/laravel/public/forms.css +1153 -0
- package/templates/laravel/public/index.php +17 -0
- package/templates/laravel/public/styles.css +100 -0
- package/templates/laravel/resources/forms/demo-form.json +283 -0
- package/templates/laravel/resources/forms/demo-quiz.json +97 -0
- package/templates/laravel/resources/views/forms/control.blade.php +238 -0
- package/templates/laravel/resources/views/forms/field.blade.php +39 -0
- package/templates/laravel/resources/views/forms/files.blade.php +36 -0
- package/templates/laravel/resources/views/forms/pair.blade.php +6 -0
- package/templates/laravel/resources/views/forms/repeater.blade.php +16 -0
- package/templates/laravel/resources/views/forms/styles.blade.php +8 -0
- package/templates/laravel/resources/views/forms/tree.blade.php +58 -0
- package/templates/laravel/resources/views/layout.blade.php +94 -0
- package/templates/laravel/resources/views/livewire/bd-form.blade.php +103 -0
- package/templates/laravel/resources/views/livewire/bd-quiz.blade.php +101 -0
- package/templates/laravel/resources/views/livewire/sign-in.blade.php +82 -0
- package/templates/laravel/resources/views/pages/blog-post.blade.php +24 -0
- package/templates/laravel/resources/views/pages/blog.blade.php +15 -0
- package/templates/laravel/resources/views/pages/cart.blade.php +41 -0
- package/templates/laravel/resources/views/pages/delete-account.blade.php +26 -0
- package/templates/laravel/resources/views/pages/form.blade.php +10 -0
- package/templates/laravel/resources/views/pages/home.blade.php +73 -0
- package/templates/laravel/resources/views/pages/my-account.blade.php +40 -0
- package/templates/laravel/resources/views/pages/product.blade.php +39 -0
- package/templates/laravel/resources/views/pages/quiz.blade.php +12 -0
- package/templates/laravel/resources/views/pages/reviews.blade.php +17 -0
- package/templates/laravel/resources/views/pages/service-area.blade.php +14 -0
- package/templates/laravel/resources/views/pages/services.blade.php +20 -0
- package/templates/laravel/resources/views/pages/sign-in.blade.php +30 -0
- package/templates/laravel/resources/views/pages/store.blade.php +35 -0
- package/templates/laravel/resources/views/pages/subscriptions.blade.php +19 -0
- package/templates/laravel/resources/views/pages/todos.blade.php +45 -0
- package/templates/laravel/resources/views/pages/updates.blade.php +13 -0
- package/templates/laravel/resources/views/quiz/actions.blade.php +14 -0
- package/templates/laravel/resources/views/quiz/error.blade.php +3 -0
- package/templates/laravel/resources/views/quiz/feedback.blade.php +19 -0
- package/templates/laravel/resources/views/quiz/header.blade.php +10 -0
- package/templates/laravel/resources/views/quiz/question.blade.php +55 -0
- package/templates/laravel/routes/web.php +97 -0
- package/templates/laravel/storage/framework/cache/.gitkeep +0 -0
- package/templates/laravel/storage/framework/sessions/.gitkeep +0 -0
- package/templates/laravel/storage/framework/views/.gitkeep +0 -0
- package/templates/laravel/storage/logs/.gitkeep +0 -0
- package/templates/laravel/tests/Fixtures/forms-parity.json +3806 -0
- package/templates/laravel/tests/Fixtures/quiz-parity.json +9937 -0
- package/templates/laravel/tests/Unit/FormControllerTest.php +310 -0
- package/templates/laravel/tests/Unit/FormsParityTest.php +314 -0
- package/templates/laravel/tests/Unit/PhpSecurityTest.php +38 -0
- package/templates/laravel/tests/Unit/QuizParityTest.php +303 -0
- package/templates/laravel/tsconfig.json +19 -0
- package/templates/nuxt/.env.example +47 -0
- package/templates/nuxt/README.md +446 -0
- package/templates/nuxt/_gitignore +10 -0
- package/templates/nuxt/app/app.vue +28 -0
- package/templates/nuxt/app/assets/css/bd-tokens.css +944 -0
- package/templates/nuxt/app/components/bd/About.vue +34 -0
- package/templates/nuxt/app/components/bd/BdFooter.vue +22 -0
- package/templates/nuxt/app/components/bd/BdHeader.vue +25 -0
- package/templates/nuxt/app/components/bd/Blog.vue +43 -0
- package/templates/nuxt/app/components/bd/Booking.vue +235 -0
- package/templates/nuxt/app/components/bd/ContactForm.vue +111 -0
- package/templates/nuxt/app/components/bd/Gallery.vue +46 -0
- package/templates/nuxt/app/components/bd/Hero.vue +14 -0
- package/templates/nuxt/app/components/bd/NewsBanner.vue +44 -0
- package/templates/nuxt/app/components/bd/NotFoundBody.vue +22 -0
- package/templates/nuxt/app/components/bd/ReviewForm.vue +106 -0
- package/templates/nuxt/app/components/bd/SdkSetupBanner.vue +111 -0
- package/templates/nuxt/app/components/bd/Services.vue +34 -0
- package/templates/nuxt/app/components/bd/Subscribe.vue +205 -0
- package/templates/nuxt/app/composables/useCart.ts +83 -0
- package/templates/nuxt/app/pages/[...slug].vue +52 -0
- package/templates/nuxt/app/pages/cart.vue +194 -0
- package/templates/nuxt/app/pages/index.vue +58 -0
- package/templates/nuxt/app/pages/my-account.vue +207 -0
- package/templates/nuxt/app/pages/reviews.vue +104 -0
- package/templates/nuxt/app/pages/services/[service]/[area].vue +85 -0
- package/templates/nuxt/app/pages/services/index.vue +57 -0
- package/templates/nuxt/app/pages/store/[id].vue +128 -0
- package/templates/nuxt/app/pages/store/index.vue +73 -0
- package/templates/nuxt/app/pages/subscriptions.vue +117 -0
- package/templates/nuxt/app/pages/todos.vue +222 -0
- package/templates/nuxt/app/pages/updates.vue +78 -0
- package/templates/nuxt/bd.config.ts +331 -0
- package/templates/nuxt/bd.data-model.config.ts +89 -0
- package/templates/nuxt/nuxt.config.ts +78 -0
- package/templates/nuxt/package.json +35 -0
- package/templates/nuxt/pnpm-lock.yaml +6211 -0
- package/templates/nuxt/public/favicon.ico +0 -0
- package/templates/nuxt/server/api/bd/cart/add.post.ts +21 -0
- package/templates/nuxt/server/api/bd/cart/clear.post.ts +10 -0
- package/templates/nuxt/server/api/bd/cart/coupon.post.ts +15 -0
- package/templates/nuxt/server/api/bd/cart/index.get.ts +25 -0
- package/templates/nuxt/server/api/bd/cart/remove.post.ts +10 -0
- package/templates/nuxt/server/api/bd/cart/update.post.ts +13 -0
- package/templates/nuxt/server/api/bd/checkout/start.post.ts +35 -0
- package/templates/nuxt/server/api/bd/forms/[slug].post.ts +37 -0
- package/templates/nuxt/server/api/bd/home.get.ts +284 -0
- package/templates/nuxt/server/api/bd/jsonld.get.ts +42 -0
- package/templates/nuxt/server/api/bd/legal.get.ts +30 -0
- package/templates/nuxt/server/api/bd/parallel/render.get.ts +53 -0
- package/templates/nuxt/server/api/bd/parallel/variants.get.ts +27 -0
- package/templates/nuxt/server/api/bd/portal/context.get.ts +76 -0
- package/templates/nuxt/server/api/bd/portal/plan.post.ts +27 -0
- package/templates/nuxt/server/api/bd/portal/submit-review.post.ts +53 -0
- package/templates/nuxt/server/api/bd/revalidate.post.ts +38 -0
- package/templates/nuxt/server/api/bd/reviews.get.ts +44 -0
- package/templates/nuxt/server/api/bd/scheduling/bookings.post.ts +40 -0
- package/templates/nuxt/server/api/bd/scheduling/slots.get.ts +37 -0
- package/templates/nuxt/server/api/bd/store/product/[id].get.ts +39 -0
- package/templates/nuxt/server/api/bd/store/products-meta.get.ts +101 -0
- package/templates/nuxt/server/api/bd/store/products.get.ts +53 -0
- package/templates/nuxt/server/api/bd/store/subscriptions/[id]/checkout.post.ts +36 -0
- package/templates/nuxt/server/api/bd/store/subscriptions.get.ts +42 -0
- package/templates/nuxt/server/api/bd/todos.get.ts +111 -0
- package/templates/nuxt/server/api/bd-auth/[...slug].ts +57 -0
- package/templates/nuxt/server/api/mcp.get.ts +14 -0
- package/templates/nuxt/server/api/mcp.post.ts +37 -0
- package/templates/nuxt/server/routes/.well-known/mcp.json.ts +31 -0
- package/templates/nuxt/server/routes/llms.txt.ts +43 -0
- package/templates/nuxt/server/routes/robots.txt.ts +38 -0
- package/templates/nuxt/server/routes/sitemap.xml.ts +60 -0
- package/templates/nuxt/server/utils/bd-cart.ts +73 -0
- package/templates/nuxt/server/utils/bd-env.ts +54 -0
- package/templates/nuxt/server/utils/bd-portal.ts +151 -0
- package/templates/nuxt/server/utils/bd.ts +36 -0
- package/templates/nuxt/tsconfig.json +18 -0
- package/templates/qwik/.env.example +48 -0
- package/templates/qwik/.prettierignore +37 -0
- package/templates/qwik/.vscode/launch.json +24 -0
- package/templates/qwik/.vscode/qwik-city.code-snippets +36 -0
- package/templates/qwik/.vscode/qwik.code-snippets +78 -0
- package/templates/qwik/README.md +436 -0
- package/templates/qwik/_gitignore +42 -0
- package/templates/qwik/bd.config.ts +331 -0
- package/templates/qwik/bd.data-model.config.ts +90 -0
- package/templates/qwik/eslint.config.js +76 -0
- package/templates/qwik/package.json +58 -0
- package/templates/qwik/pnpm-lock.yaml +4928 -0
- package/templates/qwik/public/favicon.svg +1 -0
- package/templates/qwik/public/manifest.json +9 -0
- package/templates/qwik/public/robots.txt +0 -0
- package/templates/qwik/qwik.env.d.ts +4 -0
- package/templates/qwik/src/components/bd/About.tsx +26 -0
- package/templates/qwik/src/components/bd/Banner.tsx +46 -0
- package/templates/qwik/src/components/bd/Blog.tsx +53 -0
- package/templates/qwik/src/components/bd/Booking.tsx +296 -0
- package/templates/qwik/src/components/bd/ContactForm.tsx +100 -0
- package/templates/qwik/src/components/bd/Footer.tsx +28 -0
- package/templates/qwik/src/components/bd/Gallery.tsx +53 -0
- package/templates/qwik/src/components/bd/Header.tsx +18 -0
- package/templates/qwik/src/components/bd/Hero.tsx +21 -0
- package/templates/qwik/src/components/bd/SdkSetupBanner.tsx +115 -0
- package/templates/qwik/src/components/bd/Services.tsx +38 -0
- package/templates/qwik/src/components/bd/SiteHeader.tsx +49 -0
- package/templates/qwik/src/components/bd/Stars.tsx +46 -0
- package/templates/qwik/src/components/bd/Subscribe.tsx +175 -0
- package/templates/qwik/src/components/router-head/router-head.tsx +48 -0
- package/templates/qwik/src/entry.dev.tsx +17 -0
- package/templates/qwik/src/entry.preview.tsx +21 -0
- package/templates/qwik/src/entry.ssr.tsx +31 -0
- package/templates/qwik/src/global.css +875 -0
- package/templates/qwik/src/lib/bd-content.ts +143 -0
- package/templates/qwik/src/lib/bd-distribution.ts +25 -0
- package/templates/qwik/src/lib/bd-portal.ts +181 -0
- package/templates/qwik/src/lib/bd-store.ts +308 -0
- package/templates/qwik/src/lib/bd-todos.ts +137 -0
- package/templates/qwik/src/lib/bd.ts +42 -0
- package/templates/qwik/src/root.tsx +38 -0
- package/templates/qwik/src/routes/.well-known/mcp.json/index.ts +19 -0
- package/templates/qwik/src/routes/[...slug]/index.tsx +85 -0
- package/templates/qwik/src/routes/ai/product-feed/index.ts +24 -0
- package/templates/qwik/src/routes/api/bd/revalidate/index.ts +45 -0
- package/templates/qwik/src/routes/api/bd-auth/[...slug]/index.ts +77 -0
- package/templates/qwik/src/routes/api/mcp/index.ts +38 -0
- package/templates/qwik/src/routes/cart/index.tsx +254 -0
- package/templates/qwik/src/routes/index.tsx +239 -0
- package/templates/qwik/src/routes/llms.txt/index.ts +23 -0
- package/templates/qwik/src/routes/my-account/index.tsx +370 -0
- package/templates/qwik/src/routes/reviews/index.tsx +147 -0
- package/templates/qwik/src/routes/robots.txt/index.ts +70 -0
- package/templates/qwik/src/routes/services/[service]/[area]/index.tsx +115 -0
- package/templates/qwik/src/routes/services/index.tsx +99 -0
- package/templates/qwik/src/routes/sitemap.xml/index.ts +62 -0
- package/templates/qwik/src/routes/store/[id]/index.tsx +362 -0
- package/templates/qwik/src/routes/store/index.tsx +436 -0
- package/templates/qwik/src/routes/store/order/index.tsx +74 -0
- package/templates/qwik/src/routes/subscriptions/index.tsx +164 -0
- package/templates/qwik/src/routes/todos/index.tsx +202 -0
- package/templates/qwik/src/routes/updates/index.tsx +106 -0
- package/templates/qwik/tsconfig.json +26 -0
- package/templates/qwik/vite.config.ts +115 -0
- package/templates/react-bun/.env.example +65 -0
- package/templates/react-bun/README.md +354 -0
- package/templates/react-bun/_gitignore +24 -0
- package/templates/react-bun/bd.config.ts +331 -0
- package/templates/react-bun/bd.data-model.config.ts +90 -0
- package/templates/react-bun/eslint.config.js +22 -0
- package/templates/react-bun/index.html +13 -0
- package/templates/react-bun/package.json +46 -0
- package/templates/react-bun/pnpm-lock.yaml +2060 -0
- package/templates/react-bun/public/favicon.svg +1 -0
- package/templates/react-bun/public/icons.svg +24 -0
- package/templates/react-bun/server.ts +978 -0
- package/templates/react-bun/src/App.css +910 -0
- package/templates/react-bun/src/App.tsx +104 -0
- package/templates/react-bun/src/assets/hero.png +0 -0
- package/templates/react-bun/src/assets/react.svg +1 -0
- package/templates/react-bun/src/assets/vite.svg +1 -0
- package/templates/react-bun/src/components/About.tsx +46 -0
- package/templates/react-bun/src/components/Banner.tsx +53 -0
- package/templates/react-bun/src/components/Blog.tsx +84 -0
- package/templates/react-bun/src/components/Booking.tsx +278 -0
- package/templates/react-bun/src/components/ContactForm.tsx +47 -0
- package/templates/react-bun/src/components/Footer.tsx +24 -0
- package/templates/react-bun/src/components/Gallery.tsx +83 -0
- package/templates/react-bun/src/components/Header.tsx +27 -0
- package/templates/react-bun/src/components/Hero.tsx +65 -0
- package/templates/react-bun/src/components/SdkSetupBanner.tsx +102 -0
- package/templates/react-bun/src/components/Services.tsx +92 -0
- package/templates/react-bun/src/components/Subscribe.tsx +169 -0
- package/templates/react-bun/src/index.css +302 -0
- package/templates/react-bun/src/lib/bd.ts +370 -0
- package/templates/react-bun/src/lib/router.tsx +54 -0
- package/templates/react-bun/src/main.tsx +14 -0
- package/templates/react-bun/src/pages/Cart.tsx +144 -0
- package/templates/react-bun/src/pages/MyAccount.tsx +207 -0
- package/templates/react-bun/src/pages/Product.tsx +220 -0
- package/templates/react-bun/src/pages/Reviews.tsx +73 -0
- package/templates/react-bun/src/pages/ServiceArea.tsx +41 -0
- package/templates/react-bun/src/pages/ServiceAreas.tsx +31 -0
- package/templates/react-bun/src/pages/Store.tsx +274 -0
- package/templates/react-bun/src/pages/Subscriptions.tsx +70 -0
- package/templates/react-bun/src/pages/Todos.tsx +147 -0
- package/templates/react-bun/src/pages/Updates.tsx +53 -0
- package/templates/react-bun/src/pages/ui.tsx +52 -0
- package/templates/react-bun/tsconfig.app.json +25 -0
- package/templates/react-bun/tsconfig.json +7 -0
- package/templates/react-bun/tsconfig.node.json +24 -0
- package/templates/react-bun/vite.config.ts +41 -0
- package/templates/react-native/.env.example +32 -0
- package/templates/react-native/README.md +299 -0
- package/templates/react-native/SECURITY-NOTES.md +22 -0
- package/templates/react-native/_gitignore +21 -0
- package/templates/react-native/app/(tabs)/_layout.tsx +13 -0
- package/templates/react-native/app/(tabs)/account.tsx +116 -0
- package/templates/react-native/app/(tabs)/cart.tsx +79 -0
- package/templates/react-native/app/(tabs)/chat.tsx +58 -0
- package/templates/react-native/app/(tabs)/form.tsx +41 -0
- package/templates/react-native/app/(tabs)/index.tsx +74 -0
- package/templates/react-native/app/_layout.tsx +19 -0
- package/templates/react-native/app/product/[id].tsx +78 -0
- package/templates/react-native/app.json +15 -0
- package/templates/react-native/bd-records/README.md +50 -0
- package/templates/react-native/bd-records/todo-images.json +14 -0
- package/templates/react-native/bd-records/todos.json +20 -0
- package/templates/react-native/bd.config.ts +331 -0
- package/templates/react-native/bd.data-model.config.ts +89 -0
- package/templates/react-native/metro.config.js +16 -0
- package/templates/react-native/package.json +51 -0
- package/templates/react-native/pnpm-lock.yaml +5967 -0
- package/templates/react-native/src/bd/auth.ts +152 -0
- package/templates/react-native/src/bd/client.ts +103 -0
- package/templates/react-native/src/bd/demo-form.json +283 -0
- package/templates/react-native/src/bd/forms.tsx +148 -0
- package/templates/react-native/src/bd/money.ts +29 -0
- package/templates/react-native/src/bd/session.ts +53 -0
- package/templates/react-native/src/bd/useBd.ts +63 -0
- package/templates/react-native/src/bd/useChat.ts +116 -0
- package/templates/react-native/src/bd-forms/BdForm.tsx +973 -0
- package/templates/react-native/src/bd-forms/__tests__/logic.test.ts +195 -0
- package/templates/react-native/src/bd-forms/controls.tsx +1966 -0
- package/templates/react-native/src/bd-forms/index.ts +34 -0
- package/templates/react-native/src/bd-forms/keyboard.ts +139 -0
- package/templates/react-native/src/bd-forms/logic.ts +737 -0
- package/templates/react-native/src/bd-forms/pickers.tsx +487 -0
- package/templates/react-native/src/bd-forms/primitives.tsx +1162 -0
- package/templates/react-native/src/bd-forms/runtime.ts +95 -0
- package/templates/react-native/src/bd-forms/static.tsx +304 -0
- package/templates/react-native/src/bd-forms/theme.ts +385 -0
- package/templates/react-native/src/components/LoadState.tsx +53 -0
- package/templates/react-native/src/components/SignInScreen.tsx +399 -0
- package/templates/react-native/tsconfig.json +19 -0
- package/templates/remix/.env.example +63 -0
- package/templates/remix/README.md +392 -0
- package/templates/remix/_gitignore +10 -0
- package/templates/remix/app/components/ContactForm.tsx +55 -0
- package/templates/remix/app/components/NewsBanner.tsx +43 -0
- package/templates/remix/app/components/SdkSetupBanner.tsx +96 -0
- package/templates/remix/app/components/SiteHeader.tsx +37 -0
- package/templates/remix/app/components/Subscribe.tsx +138 -0
- package/templates/remix/app/lib/bd-booking.server.ts +90 -0
- package/templates/remix/app/lib/bd-bundle.server.ts +143 -0
- package/templates/remix/app/lib/bd-cache.server.ts +71 -0
- package/templates/remix/app/lib/bd-distribution.server.ts +26 -0
- package/templates/remix/app/lib/bd-pages.server.ts +84 -0
- package/templates/remix/app/lib/bd-portal.server.ts +170 -0
- package/templates/remix/app/lib/bd-seo.server.ts +56 -0
- package/templates/remix/app/lib/bd-store.server.ts +320 -0
- package/templates/remix/app/lib/bd-todos.server.ts +124 -0
- package/templates/remix/app/lib/bd.server.ts +112 -0
- package/templates/remix/app/lib/format.ts +17 -0
- package/templates/remix/app/lib/sdk-sections.server.ts +217 -0
- package/templates/remix/app/root.tsx +73 -0
- package/templates/remix/app/routes/$.tsx +85 -0
- package/templates/remix/app/routes/[.well-known].[mcp.json].ts +19 -0
- package/templates/remix/app/routes/[llms.txt].ts +22 -0
- package/templates/remix/app/routes/[robots.txt].ts +45 -0
- package/templates/remix/app/routes/[sitemap.xml].ts +57 -0
- package/templates/remix/app/routes/_index.tsx +210 -0
- package/templates/remix/app/routes/ai.product-feed.ts +24 -0
- package/templates/remix/app/routes/api.bd-auth.$.ts +47 -0
- package/templates/remix/app/routes/api.bd.forms.ts +53 -0
- package/templates/remix/app/routes/api.bd.revalidate.ts +46 -0
- package/templates/remix/app/routes/api.mcp.ts +38 -0
- package/templates/remix/app/routes/api.reviews.ts +44 -0
- package/templates/remix/app/routes/book.tsx +155 -0
- package/templates/remix/app/routes/my-account.tsx +349 -0
- package/templates/remix/app/routes/reviews.tsx +129 -0
- package/templates/remix/app/routes/services.$service.$area.tsx +80 -0
- package/templates/remix/app/routes/services._index.tsx +51 -0
- package/templates/remix/app/routes/store.$id.tsx +287 -0
- package/templates/remix/app/routes/store._index.tsx +318 -0
- package/templates/remix/app/routes/store.cart.tsx +196 -0
- package/templates/remix/app/routes/store.subscriptions.tsx +122 -0
- package/templates/remix/app/routes/todos.tsx +163 -0
- package/templates/remix/app/routes/updates._index.tsx +70 -0
- package/templates/remix/app/routes.ts +9 -0
- package/templates/remix/app/styles.css +699 -0
- package/templates/remix/bd.config.ts +331 -0
- package/templates/remix/bd.data-model.config.ts +90 -0
- package/templates/remix/package.json +52 -0
- package/templates/remix/pnpm-lock.yaml +2368 -0
- package/templates/remix/react-router.config.ts +5 -0
- package/templates/remix/tsconfig.json +22 -0
- package/templates/remix/vite.config.ts +16 -0
- package/templates/solid/.cta.json +24 -0
- package/templates/solid/.cursorrules +35 -0
- package/templates/solid/.env.example +56 -0
- package/templates/solid/.vscode/settings.json +35 -0
- package/templates/solid/README.md +421 -0
- package/templates/solid/VERCEL.md +50 -0
- package/templates/solid/_gitignore +12 -0
- package/templates/solid/bd.config.ts +331 -0
- package/templates/solid/bd.data-model.config.ts +90 -0
- package/templates/solid/biome.json +39 -0
- package/templates/solid/package.json +63 -0
- package/templates/solid/pnpm-lock.yaml +4086 -0
- package/templates/solid/public/favicon.ico +0 -0
- package/templates/solid/public/logo192.png +0 -0
- package/templates/solid/public/logo512.png +0 -0
- package/templates/solid/public/manifest.json +25 -0
- package/templates/solid/public/robots.txt +3 -0
- package/templates/solid/src/components/Header.tsx +58 -0
- package/templates/solid/src/components/bd/About.tsx +22 -0
- package/templates/solid/src/components/bd/Blog.tsx +52 -0
- package/templates/solid/src/components/bd/Booking.tsx +286 -0
- package/templates/solid/src/components/bd/ContactForm.tsx +102 -0
- package/templates/solid/src/components/bd/Footer.tsx +23 -0
- package/templates/solid/src/components/bd/Gallery.tsx +52 -0
- package/templates/solid/src/components/bd/Header.tsx +25 -0
- package/templates/solid/src/components/bd/Hero.tsx +14 -0
- package/templates/solid/src/components/bd/NewsBanner.tsx +47 -0
- package/templates/solid/src/components/bd/SdkSetupBanner.tsx +111 -0
- package/templates/solid/src/components/bd/Services.tsx +34 -0
- package/templates/solid/src/components/bd/Stars.tsx +32 -0
- package/templates/solid/src/components/bd/Subscribe.tsx +217 -0
- package/templates/solid/src/components/bd/money.ts +38 -0
- package/templates/solid/src/env.ts +48 -0
- package/templates/solid/src/integrations/tanstack-query/header-user.tsx +5 -0
- package/templates/solid/src/integrations/tanstack-query/provider.tsx +8 -0
- package/templates/solid/src/lib/bd-distribution.ts +26 -0
- package/templates/solid/src/lib/bd-server-fns.ts +1346 -0
- package/templates/solid/src/lib/bd-todos.ts +122 -0
- package/templates/solid/src/lib/bd.ts +169 -0
- package/templates/solid/src/lib/utils.ts +6 -0
- package/templates/solid/src/routeTree.gen.ts +513 -0
- package/templates/solid/src/router.tsx +23 -0
- package/templates/solid/src/routes/$.tsx +63 -0
- package/templates/solid/src/routes/[.]well-known.mcp[.]json.tsx +16 -0
- package/templates/solid/src/routes/__root.tsx +64 -0
- package/templates/solid/src/routes/about.tsx +23 -0
- package/templates/solid/src/routes/ai.product-feed.tsx +18 -0
- package/templates/solid/src/routes/api/bd/revalidate.tsx +48 -0
- package/templates/solid/src/routes/api/bd-auth.$.tsx +63 -0
- package/templates/solid/src/routes/api/mcp.tsx +23 -0
- package/templates/solid/src/routes/demo.tanstack-query.tsx +28 -0
- package/templates/solid/src/routes/index.tsx +65 -0
- package/templates/solid/src/routes/llms[.]txt.tsx +18 -0
- package/templates/solid/src/routes/my-account.tsx +365 -0
- package/templates/solid/src/routes/reviews.tsx +124 -0
- package/templates/solid/src/routes/robots[.]txt.tsx +17 -0
- package/templates/solid/src/routes/services.$service.$area.tsx +107 -0
- package/templates/solid/src/routes/services.index.tsx +68 -0
- package/templates/solid/src/routes/sitemap[.]xml.tsx +16 -0
- package/templates/solid/src/routes/store.$id.tsx +253 -0
- package/templates/solid/src/routes/store.cart.tsx +242 -0
- package/templates/solid/src/routes/store.index.tsx +392 -0
- package/templates/solid/src/routes/subscriptions.tsx +155 -0
- package/templates/solid/src/routes/todos.tsx +214 -0
- package/templates/solid/src/routes/updates.tsx +92 -0
- package/templates/solid/src/styles.css +1571 -0
- package/templates/solid/tsconfig.json +29 -0
- package/templates/solid/ui.config.json +13 -0
- package/templates/solid/vercel.json +7 -0
- package/templates/solid/vite.config.ts +23 -0
- package/templates/solid-1/.cta.json +24 -0
- package/templates/solid-1/.cursorrules +35 -0
- package/templates/solid-1/.env.example +56 -0
- package/templates/solid-1/.vscode/settings.json +35 -0
- package/templates/solid-1/README.md +385 -0
- package/templates/solid-1/VERCEL.md +50 -0
- package/templates/solid-1/_gitignore +12 -0
- package/templates/solid-1/bd.config.ts +331 -0
- package/templates/solid-1/bd.data-model.config.ts +90 -0
- package/templates/solid-1/biome.json +39 -0
- package/templates/solid-1/package.json +99 -0
- package/templates/solid-1/pnpm-lock.yaml +3937 -0
- package/templates/solid-1/public/favicon.ico +0 -0
- package/templates/solid-1/public/logo192.png +0 -0
- package/templates/solid-1/public/logo512.png +0 -0
- package/templates/solid-1/public/manifest.json +25 -0
- package/templates/solid-1/public/robots.txt +3 -0
- package/templates/solid-1/src/components/Header.tsx +70 -0
- package/templates/solid-1/src/components/bd/About.tsx +22 -0
- package/templates/solid-1/src/components/bd/Blog.tsx +52 -0
- package/templates/solid-1/src/components/bd/Booking.tsx +271 -0
- package/templates/solid-1/src/components/bd/ContactForm.tsx +102 -0
- package/templates/solid-1/src/components/bd/Footer.tsx +23 -0
- package/templates/solid-1/src/components/bd/Gallery.tsx +52 -0
- package/templates/solid-1/src/components/bd/Header.tsx +25 -0
- package/templates/solid-1/src/components/bd/Hero.tsx +14 -0
- package/templates/solid-1/src/components/bd/NewsBanner.tsx +47 -0
- package/templates/solid-1/src/components/bd/SdkSetupBanner.tsx +111 -0
- package/templates/solid-1/src/components/bd/Services.tsx +34 -0
- package/templates/solid-1/src/components/bd/Stars.tsx +30 -0
- package/templates/solid-1/src/components/bd/Subscribe.tsx +215 -0
- package/templates/solid-1/src/components/bd/money.ts +38 -0
- package/templates/solid-1/src/env.ts +48 -0
- package/templates/solid-1/src/integrations/tanstack-query/header-user.tsx +5 -0
- package/templates/solid-1/src/integrations/tanstack-query/provider.tsx +8 -0
- package/templates/solid-1/src/lib/bd-distribution.ts +26 -0
- package/templates/solid-1/src/lib/bd-server-fns.ts +1346 -0
- package/templates/solid-1/src/lib/bd-todos.ts +122 -0
- package/templates/solid-1/src/lib/bd.ts +169 -0
- package/templates/solid-1/src/lib/demo-store.ts +14 -0
- package/templates/solid-1/src/lib/utils.ts +6 -0
- package/templates/solid-1/src/routeTree.gen.ts +555 -0
- package/templates/solid-1/src/router.tsx +23 -0
- package/templates/solid-1/src/routes/$.tsx +63 -0
- package/templates/solid-1/src/routes/[.]well-known.mcp[.]json.tsx +16 -0
- package/templates/solid-1/src/routes/__root.tsx +62 -0
- package/templates/solid-1/src/routes/about.tsx +23 -0
- package/templates/solid-1/src/routes/ai.product-feed.tsx +18 -0
- package/templates/solid-1/src/routes/api/bd/revalidate.tsx +48 -0
- package/templates/solid-1/src/routes/api/bd-auth.$.tsx +63 -0
- package/templates/solid-1/src/routes/api/mcp.tsx +23 -0
- package/templates/solid-1/src/routes/demo.form.tsx +339 -0
- package/templates/solid-1/src/routes/demo.store.tsx +62 -0
- package/templates/solid-1/src/routes/demo.tanstack-query.tsx +28 -0
- package/templates/solid-1/src/routes/index.tsx +65 -0
- package/templates/solid-1/src/routes/llms[.]txt.tsx +18 -0
- package/templates/solid-1/src/routes/my-account.tsx +365 -0
- package/templates/solid-1/src/routes/reviews.tsx +124 -0
- package/templates/solid-1/src/routes/robots[.]txt.tsx +17 -0
- package/templates/solid-1/src/routes/services.$service.$area.tsx +107 -0
- package/templates/solid-1/src/routes/services.index.tsx +68 -0
- package/templates/solid-1/src/routes/sitemap[.]xml.tsx +16 -0
- package/templates/solid-1/src/routes/store.$id.tsx +253 -0
- package/templates/solid-1/src/routes/store.cart.tsx +242 -0
- package/templates/solid-1/src/routes/store.index.tsx +384 -0
- package/templates/solid-1/src/routes/subscriptions.tsx +155 -0
- package/templates/solid-1/src/routes/todos.tsx +214 -0
- package/templates/solid-1/src/routes/updates.tsx +92 -0
- package/templates/solid-1/src/styles.css +1571 -0
- package/templates/solid-1/tsconfig.json +29 -0
- package/templates/solid-1/ui.config.json +13 -0
- package/templates/solid-1/vercel.json +7 -0
- package/templates/solid-1/vite.config.ts +22 -0
- package/templates/svelte/.cursor/mcp.json +11 -0
- package/templates/svelte/.env.example +61 -0
- package/templates/svelte/.mcp.json +15 -0
- package/templates/svelte/.opencode/opencode.json +6 -0
- package/templates/svelte/.opencode/svelte.json +3 -0
- package/templates/svelte/.prettierignore +10 -0
- package/templates/svelte/.prettierrc +19 -0
- package/templates/svelte/.storybook/main.ts +17 -0
- package/templates/svelte/.storybook/preview.ts +21 -0
- package/templates/svelte/.vscode/extensions.json +7 -0
- package/templates/svelte/.vscode/settings.json +5 -0
- package/templates/svelte/AGENTS.md +23 -0
- package/templates/svelte/CLAUDE.md +23 -0
- package/templates/svelte/README.md +416 -0
- package/templates/svelte/_gitignore +30 -0
- package/templates/svelte/_npmrc +1 -0
- package/templates/svelte/bd.config.ts +331 -0
- package/templates/svelte/bd.data-model.config.ts +89 -0
- package/templates/svelte/drizzle.config.ts +11 -0
- package/templates/svelte/messages/en.json +4 -0
- package/templates/svelte/messages/es.json +4 -0
- package/templates/svelte/package.json +80 -0
- package/templates/svelte/playwright.config.ts +6 -0
- package/templates/svelte/pnpm-lock.yaml +4332 -0
- package/templates/svelte/project.inlang/settings.json +15 -0
- package/templates/svelte/src/app.d.ts +13 -0
- package/templates/svelte/src/app.html +17 -0
- package/templates/svelte/src/env.ts +22 -0
- package/templates/svelte/src/hooks.server.ts +17 -0
- package/templates/svelte/src/hooks.ts +4 -0
- package/templates/svelte/src/lib/assets/favicon.svg +1 -0
- package/templates/svelte/src/lib/bd/cart-client.ts +111 -0
- package/templates/svelte/src/lib/components/bd/About.svelte +31 -0
- package/templates/svelte/src/lib/components/bd/Banner.svelte +79 -0
- package/templates/svelte/src/lib/components/bd/Blog.svelte +47 -0
- package/templates/svelte/src/lib/components/bd/Booking.svelte +243 -0
- package/templates/svelte/src/lib/components/bd/ContactForm.svelte +69 -0
- package/templates/svelte/src/lib/components/bd/Footer.svelte +35 -0
- package/templates/svelte/src/lib/components/bd/Gallery.svelte +54 -0
- package/templates/svelte/src/lib/components/bd/Header.svelte +51 -0
- package/templates/svelte/src/lib/components/bd/Hero.svelte +19 -0
- package/templates/svelte/src/lib/components/bd/SdkSetupBanner.svelte +107 -0
- package/templates/svelte/src/lib/components/bd/Services.svelte +36 -0
- package/templates/svelte/src/lib/components/bd/StoreNav.svelte +65 -0
- package/templates/svelte/src/lib/components/bd/Subscribe.svelte +180 -0
- package/templates/svelte/src/lib/index.ts +1 -0
- package/templates/svelte/src/lib/server/bd-ai.ts +21 -0
- package/templates/svelte/src/lib/server/bd-bundle.ts +142 -0
- package/templates/svelte/src/lib/server/bd-parallel.ts +94 -0
- package/templates/svelte/src/lib/server/bd-portal.ts +187 -0
- package/templates/svelte/src/lib/server/bd-seo.ts +40 -0
- package/templates/svelte/src/lib/server/bd-store.ts +262 -0
- package/templates/svelte/src/lib/server/bd.ts +45 -0
- package/templates/svelte/src/lib/server/db/index.ts +30 -0
- package/templates/svelte/src/lib/server/db/schema.ts +7 -0
- package/templates/svelte/src/lib/vitest-examples/Welcome.svelte +8 -0
- package/templates/svelte/src/lib/vitest-examples/Welcome.svelte.spec.ts +13 -0
- package/templates/svelte/src/lib/vitest-examples/greet.spec.ts +8 -0
- package/templates/svelte/src/lib/vitest-examples/greet.ts +3 -0
- package/templates/svelte/src/routes/+error.svelte +30 -0
- package/templates/svelte/src/routes/+layout.svelte +33 -0
- package/templates/svelte/src/routes/+page.server.ts +167 -0
- package/templates/svelte/src/routes/+page.svelte +45 -0
- package/templates/svelte/src/routes/.well-known/mcp.json/+server.ts +34 -0
- package/templates/svelte/src/routes/[...slug]/+page.server.ts +30 -0
- package/templates/svelte/src/routes/[...slug]/+page.svelte +19 -0
- package/templates/svelte/src/routes/api/bd/cart/+server.ts +19 -0
- package/templates/svelte/src/routes/api/bd/cart/clear/+server.ts +13 -0
- package/templates/svelte/src/routes/api/bd/cart/coupon/+server.ts +29 -0
- package/templates/svelte/src/routes/api/bd/cart/items/+server.ts +28 -0
- package/templates/svelte/src/routes/api/bd/cart/items/[itemId]/+server.ts +31 -0
- package/templates/svelte/src/routes/api/bd/checkout/start/+server.ts +15 -0
- package/templates/svelte/src/routes/api/bd/forms/[slug]/+server.ts +36 -0
- package/templates/svelte/src/routes/api/bd/revalidate/+server.ts +40 -0
- package/templates/svelte/src/routes/api/bd/reviews/+server.ts +37 -0
- package/templates/svelte/src/routes/api/bd/scheduling/bookings/+server.ts +41 -0
- package/templates/svelte/src/routes/api/bd/scheduling/slots/+server.ts +33 -0
- package/templates/svelte/src/routes/api/bd/subscriptions/[id]/checkout/+server.ts +43 -0
- package/templates/svelte/src/routes/api/bd-auth/[...slug]/+server.ts +63 -0
- package/templates/svelte/src/routes/api/mcp/+server.ts +40 -0
- package/templates/svelte/src/routes/bd-tokens.css +518 -0
- package/templates/svelte/src/routes/demo/+page.svelte +6 -0
- package/templates/svelte/src/routes/demo/paraglide/+page.svelte +22 -0
- package/templates/svelte/src/routes/demo/playwright/+page.svelte +1 -0
- package/templates/svelte/src/routes/demo/playwright/page.svelte.e2e.ts +6 -0
- package/templates/svelte/src/routes/layout.css +10 -0
- package/templates/svelte/src/routes/llms.txt/+server.ts +42 -0
- package/templates/svelte/src/routes/my-account/+page.server.ts +165 -0
- package/templates/svelte/src/routes/my-account/+page.svelte +291 -0
- package/templates/svelte/src/routes/reviews/+page.server.ts +40 -0
- package/templates/svelte/src/routes/reviews/+page.svelte +137 -0
- package/templates/svelte/src/routes/robots.txt/+server.ts +52 -0
- package/templates/svelte/src/routes/services/+page.server.ts +15 -0
- package/templates/svelte/src/routes/services/+page.svelte +70 -0
- package/templates/svelte/src/routes/services/[service]/[area]/+page.server.ts +41 -0
- package/templates/svelte/src/routes/services/[service]/[area]/+page.svelte +67 -0
- package/templates/svelte/src/routes/sitemap.xml/+server.ts +63 -0
- package/templates/svelte/src/routes/store/+page.server.ts +98 -0
- package/templates/svelte/src/routes/store/+page.svelte +514 -0
- package/templates/svelte/src/routes/store/[id]/+page.server.ts +54 -0
- package/templates/svelte/src/routes/store/[id]/+page.svelte +511 -0
- package/templates/svelte/src/routes/store/cart/+page.server.ts +17 -0
- package/templates/svelte/src/routes/store/cart/+page.svelte +237 -0
- package/templates/svelte/src/routes/store/order/+page.server.ts +24 -0
- package/templates/svelte/src/routes/store/order/+page.svelte +68 -0
- package/templates/svelte/src/routes/store/subscriptions/+page.server.ts +35 -0
- package/templates/svelte/src/routes/store/subscriptions/+page.svelte +136 -0
- package/templates/svelte/src/routes/todos/+page.server.ts +153 -0
- package/templates/svelte/src/routes/todos/+page.svelte +175 -0
- package/templates/svelte/src/routes/updates/+page.server.ts +20 -0
- package/templates/svelte/src/routes/updates/+page.svelte +94 -0
- package/templates/svelte/src/stories/Button.stories.svelte +31 -0
- package/templates/svelte/src/stories/Button.svelte +30 -0
- package/templates/svelte/src/stories/Configure.mdx +388 -0
- package/templates/svelte/src/stories/Header.stories.svelte +26 -0
- package/templates/svelte/src/stories/Header.svelte +45 -0
- package/templates/svelte/src/stories/Page.stories.svelte +30 -0
- package/templates/svelte/src/stories/Page.svelte +70 -0
- package/templates/svelte/src/stories/assets/accessibility.png +0 -0
- package/templates/svelte/src/stories/assets/accessibility.svg +1 -0
- package/templates/svelte/src/stories/assets/addon-library.png +0 -0
- package/templates/svelte/src/stories/assets/assets.png +0 -0
- package/templates/svelte/src/stories/assets/avif-test-image.avif +0 -0
- package/templates/svelte/src/stories/assets/context.png +0 -0
- package/templates/svelte/src/stories/assets/discord.svg +1 -0
- package/templates/svelte/src/stories/assets/docs.png +0 -0
- package/templates/svelte/src/stories/assets/figma-plugin.png +0 -0
- package/templates/svelte/src/stories/assets/github.svg +1 -0
- package/templates/svelte/src/stories/assets/share.png +0 -0
- package/templates/svelte/src/stories/assets/styling.png +0 -0
- package/templates/svelte/src/stories/assets/testing.png +0 -0
- package/templates/svelte/src/stories/assets/theming.png +0 -0
- package/templates/svelte/src/stories/assets/tutorials.svg +1 -0
- package/templates/svelte/src/stories/assets/youtube.svg +1 -0
- package/templates/svelte/src/stories/button.css +30 -0
- package/templates/svelte/src/stories/header.css +32 -0
- package/templates/svelte/src/stories/page.css +68 -0
- package/templates/svelte/tsconfig.json +8 -0
- package/templates/svelte/vite.config.ts +88 -0
- package/templates/svelte/vitest.shims.d.ts +1 -0
- package/templates/swift/BdStarter.xcconfig +30 -0
- package/templates/swift/LICENSE +21 -0
- package/templates/swift/Package.swift +62 -0
- package/templates/swift/README.md +334 -0
- package/templates/swift/Sources/BdForms/Backend/BdFormsBackend.swift +441 -0
- package/templates/swift/Sources/BdForms/Controller/BdFormController.swift +717 -0
- package/templates/swift/Sources/BdForms/Engine/BdCalculation.swift +173 -0
- package/templates/swift/Sources/BdForms/Engine/BdFormRules+Client.swift +200 -0
- package/templates/swift/Sources/BdForms/Engine/BdFormRules.swift +949 -0
- package/templates/swift/Sources/BdForms/Engine/BdFormula.swift +783 -0
- package/templates/swift/Sources/BdForms/Engine/BdUnits.swift +171 -0
- package/templates/swift/Sources/BdForms/Generated/BdFormsData.generated.swift +294 -0
- package/templates/swift/Sources/BdForms/Model/BdFormSchema.swift +509 -0
- package/templates/swift/Sources/BdForms/Model/BdJSON.swift +302 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizBackend.swift +313 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizController.swift +271 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizEngine.swift +757 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizPage.swift +124 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizScoring.swift +445 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizScreen.swift +461 -0
- package/templates/swift/Sources/BdForms/Quiz/BdQuizWords.swift +110 -0
- package/templates/swift/Sources/BdForms/UI/BdFieldTree.swift +352 -0
- package/templates/swift/Sources/BdForms/UI/BdForm.swift +346 -0
- package/templates/swift/Sources/BdForms/UI/BdFormStyle.swift +247 -0
- package/templates/swift/Sources/BdForms/UI/BdHTML.swift +304 -0
- package/templates/swift/Sources/BdForms/UI/BdIcon.swift +351 -0
- package/templates/swift/Sources/BdForms/UI/Controls/BdChoiceControls.swift +677 -0
- package/templates/swift/Sources/BdForms/UI/Controls/BdDateControls.swift +360 -0
- package/templates/swift/Sources/BdForms/UI/Controls/BdFieldControl.swift +338 -0
- package/templates/swift/Sources/BdForms/UI/Controls/BdMediaControls.swift +412 -0
- package/templates/swift/Sources/BdForms/UI/Controls/BdStaticViews.swift +183 -0
- package/templates/swift/Sources/BdForms/UI/Controls/BdTextControls.swift +388 -0
- package/templates/swift/Sources/BdForms/UI/Quiz/BdQuiz.swift +696 -0
- package/templates/swift/Sources/BdSignIn/BdSignInBackend.swift +299 -0
- package/templates/swift/Sources/BdSignIn/BdSignInChecks.swift +158 -0
- package/templates/swift/Sources/BdSignIn/BdSignInView.swift +806 -0
- package/templates/swift/Sources/BdStarterApp/BdEnvironment.swift +138 -0
- package/templates/swift/Sources/BdStarterApp/ViewModels/CartViewModel.swift +74 -0
- package/templates/swift/Sources/BdStarterApp/ViewModels/ChatViewModel.swift +87 -0
- package/templates/swift/Sources/BdStarterApp/ViewModels/StorefrontViewModel.swift +73 -0
- package/templates/swift/Sources/BdStarterApp/ViewModels/ViewModel.swift +53 -0
- package/templates/swift/Sources/BdStarterApp/Views/AccountView.swift +163 -0
- package/templates/swift/Sources/BdStarterApp/Views/BdFormView.swift +50 -0
- package/templates/swift/Sources/BdStarterApp/Views/BdQuizView.swift +59 -0
- package/templates/swift/Sources/BdStarterApp/Views/BlogView.swift +33 -0
- package/templates/swift/Sources/BdStarterApp/Views/CartView.swift +73 -0
- package/templates/swift/Sources/BdStarterApp/Views/ChatView.swift +57 -0
- package/templates/swift/Sources/BdStarterApp/Views/LoadState.swift +50 -0
- package/templates/swift/Sources/BdStarterApp/Views/ProductDetailView.swift +57 -0
- package/templates/swift/Sources/BdStarterApp/Views/RootView.swift +60 -0
- package/templates/swift/Sources/BdStarterApp/Views/StorefrontView.swift +68 -0
- package/templates/swift/Sources/BusinessDashKit/BdAuth.swift +113 -0
- package/templates/swift/Sources/BusinessDashKit/BdClient.swift +223 -0
- package/templates/swift/Sources/BusinessDashKit/BdConfiguration.swift +59 -0
- package/templates/swift/Sources/BusinessDashKit/BdError.swift +71 -0
- package/templates/swift/Sources/BusinessDashKit/BdSessionStore.swift +83 -0
- package/templates/swift/Sources/BusinessDashKit/ChatFeed.swift +145 -0
- package/templates/swift/Sources/BusinessDashKit/Donations.swift +144 -0
- package/templates/swift/Sources/BusinessDashKit/JSONValue.swift +118 -0
- package/templates/swift/Sources/BusinessDashKit/Models.swift +447 -0
- package/templates/swift/Sources/BusinessDashKit/Money.swift +33 -0
- package/templates/swift/Sources/BusinessDashKit/Resources.swift +439 -0
- package/templates/swift/Sources/BusinessDashKit/Scheduling.swift +128 -0
- package/templates/swift/Sources/BusinessDashKit/Seo.swift +169 -0
- package/templates/swift/Sources/BusinessDashKit/SocialPlatforms.generated.swift +48 -0
- package/templates/swift/Sources/BusinessDashKit/Socials.swift +160 -0
- package/templates/swift/Tests/BdFormsTests/ControllerTests.swift +356 -0
- package/templates/swift/Tests/BdFormsTests/Fixtures/forms-parity.json +3806 -0
- package/templates/swift/Tests/BdFormsTests/Fixtures/quiz-parity.json +9937 -0
- package/templates/swift/Tests/BdFormsTests/FormsBackendPathTests.swift +17 -0
- package/templates/swift/Tests/BdFormsTests/ParityTests.swift +192 -0
- package/templates/swift/Tests/BdFormsTests/QuizControllerTests.swift +342 -0
- package/templates/swift/Tests/BdFormsTests/QuizParityTests.swift +230 -0
- package/templates/swift/Tests/BdSignInTests/BdSignInChecksTests.swift +49 -0
- package/templates/swift/Tests/BusinessDashKitTests/BusinessDashKitTests.swift +367 -0
- package/templates/swift/_gitignore +9 -0
- package/templates/swift/bd-records/README.md +50 -0
- package/templates/swift/bd-records/todo-images.json +14 -0
- package/templates/swift/bd-records/todos.json +20 -0
- package/templates/swift/bd.config.ts +331 -0
- package/templates/swift/bd.data-model.config.ts +89 -0
- package/templates/swift/package.json +20 -0
- package/templates/swift/pnpm-lock.yaml +347 -0
- package/templates/swift/tsconfig.json +19 -0
- package/templates/t3/.env.example +62 -0
- package/templates/t3/README.md +428 -0
- package/templates/t3/_gitignore +46 -0
- package/templates/t3/bd.config.ts +331 -0
- package/templates/t3/bd.data-model.config.ts +90 -0
- package/templates/t3/biome.jsonc +69 -0
- package/templates/t3/drizzle.config.ts +15 -0
- package/templates/t3/next.config.js +17 -0
- package/templates/t3/package.json +64 -0
- package/templates/t3/pnpm-lock.yaml +1843 -0
- package/templates/t3/postcss.config.js +5 -0
- package/templates/t3/public/favicon.ico +0 -0
- package/templates/t3/src/app/.well-known/mcp.json/route.ts +17 -0
- package/templates/t3/src/app/[...slug]/page.tsx +71 -0
- package/templates/t3/src/app/_actions/plans.ts +60 -0
- package/templates/t3/src/app/_actions/review.ts +88 -0
- package/templates/t3/src/app/_actions/store.ts +119 -0
- package/templates/t3/src/app/_components/bd/About.tsx +25 -0
- package/templates/t3/src/app/_components/bd/AuthButtons.tsx +49 -0
- package/templates/t3/src/app/_components/bd/Blog.tsx +47 -0
- package/templates/t3/src/app/_components/bd/Booking.tsx +257 -0
- package/templates/t3/src/app/_components/bd/ContactForm.tsx +82 -0
- package/templates/t3/src/app/_components/bd/Footer.tsx +25 -0
- package/templates/t3/src/app/_components/bd/Gallery.tsx +49 -0
- package/templates/t3/src/app/_components/bd/Header.tsx +27 -0
- package/templates/t3/src/app/_components/bd/Hero.tsx +14 -0
- package/templates/t3/src/app/_components/bd/NewsBanner.tsx +57 -0
- package/templates/t3/src/app/_components/bd/ReviewForm.tsx +95 -0
- package/templates/t3/src/app/_components/bd/Reviews.tsx +83 -0
- package/templates/t3/src/app/_components/bd/ReviewsLoadMore.tsx +107 -0
- package/templates/t3/src/app/_components/bd/SdkSetupBanner.tsx +97 -0
- package/templates/t3/src/app/_components/bd/Services.tsx +30 -0
- package/templates/t3/src/app/_components/bd/SignInScreen.tsx +32 -0
- package/templates/t3/src/app/_components/bd/Subscribe.tsx +157 -0
- package/templates/t3/src/app/_components/bd/Updates.tsx +90 -0
- package/templates/t3/src/app/_components/post.tsx +50 -0
- package/templates/t3/src/app/ai/product-feed/route.ts +21 -0
- package/templates/t3/src/app/api/bd/revalidate/route.ts +16 -0
- package/templates/t3/src/app/api/bd-auth/[...slug]/route.ts +39 -0
- package/templates/t3/src/app/api/mcp/route.ts +36 -0
- package/templates/t3/src/app/api/trpc/[trpc]/route.ts +34 -0
- package/templates/t3/src/app/layout.tsx +55 -0
- package/templates/t3/src/app/llms.txt/route.ts +21 -0
- package/templates/t3/src/app/my-account/page.tsx +259 -0
- package/templates/t3/src/app/not-found.tsx +26 -0
- package/templates/t3/src/app/page.tsx +89 -0
- package/templates/t3/src/app/robots.txt/route.ts +51 -0
- package/templates/t3/src/app/services/[service]/[area]/page.tsx +114 -0
- package/templates/t3/src/app/sitemap.xml/route.ts +75 -0
- package/templates/t3/src/app/store/[id]/page.tsx +69 -0
- package/templates/t3/src/app/store/_components/AddToCart.tsx +117 -0
- package/templates/t3/src/app/store/_components/CartClient.tsx +198 -0
- package/templates/t3/src/app/store/_components/Notice.tsx +11 -0
- package/templates/t3/src/app/store/_components/StoreView.tsx +372 -0
- package/templates/t3/src/app/store/_components/store-utils.ts +63 -0
- package/templates/t3/src/app/store/cart/page.tsx +28 -0
- package/templates/t3/src/app/store/layout.tsx +38 -0
- package/templates/t3/src/app/store/order/page.tsx +88 -0
- package/templates/t3/src/app/store/page.tsx +104 -0
- package/templates/t3/src/app/store/subscriptions/page.tsx +110 -0
- package/templates/t3/src/app/todos/TodoCreateForm.tsx +68 -0
- package/templates/t3/src/app/todos/page.tsx +134 -0
- package/templates/t3/src/env.js +78 -0
- package/templates/t3/src/server/api/root.ts +25 -0
- package/templates/t3/src/server/api/routers/bd.ts +359 -0
- package/templates/t3/src/server/api/routers/post.ts +30 -0
- package/templates/t3/src/server/api/trpc.ts +106 -0
- package/templates/t3/src/server/db/index.ts +40 -0
- package/templates/t3/src/server/db/schema.ts +26 -0
- package/templates/t3/src/server/lib/bd-distribution.ts +28 -0
- package/templates/t3/src/server/lib/bd-portal.ts +163 -0
- package/templates/t3/src/server/lib/bd-seo.ts +55 -0
- package/templates/t3/src/server/lib/bd-store.ts +177 -0
- package/templates/t3/src/server/lib/bd-todos.ts +138 -0
- package/templates/t3/src/server/lib/bd.ts +260 -0
- package/templates/t3/src/styles/globals.css +1088 -0
- package/templates/t3/src/trpc/query-client.ts +25 -0
- package/templates/t3/src/trpc/react.tsx +78 -0
- package/templates/t3/src/trpc/server.ts +30 -0
- package/templates/t3/start-database.sh +88 -0
- package/templates/t3/tsconfig.json +42 -0
- package/templates/vanilla/.env.example +51 -0
- package/templates/vanilla/README.md +345 -0
- package/templates/vanilla/_gitignore +7 -0
- package/templates/vanilla/bd.config.ts +331 -0
- package/templates/vanilla/bd.data-model.config.ts +89 -0
- package/templates/vanilla/lib/cache.ts +58 -0
- package/templates/vanilla/package.json +23 -0
- package/templates/vanilla/pnpm-lock.yaml +97 -0
- package/templates/vanilla/public/banner.js +75 -0
- package/templates/vanilla/public/bd.js +435 -0
- package/templates/vanilla/public/index.html +74 -0
- package/templates/vanilla/public/main.js +59 -0
- package/templates/vanilla/public/pages/_ui.js +24 -0
- package/templates/vanilla/public/pages/cart.js +143 -0
- package/templates/vanilla/public/pages/my-account.js +182 -0
- package/templates/vanilla/public/pages/product.js +211 -0
- package/templates/vanilla/public/pages/reviews.js +56 -0
- package/templates/vanilla/public/pages/services-area.js +33 -0
- package/templates/vanilla/public/pages/services.js +26 -0
- package/templates/vanilla/public/pages/store.js +271 -0
- package/templates/vanilla/public/pages/subscriptions.js +80 -0
- package/templates/vanilla/public/pages/todos.js +160 -0
- package/templates/vanilla/public/pages/updates.js +46 -0
- package/templates/vanilla/public/sections/about.js +47 -0
- package/templates/vanilla/public/sections/blog.js +66 -0
- package/templates/vanilla/public/sections/booking.js +304 -0
- package/templates/vanilla/public/sections/contact-form.js +104 -0
- package/templates/vanilla/public/sections/gallery.js +70 -0
- package/templates/vanilla/public/sections/hero.js +43 -0
- package/templates/vanilla/public/sections/services.js +70 -0
- package/templates/vanilla/public/sections/subscribe.js +160 -0
- package/templates/vanilla/public/setup-banner.js +81 -0
- package/templates/vanilla/public/styles.css +1720 -0
- package/templates/vanilla/server.ts +1192 -0
- package/templates/vanilla/src/content/en/home/about.json +4 -0
- package/templates/vanilla/src/content/en/home/hero.json +6 -0
- package/templates/vanilla/src/content/en/shared/brand.json +5 -0
- package/templates/vanilla/src/content/en/shared/companyInfo.json +11 -0
- package/templates/vanilla/tsconfig.json +14 -0
- package/templates/vapor/.env.example +38 -0
- package/templates/vapor/Package.resolved +285 -0
- package/templates/vapor/Package.swift +33 -0
- package/templates/vapor/Public/bd-sign-in.css +53 -0
- package/templates/vapor/Public/forms.css +1158 -0
- package/templates/vapor/Public/styles.css +100 -0
- package/templates/vapor/README.md +280 -0
- package/templates/vapor/Resources/Forms/demo-form.json +283 -0
- package/templates/vapor/Resources/Forms/demo-quiz.json +97 -0
- package/templates/vapor/Resources/Views/account.leaf +23 -0
- package/templates/vapor/Resources/Views/base.leaf +51 -0
- package/templates/vapor/Resources/Views/blog.leaf +18 -0
- package/templates/vapor/Resources/Views/cart.leaf +30 -0
- package/templates/vapor/Resources/Views/delete-account.leaf +26 -0
- package/templates/vapor/Resources/Views/form.leaf +6 -0
- package/templates/vapor/Resources/Views/home.leaf +37 -0
- package/templates/vapor/Resources/Views/post.leaf +15 -0
- package/templates/vapor/Resources/Views/product.leaf +28 -0
- package/templates/vapor/Resources/Views/quiz.leaf +6 -0
- package/templates/vapor/Resources/Views/reviews.leaf +16 -0
- package/templates/vapor/Resources/Views/service-area.leaf +9 -0
- package/templates/vapor/Resources/Views/services.leaf +15 -0
- package/templates/vapor/Resources/Views/store.leaf +37 -0
- package/templates/vapor/Resources/Views/subscriptions.leaf +18 -0
- package/templates/vapor/Resources/Views/todos.leaf +28 -0
- package/templates/vapor/Sources/App/Bd/BdCache.swift +99 -0
- package/templates/vapor/Sources/App/Bd/BdClient.swift +178 -0
- package/templates/vapor/Sources/App/Bd/BdWebhook.swift +92 -0
- package/templates/vapor/Sources/App/Bd/Donations.swift +95 -0
- package/templates/vapor/Sources/App/Bd/JSONValue.swift +66 -0
- package/templates/vapor/Sources/App/Bd/Models.swift +153 -0
- package/templates/vapor/Sources/App/Bd/Money.swift +29 -0
- package/templates/vapor/Sources/App/Bd/PortalResources.swift +372 -0
- package/templates/vapor/Sources/App/Bd/Resources.swift +115 -0
- package/templates/vapor/Sources/App/Bd/Scheduling.swift +135 -0
- package/templates/vapor/Sources/App/Bd/Seo.swift +169 -0
- package/templates/vapor/Sources/App/Bd/SignInCore.swift +232 -0
- package/templates/vapor/Sources/App/Bd/SocialPlatforms.generated.swift +48 -0
- package/templates/vapor/Sources/App/Bd/Socials.swift +96 -0
- package/templates/vapor/Sources/App/Controllers/AccountController.swift +435 -0
- package/templates/vapor/Sources/App/Controllers/CartController.swift +107 -0
- package/templates/vapor/Sources/App/Controllers/Contexts.swift +124 -0
- package/templates/vapor/Sources/App/Controllers/PageController.swift +151 -0
- package/templates/vapor/Sources/App/Controllers/SeoController.swift +83 -0
- package/templates/vapor/Sources/App/Controllers/SignInController.swift +583 -0
- package/templates/vapor/Sources/App/Controllers/StoreController.swift +48 -0
- package/templates/vapor/Sources/App/Controllers/WebhookController.swift +34 -0
- package/templates/vapor/Sources/App/Forms/FormPage.swift +900 -0
- package/templates/vapor/Sources/App/Forms/FormPost.swift +125 -0
- package/templates/vapor/Sources/App/Forms/FormRoutes.swift +36 -0
- package/templates/vapor/Sources/App/Forms/FormSamples.swift +45 -0
- package/templates/vapor/Sources/App/Forms/QuizPage.swift +481 -0
- package/templates/vapor/Sources/App/Forms/QuizRoutes.swift +77 -0
- package/templates/vapor/Sources/App/configure.swift +18 -0
- package/templates/vapor/Sources/App/entrypoint.swift +20 -0
- package/templates/vapor/Sources/App/routes.swift +62 -0
- package/templates/vapor/Sources/BdForms/Backend/BdFormsBackend.swift +445 -0
- package/templates/vapor/Sources/BdForms/Controller/BdFormController.swift +721 -0
- package/templates/vapor/Sources/BdForms/Engine/BdCalculation.swift +177 -0
- package/templates/vapor/Sources/BdForms/Engine/BdFormRules+Client.swift +204 -0
- package/templates/vapor/Sources/BdForms/Engine/BdFormRules.swift +953 -0
- package/templates/vapor/Sources/BdForms/Engine/BdFormula.swift +787 -0
- package/templates/vapor/Sources/BdForms/Engine/BdUnits.swift +175 -0
- package/templates/vapor/Sources/BdForms/Generated/BdFormsData.generated.swift +298 -0
- package/templates/vapor/Sources/BdForms/Model/BdFormSchema.swift +513 -0
- package/templates/vapor/Sources/BdForms/Model/BdJSON.swift +306 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizBackend.swift +317 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizController.swift +275 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizEngine.swift +761 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizPage.swift +128 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizScoring.swift +449 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizScreen.swift +465 -0
- package/templates/vapor/Sources/BdForms/Quiz/BdQuizWords.swift +114 -0
- package/templates/vapor/_gitignore +9 -0
- package/templates/vapor/bd-records/README.md +50 -0
- package/templates/vapor/bd-records/todo-images.json +14 -0
- package/templates/vapor/bd-records/todos.json +20 -0
- package/templates/vapor/bd.config.ts +331 -0
- package/templates/vapor/bd.data-model.config.ts +89 -0
- package/templates/vapor/package.json +20 -0
- package/templates/vapor/pnpm-lock.yaml +347 -0
- package/templates/vapor/tsconfig.json +19 -0
|
@@ -0,0 +1,1571 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@plugin "tailwindcss-animate";
|
|
4
|
+
|
|
5
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
|
+
|
|
7
|
+
body {
|
|
8
|
+
@apply m-0;
|
|
9
|
+
font-family:
|
|
10
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
|
|
11
|
+
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
code {
|
|
17
|
+
font-family:
|
|
18
|
+
source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:root {
|
|
22
|
+
--background: oklch(1 0 0);
|
|
23
|
+
--foreground: oklch(0.141 0.005 285.823);
|
|
24
|
+
--card: oklch(1 0 0);
|
|
25
|
+
--card-foreground: oklch(0.141 0.005 285.823);
|
|
26
|
+
--popover: oklch(1 0 0);
|
|
27
|
+
--popover-foreground: oklch(0.141 0.005 285.823);
|
|
28
|
+
--primary: oklch(0.21 0.006 285.885);
|
|
29
|
+
--primary-foreground: oklch(0.985 0 0);
|
|
30
|
+
--secondary: oklch(0.967 0.001 286.375);
|
|
31
|
+
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
32
|
+
--muted: oklch(0.967 0.001 286.375);
|
|
33
|
+
--muted-foreground: oklch(0.552 0.016 285.938);
|
|
34
|
+
--accent: oklch(0.967 0.001 286.375);
|
|
35
|
+
--accent-foreground: oklch(0.21 0.006 285.885);
|
|
36
|
+
--destructive: oklch(0.577 0.245 27.325);
|
|
37
|
+
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
38
|
+
--border: oklch(0.92 0.004 286.32);
|
|
39
|
+
--input: oklch(0.92 0.004 286.32);
|
|
40
|
+
--ring: oklch(0.871 0.006 286.286);
|
|
41
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
42
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
43
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
44
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
45
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
46
|
+
--radius: 0.625rem;
|
|
47
|
+
--sidebar: oklch(0.985 0 0);
|
|
48
|
+
--sidebar-foreground: oklch(0.141 0.005 285.823);
|
|
49
|
+
--sidebar-primary: oklch(0.21 0.006 285.885);
|
|
50
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
51
|
+
--sidebar-accent: oklch(0.967 0.001 286.375);
|
|
52
|
+
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
|
|
53
|
+
--sidebar-border: oklch(0.92 0.004 286.32);
|
|
54
|
+
--sidebar-ring: oklch(0.871 0.006 286.286);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dark {
|
|
58
|
+
--background: oklch(0.141 0.005 285.823);
|
|
59
|
+
--foreground: oklch(0.985 0 0);
|
|
60
|
+
--card: oklch(0.141 0.005 285.823);
|
|
61
|
+
--card-foreground: oklch(0.985 0 0);
|
|
62
|
+
--popover: oklch(0.141 0.005 285.823);
|
|
63
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
64
|
+
--primary: oklch(0.985 0 0);
|
|
65
|
+
--primary-foreground: oklch(0.21 0.006 285.885);
|
|
66
|
+
--secondary: oklch(0.274 0.006 286.033);
|
|
67
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
68
|
+
--muted: oklch(0.274 0.006 286.033);
|
|
69
|
+
--muted-foreground: oklch(0.705 0.015 286.067);
|
|
70
|
+
--accent: oklch(0.274 0.006 286.033);
|
|
71
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
72
|
+
--destructive: oklch(0.396 0.141 25.723);
|
|
73
|
+
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
74
|
+
--border: oklch(0.274 0.006 286.033);
|
|
75
|
+
--input: oklch(0.274 0.006 286.033);
|
|
76
|
+
--ring: oklch(0.442 0.017 285.786);
|
|
77
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
78
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
79
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
80
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
81
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
82
|
+
--sidebar: oklch(0.21 0.006 285.885);
|
|
83
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
84
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
85
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
86
|
+
--sidebar-accent: oklch(0.274 0.006 286.033);
|
|
87
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
88
|
+
--sidebar-border: oklch(0.274 0.006 286.033);
|
|
89
|
+
--sidebar-ring: oklch(0.442 0.017 285.786);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@theme inline {
|
|
93
|
+
--color-background: var(--background);
|
|
94
|
+
--color-foreground: var(--foreground);
|
|
95
|
+
--color-card: var(--card);
|
|
96
|
+
--color-card-foreground: var(--card-foreground);
|
|
97
|
+
--color-popover: var(--popover);
|
|
98
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
99
|
+
--color-primary: var(--primary);
|
|
100
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
101
|
+
--color-secondary: var(--secondary);
|
|
102
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
103
|
+
--color-muted: var(--muted);
|
|
104
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
105
|
+
--color-accent: var(--accent);
|
|
106
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
107
|
+
--color-destructive: var(--destructive);
|
|
108
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
109
|
+
--color-border: var(--border);
|
|
110
|
+
--color-input: var(--input);
|
|
111
|
+
--color-ring: var(--ring);
|
|
112
|
+
--color-chart-1: var(--chart-1);
|
|
113
|
+
--color-chart-2: var(--chart-2);
|
|
114
|
+
--color-chart-3: var(--chart-3);
|
|
115
|
+
--color-chart-4: var(--chart-4);
|
|
116
|
+
--color-chart-5: var(--chart-5);
|
|
117
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
118
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
119
|
+
--radius-lg: var(--radius);
|
|
120
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
121
|
+
--color-sidebar: var(--sidebar);
|
|
122
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
123
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
124
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
125
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
126
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
127
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
128
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@layer base {
|
|
132
|
+
* {
|
|
133
|
+
@apply border-border outline-ring/50;
|
|
134
|
+
}
|
|
135
|
+
body {
|
|
136
|
+
@apply bg-background text-foreground;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* ──────────────────────────────────────────────────────────────────
|
|
141
|
+
BD-style design tokens, additive layer over the existing
|
|
142
|
+
shadcn/oklch theme. The BD sections use these classes; any
|
|
143
|
+
other UI in this starter keeps the existing tokens.
|
|
144
|
+
────────────────────────────────────────────────────────────────── */
|
|
145
|
+
/* ──────────────────────────────────────────────────────────────────
|
|
146
|
+
BD-style design tokens.
|
|
147
|
+
Mirror the variable names BD uses on its own admin surfaces
|
|
148
|
+
(themes.css) so consumer sites can drop into the same look + feel
|
|
149
|
+
without inventing a new visual language. Override these in your
|
|
150
|
+
own app — the section components below only reference variables.
|
|
151
|
+
────────────────────────────────────────────────────────────────── */
|
|
152
|
+
:root {
|
|
153
|
+
color-scheme: light dark;
|
|
154
|
+
|
|
155
|
+
/* Surfaces */
|
|
156
|
+
--bg: #fdfcfb;
|
|
157
|
+
--bg-soft: #f5f3f0;
|
|
158
|
+
--card: #ffffff;
|
|
159
|
+
--sub-card: rgba(255, 255, 255, 0.6);
|
|
160
|
+
--glass-card: rgba(255, 255, 255, 0.8);
|
|
161
|
+
--border: rgba(8, 6, 13, 0.08);
|
|
162
|
+
--border-strong: rgba(8, 6, 13, 0.14);
|
|
163
|
+
|
|
164
|
+
/* Type */
|
|
165
|
+
--title: #08060d;
|
|
166
|
+
--subtitle: #2d2933;
|
|
167
|
+
--text: #4a444f;
|
|
168
|
+
--text-muted: #7a7480;
|
|
169
|
+
--link: #6033b8;
|
|
170
|
+
|
|
171
|
+
/* Accent / brand */
|
|
172
|
+
--accent: #6033b8;
|
|
173
|
+
--accent-strong: #4a258f;
|
|
174
|
+
--accent-bg: rgba(96, 51, 184, 0.08);
|
|
175
|
+
--accent-border: rgba(96, 51, 184, 0.3);
|
|
176
|
+
|
|
177
|
+
/* Status */
|
|
178
|
+
--success: #1f7a4d;
|
|
179
|
+
--success-bg: rgba(31, 122, 77, 0.1);
|
|
180
|
+
--danger: #b1142e;
|
|
181
|
+
--danger-bg: rgba(177, 20, 46, 0.1);
|
|
182
|
+
|
|
183
|
+
/* Neumorphic shadows (BD house style) */
|
|
184
|
+
--card-neu-top-left: rgba(255, 255, 255, 0.9);
|
|
185
|
+
--card-neu-shadow: rgba(8, 6, 13, 0.06);
|
|
186
|
+
--card-neu-halo: rgba(96, 51, 184, 0.06);
|
|
187
|
+
|
|
188
|
+
/* Page background gradient */
|
|
189
|
+
--app-bg-gradient:
|
|
190
|
+
radial-gradient(
|
|
191
|
+
ellipse 80% 60% at 50% 0%,
|
|
192
|
+
var(--accent-bg) 0%,
|
|
193
|
+
transparent 60%
|
|
194
|
+
),
|
|
195
|
+
linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
|
|
196
|
+
|
|
197
|
+
/* Type system */
|
|
198
|
+
--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
199
|
+
--heading: var(--sans);
|
|
200
|
+
--mono: ui-monospace, "SF Mono", Consolas, monospace;
|
|
201
|
+
|
|
202
|
+
font: 16px / 1.55 var(--sans);
|
|
203
|
+
letter-spacing: 0.005em;
|
|
204
|
+
color: var(--text);
|
|
205
|
+
background: var(--app-bg-gradient);
|
|
206
|
+
min-height: 100vh;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (prefers-color-scheme: dark) {
|
|
210
|
+
:root {
|
|
211
|
+
--bg: #0d0a14;
|
|
212
|
+
--bg-soft: #15101e;
|
|
213
|
+
--card: rgba(255, 255, 255, 0.04);
|
|
214
|
+
--sub-card: rgba(255, 255, 255, 0.03);
|
|
215
|
+
--glass-card: rgba(255, 255, 255, 0.06);
|
|
216
|
+
--border: rgba(255, 255, 255, 0.08);
|
|
217
|
+
--border-strong: rgba(255, 255, 255, 0.16);
|
|
218
|
+
--title: #f5f3f8;
|
|
219
|
+
--subtitle: #d7d3df;
|
|
220
|
+
--text: #b8b2c0;
|
|
221
|
+
--text-muted: #7d7686;
|
|
222
|
+
--link: #b48bff;
|
|
223
|
+
--accent: #b48bff;
|
|
224
|
+
--accent-strong: #cda9ff;
|
|
225
|
+
--accent-bg: rgba(180, 139, 255, 0.12);
|
|
226
|
+
--accent-border: rgba(180, 139, 255, 0.32);
|
|
227
|
+
--card-neu-top-left: rgba(255, 255, 255, 0.04);
|
|
228
|
+
--card-neu-shadow: rgba(0, 0, 0, 0.3);
|
|
229
|
+
--card-neu-halo: rgba(180, 139, 255, 0.08);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
* {
|
|
234
|
+
box-sizing: border-box;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
body {
|
|
238
|
+
margin: 0;
|
|
239
|
+
font-family: var(--sans);
|
|
240
|
+
color: var(--text);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
h1,
|
|
244
|
+
h2,
|
|
245
|
+
h3,
|
|
246
|
+
h4,
|
|
247
|
+
h5,
|
|
248
|
+
h6 {
|
|
249
|
+
font-family: var(--heading);
|
|
250
|
+
color: var(--title);
|
|
251
|
+
letter-spacing: -0.015em;
|
|
252
|
+
line-height: 1.15;
|
|
253
|
+
margin: 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
p {
|
|
257
|
+
margin: 0;
|
|
258
|
+
color: var(--text);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
a {
|
|
262
|
+
color: var(--link);
|
|
263
|
+
text-decoration: none;
|
|
264
|
+
border-bottom: 1px solid transparent;
|
|
265
|
+
transition:
|
|
266
|
+
border-color 0.15s ease,
|
|
267
|
+
color 0.15s ease;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
a:hover {
|
|
271
|
+
border-bottom-color: currentColor;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
button {
|
|
275
|
+
font: inherit;
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
input,
|
|
280
|
+
textarea,
|
|
281
|
+
select {
|
|
282
|
+
font: inherit;
|
|
283
|
+
color: inherit;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
img {
|
|
287
|
+
display: block;
|
|
288
|
+
max-width: 100%;
|
|
289
|
+
height: auto;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* Common card primitive — used by Services, Gallery tiles, Blog posts. */
|
|
293
|
+
.bd-card {
|
|
294
|
+
background: var(--card);
|
|
295
|
+
border: 1px solid var(--border);
|
|
296
|
+
border-radius: 1rem;
|
|
297
|
+
box-shadow:
|
|
298
|
+
-6px -6px 12px var(--card-neu-top-left),
|
|
299
|
+
8px 8px 24px var(--card-neu-shadow),
|
|
300
|
+
0 0 0 1px var(--card-neu-halo);
|
|
301
|
+
transition:
|
|
302
|
+
transform 0.18s ease,
|
|
303
|
+
box-shadow 0.18s ease;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.bd-card:hover {
|
|
307
|
+
transform: translateY(-2px);
|
|
308
|
+
box-shadow:
|
|
309
|
+
-8px -8px 18px var(--card-neu-top-left),
|
|
310
|
+
12px 12px 32px var(--card-neu-shadow),
|
|
311
|
+
0 0 0 1px var(--accent-border);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.bd-btn {
|
|
315
|
+
display: inline-flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
gap: 0.4em;
|
|
319
|
+
padding: 0.625rem 1.25rem;
|
|
320
|
+
background: var(--accent);
|
|
321
|
+
color: white;
|
|
322
|
+
border: 1px solid var(--accent);
|
|
323
|
+
border-radius: 9999px;
|
|
324
|
+
font-weight: 600;
|
|
325
|
+
font-size: 0.9rem;
|
|
326
|
+
letter-spacing: 0.01em;
|
|
327
|
+
transition:
|
|
328
|
+
transform 0.12s ease,
|
|
329
|
+
background 0.12s ease,
|
|
330
|
+
box-shadow 0.12s ease;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.bd-btn:hover {
|
|
334
|
+
background: var(--accent-strong);
|
|
335
|
+
transform: translateY(-1px);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.bd-btn:disabled {
|
|
339
|
+
opacity: 0.5;
|
|
340
|
+
cursor: not-allowed;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.bd-btn--ghost {
|
|
344
|
+
background: transparent;
|
|
345
|
+
color: var(--accent);
|
|
346
|
+
border-color: var(--accent-border);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.bd-btn--ghost:hover {
|
|
350
|
+
background: var(--accent-bg);
|
|
351
|
+
color: var(--accent);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.bd-badge {
|
|
355
|
+
display: inline-block;
|
|
356
|
+
padding: 0.15rem 0.6rem;
|
|
357
|
+
background: var(--accent-bg);
|
|
358
|
+
color: var(--accent);
|
|
359
|
+
border: 1px solid var(--accent-border);
|
|
360
|
+
border-radius: 9999px;
|
|
361
|
+
font-size: 0.72rem;
|
|
362
|
+
font-weight: 600;
|
|
363
|
+
letter-spacing: 0.05em;
|
|
364
|
+
text-transform: uppercase;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.bd-input,
|
|
368
|
+
.bd-textarea,
|
|
369
|
+
.bd-select {
|
|
370
|
+
width: 100%;
|
|
371
|
+
padding: 0.6rem 0.85rem;
|
|
372
|
+
background: var(--sub-card);
|
|
373
|
+
border: 1px solid var(--border-strong);
|
|
374
|
+
border-radius: 0.6rem;
|
|
375
|
+
color: var(--text);
|
|
376
|
+
font-family: var(--sans);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.bd-input:focus,
|
|
380
|
+
.bd-textarea:focus,
|
|
381
|
+
.bd-select:focus {
|
|
382
|
+
outline: none;
|
|
383
|
+
border-color: var(--accent);
|
|
384
|
+
background: var(--card);
|
|
385
|
+
box-shadow: 0 0 0 3px var(--accent-bg);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.bd-textarea {
|
|
389
|
+
min-height: 8rem;
|
|
390
|
+
resize: vertical;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.bd-label {
|
|
394
|
+
display: block;
|
|
395
|
+
font-size: 0.85rem;
|
|
396
|
+
font-weight: 600;
|
|
397
|
+
color: var(--subtitle);
|
|
398
|
+
margin-bottom: 0.3rem;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/* Section spacing */
|
|
402
|
+
.bd-section {
|
|
403
|
+
max-width: 72rem;
|
|
404
|
+
margin: 0 auto;
|
|
405
|
+
padding: 5rem 1.25rem;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.bd-section--narrow {
|
|
409
|
+
max-width: 48rem;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.bd-section__lead {
|
|
413
|
+
display: flex;
|
|
414
|
+
flex-direction: column;
|
|
415
|
+
gap: 0.5rem;
|
|
416
|
+
margin-bottom: 2.5rem;
|
|
417
|
+
text-align: center;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.bd-section__eyebrow {
|
|
421
|
+
color: var(--accent);
|
|
422
|
+
font-size: 0.78rem;
|
|
423
|
+
font-weight: 700;
|
|
424
|
+
letter-spacing: 0.14em;
|
|
425
|
+
text-transform: uppercase;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.bd-section__title {
|
|
429
|
+
font-size: clamp(1.75rem, 4vw, 2.5rem);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.bd-section__sub {
|
|
433
|
+
color: var(--text-muted);
|
|
434
|
+
font-size: 1.05rem;
|
|
435
|
+
max-width: 36rem;
|
|
436
|
+
margin: 0 auto;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.bd-loading {
|
|
440
|
+
color: var(--text-muted);
|
|
441
|
+
font-size: 0.9rem;
|
|
442
|
+
font-style: italic;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.bd-empty {
|
|
446
|
+
color: var(--text-muted);
|
|
447
|
+
font-size: 0.9rem;
|
|
448
|
+
padding: 2rem;
|
|
449
|
+
text-align: center;
|
|
450
|
+
border: 1px dashed var(--border-strong);
|
|
451
|
+
border-radius: 1rem;
|
|
452
|
+
}
|
|
453
|
+
/* App-level layout — section components style themselves inline
|
|
454
|
+
against the shared tokens in `index.css`. Keep this file thin so
|
|
455
|
+
the same component set drops cleanly into the other framework
|
|
456
|
+
starters without bringing along app-specific CSS. */
|
|
457
|
+
|
|
458
|
+
main {
|
|
459
|
+
display: block;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.app-header {
|
|
463
|
+
position: sticky;
|
|
464
|
+
top: 0;
|
|
465
|
+
z-index: 10;
|
|
466
|
+
background: var(--glass-card);
|
|
467
|
+
border-bottom: 1px solid var(--border);
|
|
468
|
+
backdrop-filter: saturate(160%) blur(12px);
|
|
469
|
+
-webkit-backdrop-filter: saturate(160%) blur(12px);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.app-header__inner {
|
|
473
|
+
max-width: 72rem;
|
|
474
|
+
margin: 0 auto;
|
|
475
|
+
padding: 1rem 1.25rem;
|
|
476
|
+
display: flex;
|
|
477
|
+
align-items: center;
|
|
478
|
+
justify-content: space-between;
|
|
479
|
+
gap: 1.5rem;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.app-header__brand {
|
|
483
|
+
font-weight: 800;
|
|
484
|
+
font-size: 1.05rem;
|
|
485
|
+
color: var(--title);
|
|
486
|
+
letter-spacing: -0.01em;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.app-header nav {
|
|
490
|
+
display: flex;
|
|
491
|
+
gap: 1.25rem;
|
|
492
|
+
font-size: 0.92rem;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.app-header nav a {
|
|
496
|
+
color: var(--text);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.app-header nav a:hover {
|
|
500
|
+
color: var(--accent);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/* Hero */
|
|
504
|
+
.hero {
|
|
505
|
+
max-width: 72rem;
|
|
506
|
+
margin: 0 auto;
|
|
507
|
+
padding: 5rem 1.25rem 4rem;
|
|
508
|
+
text-align: center;
|
|
509
|
+
display: flex;
|
|
510
|
+
flex-direction: column;
|
|
511
|
+
align-items: center;
|
|
512
|
+
gap: 1.25rem;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.hero__title {
|
|
516
|
+
font-size: clamp(2.25rem, 6vw, 3.5rem);
|
|
517
|
+
font-weight: 800;
|
|
518
|
+
letter-spacing: -0.025em;
|
|
519
|
+
max-width: 30ch;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.hero__sub {
|
|
523
|
+
color: var(--text-muted);
|
|
524
|
+
font-size: 1.15rem;
|
|
525
|
+
max-width: 42ch;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/* Grids */
|
|
529
|
+
.bd-grid-3 {
|
|
530
|
+
display: grid;
|
|
531
|
+
grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
|
|
532
|
+
gap: 1.25rem;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.bd-grid-4 {
|
|
536
|
+
display: grid;
|
|
537
|
+
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
|
|
538
|
+
gap: 1rem;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.gallery-tile {
|
|
542
|
+
overflow: hidden;
|
|
543
|
+
aspect-ratio: 1 / 1;
|
|
544
|
+
position: relative;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.gallery-tile img {
|
|
548
|
+
width: 100%;
|
|
549
|
+
height: 100%;
|
|
550
|
+
object-fit: cover;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.gallery-tile__caption {
|
|
554
|
+
position: absolute;
|
|
555
|
+
left: 0.75rem;
|
|
556
|
+
right: 0.75rem;
|
|
557
|
+
bottom: 0.75rem;
|
|
558
|
+
padding: 0.5rem 0.75rem;
|
|
559
|
+
background: rgba(8, 6, 13, 0.7);
|
|
560
|
+
color: white;
|
|
561
|
+
border-radius: 0.5rem;
|
|
562
|
+
font-size: 0.78rem;
|
|
563
|
+
font-weight: 600;
|
|
564
|
+
opacity: 0;
|
|
565
|
+
transition: opacity 0.18s ease;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.gallery-tile:hover .gallery-tile__caption {
|
|
569
|
+
opacity: 1;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.service-card {
|
|
573
|
+
padding: 1.5rem;
|
|
574
|
+
display: flex;
|
|
575
|
+
flex-direction: column;
|
|
576
|
+
gap: 0.6rem;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.service-card h3 {
|
|
580
|
+
font-size: 1.1rem;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.service-card p {
|
|
584
|
+
color: var(--text-muted);
|
|
585
|
+
font-size: 0.92rem;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.service-card__price {
|
|
589
|
+
margin-top: 0.5rem;
|
|
590
|
+
color: var(--accent);
|
|
591
|
+
font-weight: 700;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/* ──────────────────────────────────────────────────────────────────
|
|
595
|
+
Storefront — facet sidebar + enriched cards (store.index / store.$id)
|
|
596
|
+
Built on the same tokens as the rest of the starter.
|
|
597
|
+
────────────────────────────────────────────────────────────────── */
|
|
598
|
+
.store-layout {
|
|
599
|
+
display: grid;
|
|
600
|
+
gap: 2rem;
|
|
601
|
+
align-items: start;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
@media (min-width: 64rem) {
|
|
605
|
+
.store-layout {
|
|
606
|
+
grid-template-columns: 15rem minmax(0, 1fr);
|
|
607
|
+
gap: 2.5rem;
|
|
608
|
+
}
|
|
609
|
+
.store-sidebar {
|
|
610
|
+
position: sticky;
|
|
611
|
+
top: 5rem;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.store-sidebar {
|
|
616
|
+
display: flex;
|
|
617
|
+
flex-direction: column;
|
|
618
|
+
gap: 1.75rem;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.store-facet__title {
|
|
622
|
+
font-size: 0.78rem;
|
|
623
|
+
font-weight: 700;
|
|
624
|
+
letter-spacing: 0.1em;
|
|
625
|
+
text-transform: uppercase;
|
|
626
|
+
color: var(--subtitle);
|
|
627
|
+
margin-bottom: 0.6rem;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.store-facet__list {
|
|
631
|
+
list-style: none;
|
|
632
|
+
margin: 0;
|
|
633
|
+
padding: 0;
|
|
634
|
+
display: flex;
|
|
635
|
+
flex-direction: column;
|
|
636
|
+
gap: 0.3rem;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.store-facet__btn {
|
|
640
|
+
display: flex;
|
|
641
|
+
width: 100%;
|
|
642
|
+
align-items: center;
|
|
643
|
+
justify-content: space-between;
|
|
644
|
+
gap: 0.5rem;
|
|
645
|
+
background: none;
|
|
646
|
+
border: none;
|
|
647
|
+
padding: 0;
|
|
648
|
+
text-align: left;
|
|
649
|
+
font-size: 0.9rem;
|
|
650
|
+
color: var(--text);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.store-facet__btn:hover {
|
|
654
|
+
color: var(--accent);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.store-facet__btn--active {
|
|
658
|
+
color: var(--accent);
|
|
659
|
+
font-weight: 700;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.store-facet__count {
|
|
663
|
+
font-size: 0.78rem;
|
|
664
|
+
color: var(--text-muted);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.store-facet__price {
|
|
668
|
+
display: flex;
|
|
669
|
+
align-items: center;
|
|
670
|
+
gap: 0.4rem;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.store-facet__price .bd-input {
|
|
674
|
+
padding: 0.4rem 0.55rem;
|
|
675
|
+
font-size: 0.85rem;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.store-toolbar {
|
|
679
|
+
display: flex;
|
|
680
|
+
align-items: center;
|
|
681
|
+
justify-content: space-between;
|
|
682
|
+
gap: 1rem;
|
|
683
|
+
margin-bottom: 1.25rem;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.store-toolbar__count {
|
|
687
|
+
color: var(--text-muted);
|
|
688
|
+
font-size: 0.9rem;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.store-card {
|
|
692
|
+
position: relative;
|
|
693
|
+
overflow: hidden;
|
|
694
|
+
padding: 0;
|
|
695
|
+
display: flex;
|
|
696
|
+
flex-direction: column;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.store-card__media {
|
|
700
|
+
position: relative;
|
|
701
|
+
aspect-ratio: 4 / 3;
|
|
702
|
+
background: var(--bg-soft);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.store-card__media img {
|
|
706
|
+
width: 100%;
|
|
707
|
+
height: 100%;
|
|
708
|
+
object-fit: cover;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.store-card__badges {
|
|
712
|
+
position: absolute;
|
|
713
|
+
top: 0.6rem;
|
|
714
|
+
left: 0.6rem;
|
|
715
|
+
display: flex;
|
|
716
|
+
flex-wrap: wrap;
|
|
717
|
+
gap: 0.35rem;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.store-card__body {
|
|
721
|
+
padding: 1rem 1.25rem 1.25rem;
|
|
722
|
+
display: flex;
|
|
723
|
+
flex-direction: column;
|
|
724
|
+
gap: 0.4rem;
|
|
725
|
+
flex: 1;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.store-card__body h3 {
|
|
729
|
+
font-size: 1rem;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.store-card__rating {
|
|
733
|
+
display: flex;
|
|
734
|
+
align-items: center;
|
|
735
|
+
gap: 0.4rem;
|
|
736
|
+
font-size: 0.8rem;
|
|
737
|
+
color: var(--text-muted);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.store-card__price {
|
|
741
|
+
margin-top: auto;
|
|
742
|
+
padding-top: 0.4rem;
|
|
743
|
+
display: flex;
|
|
744
|
+
align-items: baseline;
|
|
745
|
+
gap: 0.5rem;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.store-card__price-now {
|
|
749
|
+
color: var(--accent);
|
|
750
|
+
font-weight: 700;
|
|
751
|
+
font-size: 1.1rem;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.store-card__price-was {
|
|
755
|
+
color: var(--text-muted);
|
|
756
|
+
font-size: 0.85rem;
|
|
757
|
+
text-decoration: line-through;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.store-card__lowstock {
|
|
761
|
+
font-size: 0.72rem;
|
|
762
|
+
font-weight: 700;
|
|
763
|
+
letter-spacing: 0.05em;
|
|
764
|
+
text-transform: uppercase;
|
|
765
|
+
color: var(--danger);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.store-badge {
|
|
769
|
+
display: inline-block;
|
|
770
|
+
padding: 0.1rem 0.45rem;
|
|
771
|
+
border-radius: 0.35rem;
|
|
772
|
+
font-size: 0.65rem;
|
|
773
|
+
font-weight: 800;
|
|
774
|
+
letter-spacing: 0.08em;
|
|
775
|
+
text-transform: uppercase;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.store-badge--featured {
|
|
779
|
+
background: var(--accent);
|
|
780
|
+
color: white;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.store-badge--new {
|
|
784
|
+
background: var(--accent-bg);
|
|
785
|
+
color: var(--accent);
|
|
786
|
+
border: 1px solid var(--accent-border);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.store-badge--sale {
|
|
790
|
+
background: var(--danger);
|
|
791
|
+
color: white;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/* Detail enrichment sections */
|
|
795
|
+
.store-section {
|
|
796
|
+
margin-top: 3rem;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.store-section__title {
|
|
800
|
+
font-size: 1.4rem;
|
|
801
|
+
margin-bottom: 1.25rem;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.store-review {
|
|
805
|
+
border-bottom: 1px solid var(--border);
|
|
806
|
+
padding-bottom: 1.1rem;
|
|
807
|
+
margin-bottom: 1.1rem;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.store-review__head {
|
|
811
|
+
display: flex;
|
|
812
|
+
align-items: center;
|
|
813
|
+
gap: 0.6rem;
|
|
814
|
+
margin-bottom: 0.35rem;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.store-review__name {
|
|
818
|
+
font-weight: 600;
|
|
819
|
+
font-size: 0.9rem;
|
|
820
|
+
color: var(--subtitle);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.store-review__title {
|
|
824
|
+
font-weight: 600;
|
|
825
|
+
font-size: 0.9rem;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.store-review__body {
|
|
829
|
+
color: var(--text-muted);
|
|
830
|
+
font-size: 0.9rem;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.store-addon {
|
|
834
|
+
padding: 1rem;
|
|
835
|
+
display: flex;
|
|
836
|
+
gap: 0.85rem;
|
|
837
|
+
align-items: center;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
.store-addon img {
|
|
841
|
+
width: 3.5rem;
|
|
842
|
+
height: 3.5rem;
|
|
843
|
+
object-fit: cover;
|
|
844
|
+
border-radius: 0.5rem;
|
|
845
|
+
flex-shrink: 0;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.store-addon__name {
|
|
849
|
+
font-weight: 600;
|
|
850
|
+
font-size: 0.92rem;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.store-addon__price {
|
|
854
|
+
color: var(--accent);
|
|
855
|
+
font-weight: 700;
|
|
856
|
+
font-size: 0.9rem;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.blog-card {
|
|
860
|
+
padding: 1.25rem 1.5rem;
|
|
861
|
+
display: flex;
|
|
862
|
+
flex-direction: column;
|
|
863
|
+
gap: 0.5rem;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.blog-card h3 {
|
|
867
|
+
font-size: 1.05rem;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.blog-card__meta {
|
|
871
|
+
color: var(--text-muted);
|
|
872
|
+
font-size: 0.8rem;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.booking,
|
|
876
|
+
.contact {
|
|
877
|
+
padding: 2.5rem;
|
|
878
|
+
display: flex;
|
|
879
|
+
flex-direction: column;
|
|
880
|
+
gap: 1.25rem;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.booking__row {
|
|
884
|
+
display: flex;
|
|
885
|
+
gap: 0.75rem;
|
|
886
|
+
flex-wrap: wrap;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.slot-button {
|
|
890
|
+
padding: 0.45rem 0.85rem;
|
|
891
|
+
border-radius: 0.5rem;
|
|
892
|
+
border: 1px solid var(--border-strong);
|
|
893
|
+
background: var(--sub-card);
|
|
894
|
+
color: var(--text);
|
|
895
|
+
font-size: 0.85rem;
|
|
896
|
+
font-weight: 600;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.slot-button:hover {
|
|
900
|
+
border-color: var(--accent);
|
|
901
|
+
color: var(--accent);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
.slot-button[aria-pressed="true"] {
|
|
905
|
+
background: var(--accent);
|
|
906
|
+
border-color: var(--accent);
|
|
907
|
+
color: white;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.field-row {
|
|
911
|
+
display: grid;
|
|
912
|
+
grid-template-columns: 1fr;
|
|
913
|
+
gap: 1rem;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
@media (min-width: 600px) {
|
|
917
|
+
.field-row--cols {
|
|
918
|
+
grid-template-columns: 1fr 1fr;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.app-footer {
|
|
923
|
+
max-width: 72rem;
|
|
924
|
+
margin: 0 auto;
|
|
925
|
+
padding: 3rem 1.25rem;
|
|
926
|
+
border-top: 1px solid var(--border);
|
|
927
|
+
color: var(--text-muted);
|
|
928
|
+
font-size: 0.85rem;
|
|
929
|
+
display: flex;
|
|
930
|
+
justify-content: space-between;
|
|
931
|
+
flex-wrap: wrap;
|
|
932
|
+
gap: 1rem;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/* Newsletter signup (Subscribe.tsx) — shared by the footer + about block. */
|
|
936
|
+
.bd-subscribe {
|
|
937
|
+
display: flex;
|
|
938
|
+
flex-direction: column;
|
|
939
|
+
gap: 0.4rem;
|
|
940
|
+
max-width: 28rem;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.bd-subscribe__row {
|
|
944
|
+
display: flex;
|
|
945
|
+
gap: 0.5rem;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.bd-subscribe__row .bd-input {
|
|
949
|
+
flex: 1;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.bd-subscribe__row .bd-btn {
|
|
953
|
+
flex-shrink: 0;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.bd-subscribe__note {
|
|
957
|
+
color: var(--success);
|
|
958
|
+
font-size: 0.85rem;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.bd-subscribe__error {
|
|
962
|
+
margin-top: 0.4rem;
|
|
963
|
+
color: var(--danger);
|
|
964
|
+
font-size: 0.8rem;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/* ───────────────────────────────────────────────────────────────────
|
|
968
|
+
* <BdForm> drop-in (from @businessdash/sdk/solid)
|
|
969
|
+
*
|
|
970
|
+
* The binding renders light-DOM `bd-*` classes and ships ZERO styles of
|
|
971
|
+
* its own, so this is the consumer's cascade. It reuses the same tokens as
|
|
972
|
+
* the rest of the starter (.bd-input / .bd-btn are defined above).
|
|
973
|
+
* ─────────────────────────────────────────────────────────────────── */
|
|
974
|
+
|
|
975
|
+
.bd-form {
|
|
976
|
+
position: relative;
|
|
977
|
+
display: flex;
|
|
978
|
+
flex-direction: column;
|
|
979
|
+
gap: 1.25rem;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.bd-form__org-icon {
|
|
983
|
+
position: absolute;
|
|
984
|
+
top: 0;
|
|
985
|
+
right: 0;
|
|
986
|
+
width: 2.25rem;
|
|
987
|
+
height: 2.25rem;
|
|
988
|
+
border-radius: 9999px;
|
|
989
|
+
border: 1px solid var(--border);
|
|
990
|
+
object-fit: cover;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.bd-form__header {
|
|
994
|
+
display: flex;
|
|
995
|
+
flex-direction: column;
|
|
996
|
+
gap: 0.35rem;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.bd-form__title {
|
|
1000
|
+
font-size: 1.4rem;
|
|
1001
|
+
font-weight: 700;
|
|
1002
|
+
color: var(--heading);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.bd-form__description {
|
|
1006
|
+
color: var(--text-muted);
|
|
1007
|
+
font-size: 0.95rem;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.bd-form--loading,
|
|
1011
|
+
.bd-form--error {
|
|
1012
|
+
padding: 1.5rem;
|
|
1013
|
+
color: var(--text-muted);
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.bd-form--error {
|
|
1017
|
+
color: var(--destructive);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
.bd-tree {
|
|
1021
|
+
display: flex;
|
|
1022
|
+
flex-direction: column;
|
|
1023
|
+
gap: 1rem;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.bd-field {
|
|
1027
|
+
display: flex;
|
|
1028
|
+
flex-direction: column;
|
|
1029
|
+
gap: 0.4rem;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.bd-field__label {
|
|
1033
|
+
display: block;
|
|
1034
|
+
font-size: 0.85rem;
|
|
1035
|
+
font-weight: 600;
|
|
1036
|
+
color: var(--subtitle);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.bd-field__required {
|
|
1040
|
+
color: var(--destructive);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.bd-field__help {
|
|
1044
|
+
font-size: 0.78rem;
|
|
1045
|
+
color: var(--text-muted);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.bd-field__error {
|
|
1049
|
+
font-size: 0.78rem;
|
|
1050
|
+
color: var(--destructive);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.bd-field--error {
|
|
1054
|
+
border-radius: 0.6rem;
|
|
1055
|
+
padding: 0.75rem;
|
|
1056
|
+
margin: 0 -0.25rem;
|
|
1057
|
+
border: 1px solid color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
1058
|
+
background: color-mix(in oklab, var(--destructive) 8%, transparent);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.bd-field__title {
|
|
1062
|
+
font-size: 1.3rem;
|
|
1063
|
+
font-weight: 700;
|
|
1064
|
+
color: var(--heading);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
.bd-field__subtitle {
|
|
1068
|
+
font-size: 1rem;
|
|
1069
|
+
color: var(--text-muted);
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
.bd-field__separator {
|
|
1073
|
+
border: none;
|
|
1074
|
+
border-top: 1px solid var(--border);
|
|
1075
|
+
margin: 0.25rem 0;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
/* Groups & layout containers */
|
|
1079
|
+
.bd-group {
|
|
1080
|
+
display: flex;
|
|
1081
|
+
flex-direction: column;
|
|
1082
|
+
gap: 0.75rem;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.bd-group--bordered {
|
|
1086
|
+
border: 1px solid var(--border);
|
|
1087
|
+
border-radius: 0.75rem;
|
|
1088
|
+
padding: 1rem;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.bd-group__label {
|
|
1092
|
+
font-size: 0.75rem;
|
|
1093
|
+
font-weight: 700;
|
|
1094
|
+
text-transform: uppercase;
|
|
1095
|
+
letter-spacing: 0.06em;
|
|
1096
|
+
color: var(--text-muted);
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.bd-flex-row {
|
|
1100
|
+
display: flex;
|
|
1101
|
+
flex-wrap: wrap;
|
|
1102
|
+
gap: 0.75rem;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.bd-flex-row__cell {
|
|
1106
|
+
flex: 1 1 180px;
|
|
1107
|
+
min-width: 180px;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.bd-subfield {
|
|
1111
|
+
display: flex;
|
|
1112
|
+
flex-direction: column;
|
|
1113
|
+
gap: 0.25rem;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.bd-subfield__label {
|
|
1117
|
+
font-size: 0.72rem;
|
|
1118
|
+
color: var(--text-muted);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.bd-date-range,
|
|
1122
|
+
.bd-time-block,
|
|
1123
|
+
.bd-appointment {
|
|
1124
|
+
display: grid;
|
|
1125
|
+
grid-template-columns: 1fr 1fr;
|
|
1126
|
+
gap: 0.5rem;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
.bd-address {
|
|
1130
|
+
display: grid;
|
|
1131
|
+
grid-template-columns: 1fr 1fr;
|
|
1132
|
+
gap: 0.5rem;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.bd-address .bd-subfield:nth-child(1),
|
|
1136
|
+
.bd-address .bd-subfield:nth-child(2),
|
|
1137
|
+
.bd-address .bd-subfield:nth-child(5) {
|
|
1138
|
+
grid-column: 1 / -1;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/* Choice inputs */
|
|
1142
|
+
.bd-radio-group,
|
|
1143
|
+
.bd-checkbox-group {
|
|
1144
|
+
display: flex;
|
|
1145
|
+
flex-direction: column;
|
|
1146
|
+
gap: 0.4rem;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.bd-radio,
|
|
1150
|
+
.bd-checkbox,
|
|
1151
|
+
.bd-switch {
|
|
1152
|
+
display: inline-flex;
|
|
1153
|
+
align-items: center;
|
|
1154
|
+
gap: 0.5rem;
|
|
1155
|
+
cursor: pointer;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.bd-color-group {
|
|
1159
|
+
display: flex;
|
|
1160
|
+
flex-wrap: wrap;
|
|
1161
|
+
gap: 0.5rem;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.bd-color-swatch {
|
|
1165
|
+
width: 2.25rem;
|
|
1166
|
+
height: 2.25rem;
|
|
1167
|
+
border-radius: 9999px;
|
|
1168
|
+
border: 2px solid var(--border);
|
|
1169
|
+
cursor: pointer;
|
|
1170
|
+
transition: transform 0.12s ease;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.bd-color-swatch--selected {
|
|
1174
|
+
transform: scale(1.1);
|
|
1175
|
+
border-color: var(--accent);
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/* Rating + stepper + slider */
|
|
1179
|
+
.bd-stars,
|
|
1180
|
+
.bd-happiness,
|
|
1181
|
+
.bd-stepper {
|
|
1182
|
+
display: flex;
|
|
1183
|
+
align-items: center;
|
|
1184
|
+
gap: 0.35rem;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.bd-stars__star {
|
|
1188
|
+
font-size: 1.4rem;
|
|
1189
|
+
line-height: 1;
|
|
1190
|
+
color: var(--border-strong);
|
|
1191
|
+
background: none;
|
|
1192
|
+
border: none;
|
|
1193
|
+
cursor: pointer;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.bd-stars__star--on {
|
|
1197
|
+
color: #f5b301;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.bd-happiness__face {
|
|
1201
|
+
font-size: 1.6rem;
|
|
1202
|
+
background: none;
|
|
1203
|
+
border: none;
|
|
1204
|
+
opacity: 0.5;
|
|
1205
|
+
cursor: pointer;
|
|
1206
|
+
transition: transform 0.12s ease, opacity 0.12s ease;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.bd-happiness__face--on {
|
|
1210
|
+
opacity: 1;
|
|
1211
|
+
transform: scale(1.2);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.bd-stepper__btn {
|
|
1215
|
+
width: 2rem;
|
|
1216
|
+
height: 2rem;
|
|
1217
|
+
border-radius: 0.5rem;
|
|
1218
|
+
border: 1px solid var(--border-strong);
|
|
1219
|
+
background: var(--sub-card);
|
|
1220
|
+
cursor: pointer;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
.bd-stepper__value {
|
|
1224
|
+
min-width: 2.5rem;
|
|
1225
|
+
text-align: center;
|
|
1226
|
+
font-variant-numeric: tabular-nums;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.bd-slider {
|
|
1230
|
+
display: flex;
|
|
1231
|
+
flex-direction: column;
|
|
1232
|
+
gap: 0.4rem;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.bd-slider__scale {
|
|
1236
|
+
display: flex;
|
|
1237
|
+
justify-content: space-between;
|
|
1238
|
+
font-size: 0.75rem;
|
|
1239
|
+
color: var(--text-muted);
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.bd-slider input[type="range"] {
|
|
1243
|
+
width: 100%;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.bd-phone {
|
|
1247
|
+
display: flex;
|
|
1248
|
+
gap: 0.5rem;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.bd-phone__flag {
|
|
1252
|
+
display: flex;
|
|
1253
|
+
align-items: center;
|
|
1254
|
+
justify-content: center;
|
|
1255
|
+
width: 3rem;
|
|
1256
|
+
border-radius: 0.6rem;
|
|
1257
|
+
border: 1px solid var(--border-strong);
|
|
1258
|
+
background: var(--sub-card);
|
|
1259
|
+
font-size: 1.2rem;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/* File upload */
|
|
1263
|
+
.bd-file {
|
|
1264
|
+
display: flex;
|
|
1265
|
+
flex-direction: column;
|
|
1266
|
+
gap: 0.5rem;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.bd-file__trigger {
|
|
1270
|
+
width: 100%;
|
|
1271
|
+
padding: 1rem;
|
|
1272
|
+
border: 2px dashed var(--border-strong);
|
|
1273
|
+
border-radius: 0.6rem;
|
|
1274
|
+
background: var(--sub-card);
|
|
1275
|
+
cursor: pointer;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
.bd-file__trigger:disabled {
|
|
1279
|
+
opacity: 0.6;
|
|
1280
|
+
cursor: not-allowed;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.bd-file__list {
|
|
1284
|
+
list-style: none;
|
|
1285
|
+
margin: 0;
|
|
1286
|
+
padding: 0;
|
|
1287
|
+
display: flex;
|
|
1288
|
+
flex-direction: column;
|
|
1289
|
+
gap: 0.35rem;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
.bd-file__item {
|
|
1293
|
+
display: flex;
|
|
1294
|
+
align-items: center;
|
|
1295
|
+
gap: 0.5rem;
|
|
1296
|
+
padding: 0.4rem 0.6rem;
|
|
1297
|
+
border: 1px solid var(--border);
|
|
1298
|
+
border-radius: 0.5rem;
|
|
1299
|
+
font-size: 0.8rem;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
.bd-file__name {
|
|
1303
|
+
flex: 1;
|
|
1304
|
+
overflow: hidden;
|
|
1305
|
+
text-overflow: ellipsis;
|
|
1306
|
+
white-space: nowrap;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.bd-file__size {
|
|
1310
|
+
color: var(--text-muted);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
.bd-file__remove,
|
|
1314
|
+
.bd-or__badge {
|
|
1315
|
+
background: none;
|
|
1316
|
+
border: none;
|
|
1317
|
+
cursor: pointer;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
.bd-file__error {
|
|
1321
|
+
font-size: 0.78rem;
|
|
1322
|
+
color: var(--destructive);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
/* OR-condition */
|
|
1326
|
+
.bd-or {
|
|
1327
|
+
display: flex;
|
|
1328
|
+
flex-direction: column;
|
|
1329
|
+
gap: 0.75rem;
|
|
1330
|
+
border: 1px solid color-mix(in oklab, #f5b301 30%, transparent);
|
|
1331
|
+
background: color-mix(in oklab, #f5b301 6%, transparent);
|
|
1332
|
+
border-radius: 0.75rem;
|
|
1333
|
+
padding: 1rem;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
.bd-or--error {
|
|
1337
|
+
border-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
1338
|
+
background: color-mix(in oklab, var(--destructive) 6%, transparent);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
.bd-or__label {
|
|
1342
|
+
font-size: 0.8rem;
|
|
1343
|
+
font-weight: 700;
|
|
1344
|
+
text-transform: uppercase;
|
|
1345
|
+
letter-spacing: 0.04em;
|
|
1346
|
+
display: flex;
|
|
1347
|
+
align-items: center;
|
|
1348
|
+
gap: 0.5rem;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.bd-or__hint {
|
|
1352
|
+
font-size: 0.7rem;
|
|
1353
|
+
font-weight: 400;
|
|
1354
|
+
text-transform: none;
|
|
1355
|
+
color: var(--text-muted);
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
.bd-or__grid {
|
|
1359
|
+
display: grid;
|
|
1360
|
+
grid-template-columns: 1fr auto 1fr;
|
|
1361
|
+
align-items: stretch;
|
|
1362
|
+
gap: 0.75rem;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
.bd-or__side {
|
|
1366
|
+
display: flex;
|
|
1367
|
+
flex-direction: column;
|
|
1368
|
+
gap: 0.5rem;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
.bd-or__side-label {
|
|
1372
|
+
font-size: 0.7rem;
|
|
1373
|
+
font-weight: 700;
|
|
1374
|
+
text-transform: uppercase;
|
|
1375
|
+
letter-spacing: 0.08em;
|
|
1376
|
+
color: var(--text-muted);
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
.bd-or__divider {
|
|
1380
|
+
display: flex;
|
|
1381
|
+
align-items: center;
|
|
1382
|
+
justify-content: center;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
.bd-or__badge {
|
|
1386
|
+
border: 1px solid color-mix(in oklab, #f5b301 40%, transparent);
|
|
1387
|
+
border-radius: 9999px;
|
|
1388
|
+
padding: 0.1rem 0.5rem;
|
|
1389
|
+
font-size: 0.65rem;
|
|
1390
|
+
font-weight: 800;
|
|
1391
|
+
letter-spacing: 0.1em;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
.bd-or__error {
|
|
1395
|
+
font-size: 0.78rem;
|
|
1396
|
+
color: var(--destructive);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/* Progress */
|
|
1400
|
+
.bd-progress--steps {
|
|
1401
|
+
border: 1px solid var(--border);
|
|
1402
|
+
border-radius: 0.75rem;
|
|
1403
|
+
padding: 1rem;
|
|
1404
|
+
display: flex;
|
|
1405
|
+
flex-direction: column;
|
|
1406
|
+
gap: 0.75rem;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
.bd-progress__title {
|
|
1410
|
+
font-size: 0.85rem;
|
|
1411
|
+
font-weight: 700;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
.bd-progress__track {
|
|
1415
|
+
display: flex;
|
|
1416
|
+
align-items: center;
|
|
1417
|
+
overflow-x: auto;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
.bd-progress__line {
|
|
1421
|
+
flex: 1;
|
|
1422
|
+
min-width: 1.5rem;
|
|
1423
|
+
height: 1px;
|
|
1424
|
+
margin: 0 0.75rem;
|
|
1425
|
+
background: var(--border);
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
.bd-progress__line--filled {
|
|
1429
|
+
background: color-mix(in oklab, var(--accent) 40%, transparent);
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
.bd-progress__node {
|
|
1433
|
+
display: flex;
|
|
1434
|
+
align-items: center;
|
|
1435
|
+
gap: 0.5rem;
|
|
1436
|
+
flex-shrink: 0;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
.bd-progress__dot {
|
|
1440
|
+
display: flex;
|
|
1441
|
+
align-items: center;
|
|
1442
|
+
justify-content: center;
|
|
1443
|
+
width: 1.5rem;
|
|
1444
|
+
height: 1.5rem;
|
|
1445
|
+
border-radius: 9999px;
|
|
1446
|
+
border: 1px solid var(--border);
|
|
1447
|
+
background: var(--muted);
|
|
1448
|
+
color: var(--text-muted);
|
|
1449
|
+
font-size: 0.7rem;
|
|
1450
|
+
font-weight: 700;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
.bd-progress__dot--current {
|
|
1454
|
+
border-color: var(--accent);
|
|
1455
|
+
background: var(--accent);
|
|
1456
|
+
color: white;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.bd-progress__dot--done {
|
|
1460
|
+
border-color: color-mix(in oklab, var(--accent) 40%, transparent);
|
|
1461
|
+
background: var(--accent-bg);
|
|
1462
|
+
color: var(--accent);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
.bd-progress__step-label {
|
|
1466
|
+
font-size: 0.75rem;
|
|
1467
|
+
font-weight: 600;
|
|
1468
|
+
color: var(--text-muted);
|
|
1469
|
+
max-width: 7.5rem;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
.bd-progress__step-label--current {
|
|
1473
|
+
color: var(--accent);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
.bd-progress--bar {
|
|
1477
|
+
display: flex;
|
|
1478
|
+
align-items: center;
|
|
1479
|
+
gap: 0.5rem;
|
|
1480
|
+
font-size: 0.78rem;
|
|
1481
|
+
color: var(--text-muted);
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
.bd-progress__count {
|
|
1485
|
+
font-variant-numeric: tabular-nums;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
.bd-progress__bar-track {
|
|
1489
|
+
flex: 1;
|
|
1490
|
+
height: 0.25rem;
|
|
1491
|
+
border-radius: 9999px;
|
|
1492
|
+
background: var(--muted);
|
|
1493
|
+
overflow: hidden;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
.bd-progress__bar-fill {
|
|
1497
|
+
height: 100%;
|
|
1498
|
+
background: var(--accent);
|
|
1499
|
+
transition: width 0.2s ease;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/* Nav + state */
|
|
1503
|
+
.bd-nav {
|
|
1504
|
+
padding-top: 0.5rem;
|
|
1505
|
+
border-top: 1px solid var(--border);
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
.bd-nav--steps {
|
|
1509
|
+
display: flex;
|
|
1510
|
+
justify-content: space-between;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
.bd-form__errors {
|
|
1514
|
+
border: 1px solid color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
1515
|
+
background: color-mix(in oklab, var(--destructive) 10%, transparent);
|
|
1516
|
+
border-radius: 0.6rem;
|
|
1517
|
+
padding: 0.75rem;
|
|
1518
|
+
font-size: 0.8rem;
|
|
1519
|
+
color: var(--destructive);
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
.bd-form__errors-title {
|
|
1523
|
+
font-weight: 600;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
.bd-form__errors-list {
|
|
1527
|
+
opacity: 0.8;
|
|
1528
|
+
margin-top: 0.15rem;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
.bd-form__success {
|
|
1532
|
+
border: 1px solid var(--accent-border);
|
|
1533
|
+
background: var(--accent-bg);
|
|
1534
|
+
color: var(--accent);
|
|
1535
|
+
border-radius: 0.6rem;
|
|
1536
|
+
padding: 0.75rem;
|
|
1537
|
+
font-size: 0.9rem;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
/* Entrance animations (respect reduced motion) */
|
|
1541
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1542
|
+
.bd-anim--fade {
|
|
1543
|
+
animation: bd-fade 0.5s ease;
|
|
1544
|
+
}
|
|
1545
|
+
.bd-anim--scale {
|
|
1546
|
+
animation: bd-scale 0.5s ease;
|
|
1547
|
+
}
|
|
1548
|
+
.bd-anim--slide-forward {
|
|
1549
|
+
animation: bd-slide-right 0.5s ease;
|
|
1550
|
+
}
|
|
1551
|
+
.bd-anim--slide-back {
|
|
1552
|
+
animation: bd-slide-left 0.5s ease;
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
@keyframes bd-fade {
|
|
1557
|
+
from { opacity: 0; }
|
|
1558
|
+
to { opacity: 1; }
|
|
1559
|
+
}
|
|
1560
|
+
@keyframes bd-scale {
|
|
1561
|
+
from { opacity: 0; transform: scale(0.96); }
|
|
1562
|
+
to { opacity: 1; transform: scale(1); }
|
|
1563
|
+
}
|
|
1564
|
+
@keyframes bd-slide-right {
|
|
1565
|
+
from { opacity: 0; transform: translateX(2rem); }
|
|
1566
|
+
to { opacity: 1; transform: translateX(0); }
|
|
1567
|
+
}
|
|
1568
|
+
@keyframes bd-slide-left {
|
|
1569
|
+
from { opacity: 0; transform: translateX(-2rem); }
|
|
1570
|
+
to { opacity: 1; transform: translateX(0); }
|
|
1571
|
+
}
|