ngx-tethys 18.2.0-next.0 → 18.2.0-next.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 (173) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/autocomplete/autocomplete.component.d.ts +4 -2
  3. package/calendar/calendar-header.component.d.ts +2 -0
  4. package/cascader/cascader.component.d.ts +3 -1
  5. package/color-picker/color-picker-panel.component.d.ts +3 -1
  6. package/copy/copy.directive.d.ts +1 -0
  7. package/core/overlay/abstract-overlay-ref.d.ts +4 -0
  8. package/core/overlay/abstract-overlay.service.d.ts +1 -1
  9. package/core/theme/store.d.ts +2 -1
  10. package/core/theme/theme.d.ts +2 -0
  11. package/date-picker/abstract-picker.component.d.ts +3 -1
  12. package/date-picker/date-helper.service.d.ts +3 -0
  13. package/date-picker/date-picker.config.d.ts +7 -1
  14. package/date-picker/lib/calendar/calendar-footer.component.d.ts +3 -1
  15. package/date-picker/lib/calendar/calendar-header.component.d.ts +3 -1
  16. package/date-picker/lib/calendar/calendar-table.component.d.ts +3 -1
  17. package/date-picker/lib/date-carousel/date-carousel.component.d.ts +4 -1
  18. package/date-picker/lib/popups/date-popup.component.d.ts +3 -1
  19. package/date-picker/lib/popups/inner-popup.component.d.ts +3 -1
  20. package/date-range/date-range.component.d.ts +2 -0
  21. package/date-range/optional-dates/optional-dates.component.d.ts +1 -0
  22. package/dialog/confirm/confirm.component.d.ts +1 -0
  23. package/dialog/confirm.config.d.ts +14 -7
  24. package/dialog/dialog-ref.d.ts +10 -2
  25. package/dialog/dialog.service.d.ts +6 -0
  26. package/empty/empty.component.d.ts +14 -9
  27. package/empty/empty.config.d.ts +3 -0
  28. package/esm2022/autocomplete/autocomplete.component.mjs +9 -5
  29. package/esm2022/calendar/calendar-header.component.mjs +9 -5
  30. package/esm2022/cascader/cascader.component.mjs +9 -6
  31. package/esm2022/checkbox/checkbox.component.mjs +1 -1
  32. package/esm2022/color-picker/color-picker-panel.component.mjs +5 -3
  33. package/esm2022/copy/copy.directive.mjs +7 -5
  34. package/esm2022/core/overlay/abstract-overlay-ref.mjs +2 -2
  35. package/esm2022/core/overlay/abstract-overlay.service.mjs +2 -2
  36. package/esm2022/core/theme/store.mjs +7 -7
  37. package/esm2022/core/theme/theme.mjs +9 -2
  38. package/esm2022/date-picker/abstract-picker.component.mjs +4 -2
  39. package/esm2022/date-picker/base-picker.component.mjs +2 -2
  40. package/esm2022/date-picker/date-helper.service.mjs +4 -2
  41. package/esm2022/date-picker/date-picker.component.mjs +1 -1
  42. package/esm2022/date-picker/date-picker.config.mjs +55 -2
  43. package/esm2022/date-picker/date-picker.directive.mjs +1 -1
  44. package/esm2022/date-picker/date-picker.service.mjs +3 -3
  45. package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +5 -3
  46. package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +3 -1
  47. package/esm2022/date-picker/lib/calendar/calendar-table.component.mjs +3 -1
  48. package/esm2022/date-picker/lib/date/date-header.component.mjs +6 -5
  49. package/esm2022/date-picker/lib/date/date-table.component.mjs +4 -4
  50. package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +9 -4
  51. package/esm2022/date-picker/lib/decade/decade-header.component.mjs +3 -3
  52. package/esm2022/date-picker/lib/month/month-header.component.mjs +4 -4
  53. package/esm2022/date-picker/lib/month/month-table.component.mjs +3 -2
  54. package/esm2022/date-picker/lib/popups/date-popup.component.mjs +5 -3
  55. package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +5 -3
  56. package/esm2022/date-picker/lib/year/year-header.component.mjs +3 -3
  57. package/esm2022/date-picker/month-picker.component.mjs +1 -1
  58. package/esm2022/date-picker/quarter-picker.component.mjs +1 -1
  59. package/esm2022/date-picker/range-picker.component.mjs +1 -1
  60. package/esm2022/date-picker/range-picker.directive.mjs +1 -1
  61. package/esm2022/date-picker/week-picker.component.mjs +1 -1
  62. package/esm2022/date-picker/year-picker.component.mjs +1 -1
  63. package/esm2022/date-range/date-range.component.mjs +7 -4
  64. package/esm2022/date-range/optional-dates/optional-dates.component.mjs +4 -2
  65. package/esm2022/dialog/confirm/confirm.component.mjs +14 -3
  66. package/esm2022/dialog/confirm.config.mjs +17 -2
  67. package/esm2022/dialog/dialog-ref.mjs +9 -6
  68. package/esm2022/dialog/dialog.service.mjs +27 -3
  69. package/esm2022/empty/empty.component.mjs +7 -2
  70. package/esm2022/empty/empty.config.mjs +4 -1
  71. package/esm2022/form/form-validator-loader.mjs +17 -15
  72. package/esm2022/guider/guider-hint/guider-hint.component.mjs +5 -3
  73. package/esm2022/i18n/i18n.mjs +9 -0
  74. package/esm2022/i18n/i18n.service.mjs +45 -0
  75. package/esm2022/i18n/i18n.token.mjs +10 -0
  76. package/esm2022/i18n/index.mjs +10 -0
  77. package/esm2022/i18n/locale.mjs +14 -0
  78. package/esm2022/i18n/locales/de-de.mjs +130 -0
  79. package/esm2022/i18n/locales/en-us.mjs +151 -0
  80. package/esm2022/i18n/locales/ja-jp.mjs +130 -0
  81. package/esm2022/i18n/locales/zh-hans.mjs +130 -0
  82. package/esm2022/i18n/locales/zh-hant.mjs +130 -0
  83. package/esm2022/i18n/ngx-tethys-i18n.mjs +5 -0
  84. package/esm2022/nav/nav.component.mjs +5 -3
  85. package/esm2022/pagination/pagination.component.mjs +22 -5
  86. package/esm2022/pagination/pagination.module.mjs +26 -5
  87. package/esm2022/pagination/pagination.pipe.mjs +25 -1
  88. package/esm2022/property/property-item.component.mjs +3 -3
  89. package/esm2022/radio/button/radio-button.component.mjs +1 -1
  90. package/esm2022/radio/radio.component.mjs +1 -1
  91. package/esm2022/select/custom-select/custom-select.component.mjs +13 -6
  92. package/esm2022/strength/strength.component.mjs +21 -20
  93. package/esm2022/time-picker/time-picker-panel.component.mjs +5 -3
  94. package/esm2022/time-picker/time-picker.component.mjs +4 -2
  95. package/esm2022/tooltip/tooltip-ref.mjs +4 -1
  96. package/esm2022/transfer/transfer-list.component.mjs +5 -3
  97. package/esm2022/tree-select/tree-select.component.mjs +9 -6
  98. package/esm2022/version.mjs +2 -2
  99. package/fesm2022/ngx-tethys-autocomplete.mjs +8 -5
  100. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  101. package/fesm2022/ngx-tethys-calendar.mjs +8 -5
  102. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  103. package/fesm2022/ngx-tethys-cascader.mjs +8 -5
  104. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  105. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  106. package/fesm2022/ngx-tethys-color-picker.mjs +4 -2
  107. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  108. package/fesm2022/ngx-tethys-copy.mjs +6 -4
  109. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  110. package/fesm2022/ngx-tethys-core.mjs +14 -7
  111. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  112. package/fesm2022/ngx-tethys-date-picker.mjs +95 -30
  113. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  114. package/fesm2022/ngx-tethys-date-range.mjs +8 -4
  115. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  116. package/fesm2022/ngx-tethys-dialog.mjs +61 -10
  117. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  118. package/fesm2022/ngx-tethys-empty.mjs +9 -1
  119. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  120. package/fesm2022/ngx-tethys-form.mjs +16 -14
  121. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  122. package/fesm2022/ngx-tethys-guider.mjs +4 -2
  123. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  124. package/fesm2022/ngx-tethys-i18n.mjs +747 -0
  125. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -0
  126. package/fesm2022/ngx-tethys-nav.mjs +4 -2
  127. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  128. package/fesm2022/ngx-tethys-pagination.mjs +69 -7
  129. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  130. package/fesm2022/ngx-tethys-property.mjs +2 -2
  131. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  132. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  133. package/fesm2022/ngx-tethys-select.mjs +12 -5
  134. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  135. package/fesm2022/ngx-tethys-strength.mjs +20 -19
  136. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  137. package/fesm2022/ngx-tethys-time-picker.mjs +6 -3
  138. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  139. package/fesm2022/ngx-tethys-tooltip.mjs +3 -0
  140. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  141. package/fesm2022/ngx-tethys-transfer.mjs +4 -2
  142. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  143. package/fesm2022/ngx-tethys-tree-select.mjs +8 -5
  144. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  145. package/fesm2022/ngx-tethys.mjs +1 -1
  146. package/fesm2022/ngx-tethys.mjs.map +1 -1
  147. package/form/form-validator-loader.d.ts +2 -0
  148. package/guider/guider-hint/guider-hint.component.d.ts +3 -1
  149. package/i18n/i18n.d.ts +154 -0
  150. package/i18n/i18n.service.d.ts +19 -0
  151. package/i18n/i18n.token.d.ts +8 -0
  152. package/i18n/index.d.ts +9 -0
  153. package/i18n/locale.d.ts +4 -0
  154. package/i18n/locales/de-de.d.ts +130 -0
  155. package/i18n/locales/en-us.d.ts +151 -0
  156. package/i18n/locales/ja-jp.d.ts +130 -0
  157. package/i18n/locales/zh-hans.d.ts +130 -0
  158. package/i18n/locales/zh-hant.d.ts +130 -0
  159. package/nav/nav.component.d.ts +3 -1
  160. package/package.json +7 -1
  161. package/pagination/pagination.component.d.ts +4 -1
  162. package/pagination/pagination.module.d.ts +1 -1
  163. package/pagination/pagination.pipe.d.ts +6 -0
  164. package/radio/radio.component.d.ts +0 -2
  165. package/schematics/version.d.ts +1 -1
  166. package/schematics/version.js +1 -1
  167. package/select/custom-select/custom-select.component.d.ts +3 -1
  168. package/strength/strength.component.d.ts +21 -2
  169. package/styles/modules/cdk/drag-drop.scss +1 -1
  170. package/time-picker/time-picker-panel.component.d.ts +3 -1
  171. package/time-picker/time-picker.component.d.ts +3 -1
  172. package/transfer/transfer-list.component.d.ts +3 -1
  173. package/tree-select/tree-select.component.d.ts +3 -1
@@ -0,0 +1,151 @@
1
+ import { ThyLocaleType } from '../i18n';
2
+ declare const _default: {
3
+ id: ThyLocaleType;
4
+ datePicker: {
5
+ yearFormat: string;
6
+ monthFormat: string;
7
+ zhMonthFormat: string;
8
+ weekFormat: string;
9
+ fullWeekFormat: string;
10
+ weekThFormat: string;
11
+ dateFormat: string;
12
+ yearText: string;
13
+ quarterText: string;
14
+ monthText: string;
15
+ week: string;
16
+ prefixWeek: string;
17
+ previousYear: string;
18
+ nextYear: string;
19
+ previousMonth: string;
20
+ nextMonth: string;
21
+ today: string;
22
+ tomorrow: string;
23
+ nextWeek: string;
24
+ lastSevenDays: string;
25
+ lastThirtyDays: string;
26
+ currentMonth: string;
27
+ currentWeek: string;
28
+ advance: string;
29
+ custom: string;
30
+ startDate: string;
31
+ endDate: string;
32
+ setTime: string;
33
+ placeholder: string;
34
+ ok: string;
35
+ clear: string;
36
+ };
37
+ dateRange: {
38
+ custom: string;
39
+ currentWeek: string;
40
+ currentMonth: string;
41
+ };
42
+ timePicker: {
43
+ placeholder: string;
44
+ now: string;
45
+ ok: string;
46
+ };
47
+ calendar: {
48
+ today: string;
49
+ yearMonthFormat: string;
50
+ };
51
+ autocomplete: {
52
+ empty: string;
53
+ };
54
+ transfer: {
55
+ maxLimit: string;
56
+ maxLockLimit: string;
57
+ unlocked: string;
58
+ };
59
+ colorPicker: {
60
+ defaultColor: string;
61
+ noFillColor: string;
62
+ recentUsedColor: string;
63
+ customColor: string;
64
+ none: string;
65
+ };
66
+ strength: {
67
+ highest: string;
68
+ high: string;
69
+ medium: string;
70
+ low: string;
71
+ };
72
+ guider: {
73
+ skip: string;
74
+ prev: string;
75
+ next: string;
76
+ finish: string;
77
+ };
78
+ copy: {
79
+ tips: string;
80
+ success: string;
81
+ error: string;
82
+ };
83
+ nav: {
84
+ more: string;
85
+ };
86
+ dialog: {
87
+ title: string;
88
+ ok: string;
89
+ cancel: string;
90
+ };
91
+ select: {
92
+ placeholder: string;
93
+ empty: string;
94
+ };
95
+ treeSelect: {
96
+ placeholder: string;
97
+ empty: string;
98
+ };
99
+ cascader: {
100
+ placeholder: string;
101
+ empty: string;
102
+ };
103
+ pagination: {
104
+ page: string;
105
+ order: string;
106
+ total: string;
107
+ totalCount: string;
108
+ jumpTo: string;
109
+ firstPage: string;
110
+ lastPage: string;
111
+ defaultUnit: string;
112
+ };
113
+ form: {
114
+ required: string;
115
+ maxlength: string;
116
+ minlength: string;
117
+ uniqueCheck: string;
118
+ email: string;
119
+ confirm: string;
120
+ pattern: string;
121
+ number: string;
122
+ url: string;
123
+ max: string;
124
+ min: string;
125
+ };
126
+ empty: {
127
+ noDataText: string;
128
+ };
129
+ };
130
+ export default _default;
131
+ /**
132
+ * Format options:
133
+ * | Field type | Format | Description | Example Value |
134
+ * |--------------------|-------------|--------------------------------------------|---------------------------------|
135
+ * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |
136
+ * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |
137
+ * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |
138
+ * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |
139
+ * | Month | M | Numeric: 1 digit | 9, 12 |
140
+ * | | MM | Numeric: 2 digits + zero padded | 09, 12 |
141
+ * | | MMM | Abbreviated | Sep |
142
+ * | | MMMM | Wide | September |
143
+ * | | MMMMM | Narrow | S |
144
+ * | Week day | E, EE & EEE | Abbreviated | Tue |
145
+ * | | EEEE | Wide | Tuesday |
146
+ * | | EEEEE | Narrow | T |
147
+ * | | EEEEEE | Short | Tu |
148
+ * | ISO Week of year | w | Numeric: minimum digits | 1... 53 |
149
+ * | | ww | Numeric: 2 digits + zero padded | 01... 53 |
150
+ *
151
+ */
@@ -0,0 +1,130 @@
1
+ import { ThyLocaleType } from '../i18n';
2
+ declare const _default: {
3
+ id: ThyLocaleType;
4
+ datePicker: {
5
+ yearFormat: string;
6
+ monthFormat: string;
7
+ zhMonthFormat: string;
8
+ weekFormat: string;
9
+ fullWeekFormat: string;
10
+ weekThFormat: string;
11
+ dateFormat: string;
12
+ yearText: string;
13
+ quarterText: string;
14
+ monthText: string;
15
+ week: string;
16
+ prefixWeek: string;
17
+ previousYear: string;
18
+ nextYear: string;
19
+ previousMonth: string;
20
+ nextMonth: string;
21
+ today: string;
22
+ tomorrow: string;
23
+ nextWeek: string;
24
+ lastSevenDays: string;
25
+ lastThirtyDays: string;
26
+ currentMonth: string;
27
+ currentWeek: string;
28
+ advance: string;
29
+ custom: string;
30
+ startDate: string;
31
+ endDate: string;
32
+ setTime: string;
33
+ placeholder: string;
34
+ ok: string;
35
+ clear: string;
36
+ };
37
+ dateRange: {
38
+ custom: string;
39
+ currentWeek: string;
40
+ currentMonth: string;
41
+ };
42
+ timePicker: {
43
+ placeholder: string;
44
+ now: string;
45
+ ok: string;
46
+ };
47
+ calendar: {
48
+ today: string;
49
+ yearMonthFormat: string;
50
+ };
51
+ autocomplete: {
52
+ empty: string;
53
+ };
54
+ transfer: {
55
+ maxLimit: string;
56
+ maxLockLimit: string;
57
+ unlocked: string;
58
+ };
59
+ colorPicker: {
60
+ defaultColor: string;
61
+ noFillColor: string;
62
+ recentUsedColor: string;
63
+ customColor: string;
64
+ none: string;
65
+ };
66
+ strength: {
67
+ highest: string;
68
+ high: string;
69
+ medium: string;
70
+ low: string;
71
+ };
72
+ guider: {
73
+ skip: string;
74
+ prev: string;
75
+ next: string;
76
+ finish: string;
77
+ };
78
+ copy: {
79
+ tips: string;
80
+ success: string;
81
+ error: string;
82
+ };
83
+ nav: {
84
+ more: string;
85
+ };
86
+ dialog: {
87
+ title: string;
88
+ ok: string;
89
+ cancel: string;
90
+ };
91
+ select: {
92
+ placeholder: string;
93
+ empty: string;
94
+ };
95
+ treeSelect: {
96
+ placeholder: string;
97
+ empty: string;
98
+ };
99
+ cascader: {
100
+ placeholder: string;
101
+ empty: string;
102
+ };
103
+ pagination: {
104
+ page: string;
105
+ order: string;
106
+ total: string;
107
+ totalCount: string;
108
+ jumpTo: string;
109
+ firstPage: string;
110
+ lastPage: string;
111
+ defaultUnit: string;
112
+ };
113
+ form: {
114
+ required: string;
115
+ maxlength: string;
116
+ minlength: string;
117
+ uniqueCheck: string;
118
+ email: string;
119
+ confirm: string;
120
+ pattern: string;
121
+ number: string;
122
+ url: string;
123
+ max: string;
124
+ min: string;
125
+ };
126
+ empty: {
127
+ noDataText: string;
128
+ };
129
+ };
130
+ export default _default;
@@ -0,0 +1,130 @@
1
+ import { ThyLocaleType } from '../i18n';
2
+ declare const _default: {
3
+ id: ThyLocaleType;
4
+ datePicker: {
5
+ yearFormat: string;
6
+ monthFormat: string;
7
+ zhMonthFormat: string;
8
+ weekFormat: string;
9
+ fullWeekFormat: string;
10
+ weekThFormat: string;
11
+ dateFormat: string;
12
+ yearText: string;
13
+ quarterText: string;
14
+ monthText: string;
15
+ week: string;
16
+ prefixWeek: string;
17
+ previousYear: string;
18
+ nextYear: string;
19
+ previousMonth: string;
20
+ nextMonth: string;
21
+ today: string;
22
+ tomorrow: string;
23
+ nextWeek: string;
24
+ lastSevenDays: string;
25
+ lastThirtyDays: string;
26
+ currentMonth: string;
27
+ currentWeek: string;
28
+ advance: string;
29
+ custom: string;
30
+ startDate: string;
31
+ endDate: string;
32
+ setTime: string;
33
+ placeholder: string;
34
+ ok: string;
35
+ clear: string;
36
+ };
37
+ dateRange: {
38
+ custom: string;
39
+ currentWeek: string;
40
+ currentMonth: string;
41
+ };
42
+ timePicker: {
43
+ placeholder: string;
44
+ now: string;
45
+ ok: string;
46
+ };
47
+ calendar: {
48
+ today: string;
49
+ yearMonthFormat: string;
50
+ };
51
+ autocomplete: {
52
+ empty: string;
53
+ };
54
+ transfer: {
55
+ maxLimit: string;
56
+ maxLockLimit: string;
57
+ unlocked: string;
58
+ };
59
+ colorPicker: {
60
+ defaultColor: string;
61
+ noFillColor: string;
62
+ recentUsedColor: string;
63
+ customColor: string;
64
+ none: string;
65
+ };
66
+ strength: {
67
+ highest: string;
68
+ high: string;
69
+ medium: string;
70
+ low: string;
71
+ };
72
+ guider: {
73
+ skip: string;
74
+ prev: string;
75
+ next: string;
76
+ finish: string;
77
+ };
78
+ copy: {
79
+ tips: string;
80
+ success: string;
81
+ error: string;
82
+ };
83
+ nav: {
84
+ more: string;
85
+ };
86
+ dialog: {
87
+ title: string;
88
+ ok: string;
89
+ cancel: string;
90
+ };
91
+ select: {
92
+ placeholder: string;
93
+ empty: string;
94
+ };
95
+ treeSelect: {
96
+ placeholder: string;
97
+ empty: string;
98
+ };
99
+ cascader: {
100
+ placeholder: string;
101
+ empty: string;
102
+ };
103
+ pagination: {
104
+ page: string;
105
+ order: string;
106
+ total: string;
107
+ totalCount: string;
108
+ jumpTo: string;
109
+ firstPage: string;
110
+ lastPage: string;
111
+ defaultUnit: string;
112
+ };
113
+ form: {
114
+ required: string;
115
+ maxlength: string;
116
+ minlength: string;
117
+ uniqueCheck: string;
118
+ email: string;
119
+ confirm: string;
120
+ pattern: string;
121
+ number: string;
122
+ url: string;
123
+ max: string;
124
+ min: string;
125
+ };
126
+ empty: {
127
+ noDataText: string;
128
+ };
129
+ };
130
+ export default _default;
@@ -0,0 +1,130 @@
1
+ import { ThyLocaleType } from '../i18n';
2
+ declare const _default: {
3
+ id: ThyLocaleType;
4
+ datePicker: {
5
+ yearFormat: string;
6
+ monthFormat: string;
7
+ zhMonthFormat: string;
8
+ weekFormat: string;
9
+ fullWeekFormat: string;
10
+ weekThFormat: string;
11
+ dateFormat: string;
12
+ yearText: string;
13
+ quarterText: string;
14
+ monthText: string;
15
+ week: string;
16
+ prefixWeek: string;
17
+ previousYear: string;
18
+ nextYear: string;
19
+ previousMonth: string;
20
+ nextMonth: string;
21
+ today: string;
22
+ tomorrow: string;
23
+ nextWeek: string;
24
+ lastSevenDays: string;
25
+ lastThirtyDays: string;
26
+ currentMonth: string;
27
+ currentWeek: string;
28
+ advance: string;
29
+ custom: string;
30
+ startDate: string;
31
+ endDate: string;
32
+ setTime: string;
33
+ placeholder: string;
34
+ ok: string;
35
+ clear: string;
36
+ };
37
+ dateRange: {
38
+ custom: string;
39
+ currentWeek: string;
40
+ currentMonth: string;
41
+ };
42
+ timePicker: {
43
+ placeholder: string;
44
+ now: string;
45
+ ok: string;
46
+ };
47
+ calendar: {
48
+ today: string;
49
+ yearMonthFormat: string;
50
+ };
51
+ autocomplete: {
52
+ empty: string;
53
+ };
54
+ transfer: {
55
+ maxLimit: string;
56
+ maxLockLimit: string;
57
+ unlocked: string;
58
+ };
59
+ colorPicker: {
60
+ defaultColor: string;
61
+ noFillColor: string;
62
+ recentUsedColor: string;
63
+ customColor: string;
64
+ none: string;
65
+ };
66
+ strength: {
67
+ highest: string;
68
+ high: string;
69
+ medium: string;
70
+ low: string;
71
+ };
72
+ guider: {
73
+ skip: string;
74
+ prev: string;
75
+ next: string;
76
+ finish: string;
77
+ };
78
+ copy: {
79
+ tips: string;
80
+ success: string;
81
+ error: string;
82
+ };
83
+ nav: {
84
+ more: string;
85
+ };
86
+ dialog: {
87
+ title: string;
88
+ ok: string;
89
+ cancel: string;
90
+ };
91
+ select: {
92
+ placeholder: string;
93
+ empty: string;
94
+ };
95
+ treeSelect: {
96
+ placeholder: string;
97
+ empty: string;
98
+ };
99
+ cascader: {
100
+ placeholder: string;
101
+ empty: string;
102
+ };
103
+ pagination: {
104
+ page: string;
105
+ order: string;
106
+ total: string;
107
+ totalCount: string;
108
+ jumpTo: string;
109
+ firstPage: string;
110
+ lastPage: string;
111
+ defaultUnit: string;
112
+ };
113
+ form: {
114
+ required: string;
115
+ maxlength: string;
116
+ minlength: string;
117
+ uniqueCheck: string;
118
+ email: string;
119
+ confirm: string;
120
+ pattern: string;
121
+ number: string;
122
+ url: string;
123
+ max: string;
124
+ min: string;
125
+ };
126
+ empty: {
127
+ noDataText: string;
128
+ };
129
+ };
130
+ export default _default;
@@ -1,8 +1,9 @@
1
1
  import { Observable } from 'rxjs';
2
- import { AfterContentChecked, AfterContentInit, AfterViewInit, ElementRef, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { AfterContentChecked, AfterContentInit, AfterViewInit, ElementRef, OnChanges, OnInit, QueryList, Signal, SimpleChanges, TemplateRef } from '@angular/core';
3
3
  import { RouterLinkActive } from '@angular/router';
4
4
  import { ThyNavInkBarDirective } from './nav-ink-bar.directive';
5
5
  import { ThyNavItemDirective } from './nav-item.directive';
6
+ import { ThyNavLocale } from 'ngx-tethys/i18n';
6
7
  import * as i0 from "@angular/core";
7
8
  export type ThyNavType = 'pulled' | 'tabs' | 'pills' | 'lite' | 'primary' | 'secondary' | 'thirdly' | 'secondary-divider';
8
9
  export type ThyNavSize = 'lg' | 'md' | 'sm';
@@ -34,6 +35,7 @@ export declare class ThyNav implements OnInit, AfterViewInit, AfterContentInit,
34
35
  private moreBtnOffset;
35
36
  private hostRenderer;
36
37
  private innerLinks;
38
+ locale: Signal<ThyNavLocale>;
37
39
  /**
38
40
  * 导航类型
39
41
  * @type pulled | tabs | pills | lite | primary | secondary | thirdly | secondary-divider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-tethys",
3
- "version": "18.2.0-next.0",
3
+ "version": "18.2.0-next.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
@@ -232,6 +232,12 @@
232
232
  "esm": "./esm2022/guider/ngx-tethys-guider.mjs",
233
233
  "default": "./fesm2022/ngx-tethys-guider.mjs"
234
234
  },
235
+ "./i18n": {
236
+ "types": "./i18n/index.d.ts",
237
+ "esm2022": "./esm2022/i18n/ngx-tethys-i18n.mjs",
238
+ "esm": "./esm2022/i18n/ngx-tethys-i18n.mjs",
239
+ "default": "./fesm2022/ngx-tethys-i18n.mjs"
240
+ },
235
241
  "./icon": {
236
242
  "types": "./icon/index.d.ts",
237
243
  "esm2022": "./esm2022/icon/ngx-tethys-icon.mjs",
@@ -1,6 +1,7 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, OnInit, TemplateRef, Signal } from '@angular/core';
2
2
  import { isTemplateRef } from 'ngx-tethys/util';
3
3
  import { ThyPaginationConfigModel } from './pagination.class';
4
+ import { ThyI18nLocale, ThyPaginationLocale } from 'ngx-tethys/i18n';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * 分页组件,当数据量过多时,使用分页分解数据。
@@ -10,6 +11,8 @@ import * as i0 from "@angular/core";
10
11
  export declare class ThyPagination implements OnInit {
11
12
  private paginationConfig;
12
13
  private cdr;
14
+ allLocale: Signal<ThyI18nLocale>;
15
+ locale: Signal<ThyPaginationLocale>;
13
16
  isTemplateRef: typeof isTemplateRef;
14
17
  config: ThyPaginationConfigModel;
15
18
  /**
@@ -8,6 +8,6 @@ import * as i6 from "./pagination.component";
8
8
  import * as i7 from "./pagination.pipe";
9
9
  export declare class ThyPaginationModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyPaginationModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThyPaginationModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.ThySharedModule, typeof i4.ThyIconModule, typeof i5.ThySelectModule, typeof i6.ThyPagination, typeof i7.PaginationTotalCountFormat], [typeof i6.ThyPagination]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThyPaginationModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.ThySharedModule, typeof i4.ThyIconModule, typeof i5.ThySelectModule, typeof i6.ThyPagination, typeof i7.PaginationTotalCountFormat, typeof i7.PaginationPerPageFormat], [typeof i6.ThyPagination]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<ThyPaginationModule>;
13
13
  }
@@ -1,4 +1,5 @@
1
1
  import { PipeTransform } from '@angular/core';
2
+ import { ThyI18nLocale } from 'ngx-tethys/i18n';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
4
5
  * @private
@@ -9,3 +10,8 @@ export declare class PaginationTotalCountFormat implements PipeTransform {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationTotalCountFormat, never>;
10
11
  static ɵpipe: i0.ɵɵPipeDeclaration<PaginationTotalCountFormat, "paginationTotalPagesFormat", true>;
11
12
  }
13
+ export declare class PaginationPerPageFormat implements PipeTransform {
14
+ transform(unit: string, locale: ThyI18nLocale): string;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationPerPageFormat, never>;
16
+ static ɵpipe: i0.ɵɵPipeDeclaration<PaginationPerPageFormat, "paginationPerPageFormat", true>;
17
+ }
@@ -1,5 +1,4 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ThyTranslate } from 'ngx-tethys/core';
3
2
  import { ThyFormCheckBaseComponent } from 'ngx-tethys/shared';
4
3
  import { ThyRadioGroup } from './group/radio-group.component';
5
4
  import * as i0 from "@angular/core";
@@ -9,7 +8,6 @@ import * as i0 from "@angular/core";
9
8
  * @order 10
10
9
  */
11
10
  export declare class ThyRadio extends ThyFormCheckBaseComponent implements OnInit {
12
- thyTranslate: ThyTranslate;
13
11
  thyRadioGroupComponent: ThyRadioGroup;
14
12
  name: string;
15
13
  /**
@@ -1 +1 @@
1
- export declare const VERSION = "18.2.0-next.0";
1
+ export declare const VERSION = "18.2.0-next.2";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '18.2.0-next.0';
4
+ exports.VERSION = '18.2.0-next.2';
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs';
5
5
  import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
6
6
  import { SelectionModel } from '@angular/cdk/collections';
7
7
  import { CdkConnectedOverlay, ConnectionPositionPair, ScrollStrategy } from '@angular/cdk/overlay';
8
- import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
8
+ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef, Signal } from '@angular/core';
9
9
  import { ControlValueAccessor } from '@angular/forms';
10
10
  import { ThyDropdownWidthMode, ThySelectConfig } from '../select.config';
11
11
  import * as i0 from "@angular/core";
@@ -45,8 +45,10 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
45
45
  private overlay;
46
46
  private thyClickDispatcher;
47
47
  private platformId;
48
+ private locale;
48
49
  scrollStrategyFactory: FunctionProp<ScrollStrategy>;
49
50
  selectConfig: ThySelectConfig;
51
+ emptyIcon: Signal<string>;
50
52
  disabled: boolean;
51
53
  size: SelectControlSize;
52
54
  mode: SelectMode;