@flywheel-io/vision 21.2.1 → 21.3.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/package.json
CHANGED
|
@@ -716,7 +716,7 @@ declare class FwContainedInputComponent implements ControlValueAccessor {
|
|
|
716
716
|
registerOnTouched(fn: any): void;
|
|
717
717
|
setDisabledState(isDisabled: boolean): void;
|
|
718
718
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FwContainedInputComponent, never>;
|
|
719
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FwContainedInputComponent, "fw-contained-input", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "inputPosition": { "alias": "inputPosition"; "required": false; "isSignal": true; }; "inputVariant": { "alias": "inputVariant"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "change": "change"; }, never, ["fw-avatar", "fw-icon"], true, never>;
|
|
719
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FwContainedInputComponent, "fw-contained-input", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "inputPosition": { "alias": "inputPosition"; "required": false; "isSignal": true; }; "inputVariant": { "alias": "inputVariant"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "change": "change"; }, never, ["fw-avatar", "fw-icon", "*"], true, never>;
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
/**
|
|
@@ -1098,6 +1098,7 @@ interface CustomSection {
|
|
|
1098
1098
|
description?: string | null;
|
|
1099
1099
|
key: string;
|
|
1100
1100
|
fields: CustomField[];
|
|
1101
|
+
visible?: RulesLogic[];
|
|
1101
1102
|
}
|
|
1102
1103
|
interface CustomForm {
|
|
1103
1104
|
fields: (CustomField | CustomSection)[];
|
|
@@ -1127,10 +1128,12 @@ declare class FwFormRendererComponent {
|
|
|
1127
1128
|
private readonly submitted;
|
|
1128
1129
|
private readonly hideByKey;
|
|
1129
1130
|
private readonly requiredByKey;
|
|
1131
|
+
private readonly hideSectionByKey;
|
|
1130
1132
|
private readonly expandedSectionKeys;
|
|
1131
1133
|
structuredItems: _angular_core.Signal<(CustomField | CustomSection)[]>;
|
|
1132
1134
|
isHidden(field: CustomField): boolean;
|
|
1133
1135
|
isRequired(field: CustomField): boolean;
|
|
1136
|
+
isSectionHidden(section: CustomSection): boolean;
|
|
1134
1137
|
isSection(item: CustomField | CustomSection): item is CustomSection;
|
|
1135
1138
|
isSectionExpanded(section: CustomSection): boolean;
|
|
1136
1139
|
onSectionToggle(section: CustomSection, expanded: boolean): void;
|
|
@@ -1143,6 +1146,7 @@ declare class FwFormRendererComponent {
|
|
|
1143
1146
|
private destroyRef;
|
|
1144
1147
|
private currentKeys;
|
|
1145
1148
|
private currentFields;
|
|
1149
|
+
private currentSections;
|
|
1146
1150
|
private readonly formRebuilt$;
|
|
1147
1151
|
constructor();
|
|
1148
1152
|
private flattenFields;
|
|
@@ -1165,6 +1169,12 @@ declare class FwFormRendererComponent {
|
|
|
1165
1169
|
private validateFields;
|
|
1166
1170
|
private isEmpty;
|
|
1167
1171
|
private evaluateRule;
|
|
1172
|
+
/**
|
|
1173
|
+
* Evaluates hide/requiredWhenVisible for every field and hide for every section. A hidden
|
|
1174
|
+
* section forces every one of its descendant fields hidden too, overriding whatever those
|
|
1175
|
+
* fields' own `visible` logic would otherwise evaluate to.
|
|
1176
|
+
*/
|
|
1177
|
+
private computeVisibility;
|
|
1168
1178
|
private normalizeValues;
|
|
1169
1179
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FwFormRendererComponent, never>;
|
|
1170
1180
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FwFormRendererComponent, "fw-form-renderer", never, { "formData": { "alias": "formData"; "required": false; "isSignal": true; }; "sectionBorder": { "alias": "sectionBorder"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "statusChange": "statusChange"; }, never, never, true, never>;
|
|
@@ -3008,6 +3018,11 @@ declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
3008
3018
|
loading: _angular_core.ModelSignal<boolean>;
|
|
3009
3019
|
disabled: _angular_core.ModelSignal<boolean>;
|
|
3010
3020
|
touched: _angular_core.WritableSignal<boolean>;
|
|
3021
|
+
/**
|
|
3022
|
+
* Text to display when there are no results to show in the dropdown. This is only shown when `allowNew` is false
|
|
3023
|
+
* @default "No results found"
|
|
3024
|
+
*/
|
|
3025
|
+
emptyText: _angular_core.InputSignal<string>;
|
|
3011
3026
|
setDisabledState(isDisabled: boolean): void;
|
|
3012
3027
|
writeValue(incomingValue: string[]): void;
|
|
3013
3028
|
onChange: (_: string[]) => void;
|
|
@@ -3062,7 +3077,7 @@ declare class FwTypeaheadComponent implements ControlValueAccessor {
|
|
|
3062
3077
|
setFocusByValue(value: string): void;
|
|
3063
3078
|
private moveFocused;
|
|
3064
3079
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FwTypeaheadComponent, never>;
|
|
3065
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FwTypeaheadComponent, "fw-typeahead", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "maxOptionsHeight": { "alias": "maxOptionsHeight"; "required": false; "isSignal": true; }; "minOptionsHeight": { "alias": "minOptionsHeight"; "required": false; "isSignal": true; }; "optionsWidth": { "alias": "optionsWidth"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "selectType": { "alias": "selectType"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; "allowNew": { "alias": "allowNew"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "loading": "loadingChange"; "disabled": "disabledChange"; "value": "valueChange"; "searchValue": "searchValueChange"; }, never, never, true, never>;
|
|
3080
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FwTypeaheadComponent, "fw-typeahead", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "maxOptionsHeight": { "alias": "maxOptionsHeight"; "required": false; "isSignal": true; }; "minOptionsHeight": { "alias": "minOptionsHeight"; "required": false; "isSignal": true; }; "optionsWidth": { "alias": "optionsWidth"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "selectType": { "alias": "selectType"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; "allowNew": { "alias": "allowNew"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "loading": "loadingChange"; "disabled": "disabledChange"; "value": "valueChange"; "searchValue": "searchValueChange"; }, never, never, true, never>;
|
|
3066
3081
|
}
|
|
3067
3082
|
|
|
3068
3083
|
/**
|