@libs-ui/components-datetime-picker 0.2.357-8 → 0.2.357-9
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/README.md +0 -8
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -624,11 +624,3 @@ console.log(DEFAULT_MAX_YEAR); // năm hiện tại + 5
|
|
|
624
624
|
⚠️ **Format ngày truyền vào**: `minDate`, `maxDate`, `startDate`, `endDate` chấp nhận cả `Dayjs` object lẫn `string` ISO (VD: `'2024-06-15'`, `'2024-06-15T00:00:00Z'`). Khuyến nghị dùng `getDayjs()` từ `@libs-ui/utils` để đảm bảo timezone nhất quán.
|
|
625
625
|
|
|
626
626
|
⚠️ **widthByLabel mặc định là true**: Khi `true`, chiều rộng trigger tự co dãn theo nội dung label ngày. Để có chiều rộng cố định đẹp hơn trong form, đặt `[widthByLabel]="false"`. Chiều rộng tự tính lúc đó: range+time=322px, range=232px, single+time=190px, single=152px.
|
|
627
|
-
|
|
628
|
-
## Demo
|
|
629
|
-
|
|
630
|
-
```bash
|
|
631
|
-
npx nx serve core-ui
|
|
632
|
-
```
|
|
633
|
-
|
|
634
|
-
Truy cập: http://localhost:4500/components/datetime/picker
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-datetime-picker",
|
|
3
|
-
"version": "0.2.357-
|
|
3
|
+
"version": "0.2.357-9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=18.0.0",
|
|
6
|
-
"@libs-ui/components-buttons-button": "0.2.357-
|
|
7
|
-
"@libs-ui/components-dropdown": "0.2.357-
|
|
8
|
-
"@libs-ui/components-inputs-input": "0.2.357-
|
|
9
|
-
"@libs-ui/components-list": "0.2.357-
|
|
10
|
-
"@libs-ui/components-popover": "0.2.357-
|
|
11
|
-
"@libs-ui/interfaces-types": "0.2.357-
|
|
12
|
-
"@libs-ui/services-http-request": "0.2.357-
|
|
13
|
-
"@libs-ui/utils": "0.2.357-
|
|
6
|
+
"@libs-ui/components-buttons-button": "0.2.357-9",
|
|
7
|
+
"@libs-ui/components-dropdown": "0.2.357-9",
|
|
8
|
+
"@libs-ui/components-inputs-input": "0.2.357-9",
|
|
9
|
+
"@libs-ui/components-list": "0.2.357-9",
|
|
10
|
+
"@libs-ui/components-popover": "0.2.357-9",
|
|
11
|
+
"@libs-ui/interfaces-types": "0.2.357-9",
|
|
12
|
+
"@libs-ui/services-http-request": "0.2.357-9",
|
|
13
|
+
"@libs-ui/utils": "0.2.357-9",
|
|
14
14
|
"@ngx-translate/core": "^15.0.0",
|
|
15
15
|
"dayjs": "1.11.5",
|
|
16
|
-
"@libs-ui/components-label": "0.2.357-
|
|
16
|
+
"@libs-ui/components-label": "0.2.357-9"
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"module": "fesm2022/libs-ui-components-datetime-picker.mjs",
|