@praxisui/dynamic-fields 10.0.0-rc.60 → 10.0.0-rc.62
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/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-dynamic-fields.mjs +528 -108
- package/package.json +4 -4
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +12 -12
- package/src/lib/base/pdx-base-select-runtime-contract.json-api.md +12 -12
- package/src/lib/components/color-picker/pdx-color-picker.json-api.md +16 -15
- package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +9 -12
- package/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md +44 -43
- package/types/praxisui-dynamic-fields.d.ts +25 -1
|
@@ -13,6 +13,7 @@ import { MatDatepickerInputEvent, MatDateRangePicker, MatDatepicker } from '@ang
|
|
|
13
13
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
14
14
|
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
15
15
|
import * as _praxisui_dynamic_fields from '@praxisui/dynamic-fields';
|
|
16
|
+
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
16
17
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
17
18
|
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
18
19
|
import { MatTreeNestedDataSource } from '@angular/material/tree';
|
|
@@ -757,6 +758,7 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
757
758
|
fieldHelpPopoverText(): string;
|
|
758
759
|
fieldHelpPopoverDisabled(): boolean;
|
|
759
760
|
fieldHelpAriaLabel(): string;
|
|
761
|
+
protected isReadonlyEffective(): boolean;
|
|
760
762
|
protected isInteractionBlockedByState(options?: {
|
|
761
763
|
readonly includeReadonly?: boolean;
|
|
762
764
|
readonly includePresentation?: boolean;
|
|
@@ -1262,6 +1264,8 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1262
1264
|
readonly optionValueKey: _angular_core.WritableSignal<string>;
|
|
1263
1265
|
/** Text displayed for an empty option */
|
|
1264
1266
|
readonly emptyOptionText: _angular_core.WritableSignal<string | null>;
|
|
1267
|
+
/** Placeholder text preserved from metadata before stripping Material trigger placeholder */
|
|
1268
|
+
protected readonly rawPlaceholder: _angular_core.WritableSignal<string | undefined>;
|
|
1265
1269
|
/** Current page index when fetching remote options */
|
|
1266
1270
|
readonly pageIndex: _angular_core.WritableSignal<number>;
|
|
1267
1271
|
/** Number of options retrieved per request */
|
|
@@ -1294,6 +1298,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1294
1298
|
private remoteSelectionOnChangeCleanup;
|
|
1295
1299
|
private remoteSelectionDestroyHookRegistered;
|
|
1296
1300
|
private hasLoadedOnce;
|
|
1301
|
+
protected hasRemoteOptionSource(): boolean;
|
|
1297
1302
|
/** Options filtered according to the current `searchTerm` */
|
|
1298
1303
|
readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
|
|
1299
1304
|
/**
|
|
@@ -4918,7 +4923,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent impl
|
|
|
4918
4923
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineCurrencyRangeComponent, "pdx-inline-currency-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
4919
4924
|
}
|
|
4920
4925
|
|
|
4921
|
-
declare class InlineToggleComponent extends SimpleBaseInputComponent {
|
|
4926
|
+
declare class InlineToggleComponent extends SimpleBaseInputComponent implements DoCheck {
|
|
4922
4927
|
readonlyMode: boolean;
|
|
4923
4928
|
disabledMode: boolean;
|
|
4924
4929
|
visible: boolean;
|
|
@@ -4929,6 +4934,15 @@ declare class InlineToggleComponent extends SimpleBaseInputComponent {
|
|
|
4929
4934
|
*/
|
|
4930
4935
|
tristate: boolean;
|
|
4931
4936
|
private fieldLabelText;
|
|
4937
|
+
private disabledModeAppliedToControl;
|
|
4938
|
+
private lastUnblockedValue;
|
|
4939
|
+
private unblockedValueSub;
|
|
4940
|
+
ngOnInit(): void;
|
|
4941
|
+
ngDoCheck(): void;
|
|
4942
|
+
protected onActiveControlChanged(previousControl: FormControl, currentControl: FormControl): void;
|
|
4943
|
+
private normalizeToggleValue;
|
|
4944
|
+
private bindUnblockedValueTracker;
|
|
4945
|
+
private syncDisabledModeControlState;
|
|
4932
4946
|
private currentMetadata;
|
|
4933
4947
|
private metadataRecord;
|
|
4934
4948
|
private asRecord;
|
|
@@ -4942,7 +4956,10 @@ declare class InlineToggleComponent extends SimpleBaseInputComponent {
|
|
|
4942
4956
|
isTrue(): boolean;
|
|
4943
4957
|
isFalse(): boolean;
|
|
4944
4958
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4959
|
+
onSlideTogglePointerDown(event: Event): void;
|
|
4945
4960
|
onSlideToggleClick(event: MouseEvent): void;
|
|
4961
|
+
onSlideToggleChange(event: MatSlideToggleChange): void;
|
|
4962
|
+
onSlideToggleKeydown(event: KeyboardEvent): void;
|
|
4946
4963
|
onQuickClear(event: MouseEvent): void;
|
|
4947
4964
|
placeholderText(): string;
|
|
4948
4965
|
toggleLabelText(): string;
|
|
@@ -7711,6 +7728,11 @@ declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent i
|
|
|
7711
7728
|
onSelectionOptionClick(event: MouseEvent): void;
|
|
7712
7729
|
onSelectionOptionKeydown(event: KeyboardEvent): void;
|
|
7713
7730
|
selectOption(option: SelectOption<unknown>): void;
|
|
7731
|
+
searchPlaceholderText(): string;
|
|
7732
|
+
searchAriaLabelText(): string;
|
|
7733
|
+
selectAllLabelText(): string;
|
|
7734
|
+
onSearchInput(event: Event): void;
|
|
7735
|
+
isAllVisibleSelected(): boolean;
|
|
7714
7736
|
toggleSelectAll(): void;
|
|
7715
7737
|
private syncDisabledModeControlState;
|
|
7716
7738
|
private asRecord;
|
|
@@ -8363,6 +8385,7 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
8363
8385
|
copyDraft(): void;
|
|
8364
8386
|
isSelected(c: string): boolean;
|
|
8365
8387
|
onClear(): void;
|
|
8388
|
+
onSuffixClear(): void;
|
|
8366
8389
|
onCancel(): void;
|
|
8367
8390
|
onApply(): void;
|
|
8368
8391
|
private closePickerOverlay;
|
|
@@ -8380,6 +8403,7 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
8380
8403
|
private syncPolar;
|
|
8381
8404
|
private syncPrecision;
|
|
8382
8405
|
readonlyEffective(): boolean;
|
|
8406
|
+
protected isReadonlyEffective(): boolean;
|
|
8383
8407
|
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
8384
8408
|
protected getSpecificCssClasses(): string[];
|
|
8385
8409
|
effectiveFloatLabelBehavior(): 'always';
|