wini-web-components 2.6.0 → 2.6.2
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/component/button/button.d.ts +2 -1
- package/dist/component/button/button.js +9 -29
- package/dist/component/calendar/calendar.d.ts +0 -6
- package/dist/component/calendar/calendar.js +141 -181
- package/dist/component/checkbox/checkbox.js +26 -56
- package/dist/component/ck-editor/ckeditor.js +18 -29
- package/dist/component/component-status.js +6 -6
- package/dist/component/date-picker/date-picker.js +141 -174
- package/dist/component/date-time-picker/date-time-picker.d.ts +36 -0
- package/dist/component/date-time-picker/date-time-picker.js +572 -0
- package/dist/component/dialog/dialog.js +37 -67
- package/dist/component/import-file/import-file.js +67 -106
- package/dist/component/infinite-scroll/infinite-scroll.js +17 -83
- package/dist/component/input-multi-select/input-multi-select.js +102 -178
- package/dist/component/input-otp/input-otp.js +29 -69
- package/dist/component/number-picker/number-picker.js +21 -33
- package/dist/component/pagination/pagination.js +19 -22
- package/dist/component/popup/popup.d.ts +2 -2
- package/dist/component/popup/popup.js +43 -70
- package/dist/component/progress-bar/progress-bar.js +12 -24
- package/dist/component/progress-circle/progress-circle.js +8 -19
- package/dist/component/radio-button/radio-button.js +11 -42
- package/dist/component/rating/rating.js +29 -48
- package/dist/component/select1/select1.js +91 -160
- package/dist/component/slider/slider.js +36 -54
- package/dist/component/switch/switch.js +22 -52
- package/dist/component/table/table.js +36 -89
- package/dist/component/tag/tag.js +8 -28
- package/dist/component/text/text.js +9 -40
- package/dist/component/text-area/text-area.js +12 -41
- package/dist/component/text-field/text-field.js +17 -47
- package/dist/component/toast-noti/toast-noti.js +7 -10
- package/dist/component/wini-icon/winicon.js +55 -113
- package/dist/form/login/view.js +28 -28
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +1 -11
- package/dist/language/i18n.js +24 -5
- package/package.json +1 -1
|
@@ -13,16 +13,6 @@
|
|
|
13
13
|
/* istanbul ignore next: static function definition -- @preserve */
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* @license Copyright (c) 2003-
|
|
16
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
17
17
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
22
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
27
|
-
* For licensing, see LICENSE.md.
|
|
28
|
-
*/
|
package/dist/language/i18n.js
CHANGED
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.i18n = void 0;
|
|
7
|
-
|
|
7
|
+
const i18next_1 = __importDefault(require("i18next"));
|
|
8
8
|
exports.i18n = i18next_1.default;
|
|
9
|
-
|
|
9
|
+
const react_i18next_1 = require("react-i18next");
|
|
10
10
|
// Translation resources
|
|
11
|
-
|
|
11
|
+
const resources = {
|
|
12
12
|
en: {
|
|
13
13
|
translation: {
|
|
14
14
|
su: 'Su',
|
|
@@ -60,6 +60,15 @@ var resources = {
|
|
|
60
60
|
loginTo: "Log in to",
|
|
61
61
|
signup: "Sign up",
|
|
62
62
|
signupFor: "Sign up for",
|
|
63
|
+
"start-date": "Start date",
|
|
64
|
+
"end-date": "End date",
|
|
65
|
+
reset: "Reset",
|
|
66
|
+
date: "Date",
|
|
67
|
+
on: "On",
|
|
68
|
+
daily: "Daily",
|
|
69
|
+
weekly: "Weekly",
|
|
70
|
+
monthly: "Monthly",
|
|
71
|
+
last: "Last",
|
|
63
72
|
},
|
|
64
73
|
},
|
|
65
74
|
vi: {
|
|
@@ -112,15 +121,25 @@ var resources = {
|
|
|
112
121
|
login: "Đăng nhập",
|
|
113
122
|
loginTo: "Đăng nhập vào",
|
|
114
123
|
signup: "Đăng ký",
|
|
115
|
-
signupFor: "Đăng ký"
|
|
124
|
+
signupFor: "Đăng ký",
|
|
125
|
+
"start-date": "Ngày bắt đầu",
|
|
126
|
+
"end-date": "Ngày kết thúc",
|
|
127
|
+
reset: "Mặc định",
|
|
128
|
+
date: "Ngày",
|
|
129
|
+
on: "Vào",
|
|
130
|
+
daily: "Hàng ngày",
|
|
131
|
+
weekly: "Hàng tuần",
|
|
132
|
+
monthly: "Hàng tháng",
|
|
133
|
+
last: "Cuối tháng",
|
|
116
134
|
},
|
|
117
135
|
},
|
|
118
136
|
};
|
|
119
137
|
// Initialize i18n
|
|
120
138
|
i18next_1.default.use(react_i18next_1.initReactI18next).init({
|
|
121
|
-
resources
|
|
139
|
+
resources,
|
|
122
140
|
lng: 'en', // Default language
|
|
123
141
|
fallbackLng: 'en', // Fallback language
|
|
142
|
+
// backend: {loadPath: "somevariables"},
|
|
124
143
|
interpolation: {
|
|
125
144
|
escapeValue: false, // React already escapes values
|
|
126
145
|
},
|