@antscorp/ama-ui 0.0.27 → 0.0.29
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/dist/ama-ui.es.js +19 -21
- package/dist/ama-ui.es.js.map +1 -1
- package/dist/index.d.ts +4 -7
- package/package.json +1 -1
package/dist/ama-ui.es.js
CHANGED
|
@@ -5787,32 +5787,30 @@ const $m = c(({ color: e3 = "currentColor", size: t2 = 24, strokeWidth: n2 = 2,
|
|
|
5787
5787
|
if ("empty" === e3.status) return y(Sm, { size: 90, style: { color: "var(--adm-color-primary)" } });
|
|
5788
5788
|
}, [e3.status]);
|
|
5789
5789
|
return y(yu, { image: t2, ...e3 });
|
|
5790
|
-
}, Nm = (e3) => y(
|
|
5790
|
+
}, Nm = (e3) => y(ud, { ...e3 }), Tm = (e3) => y(ms, { ...e3 });
|
|
5791
5791
|
/**
|
|
5792
5792
|
* @license lucide-react v0.475.0 - ISC
|
|
5793
5793
|
*
|
|
5794
5794
|
* This source code is licensed under the ISC license.
|
|
5795
5795
|
* See the LICENSE file in the root directory of this source tree.
|
|
5796
5796
|
*/
|
|
5797
|
-
|
|
5798
|
-
const
|
|
5799
|
-
|
|
5800
|
-
const
|
|
5801
|
-
|
|
5802
|
-
const Dm = (e3) => y(kd, { ...e3 }), jm = (e3) => y(Hf, { ...e3 });
|
|
5803
|
-
const Zm = "${label} is not a valid ${type}", Vm = "${label} không phải là một ${type} hợp lệ", Bm = function(e3, t2) {
|
|
5797
|
+
Tm.show = ms.show;
|
|
5798
|
+
const Am = (e3) => y(xd, { ...e3 }), Im = (e3) => y(Ls, { ...e3 }), Lm = (e3) => y(sc, { ...e3 }), Rm = (e3) => y(kf, { ...e3 }), Fm = (e3) => y(Nf, { ...e3 });
|
|
5799
|
+
Fm.Step = Nf.Step;
|
|
5800
|
+
const Pm = (e3) => y(kd, { ...e3 }), Dm = (e3) => y(Hf, { ...e3 });
|
|
5801
|
+
const jm = "${label} is not a valid ${type}", Zm = "${label} không phải là một ${type} hợp lệ", Vm = function(e3, t2) {
|
|
5804
5802
|
return function e4(t3, n2) {
|
|
5805
5803
|
if ("object" != typeof t3 || "object" != typeof n2 || Array.isArray(t3) || Array.isArray(n2)) return void 0 !== n2 ? n2 : t3;
|
|
5806
5804
|
const r2 = {};
|
|
5807
5805
|
for (const o2 in t3) t3.hasOwnProperty(o2) && (r2[o2] = e4(t3[o2], n2[o2]));
|
|
5808
5806
|
return r2;
|
|
5809
5807
|
}(e3, t2);
|
|
5810
|
-
}({ locale: "en", common: { confirm: "Confirm", cancel: "Cancel", loading: "Loading", close: "Close" }, Calendar: { title: "Date selection", confirm: "Confirm", start: "start", end: "end", today: "today", markItems: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], yearAndMonth: "${year}/${month}" }, Cascader: { placeholder: "Selecting" }, Dialog: { ok: "OK" }, DatePicker: { tillNow: "Till Now" }, ErrorBlock: { default: { title: "Oops, something went wrong", description: "Please wait a minute and try again" }, busy: { title: "Oops, not loading", description: "Try to refresh the page" }, disconnected: { title: "Network is busy", description: "Try to refresh the page" }, empty: { title: "Hmm, couldn't find that...", description: "Want to try a new search?" } }, Form: { required: "Required", optional: "Optional", defaultValidateMessages: { default: "Field validation error for ${label}", required: "Please enter ${label}", enum: "${label} must be one of [${enum}]", whitespace: "${label} cannot be a blank character", date: { format: "${label} date format is invalid", parse: "${label} cannot be converted to a date", invalid: "${label} is an invalid date" }, types: { string:
|
|
5808
|
+
}({ locale: "en", common: { confirm: "Confirm", cancel: "Cancel", loading: "Loading", close: "Close" }, Calendar: { title: "Date selection", confirm: "Confirm", start: "start", end: "end", today: "today", markItems: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], yearAndMonth: "${year}/${month}" }, Cascader: { placeholder: "Selecting" }, Dialog: { ok: "OK" }, DatePicker: { tillNow: "Till Now" }, ErrorBlock: { default: { title: "Oops, something went wrong", description: "Please wait a minute and try again" }, busy: { title: "Oops, not loading", description: "Try to refresh the page" }, disconnected: { title: "Network is busy", description: "Try to refresh the page" }, empty: { title: "Hmm, couldn't find that...", description: "Want to try a new search?" } }, Form: { required: "Required", optional: "Optional", defaultValidateMessages: { default: "Field validation error for ${label}", required: "Please enter ${label}", enum: "${label} must be one of [${enum}]", whitespace: "${label} cannot be a blank character", date: { format: "${label} date format is invalid", parse: "${label} cannot be converted to a date", invalid: "${label} is an invalid date" }, types: { string: jm, method: jm, array: jm, object: jm, number: jm, date: jm, boolean: jm, integer: jm, float: jm, regexp: jm, email: jm, url: jm, hex: jm }, string: { len: "${label} must be ${len} characters", min: "${label} must be at least ${min} characters", max: "${label} must be up to ${max} characters", range: "${label} must be between ${min}-${max} characters" }, number: { len: "${label} must be equal to ${len}", min: "${label} must be minimum ${min}", max: "${label} must be maximum ${max}", range: "${label} must be between ${min}-${max}" }, array: { len: "Must be ${len} ${label}", min: "At least ${min} ${label}", max: "At most ${max} ${label}", range: "The amount of ${label} must be between ${min}-${max}" }, pattern: { mismatch: "${label} does not match the pattern ${pattern}" } } }, ImageUploader: { uploading: "Uploading...", upload: "Upload" }, InfiniteScroll: { noMore: "No more", failedToLoad: "Failed to load", retry: "Retry" }, Input: { clear: "clear" }, Mask: { name: "Mask" }, Modal: { ok: "OK" }, PasscodeInput: { name: "Passcode Input" }, PullToRefresh: { pulling: "Scroll down to refresh", canRelease: "Release to refresh immediately", complete: "Refresh successful" }, SearchBar: { name: "Search Bar" }, Slider: { name: "Slider" }, Stepper: { decrease: "decrease", increase: "increase" }, Switch: { name: "Switch" }, Selector: { name: "Selector" } }, { locale: "vi-VN", common: { confirm: "Chắc chắn", cancel: "Hủy", loading: "Đang tải", close: "Đóng" }, Calendar: { title: "Chọn ngày", confirm: "Xác nhận", start: "Bắt đầu", end: "Kết thúc", today: "Hôm nay", markItems: ["Một", "Hai", "Ba", "Bốn", "Năm", "Sáu", "Ngày"], yearAndMonth: "Tháng ${month} năm ${year}" }, Cascader: { placeholder: "Vui lòng lựa chọn" }, Dialog: { ok: "OK" }, DatePicker: { tillNow: "Đến nay" }, ErrorBlock: { default: { title: "Trang đang gặp một số vấn đề nhỏ", description: "Đợi chút rồi thử" }, busy: { title: "Ùn tắc phía trước", description: "Thử quét mới" }, disconnected: { title: "Mạng đang bận", description: "Chạm khẽ để chỉnh sửa" }, empty: { title: "Không tìm thấy thứ bạn cần", description: "Tìm cái khác" } }, Form: { required: "Bắt buộc", optional: "Tùy chọn", defaultValidateMessages: { default: "Lỗi xác thực trường ${label}", required: "Vui lòng nhập ${label}", enum: "${label} phải là một trong [${enum}]", whitespace: "${label} không được là ký tự trống", date: { format: "${label}Định dạng ngày tháng không còn hiệu lực", parse: "${label} Không thể chuyển đổi thành ngày", invalid: "${label} là một ngày không hợp lệ" }, types: { string: Zm, method: Zm, array: Zm, object: Zm, number: Zm, date: Zm, boolean: Zm, integer: Zm, float: Zm, regexp: Zm, email: Zm, url: Zm, hex: Zm }, string: { len: "${label} phải là ${len} ký tự", min: "${label} tối thiểu ${min} ký tự", max: "${label} tối đa ${max} ký tự", range: "${label} phải ở giữa chữ ${min} - ${max}" }, number: { len: "${label} phải bằng ${len}", min: "${label} giá trị tối thiểu là ${min}", max: "${label} giá trị tối đa là ${max}", range: "${label} phải ở giữa ${min} - ${max}" }, array: { len: "Phải là ${len} chiếc ${label}", min: "Tối thiểu ${min} chiếc ${label}", max: "Tối đa ${max} chiếc ${label}", range: "${label} số lượng phải ở giữa ${min} - ${max}" }, pattern: { mismatch: "${label} không khớp với mẫu ${pattern}" } } }, ImageUploader: { uploading: "Đang tải lên...", upload: "Tải lên" }, InfiniteScroll: { noMore: "Hết rồi bạn ơi", failedToLoad: "Tải xuống thất bại", retry: "Tải lại" }, Input: { clear: "Xóa" }, Mask: { name: "Nền tối" }, Modal: { ok: "OK" }, PasscodeInput: { name: "Khung nhập mật khẩu" }, PullToRefresh: { pulling: "Kéo xuống để làm mới", canRelease: "Thả ra để làm mới", complete: "Làm mới thành công" }, SearchBar: { name: "Khung tìm kiếm" }, Slider: { name: "Thanh nhập liệu trượt" }, Stepper: { decrease: "Giảm", increase: "Tăng" }, Switch: { name: "Bật tắt" }, Selector: { name: "Chọn nhóm" } }), Bm = { ...Vm, common: { ...Vm.common, confirm: "Xác nhận" }, ErrorBlock: { ...Vm.ErrorBlock, empty: { title: "Không có dữ liệu", description: "Hiện tại không có dữ liệu, xin vui lòng thử lại sau." } } }, zm = (e3) => {
|
|
5811
5809
|
const { children: t2, ...n2 } = e3;
|
|
5812
|
-
return y(M, { ...n2, locale:
|
|
5810
|
+
return y(M, { ...n2, locale: Bm, children: t2 });
|
|
5813
5811
|
};
|
|
5814
5812
|
export {
|
|
5815
|
-
|
|
5813
|
+
Tm as ActionSheet,
|
|
5816
5814
|
ps as AutoCenter,
|
|
5817
5815
|
tm as Avatar,
|
|
5818
5816
|
cm as Badge,
|
|
@@ -5820,10 +5818,10 @@ export {
|
|
|
5820
5818
|
um as CapsuleTabs,
|
|
5821
5819
|
dm as Card,
|
|
5822
5820
|
fm as Collapse,
|
|
5823
|
-
|
|
5821
|
+
zm as ConfigProvider,
|
|
5824
5822
|
im as DatePicker,
|
|
5825
5823
|
om as Divider,
|
|
5826
|
-
|
|
5824
|
+
Im as DotLoading,
|
|
5827
5825
|
mm as Ellipsis,
|
|
5828
5826
|
Mm as ErrorBlock,
|
|
5829
5827
|
hm as FloatingPanel,
|
|
@@ -5831,24 +5829,24 @@ export {
|
|
|
5831
5829
|
vm as Image,
|
|
5832
5830
|
gm as ImageViewer,
|
|
5833
5831
|
ym as IndexBar,
|
|
5834
|
-
|
|
5832
|
+
Nm as InfiniteScroll,
|
|
5835
5833
|
sm as Input,
|
|
5836
5834
|
bm as JumboTabs,
|
|
5837
5835
|
lm as List,
|
|
5838
5836
|
wm as NavBar,
|
|
5839
|
-
|
|
5837
|
+
Pm as PageIndicator,
|
|
5840
5838
|
am as Picker,
|
|
5841
|
-
|
|
5839
|
+
Am as PullToRefresh,
|
|
5842
5840
|
Em as SafeArea,
|
|
5843
|
-
|
|
5841
|
+
Rm as Segmented,
|
|
5844
5842
|
km as SideBar,
|
|
5845
5843
|
rm as Space,
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5844
|
+
Lm as SpinLoading,
|
|
5845
|
+
Fm as Steps,
|
|
5846
|
+
Df as Swiper,
|
|
5849
5847
|
_m as TabBar,
|
|
5850
5848
|
Cm as Tabs,
|
|
5851
|
-
|
|
5849
|
+
Dm as Tag,
|
|
5852
5850
|
em as Toast
|
|
5853
5851
|
};
|
|
5854
5852
|
//# sourceMappingURL=ama-ui.es.js.map
|