@umbraco-forms/backoffice 17.3.0 → 17.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
@@ -9,7 +9,7 @@
9
9
  "url": "https://umbraco.com"
10
10
  },
11
11
  "type": "module",
12
- "version": "17.3.0",
12
+ "version": "17.3.1",
13
13
  "types": "./types/umbraco-forms-public.d.ts",
14
14
  "exports": {
15
15
  ".": {
@@ -101,24 +101,11 @@ export declare type BasicForm = {
101
101
  entries: number;
102
102
  };
103
103
 
104
- declare type BasicForm_2 = {
105
- id: string;
106
- name: string;
107
- fields: string;
108
- summary: string;
109
- entries: number;
110
- };
111
-
112
104
  export declare type BasicFormExtended = BasicForm & {
113
105
  gotEntries: boolean;
114
106
  count: number;
115
107
  };
116
108
 
117
- declare type BasicFormExtended_2 = BasicForm_2 & {
118
- gotEntries: boolean;
119
- count: number;
120
- };
121
-
122
109
  export declare const Column: {
123
110
  readonly UNDEFINED: "UNDEFINED";
124
111
  readonly ENTRIES: "entries";
@@ -1022,7 +1009,7 @@ export declare class FormsPrevalueSourceCollectionRepository implements UmbColle
1022
1009
  export declare class FormsRefFormElement extends FormsRefFormElement_base {
1023
1010
  #private;
1024
1011
  selectable: boolean;
1025
- model?: BasicForm | BasicFormExtended_2;
1012
+ model?: BasicForm | BasicFormExtended;
1026
1013
  config?: UserSecurity;
1027
1014
  _count: number;
1028
1015
  willUpdate(changedProperties: PropertyValues<this>): void;
@@ -1036,6 +1023,22 @@ export declare interface FormsSettingValueConverterApi extends UmbApi {
1036
1023
  getSettingValueForEditor(setting: Setting, alias: string, value: string): Promise<unknown>;
1037
1024
  getSettingValueForPersistence(setting: Setting, valueData: UmbPropertyValueData): Promise<string>;
1038
1025
  getSettingPropertyConfig(setting: Setting, alias: string, values: Array<UmbPropertyValueData>): Promise<UmbPropertyEditorConfig>;
1026
+ /**
1027
+ * Optional: returns the aliases of sibling settings this converter owns and manages.
1028
+ * Owned siblings are excluded from the regular persistence loop and their values are
1029
+ * written by this converter via getSettingValuesForPersistenceWithSiblings.
1030
+ */
1031
+ getOwnedSiblingAliases?(setting: Setting): Array<string>;
1032
+ /**
1033
+ * Optional: builds the editor value with access to sibling setting values, enabling
1034
+ * composite editor types (e.g. RTE markup + companion blocks JSON) to be reconstructed.
1035
+ */
1036
+ getSettingValueForEditorWithSiblings?(setting: Setting, alias: string, value: string, allSettings: Record<string, string>): Promise<unknown>;
1037
+ /**
1038
+ * Optional: returns persisted values for the setting and any owned sibling aliases.
1039
+ * Returned map is merged into the final settings dictionary, overriding the per-alias loop result.
1040
+ */
1041
+ getSettingValuesForPersistenceWithSiblings?(setting: Setting, valueData: UmbPropertyValueData, allValues: Array<UmbPropertyValueData>): Promise<Record<string, string>>;
1039
1042
  }
1040
1043
 
1041
1044
  export declare interface FormsTableConfig extends FormsPrefabTablePrefab {