adminizer 4.6.0-build.211 → 4.6.0-build.213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/app.js +3 -3
- package/assets/{catalog-RUS5EBuy.js → catalog-BoonmK4z.js} +3 -3
- package/assets/{home-C_xUaJoJ.js → home-Bk_HC60_.js} +2 -2
- package/assets/{list-CDFtsuUr.js → list-CpkT1A5r.js} +1 -1
- package/assets/{list-table-PLHaED_1.js → list-table-DIi7YPGB.js} +1 -1
- package/assets/manifest.json +5 -5
- package/assets/pagination-render-DxD78ahJ.js +1 -0
- package/lib/Adminizer.js +2 -4
- package/lib/I18n.js +8 -2
- package/lib/widgets/widgetHandler.d.ts +1 -0
- package/lib/widgets/widgetHandler.js +8 -1
- package/package.json +1 -1
- package/policies/setLocale.js +3 -5
- package/system/bindInertia.js +18 -1
- package/system/bindReqFunctions.js +37 -5
- package/translations/ar.json +70 -2
- package/translations/cn.json +69 -1
- package/translations/de.json +72 -4
- package/translations/en.json +13 -1
- package/translations/es.json +69 -1
- package/translations/fr.json +70 -2
- package/translations/hi.json +69 -1
- package/translations/jp.json +69 -1
- package/translations/ko.json +69 -1
- package/translations/pt.json +72 -4
- package/translations/ru.json +57 -2
- package/translations/ua.json +72 -4
- package/translations/uz.json +69 -1
- package/translations/vi.json +71 -3
- package/ui/components/ui/pagination.d.ts +6 -2
- package/ui/components/ui/pagination.js +4 -4
- package/assets/pagination-render-40Bk8JSz.js +0 -1
package/translations/uz.json
CHANGED
|
@@ -98,5 +98,73 @@
|
|
|
98
98
|
"Profile expired, contact the administrator": "Profil muddati tugagan, administratorga murojaat qiling",
|
|
99
99
|
"The user is not allowed to enter, please contact the administrator": "Foydalanuvchiga kirishga ruxsat yo‘q, administratorga murojaat qiling",
|
|
100
100
|
"On": "Yoqilgan",
|
|
101
|
-
"Off": "O‘chirilgan"
|
|
101
|
+
"Off": "O‘chirilgan",
|
|
102
|
+
"Leave this field empty if you don't want to change the password": "Agar parolni o'zgartirishni xohlamasangiz, bu maydonni bo'sh qoldiring",
|
|
103
|
+
"File type are not supported": "Fayl turi qo'llab-quvvatlanmaydi",
|
|
104
|
+
"History": "Tarix",
|
|
105
|
+
"Models": "Modellar",
|
|
106
|
+
"Users": "Foydalanuvchilar",
|
|
107
|
+
"Pick a date": "Sana tanlang",
|
|
108
|
+
"Model": "model turi",
|
|
109
|
+
"Event": "Tadbir",
|
|
110
|
+
"User": "Foydalanuvchi",
|
|
111
|
+
"There are no records to display": "Ko'rsatish uchun hech qanday yozuv yo'q",
|
|
112
|
+
"Watch": "Tomosha qiling",
|
|
113
|
+
"Current": "Hozirgi",
|
|
114
|
+
"There is no history": "Tarix yo'q",
|
|
115
|
+
"The end of the list has been reached": "Ro'yxatning oxiriga yetdi",
|
|
116
|
+
"Log out": "Chiqish",
|
|
117
|
+
"Adminpanel": "Administrator paneli",
|
|
118
|
+
"Visible": "Ko'rinadigan",
|
|
119
|
+
"The file used by the models": "Modellar tomonidan ishlatiladigan fayl",
|
|
120
|
+
"This is opensource project": "Bu ochiq manbali loyiha",
|
|
121
|
+
"Groups": "Guruhlar",
|
|
122
|
+
"System": "Tizim",
|
|
123
|
+
"Table": "Jadval",
|
|
124
|
+
"Tile": "Plitka",
|
|
125
|
+
"Load more": "Ko'proq yuklash",
|
|
126
|
+
"Images": "Tasvirlar",
|
|
127
|
+
"Videos": "Videolar",
|
|
128
|
+
"Texts": "Matnlar",
|
|
129
|
+
"Applications": "Ilovalar",
|
|
130
|
+
"File": "Fayl",
|
|
131
|
+
"Name": "Ism",
|
|
132
|
+
"Type": "Turi",
|
|
133
|
+
"Size (orig.)": "Hajmi (asl.)",
|
|
134
|
+
"W x H (orig.)": "W x H (asl.)",
|
|
135
|
+
"W x H": "W x H",
|
|
136
|
+
"Sizes": "O'lchamlari",
|
|
137
|
+
"Sizes/Ver": "O'lchamlar/Ver",
|
|
138
|
+
"Locales": "Mahalliy aholi",
|
|
139
|
+
"Data": "Ma'lumotlar",
|
|
140
|
+
"Date": "Sana",
|
|
141
|
+
"User login": "Foydalanuvchi login",
|
|
142
|
+
"avatar": "avatar rasmi",
|
|
143
|
+
"expires": "muddati tugaydi",
|
|
144
|
+
"is administrator": "administrator hisoblanadi",
|
|
145
|
+
"widgets": "vidjetlar",
|
|
146
|
+
"isConfirmed": "Tasdiqlangan",
|
|
147
|
+
"id": "identifikator",
|
|
148
|
+
"title": "sarlavha",
|
|
149
|
+
"slug": "shilimshiq",
|
|
150
|
+
"owner": "egasi",
|
|
151
|
+
"userAPs": "admin foydalanuvchilari",
|
|
152
|
+
"schema": "sxema",
|
|
153
|
+
"example": "misol",
|
|
154
|
+
"Navigation": "Navigatsiya",
|
|
155
|
+
"All controlss": "Barcha boshqaruvlar",
|
|
156
|
+
"Categorys": "Kategoriyalar",
|
|
157
|
+
"Textarea": "matn maydoni",
|
|
158
|
+
"Disabled": "O'chirilgan",
|
|
159
|
+
"Boolean": "Mantiqiy",
|
|
160
|
+
"time": "vaqt",
|
|
161
|
+
"Number": "Raqam",
|
|
162
|
+
"Editor": "muharrir",
|
|
163
|
+
"Date and time": "Sana va vaqt",
|
|
164
|
+
"First": "Birinchidan",
|
|
165
|
+
"Last": "Oxirgi",
|
|
166
|
+
"Previous": "Oldingi",
|
|
167
|
+
"Next": "Keyingisi",
|
|
168
|
+
"Notifications": "Bildirishnomalar",
|
|
169
|
+
"Global Settings": "Global sozlamalar"
|
|
102
170
|
}
|
package/translations/vi.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"Create an Account": "Tạo một tài khoản",
|
|
15
15
|
"Custom": "Phong tục",
|
|
16
16
|
"Delete": "Xóa bỏ",
|
|
17
|
-
"E-mail": "
|
|
17
|
+
"E-mail": "Thu dien tu",
|
|
18
18
|
"Edit": "Biên tập",
|
|
19
19
|
"Email": "E-mail",
|
|
20
20
|
"Fast links": "Liên kết nhanh",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"Select Item type": "Chọn loại mục",
|
|
59
59
|
"Select Items": "Chọn các mục",
|
|
60
60
|
"Switcher": "Người chuyển đổi",
|
|
61
|
-
"Timezone": "
|
|
61
|
+
"Timezone": "Múi giờ",
|
|
62
62
|
"Title": "Tiêu đề",
|
|
63
63
|
"Toggle to change the grid. To save the grid, turn it off.": "Chuyển đổi để thay đổi lưới. Để lưu lưới, hãy tắt nó đi.",
|
|
64
64
|
"User groups": "Nhóm người dùng",
|
|
@@ -98,5 +98,73 @@
|
|
|
98
98
|
"Profile expired, contact the administrator": "Hồ sơ đã hết hạn, vui lòng liên hệ quản trị viên",
|
|
99
99
|
"The user is not allowed to enter, please contact the administrator": "Người dùng không được phép đăng nhập, vui lòng liên hệ quản trị viên",
|
|
100
100
|
"On": "Bật",
|
|
101
|
-
"Off": "Tắt"
|
|
101
|
+
"Off": "Tắt",
|
|
102
|
+
"Leave this field empty if you don't want to change the password": "Để trống trường này nếu bạn không muốn thay đổi mật khẩu",
|
|
103
|
+
"File type are not supported": "Loại tệp không được hỗ trợ",
|
|
104
|
+
"History": "Lịch sử",
|
|
105
|
+
"Models": "Người mẫu",
|
|
106
|
+
"Users": "Người dùng",
|
|
107
|
+
"Pick a date": "Chọn một ngày",
|
|
108
|
+
"Model": "người mẫu",
|
|
109
|
+
"Event": "Sự kiện",
|
|
110
|
+
"User": "người dùng",
|
|
111
|
+
"There are no records to display": "Không có bản ghi nào để hiển thị",
|
|
112
|
+
"Watch": "Xem",
|
|
113
|
+
"Current": "hiện tại",
|
|
114
|
+
"There is no history": "Không có lịch sử",
|
|
115
|
+
"The end of the list has been reached": "Đã đến cuối danh sách",
|
|
116
|
+
"Log out": "Đăng xuất",
|
|
117
|
+
"Adminpanel": "Bảng quản trị",
|
|
118
|
+
"Visible": "Dễ thấy",
|
|
119
|
+
"The file used by the models": "Tệp được sử dụng bởi các mô hình",
|
|
120
|
+
"This is opensource project": "Đây là dự án mã nguồn mở",
|
|
121
|
+
"Groups": "Nhóm",
|
|
122
|
+
"System": "Hệ thống",
|
|
123
|
+
"Table": "Bảng",
|
|
124
|
+
"Tile": "Ngói",
|
|
125
|
+
"Load more": "Tải thêm",
|
|
126
|
+
"Images": "Hình ảnh",
|
|
127
|
+
"Videos": "Video",
|
|
128
|
+
"Texts": "văn bản",
|
|
129
|
+
"Applications": "Ứng dụng",
|
|
130
|
+
"File": "tập tin",
|
|
131
|
+
"Name": "Tên",
|
|
132
|
+
"Type": "loại",
|
|
133
|
+
"Size (orig.)": "Kích thước (xuất xứ)",
|
|
134
|
+
"W x H (orig.)": "W x H (ban đầu)",
|
|
135
|
+
"W x H": "W x H",
|
|
136
|
+
"Sizes": "Kích cỡ",
|
|
137
|
+
"Sizes/Ver": "Kích cỡ/Phiên bản",
|
|
138
|
+
"Locales": "Ngôn ngữ",
|
|
139
|
+
"Data": "dữ liệu",
|
|
140
|
+
"Date": "Ngày",
|
|
141
|
+
"User login": "Đăng nhập người dùng",
|
|
142
|
+
"avatar": "hình đại diện",
|
|
143
|
+
"expires": "hết hạn",
|
|
144
|
+
"is administrator": "là quản trị viên",
|
|
145
|
+
"widgets": "vật dụng",
|
|
146
|
+
"isConfirmed": "đã được xác nhận",
|
|
147
|
+
"id": "danh tính",
|
|
148
|
+
"title": "tiêu đề",
|
|
149
|
+
"slug": "sên",
|
|
150
|
+
"owner": "chủ sở hữu",
|
|
151
|
+
"userAPs": "userAP",
|
|
152
|
+
"schema": "lược đồ",
|
|
153
|
+
"example": "ví dụ",
|
|
154
|
+
"Navigation": "Điều hướng",
|
|
155
|
+
"All controlss": "Tất cả các điều khiển",
|
|
156
|
+
"Categorys": "Danh mục",
|
|
157
|
+
"Textarea": "Vùng văn bản",
|
|
158
|
+
"Disabled": "Đã tắt",
|
|
159
|
+
"Boolean": "Luan ly",
|
|
160
|
+
"time": "thời gian",
|
|
161
|
+
"Number": "Số",
|
|
162
|
+
"Editor": "Biên tập viên",
|
|
163
|
+
"Date and time": "Ngày và giờ",
|
|
164
|
+
"First": "Đầu tiên",
|
|
165
|
+
"Last": "Cuối cùng",
|
|
166
|
+
"Previous": "Trước",
|
|
167
|
+
"Next": "Kế tiếp",
|
|
168
|
+
"Notifications": "Thông báo",
|
|
169
|
+
"Global Settings": "Cài đặt chung"
|
|
102
170
|
}
|
|
@@ -7,7 +7,11 @@ type PaginationLinkProps = {
|
|
|
7
7
|
isActive?: boolean;
|
|
8
8
|
} & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
|
|
9
9
|
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>
|
|
11
|
-
|
|
10
|
+
declare function PaginationPrevious({ className, label, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
11
|
+
label?: string;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function PaginationNext({ className, label, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
14
|
+
label?: string;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
16
|
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
13
17
|
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
|
@@ -17,11 +17,11 @@ function PaginationLink({ className, isActive, size = "icon", ...props }) {
|
|
|
17
17
|
size,
|
|
18
18
|
}), className), ...props }));
|
|
19
19
|
}
|
|
20
|
-
function PaginationPrevious({ className, ...props }) {
|
|
21
|
-
return (_jsxs(PaginationLink, { "aria-label":
|
|
20
|
+
function PaginationPrevious({ className, label = "Previous", ...props }) {
|
|
21
|
+
return (_jsxs(PaginationLink, { "aria-label": label, size: "default", className: cn("gap-1 px-2.5 sm:pl-2.5", className), ...props, children: [_jsx(ChevronLeftIcon, {}), _jsx("span", { className: "hidden sm:block", children: label })] }));
|
|
22
22
|
}
|
|
23
|
-
function PaginationNext({ className, ...props }) {
|
|
24
|
-
return (_jsxs(PaginationLink, { "aria-label":
|
|
23
|
+
function PaginationNext({ className, label = "Next", ...props }) {
|
|
24
|
+
return (_jsxs(PaginationLink, { "aria-label": label, size: "default", className: cn("gap-1 px-2.5 sm:pr-2.5", className), ...props, children: [_jsx("span", { className: "hidden sm:block", children: label }), _jsx(ChevronRightIcon, {})] }));
|
|
25
25
|
}
|
|
26
26
|
function PaginationEllipsis({ className, ...props }) {
|
|
27
27
|
return (_jsxs("span", { "aria-hidden": true, "data-slot": "pagination-ellipsis", className: cn("flex size-9 items-center justify-center", className), ...props, children: [_jsx(MoreHorizontalIcon, { className: "size-4" }), _jsx("span", { className: "sr-only", children: "More pages" })] }));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,bT as p,bU as m,bV as o,bW as a,bX as x,bY as b}from"./app.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";const h=({pagination:s,pageChange:t,currentPage:n})=>{const l=n!==1&&s.last_page>1,i=n!==s.last_page&&s.last_page>1;return r.jsx(p,{children:r.jsxs(m,{className:"flex-wrap",children:[r.jsx(o,{className:`${l?"":"opacity-40 pointer-events-none"}`,children:r.jsx(a,{className:"px-6 cursor-pointer bg-secondary hover:bg-muted-foreground/15",onClick:e=>{e.preventDefault(),t(1)},children:"First"})}),r.jsx(o,{children:r.jsx(x,{className:`cursor-pointer bg-secondary hover:bg-muted-foreground/15 ${s.prev_page_url?"":"opacity-50 pointer-events-none"}`,onClick:e=>{e.preventDefault(),s.prev_page_url&&t(n-1)}})}),s.links.map((e,c)=>e.label==="Previous"||e.label==="Next"?null:r.jsx(o,{children:r.jsx(a,{className:`cursor-pointer bg-secondary hover:bg-muted-foreground/15 ${e.active?"!bg-primary dark:!bg-muted-foreground !text-primary-foreground dark:!text-ring":""}`,onClick:u=>{u.preventDefault();const d=parseInt(e.label);t(d)},isActive:e.active,children:e.label})},c)),r.jsx(o,{children:r.jsx(b,{className:`cursor-pointer bg-secondary hover:bg-muted-foreground/15 ${s.next_page_url?"":"opacity-50 pointer-events-none"}`,onClick:e=>{e.preventDefault(),s.next_page_url&&t(n+1)}})}),r.jsx(o,{className:`${i?"":"opacity-40 pointer-events-none"}`,children:r.jsx(a,{className:"px-6 cursor-pointer bg-secondary hover:bg-muted-foreground/15",onClick:e=>{e.preventDefault(),t(s.last_page)},children:"Last"})})]})})};export{h as default};
|