@uibot/registry 0.18.1 → 0.19.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.
Files changed (119) hide show
  1. package/README.md +59 -0
  2. package/dist/distribution-snapshot.d.ts +22 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +11 -11
  5. package/dist/resource-query.d.ts +4 -0
  6. package/dist/resources.d.ts +3 -0
  7. package/dist/resources.js +3 -3
  8. package/dist/shadcn/r/admin-apps.json +61 -0
  9. package/dist/shadcn/r/admin-chats.json +54 -0
  10. package/dist/shadcn/r/admin-error-401.json +54 -0
  11. package/dist/shadcn/r/admin-error-403.json +54 -0
  12. package/dist/shadcn/r/admin-error-404.json +54 -0
  13. package/dist/shadcn/r/admin-error-500.json +54 -0
  14. package/dist/shadcn/r/admin-error-503.json +54 -0
  15. package/dist/shadcn/r/admin-forgot-password.json +59 -0
  16. package/dist/shadcn/r/admin-help.json +53 -0
  17. package/dist/shadcn/r/admin-otp.json +59 -0
  18. package/dist/shadcn/r/admin-overview.json +62 -0
  19. package/dist/shadcn/r/admin-settings-account.json +61 -0
  20. package/dist/shadcn/r/admin-settings-appearance.json +61 -0
  21. package/dist/shadcn/r/admin-settings-display.json +61 -0
  22. package/dist/shadcn/r/admin-settings-notifications.json +61 -0
  23. package/dist/shadcn/r/admin-settings-profile.json +61 -0
  24. package/dist/shadcn/r/admin-settings.json +65 -0
  25. package/dist/shadcn/r/admin-shell.json +11 -5
  26. package/dist/shadcn/r/admin-sign-in-2.json +67 -0
  27. package/dist/shadcn/r/admin-sign-in.json +59 -0
  28. package/dist/shadcn/r/admin-sign-up.json +59 -0
  29. package/dist/shadcn/r/admin-tasks.json +66 -0
  30. package/dist/shadcn/r/admin-users.json +66 -0
  31. package/dist/shadcn/r/auth-01.json +24 -0
  32. package/dist/shadcn/r/auth-02.json +24 -0
  33. package/dist/shadcn/r/auth-03.json +24 -0
  34. package/dist/shadcn/r/auth-04.json +24 -0
  35. package/dist/shadcn/r/auth-05.json +24 -0
  36. package/dist/shadcn/r/auth-centered.json +61 -0
  37. package/dist/shadcn/r/auth-enterprise.json +61 -0
  38. package/dist/shadcn/r/auth-primitives.json +58 -0
  39. package/dist/shadcn/r/auth-recovery.json +64 -0
  40. package/dist/shadcn/r/auth-registration.json +63 -0
  41. package/dist/shadcn/r/auth-split.json +67 -0
  42. package/dist/shadcn/r/auth.json +13 -13
  43. package/dist/shadcn/r/charts.json +1 -1
  44. package/dist/shadcn/r/chat-artifact.json +49 -0
  45. package/dist/shadcn/r/chat-focused.json +49 -0
  46. package/dist/shadcn/r/chat-history.json +49 -0
  47. package/dist/shadcn/r/chat-knowledge.json +49 -0
  48. package/dist/shadcn/r/chat-support.json +49 -0
  49. package/dist/shadcn/r/chat-workspace.json +136 -0
  50. package/dist/shadcn/r/collection-cell-editor.json +6 -6
  51. package/dist/shadcn/r/collection-panel-drawer.json +2 -2
  52. package/dist/shadcn/r/collection-record-menu.json +2 -2
  53. package/dist/shadcn/r/collection-shared.json +2 -2
  54. package/dist/shadcn/r/commerce-workspace.json +69 -0
  55. package/dist/shadcn/r/console-billing.json +68 -0
  56. package/dist/shadcn/r/console-page.json +289 -0
  57. package/dist/shadcn/r/console-shell.json +29 -0
  58. package/dist/shadcn/r/content.json +1 -1
  59. package/dist/shadcn/r/creation-html-generation.json +3 -3
  60. package/dist/shadcn/r/creation-reference-generation.json +3 -3
  61. package/dist/shadcn/r/creation-revision-export.json +3 -3
  62. package/dist/shadcn/r/creation-shared.json +3 -3
  63. package/dist/shadcn/r/creation-variant-compare.json +4 -4
  64. package/dist/shadcn/r/creation-workspace.json +4 -4
  65. package/dist/shadcn/r/crm-workspace.json +73 -0
  66. package/dist/shadcn/r/dashboard.json +1 -1
  67. package/dist/shadcn/r/data-studio.json +1 -1
  68. package/dist/shadcn/r/data-table.json +25 -7
  69. package/dist/shadcn/r/data.json +81 -11
  70. package/dist/shadcn/r/document-assistant.json +54 -0
  71. package/dist/shadcn/r/document-library.json +49 -0
  72. package/dist/shadcn/r/document-reading.json +49 -0
  73. package/dist/shadcn/r/document-workspace.json +164 -0
  74. package/dist/shadcn/r/document-writing.json +49 -0
  75. package/dist/shadcn/r/drilldown-menu.json +233 -0
  76. package/dist/shadcn/r/education-workspace.json +82 -0
  77. package/dist/shadcn/r/feedback.json +6 -6
  78. package/dist/shadcn/r/field.json +1 -1
  79. package/dist/shadcn/r/form.json +11 -11
  80. package/dist/shadcn/r/grid.json +1 -1
  81. package/dist/shadcn/r/interactive.json +1 -1
  82. package/dist/shadcn/r/item-grid.json +219 -0
  83. package/dist/shadcn/r/kanban.json +1 -1
  84. package/dist/shadcn/r/layout.json +196 -16
  85. package/dist/shadcn/r/marketing.json +1 -1
  86. package/dist/shadcn/r/nav.json +3 -3
  87. package/dist/shadcn/r/presentation.json +1 -1
  88. package/dist/shadcn/r/preview-device-frame.json +2 -2
  89. package/dist/shadcn/r/primitives.json +2 -2
  90. package/dist/shadcn/r/sections.json +1 -1
  91. package/dist/shadcn/r/shadcn-admin-shell.json +1 -1
  92. package/dist/shadcn/r/shadcn-admin.json +23 -22
  93. package/dist/shadcn/r/sidebar-01.json +42 -0
  94. package/dist/shadcn/r/sidebar-02.json +42 -0
  95. package/dist/shadcn/r/sidebar-03.json +30 -0
  96. package/dist/shadcn/r/sidebar-04.json +30 -0
  97. package/dist/shadcn/r/sidebar-05.json +36 -0
  98. package/dist/shadcn/r/sidebar-06.json +42 -0
  99. package/dist/shadcn/r/sidebar-07.json +54 -0
  100. package/dist/shadcn/r/sidebar-08.json +54 -0
  101. package/dist/shadcn/r/sidebar-09.json +36 -0
  102. package/dist/shadcn/r/sidebar-10.json +66 -0
  103. package/dist/shadcn/r/sidebar-11.json +30 -0
  104. package/dist/shadcn/r/sidebar-12.json +48 -0
  105. package/dist/shadcn/r/sidebar-13.json +30 -0
  106. package/dist/shadcn/r/sidebar-14.json +30 -0
  107. package/dist/shadcn/r/sidebar-15.json +84 -0
  108. package/dist/shadcn/r/sidebar-16.json +66 -0
  109. package/dist/shadcn/r/sidebar-drilldown.json +29 -0
  110. package/dist/shadcn/r/sidebar-primitives.json +155 -0
  111. package/dist/shadcn/r/uibot-base.json +3 -3
  112. package/dist/shadcn/r/workspace.json +3 -3
  113. package/dist/shadcn/registry.json +987 -175
  114. package/dist/shadcn.d.ts +0 -39
  115. package/dist/solution-composition.d.ts +45 -0
  116. package/dist/solution-regions.d.ts +3 -0
  117. package/dist/solution-spec.d.ts +7 -0
  118. package/dist/template-source.d.ts +2 -0
  119. package/package.json +2 -2
@@ -0,0 +1,24 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-04",
4
+ "type": "registry:block",
5
+ "description": "Image card: paired login and signup pages with a shared layout and host-owned routes.",
6
+ "dependencies": [
7
+ "react@19.3.0"
8
+ ],
9
+ "registryDependencies": [
10
+ "@uibot/auth-primitives"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "components/uibot/auth/auth-04.tsx",
15
+ "target": "components/uibot/auth/auth-04.tsx",
16
+ "content": "import { AuthPage, type AuthPageProps } from \"./auth-page\";\nexport type { AuthMode, AuthPageProps, AuthProvider, AuthSubmission } from \"./auth-page\";\nexport default function Auth04(props: AuthPageProps) {\n return <AuthPage {...props} layout=\"image-card\" />;\n}\n",
17
+ "type": "registry:component"
18
+ }
19
+ ],
20
+ "meta": {
21
+ "composite": true,
22
+ "channel": "public"
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-05",
4
+ "type": "registry:block",
5
+ "description": "Email and social: paired login and signup pages with a shared layout and host-owned routes.",
6
+ "dependencies": [
7
+ "react@19.3.0"
8
+ ],
9
+ "registryDependencies": [
10
+ "@uibot/auth-primitives"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "components/uibot/auth/auth-05.tsx",
15
+ "target": "components/uibot/auth/auth-05.tsx",
16
+ "content": "import { AuthPage, type AuthPageProps } from \"./auth-page\";\nexport type { AuthMode, AuthPageProps, AuthProvider, AuthSubmission } from \"./auth-page\";\nexport default function Auth05(props: AuthPageProps) {\n return <AuthPage {...props} layout=\"email\" />;\n}\n",
17
+ "type": "registry:component"
18
+ }
19
+ ],
20
+ "meta": {
21
+ "composite": true,
22
+ "channel": "public"
23
+ }
24
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-centered",
4
+ "type": "registry:block",
5
+ "description": "Centered sign in: shared Admin forms, native validation and host-owned authentication.",
6
+ "registryDependencies": [
7
+ "@uibot/data",
8
+ "@uibot/feedback",
9
+ "@uibot/field",
10
+ "@uibot/form",
11
+ "@uibot/layout",
12
+ "@uibot/nav"
13
+ ],
14
+ "files": [
15
+ {
16
+ "path": "lib/uibot/templates/auth-centered.uibot.yaml",
17
+ "target": "lib/uibot/templates/auth-centered.uibot.yaml",
18
+ "content": "version: \"2.0\"\npages:\n - id: auth-centered-login\n path: /auth-centered-login\n title: Login\n state:\n saving: false\n currentPath: /auth-centered-login\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Login\n - type: Paragraph\n props:\n text: Enter your email and password below to log into your account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Login\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Login\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n",
19
+ "type": "registry:lib"
20
+ },
21
+ {
22
+ "path": "lib/uibot/templates/auth-centered.uibot.json",
23
+ "target": "lib/uibot/templates/auth-centered.uibot.json",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth-centered\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth-centered.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth-centered\",\n \"description\": \"Centered sign in: shared Admin forms, native validation and host-owned authentication.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"auth-centered\",\n \"居中登录\",\n \"Centered sign in\",\n \"auth\",\n \"login\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Field\",\n \"Form.Submit\",\n \"Link\",\n \"Button\"\n ]\n }\n }\n}\n",
25
+ "type": "registry:lib"
26
+ }
27
+ ],
28
+ "meta": {
29
+ "uibot": {
30
+ "schema": "uibot.registry.item.v1",
31
+ "item": "auth-centered",
32
+ "channel": "public",
33
+ "template": {
34
+ "file": "auth-centered.uibot.yaml",
35
+ "contract": {
36
+ "name": "auth-centered",
37
+ "description": "Centered sign in: shared Admin forms, native validation and host-owned authentication.",
38
+ "level": "L4",
39
+ "category": "page",
40
+ "keywords": [
41
+ "auth-centered",
42
+ "居中登录",
43
+ "Centered sign in",
44
+ "auth",
45
+ "login"
46
+ ],
47
+ "composedFrom": [
48
+ "Box",
49
+ "Heading",
50
+ "Paragraph",
51
+ "Form",
52
+ "Field",
53
+ "Form.Submit",
54
+ "Link",
55
+ "Button"
56
+ ]
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-enterprise",
4
+ "type": "registry:block",
5
+ "description": "Enterprise sign in: shared Admin forms, native validation and host-owned authentication.",
6
+ "registryDependencies": [
7
+ "@uibot/data",
8
+ "@uibot/feedback",
9
+ "@uibot/field",
10
+ "@uibot/form",
11
+ "@uibot/layout",
12
+ "@uibot/nav"
13
+ ],
14
+ "files": [
15
+ {
16
+ "path": "lib/uibot/templates/auth-enterprise.uibot.yaml",
17
+ "target": "lib/uibot/templates/auth-enterprise.uibot.yaml",
18
+ "content": "version: \"2.0\"\npages:\n - id: auth-enterprise-login\n path: /auth-enterprise-login\n title: Login\n state:\n saving: false\n currentPath: /auth-enterprise-login\n notice: \"\"\n showSso: true\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Login\n - type: Paragraph\n props:\n text: Enter your email and password below to log into your account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Login\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Login\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n",
19
+ "type": "registry:lib"
20
+ },
21
+ {
22
+ "path": "lib/uibot/templates/auth-enterprise.uibot.json",
23
+ "target": "lib/uibot/templates/auth-enterprise.uibot.json",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth-enterprise\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth-enterprise.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth-enterprise\",\n \"description\": \"Enterprise sign in: shared Admin forms, native validation and host-owned authentication.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"auth-enterprise\",\n \"企业登录入口\",\n \"Enterprise sign in\",\n \"auth\",\n \"login\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Field\",\n \"Form.Submit\",\n \"Link\",\n \"Button\"\n ]\n }\n }\n}\n",
25
+ "type": "registry:lib"
26
+ }
27
+ ],
28
+ "meta": {
29
+ "uibot": {
30
+ "schema": "uibot.registry.item.v1",
31
+ "item": "auth-enterprise",
32
+ "channel": "public",
33
+ "template": {
34
+ "file": "auth-enterprise.uibot.yaml",
35
+ "contract": {
36
+ "name": "auth-enterprise",
37
+ "description": "Enterprise sign in: shared Admin forms, native validation and host-owned authentication.",
38
+ "level": "L4",
39
+ "category": "page",
40
+ "keywords": [
41
+ "auth-enterprise",
42
+ "企业登录入口",
43
+ "Enterprise sign in",
44
+ "auth",
45
+ "login"
46
+ ],
47
+ "composedFrom": [
48
+ "Box",
49
+ "Heading",
50
+ "Paragraph",
51
+ "Form",
52
+ "Field",
53
+ "Form.Submit",
54
+ "Link",
55
+ "Button"
56
+ ]
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-primitives",
4
+ "type": "registry:lib",
5
+ "description": "Shared authentication layouts and forms; host owns authentication, routes and session.",
6
+ "dependencies": [
7
+ "react@19.3.0",
8
+ "lucide-react@1.56.0"
9
+ ],
10
+ "registryDependencies": [
11
+ "button",
12
+ "input",
13
+ "label",
14
+ "card"
15
+ ],
16
+ "files": [
17
+ {
18
+ "path": "components/uibot/auth/auth-page.tsx",
19
+ "target": "components/uibot/auth/auth-page.tsx",
20
+ "content": "\"use client\";\n\n// Adapted from shadcn/ui login-01..05 and signup-01..05 (MIT).\n// See THIRD_PARTY_LICENSE and provenance.json for the upstream paths and hashes.\nimport { GalleryVerticalEnd } from \"lucide-react\";\nimport type { MouseEvent, ReactNode } from \"react\";\nimport { Card, CardContent, cn } from \"./ui\";\nimport { AuthForm } from \"./auth-form\";\n\nexport type AuthMode = \"login\" | \"signup\";\nexport type AuthLayout = \"centered\" | \"split\" | \"muted\" | \"image-card\" | \"email\";\nexport type AuthProvider = \"github\" | \"apple\" | \"google\";\nexport interface AuthSubmission {\n mode: AuthMode;\n email: string;\n name?: string;\n password?: string;\n}\nexport interface AuthPageProps {\n /** Controlled by the host router. Both pages share this layout and theme. */\n mode?: AuthMode;\n locale?: \"zh\" | \"en\";\n brandName?: string;\n className?: string;\n cover?: ReactNode;\n routes?: {\n login: string;\n signup: string;\n home?: string;\n forgotPassword?: string;\n terms?: string;\n privacy?: string;\n };\n /** Omit for ordinary links; intercepts only unmodified primary clicks. */\n onNavigate?: (href: string, mode: AuthMode) => void;\n onSubmit?: (submission: AuthSubmission) => void | Promise<void>;\n onProvider?: (provider: AuthProvider) => void | Promise<void>;\n pending?: boolean;\n error?: string;\n status?: ReactNode;\n}\n\nexport function AuthRouteLink({\n mode,\n page,\n children,\n}: {\n mode: AuthMode;\n page: AuthPageProps;\n children: ReactNode;\n}) {\n const href = page.routes?.[mode] ?? `/${mode}`;\n function navigate(event: MouseEvent<HTMLAnchorElement>) {\n if (\n event.defaultPrevented ||\n event.button !== 0 ||\n event.metaKey ||\n event.ctrlKey ||\n event.shiftKey ||\n event.altKey ||\n !page.onNavigate\n )\n return;\n event.preventDefault();\n page.onNavigate(href, mode);\n }\n return (\n <a href={href} onClick={navigate} className=\"underline underline-offset-4\">\n {children}\n </a>\n );\n}\n\nexport function AuthBrand({ page, compact = false }: { page: AuthPageProps; compact?: boolean }) {\n const content = (\n <>\n <span\n className={cn(\n \"flex items-center justify-center rounded-md\",\n compact ? \"size-8\" : \"size-6 bg-primary text-primary-foreground\",\n )}\n >\n <GalleryVerticalEnd className={compact ? \"size-6\" : \"size-4\"} aria-hidden=\"true\" />\n </span>\n <span className={compact ? \"sr-only\" : undefined}>{page.brandName ?? \"Acme Inc.\"}</span>\n </>\n );\n const className = \"flex items-center justify-center gap-2 font-medium\";\n return page.routes?.home ? (\n <a className={className} href={page.routes.home}>\n {content}\n </a>\n ) : (\n <span className={className}>{content}</span>\n );\n}\n\nfunction AuthCover() {\n return (\n <svg\n role=\"img\"\n aria-label=\"Abstract geometric illustration\"\n viewBox=\"0 0 600 800\"\n preserveAspectRatio=\"xMidYMid slice\"\n className=\"absolute inset-0 h-full w-full text-muted-foreground/20\"\n >\n <rect width=\"600\" height=\"800\" fill=\"var(--muted)\" />\n <g fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.5\">\n <circle cx=\"300\" cy=\"400\" r=\"240\" />\n <circle cx=\"300\" cy=\"400\" r=\"160\" />\n <circle cx=\"300\" cy=\"400\" r=\"80\" />\n <path d=\"M0 400h600M300 0v800M0 100l600 600M0 700 600 100\" />\n </g>\n <rect\n x=\"268\"\n y=\"368\"\n width=\"64\"\n height=\"64\"\n rx=\"16\"\n fill=\"var(--background)\"\n stroke=\"currentColor\"\n />\n <path\n d=\"m284 413 10-13 9 9 8-11 9 15zm5-24h1\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n}\n\n/** Router/session/authentication are host-owned; the component stores no credentials. */\nexport function AuthPage({\n layout = \"centered\",\n ...page\n}: AuthPageProps & { layout?: AuthLayout }) {\n const form = <AuthForm key={page.mode ?? \"login\"} page={page} layout={layout} />;\n const cover = (\n <div\n className={cn(\n \"relative hidden min-h-full bg-muted\",\n layout === \"split\" ? \"lg:block\" : \"md:block\",\n )}\n >\n {page.cover ?? <AuthCover />}\n </div>\n );\n return (\n <div\n data-auth-layout={layout}\n data-auth-mode={page.mode ?? \"login\"}\n className={cn(\"w-full\", page.className)}\n >\n {layout === \"split\" ? (\n <div className=\"grid min-h-svh lg:grid-cols-2\">\n <div className=\"flex flex-col gap-4 p-6 md:p-10\">\n <div className=\"flex justify-center md:justify-start\">\n <AuthBrand page={page} />\n </div>\n <div className=\"flex flex-1 items-center justify-center py-8\">\n <div className=\"w-full max-w-xs\">{form}</div>\n </div>\n </div>\n {cover}\n </div>\n ) : layout === \"image-card\" ? (\n <div className=\"flex min-h-svh items-center justify-center bg-muted p-6 md:p-10\">\n <div className=\"w-full max-w-sm md:max-w-4xl\">\n <Card className=\"overflow-hidden p-0\">\n <CardContent className=\"grid p-0 md:grid-cols-2\">\n <div className=\"p-6 md:p-8\">{form}</div>\n {cover}\n </CardContent>\n </Card>\n <AuthLegal page={page} />\n </div>\n </div>\n ) : (\n <div\n className={cn(\n \"flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10\",\n layout === \"muted\" && \"bg-muted\",\n )}\n >\n <div className=\"flex w-full max-w-sm flex-col gap-6\">\n {layout === \"muted\" && <AuthBrand page={page} />}\n {layout === \"centered\" || layout === \"muted\" ? (\n <Card>\n <CardContent>{form}</CardContent>\n </Card>\n ) : (\n form\n )}\n <AuthLegal page={page} />\n </div>\n </div>\n )}\n </div>\n );\n}\n\nfunction AuthLegal({ page }: { page: AuthPageProps }) {\n if (!page.routes?.terms || !page.routes.privacy) return null;\n const zh = page.locale === \"zh\";\n return (\n <p className=\"mt-6 px-6 text-center text-xs text-muted-foreground\">\n {zh ? \"继续即表示你同意\" : \"By continuing, you agree to our \"}\n <a className=\"underline underline-offset-4\" href={page.routes.terms}>\n {zh ? \"服务条款\" : \"Terms of Service\"}\n </a>\n {zh ? \"和\" : \" and \"}\n <a className=\"underline underline-offset-4\" href={page.routes.privacy}>\n {zh ? \"隐私政策\" : \"Privacy Policy\"}\n </a>\n {zh ? \"。\" : \".\"}\n </p>\n );\n}\n",
21
+ "type": "registry:component"
22
+ },
23
+ {
24
+ "path": "components/uibot/auth/auth-form.tsx",
25
+ "target": "components/uibot/auth/auth-form.tsx",
26
+ "content": "\"use client\";\n\nimport { useId, useRef, useState, type FormEvent } from \"react\";\nimport { Button, Input, Label, cn } from \"./ui\";\nimport {\n AuthBrand,\n AuthRouteLink,\n type AuthLayout,\n type AuthPageProps,\n type AuthProvider,\n} from \"./auth-page\";\nimport { ProviderIcon } from \"./provider-icon\";\n\nexport function AuthForm({ page, layout }: { page: AuthPageProps; layout: AuthLayout }) {\n const id = useId();\n const signup = page.mode === \"signup\";\n const emailOnly = layout === \"email\";\n const t = (zh: string, en: string) => (page.locale === \"zh\" ? zh : en);\n const [busy, setBusy] = useState(false);\n const [failure, setFailure] = useState(\"\");\n const inFlight = useRef(false);\n const disabled = busy || page.pending;\n async function submit(event: FormEvent<HTMLFormElement>) {\n event.preventDefault();\n if (disabled || inFlight.current || !page.onSubmit) return;\n const form = event.currentTarget;\n const data = new FormData(form);\n const confirm = form.elements.namedItem(\"confirmPassword\") as HTMLInputElement | null;\n confirm?.setCustomValidity(\n data.get(\"password\") !== data.get(\"confirmPassword\")\n ? t(\"两次输入的密码不一致\", \"Passwords do not match\")\n : \"\",\n );\n if (!form.reportValidity()) return;\n inFlight.current = true;\n setBusy(true);\n setFailure(\"\");\n try {\n await page.onSubmit({\n mode: signup ? \"signup\" : \"login\",\n email: String(data.get(\"email\") ?? \"\"),\n ...(signup && !emailOnly ? { name: String(data.get(\"name\") ?? \"\") } : {}),\n ...(!emailOnly ? { password: String(data.get(\"password\") ?? \"\") } : {}),\n });\n } catch {\n // Host errors may contain request details; never echo them or credentials.\n setFailure(t(\"暂时无法完成,请重试。\", \"Unable to continue. Please try again.\"));\n } finally {\n inFlight.current = false;\n setBusy(false);\n }\n }\n async function provider(provider: AuthProvider) {\n if (disabled || inFlight.current || !page.onProvider) return;\n inFlight.current = true;\n setBusy(true);\n setFailure(\"\");\n try {\n await page.onProvider(provider);\n } catch {\n setFailure(t(\"暂时无法完成,请重试。\", \"Unable to continue. Please try again.\"));\n } finally {\n inFlight.current = false;\n setBusy(false);\n }\n }\n const providers: AuthProvider[] =\n layout === \"centered\" ? [\"google\"] : layout === \"split\" ? [\"github\"] : [\"apple\", \"google\"];\n const social = (\n <div\n className={cn(\n \"grid gap-3\",\n (layout === \"email\" || layout === \"image-card\") && \"sm:grid-cols-2\",\n )}\n >\n {providers.map((name) => (\n <Button\n key={name}\n type=\"button\"\n variant=\"outline\"\n disabled={disabled || !page.onProvider}\n onClick={() => void provider(name)}\n >\n <ProviderIcon provider={name} />\n <span>\n {t(\"使用\", \"Continue with\")}{\" \"}\n {name === \"github\" ? \"GitHub\" : name === \"apple\" ? \"Apple\" : \"Google\"}\n </span>\n </Button>\n ))}\n </div>\n );\n const switchPage = (\n <p className=\"text-center text-sm text-muted-foreground\">\n {signup\n ? t(\"已有账号?\", \"Already have an account? \")\n : t(\"还没有账号?\", \"Don't have an account? \")}\n <AuthRouteLink mode={signup ? \"login\" : \"signup\"} page={page}>\n {signup ? t(\"登录\", \"Log in\") : t(\"注册\", \"Sign up\")}\n </AuthRouteLink>\n </p>\n );\n const socialFirst = layout === \"muted\";\n return (\n <form\n aria-label={signup ? t(\"注册\", \"Sign up\") : t(\"登录\", \"Log in\")}\n className=\"flex flex-col gap-6\"\n onSubmit={(event) => void submit(event)}\n onInput={(event) => {\n const confirm = event.currentTarget.elements.namedItem(\n \"confirmPassword\",\n ) as HTMLInputElement | null;\n confirm?.setCustomValidity(\"\");\n }}\n >\n <div\n className={cn(\"flex flex-col gap-2\", layout !== \"centered\" && \"items-center text-center\")}\n >\n {emailOnly && <AuthBrand page={page} compact />}\n <h1 className=\"text-2xl font-bold\">\n {signup\n ? t(\"创建账号\", \"Create an account\")\n : emailOnly\n ? `${t(\"欢迎使用\", \"Welcome to\")} ${page.brandName ?? \"Acme Inc.\"}`\n : t(\"欢迎回来\", \"Welcome back\")}\n </h1>\n {emailOnly ? (\n switchPage\n ) : (\n <p className=\"text-sm text-balance text-muted-foreground\">\n {signup\n ? t(\"填写以下信息,创建你的账号\", \"Enter your information to create an account\")\n : t(\"输入邮箱和密码,登录你的账号\", \"Enter your email and password to log in\")}\n </p>\n )}\n </div>\n {socialFirst && (\n <>\n {social}\n <AuthSeparator label={t(\"或使用邮箱继续\", \"Or continue with email\")} />\n </>\n )}\n {signup && !emailOnly && (\n <div className=\"grid gap-2\">\n <Label htmlFor={`${id}-name`}>{t(\"姓名\", \"Full name\")}</Label>\n <Input\n id={`${id}-name`}\n name=\"name\"\n autoComplete=\"name\"\n placeholder={t(\"张三\", \"Jane Doe\")}\n required\n disabled={disabled}\n />\n </div>\n )}\n <div className=\"grid gap-2\">\n <Label htmlFor={`${id}-email`}>{t(\"邮箱\", \"Email\")}</Label>\n <Input\n id={`${id}-email`}\n name=\"email\"\n type=\"email\"\n autoComplete=\"email\"\n placeholder=\"m@example.com\"\n required\n disabled={disabled}\n />\n </div>\n {!emailOnly && (\n <div className=\"grid gap-2\">\n <div className=\"flex items-center justify-between gap-3\">\n <Label htmlFor={`${id}-password`}>{t(\"密码\", \"Password\")}</Label>\n {!signup && page.routes?.forgotPassword && (\n <a\n href={page.routes.forgotPassword}\n className=\"text-sm underline-offset-4 hover:underline\"\n >\n {t(\"忘记密码?\", \"Forgot your password?\")}\n </a>\n )}\n </div>\n <Input\n id={`${id}-password`}\n name=\"password\"\n type=\"password\"\n autoComplete={signup ? \"new-password\" : \"current-password\"}\n minLength={signup ? 8 : undefined}\n required\n disabled={disabled}\n />\n {signup && (\n <p className=\"text-xs text-muted-foreground\">\n {t(\"密码至少包含 8 个字符。\", \"Use at least 8 characters.\")}\n </p>\n )}\n </div>\n )}\n {signup && !emailOnly && (\n <div className=\"grid gap-2\">\n <Label htmlFor={`${id}-confirm`}>{t(\"确认密码\", \"Confirm password\")}</Label>\n <Input\n id={`${id}-confirm`}\n name=\"confirmPassword\"\n type=\"password\"\n autoComplete=\"new-password\"\n required\n disabled={disabled}\n onInput={(event) => event.currentTarget.setCustomValidity(\"\")}\n />\n </div>\n )}\n {(page.error || failure) && (\n <p role=\"alert\" className=\"text-sm text-destructive\">\n {page.error || failure}\n </p>\n )}\n <Button type=\"submit\" disabled={disabled || !page.onSubmit}>\n {disabled\n ? t(\"请稍候…\", \"Please wait…\")\n : signup\n ? t(\"创建账号\", \"Create account\")\n : t(\"登录\", \"Log in\")}\n </Button>\n {!socialFirst && (\n <>\n <AuthSeparator label={t(\"或继续使用\", \"Or continue with\")} />\n {social}\n </>\n )}\n {!emailOnly && switchPage}\n {page.status && (\n <div role=\"status\" className=\"text-center text-sm text-muted-foreground\">\n {page.status}\n </div>\n )}\n </form>\n );\n}\n\nfunction AuthSeparator({ label }: { label: string }) {\n return (\n <div className=\"flex items-center gap-3 text-xs text-muted-foreground\">\n <span className=\"h-px flex-1 bg-border\" />\n <span>{label}</span>\n <span className=\"h-px flex-1 bg-border\" />\n </div>\n );\n}\n",
27
+ "type": "registry:component"
28
+ },
29
+ {
30
+ "path": "components/uibot/auth/provider-icon.tsx",
31
+ "target": "components/uibot/auth/provider-icon.tsx",
32
+ "content": "// Adapted from shadcn/ui (MIT). See provenance.json.\nimport type { AuthProvider } from \"./auth-page\";\nconst paths = {\n apple:\n \"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701\",\n google:\n \"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z\",\n github:\n \"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\",\n};\nexport function ProviderIcon({ provider }: { provider: AuthProvider }) {\n return (\n <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path d={paths[provider]} fill=\"currentColor\" />\n </svg>\n );\n}\n",
33
+ "type": "registry:component"
34
+ },
35
+ {
36
+ "path": "components/uibot/auth/ui.ts",
37
+ "target": "components/uibot/auth/ui.ts",
38
+ "content": "/** Source installs use the consumer's shadcn primitives and theme. */\nexport { Button } from \"@/components/ui/button\";\nexport { Input } from \"@/components/ui/input\";\nexport { Label } from \"@/components/ui/label\";\nexport { Card, CardContent } from \"@/components/ui/card\";\nexport { cn } from \"@/lib/utils\";\n",
39
+ "type": "registry:lib"
40
+ },
41
+ {
42
+ "path": "components/uibot/auth/THIRD_PARTY_LICENSE",
43
+ "target": "components/uibot/auth/THIRD_PARTY_LICENSE",
44
+ "content": "MIT License\n\nCopyright (c) 2023 shadcn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
45
+ "type": "registry:lib"
46
+ },
47
+ {
48
+ "path": "components/uibot/auth/provenance.json",
49
+ "target": "components/uibot/auth/provenance.json",
50
+ "content": "{\n \"source\": \"https://github.com/shadcn-ui/ui\",\n \"registry\": \"new-york-v4\",\n \"retrievedAt\": \"2026-10-28\",\n \"license\": \"MIT\",\n \"adaptation\": \"Paired login/signup share layouts, controlled routes, host actions and package primitives. External placeholder images are replaced with local SVG.\",\n \"files\": [\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-01/page.tsx\",\n \"upstreamSha256\": \"9abc004ff5446fc599b684eff842a6c8eb13d65030779d90162567f6903e3c6e\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-01/components/login-form.tsx\",\n \"upstreamSha256\": \"a62a24aef1e3be9cb204c7b3bd563cc2f8cdd5d7c4ff07693af2128a4773a91a\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-02/page.tsx\",\n \"upstreamSha256\": \"212bdfcc92905ef96644d0d7826e89072408249bb76e9f6629de05ce51b2dc63\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-02/components/login-form.tsx\",\n \"upstreamSha256\": \"252400080c044963142b30742a75e0865d0104197b6d5bdb929a61c15e3d20a3\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-03/page.tsx\",\n \"upstreamSha256\": \"c750f8d4858ae323ea4410cad14a0926a1998ab89ae206afba08e2bbfcea0636\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-03/components/login-form.tsx\",\n \"upstreamSha256\": \"6b736646afc33b4839a3814be67f572a80ec92ae387c37b1b9947183e69a7bba\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-04/page.tsx\",\n \"upstreamSha256\": \"c456ac4cb144081ab2ef156913c20fdd6e45b7b624ca565192622a05c598f890\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-04/components/login-form.tsx\",\n \"upstreamSha256\": \"a00081808f3afa1dcad6c2f0769a171cc489e47e2ab5278877bb39adcff48ddd\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-05/page.tsx\",\n \"upstreamSha256\": \"5fc410c23695606f0ef9489477f27eab30954b6e702017cfcdaebb777e7616c5\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/login-05/components/login-form.tsx\",\n \"upstreamSha256\": \"1d65b0eb8da5638e11c838b15d605d782722ef73513b8ecb4d3d1a6bfc83a804\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-01/page.tsx\",\n \"upstreamSha256\": \"ad7070f3c6b86af768ce5f931797a9d52c6d41d0a23ce639bd8a83e7c8f56fe0\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-01/components/signup-form.tsx\",\n \"upstreamSha256\": \"66e9677501203baace836d1ebf497484cdddedaa5d2e096fb4b1195c2d978bb0\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-02/page.tsx\",\n \"upstreamSha256\": \"54ba0c6362f2a3a580edcbd995e2248ac394c9c826df7486343d2eba88da5019\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-02/components/signup-form.tsx\",\n \"upstreamSha256\": \"ff25aa55b66596bae7170693a5738980a68a4ac234f6d7a6cd95c08a08487984\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-03/page.tsx\",\n \"upstreamSha256\": \"0a013e41148e2d34fd8c7277057908e774cf1a81301437618bbd99dd9b77f17a\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-03/components/signup-form.tsx\",\n \"upstreamSha256\": \"7c4fb910d14ea8f0a20bce257a76aaaadf6d87efe27a9c2fca2843ef3e09e319\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-04/page.tsx\",\n \"upstreamSha256\": \"aca87803d61d35e3f8930596c5cf548693742e51062a81bdc35fe5c641348ab6\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-04/components/signup-form.tsx\",\n \"upstreamSha256\": \"f0bb4e1e9fb94adb68f2cfb67f5965f7ef29761514d0e513a141c55349ef7608\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-05/page.tsx\",\n \"upstreamSha256\": \"a4acb240d4278ada3890ca6507a1c8084628ca51bb3b38afba3754fa147a5e21\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n },\n {\n \"upstreamPath\": \"registry/new-york-v4/blocks/signup-05/components/signup-form.tsx\",\n \"upstreamSha256\": \"e1e8e8119360bab4c162b0ffffead3305553145aa45a145e182aca0f8075d659\",\n \"adaptedInto\": [\"auth-page.tsx\", \"auth-form.tsx\"]\n }\n ]\n}\n",
51
+ "type": "registry:lib"
52
+ }
53
+ ],
54
+ "meta": {
55
+ "composite": true,
56
+ "channel": "public"
57
+ }
58
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-recovery",
4
+ "type": "registry:block",
5
+ "description": "Account recovery flow: shared Admin forms, native validation and host-owned authentication.",
6
+ "registryDependencies": [
7
+ "@uibot/data",
8
+ "@uibot/feedback",
9
+ "@uibot/field",
10
+ "@uibot/form",
11
+ "@uibot/layout",
12
+ "@uibot/nav"
13
+ ],
14
+ "files": [
15
+ {
16
+ "path": "lib/uibot/templates/auth-recovery.uibot.yaml",
17
+ "target": "lib/uibot/templates/auth-recovery.uibot.yaml",
18
+ "content": "version: \"2.0\"\npages:\n - id: auth-recovery-recovery\n path: /auth-recovery-recovery\n title: Forgot Password\n state:\n saving: false\n currentPath: /auth-recovery-recovery\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Forgot Password\n - type: Paragraph\n props:\n text: Enter your registered email and we will send you a reset link.\n muted: true\n size: sm\n - type: Form\n props:\n label: Forgot Password\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Form.Submit\n props:\n label: Send reset link\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: verification\n href: /auth-recovery-verify\n - type: Link\n props:\n label: reset\n href: /auth-recovery-reset\n - type: Link\n props:\n label: login\n href: /auth-recovery-login\n - id: auth-recovery-verify\n path: /auth-recovery-verify\n title: Two-factor Authentication\n state:\n saving: false\n currentPath: /auth-recovery-verify\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Two-factor Authentication\n - type: Paragraph\n props:\n text: Please enter the authentication code sent to your email.\n muted: true\n size: sm\n - type: Form\n props:\n label: Two-factor Authentication\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: code\n label: Authentication code\n kind: otp\n required: true\n - type: Form.Submit\n props:\n label: Verify\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: recovery\n href: /auth-recovery-recovery\n - type: Link\n props:\n label: reset\n href: /auth-recovery-reset\n - type: Link\n props:\n label: login\n href: /auth-recovery-login\n - id: auth-recovery-reset\n path: /auth-recovery-reset\n title: Set a new password\n state:\n saving: false\n currentPath: /auth-recovery-reset\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Create an account\n - type: Paragraph\n props:\n text: Enter your email and password to create an account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Set a new password\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Create account\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: recovery\n href: /auth-recovery-recovery\n - type: Link\n props:\n label: verification\n href: /auth-recovery-verify\n - type: Link\n props:\n label: login\n href: /auth-recovery-login\n - id: auth-recovery-login\n path: /auth-recovery-login\n title: Login\n state:\n saving: false\n currentPath: /auth-recovery-login\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Login\n - type: Paragraph\n props:\n text: Enter your email and password below to log into your account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Login\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Login\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: recovery\n href: /auth-recovery-recovery\n - type: Link\n props:\n label: verification\n href: /auth-recovery-verify\n - type: Link\n props:\n label: reset\n href: /auth-recovery-reset\n",
19
+ "type": "registry:lib"
20
+ },
21
+ {
22
+ "path": "lib/uibot/templates/auth-recovery.uibot.json",
23
+ "target": "lib/uibot/templates/auth-recovery.uibot.json",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth-recovery\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth-recovery.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth-recovery\",\n \"description\": \"Account recovery flow: shared Admin forms, native validation and host-owned authentication.\",\n \"level\": \"L5\",\n \"category\": \"app\",\n \"keywords\": [\n \"auth-recovery\",\n \"账号恢复流程\",\n \"Account recovery flow\",\n \"auth\",\n \"recovery\",\n \"verification\",\n \"recovery\",\n \"login\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Field\",\n \"Form.Submit\",\n \"Link\",\n \"Button\"\n ]\n }\n }\n}\n",
25
+ "type": "registry:lib"
26
+ }
27
+ ],
28
+ "meta": {
29
+ "uibot": {
30
+ "schema": "uibot.registry.item.v1",
31
+ "item": "auth-recovery",
32
+ "channel": "public",
33
+ "template": {
34
+ "file": "auth-recovery.uibot.yaml",
35
+ "contract": {
36
+ "name": "auth-recovery",
37
+ "description": "Account recovery flow: shared Admin forms, native validation and host-owned authentication.",
38
+ "level": "L5",
39
+ "category": "app",
40
+ "keywords": [
41
+ "auth-recovery",
42
+ "账号恢复流程",
43
+ "Account recovery flow",
44
+ "auth",
45
+ "recovery",
46
+ "verification",
47
+ "recovery",
48
+ "login"
49
+ ],
50
+ "composedFrom": [
51
+ "Box",
52
+ "Heading",
53
+ "Paragraph",
54
+ "Form",
55
+ "Field",
56
+ "Form.Submit",
57
+ "Link",
58
+ "Button"
59
+ ]
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-registration",
4
+ "type": "registry:block",
5
+ "description": "Registration flow: shared Admin forms, native validation and host-owned authentication.",
6
+ "registryDependencies": [
7
+ "@uibot/data",
8
+ "@uibot/feedback",
9
+ "@uibot/field",
10
+ "@uibot/form",
11
+ "@uibot/layout",
12
+ "@uibot/nav"
13
+ ],
14
+ "files": [
15
+ {
16
+ "path": "lib/uibot/templates/auth-registration.uibot.yaml",
17
+ "target": "lib/uibot/templates/auth-registration.uibot.yaml",
18
+ "content": "version: \"2.0\"\npages:\n - id: auth-registration-signup\n path: /auth-registration-signup\n title: Create an account\n state:\n saving: false\n currentPath: /auth-registration-signup\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Create an account\n - type: Paragraph\n props:\n text: Enter your email and password to create an account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Create an account\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Field\n props:\n name: confirm\n label: Confirm password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Create account\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: verification\n href: /auth-registration-verify\n - type: Link\n props:\n label: login\n href: /auth-registration-login\n - id: auth-registration-verify\n path: /auth-registration-verify\n title: Two-factor Authentication\n state:\n saving: false\n currentPath: /auth-registration-verify\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Two-factor Authentication\n - type: Paragraph\n props:\n text: Please enter the authentication code sent to your email.\n muted: true\n size: sm\n - type: Form\n props:\n label: Two-factor Authentication\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: code\n label: Authentication code\n kind: otp\n required: true\n - type: Form.Submit\n props:\n label: Verify\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: signup\n href: /auth-registration-signup\n - type: Link\n props:\n label: login\n href: /auth-registration-login\n - id: auth-registration-login\n path: /auth-registration-login\n title: Login\n state:\n saving: false\n currentPath: /auth-registration-login\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center bg-background px-6\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Login\n - type: Paragraph\n props:\n text: Enter your email and password below to log into your account.\n muted: true\n size: sm\n - type: Form\n props:\n label: Login\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Login\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Link\n props:\n label: signup\n href: /auth-registration-signup\n - type: Link\n props:\n label: verification\n href: /auth-registration-verify\n",
19
+ "type": "registry:lib"
20
+ },
21
+ {
22
+ "path": "lib/uibot/templates/auth-registration.uibot.json",
23
+ "target": "lib/uibot/templates/auth-registration.uibot.json",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth-registration\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth-registration.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth-registration\",\n \"description\": \"Registration flow: shared Admin forms, native validation and host-owned authentication.\",\n \"level\": \"L5\",\n \"category\": \"app\",\n \"keywords\": [\n \"auth-registration\",\n \"注册与验证流程\",\n \"Registration flow\",\n \"auth\",\n \"signup\",\n \"verification\",\n \"login\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Field\",\n \"Form.Submit\",\n \"Link\",\n \"Button\"\n ]\n }\n }\n}\n",
25
+ "type": "registry:lib"
26
+ }
27
+ ],
28
+ "meta": {
29
+ "uibot": {
30
+ "schema": "uibot.registry.item.v1",
31
+ "item": "auth-registration",
32
+ "channel": "public",
33
+ "template": {
34
+ "file": "auth-registration.uibot.yaml",
35
+ "contract": {
36
+ "name": "auth-registration",
37
+ "description": "Registration flow: shared Admin forms, native validation and host-owned authentication.",
38
+ "level": "L5",
39
+ "category": "app",
40
+ "keywords": [
41
+ "auth-registration",
42
+ "注册与验证流程",
43
+ "Registration flow",
44
+ "auth",
45
+ "signup",
46
+ "verification",
47
+ "login"
48
+ ],
49
+ "composedFrom": [
50
+ "Box",
51
+ "Heading",
52
+ "Paragraph",
53
+ "Form",
54
+ "Field",
55
+ "Form.Submit",
56
+ "Link",
57
+ "Button"
58
+ ]
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "auth-split",
4
+ "type": "registry:block",
5
+ "description": "Brand split sign in: shared Admin forms, native validation and host-owned authentication.",
6
+ "registryDependencies": [
7
+ "@uibot/dashboard",
8
+ "@uibot/data",
9
+ "@uibot/feedback",
10
+ "@uibot/field",
11
+ "@uibot/form",
12
+ "@uibot/layout",
13
+ "@uibot/nav"
14
+ ],
15
+ "files": [
16
+ {
17
+ "path": "lib/uibot/templates/auth-split.uibot.yaml",
18
+ "target": "lib/uibot/templates/auth-split.uibot.yaml",
19
+ "content": "version: \"2.0\"\npages:\n - id: auth-split-login\n path: /auth-split-login\n title: Login\n state:\n saving: false\n currentPath: /auth-split-login\n notice: \"\"\n showSso: false\n blocks:\n - type: Box\n props:\n className: \"!grid lg:grid-cols-2 min-h-dvh\"\n gap: none\n children:\n - type: Box\n props:\n className: min-h-dvh items-center justify-center px-6 py-12\n gap: lg\n children:\n - type: Heading\n props:\n level: 3\n text: UiBot Admin\n - type: Box\n props:\n className: w-full max-w-sm\n gap: lg\n children:\n - type: Heading\n props:\n level: 2\n text: Login\n - type: Paragraph\n props:\n text: Welcome back! Please enter your details.\n muted: true\n size: sm\n - type: Form\n props:\n label: Login\n pending:\n _state: saving\n idempotent: true\n children:\n - type: Field\n props:\n name: email\n label: Email\n kind: email\n required: true\n - type: Field\n props:\n name: password\n label: Password\n kind: password\n required: true\n - type: Form.Submit\n props:\n label: Login\n full: true\n disabled: false\n events:\n onSubmit:\n - action: SetState\n params:\n path: notice\n value: 本地校验完成,未执行认证、发信或密码变更。Local validation only; no authentication, email or\n credential change occurred.\n - type: Paragraph\n props:\n text: Connect an authentication provider to continue.\n muted: true\n size: sm\n - type: Box\n props:\n direction: row\n justify: between\n children:\n - type: Link\n props:\n label: Forgot password?\n href: /forgot-password\n visible: false\n - type: Link\n props:\n label: Create account\n href: /sign-up\n visible: false\n - type: Paragraph\n props:\n text: By continuing, you agree to our Terms of Service and Privacy Policy.\n muted: true\n size: sm\n - type: Paragraph\n props:\n text:\n _state: notice\n - type: Button\n visible:\n _state: showSso\n props:\n label: 企业登录 / Enterprise sign in\n variant: outline\n events:\n onClick:\n - action: SetState\n params:\n path: notice\n value: 企业身份服务需由宿主接入。Connect your host identity provider.\n - type: Box\n props:\n className: hidden lg:flex relative overflow-hidden bg-muted min-h-dvh p-10\n gap: lg\n children:\n - type: Box\n props:\n className: absolute top-24 start-16 w-[960px] rounded-xl border bg-background\n p-8\n gap: lg\n children:\n - type: Box\n props:\n className: \"!flex-row items-start justify-between gap-4 mb-6\"\n children:\n - type: Box\n props:\n gap: xs\n children:\n - type: Heading\n props:\n level: 1\n text: Dashboard\n - type: Button\n props:\n label: Download\n disabled: true\n - type: Tabs\n props:\n tabs:\n - Overview\n - Analytics\n - Reports\n - Notifications\n disabledTabs:\n - 2\n - 3\n variant: segmented\n children:\n - type: Box\n props:\n gap: md\n children:\n - type: Box\n props:\n className: \"!grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4\"\n children:\n - type: StatCard\n props:\n label: Total Revenue\n value: $45,231.89\n description: +20.1% from last month\n icon: chart-no-axes-column\n - type: StatCard\n props:\n label: Subscriptions\n value: \"+2350\"\n description: +180.1% from last month\n icon: users\n - type: StatCard\n props:\n label: Sales\n value: +12,234\n description: +19% from last month\n icon: boxes\n - type: StatCard\n props:\n label: Active Now\n value: \"+573\"\n description: +201 since last hour\n icon: chart-no-axes-column\n - type: Box\n props:\n className: \"!grid grid-cols-1 gap-4 lg:grid-cols-7\"\n children:\n - type: Box\n props:\n className: lg:col-span-4\n children:\n - type: Card\n props:\n title: Overview\n children:\n - type: BarChart\n props:\n prefix: $\n height: 350\n data:\n - label: Jan\n value: 1500\n - label: Feb\n value: 5800\n - label: Mar\n value: 5500\n - label: Apr\n value: 2200\n - label: May\n value: 4800\n - label: Jun\n value: 1600\n - label: Jul\n value: 2800\n - label: Aug\n value: 2300\n - label: Sep\n value: 5700\n - label: Oct\n value: 1400\n - label: Nov\n value: 2900\n - label: Dec\n value: 1900\n - type: Box\n props:\n className: lg:col-span-3\n children:\n - type: Card\n props:\n title: Recent Sales\n description: You made 265 sales this month.\n children:\n - type: AvatarList\n props:\n items:\n - id: \"0\"\n initials: OM\n name: Olivia Martin\n description: olivia.martin@email.com\n value: +$1,999.00\n - id: \"1\"\n initials: JL\n name: Jackson Lee\n description: jackson.lee@email.com\n value: +$39.00\n - id: \"2\"\n initials: IN\n name: Isabella Nguyen\n description: isabella.nguyen@email.com\n value: +$299.00\n - id: \"3\"\n initials: WK\n name: William Kim\n description: will@email.com\n value: +$99.00\n - id: \"4\"\n initials: SD\n name: Sofia Davis\n description: sofia.davis@email.com\n value: +$39.00\n - type: Box\n props:\n gap: md\n children:\n - type: Box\n props:\n className: \"!flex-row items-start justify-between gap-4 mb-6\"\n children:\n - type: Box\n props:\n gap: xs\n children:\n - type: Heading\n props:\n level: 1\n text: Analytics\n - type: Paragraph\n props:\n text: Revenue and subscription performance.\n muted: true\n size: sm\n - type: Box\n props:\n className: \"!grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4\"\n children:\n - type: StatCard\n props:\n label: Total Revenue\n value: $45,231.89\n description: +20.1% from last month\n icon: chart-no-axes-column\n - type: StatCard\n props:\n label: Subscriptions\n value: \"+2350\"\n description: +180.1% from last month\n icon: users\n - type: StatCard\n props:\n label: Sales\n value: +12,234\n description: +19% from last month\n icon: boxes\n - type: StatCard\n props:\n label: Active Now\n value: \"+573\"\n description: +201 since last hour\n icon: chart-no-axes-column\n - type: Card\n props:\n title: Revenue over time\n children:\n - type: BarChart\n props:\n prefix: $\n data:\n - label: Apr\n value: 18200\n - label: May\n value: 21400\n - label: Jun\n value: 28000\n - label: Jul\n value: 26200\n - label: Aug\n value: 31500\n - label: Sep\n value: 45231\n",
20
+ "type": "registry:lib"
21
+ },
22
+ {
23
+ "path": "lib/uibot/templates/auth-split.uibot.json",
24
+ "target": "lib/uibot/templates/auth-split.uibot.json",
25
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"auth-split\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"auth-split.uibot.yaml\",\n \"contract\": {\n \"name\": \"auth-split\",\n \"description\": \"Brand split sign in: shared Admin forms, native validation and host-owned authentication.\",\n \"level\": \"L4\",\n \"category\": \"page\",\n \"keywords\": [\n \"auth-split\",\n \"品牌分栏登录\",\n \"Brand split sign in\",\n \"auth\",\n \"login\"\n ],\n \"composedFrom\": [\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Field\",\n \"Form.Submit\",\n \"Link\",\n \"Button\",\n \"Tabs\",\n \"StatCard\",\n \"Card\",\n \"BarChart\",\n \"AvatarList\"\n ]\n }\n }\n}\n",
26
+ "type": "registry:lib"
27
+ }
28
+ ],
29
+ "meta": {
30
+ "uibot": {
31
+ "schema": "uibot.registry.item.v1",
32
+ "item": "auth-split",
33
+ "channel": "public",
34
+ "template": {
35
+ "file": "auth-split.uibot.yaml",
36
+ "contract": {
37
+ "name": "auth-split",
38
+ "description": "Brand split sign in: shared Admin forms, native validation and host-owned authentication.",
39
+ "level": "L4",
40
+ "category": "page",
41
+ "keywords": [
42
+ "auth-split",
43
+ "品牌分栏登录",
44
+ "Brand split sign in",
45
+ "auth",
46
+ "login"
47
+ ],
48
+ "composedFrom": [
49
+ "Box",
50
+ "Heading",
51
+ "Paragraph",
52
+ "Form",
53
+ "Field",
54
+ "Form.Submit",
55
+ "Link",
56
+ "Button",
57
+ "Tabs",
58
+ "StatCard",
59
+ "Card",
60
+ "BarChart",
61
+ "AvatarList"
62
+ ]
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }