@umbraco-engage/backoffice 17.0.0-rc3 → 17.0.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/dist/ab-testing/test/workspace/views/edit/ab-testing-test-editor.element.js +30 -6
- package/dist/ab-testing/test/workspace/views/scoring/ab-testing-test-scoring.element.js +5 -5
- package/dist/analytics/analytics-context.js +4 -0
- package/dist/analytics/components/heatmap/heatmap.element.d.ts +0 -2
- package/dist/analytics/components/heatmap/heatmap.element.js +24 -29
- package/dist/analytics/screens/heatmap-screen.element.js +23 -3
- package/dist/core/components/group-box/group-box.element.js +12 -5
- package/dist/core/components/scoring/entities.d.ts +4 -0
- package/dist/core/components/scoring/scoring-base.element.d.ts +3 -2
- package/dist/core/components/scoring/scoring-base.element.js +147 -25
- package/dist/core/components/tooltip/tooltip-element.js +2 -2
- package/dist/core/context/entities.d.ts +1 -0
- package/dist/core/context/workspace-context-base.js +8 -4
- package/dist/core/entities.d.ts +1 -0
- package/dist/core/lang/{en-us.js → en.js} +5 -1
- package/dist/core/lang/manifests.js +1 -1
- package/dist/core/property/property-dataset-renderer.controller.d.ts +4 -0
- package/dist/core/property/property-dataset-renderer.controller.js +9 -0
- package/dist/generated/client.gen.js +1 -4
- package/dist/generated/sdk.gen.js +134 -804
- package/dist/generated/types.gen.d.ts +24 -6
- package/dist/index.js +4 -4
- package/dist/personalization/components/grouped-item/grouped-item-list-editor-base.element.js +1 -1
- package/dist/personalization/content-scoring/workspace/content-scoring-workspace-editor.element.d.ts +2 -2
- package/dist/personalization/content-scoring/workspace/content-scoring-workspace-editor.element.js +56 -130
- package/dist/personalization/content-scoring/workspace/content-scoring-workspace.context.d.ts +5 -5
- package/dist/personalization/content-scoring/workspace/content-scoring-workspace.context.js +25 -34
- package/dist/personalization/personalized-variants/editor-view/personalized-variants-editor-view.element.js +2 -2
- package/dist/personalization/personalized-variants/workspace/personalized-variant-workspace.context.js +3 -7
- package/dist/personalization/personas/repository/detail/persona-group-detail-server.data-source.js +0 -2
- package/dist/profiles/insights/campaigns/campaigns-list.element.d.ts +1 -0
- package/dist/profiles/insights/campaigns/campaigns-list.element.js +9 -1
- package/dist/profiles/insights/customer-journeys/customer-journeys.element.js +3 -2
- package/dist/profiles/insights/engage-profile-insight.interface.js +7 -1
- package/dist/profiles/insights/goals/goals-table-collection-view.element.js +1 -1
- package/dist/profiles/insights/manifests.js +2 -0
- package/dist/profiles/insights/persona-groups/persona-groups.element.js +3 -2
- package/dist/reporting/components/reporting-chart-card/reporting-chart-card.element.d.ts +1 -0
- package/dist/reporting/components/reporting-chart-card/reporting-chart-card.element.js +5 -1
- package/dist/reporting/components/segment-selector/reporting-segment-selector.element.js +10 -20
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/umbraco-package.json +1 -1
- package/package.json +2 -2
- /package/dist/core/lang/{en-us.d.ts → en.d.ts} +0 -0
|
@@ -200,6 +200,9 @@ export default {
|
|
|
200
200
|
score: "Score",
|
|
201
201
|
scoredcampaigns: (count) => `Scored campaigns${count !== undefined ? ` (${count})` : ""}`,
|
|
202
202
|
scoredreferrals: (count) => `Scored referrals${count !== undefined ? ` (${count})` : ""}`,
|
|
203
|
+
scoringTooltipActiveItem: (name) => `'${name}' has met both the scoring threshold and minimal deviation and is the active item in this group`,
|
|
204
|
+
scoringTooltipInactiveMeetsThresholdWithinDeviation: (name) => `'${name}' has met the scoring threshold but the minimal deviation is not met`,
|
|
205
|
+
scoringTooltipInactiveMeetsThresholdNotWithinDeviation: (name, activeItem) => `'${name}' has met the scoring threshold but '${activeItem}' is active as it has the highest score with a valid minimal deviation`,
|
|
203
206
|
searchTerms: "Search terms",
|
|
204
207
|
selectLanguage: "Select a culture",
|
|
205
208
|
segmentinsights: "Segment insights",
|
|
@@ -410,8 +413,9 @@ export default {
|
|
|
410
413
|
videoUrl: "Video URL",
|
|
411
414
|
visitors: "Visitors",
|
|
412
415
|
yesterday: "Yesterday",
|
|
413
|
-
"last-7-days": "Last 7 days",
|
|
414
416
|
last30days: "Last 30 days",
|
|
417
|
+
"last-7-days": "Last 7 days",
|
|
418
|
+
"last-30-days": "Last 30 days",
|
|
415
419
|
"this-month": "This month",
|
|
416
420
|
"last-month": "Last month",
|
|
417
421
|
"this-year": "This year",
|
|
@@ -4,6 +4,9 @@ import type { UmbControllerHost } from "@umbraco-cms/backoffice/controller-api";
|
|
|
4
4
|
import { UmbLocalizationController } from "@umbraco-cms/backoffice/localization-api";
|
|
5
5
|
import type { UmbPropertyValueData } from "@umbraco-cms/backoffice/property";
|
|
6
6
|
import type { UeDatasetHostWorkspaceContext, UePropertyConfigData } from "./types.js";
|
|
7
|
+
export interface PropertyConfiguration {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
7
10
|
export declare class UePropertyDataSetRendererController<EntityType, ContextEntityType extends {
|
|
8
11
|
[K in keyof ContextEntityType]: ContextEntityType[K];
|
|
9
12
|
} | EntityType = EntityType, HostContextType extends UeDatasetHostWorkspaceContext<ContextEntityType> = UeDatasetHostWorkspaceContext<ContextEntityType>> extends UmbControllerBase {
|
|
@@ -14,6 +17,7 @@ export declare class UePropertyDataSetRendererController<EntityType, ContextEnti
|
|
|
14
17
|
properties: UePropertyConfigData<EntityType>;
|
|
15
18
|
constructor(host: UmbControllerHost, contextToken: UmbContextToken<any, HostContextType>, properties: UePropertyConfigData<EntityType>, dataPath?: keyof ContextEntityType & string);
|
|
16
19
|
withItems(forProperty: keyof EntityType & string, optionGenerator: (data: EntityType | undefined, src?: Array<never>) => Array<Option>): this;
|
|
20
|
+
withConfiguration(forProperty: keyof EntityType & string, configurationGenerator: (data: EntityType | undefined) => PropertyConfiguration): this;
|
|
17
21
|
render(): import("lit-html").TemplateResult<1>;
|
|
18
22
|
destroy(): void;
|
|
19
23
|
}
|
|
@@ -9,6 +9,7 @@ export class UePropertyDataSetRendererController extends UmbControllerBase {
|
|
|
9
9
|
#hostElm;
|
|
10
10
|
#validationContext;
|
|
11
11
|
#optionGenerators;
|
|
12
|
+
#propertyConfiguration;
|
|
12
13
|
#validators;
|
|
13
14
|
#dataPath;
|
|
14
15
|
constructor(host, contextToken, properties, dataPath) {
|
|
@@ -16,6 +17,7 @@ export class UePropertyDataSetRendererController extends UmbControllerBase {
|
|
|
16
17
|
this.localize = new UmbLocalizationController(this);
|
|
17
18
|
this.value = [];
|
|
18
19
|
this.#optionGenerators = {};
|
|
20
|
+
this.#propertyConfiguration = {};
|
|
19
21
|
this.#validators = [];
|
|
20
22
|
this.#hostElm = host.getHostElement();
|
|
21
23
|
this.properties = properties;
|
|
@@ -40,6 +42,11 @@ export class UePropertyDataSetRendererController extends UmbControllerBase {
|
|
|
40
42
|
this.#optionGenerators[this.#camel(forProperty)] = optionGenerator;
|
|
41
43
|
return this;
|
|
42
44
|
}
|
|
45
|
+
withConfiguration(forProperty, configurationGenerator) {
|
|
46
|
+
this.#propertyConfiguration[this.#camel(forProperty)] =
|
|
47
|
+
configurationGenerator;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
43
50
|
#getByDataPath(obj) {
|
|
44
51
|
if (!this.#dataPath)
|
|
45
52
|
return obj;
|
|
@@ -142,6 +149,7 @@ export class UePropertyDataSetRendererController extends UmbControllerBase {
|
|
|
142
149
|
alias: prop.alias,
|
|
143
150
|
})}].value`;
|
|
144
151
|
const editor = typeof prop.editor === "string" ? prop.editor : prop.editor(this.data);
|
|
152
|
+
const disabled = this.#propertyConfiguration[alias]?.(this.data)?.disabled;
|
|
145
153
|
return html `<umb-property
|
|
146
154
|
.dataPath=${dataPath}
|
|
147
155
|
alias=${alias}
|
|
@@ -153,6 +161,7 @@ export class UePropertyDataSetRendererController extends UmbControllerBase {
|
|
|
153
161
|
.config=${prop.config}
|
|
154
162
|
.appearance=${prop.appearance}
|
|
155
163
|
.validation=${prop.validation}
|
|
164
|
+
?readonly=${disabled}
|
|
156
165
|
></umb-property>`;
|
|
157
166
|
}
|
|
158
167
|
#getPropertyValue(obj) {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { createClient, createConfig } from './client/index.js';
|
|
3
|
-
export const client = createClient(createConfig({
|
|
4
|
-
baseUrl: 'http://localhost:45064',
|
|
5
|
-
throwOnError: true
|
|
6
|
-
}));
|
|
3
|
+
export const client = createClient(createConfig({ baseUrl: 'http://localhost:45064', throwOnError: true }));
|