@libs-ui/components-datetime-dropdown 0.2.357-1 → 0.2.357-11

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 (2) hide show
  1. package/README.md +1 -8
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -320,6 +320,7 @@ export class WithLabelComponent {
320
320
  | `[isMultiple]` | `boolean` | `false` | Bật chế độ chọn khoảng thời gian — hiển thị hai nhóm dropdown (From/To) với validation so sánh | `[isMultiple]="true"` |
321
321
  | `[labelConfig]` | `ILabel \| undefined` | `undefined` | Cấu hình label phía trên component, dùng `ILabel` từ `@libs-ui/components-label` | `[labelConfig]="{ labelLeft: 'Kỳ báo cáo', required: true }"` |
322
322
  | `[listHasButtonUnSelectOption]` | `boolean` | `false` | Hiển thị nút "Bỏ chọn" trong danh sách dropdown | `[listHasButtonUnSelectOption]="true"` |
323
+ | `[listHiddenInputSearch]` | `boolean \| undefined` | `undefined` | Ẩn ô input tìm kiếm bên trong danh sách dropdown (năm/tháng/quý/ngày) | `[listHiddenInputSearch]="true"` |
323
324
  | `[listKeysDisable]` | `IDateDropdownDisableKeys \| undefined` | `undefined` | Cấu hình disable từng giá trị (năm/tháng/quý/ngày) cho from và to riêng biệt | `[listKeysDisable]="disabledKeys"` |
324
325
  | `[listMaxItemShow]` | `{ year?: number; month?: number; quarter?: number; day?: number } \| undefined` | `undefined` | Giới hạn số lượng item tối đa hiển thị trong dropdown cho từng loại | `[listMaxItemShow]="{ year: 5 }"` |
325
326
  | `[maxYear]` | `number` | `0` (dùng DEFAULT_MAX_YEAR từ picker) | Năm tối đa hiển thị trong dropdown năm | `[maxYear]="2030"` |
@@ -551,11 +552,3 @@ interface IHiddenDate {
551
552
  ⚠️ **ignoreAllowTimeEqual mặc định true**: Mặc định from phải nhỏ hơn to (không cho bằng nhau). Đặt `[ignoreAllowTimeEqual]="false"` nếu muốn cho phép from = to.
552
553
 
553
554
  ⚠️ **widthDropdown áp dụng cho từng dropdown đơn**: Khi `typeFormat="year-month"` và `widthDropdown=136`, tổng chiều rộng sẽ là khoảng `136 * 2 + spacing`. Dùng `[widthByElement]="true"` để component tự tính theo container cha.
554
-
555
- ## Demo
556
-
557
- ```bash
558
- npx nx serve core-ui
559
- ```
560
-
561
- Truy cập: http://localhost:4500/datetime/dropdown
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@libs-ui/components-datetime-dropdown",
3
- "version": "0.2.357-1",
3
+ "version": "0.2.357-11",
4
4
  "peerDependencies": {
5
5
  "@angular/core": ">=18.0.0",
6
6
  "@ngx-translate/core": "^15.0.0",
7
- "@libs-ui/services-http-request": "0.2.357-1",
8
- "@libs-ui/utils": "0.2.357-1",
9
- "@libs-ui/components-datetime-picker": "0.2.357-1",
10
- "@libs-ui/components-label": "0.2.357-1",
11
- "@libs-ui/components-popover": "0.2.357-1",
7
+ "@libs-ui/services-http-request": "0.2.357-11",
8
+ "@libs-ui/utils": "0.2.357-11",
9
+ "@libs-ui/components-datetime-picker": "0.2.357-11",
10
+ "@libs-ui/components-label": "0.2.357-11",
11
+ "@libs-ui/components-popover": "0.2.357-11",
12
12
  "rxjs": "~7.8.0",
13
- "@libs-ui/components-dropdown": "0.2.357-1",
14
- "@libs-ui/components-list": "0.2.357-1"
13
+ "@libs-ui/components-dropdown": "0.2.357-11",
14
+ "@libs-ui/components-list": "0.2.357-11"
15
15
  },
16
16
  "sideEffects": false,
17
17
  "module": "fesm2022/libs-ui-components-datetime-dropdown.mjs",