@openui5/sap.ui.integration 1.102.1 → 1.103.0
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 +3 -3
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +4 -4
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +1 -1
- package/src/sap/ui/integration/cards/Header.js +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +2 -2
- package/src/sap/ui/integration/cards/NumericHeader.js +3 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +3 -3
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/LinkWithIcon.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +31 -4
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/Paginator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +7 -5
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +2 -1
- package/src/sap/ui/integration/editor/Editor.js +18 -2
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +60 -44
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/library.js +2 -2
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +49 -8
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +1 -1
- package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +1 -1
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +2 -2
- package/src/sap/ui/integration/util/Manifest.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +4 -4
|
@@ -44,13 +44,13 @@ sap.ui.define([
|
|
|
44
44
|
* @extends sap.ui.integration.editor.Editor
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.103.0
|
|
48
48
|
* @constructor
|
|
49
49
|
* @see {@link topic:5b46b03f024542ba802d99d67bc1a3f4 Cards}
|
|
50
50
|
* @since 1.83
|
|
51
51
|
* @private
|
|
52
52
|
* @experimental since 1.83.0
|
|
53
|
-
* @alias sap.ui.integration.designtime.CardEditor
|
|
53
|
+
* @alias sap.ui.integration.designtime.editor.CardEditor
|
|
54
54
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
55
55
|
*/
|
|
56
56
|
var CardEditor = Editor.extend("sap.ui.integration.designtime.editor.CardEditor", /** @lends sap.ui.integration.designtime.editor.CardEditor.prototype */ {
|
|
@@ -59,11 +59,13 @@ sap.ui.define([
|
|
|
59
59
|
properties: {
|
|
60
60
|
/**
|
|
61
61
|
* Set an id to an already existing card instance as string or provide the settings for a card as an object
|
|
62
|
+
* <pre>
|
|
62
63
|
* {
|
|
63
64
|
* manifest: manifest for the card as a json object
|
|
64
65
|
* baseUrl: base url for the card
|
|
65
66
|
* ...
|
|
66
67
|
* }
|
|
68
|
+
* </pre>
|
|
67
69
|
* Depending on the scenario there is a card instance already available. In this case an id to this card instance
|
|
68
70
|
* should be provided, to avoid an additional card instance creation.
|
|
69
71
|
*/
|
|
@@ -289,8 +291,8 @@ sap.ui.define([
|
|
|
289
291
|
//map of language strings in their actual language representation, initialized in CardEditor.init
|
|
290
292
|
CardEditor._languages = {};
|
|
291
293
|
|
|
292
|
-
//theming from parameters to
|
|
293
|
-
//find out if
|
|
294
|
+
//theming from parameters to CSS variables if CSS variables are not turned on
|
|
295
|
+
//find out if CSS vars are turned on
|
|
294
296
|
CardEditor._appendThemeVars = function () {
|
|
295
297
|
var aVars = [
|
|
296
298
|
"sapUiButtonHoverBackground",
|
|
@@ -321,7 +323,7 @@ sap.ui.define([
|
|
|
321
323
|
CardEditor.init = function () {
|
|
322
324
|
this.init = function () { }; //replace self
|
|
323
325
|
|
|
324
|
-
//add theming variables if
|
|
326
|
+
//add theming variables if CSS vars are not turned on
|
|
325
327
|
//if (!window.getComputedStyle(document.documentElement).getPropertyValue('--sapBackgroundColor')) {
|
|
326
328
|
CardEditor._appendThemeVars();
|
|
327
329
|
Core.attachThemeChanged(function () {
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @alias sap.ui.integration.designtime.editor.CardPreview
|
|
27
27
|
* @author SAP SE
|
|
28
28
|
* @since 1.83.0
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.103.0
|
|
30
30
|
* @private
|
|
31
31
|
* @experimental since 1.83.0
|
|
32
32
|
* @ui5-restricted
|
|
@@ -369,6 +369,7 @@ sap.ui.define([
|
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
371
|
* toggles the current mode from "Abstract" to "Live" and vice versa
|
|
372
|
+
* @returns {sap.m.ToggleButton}
|
|
372
373
|
*/
|
|
373
374
|
CardPreview.prototype._getModeToggleButton = function () {
|
|
374
375
|
var oBundle = Core.getLibraryResourceBundle("sap.ui.integration");
|
|
@@ -144,7 +144,7 @@ sap.ui.define([
|
|
|
144
144
|
* @extends sap.ui.core.Control
|
|
145
145
|
*
|
|
146
146
|
* @author SAP SE
|
|
147
|
-
* @version 1.
|
|
147
|
+
* @version 1.103.0
|
|
148
148
|
* @constructor
|
|
149
149
|
* @since 1.94
|
|
150
150
|
* @private
|
|
@@ -892,7 +892,7 @@ sap.ui.define([
|
|
|
892
892
|
* @experimental since 1.94
|
|
893
893
|
* @public
|
|
894
894
|
* @author SAP SE
|
|
895
|
-
* @version 1.
|
|
895
|
+
* @version 1.103.0
|
|
896
896
|
* @borrows sap.ui.integration.editor.Editor#getParameters as getParameters
|
|
897
897
|
* @borrows sap.ui.integration.editor.Editor#resolveDestination as resolveDestination
|
|
898
898
|
* @borrows sap.ui.integration.editor.Editor#request as request
|
|
@@ -2903,6 +2903,14 @@ sap.ui.define([
|
|
|
2903
2903
|
oConfig.label = oConfig._translatedLabel || "";
|
|
2904
2904
|
oConfig.required = false; //translation is never required
|
|
2905
2905
|
var oTranslateLanguageField = this._createField(oConfig);
|
|
2906
|
+
//accessibility set aria-label
|
|
2907
|
+
var tfDelegate = {
|
|
2908
|
+
onAfterRendering: function(oEvent) {
|
|
2909
|
+
var tfField = document.getElementById(oTranslateLanguageField.getId());
|
|
2910
|
+
tfField.setAttribute("aria-label", oLabel);
|
|
2911
|
+
}
|
|
2912
|
+
};
|
|
2913
|
+
oTranslateLanguageField.addEventDelegate(tfDelegate);
|
|
2906
2914
|
this.addAggregation("_formContent",
|
|
2907
2915
|
oTranslateLanguageField
|
|
2908
2916
|
);
|
|
@@ -2930,6 +2938,14 @@ sap.ui.define([
|
|
|
2930
2938
|
}
|
|
2931
2939
|
}
|
|
2932
2940
|
var oField = this._createField(oConfig);
|
|
2941
|
+
//accessibility set aria-label
|
|
2942
|
+
var fDelegate = {
|
|
2943
|
+
onAfterRendering: function(oEvent) {
|
|
2944
|
+
var eField = document.getElementById(oField.getId());
|
|
2945
|
+
eField.setAttribute("aria-label", oNewLabel);
|
|
2946
|
+
}
|
|
2947
|
+
};
|
|
2948
|
+
oField.addEventDelegate(fDelegate);
|
|
2933
2949
|
this.addAggregation("_formContent",
|
|
2934
2950
|
oField
|
|
2935
2951
|
);
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* @alias sap.ui.integration.editor.Settings
|
|
67
67
|
* @author SAP SE
|
|
68
68
|
* @since 1.83.0
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.103.0
|
|
70
70
|
* @private
|
|
71
71
|
* @experimental since 1.83.0
|
|
72
72
|
* @ui5-restricted
|
|
@@ -303,6 +303,7 @@ sap.ui.define([
|
|
|
303
303
|
oSegmentedButton = createSegmentedButton();
|
|
304
304
|
var oDynamicValueText = new Text({
|
|
305
305
|
text: oResourceBundle.getText("EDITOR_MORE_DYNAMICVALUES"),
|
|
306
|
+
tooltip: oResourceBundle.getText("EDITOR_MORE_DYNAMICVALUES"),
|
|
306
307
|
visible: "{= ${currentSettings>allowDynamicValues} && !${currentSettings>allowSettings}}"
|
|
307
308
|
}).addStyleClass("sapUiTinyMagin");
|
|
308
309
|
var oSettingsText = new Text({
|
|
@@ -496,10 +497,13 @@ sap.ui.define([
|
|
|
496
497
|
|
|
497
498
|
oDynamicValueField.addStyleClass("selectvariable");
|
|
498
499
|
|
|
499
|
-
|
|
500
|
+
var selectDynamicValueLabel = new Label({
|
|
501
|
+
text: "Select a dynamic value"
|
|
502
|
+
});
|
|
503
|
+
oDynamicValueField.addAriaLabelledBy(selectDynamicValueLabel);
|
|
500
504
|
var oVBox = new VBox({
|
|
501
505
|
items: [
|
|
502
|
-
|
|
506
|
+
selectDynamicValueLabel,
|
|
503
507
|
oDynamicValueField
|
|
504
508
|
]
|
|
505
509
|
});
|
|
@@ -548,18 +552,21 @@ sap.ui.define([
|
|
|
548
552
|
}
|
|
549
553
|
|
|
550
554
|
function createCurrentValuesBox() {
|
|
555
|
+
var settingsActualValueTxt = new Text({
|
|
556
|
+
text: oResourceBundle.getText("EDITOR_ACTUAL_VALUE")
|
|
557
|
+
});
|
|
558
|
+
var settingsActualValueInput = new Input({
|
|
559
|
+
value: {
|
|
560
|
+
path: "currentSettings>_currentContextValue"
|
|
561
|
+
},
|
|
562
|
+
editable: false
|
|
563
|
+
});
|
|
564
|
+
settingsActualValueInput.addAriaLabelledBy(settingsActualValueTxt);
|
|
551
565
|
var oCurrentValue = new VBox("settings_current_value", {
|
|
552
566
|
width: "100%",
|
|
553
567
|
items: [
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}),
|
|
557
|
-
new Input({
|
|
558
|
-
value: {
|
|
559
|
-
path: "currentSettings>_currentContextValue"
|
|
560
|
-
},
|
|
561
|
-
editable: false
|
|
562
|
-
})]
|
|
568
|
+
settingsActualValueTxt,
|
|
569
|
+
settingsActualValueInput]
|
|
563
570
|
});
|
|
564
571
|
oCurrentValue.addStyleClass("currentval");
|
|
565
572
|
|
|
@@ -574,49 +581,58 @@ sap.ui.define([
|
|
|
574
581
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN"),
|
|
575
582
|
wrapping: true
|
|
576
583
|
}).addStyleClass("stitle"));
|
|
584
|
+
var settingsAdminVisibleLabel = new Label({
|
|
585
|
+
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_VISIBLE"),
|
|
586
|
+
wrapping: true
|
|
587
|
+
});
|
|
588
|
+
var settingsAdminVisibleCKB = new CheckBox({
|
|
589
|
+
selected: "{= ${currentSettings>_next/visible} !== false}",
|
|
590
|
+
select: function (oEvent) {
|
|
591
|
+
setNextSetting("visible", oEvent.getParameter("selected"));
|
|
592
|
+
}
|
|
593
|
+
});
|
|
594
|
+
settingsAdminVisibleCKB.addAriaLabelledBy(settingsAdminVisibleLabel);
|
|
577
595
|
oBox.addItem(new HBox({
|
|
578
596
|
items: [
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
wrapping: true
|
|
582
|
-
}),
|
|
583
|
-
new CheckBox({
|
|
584
|
-
selected: "{= ${currentSettings>_next/visible} !== false}",
|
|
585
|
-
select: function (oEvent) {
|
|
586
|
-
setNextSetting("visible", oEvent.getParameter("selected"));
|
|
587
|
-
}
|
|
588
|
-
})
|
|
597
|
+
settingsAdminVisibleLabel,
|
|
598
|
+
settingsAdminVisibleCKB
|
|
589
599
|
]
|
|
590
600
|
}).addStyleClass("cbrow"));
|
|
601
|
+
var settingsAdminEditLabel = new Label({
|
|
602
|
+
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_EDIT"),
|
|
603
|
+
wrapping: true
|
|
604
|
+
});
|
|
605
|
+
var settingsAdminEditCKB = new CheckBox({
|
|
606
|
+
selected: "{= ${currentSettings>_next/editable} !== false}",
|
|
607
|
+
enabled: "{= ${currentSettings>_next/visible} !== false}",
|
|
608
|
+
select: function (oEvent) {
|
|
609
|
+
setNextSetting("editable", oEvent.getParameter("selected"));
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
settingsAdminEditCKB.addAriaLabelledBy(settingsAdminEditLabel);
|
|
591
613
|
oBox.addItem(new HBox({
|
|
592
614
|
items: [
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
wrapping: true
|
|
596
|
-
}),
|
|
597
|
-
new CheckBox({
|
|
598
|
-
selected: "{= ${currentSettings>_next/editable} !== false}",
|
|
599
|
-
enabled: "{= ${currentSettings>_next/visible} !== false}",
|
|
600
|
-
select: function (oEvent) {
|
|
601
|
-
setNextSetting("editable", oEvent.getParameter("selected"));
|
|
602
|
-
}
|
|
603
|
-
})
|
|
615
|
+
settingsAdminEditLabel,
|
|
616
|
+
settingsAdminEditCKB
|
|
604
617
|
]
|
|
605
618
|
}).addStyleClass("cbrow"));
|
|
619
|
+
var settingsAdminDYNLabel = new Label({
|
|
620
|
+
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_DYN"),
|
|
621
|
+
wrapping: true
|
|
622
|
+
});
|
|
623
|
+
var settingsAdminDYNCKB = new CheckBox({
|
|
624
|
+
selected: "{= ${currentSettings>_next/allowDynamicValues} !== false}",
|
|
625
|
+
enabled: "{= ${currentSettings>_next/visible} !== false && ${currentSettings>_next/editable} !== false}",
|
|
626
|
+
select: function (oEvent) {
|
|
627
|
+
setNextSetting("allowDynamicValues", oEvent.getParameter("selected"));
|
|
628
|
+
}
|
|
629
|
+
});
|
|
630
|
+
settingsAdminDYNCKB.addAriaLabelledBy(settingsAdminDYNLabel);
|
|
606
631
|
oBox.addItem(new HBox({
|
|
607
632
|
visible: "{= ${currentSettings>allowDynamicValues}!== false}",
|
|
608
633
|
items: [
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
wrapping: true
|
|
612
|
-
}),
|
|
613
|
-
new CheckBox({
|
|
614
|
-
selected: "{= ${currentSettings>_next/allowDynamicValues} !== false}",
|
|
615
|
-
enabled: "{= ${currentSettings>_next/visible} !== false && ${currentSettings>_next/editable} !== false}",
|
|
616
|
-
select: function (oEvent) {
|
|
617
|
-
setNextSetting("allowDynamicValues", oEvent.getParameter("selected"));
|
|
618
|
-
}
|
|
619
|
-
})
|
|
634
|
+
settingsAdminDYNLabel,
|
|
635
|
+
settingsAdminDYNCKB
|
|
620
636
|
]
|
|
621
637
|
}).addStyleClass("cbrow"));
|
|
622
638
|
|