@admin-layout/tailwind-design-pro 10.0.4-alpha.19

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 (161) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/lib/cdm-locales/en/common.json +30 -0
  4. package/lib/cdm-locales/en/menu.json +115 -0
  5. package/lib/cdm-locales/en/pages.json +56 -0
  6. package/lib/cdm-locales/en/settings.json +19 -0
  7. package/lib/cdm-locales/es/common.json +30 -0
  8. package/lib/cdm-locales/es/menu.json +115 -0
  9. package/lib/cdm-locales/es/pages.json +56 -0
  10. package/lib/cdm-locales/es/settings.json +19 -0
  11. package/lib/components/LanguageMenu/LanguageMenu.d.ts +2 -0
  12. package/lib/components/LanguageMenu/LanguageMenu.d.ts.map +1 -0
  13. package/lib/components/LanguageMenu/LanguageMenu.js +95 -0
  14. package/lib/components/LanguageMenu/LanguageMenu.js.map +1 -0
  15. package/lib/components/LanguageMenu/index.d.ts +2 -0
  16. package/lib/components/LanguageMenu/index.d.ts.map +1 -0
  17. package/lib/components/Layout/BasicLayout/index.d.ts +19 -0
  18. package/lib/components/Layout/BasicLayout/index.d.ts.map +1 -0
  19. package/lib/components/Layout/BasicLayout/index.js +203 -0
  20. package/lib/components/Layout/BasicLayout/index.js.map +1 -0
  21. package/lib/components/Layout/BasicLayout/utils.d.ts +14 -0
  22. package/lib/components/Layout/BasicLayout/utils.d.ts.map +1 -0
  23. package/lib/components/Layout/BasicLayout/utils.js +130 -0
  24. package/lib/components/Layout/BasicLayout/utils.js.map +1 -0
  25. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts +12 -0
  26. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.d.ts.map +1 -0
  27. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js +72 -0
  28. package/lib/components/Layout/GlobalFooter/BottomMenuDropdown.js.map +1 -0
  29. package/lib/components/Layout/GlobalFooter/Copyright.d.ts +5 -0
  30. package/lib/components/Layout/GlobalFooter/Copyright.d.ts.map +1 -0
  31. package/lib/components/Layout/GlobalFooter/Copyright.js +8 -0
  32. package/lib/components/Layout/GlobalFooter/Copyright.js.map +1 -0
  33. package/lib/components/Layout/GlobalFooter/Footer.d.ts +5 -0
  34. package/lib/components/Layout/GlobalFooter/Footer.d.ts.map +1 -0
  35. package/lib/components/Layout/GlobalFooter/Footer.js +22 -0
  36. package/lib/components/Layout/GlobalFooter/Footer.js.map +1 -0
  37. package/lib/components/Layout/GlobalHeader/Header.d.ts +18 -0
  38. package/lib/components/Layout/GlobalHeader/Header.d.ts.map +1 -0
  39. package/lib/components/Layout/GlobalHeader/Header.js +74 -0
  40. package/lib/components/Layout/GlobalHeader/Header.js.map +1 -0
  41. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts +16 -0
  42. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.d.ts.map +1 -0
  43. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js +73 -0
  44. package/lib/components/Layout/GlobalHeader/OrganizationDropdown.js.map +1 -0
  45. package/lib/components/Layout/GlobalHeader/RightContent.d.ts +18 -0
  46. package/lib/components/Layout/GlobalHeader/RightContent.d.ts.map +1 -0
  47. package/lib/components/Layout/GlobalHeader/styles.d.ts +2 -0
  48. package/lib/components/Layout/GlobalHeader/styles.d.ts.map +1 -0
  49. package/lib/components/Layout/ProTailwindLayout.d.ts +23 -0
  50. package/lib/components/Layout/ProTailwindLayout.d.ts.map +1 -0
  51. package/lib/components/Layout/ProTailwindLayout.js +95 -0
  52. package/lib/components/Layout/ProTailwindLayout.js.map +1 -0
  53. package/lib/components/Layout/Sidebar/Divider.d.ts +33 -0
  54. package/lib/components/Layout/Sidebar/Divider.d.ts.map +1 -0
  55. package/lib/components/Layout/Sidebar/Divider.js +47 -0
  56. package/lib/components/Layout/Sidebar/Divider.js.map +1 -0
  57. package/lib/components/Layout/Sidebar/Sidebar.d.ts +15 -0
  58. package/lib/components/Layout/Sidebar/Sidebar.d.ts.map +1 -0
  59. package/lib/components/Layout/Sidebar/Sidebar.js +139 -0
  60. package/lib/components/Layout/Sidebar/Sidebar.js.map +1 -0
  61. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts +6 -0
  62. package/lib/components/Layout/Sidebar/SidebarMenu.d.ts.map +1 -0
  63. package/lib/components/Layout/Sidebar/SidebarMenu.js +89 -0
  64. package/lib/components/Layout/Sidebar/SidebarMenu.js.map +1 -0
  65. package/lib/components/Layout/TailwindLayout.d.ts +12 -0
  66. package/lib/components/Layout/TailwindLayout.d.ts.map +1 -0
  67. package/lib/components/Layout/TailwindLayout.js +42 -0
  68. package/lib/components/Layout/TailwindLayout.js.map +1 -0
  69. package/lib/components/Layout/getPageTitle.d.ts +26 -0
  70. package/lib/components/Layout/getPageTitle.d.ts.map +1 -0
  71. package/lib/components/Layout/getPageTitle.js +56 -0
  72. package/lib/components/Layout/getPageTitle.js.map +1 -0
  73. package/lib/components/Layout/slot-fill/Footer.d.ts +4 -0
  74. package/lib/components/Layout/slot-fill/Footer.d.ts.map +1 -0
  75. package/lib/components/Layout/slot-fill/Footer.js +7 -0
  76. package/lib/components/Layout/slot-fill/Footer.js.map +1 -0
  77. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts +4 -0
  78. package/lib/components/Layout/slot-fill/HeaderNotice.d.ts.map +1 -0
  79. package/lib/components/Layout/slot-fill/index.d.ts +3 -0
  80. package/lib/components/Layout/slot-fill/index.d.ts.map +1 -0
  81. package/lib/components/Layout/util.d.ts +6 -0
  82. package/lib/components/Layout/util.d.ts.map +1 -0
  83. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts +8 -0
  84. package/lib/components/SettingDrawer/CheckBoxTheme.d.ts.map +1 -0
  85. package/lib/components/SettingDrawer/CheckBoxTheme.js +48 -0
  86. package/lib/components/SettingDrawer/CheckBoxTheme.js.map +1 -0
  87. package/lib/components/SettingDrawer/LayoutChange.d.ts +7 -0
  88. package/lib/components/SettingDrawer/LayoutChange.d.ts.map +1 -0
  89. package/lib/components/SettingDrawer/LayoutChange.js +69 -0
  90. package/lib/components/SettingDrawer/LayoutChange.js.map +1 -0
  91. package/lib/components/SettingDrawer/RegionalSettings.d.ts +8 -0
  92. package/lib/components/SettingDrawer/RegionalSettings.d.ts.map +1 -0
  93. package/lib/components/SettingDrawer/RegionalSettings.js +95 -0
  94. package/lib/components/SettingDrawer/RegionalSettings.js.map +1 -0
  95. package/lib/components/SettingDrawer/SettingDrawer.d.ts +27 -0
  96. package/lib/components/SettingDrawer/SettingDrawer.d.ts.map +1 -0
  97. package/lib/components/SettingDrawer/SettingDrawer.js +392 -0
  98. package/lib/components/SettingDrawer/SettingDrawer.js.map +1 -0
  99. package/lib/components/SettingDrawer/Switch/index.d.ts +9 -0
  100. package/lib/components/SettingDrawer/Switch/index.d.ts.map +1 -0
  101. package/lib/components/SettingDrawer/Switch/index.js +39 -0
  102. package/lib/components/SettingDrawer/Switch/index.js.map +1 -0
  103. package/lib/components/SettingDrawer/ThemeColor.d.ts +8 -0
  104. package/lib/components/SettingDrawer/ThemeColor.d.ts.map +1 -0
  105. package/lib/components/SettingDrawer/ThemeColor.js +32 -0
  106. package/lib/components/SettingDrawer/ThemeColor.js.map +1 -0
  107. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.d.ts +2 -0
  108. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.d.ts.map +1 -0
  109. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.js +1 -0
  110. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.js.map +1 -0
  111. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts +6 -0
  112. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.d.ts.map +1 -0
  113. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.js +4 -0
  114. package/lib/components/UpdateSettingsResource/UpdateSettingsResource.server.js.map +1 -0
  115. package/lib/components/defaultSettings.d.ts +4 -0
  116. package/lib/components/defaultSettings.d.ts.map +1 -0
  117. package/lib/components/defaultSettings.js +14 -0
  118. package/lib/components/defaultSettings.js.map +1 -0
  119. package/lib/components/typings.d.ts +73 -0
  120. package/lib/components/typings.d.ts.map +1 -0
  121. package/lib/compute.d.ts +4 -0
  122. package/lib/compute.d.ts.map +1 -0
  123. package/lib/compute.js +36 -0
  124. package/lib/compute.js.map +1 -0
  125. package/lib/config/env-config.d.ts +4 -0
  126. package/lib/config/env-config.d.ts.map +1 -0
  127. package/lib/config/env-config.js +7 -0
  128. package/lib/config/env-config.js.map +1 -0
  129. package/lib/helpers/DynamicIcon.d.ts +12 -0
  130. package/lib/helpers/DynamicIcon.d.ts.map +1 -0
  131. package/lib/index.d.ts +7 -0
  132. package/lib/index.d.ts.map +1 -0
  133. package/lib/index.js +2 -0
  134. package/lib/index.js.map +1 -0
  135. package/lib/index.server.d.ts +2 -0
  136. package/lib/index.server.d.ts.map +1 -0
  137. package/lib/index.server.js +1 -0
  138. package/lib/index.server.js.map +1 -0
  139. package/lib/module.d.ts +6 -0
  140. package/lib/module.d.ts.map +1 -0
  141. package/lib/module.js +22 -0
  142. package/lib/module.js.map +1 -0
  143. package/lib/routes.json +41 -0
  144. package/lib/styles/index.css +51 -0
  145. package/lib/utils/index.d.ts +2 -0
  146. package/lib/utils/index.d.ts.map +1 -0
  147. package/lib/utils/index.js +13 -0
  148. package/lib/utils/index.js.map +1 -0
  149. package/lib/utils/isBrowser/index.d.ts +3 -0
  150. package/lib/utils/isBrowser/index.d.ts.map +1 -0
  151. package/lib/utils/isBrowser/index.js +7 -0
  152. package/lib/utils/isBrowser/index.js.map +1 -0
  153. package/lib/utils/menu.d.ts +4 -0
  154. package/lib/utils/menu.d.ts.map +1 -0
  155. package/lib/utils/test-utils.d.ts +12 -0
  156. package/lib/utils/test-utils.d.ts.map +1 -0
  157. package/lib/utils/utils/index.d.ts +14 -0
  158. package/lib/utils/utils/index.d.ts.map +1 -0
  159. package/lib/utils/utils/index.js +3 -0
  160. package/lib/utils/utils/index.js.map +1 -0
  161. package/package.json +65 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2017 CDMBase LLC.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # Tailwind UI
@@ -0,0 +1,30 @@
1
+ {
2
+ "languages": "Languages",
3
+ "help": "Help",
4
+ "privacy": "Privacy",
5
+ "terms": "Terms",
6
+ "download_block": "Download this page to your local project",
7
+ "get_all_blocks": "Get all blocks",
8
+ "block_list": "Quickly build standard, pages based on `block` development",
9
+ "expand": "Expand",
10
+ "collapse": "Collapse",
11
+ "all": "All",
12
+ "search": "Search",
13
+ "search_example1": "Search example 1",
14
+ "search_example2": "Search example 2",
15
+ "search_example3": "Search example 3",
16
+ "notification": "Notification",
17
+ "notification_empty": "You have viewed all notifications.",
18
+ "message": "Message",
19
+ "message_empty": "You have viewed all messsages.",
20
+ "event": "Event",
21
+ "event_empty": "You have viewed all events.",
22
+ "clear": "Clear",
23
+ "cleared": "Cleared",
24
+ "no_notification": "No notifications",
25
+ "view_more": "View more",
26
+ "offline": "You are offline now",
27
+ "serviceworker_updated": "New content is available",
28
+ "serviceworker_updated_hint": "Please press the \"Refresh\" button to reload current page",
29
+ "refresh": "Refresh"
30
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "menu": {
3
+ "welcome": "Welcome",
4
+ "more_blocks": "More Blocks",
5
+ "home": "Home",
6
+ "admin": "Admin",
7
+ "admin_sub-page": "Sub-Page",
8
+ "login": "Login",
9
+ "register": "Register",
10
+ "register_result": "Register Result",
11
+ "dashboard": "Dashboard",
12
+ "analysis": "Analysis",
13
+ "monitor": "Monitor",
14
+ "workplace": "Workplace",
15
+ "form": "Form",
16
+ "basic_form": "Basic Form",
17
+ "step_form": "Step Form",
18
+ "step_form_info": "Step Form(write transfer information)",
19
+ "step_form_confirm": "Step Form(confirm transfer information)",
20
+ "step_form_result": "Step Form(finished)",
21
+ "advanced_form": "Advanced Form",
22
+ "list": "List",
23
+ "search_table": "Search Table",
24
+ "basic_list": "Basic List",
25
+ "card_list": "Card List",
26
+ "search_list": "Search List",
27
+ "search_list_articles": "Search List(articles)",
28
+ "search_list_projects": "Search List(projects)",
29
+ "search_list_applications": "Search List(applications)",
30
+ "profile": "Profile",
31
+ "profile_basic": "Basic Profile",
32
+ "profile_advanced": "Advanced Profile",
33
+ "result": "Result",
34
+ "success": "Success",
35
+ "fail": "Fail",
36
+ "trigger": "Trigger",
37
+ "account": "Account",
38
+ "account_center": "Account Center",
39
+ "account_settings": "Account Settings",
40
+ "trigger_error": "Trigger Error",
41
+ "Logout": "Logout",
42
+ "editor": "Graphic Editor",
43
+ "editor_flow": "Flow Editor",
44
+ "editor_mind": "Mind Editor",
45
+ "editor_koni": "Koni Editor",
46
+ "one_time_payment": "One Time Payment",
47
+ "preference": "Preference",
48
+ "policy": "Policy",
49
+ "roles": "Roles",
50
+ "settings": "Settings",
51
+ "teams": "Teams",
52
+ "members": "Members",
53
+ "invites": "Invites",
54
+ "members_list": "Members List",
55
+ "organization_name": "Organization Name",
56
+ "organization_create": "Organization Create",
57
+ "switch_organization": "Switch Organization",
58
+ "user": "User",
59
+ "collaborators": "Collaborators",
60
+ "integration": "Integration",
61
+ "tokens": "Tokens",
62
+ "billing_setting": "Billing Setting",
63
+ "navbar": "Navbar",
64
+ "new_updates": "New Updates",
65
+ "my_account": "My Account",
66
+ "user_profile": "User Profile",
67
+ "sign_out": "Sign Out",
68
+ "notifications": "Notifications",
69
+ "integrations": "Integrations",
70
+ "marketplace": "Marketplace",
71
+ "team": "Team",
72
+ "team_workspaces": "Team Workspaces",
73
+ "projects": "Projects",
74
+ "tasks": "Tasks",
75
+ "tags": "Tags",
76
+ "clients": "Clients",
77
+ "invoices": "Invoices",
78
+ "payments": "Payments",
79
+ "payments_history": "Payments History",
80
+ "usermenu": "User Menu",
81
+ "accounts": "Accounts",
82
+ "api_management": "API Management",
83
+ "billing": "Billing",
84
+ "profile_settings": "Profile Settings",
85
+ "generate_access_token": "Generate Access Token",
86
+ "access_tokens": "Access Tokens",
87
+ "integration_configuration": "Integration Configuration",
88
+ "extension": "Extension",
89
+ "calender": "Calender",
90
+ "calendar_temporal": "calendar-temporal",
91
+ "calender_antd": "calender-antd",
92
+ "exception": "Exception",
93
+ "exception_403": "exception-403",
94
+ "exception_404": "exception-404",
95
+ "exception_500": "exception-500",
96
+ "health": "Health",
97
+ "cervical_vertebra": "Cervical-vertebra",
98
+ "vision": "Vision",
99
+ "hand": "Hand",
100
+ "obesity": "Obesity",
101
+ "anxiety_depression": "Anxiety-depression",
102
+ "sleep": "Sleep",
103
+ "sport": "Sport",
104
+ "result_success": "Result Success",
105
+ "result_fail": "Result Fail",
106
+ "system": "System",
107
+ "role": "Role",
108
+ "menu": "Menu",
109
+ "dept": "Dept",
110
+ "dict": "Dict",
111
+ "config": "Config",
112
+ "system_log": "System Log",
113
+ "login_info": "Login Info"
114
+ }
115
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "pages": {
3
+ "layout": {
4
+ "userLayout_title": "Ant Design is the most influential web design specification in Xihu district"
5
+ },
6
+ "welcome": {
7
+ "advanced_component": "Advanced Component",
8
+ "welcome": "Welcome",
9
+ "advanced_layout": "Advanced Layout",
10
+ "alert_message": "Faster and stronger heavy-duty components have been released."
11
+ },
12
+ "admin": {
13
+ "sub_page_title": "This page can only be viewed by Admin",
14
+ "sub_page_alert_message": "Umi ui is now released, welcome to use npm run ui to start the experience."
15
+ },
16
+ "login": {
17
+ "account_login": "Account Login",
18
+ "error_message": "Incorrect username/password(admin/ant.design)",
19
+ "username_placeholder": "Username: admin or user",
20
+ "username_required": "Please input your username!",
21
+ "password_placeholder": "Password: ant.design",
22
+ "password_required": "Please input your password!",
23
+ "phone_login": "Phone Login",
24
+ "phone_login.error_message": "Verification Code Error",
25
+ "phone_number": "Phone Number",
26
+ "phone_number_required": "Please input your phone number!",
27
+ "phone_number_invalid": "Phone number is invalid!",
28
+ "captcha_placeholder": "Verification Code",
29
+ "captcha_required": "Please input verification code!",
30
+ "get_code": "Get Code",
31
+ "time_secs": "sec(s)",
32
+ "remember_me": "Remember me",
33
+ "forgot_password": "Forgot Password ?",
34
+ "submit": "Submit",
35
+ "login_with": "Login with :",
36
+ "register_account": "Register Account"
37
+ },
38
+ "search_table": {
39
+ "new_rule": "New Rule",
40
+ "rule_configuration": "Rule configuration",
41
+ "basic_information": "Basic Information",
42
+ "rule_name": "Rule Name",
43
+ "rule_name_placeholder": "Please enter the rule name!",
44
+ "rule_description": "Rule Description",
45
+ "rule_description_placeholder": "Please enter at least five characters",
46
+ "desc_rules": "Please enter a rule description of at least five characters!",
47
+ "configure_properties": "Configure Properties",
48
+ "monitoring_object": "Monitoring Object",
49
+ "rule_template": "Rule Template",
50
+ "rule_type": "Rule Type",
51
+ "scheduling_period_title": "Set Scheduling Period",
52
+ "starting_time": "Starting Time",
53
+ "scheduling_period_time_rules": "Please choose a start time!"
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "fixed_header": "Fixed Header",
3
+ "fixed_sidebar": "Fixed Sidebar",
4
+ "split_menus": "Split Menus",
5
+ "header": "Header",
6
+ "footer": "Footer",
7
+ "search_bar": "Search Bar",
8
+ "menu": "Menu",
9
+ "menu_header": "Menu Header",
10
+ "setting": "Setting",
11
+ "page_style_settings": "Page Style Settings",
12
+ "theme_color": "Theme Color",
13
+ "navigation_mode": "Navigation Mode",
14
+ "regional_rettings": "Regional Settings",
15
+ "other_setting": "Other Setting",
16
+ "weak_mode": "Weak Mode",
17
+ "light": "Light",
18
+ "dark": "Dark"
19
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "languages": "Idiomas",
3
+ "help": "Ayuda",
4
+ "privacy": "Privacidad",
5
+ "terms": "Términos",
6
+ "download_block": "Descarga esta página a tu proyecto local",
7
+ "get_all_blocks": "Obtener todos los bloques",
8
+ "block_list": "Construye rápidamente páginas estándar basadas en el desarrollo de `bloques`",
9
+ "expand": "Expandir",
10
+ "collapse": "Colapsar",
11
+ "all": "Todo",
12
+ "search": "Buscar",
13
+ "search_example1": "Buscar ejemplo 1",
14
+ "search_example2": "Buscar ejemplo 2",
15
+ "search_example3": "Buscar ejemplo 3",
16
+ "notification": "Notificación",
17
+ "notification_empty": "Has visto todas las notificaciones.",
18
+ "message": "Mensaje",
19
+ "message_empty": "Has visto todos los mensajes.",
20
+ "event": "Evento",
21
+ "event_empty": "Has visto todos los eventos.",
22
+ "clear": "Limpiar",
23
+ "cleared": "Limpiado",
24
+ "no_notification": "No hay notificaciones",
25
+ "view_more": "Ver más",
26
+ "offline": "Estás desconectado ahora",
27
+ "serviceworker_updated": "Nuevo contenido está disponible",
28
+ "serviceworker_updated_hint": "Por favor presiona el botón \"Actualizar\" para recargar la página actual",
29
+ "refresh": "Actualizar"
30
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "menu": {
3
+ "welcome": "Bienvenido",
4
+ "more_blocks": "Más Bloques",
5
+ "home": "Inicio",
6
+ "admin": "Admin",
7
+ "admin_sub-page": "Subpágina",
8
+ "login": "Iniciar Sesión",
9
+ "register": "Registrarse",
10
+ "register_result": "Resultado de Registro",
11
+ "dashboard": "Tablero",
12
+ "analysis": "Análisis",
13
+ "monitor": "Monitor",
14
+ "workplace": "Lugar de Trabajo",
15
+ "form": "Formulario",
16
+ "basic_form": "Formulario Básico",
17
+ "step_form": "Formulario por Pasos",
18
+ "step_form_info": "Formulario por Pasos (escribir información de transferencia)",
19
+ "step_form_confirm": "Formulario por Pasos (confirmar información de transferencia)",
20
+ "step_form_result": "Formulario por Pasos (finalizado)",
21
+ "advanced_form": "Formulario Avanzado",
22
+ "list": "Lista",
23
+ "search_table": "Tabla de Búsqueda",
24
+ "basic_list": "Lista Básica",
25
+ "card_list": "Lista de Tarjetas",
26
+ "search_list": "Lista de Búsqueda",
27
+ "search_list_articles": "Lista de Búsqueda (artículos)",
28
+ "search_list_projects": "Lista de Búsqueda (proyectos)",
29
+ "search_list_applications": "Lista de Búsqueda (aplicaciones)",
30
+ "profile": "Perfil",
31
+ "profile_basic": "Perfil Básico",
32
+ "profile_advanced": "Perfil Avanzado",
33
+ "result": "Resultado",
34
+ "success": "Éxito",
35
+ "fail": "Fallo",
36
+ "trigger": "Disparar",
37
+ "account": "Cuenta",
38
+ "account_center": "Centro de Cuentas",
39
+ "account_settings": "Configuración de Cuenta",
40
+ "trigger_error": "Disparar Error",
41
+ "Logout": "Cerrar Sesión",
42
+ "editor": "Editor Gráfico",
43
+ "editor_flow": "Editor de Flujo",
44
+ "editor_mind": "Editor de Mente",
45
+ "editor_koni": "Editor Koni",
46
+ "one_time_payment": "Pago Único",
47
+ "preference": "Preferencia",
48
+ "policy": "Política",
49
+ "roles": "Roles",
50
+ "settings": "Configuraciones",
51
+ "teams": "Equipos",
52
+ "members": "Miembros",
53
+ "invites": "Invitaciones",
54
+ "members_list": "Lista de Miembros",
55
+ "organization_name": "Nombre de la Organización",
56
+ "organization_create": "Crear Organización",
57
+ "switch_organization": "Cambiar Organización",
58
+ "user": "Usuario",
59
+ "collaborators": "Colaboradores",
60
+ "integration": "Integración",
61
+ "tokens": "Tokens",
62
+ "billing_setting": "Configuración de Facturación",
63
+ "navbar": "Barra de Navegación",
64
+ "new_updates": "Nuevas Actualizaciones",
65
+ "my_account": "Mi Cuenta",
66
+ "user_profile": "Perfil de Usuario",
67
+ "sign_out": "Cerrar Sesión",
68
+ "notifications": "Notificaciones",
69
+ "integrations": "Integraciones",
70
+ "marketplace": "Mercado",
71
+ "team": "Equipo",
72
+ "team_workspaces": "Espacios de Trabajo del Equipo",
73
+ "projects": "Proyectos",
74
+ "tasks": "Tareas",
75
+ "tags": "Etiquetas",
76
+ "clients": "Clientes",
77
+ "invoices": "Facturas",
78
+ "payments": "Pagos",
79
+ "payments_history": "Historial de Pagos",
80
+ "usermenu": "Menú de Usuario",
81
+ "accounts": "Cuentas",
82
+ "api_management": "Gestión de API",
83
+ "billing": "Facturación",
84
+ "profile_settings": "Configuraciones de Perfil",
85
+ "generate_access_token": "Generar Token de Acceso",
86
+ "access_tokens": "Tokens de Acceso",
87
+ "integration_configuration": "Configuración de Integración",
88
+ "extension": "Extensión",
89
+ "calender": "Calendario",
90
+ "calendar_temporal": "calendario-temporal",
91
+ "calender_antd": "calendario-antd",
92
+ "exception": "Excepción",
93
+ "exception_403": "excepción-403",
94
+ "exception_404": "excepción-404",
95
+ "exception_500": "excepción-500",
96
+ "health": "Salud",
97
+ "cervical_vertebra": "Vertebra Cervical",
98
+ "vision": "Visión",
99
+ "hand": "Mano",
100
+ "obesity": "Obesidad",
101
+ "anxiety_depression": "Ansiedad-depresión",
102
+ "sleep": "Sueño",
103
+ "sport": "Deporte",
104
+ "result_success": "Resultado Éxito",
105
+ "result_fail": "Resultado Fallo",
106
+ "system": "Sistema",
107
+ "role": "Rol",
108
+ "menu": "Menú",
109
+ "dept": "Departamento",
110
+ "dict": "Diccionario",
111
+ "config": "Configuración",
112
+ "system_log": "Registro del Sistema",
113
+ "login_info": "Información de Inicio de Sesión"
114
+ }
115
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "pages": {
3
+ "layout": {
4
+ "userLayout_title": "Ant Design es la especificación de diseño web más influyente en el distrito de Xihu"
5
+ },
6
+ "welcome": {
7
+ "advanced_component": "Componente Avanzado",
8
+ "welcome": "Bienvenido",
9
+ "advanced_layout": "Diseño Avanzado",
10
+ "alert_message": "Se han lanzado componentes pesados más rápidos y fuertes."
11
+ },
12
+ "admin": {
13
+ "sub_page_title": "Esta página solo puede ser vista por Administradores",
14
+ "sub_page_alert_message": "Umi ui ha sido lanzado, bienvenido a usar npm run ui para comenzar la experiencia."
15
+ },
16
+ "login": {
17
+ "account_login": "Inicio de Sesión con Cuenta",
18
+ "error_message": "Nombre de usuario/contraseña incorrectos (admin/ant.design)",
19
+ "username_placeholder": "Nombre de usuario: admin o user",
20
+ "username_required": "¡Por favor ingresa tu nombre de usuario!",
21
+ "password_placeholder": "Contraseña: ant.design",
22
+ "password_required": "¡Por favor ingresa tu contraseña!",
23
+ "phone_login": "Inicio de Sesión con Teléfono",
24
+ "phone_login.error_message": "Error en el Código de Verificación",
25
+ "phone_number": "Número de Teléfono",
26
+ "phone_number_required": "¡Por favor ingresa tu número de teléfono!",
27
+ "phone_number_invalid": "¡Número de teléfono no válido!",
28
+ "captcha_placeholder": "Código de Verificación",
29
+ "captcha_required": "¡Por favor ingresa el código de verificación!",
30
+ "get_code": "Obtener Código",
31
+ "time_secs": "seg(s)",
32
+ "remember_me": "Recuérdame",
33
+ "forgot_password": "¿Olvidaste la Contraseña?",
34
+ "submit": "Enviar",
35
+ "login_with": "Iniciar sesión con:",
36
+ "register_account": "Registrar Cuenta"
37
+ },
38
+ "search_table": {
39
+ "new_rule": "Nueva Regla",
40
+ "rule_configuration": "Configuración de Regla",
41
+ "basic_information": "Información Básica",
42
+ "rule_name": "Nombre de la Regla",
43
+ "rule_name_placeholder": "¡Por favor ingresa el nombre de la regla!",
44
+ "rule_description": "Descripción de la Regla",
45
+ "rule_description_placeholder": "Por favor ingresa al menos cinco caracteres",
46
+ "desc_rules": "¡Por favor ingresa una descripción de la regla de al menos cinco caracteres!",
47
+ "configure_properties": "Configurar Propiedades",
48
+ "monitoring_object": "Objeto de Monitoreo",
49
+ "rule_template": "Plantilla de Regla",
50
+ "rule_type": "Tipo de Regla",
51
+ "scheduling_period_title": "Establecer Período de Programación",
52
+ "starting_time": "Hora de Inicio",
53
+ "scheduling_period_time_rules": "¡Por favor elige una hora de inicio!"
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "fixed_header": "Encabezado Fijo",
3
+ "fixed_sidebar": "Barra Lateral Fija",
4
+ "split_menus": "Menús Divididos",
5
+ "header": "Encabezado",
6
+ "footer": "Pie de Página",
7
+ "search_bar": "Barra de Búsqueda",
8
+ "menu": "Menú",
9
+ "menu_header": "Encabezado del Menú",
10
+ "setting": "Configuración",
11
+ "page_style_settings": "Configuraciones de Estilo de Página",
12
+ "theme_color": "Color del Tema",
13
+ "navigation_mode": "Modo de Navegación",
14
+ "regional_rettings": "Configuraciones Regionales",
15
+ "other_setting": "Otra Configuración",
16
+ "weak_mode": "Modo Débil",
17
+ "light": "Claro",
18
+ "dark": "Oscuro"
19
+ }
@@ -0,0 +1,2 @@
1
+ export declare const LanguageMenu: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=LanguageMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LanguageMenu.d.ts","sourceRoot":"","sources":["../../../src/components/LanguageMenu/LanguageMenu.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,+CA6FxB,CAAC"}
@@ -0,0 +1,95 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect}from'react';import {useTranslation}from'react-i18next';import {useMediaQuery}from'react-responsive';import {useAppDispatch,languages,CHANGE_LANGUAGE}from'@admin-layout/client';import config from'@app/cde-webconfig.json';const LanguageMenu = () => {
2
+ const isMobile = useMediaQuery({
3
+ maxWidth: 767
4
+ });
5
+ const [locale, setLocale] = useState('en');
6
+ const dispatch = useAppDispatch();
7
+ const {
8
+ i18n
9
+ } = useTranslation();
10
+ const {
11
+ i18n: i18nextInstance
12
+ } = config;
13
+ const [currentLang, setCurrentLang] = useState({
14
+ key: 'en',
15
+ label: 'English',
16
+ flag: '🇬🇧',
17
+ global: true
18
+ });
19
+ const [isOpen, setIsOpen] = useState(false);
20
+ const dropdownRef = useRef(null);
21
+ const filteredLanguages = languages.filter(language => i18nextInstance.supportedLngs.includes(language.key));
22
+ useEffect(() => {
23
+ dispatch({
24
+ type: CHANGE_LANGUAGE,
25
+ payload: locale
26
+ });
27
+ }, [locale, dispatch]);
28
+ useEffect(() => {
29
+ const handleClickOutside = event => {
30
+ if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
31
+ setIsOpen(false);
32
+ }
33
+ };
34
+ document.addEventListener('mousedown', handleClickOutside);
35
+ return () => {
36
+ document.removeEventListener('mousedown', handleClickOutside);
37
+ };
38
+ }, []);
39
+ const handleLanguageChange = language => {
40
+ setCurrentLang({
41
+ key: language.key,
42
+ label: language.label,
43
+ flag: language.flag,
44
+ global: language.global
45
+ });
46
+ i18n.changeLanguage(language.key);
47
+ setLocale(language.key);
48
+ setIsOpen(false);
49
+ };
50
+ const toggleDropdown = () => {
51
+ setIsOpen(!isOpen);
52
+ };
53
+ return jsxs("div", {
54
+ className: "relative",
55
+ ref: dropdownRef,
56
+ children: [jsxs("button", {
57
+ onClick: toggleDropdown,
58
+ className: "flex items-center gap-1 px-3 py-1 border border-gray-500 rounded-full h-9 hover:bg-gray-100 transition-colors duration-200",
59
+ children: [currentLang.global ? jsx("svg", {
60
+ className: "w-5 h-5",
61
+ fill: "currentColor",
62
+ viewBox: "0 0 24 24",
63
+ children: jsx("path", {
64
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"
65
+ })
66
+ }) : jsx("span", {
67
+ className: "text-lg",
68
+ children: currentLang.flag
69
+ }), jsx("span", {
70
+ className: "text-sm font-medium",
71
+ children: isMobile ? currentLang.key.toUpperCase() : currentLang.label
72
+ })]
73
+ }), isOpen && jsx("div", {
74
+ className: "absolute right-0 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-10 w-40 max-h-60 overflow-y-auto",
75
+ children: filteredLanguages.map(language => jsxs("div", {
76
+ className: "px-4 py-2 flex items-center gap-2 hover:bg-gray-100 cursor-pointer",
77
+ onClick: () => handleLanguageChange(language),
78
+ children: [language.global ? jsx("svg", {
79
+ className: "w-4 h-4",
80
+ fill: "currentColor",
81
+ viewBox: "0 0 24 24",
82
+ children: jsx("path", {
83
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"
84
+ })
85
+ }) : jsx("span", {
86
+ className: "text-base",
87
+ children: language.flag
88
+ }), jsx("span", {
89
+ className: "text-sm",
90
+ children: isMobile ? language.key : language.label
91
+ })]
92
+ }, `lang_${language.key}`))
93
+ })]
94
+ });
95
+ };export{LanguageMenu};//# sourceMappingURL=LanguageMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LanguageMenu.js","sources":["../../../src/components/LanguageMenu/LanguageMenu.tsx"],"sourcesContent":[null],"names":[],"mappings":"uSAOO,MAAM,YAAY,GAAG,MAAK;QACvB,QAAA,GAAW,aAAA,CAAA;IACjB,QAAa,EAAA;AACb,GAAA,CAAA;AACA,EAAA,MAAA,CAAA,MAAY,EAAA,SAAK,CAAA,GAAA,QAAiB,CAAA,IAAA,CAAA;AAClC,EAAA,MAAA,QAAY,iBAAiB,EAAE;AAC/B,EAAA,MAAA;AACI,IAAA;AACA,GAAA,GAAA,cAAgB,EAAA;AAChB,EAAA,MAAA;AACA,IAAA,IAAA,EAAA;AACH,GAAA,GAAC,MAAC;QACG,CAAA,WAAkB,EAAA,cAAY,CAAA,GAAA,QAAQ,CAAA;AAC5C,IAAA,GAAA,EAAA;IAEA,KAAM,EAAA,SAAA;IAEN,IAAS,EAAA;AACL,IAAA,MAAA,EAAA;AACI,GAAA,CAAA;AACA,EAAA,MAAA,CAAA,MAAA,EAAA,SAAe,CAAA,GAAA,QAAA,CAAA,KAAA,CAAA;AAClB,EAAA,MAAA,WAAE,GAAA,MAAA,CAAA,IAAA,CAAA;AACP,EAAA,MAAI,iBAAiB,GAAE,SAAA,CAAA,MAAA,CAAA,QAAA,IAAA,eAAA,CAAA,aAAA,CAAA,QAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA;WAEd,CAAA,MAAM;AACX,IAAA,QAAA,CAAA;AACI,MAAA,IAAA,EAAA,eAAe;;;AAGnB,GAAA,EAAA,CAAA,MAAE,EAAA,QAAA,CAAA,CAAA;AAEF,EAAA,SAAA,CAAA,MAAyB;AACzB,IAAA,MAAA,kBAAY,GAAA,KAAA,IAAA;AACR,MAAA,IAAA,WAAS,CAAmB,OAAA,IAAA,CAAA,mBAAc,CAAA,QAAA,CAAA,KAAA,CAAA,MAAoB,CAAA,EAAA;AAClE,QAAA,SAAE,CAAA,KAAA,CAAA;;AAGN,KAAA;AACI,IAAA,QAAA,CAAA,gBAAe,CAAA,WAAA,EAAA,kBAAA,CAAA;iBACN;cACA,CAAA,mBAAgB,CAAA,WAAA,EAAA,kBAAA,CAAA;;;AAGxB,EAAA,MAAA,oBAAE,GAAA,QAAA,IAAA;AACH,IAAA,cAAmB,CAAA;AACnB,MAAA,GAAA,EAAA,QAAU,CAAA,GAAA;WACD,EAAA,QAAM,CAAA,KAAE;AACrB,MAAE,IAAA,EAAA,QAAA,CAAA,IAAA;MAEI,MAAA,EAAA,QAAA,CAAA;AACF,KAAA,CAAA;AACJ,IAAA,IAAE,CAAA,cAAA,CAAA,QAAA,CAAA,GAAA,CAAA;IAEF,uBACS;AAuCb,IAAE,SAAA,CAAA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from './LanguageMenu';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LanguageMenu/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { BasicLayoutProps, GlobalHeaderProps } from '@admin-layout/client';
3
+ interface ThemeContextType {
4
+ isDarkMode: boolean;
5
+ toggleTheme: () => void;
6
+ }
7
+ export declare const useTheme: () => ThemeContextType;
8
+ export declare const useHorizontalScroll: ({ scrolled, setScrolled, setSearchOptionsShown, onScrollReachEnd }: {
9
+ scrolled: any;
10
+ setScrolled: any;
11
+ setSearchOptionsShown: any;
12
+ onScrollReachEnd: any;
13
+ }) => React.MutableRefObject<undefined>;
14
+ export declare const BasicLayout: React.FC<BasicLayoutProps & GlobalHeaderProps & {
15
+ routeParams?: any;
16
+ children?: React.ReactNode;
17
+ }>;
18
+ export {};
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/BasicLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAOtF,OAAO,EACH,gBAAgB,EAGhB,iBAAiB,EAEpB,MAAM,sBAAsB,CAAC;AAK9B,UAAU,gBAAgB;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;CAC3B;AAID,eAAO,MAAM,QAAQ,wBAIpB,CAAC;AACF,eAAO,MAAM,mBAAmB;;;;;uCA6B/B,CAAC;AAgCF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAC9B,gBAAgB,GAAG,iBAAiB,GAAG;IAAE,WAAW,CAAC,EAAE,GAAG,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CA4I3F,CAAC"}