@acorex-platform/framework-client 0.0.49 → 0.0.50
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/fesm2022/acorex-platform-framework-client-layout-components.mjs +7 -7
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CkqVHcl9.mjs → acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-hnSCB5Jk.mjs} +40 -16
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-hnSCB5Jk.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-CEtWy70B.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-CXH8my5J.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-CEtWy70B.mjs.map → acorex-platform-framework-client-layout-entity-attachments-page.component-CXH8my5J.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-BnH5XK5M.mjs → acorex-platform-framework-client-layout-entity-bulk-entity.command-4sIDztpl.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-BnH5XK5M.mjs.map → acorex-platform-framework-client-layout-entity-bulk-entity.command-4sIDztpl.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-COjqVu_3.mjs → acorex-platform-framework-client-layout-entity-gallery-page.component-C8gS3h8S.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-COjqVu_3.mjs.map → acorex-platform-framework-client-layout-entity-gallery-page.component-C8gS3h8S.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-BwwxqHzR.mjs → acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-D8XNBdpK.mjs} +130 -36
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-D8XNBdpK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DYpd-XXJ.mjs → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-CIVK5DZ9.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DYpd-XXJ.mjs.map → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-CIVK5DZ9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-DfgIxNyy.mjs → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-Bk5gF_QH.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-DfgIxNyy.mjs.map → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-Bk5gF_QH.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +1 -1
- package/package.json +7 -7
- package/types/acorex-platform-framework-client-layout-entity.d.ts +2 -0
- package/types/acorex-platform-framework-client-layout-widgets.d.ts +10 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CkqVHcl9.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-BwwxqHzR.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getSystemActions, resolveToSurfaceClass, AXPWidgetsCatalog, createRandomUuid, omitFilterClauseIdentity, AXPPlatformScope, AXPFileStorageStatus, flattenQueryFilterUserGroups, hasQueryFilterGroupId, isCompleteFilterCondition, AXP_QUERY_QUICK_SEARCH_FIELD, wrapQueryFilterRoot, QUERY_FILTER_CHIP_EXPAND_MAX_CONDITIONS, AXPKeyboardShortcutPriority, runtimeQueryCollectionData, isQueryFilterAllNode, resolveQueryFilterGroupId, createQueryFilterGroupId, resolveQueryFilterConditionContextField, createQueryFilterConditionId, QUERY_FILTER_CONDITION_KEY_INFIX, compareMultiLanguageStrings, containsHtmlMarkup, isFormValueEqual, extractTextFromHtml, AXPWidgetsList, AXPRegionalSetting, AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY } from '@acorex-platform/framework-shared/core';
|
|
1
|
+
import { getSystemActions, resolveToSurfaceClass, AXPWidgetsCatalog, createRandomUuid, omitFilterClauseIdentity, AXPPlatformScope, AXPFileStorageStatus, flattenQueryFilterUserGroups, hasQueryFilterGroupId, isCompleteFilterCondition, coerceFilterDisplayText, AXP_QUERY_QUICK_SEARCH_FIELD, wrapQueryFilterRoot, QUERY_FILTER_CHIP_EXPAND_MAX_CONDITIONS, AXPKeyboardShortcutPriority, runtimeQueryCollectionData, isQueryFilterAllNode, resolveQueryFilterGroupId, createQueryFilterGroupId, resolveQueryFilterConditionContextField, createQueryFilterConditionId, QUERY_FILTER_CONDITION_KEY_INFIX, compareMultiLanguageStrings, containsHtmlMarkup, isFormValueEqual, extractTextFromHtml, AXPWidgetsList, AXPRegionalSetting, AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import * as i2$2 from '@acorex/components/button';
|
|
3
3
|
import { AXButtonModule } from '@acorex/components/button';
|
|
4
4
|
import * as i1$5 from '@acorex/cdk/common';
|
|
@@ -6200,7 +6200,7 @@ class AXPQueryFiltersComponent {
|
|
|
6200
6200
|
field: condition.field ?? this.resolveFilterQueryField(this.getConditionDefinition(condition.field) ?? f, condition.operator),
|
|
6201
6201
|
value: condition.value,
|
|
6202
6202
|
operator: condition.operator,
|
|
6203
|
-
displayText:
|
|
6203
|
+
displayText: coerceFilterDisplayText(condition.displayText),
|
|
6204
6204
|
})),
|
|
6205
6205
|
});
|
|
6206
6206
|
return;
|
|
@@ -6213,7 +6213,8 @@ class AXPQueryFiltersComponent {
|
|
|
6213
6213
|
value: single?.value ?? context[this.resolveFilterContextField(f)]?.value ?? f.value,
|
|
6214
6214
|
hidden: f.hidden,
|
|
6215
6215
|
operator,
|
|
6216
|
-
displayText:
|
|
6216
|
+
displayText: coerceFilterDisplayText(single?.displayText) ??
|
|
6217
|
+
coerceFilterDisplayText(context[this.resolveFilterContextField(f)]?.displayText),
|
|
6217
6218
|
});
|
|
6218
6219
|
});
|
|
6219
6220
|
// 3. If "all" filter exists, emit quickSearch marker or legacy inline OR
|
|
@@ -6337,9 +6338,8 @@ class AXPQueryFiltersComponent {
|
|
|
6337
6338
|
const logicLabel = await this.translateLabel(logicKey);
|
|
6338
6339
|
const chipConditions = await Promise.all(committed.map(async (condition) => {
|
|
6339
6340
|
const definition = this.getConditionDefinition(condition.field) ?? filter;
|
|
6340
|
-
const
|
|
6341
|
-
|
|
6342
|
-
: await this.getDisplayValue(definition, condition.value);
|
|
6341
|
+
const storedLabel = coerceFilterDisplayText(condition.displayText);
|
|
6342
|
+
const rawDisplay = storedLabel ?? (await this.getDisplayValue(definition, condition.value));
|
|
6343
6343
|
const displayValue = await this.formatFilterDisplayValue(rawDisplay);
|
|
6344
6344
|
const operatorType = condition.operator?.type;
|
|
6345
6345
|
const operatorKey = ALL_DEFAULT_OPERATORS.find((o) => o.name === operatorType)?.title;
|
|
@@ -6859,7 +6859,7 @@ class AXPQueryFiltersComponent {
|
|
|
6859
6859
|
field: this.resolveFilterQueryField(definition, appliedEntry.operation ?? definition.operator) ?? condition.field,
|
|
6860
6860
|
operator: (appliedEntry.operation ?? definition.operator),
|
|
6861
6861
|
value: appliedEntry.value,
|
|
6862
|
-
displayText:
|
|
6862
|
+
displayText: coerceFilterDisplayText(appliedEntry.displayText),
|
|
6863
6863
|
};
|
|
6864
6864
|
});
|
|
6865
6865
|
const logic = this.editingLogic();
|