@sinequa/atomic-angular 1.18.0 → 1.18.2

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/index.d.ts CHANGED
@@ -15714,6 +15714,14 @@ declare class UserProfileFormComponent {
15714
15714
  username: _angular_core.Signal<string | null>;
15715
15715
  propertyToEdit: _angular_core.WritableSignal<string | undefined>;
15716
15716
  value: _angular_core.ModelSignal<string | undefined>;
15717
+ /** `category.propertyName` of the write in flight, to disable the buttons and ignore a second click. */
15718
+ pending: _angular_core.WritableSignal<string | undefined>;
15719
+ /** Outcome of the last write, shown in a single message area. */
15720
+ feedback: _angular_core.WritableSignal<{
15721
+ key: string;
15722
+ type: "success" | "error";
15723
+ message: string;
15724
+ } | undefined>;
15717
15725
  currentLanguage: _angular_core.ModelSignal<string | undefined>;
15718
15726
  AllLanguages: {
15719
15727
  code: SupportedLanguage;
@@ -15734,6 +15742,14 @@ declare class UserProfileFormComponent {
15734
15742
  * @param propertyName property name
15735
15743
  */
15736
15744
  onEdit(category: "data" | "customData", propertyName: string): void;
15745
+ /** Name of the property as the user sees it: the translated label for `data`, the raw key otherwise. */
15746
+ private fieldLabel;
15747
+ /** Builds the outcome message of a write, naming the action and the property. */
15748
+ private message;
15749
+ /** Outcome of the last write when it concerns this `category.propertyName`, to outline the field. */
15750
+ fieldState(key: string): "success" | "error" | undefined;
15751
+ /** Leaves the editor without saving. */
15752
+ onCancelEdit(): void;
15737
15753
  /**
15738
15754
  * On data property deletion, for now we make the property an empty string
15739
15755
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinequa/atomic-angular",
3
- "version": "1.18.0",
3
+ "version": "1.18.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },