@umbraco-forms/backoffice 17.0.0-rc1 → 17.0.0-rc2
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.0.0-
|
|
12
|
+
"version": "17.0.0-rc2",
|
|
13
13
|
"types": "./types/umbraco-forms-public.d.ts",
|
|
14
14
|
"files": [
|
|
15
15
|
"README.md",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"npm": ">=10.9"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@umbraco-cms/backoffice": "^17.0.0-
|
|
23
|
+
"@umbraco-cms/backoffice": "^17.0.0-rc2",
|
|
24
24
|
"aspnet-client-validation": "^0.11.1",
|
|
25
25
|
"json-logic-js": "^2.0.5",
|
|
26
26
|
"moment": "^2.30.1"
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { ApiLoaderProperty } from '@umbraco-cms/backoffice/extension-api';
|
|
2
|
+
import type { ManifestElement } from '@umbraco-cms/backoffice/extension-api';
|
|
3
|
+
import type { ManifestElementAndApi } from '@umbraco-cms/backoffice/extension-api';
|
|
1
4
|
import { Observable } from 'rxjs';
|
|
2
5
|
import type { UmbApi } from '@umbraco-cms/backoffice/extension-api';
|
|
3
6
|
import { UmbApiError } from '@umbraco-cms/backoffice/resources';
|
|
@@ -9,6 +12,7 @@ import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
|
9
12
|
import type { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
10
13
|
import { UmbDataSourceResponse } from '@umbraco-cms/backoffice/repository';
|
|
11
14
|
import { UmbDetailRepositoryBase } from '@umbraco-cms/backoffice/repository';
|
|
15
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
12
16
|
import { UmbPagedModel } from '@umbraco-cms/backoffice/repository';
|
|
13
17
|
import type { UmbPropertyEditorConfig } from '@umbraco-cms/backoffice/property-editor';
|
|
14
18
|
import { UmbPropertyEditorConfigCollection } from '@umbraco-cms/backoffice/property-editor';
|
|
@@ -343,6 +347,12 @@ export declare interface FormsFieldPreviewApi extends UmbApi {
|
|
|
343
347
|
prevalues: Array<FieldPrevalue>;
|
|
344
348
|
}
|
|
345
349
|
|
|
350
|
+
export declare class FormsFieldPreviewBaseElement extends UmbLitElement implements FormsFieldPreviewApi {
|
|
351
|
+
prevalues: Array<FieldPrevalue>;
|
|
352
|
+
settings: Record<string, string>;
|
|
353
|
+
getSettingValue(alias: string): string;
|
|
354
|
+
}
|
|
355
|
+
|
|
346
356
|
export declare class FormsFieldTypeDetailRepository extends UmbDetailRepositoryBase<FieldTypeWithSettings> {
|
|
347
357
|
constructor(host: UmbControllerHost);
|
|
348
358
|
requestValidationPatterns(): Promise<{
|
|
@@ -548,6 +558,16 @@ export declare interface LogicType {
|
|
|
548
558
|
value: string;
|
|
549
559
|
}
|
|
550
560
|
|
|
561
|
+
export declare interface ManifestFormsFieldPreview extends ManifestElement {
|
|
562
|
+
type: "formsFieldPreview";
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export declare interface ManifestFormsSettingValueConverterPreview extends ManifestElementAndApi {
|
|
566
|
+
type: "formsSettingValueConverter";
|
|
567
|
+
propertyEditorUiAlias: string;
|
|
568
|
+
api: ApiLoaderProperty<FormsSettingValueConverterApi>;
|
|
569
|
+
}
|
|
570
|
+
|
|
551
571
|
export declare const MultiPageNavigationOption: {
|
|
552
572
|
readonly NONE: "None";
|
|
553
573
|
readonly SHOW_AT_TOP: "ShowAtTop";
|