@fuentis/phoenix-ui 0.0.9-alpha.630 → 0.0.9-alpha.633
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/fesm2022/fuentis-phoenix-ui.mjs +145 -25
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
- package/index.d.ts +33 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1144,12 +1144,13 @@ declare class StatusBarComponent {
|
|
|
1144
1144
|
|
|
1145
1145
|
declare class QuickPickSidePanelComponent {
|
|
1146
1146
|
drawer: Drawer;
|
|
1147
|
-
title: string
|
|
1148
|
-
data: any[]
|
|
1149
|
-
columns: any[]
|
|
1150
|
-
tableConfiguration: any
|
|
1151
|
-
widthClass: string
|
|
1152
|
-
isFullScreen: boolean
|
|
1147
|
+
title: i0.InputSignal<string>;
|
|
1148
|
+
data: i0.InputSignal<any[]>;
|
|
1149
|
+
columns: i0.InputSignal<any[]>;
|
|
1150
|
+
tableConfiguration: i0.InputSignal<any>;
|
|
1151
|
+
widthClass: i0.InputSignal<string>;
|
|
1152
|
+
isFullScreen: i0.InputSignal<boolean>;
|
|
1153
|
+
filters: i0.Signal<any[]>;
|
|
1153
1154
|
private _panelVisible;
|
|
1154
1155
|
set panelState(value: boolean);
|
|
1155
1156
|
panelStateChange: EventEmitter<boolean>;
|
|
@@ -1160,8 +1161,18 @@ declare class QuickPickSidePanelComponent {
|
|
|
1160
1161
|
visibleChange(newVal: boolean): void;
|
|
1161
1162
|
onDrawerShow(): void;
|
|
1162
1163
|
onTableRowClick(row: any): void;
|
|
1164
|
+
createDynamicFilters(data: any[], fields: any[], defaultFilterType?: string): any[];
|
|
1165
|
+
toDisplay(val: any): string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Extracts a displayable value from an object or primitive.
|
|
1168
|
+
* - Prefers object.name, then object.label, object.value, or object.title.
|
|
1169
|
+
* - Falls back to JSON stringification for objects without display fields.
|
|
1170
|
+
* - Returns primitive values as-is.
|
|
1171
|
+
*/
|
|
1172
|
+
extractItemNameOrValue(item: any): any;
|
|
1173
|
+
getNestedValue(obj: any, path: string): any;
|
|
1163
1174
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickPickSidePanelComponent, never>;
|
|
1164
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuickPickSidePanelComponent, "phoenix-quick-pick-sidepanel", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "widthClass": { "alias": "widthClass"; "required": false; }; "isFullScreen": { "alias": "isFullScreen"; "required": false; }; "panelState": { "alias": "panelState"; "required": false; }; }, { "panelStateChange": "panelStateChange"; "onRowClick": "onRowClick"; "lazyLoadData": "lazyLoadData"; "handlePanelFullScreen": "handlePanelFullScreen"; }, never, never, true, never>;
|
|
1175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuickPickSidePanelComponent, "phoenix-quick-pick-sidepanel", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "tableConfiguration": { "alias": "tableConfiguration"; "required": false; "isSignal": true; }; "widthClass": { "alias": "widthClass"; "required": false; "isSignal": true; }; "isFullScreen": { "alias": "isFullScreen"; "required": false; "isSignal": true; }; "panelState": { "alias": "panelState"; "required": false; }; }, { "panelStateChange": "panelStateChange"; "onRowClick": "onRowClick"; "lazyLoadData": "lazyLoadData"; "handlePanelFullScreen": "handlePanelFullScreen"; }, never, never, true, never>;
|
|
1165
1176
|
}
|
|
1166
1177
|
|
|
1167
1178
|
type MetaFieldType = 'TEXT' | 'URL' | 'NUMBER' | 'TIMEPERIOD' | 'CURRENCY' | 'TEXT_AREA' | 'SS_OPTION' | 'SS_OPTION_OBJECT_BASED' | 'MS_OPTION' | 'START_DUE_DATE' | 'DATE' | 'TEXT_EDITOR' | 'CHECKBOX' | 'CHECKBOX_COLOR' | 'SWITCH' | 'SELECT_BUTTON' | 'ASSIGN' | 'ASSIGN_ASSET' | 'PASSWORD' | 'COLOR' | 'UPLOAD' | 'UPLOAD_DRAG_DROP' | 'LINKS_DATA' | 'SLOT';
|
|
@@ -1202,6 +1213,14 @@ interface MetaFieldConfig {
|
|
|
1202
1213
|
validators?: MetaValidators;
|
|
1203
1214
|
style: {
|
|
1204
1215
|
colWidth: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* When true, this field forces a hard line break: it starts a brand new
|
|
1218
|
+
* grid row regardless of how much space is left in the current row
|
|
1219
|
+
* (i.e. regardless of whether colWidths in the current row sum to 12).
|
|
1220
|
+
* Default (unset/false): fields keep flowing/wrapping into the current
|
|
1221
|
+
* row as space allows (existing behavior).
|
|
1222
|
+
*/
|
|
1223
|
+
newRow?: boolean;
|
|
1205
1224
|
};
|
|
1206
1225
|
}
|
|
1207
1226
|
type AssignExtra = {
|
|
@@ -1340,6 +1359,11 @@ declare class MetaFormV2Component implements OnChanges, OnDestroy {
|
|
|
1340
1359
|
get groupedControls(): any[];
|
|
1341
1360
|
/** Returns flat schema structure (grid mode) */
|
|
1342
1361
|
get flatControls(): any[];
|
|
1362
|
+
/**
|
|
1363
|
+
* Flat schema split into row chunks, honoring `style.newRow` hard breaks.
|
|
1364
|
+
* Used by the non-grouped grid template.
|
|
1365
|
+
*/
|
|
1366
|
+
get controlRows(): any[][];
|
|
1343
1367
|
/** TrackBy for group rendering */
|
|
1344
1368
|
groupTrack(g: any, idx: number): any;
|
|
1345
1369
|
/**
|
|
@@ -1498,6 +1522,8 @@ declare class MetaFormGroupV2Component {
|
|
|
1498
1522
|
group: MetaFormGroupConfig;
|
|
1499
1523
|
form: FormGroup;
|
|
1500
1524
|
readOnly: boolean;
|
|
1525
|
+
/** Group's fields split into row chunks, honoring `style.newRow` hard breaks. */
|
|
1526
|
+
get rows(): any[][];
|
|
1501
1527
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormGroupV2Component, never>;
|
|
1502
1528
|
static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormGroupV2Component, "phoenix-meta-form-group-v2", never, { "group": { "alias": "group"; "required": true; }; "form": { "alias": "form"; "required": true; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
1503
1529
|
}
|