@flusys/ng-ui 6.0.0-rc.1 → 6.0.1
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 +8 -10
- package/fesm2022/flusys-ng-ui.mjs +2867 -758
- package/fesm2022/flusys-ng-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/themes/tailwind.scss +2 -0
- package/types/flusys-ng-ui.d.ts +63 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @flusys/ng-ui
|
|
2
2
|
|
|
3
|
-
Native Angular
|
|
3
|
+
Native Angular 22 UI component library for the FLUSYS platform — signal-based, standalone, zoneless-compatible, and Tailwind-friendly. No PrimeNG dependency; every component below is implemented natively in this package.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@flusys/ng-ui)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -244,7 +244,7 @@ Native single-select dropdown with filtering. Selector: `f-select`.
|
|
|
244
244
|
<f-select [options]="countries" optionLabel="name" optionValue="code" [(ngModel)]="selectedCountry" [filter]="true" [placeholder]="'form.selectCountry' | translate" />
|
|
245
245
|
```
|
|
246
246
|
|
|
247
|
-
Key inputs: `options`, `optionLabel`, `optionValue`, `placeholder`, `disabled`, `filter`, `showClear`, `loading`, `invalid`, `touched`, `editable
|
|
247
|
+
Key inputs: `options`, `optionLabel`, `optionValue`, `placeholder`, `disabled`, `filter`, `showClear`, `loading`, `invalid`, `touched`, `editable`, `appendTo` (`self | body`). Outputs: `onFilter`, `onChange`, `onShow`, `onHide`, `onBlur`. Supports `fTemplate="selectedItem"` / `fTemplate="item"` content templates.
|
|
248
248
|
|
|
249
249
|
### MultiSelectComponent
|
|
250
250
|
|
|
@@ -254,7 +254,7 @@ Multi-value select with chip/comma display. Selector: `f-multiselect`.
|
|
|
254
254
|
<f-multiselect [options]="roles" optionLabel="name" [(ngModel)]="selectedRoles" display="chip" [showToggleAll]="true" />
|
|
255
255
|
```
|
|
256
256
|
|
|
257
|
-
Key inputs: `options`, `optionLabel`, `optionValue`, `placeholder`, `filter`, `display` (`comma | chip`), `maxSelectedLabels`, `selectionLimit`, `showToggleAll`, `invalid`, `touched
|
|
257
|
+
Key inputs: `options`, `optionLabel`, `optionValue`, `placeholder`, `filter`, `display` (`comma | chip`), `maxSelectedLabels`, `selectionLimit`, `showToggleAll`, `invalid`, `touched`, `appendTo` (`self | body`).
|
|
258
258
|
|
|
259
259
|
### CheckboxComponent
|
|
260
260
|
|
|
@@ -364,7 +364,7 @@ Type-ahead input backed by an async or static suggestion list. Selector: `f-auto
|
|
|
364
364
|
<f-autocomplete [suggestions]="filteredUsers()" field="name" [(ngModel)]="selectedUser" (completeMethod)="search($event.query)" />
|
|
365
365
|
```
|
|
366
366
|
|
|
367
|
-
Key inputs: `suggestions`, `field`, `placeholder`, `disabled`, `dropdown`, `forceSelection`, `multiple`, `delay`, `minLength`, `invalid`, `touched
|
|
367
|
+
Key inputs: `suggestions`, `field`, `placeholder`, `disabled`, `dropdown`, `forceSelection`, `multiple`, `delay`, `minLength`, `invalid`, `touched`, `appendTo` (`self | body`). Outputs: `completeMethod` (`AutoCompleteCompleteEvent`), `onSelect` (`AutoCompleteSelectEvent`), `onUnselect`, `onClear`, `onChange`.
|
|
368
368
|
|
|
369
369
|
### ColorPickerComponent
|
|
370
370
|
|
|
@@ -434,7 +434,7 @@ Hierarchical dependent-option selector (e.g. country → state → city). Select
|
|
|
434
434
|
<f-cascadeselect [options]="locations" optionLabel="label" optionChildren="children" [(ngModel)]="selectedLocation" />
|
|
435
435
|
```
|
|
436
436
|
|
|
437
|
-
Key inputs: `options`, `optionLabel`, `optionValue`, `optionChildren`, `placeholder`, `disabled`, `invalid`, `touched
|
|
437
|
+
Key inputs: `options`, `optionLabel`, `optionValue`, `optionChildren`, `placeholder`, `disabled`, `invalid`, `touched`, `appendTo` (`self | body`).
|
|
438
438
|
|
|
439
439
|
### KeyFilterDirective
|
|
440
440
|
|
|
@@ -454,7 +454,7 @@ Select input backed by a hierarchical tree of options. Selector: `f-treeselect`.
|
|
|
454
454
|
<f-treeselect [options]="orgTree" [(ngModel)]="selectedNode" selectionMode="checkbox" [filter]="true" />
|
|
455
455
|
```
|
|
456
456
|
|
|
457
|
-
Key inputs: `options` (`TreeNode[]`), `placeholder`, `disabled`, `filter`, `selectionMode` (`single | multiple | checkbox`), `invalid`, `touched
|
|
457
|
+
Key inputs: `options` (`TreeNode[]`), `placeholder`, `disabled`, `filter`, `selectionMode` (`single | multiple | checkbox`), `invalid`, `touched`, `appendTo` (`self | body`).
|
|
458
458
|
|
|
459
459
|
### IconFieldComponent / InputIconComponent
|
|
460
460
|
|
|
@@ -727,8 +727,7 @@ Global confirmation modal driven by `ConfirmationService.confirm()`. Selector: `
|
|
|
727
727
|
Anchored (non-modal) confirmation popup, also driven by `ConfirmationService`. Selector: `f-confirmpopup`.
|
|
728
728
|
|
|
729
729
|
```html
|
|
730
|
-
<f-confirmpopup />
|
|
731
|
-
<f-button label="Delete" (onClick)="confirmationService.confirm({ target: $event.target, message: 'Sure?', accept: onDelete })" />
|
|
730
|
+
<f-confirmpopup /> <f-button label="Delete" (onClick)="confirmationService.confirm({ target: $event.target, message: 'Sure?', accept: onDelete })" />
|
|
732
731
|
```
|
|
733
732
|
|
|
734
733
|
Key input: `key`.
|
|
@@ -787,8 +786,7 @@ Key inputs: `key`, `position` (`top-right | top-left | top-center | bottom-right
|
|
|
787
786
|
Flat or popup vertical menu. Selector: `f-menu`.
|
|
788
787
|
|
|
789
788
|
```html
|
|
790
|
-
<f-menu #menu [model]="actions" [popup]="true" />
|
|
791
|
-
<f-button icon="ellipsis" (onClick)="menu.toggle($event)" />
|
|
789
|
+
<f-menu #menu [model]="actions" [popup]="true" /> <f-button icon="ellipsis" (onClick)="menu.toggle($event)" />
|
|
792
790
|
```
|
|
793
791
|
|
|
794
792
|
Key inputs: `model` (`MenuItem[]`), `popup`.
|