demos.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "title": "Demos",
  3. "access": {
  4. "frontendPermissions": "Frontend Permissions",
  5. "backendPermissions": "Backend Permissions",
  6. "pageAccess": "Page Access",
  7. "buttonControl": "Button Control",
  8. "menuVisible403": "Menu Visible(403)",
  9. "superVisible": "Visible to Super",
  10. "adminVisible": "Visible to Admin",
  11. "userVisible": "Visible to User"
  12. },
  13. "nested": {
  14. "title": "Nested Menu",
  15. "menu1": "Menu 1",
  16. "menu2": "Menu 2",
  17. "menu2_1": "Menu 2-1",
  18. "menu3": "Menu 3",
  19. "menu3_1": "Menu 3-1",
  20. "menu3_2": "Menu 3-2",
  21. "menu3_2_1": "Menu 3-2-1"
  22. },
  23. "outside": {
  24. "title": "External Pages",
  25. "embedded": "Embedded",
  26. "externalLink": "External Link"
  27. },
  28. "badge": {
  29. "title": "Menu Badge",
  30. "dot": "Dot Badge",
  31. "text": "Text Badge",
  32. "color": "Badge Color"
  33. },
  34. "activeIcon": {
  35. "title": "Active Menu Icon",
  36. "children": "Children Active Icon"
  37. },
  38. "fallback": {
  39. "title": "Fallback Page"
  40. },
  41. "features": {
  42. "title": "Features",
  43. "hideChildrenInMenu": "Hide Menu Children",
  44. "loginExpired": "Login Expired",
  45. "icons": "Icons",
  46. "watermark": "Watermark",
  47. "preferencesExtension": "Preferences Extension",
  48. "tabs": "Tabs",
  49. "tabDetail": "Tab Detail Page",
  50. "fullScreen": "FullScreen",
  51. "clipboard": "Clipboard",
  52. "menuWithQuery": "Menu With Query",
  53. "openInNewWindow": "Open in New Window",
  54. "fileDownload": "File Download"
  55. },
  56. "preferencesExtensionDemo": {
  57. "description": "This page directly uses extension preferences defined in the playground app. You can modify them in “Preferences → Playground Extension” at the top right, or click the preset buttons below to see the page update in real time.",
  58. "currentConfig": "Current Extension Preferences",
  59. "currentTitle": "Current Title: {title}",
  60. "currentDescription": "Displaying {count} tasks by default; quick actions are {quickActionText}; the current highlight tone is “{tone}”.",
  61. "showQuickActions": "shown",
  62. "hideQuickActions": "hidden",
  63. "boardDescription": "This is a real usage example: the page title, action area, visible row count, and highlight styles are all driven by extension preferences.",
  64. "quickActionsEnabled": "Quick actions are currently disabled, so the page only keeps the read-only information view.",
  65. "quickActions": {
  66. "create": "Create Task",
  67. "export": "Batch Export",
  68. "refresh": "Refresh Data"
  69. },
  70. "presetTitle": "Quick Presets (demonstrates updateCustomPreferences)",
  71. "presetButtons": {
  72. "default": "Reset Default",
  73. "compact": "Switch to Compact",
  74. "review": "Switch to Review"
  75. },
  76. "presetTitles": {
  77. "compact": "Compact Dashboard",
  78. "default": "Weekly Operations Overview",
  79. "review": "Review Dashboard"
  80. },
  81. "tones": {
  82. "default": "Default",
  83. "success": "Success",
  84. "warning": "Warning"
  85. },
  86. "owner": "Owner"
  87. },
  88. "preferencesExtensionConfig": {
  89. "tabLabel": "Playground Extension",
  90. "title": "Playground Business Preferences",
  91. "fields": {
  92. "reportTitle": {
  93. "label": "Report Title",
  94. "placeholder": "Please enter the report title"
  95. },
  96. "defaultVisibleRows": {
  97. "label": "Default Visible Rows",
  98. "tip": "Controls how many task items are rendered by default on the demo page."
  99. },
  100. "enableQuickActions": {
  101. "label": "Show Quick Actions"
  102. },
  103. "highlightTone": {
  104. "label": "Highlight Tone",
  105. "options": {
  106. "default": "Default",
  107. "success": "Success",
  108. "warning": "Warning"
  109. }
  110. }
  111. }
  112. },
  113. "breadcrumb": {
  114. "navigation": "Breadcrumb Navigation",
  115. "lateral": "Lateral Mode",
  116. "lateralDetail": "Lateral Mode Detail",
  117. "level": "Level Mode",
  118. "levelDetail": "Level Mode Detail"
  119. },
  120. "vben": {
  121. "title": "Project",
  122. "about": "About",
  123. "document": "Document",
  124. "antdv": "Ant Design Vue Version",
  125. "antdv-next": "Antdv Next Version",
  126. "naive-ui": "Naive UI Version",
  127. "element-plus": "Element Plus Version",
  128. "tdesign": "TDesign Vue Version"
  129. }
  130. }