@sap/ux-specification 1.124.8 → 1.124.9

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.
@@ -735,15 +735,6 @@
735
735
  "type": "Property"
736
736
  }
737
737
  },
738
- "formatOptions": {
739
- "$ref": "#/definitions/sap.fe.macros.FieldFormatOptions",
740
- "description": "formatOptions",
741
- "artifactType": "XMLProperty",
742
- "isViewNode": true,
743
- "metadata": {
744
- "type": "Property"
745
- }
746
- },
747
738
  "metaPath": {
748
739
  "type": "string",
749
740
  "description": "Defines the relative path of the property in the metamodel, based on the current contextPath.",
@@ -784,6 +775,17 @@
784
775
  "type": "Property"
785
776
  }
786
777
  },
778
+ "formatOptions": {
779
+ "type": "object",
780
+ "additionalProperties": {
781
+ "$ref": "#/definitions/sap.fe.macros.field.FieldFormatOptions"
782
+ },
783
+ "isViewNode": true,
784
+ "metadata": {
785
+ "path": [],
786
+ "type": "Aggregation"
787
+ }
788
+ },
787
789
  "change": {
788
790
  "type": "string",
789
791
  "description": "An event containing details is triggered when the value of the field is changed.",
@@ -828,15 +830,6 @@
828
830
  "type": "Property"
829
831
  }
830
832
  },
831
- "formatOptions": {
832
- "$ref": "#/definitions/sap.fe.macros.FieldFormatOptions",
833
- "description": "formatOptions",
834
- "artifactType": "XMLProperty",
835
- "isViewNode": true,
836
- "metadata": {
837
- "type": "Property"
838
- }
839
- },
840
833
  "metaPath": {
841
834
  "type": "string",
842
835
  "description": "Defines the relative path of the property in the metamodel, based on the current contextPath.",
@@ -877,6 +870,17 @@
877
870
  "type": "Property"
878
871
  }
879
872
  },
873
+ "formatOptions": {
874
+ "type": "object",
875
+ "additionalProperties": {
876
+ "$ref": "#/definitions/sap.fe.macros.field.FieldFormatOptions"
877
+ },
878
+ "isViewNode": true,
879
+ "metadata": {
880
+ "path": [],
881
+ "type": "Aggregation"
882
+ }
883
+ },
880
884
  "change": {
881
885
  "type": "string",
882
886
  "description": "An event containing details is triggered when the value of the field is changed.",
@@ -900,6 +904,159 @@
900
904
  "type": "Control"
901
905
  }
902
906
  },
907
+ "sap.fe.macros.field.FieldFormatOptions": {
908
+ "description": "Additional format options for the field.",
909
+ "isViewNode": true,
910
+ "type": "object",
911
+ "properties": {
912
+ "dateTimePattern": {
913
+ "type": "string",
914
+ "description": "Property for defining a custom pattern for the date, time, or dateTime format. \nIf there is a dateTimePattern defined dateTimeStyle is ignored.\n",
915
+ "artifactType": "XMLProperty",
916
+ "metadata": {
917
+ "type": "Property"
918
+ }
919
+ },
920
+ "dateTimeStyle": {
921
+ "type": "string",
922
+ "description": "Property for defining the display style for the date, time, or dateTime format. \nIf there is a dateTimePattern defined dateTimeStyle is ignored.\n",
923
+ "artifactType": "XMLProperty",
924
+ "metadata": {
925
+ "type": "Property"
926
+ },
927
+ "enum": [
928
+ "short",
929
+ "medium",
930
+ "long",
931
+ "full"
932
+ ]
933
+ },
934
+ "displayMode": {
935
+ "type": "string",
936
+ "description": "Defines how the field value and associated text will be displayed together.\n\nAllowed values are \"Value\", \"Description\", \"DescriptionValue\" and \"ValueDescription\"\n",
937
+ "artifactType": "XMLProperty",
938
+ "metadata": {
939
+ "type": "Property"
940
+ },
941
+ "enum": [
942
+ "Description",
943
+ "DescriptionValue",
944
+ "Value",
945
+ "ValueDescription"
946
+ ]
947
+ },
948
+ "fieldEditStyle": {
949
+ "type": "string",
950
+ "description": "Determines how the field should be rendered, e.g. as radio buttons. \nIf not all prerequisites are met, the field will default back to the standard rendering.\n",
951
+ "artifactType": "XMLProperty",
952
+ "metadata": {
953
+ "type": "Property"
954
+ },
955
+ "const": "RadioButtons"
956
+ },
957
+ "measureDisplayMode": {
958
+ "type": "string",
959
+ "description": "Defines if and how the field measure will be displayed.\n\nAllowed values are \"Hidden\" and \"ReadOnly\"\n",
960
+ "artifactType": "XMLProperty",
961
+ "metadata": {
962
+ "type": "Property"
963
+ },
964
+ "enum": [
965
+ "Hidden",
966
+ "ReadOnly"
967
+ ]
968
+ },
969
+ "radioButtonsHorizontalLayout": {
970
+ "type": "boolean",
971
+ "description": "Specifies if radio buttons should be rendered in a horizontal layout. \n",
972
+ "artifactType": "XMLProperty",
973
+ "metadata": {
974
+ "type": "Property"
975
+ }
976
+ },
977
+ "showDate": {
978
+ "type": "boolean",
979
+ "description": "Defines if the date part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
980
+ "artifactType": "XMLProperty",
981
+ "metadata": {
982
+ "type": "Property"
983
+ }
984
+ },
985
+ "showTime": {
986
+ "type": "boolean",
987
+ "description": "Defines if the time part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
988
+ "artifactType": "XMLProperty",
989
+ "metadata": {
990
+ "type": "Property"
991
+ }
992
+ },
993
+ "showTimezone": {
994
+ "type": "boolean",
995
+ "description": "Defines if the timezone part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
996
+ "artifactType": "XMLProperty",
997
+ "metadata": {
998
+ "type": "Property"
999
+ }
1000
+ },
1001
+ "textExpandBehaviorDisplay": {
1002
+ "type": "string",
1003
+ "description": "Defines how the full text will be displayed.\n\nAllowed values are \"InPlace\" and \"Popover\"\n",
1004
+ "artifactType": "XMLProperty",
1005
+ "metadata": {
1006
+ "type": "Property"
1007
+ },
1008
+ "enum": [
1009
+ "InPlace",
1010
+ "Popover"
1011
+ ]
1012
+ },
1013
+ "textLinesEdit": {
1014
+ "type": "number",
1015
+ "description": "Maximum number of lines for multiline texts in edit mode.\n",
1016
+ "artifactType": "XMLProperty",
1017
+ "metadata": {
1018
+ "type": "Property"
1019
+ }
1020
+ },
1021
+ "textMaxCharactersDisplay": {
1022
+ "type": "number",
1023
+ "description": "Maximum number of characters from the beginning of the text field that are shown initially.\n",
1024
+ "artifactType": "XMLProperty",
1025
+ "metadata": {
1026
+ "type": "Property"
1027
+ }
1028
+ },
1029
+ "textMaxLength": {
1030
+ "type": "number",
1031
+ "description": "Defines the maximum number of characters for the multiline text value.\n\nIf a multiline text exceeds the maximum number of allowed characters, the counter below the input field displays the exact number.\n",
1032
+ "artifactType": "XMLProperty",
1033
+ "metadata": {
1034
+ "type": "Property"
1035
+ }
1036
+ },
1037
+ "textMaxLines": {
1038
+ "type": "number",
1039
+ "description": "Maximum number of lines that multiline texts in edit mode can grow to.\n",
1040
+ "artifactType": "XMLProperty",
1041
+ "metadata": {
1042
+ "type": "Property"
1043
+ }
1044
+ },
1045
+ "id": {
1046
+ "type": "string",
1047
+ "description": "Unique id of control",
1048
+ "artifactType": "XMLProperty",
1049
+ "metadata": {
1050
+ "type": "Property"
1051
+ }
1052
+ }
1053
+ },
1054
+ "additionalProperties": false,
1055
+ "metadata": {
1056
+ "path": [],
1057
+ "type": "Control"
1058
+ }
1059
+ },
903
1060
  "sap.fe.macros.filterBar.FilterBar": {
904
1061
  "description": "Usage example:\n\nsap.ui.require([\"sap/fe/macros/filterBar/FilterBar\"], function(FilterBar) {\n\t ...\n\t new FilterBar(\"MyFilterBar\", {metaPath:\"@com.sap.vocabularies.UI.v1.SelectionFields\"})\n})\n\nThis is currently an experimental API because the structure of the generated content will change to come closer to the FilterBar that you get out of templates.\nThe public method and property will not change but the internal structure will so be careful on your usage.\n",
905
1062
  "isViewNode": true,
@@ -2066,6 +2223,22 @@
2066
2223
  "Fixed"
2067
2224
  ]
2068
2225
  },
2226
+ "scrollThreshold": {
2227
+ "anyOf": [
2228
+ {
2229
+ "type": "number"
2230
+ },
2231
+ {
2232
+ "type": "string",
2233
+ "pattern": "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$"
2234
+ }
2235
+ ],
2236
+ "description": "Defines how many additional data records are requested from the back-end system when the user scrolls vertically in the table.",
2237
+ "artifactType": "XMLProperty",
2238
+ "metadata": {
2239
+ "type": "Property"
2240
+ }
2241
+ },
2069
2242
  "selectionMode": {
2070
2243
  "type": "string",
2071
2244
  "description": "Defines the selection mode to be used by the table.\nAllowed values are `None`, `Single`, `ForceSingle`, `Multi`, `ForceMulti` or `Auto`.\nIf set to 'Single', 'Multi' or 'Auto', SAP Fiori elements hooks into the standard lifecycle to determine the consistent selection mode.\nIf set to 'ForceSingle' or 'ForceMulti' your choice will be respected but this might not respect the Fiori guidelines.\n",
@@ -2368,6 +2541,22 @@
2368
2541
  "Fixed"
2369
2542
  ]
2370
2543
  },
2544
+ "scrollThreshold": {
2545
+ "anyOf": [
2546
+ {
2547
+ "type": "number"
2548
+ },
2549
+ {
2550
+ "type": "string",
2551
+ "pattern": "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$"
2552
+ }
2553
+ ],
2554
+ "description": "Defines how many additional data records are requested from the back-end system when the user scrolls vertically in the table.",
2555
+ "artifactType": "XMLProperty",
2556
+ "metadata": {
2557
+ "type": "Property"
2558
+ }
2559
+ },
2371
2560
  "selectionMode": {
2372
2561
  "type": "string",
2373
2562
  "description": "Defines the selection mode to be used by the table.\nAllowed values are `None`, `Single`, `ForceSingle`, `Multi`, `ForceMulti` or `Auto`.\nIf set to 'Single', 'Multi' or 'Auto', SAP Fiori elements hooks into the standard lifecycle to determine the consistent selection mode.\nIf set to 'ForceSingle' or 'ForceMulti' your choice will be respected but this might not respect the Fiori guidelines.\n",
@@ -2756,6 +2945,22 @@
2756
2945
  "Fixed"
2757
2946
  ]
2758
2947
  },
2948
+ "scrollThreshold": {
2949
+ "anyOf": [
2950
+ {
2951
+ "type": "number"
2952
+ },
2953
+ {
2954
+ "type": "string",
2955
+ "pattern": "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$"
2956
+ }
2957
+ ],
2958
+ "description": "Defines how many additional data records are requested from the back-end system when the user scrolls vertically in the table.",
2959
+ "artifactType": "XMLProperty",
2960
+ "metadata": {
2961
+ "type": "Property"
2962
+ }
2963
+ },
2759
2964
  "selectionMode": {
2760
2965
  "type": "string",
2761
2966
  "description": "Defines the selection mode to be used by the table.\nAllowed values are `None`, `Single`, `ForceSingle`, `Multi`, `ForceMulti` or `Auto`.\nIf set to 'Single', 'Multi' or 'Auto', SAP Fiori elements hooks into the standard lifecycle to determine the consistent selection mode.\nIf set to 'ForceSingle' or 'ForceMulti' your choice will be respected but this might not respect the Fiori guidelines.\n",
@@ -3073,6 +3278,22 @@
3073
3278
  "Fixed"
3074
3279
  ]
3075
3280
  },
3281
+ "scrollThreshold": {
3282
+ "anyOf": [
3283
+ {
3284
+ "type": "number"
3285
+ },
3286
+ {
3287
+ "type": "string",
3288
+ "pattern": "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$"
3289
+ }
3290
+ ],
3291
+ "description": "Defines how many additional data records are requested from the back-end system when the user scrolls vertically in the table.",
3292
+ "artifactType": "XMLProperty",
3293
+ "metadata": {
3294
+ "type": "Property"
3295
+ }
3296
+ },
3076
3297
  "selectionMode": {
3077
3298
  "type": "string",
3078
3299
  "description": "Defines the selection mode to be used by the table.\nAllowed values are `None`, `Single`, `ForceSingle`, `Multi`, `ForceMulti` or `Auto`.\nIf set to 'Single', 'Multi' or 'Auto', SAP Fiori elements hooks into the standard lifecycle to determine the consistent selection mode.\nIf set to 'ForceSingle' or 'ForceMulti' your choice will be respected but this might not respect the Fiori guidelines.\n",
@@ -3306,146 +3527,6 @@
3306
3527
  "defaultAggregation": "actions"
3307
3528
  }
3308
3529
  },
3309
- "sap.fe.macros.FieldFormatOptions": {
3310
- "description": "Additional format options for the field.",
3311
- "isViewNode": true,
3312
- "type": "object",
3313
- "properties": {
3314
- "dateTimePattern": {
3315
- "type": "string",
3316
- "description": "Property for defining a custom pattern for the date, time, or dateTime format. \nIf there is a dateTimePattern defined dateTimeStyle is ignored.\n",
3317
- "artifactType": "XMLProperty",
3318
- "metadata": {
3319
- "type": "Property"
3320
- }
3321
- },
3322
- "dateTimeStyle": {
3323
- "$ref": "#/definitions/sap.fe.core.templating.UIFormatters.DateTimeStyle",
3324
- "description": "dateTimeStyle",
3325
- "artifactType": "XMLProperty",
3326
- "isViewNode": true,
3327
- "metadata": {
3328
- "type": "Property"
3329
- }
3330
- },
3331
- "displayMode": {
3332
- "type": "string",
3333
- "description": "Defines how the field value and associated text will be displayed together.\n\nAllowed values are \"Value\", \"Description\", \"DescriptionValue\" and \"ValueDescription\"\n",
3334
- "artifactType": "XMLProperty",
3335
- "metadata": {
3336
- "type": "Property"
3337
- },
3338
- "enum": [
3339
- "Description",
3340
- "DescriptionValue",
3341
- "Value",
3342
- "ValueDescription"
3343
- ]
3344
- },
3345
- "fieldEditStyle": {
3346
- "$ref": "#/definitions/sap.fe.macros.field.FieldAPI.FieldEditStyle",
3347
- "description": "fieldEditStyle",
3348
- "artifactType": "XMLProperty",
3349
- "isViewNode": true,
3350
- "metadata": {
3351
- "type": "Property"
3352
- }
3353
- },
3354
- "measureDisplayMode": {
3355
- "type": "string",
3356
- "description": "Defines if and how the field measure will be displayed.\n\nAllowed values are \"Hidden\" and \"ReadOnly\"\n",
3357
- "artifactType": "XMLProperty",
3358
- "metadata": {
3359
- "type": "Property"
3360
- },
3361
- "enum": [
3362
- "Hidden",
3363
- "ReadOnly"
3364
- ]
3365
- },
3366
- "radioButtonsHorizontalLayout": {
3367
- "type": "boolean",
3368
- "description": "Specifies if radio buttons should be rendered in a horizontal layout. \n",
3369
- "artifactType": "XMLProperty",
3370
- "metadata": {
3371
- "type": "Property"
3372
- }
3373
- },
3374
- "showDate": {
3375
- "type": "boolean",
3376
- "description": "Defines if the date part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
3377
- "artifactType": "XMLProperty",
3378
- "metadata": {
3379
- "type": "Property"
3380
- }
3381
- },
3382
- "showTime": {
3383
- "type": "boolean",
3384
- "description": "Defines if the time part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
3385
- "artifactType": "XMLProperty",
3386
- "metadata": {
3387
- "type": "Property"
3388
- }
3389
- },
3390
- "showTimezone": {
3391
- "type": "boolean",
3392
- "description": "Defines if the timezone part of a date time with timezone field should be shown. \n\nThe dateTimeOffset field must have a timezone annotation.\nThe default value is true.\n",
3393
- "artifactType": "XMLProperty",
3394
- "metadata": {
3395
- "type": "Property"
3396
- }
3397
- },
3398
- "textExpandBehaviorDisplay": {
3399
- "type": "string",
3400
- "description": "Defines how the full text will be displayed.\n\nAllowed values are \"InPlace\" and \"Popover\"\n",
3401
- "artifactType": "XMLProperty",
3402
- "metadata": {
3403
- "type": "Property"
3404
- },
3405
- "enum": [
3406
- "InPlace",
3407
- "Popover"
3408
- ]
3409
- },
3410
- "textLinesEdit": {
3411
- "type": "number",
3412
- "description": "Maximum number of lines for multiline texts in edit mode.\n",
3413
- "artifactType": "XMLProperty",
3414
- "metadata": {
3415
- "type": "Property"
3416
- }
3417
- },
3418
- "textMaxCharactersDisplay": {
3419
- "type": "number",
3420
- "description": "Maximum number of characters from the beginning of the text field that are shown initially.\n",
3421
- "artifactType": "XMLProperty",
3422
- "metadata": {
3423
- "type": "Property"
3424
- }
3425
- },
3426
- "textMaxLength": {
3427
- "type": "number",
3428
- "description": "Defines the maximum number of characters for the multiline text value.\n\nIf a multiline text exceeds the maximum number of allowed characters, the counter below the input field displays the exact number.\n",
3429
- "artifactType": "XMLProperty",
3430
- "metadata": {
3431
- "type": "Property"
3432
- }
3433
- },
3434
- "textMaxLines": {
3435
- "type": "number",
3436
- "description": "Maximum number of lines that multiline texts in edit mode can grow to.\n",
3437
- "artifactType": "XMLProperty",
3438
- "metadata": {
3439
- "type": "Property"
3440
- }
3441
- }
3442
- },
3443
- "additionalProperties": false,
3444
- "metadata": {
3445
- "path": [],
3446
- "type": "Control"
3447
- }
3448
- },
3449
3530
  "sap.fe.macros.share.ShareOptions": {
3450
3531
  "description": "Share Options.",
3451
3532
  "isViewNode": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/ux-specification",
3
- "version": "1.124.8",
3
+ "version": "1.124.9",
4
4
  "displayName": "SAP Fiori tools - Specification",
5
5
  "description": "SAP Fiori tools - Specification",
6
6
  "files": [
@@ -49,13 +49,13 @@
49
49
  "publisher": "SAPSE",
50
50
  "license": "SEE LICENSE IN LICENSE",
51
51
  "dependencies": {
52
- "@sap-ux/fe-fpm-writer": "0.31.23",
52
+ "@sap-ux/fe-fpm-writer": "0.31.25",
53
53
  "@sap-ux/vocabularies-types": "0.12.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@sap-ux/annotation-converter": "0.9.11",
57
57
  "@sap-ux/edmx-parser": "0.8.2",
58
- "@sap/ux-specification-types": "1.124.8",
58
+ "@sap/ux-specification-types": "1.124.9",
59
59
  "@sapui5/types": "latest-1.124",
60
60
  "@types/d3": "7.4.3",
61
61
  "@types/jquery": "3.5.31",
@@ -254,7 +254,7 @@ async function importProjectSchema(importParameters) {
254
254
  function getApiVersion() {
255
255
  return {
256
256
  version: '20',
257
- fpmWriter: '27',
257
+ fpmWriter: '28',
258
258
  moduleVersion: package_json_1.default.version
259
259
  };
260
260
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/ux-specification",
3
- "version": "1.124.8",
3
+ "version": "1.124.9",
4
4
  "displayName": "SAP Fiori tools - Specification",
5
5
  "description": "SAP Fiori tools - Specification",
6
6
  "files": [
@@ -49,13 +49,13 @@
49
49
  "publisher": "SAPSE",
50
50
  "license": "SEE LICENSE IN LICENSE",
51
51
  "dependencies": {
52
- "@sap-ux/fe-fpm-writer": "0.31.23",
52
+ "@sap-ux/fe-fpm-writer": "0.31.25",
53
53
  "@sap-ux/vocabularies-types": "0.12.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@sap-ux/annotation-converter": "0.9.11",
57
57
  "@sap-ux/edmx-parser": "0.8.2",
58
- "@sap/ux-specification-types": "1.124.8",
58
+ "@sap/ux-specification-types": "1.124.9",
59
59
  "@sapui5/types": "latest-1.124",
60
60
  "@types/d3": "7.4.3",
61
61
  "@types/jquery": "3.5.31",