@dashadmin/dash-admin 1.3.72 → 1.3.74-srcfree.1

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 (289) hide show
  1. package/dist/components/tenant/TenancyPlan.js +307 -0
  2. package/dist/systemResources.js +18 -2
  3. package/package.json +25 -22
  4. package/src/AppAsyncWrapper.tsx +0 -42
  5. package/src/AppWrapper.tsx +0 -45
  6. package/src/DASHAdmin.tsx +0 -502
  7. package/src/DASHAdmin.tsx.old +0 -456
  8. package/src/RoutingWrapper.tsx +0 -143
  9. package/src/classes/DASHStorageClass.tsx +0 -8
  10. package/src/components/Input/RichTextField.tsx +0 -27
  11. package/src/components/Redirect.tsx +0 -46
  12. package/src/components/avatar/Avatar.tsx +0 -71
  13. package/src/components/avatar/SingleImageUploader.tsx +0 -107
  14. package/src/components/currency/Format.tsx +0 -79
  15. package/src/components/custom/Redirect.tsx +0 -23
  16. package/src/components/error/Error.tsx +0 -168
  17. package/src/components/geocoding/GeocodingField.tsx +0 -167
  18. package/src/components/i18n/BridgedLocalesMenuButton.tsx +0 -160
  19. package/src/components/i18n/LangSwitcher.tsx +0 -204
  20. package/src/components/loader/GlobalLoader.tsx +0 -49
  21. package/src/components/logs/LogFile.tsx +0 -88
  22. package/src/components/logs/LogFileById.tsx +0 -68
  23. package/src/components/logs/LogViewer.tsx +0 -43
  24. package/src/components/menu/AppMenu.tsx +0 -22
  25. package/src/components/menu/CustomMenuItemLink.tsx +0 -61
  26. package/src/components/menu/DarkToggleMode.tsx +0 -65
  27. package/src/components/menu/LanguageToggleMode.tsx +0 -120
  28. package/src/components/misc/CustomImageInput.tsx +0 -62
  29. package/src/components/misc/DASHGlobalErrorHandler.tsx +0 -194
  30. package/src/components/misc/DarkModeSwitcher.tsx +0 -112
  31. package/src/components/misc/HorizontalScroller.tsx +0 -225
  32. package/src/components/misc/LanguageSwitcher.tsx +0 -199
  33. package/src/components/misc/MUIHtmlToolTip.tsx +0 -15
  34. package/src/components/misc/MuiSimpleJsonTable.tsx +0 -279
  35. package/src/components/misc/MultiLevelTable.tsx +0 -229
  36. package/src/components/misc/NoResults.tsx +0 -28
  37. package/src/components/misc/PDFViewer.tsx +0 -85
  38. package/src/components/navigation/Breadcrumbs.tsx +0 -220
  39. package/src/components/navigation/BreadcrumbsManager.tsx +0 -310
  40. package/src/components/navigation/index.tsx +0 -5
  41. package/src/components/panel/Error.tsx +0 -168
  42. package/src/components/permission/AvailablePermissionsContext.tsx +0 -173
  43. package/src/components/permission/PermissionsSelector.tsx +0 -834
  44. package/src/components/permission/PermissionsSelectorList.tsx +0 -473
  45. package/src/components/permission/tsx +0 -0
  46. package/src/components/racustombuttons/CustomRAButton.tsx +0 -87
  47. package/src/components/racustombuttons/QuickButton.tsx +0 -117
  48. package/src/components/racustombuttons/QuickEditButton.tsx +0 -115
  49. package/src/components/racustombuttons/QuickIconButton.tsx +0 -122
  50. package/src/components/scrollbar/Scrollbar.tsx +0 -31
  51. package/src/components/selects/MultiSelect.tsx +0 -53
  52. package/src/components/selects/RASearchableSelect.tsx +0 -282
  53. package/src/components/selects/RASearchableSelectChips.tsx +0 -308
  54. package/src/components/selects/SearchableSelect.tsx +0 -139
  55. package/src/components/serviceAccount/ApiKeyRevealDialog.tsx +0 -129
  56. package/src/components/serviceAccount/ServiceAccountStatusSwitch.tsx +0 -99
  57. package/src/components/subscription/BillingCycleSelectInput.tsx +0 -68
  58. package/src/components/subscription/PlanAddonsSettings.tsx +0 -563
  59. package/src/components/subscription/PlanAuditLog.tsx +0 -453
  60. package/src/components/subscription/PlanFeaturesSettings.tsx +0 -243
  61. package/src/components/subscription/PlanLimitsSettings.tsx +0 -230
  62. package/src/components/subscription/PlanMetadataSettings.tsx +0 -306
  63. package/src/components/subscription/PlanPricesSettings.tsx +0 -307
  64. package/src/components/subscription/index.ts +0 -7
  65. package/src/components/svgelements/SvgLoading.tsx +0 -229
  66. package/src/components/svgelements/SvgLogo.tsx +0 -53
  67. package/src/components/svgelements/SvgLogoMin.tsx +0 -64
  68. package/src/components/svgelements/SvgShipping.tsx +0 -673
  69. package/src/components/tenancy/GlobalTenantWrapper.tsx +0 -84
  70. package/src/components/tenancy/TenantSwitcher.tsx +0 -514
  71. package/src/components/tenant/AvailablePermissionsContext.tsx +0 -0
  72. package/src/components/tenant/SettingsSections.tsx +0 -151
  73. package/src/components/tenant/TenancySettings.tsx +0 -122
  74. package/src/components/tenant/TenantAttributes.tsx +0 -153
  75. package/src/components/tenant/TenantAttributesContext.tsx +0 -163
  76. package/src/components/tenant/TenantSelector.tsx +0 -142
  77. package/src/components/tenant/TenantSettings.tsx +0 -184
  78. package/src/components/tenant/TenantSettingsContext.tsx +0 -165
  79. package/src/components/tenant/TenantTheme.tsx +0 -172
  80. package/src/components/user/AvatarComponent.tsx +0 -317
  81. package/src/components/user/TenantAvatarComponent.tsx +0 -99
  82. package/src/components/user/UserPreferences.tsx +0 -677
  83. package/src/config/ACTIONS.tsx +0 -26
  84. package/src/config/ConstantsService.tsx +0 -44
  85. package/src/config/DASHAdminSystemConstants.tsx +0 -183
  86. package/src/config/PARSERS.tsx +0 -9
  87. package/src/contexts/DashQueryClientContext.tsx +0 -113
  88. package/src/contexts/DashResourceContext.tsx +0 -34
  89. package/src/contexts/I18nBridgeContext.tsx +0 -156
  90. package/src/contexts/I18nBridgeSetter.tsx +0 -39
  91. package/src/contexts/I18nReduxSync.tsx +0 -27
  92. package/src/contexts/SubscriptionPlanFormatsProvider.tsx +0 -217
  93. package/src/contexts/SystemRequestsCache.tsx +0 -215
  94. package/src/contexts/auth/AuthContext.tsx +0 -567
  95. package/src/contexts/auth/AuthContextLocalStorage.tsx +0 -140
  96. package/src/contexts/auth/DASHAuthenticationService.tsx +0 -915
  97. package/src/contexts/auth/WindowContext.tsx +0 -15
  98. package/src/contexts/auth/index.tsx +0 -3
  99. package/src/contexts/com/FCMContext.tsx +0 -415
  100. package/src/contexts/com/LaravelEchoContext.tsx +0 -41
  101. package/src/contexts/com/LaravelEchoMgr.tsx +0 -155
  102. package/src/contexts/com/components/DefaultNotificationComponent.tsx +0 -20
  103. package/src/contexts/com/components/EchoNotificationsCenter.tsx +0 -65
  104. package/src/contexts/com/components/NotificationAttributesTable.tsx +0 -54
  105. package/src/contexts/com/components/NotificationRenderer.tsx +0 -42
  106. package/src/contexts/com/components/NotificationsWidget.tsx +0 -182
  107. package/src/contexts/com/components/notificationFormats.tsx +0 -50
  108. package/src/contexts/com/useLaravelEcho.tsx +0 -432
  109. package/src/contexts/dictionary/DictionaryContext.tsx +0 -94
  110. package/src/declarations.d.ts +0 -17
  111. package/src/default-theme/DASHAppProviders.tsx +0 -117
  112. package/src/default-theme/DashThemeContext.tsx +0 -209
  113. package/src/default-theme/DashThemeContext.tsx.fast +0 -143
  114. package/src/default-theme/DashThemeContext.tsx.old +0 -306
  115. package/src/default-theme/DashThemeHelperProvider.tsx +0 -98
  116. package/src/default-theme/DomainAppLayout.tsx +0 -166
  117. package/src/default-theme/DomainHeader.tsx +0 -162
  118. package/src/default-theme/DomainTheme.tsx +0 -59
  119. package/src/default-theme/FullLayoutMarkup.tsx +0 -231
  120. package/src/default-theme/StaticLayout.tsx +0 -47
  121. package/src/default-theme/index.tsx +0 -11
  122. package/src/default-theme/menu/AppDashboardGrid.tsx +0 -279
  123. package/src/default-theme/menu/AppMaterialMenu.tsx +0 -546
  124. package/src/default-theme/menu/AppMenuComponents/SubmenuPortal.tsx +0 -61
  125. package/src/default-theme/menu/AppMenuComponents/collapsed/CollapsedSidebarItem.tsx +0 -264
  126. package/src/default-theme/menu/AppMenuComponents/collapsed/CollapsedSidebarItems.tsx +0 -31
  127. package/src/default-theme/menu/AppMenuComponents/expanded/CollapsableSidebarMenu.tsx +0 -293
  128. package/src/default-theme/menu/AppMenuComponents/expanded/SidebarItem.tsx +0 -92
  129. package/src/default-theme/menu/AppMenuComponents/getItem.tsx +0 -17
  130. package/src/default-theme/menu/AppMenuComponents/interfaces.tsx +0 -41
  131. package/src/default-theme/menu/AppMenuComponents/submenuConstants.ts +0 -90
  132. package/src/default-theme/menu/AppSidebarMaterial.tsx +0 -339
  133. package/src/default-theme/menu/SidebarActions.tsx +0 -84
  134. package/src/default-theme/updateDomCssVariables.tsx +0 -176
  135. package/src/helpers/checkRole.tsx +0 -66
  136. package/src/helpers/parseAxiosError.tsx +0 -41
  137. package/src/hooks/audio/useAudio.tsx +0 -39
  138. package/src/hooks/axios.tsx +0 -165
  139. package/src/hooks/data/useDashboardStats.tsx +0 -65
  140. package/src/hooks/data/usePackageByClientsStats.tsx +0 -44
  141. package/src/hooks/data/usePackageByCommunesStats.tsx +0 -44
  142. package/src/hooks/data/usePackageStats.tsx +0 -69
  143. package/src/hooks/data/usePackageWithdrawDetails.tsx +0 -61
  144. package/src/hooks/data/useStats.tsx +0 -86
  145. package/src/hooks/isCurrentPath.tsx +0 -22
  146. package/src/hooks/notifications/WSMessagesManager.tsx +0 -152
  147. package/src/hooks/notifications/WSPusherManager.tsx +0 -92
  148. package/src/hooks/useBreadcrumbs.tsx +0 -329
  149. package/src/hooks/useClickOutside.tsx +0 -57
  150. package/src/hooks/useFormPersistance.tsx +0 -150
  151. package/src/hooks/useGlobalErrorMediator.tsx +0 -43
  152. package/src/hooks/useGlobalLoaderMgr.tsx +0 -21
  153. package/src/hooks/useHash.tsx +0 -27
  154. package/src/hooks/useLocalStorage.tsx +0 -196
  155. package/src/hooks/usePolyglotTranslation.tsx +0 -62
  156. package/src/hooks/usePrevious.tsx +0 -9
  157. package/src/hooks/usePrintSelected.tsx +0 -37
  158. package/src/hooks/useVirtualHash.tsx +0 -33
  159. package/src/hooks/window/useWindowSize.tsx +0 -36
  160. package/src/index.tsx +0 -134
  161. package/src/interfaces/IAppResourceConfig.tsx +0 -20
  162. package/src/interfaces/Log.tsx +0 -16
  163. package/src/interfaces/Tenant.tsx +0 -25
  164. package/src/interfaces/communication/IActions.tsx +0 -5
  165. package/src/interfaces/communication/INotification.tsx +0 -21
  166. package/src/interfaces/communication/IPayload.tsx +0 -3
  167. package/src/interfaces/communication/IRequestAction.tsx +0 -10
  168. package/src/interfaces/communication/IRequestPayload.tsx +0 -7
  169. package/src/interfaces/communication/IResponseAction.tsx +0 -7
  170. package/src/interfaces/misc/IAny.tsx +0 -3
  171. package/src/interfaces/misc/IFlashMessage.tsx +0 -10
  172. package/src/interfaces/navigation/IAppMenu.ts +0 -14
  173. package/src/interfaces/navigation/ICollapsableSidebarMenu.ts +0 -12
  174. package/src/interfaces/navigation/IMenuItem.ts +0 -16
  175. package/src/interfaces/notifications/IModel.tsx +0 -6
  176. package/src/interfaces/notifications/IModelField.tsx +0 -8
  177. package/src/interfaces/notifications/IUserNotification.tsx +0 -12
  178. package/src/interfaces/notifications/IUserNotificationData.tsx +0 -13
  179. package/src/interfaces/notifications/IUserNotificationPayload.tsx +0 -8
  180. package/src/interfaces/user/IGetAuth.tsx +0 -92
  181. package/src/interfaces/user/ITenantSettings.tsx +0 -3
  182. package/src/interfaces/user/IUser.tsx +0 -60
  183. package/src/interfaces/user/IUserSettings.tsx +0 -43
  184. package/src/interfaces.tsx +0 -6
  185. package/src/layout/AppLayout.tsx +0 -112
  186. package/src/layout/ApplicationLayout.tsx +0 -197
  187. package/src/layout/MotionWrapper.original.tsx +0 -236
  188. package/src/layout/MotionWrapper.tsx +0 -236
  189. package/src/layout/ResourceMenu.tsx +0 -164
  190. package/src/layout/ResoureLayout.tsx +0 -105
  191. package/src/layout/TransitionWrapper.tsx +0 -125
  192. package/src/pages/ChangePassword.tsx +0 -179
  193. package/src/pages/DASHLanding.tsx +0 -22
  194. package/src/pages/DASHLightWeightLogin.tsx +0 -611
  195. package/src/pages/DASHSimpleLogin.tsx +0 -260
  196. package/src/pages/Login.tsx +0 -111
  197. package/src/pages/Profile.tsx +0 -357
  198. package/src/pages/RecoverPassword.tsx +0 -175
  199. package/src/pages/SingleImageUploader.tsx +0 -55
  200. package/src/pages/VerifyAccount.tsx +0 -128
  201. package/src/providers/authProvider.tsx +0 -217
  202. package/src/providers/dataProvider.tsx +0 -672
  203. package/src/providers/i18n/en.ts +0 -646
  204. package/src/providers/i18n/es.ts +0 -652
  205. package/src/providers/i18n/languages.tsx +0 -8
  206. package/src/providers/i18n/mergeTranslations.ts +0 -53
  207. package/src/providers/i18nProvider.tsx +0 -23
  208. package/src/react-admin-dash/RADashComponent.tsx +0 -240
  209. package/src/react-admin-dash/Resource.tsx +0 -77
  210. package/src/resources/Brand/BrandResource.tsx +0 -130
  211. package/src/resources/DASHResourceLoader.ts +0 -180
  212. package/src/resources/Log/LogResource.tsx +0 -73
  213. package/src/resources/Tenant/ImpersonateTenantResource.tsx +0 -113
  214. package/src/resources/Trash/TrashTemplate.tsx +0 -180
  215. package/src/resources/User/components/AvatarUploadField.tsx +0 -57
  216. package/src/resources/User/components/PasswordFields.tsx +0 -73
  217. package/src/resources/User/getProfileMenu.ts +0 -57
  218. package/src/resources/User/profileResource.tsx +0 -51
  219. package/src/resources/User/userLayout.tsx +0 -62
  220. package/src/resources/User/userResource.tsx +0 -111
  221. package/src/resources/User/userSchema.tsx +0 -213
  222. package/src/resources/User/usersFilters.tsx +0 -21
  223. package/src/resources.tsx +0 -280
  224. package/src/schemas/log.tsx +0 -45
  225. package/src/schemas/notification.tsx +0 -42
  226. package/src/schemas/permissions.tsx +0 -44
  227. package/src/schemas/roles.tsx +0 -48
  228. package/src/schemas/rolesDataGrid.tsx +0 -48
  229. package/src/schemas/subscription/components/SubscriptionActions.tsx +0 -153
  230. package/src/schemas/subscription/components/SubscriptionPaymentHistory.tsx +0 -127
  231. package/src/schemas/subscription/components/SubscriptionPlanFeatures.tsx +0 -162
  232. package/src/schemas/subscription/components/SubscriptionPlanPreview.tsx +0 -141
  233. package/src/schemas/subscription/components/SubscriptionPlanStats.tsx +0 -318
  234. package/src/schemas/subscription/components/SubscriptionStatusIndicator.tsx +0 -72
  235. package/src/schemas/subscription/subscriptionPlanSchema.tsx +0 -185
  236. package/src/schemas/subscription/subscriptionSchema.tsx +0 -152
  237. package/src/schemas/subscriptionPlan.ts +0 -422
  238. package/src/schemas/tenant.tsx +0 -129
  239. package/src/schemas/tenantUser.tsx +0 -96
  240. package/src/schemas/tenant_superadmin.tsx +0 -119
  241. package/src/schemas/user.tsx +0 -26
  242. package/src/systemResources.old.tsx +0 -928
  243. package/src/systemResources.tsx +0 -1369
  244. package/src/templates/ResourceTemplate.tsx +0 -240
  245. package/src/templates/ResourceTemplate.tsx.memoized_experiment +0 -350
  246. package/src/templates/ResourceTemplate.tsx.original +0 -396
  247. package/src/templates/ResourceTemplateCreate.tsx +0 -182
  248. package/src/templates/ResourceTemplateEdit.tsx +0 -176
  249. package/src/templates/ResourceTemplateFull.tsx +0 -581
  250. package/src/templates/ResourceTemplateList.tsx +0 -340
  251. package/src/templates/ResourceTemplateOld.tsx.bkup +0 -567
  252. package/src/templates/ResourceTemplateShow.tsx +0 -88
  253. package/src/templates/TrashTemplate.tsx +0 -179
  254. package/src/tenantResources.tsx +0 -223
  255. package/src/test_portal_bubbles.tsx +0 -40
  256. package/src/theme/AppHeader.tsx +0 -52
  257. package/src/theme/AppLayoutSetting.tsx +0 -33
  258. package/src/theme/AppLogo.tsx +0 -13
  259. package/src/theme/AppSidebar.tsx +0 -12
  260. package/src/theme/AppSidebarContent.tsx +0 -105
  261. package/src/theme/AppSidebarLogo.tsx +0 -48
  262. package/src/theme/components/PageTitle.tsx +0 -37
  263. package/src/utils/cache/CacheInvalidatorContext.tsx +0 -125
  264. package/src/utils/cache/CacheInvalidatorListenerComponent.tsx +0 -10
  265. package/src/utils/cache/useCacheInvalidatorListener.tsx +0 -27
  266. package/src/utils/convertFileToBase64.tsx +0 -9
  267. package/src/utils/convertToFile.tsx +0 -14
  268. package/src/utils/cookies.tsx +0 -33
  269. package/src/utils/dashDefaultQueryClient.tsx +0 -34
  270. package/src/utils/dataUrlToBlob.tsx +0 -30
  271. package/src/utils/deepReplace.tsx +0 -19
  272. package/src/utils/getProfileMenu.tsx +0 -41
  273. package/src/utils/getTenantSettings.tsx +0 -9
  274. package/src/utils/getType.tsx +0 -8
  275. package/src/utils/getUserSettings.tsx +0 -8
  276. package/src/utils/hasCode.tsx +0 -14
  277. package/src/utils/index.ts +0 -19
  278. package/src/utils/injectTenantStyles.ts +0 -28
  279. package/src/utils/isComponent.tsx +0 -45
  280. package/src/utils/navEvents.tsx +0 -91
  281. package/src/utils/prototypes.tsx +0 -5
  282. package/src/utils/regexp.tsx +0 -4
  283. package/src/utils/resolveObjectPath.tsx +0 -4
  284. package/src/utils/setNativeValue.tsx +0 -24
  285. package/src/utils/slugify.tsx +0 -11
  286. package/src/utils/validators/emailValidator.tsx +0 -6
  287. package/src/utils/validators/requiredValidator.tsx +0 -5
  288. package/src/utils/validators/rutValidator.tsx +0 -31
  289. package/src/utils/validators.tsx +0 -96
@@ -1,646 +0,0 @@
1
- import raEnglish from 'ra-language-english';
2
-
3
- const dashEnglish = {
4
- ra: {
5
- action: {
6
- add: 'Add',
7
- add_filter: 'Add filter',
8
- back: 'Go back',
9
- bulk_actions:
10
- '1 item selected |||| %{smart_count} items selected',
11
- cancel: 'Cancel',
12
- clear_input_value: 'Clear value',
13
- clone: 'Clone',
14
- close: 'Close',
15
- close_menu: 'Close menu',
16
- confirm: 'Confirm',
17
- create: 'Create',
18
- create_item: 'Create %{item}',
19
- delete: 'Delete',
20
- edit: 'Edit',
21
- expand: 'Expand',
22
- export: 'Export',
23
- list: 'List',
24
- move_up: 'Move up',
25
- move_down: 'Move down',
26
- open_menu: 'Open menu',
27
- refresh: 'Refresh',
28
- remove: 'Remove',
29
- remove_filter: 'Remove filter',
30
- save: 'Save',
31
- search: 'Search',
32
- select_all: 'Select all',
33
- select_row: 'Select this row',
34
- show: 'Show',
35
- sort: 'Sort',
36
- undo: 'Undo',
37
- unselect: 'Unselect',
38
- update: 'Update',
39
- },
40
- auth: {
41
- auth_check_error: 'Please login to continue',
42
- logout: 'Logout',
43
- password: 'Password',
44
- sign_in: 'Sign in',
45
- sign_in_error: 'Authentication failed, please try again',
46
- user_menu: 'Profile',
47
- username: 'Username',
48
- },
49
- boolean: {
50
- true: 'Yes',
51
- false: 'No',
52
- null: ' ',
53
- },
54
- input: {
55
- file: {
56
- upload_several:
57
- 'Drop some files to upload, or click to select them.',
58
- upload_single:
59
- 'Drop a file to upload, or click to select it.',
60
- },
61
- image: {
62
- upload_several:
63
- 'Drop some images to upload, or click to select them.',
64
- upload_single:
65
- 'Drop an image to upload, or click to select it.',
66
- },
67
- references: {
68
- all_missing: 'Unable to find reference data.',
69
- many_missing:
70
- 'At least one of the associated references appears to be unavailable.',
71
- single_missing: 'Associated reference appears to be unavailable.',
72
- },
73
- password: {
74
- toggle_visible: 'Hide password',
75
- toggle_hidden: 'Show password',
76
- },
77
- },
78
- message: {
79
- about: 'About',
80
- are_you_sure: 'Are you sure?',
81
- bulk_delete_content:
82
- 'Are you sure you want to delete this %{name}? |||| Are you sure you want to delete these %{smart_count} items?',
83
- bulk_delete_title:
84
- 'Delete %{name} |||| Delete %{smart_count} %{name} items',
85
- bulk_update_content:
86
- 'Are you sure you want to update this %{name}? |||| Are you sure you want to update these %{smart_count} items?',
87
- bulk_update_title:
88
- 'Update %{name} |||| Update %{smart_count} %{name} items',
89
- delete_content: 'Are you sure you want to delete this item?',
90
- delete_title: 'Delete %{name} #%{id}',
91
- details: 'Details',
92
- error:
93
- 'A client error occurred and your request could not be completed',
94
- invalid_form:
95
- 'The form is not valid. Please check for errors',
96
- loading: 'The page is loading, please wait',
97
- no: 'No',
98
- not_found:
99
- 'Either you typed a wrong URL or you followed a bad link.',
100
- yes: 'Yes',
101
- unsaved_changes:
102
- 'Some of your changes were not saved. Are you sure you want to ignore them?',
103
- },
104
- navigation: {
105
- next: 'Next',
106
- no_more_results:
107
- 'Page number %{page} is out of boundaries. Try the previous page.',
108
- no_results: 'No results found',
109
- page_out_from_begin: 'Cannot go before page 1',
110
- page_out_from_end: 'Cannot go after last page',
111
- page_out_of_boundaries: 'Page number %{page} is out of boundaries',
112
- page_range_info: '%{offsetBegin} - %{offsetEnd} of %{total}',
113
- page_rows_per_page: 'Rows per page:',
114
- prev: 'Previous',
115
- skip_nav: 'Skip to content',
116
- },
117
- sort: {
118
- sort_by: 'Sort by %{field} %{order}',
119
- asc: 'ascending',
120
- desc: 'descending',
121
- DESC: 'descending',
122
- ASC: 'ascending',
123
- },
124
- notification: {
125
- bad_item: 'Incorrect element',
126
- canceled: 'Action canceled',
127
- created: 'Element created',
128
- data_provider_error:
129
- 'Data provider error. Check the console for details.',
130
- deleted: 'Element deleted |||| %{smart_count} elements deleted',
131
- http_error: 'Server communication error',
132
- item_doesnt_exist: 'Element does not exist',
133
- logged_out: 'Your session has ended, please reconnect.',
134
- updated:
135
- 'Element updated |||| %{smart_count} elements updated',
136
- i18n_error:
137
- 'Could not load translations for the specified language',
138
- not_authorized: 'You are not authorized to access this resource.',
139
- },
140
- page: {
141
- create: 'Create %{name}',
142
- dashboard: 'Dashboard',
143
- edit: '%{name} #%{id}',
144
- empty: 'No %{name} yet.',
145
- error: 'Something went wrong',
146
- invite: 'Would you like to add one?',
147
- list: '%{name} List',
148
- loading: 'Loading',
149
- not_found: 'Not Found',
150
- show: '%{name} #%{id}',
151
- },
152
- validation: {
153
- email: 'Must be a valid email',
154
- maxLength: 'Must be %{max} characters or less',
155
- maxValue: 'Must be %{max} or less',
156
- minLength: 'Must be at least %{min} characters',
157
- minValue: 'Must be at least %{min}',
158
- number: 'Must be a number',
159
- oneOf: 'Must be one of: %{options}',
160
- regex: 'Must match a specific format (regexp): %{pattern}',
161
- required: 'Required',
162
- },
163
- },
164
- simple: {
165
- action: {
166
- close: 'Close',
167
- resetViews: 'Reset',
168
- },
169
- 'create-post': 'New Post',
170
- },
171
- resources: {
172
- posts: {
173
- name: 'Post |||| Posts',
174
- fields: {
175
- average_note: 'Average note',
176
- body: 'Content',
177
- comments: 'Comments',
178
- commentable: 'Commentable',
179
- commentable_short: 'Com.',
180
- created_at: 'Created at',
181
- notifications: 'Notification recipients',
182
- nb_view: 'Num views',
183
- password: 'Password (if post is protected)',
184
- pictures: 'Related Pictures',
185
- published_at: 'Published at',
186
- teaser: 'Teaser',
187
- tags: 'Tags',
188
- title: 'Title',
189
- views: 'Views',
190
- authors: 'Authors',
191
- },
192
- },
193
- comments: {
194
- name: 'Comment |||| Comments',
195
- fields: {
196
- body: 'Content',
197
- created_at: 'Created at',
198
- post_id: 'Posts',
199
- author: {
200
- name: 'Author',
201
- },
202
- },
203
- },
204
- users: {
205
- name: 'User |||| Users',
206
- fields: {
207
- name: 'Name',
208
- role: 'Role',
209
- },
210
- },
211
- },
212
- post: {
213
- list: {
214
- search: 'Search',
215
- },
216
- form: {
217
- summary: 'Summary',
218
- body: 'Content',
219
- miscellaneous: 'Miscellaneous',
220
- comments: 'Comments',
221
- },
222
- edit: {
223
- title: 'Post "%{title}"',
224
- },
225
- action: {
226
- save_and_edit: 'Save and Edit',
227
- save_and_add: 'Save and Add',
228
- save_and_show: 'Save and Show',
229
- save_with_average_note: 'Save with Note',
230
- },
231
- },
232
- comment: {
233
- list: {
234
- about: 'About',
235
- },
236
- },
237
- user: {
238
- list: {
239
- search: 'Search',
240
- },
241
- form: {
242
- summary: 'Summary',
243
- security: 'Security',
244
- },
245
- edit: {
246
- title: 'User "%{title}"',
247
- },
248
- action: {
249
- save_and_add: 'Save and Add',
250
- save_and_show: 'Save and Show',
251
- },
252
- },
253
- // Tab statuses and actions
254
- tab: {
255
- status: {
256
- created: 'Created',
257
- confirmed: 'Confirmed',
258
- in_preparation: 'In Preparation',
259
- prepared: 'Prepared',
260
- delivered: 'Delivered',
261
- closed: 'Closed',
262
- cancelled: 'Cancelled',
263
- },
264
- },
265
- // Kiosk translations
266
- kiosk: {
267
- // Header
268
- total: 'Total',
269
- clear_cart: 'Clear Cart',
270
- view_order: 'View Order',
271
- add_items_to_start: 'Add items to start',
272
-
273
- // Navigation
274
- prev: 'Prev',
275
- next: 'Next',
276
- page_of: 'Page %{current} of %{total} • %{items} products',
277
- products: 'Products',
278
-
279
- // Product Card
280
- customizable: 'Customizable',
281
-
282
- // Product Grid
283
- no_products_found: 'No products found in this category',
284
-
285
- // Cart View
286
- your_order: 'Your Order',
287
- cart_empty: 'Your cart is empty',
288
- browse_menu: 'Browse Menu',
289
- note: 'Note',
290
- order_options: 'Order Options',
291
- delivery_method: 'Delivery Method',
292
- table_number: 'Table Number',
293
- your_name: 'Your Name (Optional)',
294
- special_instructions: 'Special Instructions (Optional)',
295
- cancel_order: 'Cancel Order',
296
- confirm_order: 'Confirm Order',
297
- submitting: 'Submitting...',
298
-
299
- // Modifier Modal
300
- select_multiple: 'Select multiple',
301
- required: '*Required',
302
- cancel: 'Cancel',
303
- add_to_order: 'Add to Order',
304
-
305
- // Confirmation View
306
- order_confirmed: 'Order Confirmed!',
307
- thank_you: 'Thank you for your order. Please wait for your number to be called.',
308
- your_order_number: 'Your Order Number',
309
- status: 'Status',
310
- start_new_order: 'Start New Order',
311
- auto_reset_notice: 'This screen will automatically reset in 30 seconds',
312
- loading: 'Loading...',
313
- },
314
- // Service account API keys
315
- serviceAccount: {
316
- reveal: {
317
- title: 'Copy your API key now',
318
- warning:
319
- 'This is the only time this key will be shown. It cannot be recovered later — if you lose it, you will have to issue a new one.',
320
- forKey: 'Key',
321
- copy: 'Copy',
322
- copied: 'Copied',
323
- dismiss: 'I have saved it',
324
- },
325
- status: {
326
- active: 'Active',
327
- disabled: 'Disabled',
328
- },
329
- expiration: {
330
- '1': '1 day',
331
- '7': '7 days',
332
- '30': '30 days',
333
- never: 'Never',
334
- },
335
- notify: {
336
- enabled: 'API key enabled',
337
- disabled: 'API key disabled',
338
- toggle_error: 'Could not change the key status',
339
- },
340
- action: {
341
- enable: 'Enable',
342
- disable: 'Disable',
343
- },
344
- // Shown when a tenancy-level role is selected: such a key reaches every
345
- // tenant in the account, so the tenant field stops being a boundary.
346
- tenancy_role_warning:
347
- 'This role grants access to every tenant in the account. The selected tenant is informational, not a security boundary.',
348
- },
349
- // Resource labels for admin panel
350
- resource: {
351
- tenancy: {
352
- serviceAccounts: {
353
- label: 'Service Accounts',
354
- name: 'Name',
355
- tenant: 'Tenant',
356
- roles: 'Roles',
357
- expiration: 'Expiration',
358
- status: 'Status',
359
- token: 'Key',
360
- expires_at: 'Expires',
361
- last_used_at: 'Last used',
362
- created_at: 'Created',
363
- },
364
- },
365
- // Groups
366
- groups: {
367
- system_resources: 'System Resources',
368
- products: 'Products',
369
- integrations: 'Integrations',
370
- configuration: 'Configuration',
371
- campaigns: 'Campaigns',
372
- import_export: 'Import/Export',
373
- cashier: 'Cashier',
374
- },
375
- // System resources
376
- system: {
377
- tenants: {
378
- label: 'Tenants',
379
- menu_list: 'Tenants',
380
- menu_trash: 'Trash',
381
- main_action: 'Create Tenant',
382
- filter_name: 'Name',
383
- },
384
- roles: {
385
- label: 'Roles',
386
- menu_list: 'Roles',
387
- main_action: 'Add Role',
388
- filter_name: 'Name',
389
- },
390
- users: {
391
- label: 'Users',
392
- menu_list: 'Users',
393
- menu_trash: 'Trash',
394
- main_action: 'Create User',
395
- filter_search: 'Search',
396
- },
397
- },
398
- // E-commerce resources
399
- ecommerce: {
400
- products: {
401
- label: 'Products',
402
- menu_list: 'Products',
403
- menu_trash: 'Trash',
404
- main_action: 'Create Product',
405
- filter_name: 'Name',
406
- filter_description: 'Description',
407
- filter_sku: 'SKU',
408
- filter_categories: 'Categories',
409
- filter_status: 'Status',
410
- filter_is_pack: 'Is Pack',
411
- },
412
- categories: {
413
- label: 'Categories',
414
- menu_list: 'Category List',
415
- main_action: 'Create Category',
416
- filter_name: 'Name',
417
- },
418
- brands: {
419
- label: 'Brands',
420
- menu_list: 'Brand List',
421
- main_action: 'Create Brand',
422
- },
423
- galleries: {
424
- label: 'Galleries',
425
- menu_list: 'Gallery List',
426
- main_action: 'Create Gallery',
427
- filter_name: 'Name',
428
- },
429
- currencies: {
430
- label: 'Currencies',
431
- menu_list: 'Currency List',
432
- main_action: 'Create Currency',
433
- },
434
- pricelists: {
435
- label: 'Price List',
436
- menu_list: 'Price Lists',
437
- main_action: 'Create Price List',
438
- },
439
- modifiers: {
440
- label: 'Modifier Groups',
441
- menu_list: 'Modifier List',
442
- main_action: 'Create Modifier Group',
443
- filter_name: 'Name',
444
- filter_selection_mode: 'Selection Mode',
445
- filter_is_active: 'Active',
446
- },
447
- stock_types: {
448
- label: 'Stock Type',
449
- menu_list: 'Stock Types',
450
- main_action: 'Create Stock Type',
451
- },
452
- marketplaces: {
453
- label: 'Marketplaces',
454
- menu_list: 'View Marketplaces',
455
- main_action: 'Add Marketplace',
456
- },
457
- point_of_sale: {
458
- label: 'Points of Sale',
459
- menu_list: 'View Points of Sale',
460
- main_action: 'Add Point of Sale',
461
- },
462
- tenant_data: {
463
- label: 'Data',
464
- menu_list: 'E-commerce Module Client',
465
- },
466
- users: {
467
- label: 'Users',
468
- },
469
- },
470
- // Campaigns
471
- campaigns: {
472
- label: 'Campaigns',
473
- menu_list: 'Campaign List',
474
- main_action: 'Create',
475
- filter_name: 'Name',
476
- },
477
- // Import/Export
478
- import: {
479
- templates: {
480
- label: 'Import Templates',
481
- menu_list: 'Templates',
482
- main_action: 'Create Template',
483
- },
484
- instances: {
485
- label: 'Import Products',
486
- menu_list: 'Imports',
487
- main_action: 'Create Import',
488
- },
489
- },
490
- // Mall resources
491
- mall: {
492
- label: 'Mall',
493
- menu_list: 'List',
494
- main_action: 'Create Mall',
495
- },
496
- // Cash Count resources
497
- cashcount: {
498
- label: 'Cash Count',
499
- menu_list: 'Cash Counts',
500
- main_action: 'New Cash Count',
501
- filter_status: 'Status',
502
- filter_period_start: 'Period From',
503
- filter_period_end: 'Period To',
504
- },
505
- },
506
- // Mall translations
507
- mall: {
508
- // Store Selector
509
- all_stores: 'All Stores',
510
- select_store: 'Select a store',
511
- all: 'All',
512
-
513
- // Assistance
514
- request_assistance: 'Request Assistance',
515
- assistance_sent: 'Assistance request sent',
516
- assistance_error: 'Error sending assistance request',
517
- select_store_first: 'Select a store first',
518
- assistance_requested: 'Assistance requested',
519
- assistance_rate_limit: 'You have recently requested assistance, please wait a moment',
520
-
521
- // Search
522
- search_products: 'Search products...',
523
-
524
- // Product Grid
525
- no_products_found: 'No products found',
526
- try_different_store_or_search: 'Try selecting another store or adjusting your search',
527
- featured: 'Featured',
528
- add: 'Add',
529
-
530
- // Pagination
531
- display_mode: 'View',
532
- horizontal_pagination: 'Show products in pages',
533
- infinite_scroll: 'Show all products in scroll',
534
- pages: 'Pages',
535
- scroll: 'Scroll',
536
- prev: 'Prev',
537
- next: 'Next',
538
-
539
- // Cart Summary
540
- cart_empty: 'Your cart is empty',
541
- view_cart: 'View Cart',
542
- item: 'item',
543
- items: 'items',
544
- stores: 'stores',
545
-
546
- // Cart Drawer
547
- your_order: 'Your Order',
548
- add_products_to_continue: 'Add products to continue',
549
- unknown_store: 'Unknown Store',
550
- clear_cart: 'Clear Cart',
551
- total: 'Total',
552
- confirm_order: 'Confirm Order',
553
- submit_order: 'Submit Order',
554
- submitting_order: 'Submitting...',
555
- continue_shopping: 'Continue Shopping',
556
- product_added: 'Product added to cart',
557
- product_added_with_name: '%{name} added to cart',
558
- product_updated: 'Product updated',
559
-
560
- // Cart Item Actions
561
- edit_item: 'Edit item',
562
- remove_item: 'Remove item',
563
- update_item: 'Update',
564
- add_to_cart: 'Add to Cart',
565
-
566
- // Product Modifiers Modal
567
- required: 'Required',
568
- select_up_to: 'Select up to %{count}',
569
- special_instructions: 'Special instructions',
570
- special_instructions_placeholder: 'E.g.: no onions, extra sauce, etc.',
571
-
572
- // Product Grid
573
- all_products: 'All Products',
574
- has_modifiers: 'Customizable',
575
- no_more_products: 'No more products',
576
- },
577
- // JSON Color Selector - image-based theme extraction
578
- colorSelector: {
579
- imageExtractor: {
580
- title_ai: 'AI Theme Generator',
581
- title_local: 'Theme from Image',
582
- upload_prompt: 'Upload an Image to Extract Colors',
583
- upload_hint: "Select an image file and we'll automatically extract a color palette",
584
- upload_button: 'Choose Image',
585
- drop_hint: 'or drag and drop it here',
586
- invalid_file_type: 'Please select a valid image file',
587
- file_too_large: 'File size must be less than %{limit}MB',
588
- extracting: 'Extracting colors from image...',
589
- extracted_colors: 'Extracted Colors (%{count} colors found)',
590
- dominant_label: 'Dominant',
591
- uploaded_image_alt: 'Uploaded image',
592
- no_palette_error: 'Please extract colors from an image first',
593
- theme_generation_failed: 'Failed to generate theme',
594
- theme_description_label: 'Theme Description (Optional)',
595
- theme_description_placeholder:
596
- "Optional: Describe the theme style you want (e.g., 'modern and minimalist', 'warm and cozy', 'professional corporate')",
597
- apply_colors_button: 'Apply Colors',
598
- generate_button: 'Generate AI Theme',
599
- generating_button: 'Generating...',
600
- apply_colors_help_label: 'Apply Colors:',
601
- apply_colors_help_desc:
602
- 'Maps the extracted palette to your base theme colors locally — no AI involved',
603
- generate_help_label: 'Generate AI Theme:',
604
- generate_help_desc:
605
- 'Uses AI to create a complete color scheme based on extracted colors and your description',
606
- },
607
- },
608
- // Profile page
609
- profile: {
610
- title: 'Profile',
611
- subtitle: 'Profile settings',
612
- info: {
613
- title: 'Info',
614
- name: 'Name',
615
- lastname: 'Last name',
616
- email: 'Email',
617
- save: 'Save',
618
- saving: 'Saving...',
619
- },
620
- password: {
621
- title: 'Passwords',
622
- current: 'Current password',
623
- new: 'New password',
624
- confirm: 'Confirm new password',
625
- save: 'Save Passwords',
626
- saving: 'Saving Passwords...',
627
- },
628
- preferences: {
629
- title: 'Preferences',
630
- },
631
- validation: {
632
- required: 'This field is required',
633
- password_mismatch: 'Passwords do not match',
634
- },
635
- notify: {
636
- success: 'User updated successfully',
637
- error: 'Error updating user',
638
- error_with_message: 'Error updating user, %{message}',
639
- },
640
- },
641
- };
642
-
643
- export default {
644
- ...raEnglish,
645
- ...dashEnglish,
646
- };