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.
Files changed (39) hide show
  1. package/dist/component/button/button.d.ts +2 -1
  2. package/dist/component/button/button.js +9 -29
  3. package/dist/component/calendar/calendar.d.ts +0 -6
  4. package/dist/component/calendar/calendar.js +141 -181
  5. package/dist/component/checkbox/checkbox.js +26 -56
  6. package/dist/component/ck-editor/ckeditor.js +18 -29
  7. package/dist/component/component-status.js +6 -6
  8. package/dist/component/date-picker/date-picker.js +141 -174
  9. package/dist/component/date-time-picker/date-time-picker.d.ts +36 -0
  10. package/dist/component/date-time-picker/date-time-picker.js +572 -0
  11. package/dist/component/dialog/dialog.js +37 -67
  12. package/dist/component/import-file/import-file.js +67 -106
  13. package/dist/component/infinite-scroll/infinite-scroll.js +17 -83
  14. package/dist/component/input-multi-select/input-multi-select.js +102 -178
  15. package/dist/component/input-otp/input-otp.js +29 -69
  16. package/dist/component/number-picker/number-picker.js +21 -33
  17. package/dist/component/pagination/pagination.js +19 -22
  18. package/dist/component/popup/popup.d.ts +2 -2
  19. package/dist/component/popup/popup.js +43 -70
  20. package/dist/component/progress-bar/progress-bar.js +12 -24
  21. package/dist/component/progress-circle/progress-circle.js +8 -19
  22. package/dist/component/radio-button/radio-button.js +11 -42
  23. package/dist/component/rating/rating.js +29 -48
  24. package/dist/component/select1/select1.js +91 -160
  25. package/dist/component/slider/slider.js +36 -54
  26. package/dist/component/switch/switch.js +22 -52
  27. package/dist/component/table/table.js +36 -89
  28. package/dist/component/tag/tag.js +8 -28
  29. package/dist/component/text/text.js +9 -40
  30. package/dist/component/text-area/text-area.js +12 -41
  31. package/dist/component/text-field/text-field.js +17 -47
  32. package/dist/component/toast-noti/toast-noti.js +7 -10
  33. package/dist/component/wini-icon/winicon.js +55 -113
  34. package/dist/form/login/view.js +28 -28
  35. package/dist/index.d.ts +3 -3
  36. package/dist/index.js +1 -1
  37. package/dist/index.js.LICENSE.txt +1 -11
  38. package/dist/language/i18n.js +24 -5
  39. 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-2024, CKSource Holding sp. z o.o. All rights reserved.
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
- */
@@ -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
- var i18next_1 = __importDefault(require("i18next"));
7
+ const i18next_1 = __importDefault(require("i18next"));
8
8
  exports.i18n = i18next_1.default;
9
- var react_i18next_1 = require("react-i18next");
9
+ const react_i18next_1 = require("react-i18next");
10
10
  // Translation resources
11
- var resources = {
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: 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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wini-web-components",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {