@adaptabletools/adaptable 11.0.0-canary.7 → 11.0.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/bundle.cjs.js +75 -75
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +3 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +4 -3
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -0
- package/src/PredefinedConfig/Common/Types.d.ts +4 -1
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +15 -0
- package/src/PredefinedConfig/ToolPanelState.d.ts +3 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.js +11 -10
- package/src/Utilities/Services/ModuleService.js +33 -40
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -8
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +3 -3
- package/src/agGrid/Adaptable.js +2 -4
- package/src/components/ExpressionEditor/index.js +1 -1
- package/src/components/icons/calculated-column.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +181 -0
- package/src/metamodel/adaptable.metamodel.js +262 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -889,6 +889,11 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
889
889
|
"kind": "TypeAlias",
|
|
890
890
|
"description": "Defines a Message Types: 'Success', 'Info', 'Warning' or 'Error'"
|
|
891
891
|
},
|
|
892
|
+
"AdaptableModule": {
|
|
893
|
+
"name": "AdaptableModule",
|
|
894
|
+
"kind": "TypeAlias",
|
|
895
|
+
"description": "Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config"
|
|
896
|
+
},
|
|
892
897
|
"AdaptableObject": {
|
|
893
898
|
"name": "AdaptableObject",
|
|
894
899
|
"kind": "Interface",
|
|
@@ -938,7 +943,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
938
943
|
"description": "Options for managing AdapTableQL",
|
|
939
944
|
"uiLabel": "Adaptable QL Options",
|
|
940
945
|
"isOptional": true,
|
|
941
|
-
"reference": "
|
|
946
|
+
"reference": "AdaptableQLOptions"
|
|
942
947
|
},
|
|
943
948
|
{
|
|
944
949
|
"name": "adaptableStateKey",
|
|
@@ -1289,6 +1294,40 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1289
1294
|
}
|
|
1290
1295
|
]
|
|
1291
1296
|
},
|
|
1297
|
+
"AdaptableQLOptions": {
|
|
1298
|
+
"name": "AdaptableQLOptions",
|
|
1299
|
+
"kind": "Interface",
|
|
1300
|
+
"description": "Options for managing AdaptableQL - the Adaptable Query Lanaguage which evaluates Predicates and Expressions",
|
|
1301
|
+
"properties": [
|
|
1302
|
+
{
|
|
1303
|
+
"name": "caseSensitiveTextComparisons",
|
|
1304
|
+
"kind": "boolean",
|
|
1305
|
+
"description": "Perform case-sensitive text comparisons in all search and filter operations: QuickSearch, Filters, Query, Predicates",
|
|
1306
|
+
"uiLabel": "Case Sensitive Text Comparisons",
|
|
1307
|
+
"isOptional": true,
|
|
1308
|
+
"gridInfo": "item",
|
|
1309
|
+
"defaultValue": "false"
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "expressionOptions",
|
|
1313
|
+
"kind": "REFERENCE",
|
|
1314
|
+
"description": "Options for managing Expressions in AdapTableQL",
|
|
1315
|
+
"uiLabel": "Expression Options",
|
|
1316
|
+
"isOptional": true,
|
|
1317
|
+
"reference": "ExpressionOptions"
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"name": "externallyEvaluatedModules",
|
|
1321
|
+
"kind": "REFERENCE",
|
|
1322
|
+
"description": "Which searching and filtering options should take place on server",
|
|
1323
|
+
"uiLabel": "Externally Evaluated Modules",
|
|
1324
|
+
"isOptional": true,
|
|
1325
|
+
"gridInfo": "item",
|
|
1326
|
+
"defaultValue": "undefined",
|
|
1327
|
+
"reference": "unknown"
|
|
1328
|
+
}
|
|
1329
|
+
]
|
|
1330
|
+
},
|
|
1292
1331
|
"AdaptableReadyInfo": {
|
|
1293
1332
|
"name": "AdaptableReadyInfo",
|
|
1294
1333
|
"kind": "Interface",
|
|
@@ -1978,7 +2017,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
1978
2017
|
"kind": "REFERENCE",
|
|
1979
2018
|
"description": "Adaptable Module to rename",
|
|
1980
2019
|
"uiLabel": "Adaptable Module",
|
|
1981
|
-
"reference": "
|
|
2020
|
+
"reference": "AdaptableModule"
|
|
1982
2021
|
},
|
|
1983
2022
|
{
|
|
1984
2023
|
"name": "newName",
|
|
@@ -2312,6 +2351,38 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2312
2351
|
}
|
|
2313
2352
|
]
|
|
2314
2353
|
},
|
|
2354
|
+
"CellColorRange": {
|
|
2355
|
+
"name": "CellColorRange",
|
|
2356
|
+
"kind": "Interface",
|
|
2357
|
+
"description": "Defines which Colours to show in Gradient and Percent Bar Styles",
|
|
2358
|
+
"properties": [
|
|
2359
|
+
{
|
|
2360
|
+
"name": "Color",
|
|
2361
|
+
"kind": "string",
|
|
2362
|
+
"description": "Cell colour to use for values that fall inside Range",
|
|
2363
|
+
"uiLabel": "Color"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"name": "Max",
|
|
2367
|
+
"kind": "number",
|
|
2368
|
+
"description": "End number of Range",
|
|
2369
|
+
"uiLabel": "Max"
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"name": "Min",
|
|
2373
|
+
"kind": "number",
|
|
2374
|
+
"description": "Start number of Range",
|
|
2375
|
+
"uiLabel": "Min"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"name": "ReverseGradient",
|
|
2379
|
+
"kind": "boolean",
|
|
2380
|
+
"description": "Reverses the Gradient so the lower the cell value the darker the colour",
|
|
2381
|
+
"uiLabel": "Reverse Gradient",
|
|
2382
|
+
"isOptional": true
|
|
2383
|
+
}
|
|
2384
|
+
]
|
|
2385
|
+
},
|
|
2315
2386
|
"CellHighlightInfo": {
|
|
2316
2387
|
"name": "CellHighlightInfo",
|
|
2317
2388
|
"kind": "Interface",
|
|
@@ -2811,6 +2882,31 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2811
2882
|
}
|
|
2812
2883
|
]
|
|
2813
2884
|
},
|
|
2885
|
+
"ColumnComparison": {
|
|
2886
|
+
"name": "ColumnComparison",
|
|
2887
|
+
"kind": "Interface",
|
|
2888
|
+
"description": "Enables a Percent Bar or Gradient Style to use another column in its calculations",
|
|
2889
|
+
"properties": [
|
|
2890
|
+
{
|
|
2891
|
+
"name": "Color",
|
|
2892
|
+
"kind": "string",
|
|
2893
|
+
"description": "Colour to use for the Percent bar",
|
|
2894
|
+
"uiLabel": "Color"
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
"name": "MaxValue",
|
|
2898
|
+
"kind": "unknown",
|
|
2899
|
+
"description": "End value - either numeric or Column name",
|
|
2900
|
+
"uiLabel": "Max Value"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"name": "MinValue",
|
|
2904
|
+
"kind": "unknown",
|
|
2905
|
+
"description": "Start value - either numeric or Column name",
|
|
2906
|
+
"uiLabel": "Min Value"
|
|
2907
|
+
}
|
|
2908
|
+
]
|
|
2909
|
+
},
|
|
2814
2910
|
"ColumnFilter": {
|
|
2815
2911
|
"name": "ColumnFilter",
|
|
2816
2912
|
"kind": "Interface",
|
|
@@ -2877,6 +2973,36 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2877
2973
|
}
|
|
2878
2974
|
]
|
|
2879
2975
|
},
|
|
2976
|
+
"ColumnStyle": {
|
|
2977
|
+
"name": "ColumnStyle",
|
|
2978
|
+
"kind": "Interface",
|
|
2979
|
+
"description": "Special Style used when Formatting Columns: Gradient, PercentBar or CheckBox",
|
|
2980
|
+
"properties": [
|
|
2981
|
+
{
|
|
2982
|
+
"name": "CheckBoxStyle",
|
|
2983
|
+
"kind": "boolean",
|
|
2984
|
+
"description": "Style a boolean column so each cell displays a checkbox",
|
|
2985
|
+
"uiLabel": "Check Box Style",
|
|
2986
|
+
"isOptional": true
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"name": "GradientStyle",
|
|
2990
|
+
"kind": "REFERENCE",
|
|
2991
|
+
"description": "Style a numeric column so each cell value shows a gradient shade",
|
|
2992
|
+
"uiLabel": "Gradient Style",
|
|
2993
|
+
"isOptional": true,
|
|
2994
|
+
"reference": "GradientStyle"
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"name": "PercentBarStyle",
|
|
2998
|
+
"kind": "REFERENCE",
|
|
2999
|
+
"description": "Style a numeric column so each cell displays a 'bar'",
|
|
3000
|
+
"uiLabel": "Percent Bar Style",
|
|
3001
|
+
"isOptional": true,
|
|
3002
|
+
"reference": "PercentBarStyle"
|
|
3003
|
+
}
|
|
3004
|
+
]
|
|
3005
|
+
},
|
|
2880
3006
|
"ColumnValuesComparer": {
|
|
2881
3007
|
"name": "ColumnValuesComparer",
|
|
2882
3008
|
"kind": "Interface",
|
|
@@ -2906,7 +3032,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
2906
3032
|
{
|
|
2907
3033
|
"name": "IncludeGroupedRows",
|
|
2908
3034
|
"kind": "boolean",
|
|
2909
|
-
"description": "Whether to apply Style in Grouped Rows",
|
|
3035
|
+
"description": "Whether to apply Style in Grouped Rows and when Pivoting",
|
|
2910
3036
|
"uiLabel": "Include Grouped Rows",
|
|
2911
3037
|
"isOptional": true,
|
|
2912
3038
|
"defaultValue": "false"
|
|
@@ -3056,7 +3182,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3056
3182
|
{
|
|
3057
3183
|
"name": "ConditionalStyles",
|
|
3058
3184
|
"kind": "unknown",
|
|
3059
|
-
"description": "Array of Conditional Styles to ship with
|
|
3185
|
+
"description": "Array of Conditional Styles to ship with AdapTable",
|
|
3060
3186
|
"uiLabel": "Conditional Styles",
|
|
3061
3187
|
"isOptional": true
|
|
3062
3188
|
}
|
|
@@ -3479,6 +3605,42 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
3479
3605
|
}
|
|
3480
3606
|
]
|
|
3481
3607
|
},
|
|
3608
|
+
"CustomSettingsPanel": {
|
|
3609
|
+
"name": "CustomSettingsPanel",
|
|
3610
|
+
"kind": "Interface",
|
|
3611
|
+
"description": "Definition of a Custom Panel to add to the Adaptable Settings Panel",
|
|
3612
|
+
"properties": [
|
|
3613
|
+
{
|
|
3614
|
+
"name": "frameworkComponent",
|
|
3615
|
+
"kind": "REFERENCE",
|
|
3616
|
+
"description": "Framework-specific (Angular or React) component to be rendered",
|
|
3617
|
+
"uiLabel": "Framework Component",
|
|
3618
|
+
"isOptional": true,
|
|
3619
|
+
"reference": "unknown"
|
|
3620
|
+
},
|
|
3621
|
+
{
|
|
3622
|
+
"name": "icon",
|
|
3623
|
+
"kind": "REFERENCE",
|
|
3624
|
+
"description": "Icon rendered inside settings-panel name, inside the navigation",
|
|
3625
|
+
"uiLabel": "Icon",
|
|
3626
|
+
"isOptional": true,
|
|
3627
|
+
"reference": "AdaptableIcon"
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
"name": "name",
|
|
3631
|
+
"kind": "string",
|
|
3632
|
+
"description": "Appears in Settings Panel Navigation and must be included in settingsPanelOptions.navigation for it to be displayed (by default added to the end)",
|
|
3633
|
+
"uiLabel": "Name"
|
|
3634
|
+
},
|
|
3635
|
+
{
|
|
3636
|
+
"name": "render",
|
|
3637
|
+
"kind": "unknown",
|
|
3638
|
+
"description": "Function to provide bespoke content when NOT using a Framework wrapper",
|
|
3639
|
+
"uiLabel": "Render",
|
|
3640
|
+
"isOptional": true
|
|
3641
|
+
}
|
|
3642
|
+
]
|
|
3643
|
+
},
|
|
3482
3644
|
"CustomSort": {
|
|
3483
3645
|
"name": "CustomSort",
|
|
3484
3646
|
"kind": "Interface",
|
|
@@ -5911,7 +6073,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
5911
6073
|
"description": "Applies Gradient, Percent Bar or CheckBox style to a Column",
|
|
5912
6074
|
"uiLabel": "Column Style",
|
|
5913
6075
|
"isOptional": true,
|
|
5914
|
-
"reference": "
|
|
6076
|
+
"reference": "ColumnStyle"
|
|
5915
6077
|
},
|
|
5916
6078
|
{
|
|
5917
6079
|
"name": "DisplayFormat",
|
|
@@ -6657,6 +6819,28 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
6657
6819
|
}
|
|
6658
6820
|
]
|
|
6659
6821
|
},
|
|
6822
|
+
"GradientStyle": {
|
|
6823
|
+
"name": "GradientStyle",
|
|
6824
|
+
"kind": "Interface",
|
|
6825
|
+
"description": "Used to display Gradient Styles in Format Column",
|
|
6826
|
+
"properties": [
|
|
6827
|
+
{
|
|
6828
|
+
"name": "CellRanges",
|
|
6829
|
+
"kind": "unknown",
|
|
6830
|
+
"description": "Ranges (e.g. to allow a traffic light effect)",
|
|
6831
|
+
"uiLabel": "Cell Ranges",
|
|
6832
|
+
"isOptional": true
|
|
6833
|
+
},
|
|
6834
|
+
{
|
|
6835
|
+
"name": "ColumnComparison",
|
|
6836
|
+
"kind": "REFERENCE",
|
|
6837
|
+
"description": "Compares cell values to another Column",
|
|
6838
|
+
"uiLabel": "Column Comparison",
|
|
6839
|
+
"isOptional": true,
|
|
6840
|
+
"reference": "ColumnComparison"
|
|
6841
|
+
}
|
|
6842
|
+
]
|
|
6843
|
+
},
|
|
6660
6844
|
"GridApi": {
|
|
6661
6845
|
"name": "GridApi",
|
|
6662
6846
|
"kind": "Interface",
|
|
@@ -8538,6 +8722,52 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
8538
8722
|
"kind": "Interface",
|
|
8539
8723
|
"description": "Internal State used by AdapTable for managing the OpenFin plugin"
|
|
8540
8724
|
},
|
|
8725
|
+
"PercentBarStyle": {
|
|
8726
|
+
"name": "PercentBarStyle",
|
|
8727
|
+
"kind": "Interface",
|
|
8728
|
+
"description": "Style used to display Percent Bars in Format Column",
|
|
8729
|
+
"properties": [
|
|
8730
|
+
{
|
|
8731
|
+
"name": "BackColor",
|
|
8732
|
+
"kind": "string",
|
|
8733
|
+
"description": "Back colour - only used for 'Percent Bar' Numeric style; leave unset if none required",
|
|
8734
|
+
"uiLabel": "Back Color",
|
|
8735
|
+
"isOptional": true,
|
|
8736
|
+
"defaultValue": "Gray"
|
|
8737
|
+
},
|
|
8738
|
+
{
|
|
8739
|
+
"name": "CellRanges",
|
|
8740
|
+
"kind": "unknown",
|
|
8741
|
+
"description": "Ranges (e.g. to allow a traffic light effect)",
|
|
8742
|
+
"uiLabel": "Cell Ranges",
|
|
8743
|
+
"isOptional": true
|
|
8744
|
+
},
|
|
8745
|
+
{
|
|
8746
|
+
"name": "CellText",
|
|
8747
|
+
"kind": "REFERENCE",
|
|
8748
|
+
"description": "Whether Cell shows Cell Value, Percent Value, both or none",
|
|
8749
|
+
"uiLabel": "Cell Text",
|
|
8750
|
+
"isOptional": true,
|
|
8751
|
+
"reference": "unknown"
|
|
8752
|
+
},
|
|
8753
|
+
{
|
|
8754
|
+
"name": "ColumnComparison",
|
|
8755
|
+
"kind": "REFERENCE",
|
|
8756
|
+
"description": "Compares cell values to another Column",
|
|
8757
|
+
"uiLabel": "Column Comparison",
|
|
8758
|
+
"isOptional": true,
|
|
8759
|
+
"reference": "ColumnComparison"
|
|
8760
|
+
},
|
|
8761
|
+
{
|
|
8762
|
+
"name": "ToolTipText",
|
|
8763
|
+
"kind": "REFERENCE",
|
|
8764
|
+
"description": "Whether Tooltip shows Cell Value, Percent Value, both or none",
|
|
8765
|
+
"uiLabel": "Tool Tip Text",
|
|
8766
|
+
"isOptional": true,
|
|
8767
|
+
"reference": "unknown"
|
|
8768
|
+
}
|
|
8769
|
+
]
|
|
8770
|
+
},
|
|
8541
8771
|
"PermittedValues": {
|
|
8542
8772
|
"name": "PermittedValues",
|
|
8543
8773
|
"kind": "Interface",
|
|
@@ -10034,7 +10264,7 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10034
10264
|
"kind": "REFERENCE",
|
|
10035
10265
|
"description": "Adaptable Module to which object belongs",
|
|
10036
10266
|
"uiLabel": "Module",
|
|
10037
|
-
"reference": "
|
|
10267
|
+
"reference": "AdaptableModule"
|
|
10038
10268
|
},
|
|
10039
10269
|
{
|
|
10040
10270
|
"name": "Revision",
|
|
@@ -10368,6 +10598,27 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10368
10598
|
}
|
|
10369
10599
|
]
|
|
10370
10600
|
},
|
|
10601
|
+
"StringFormatterOptions": {
|
|
10602
|
+
"name": "StringFormatterOptions",
|
|
10603
|
+
"kind": "Interface",
|
|
10604
|
+
"description": "Formatter Options for String Columns",
|
|
10605
|
+
"properties": [
|
|
10606
|
+
{
|
|
10607
|
+
"name": "Case",
|
|
10608
|
+
"kind": "unknown",
|
|
10609
|
+
"description": "Sets text to Upper or Lower case",
|
|
10610
|
+
"uiLabel": "Case",
|
|
10611
|
+
"isOptional": true
|
|
10612
|
+
},
|
|
10613
|
+
{
|
|
10614
|
+
"name": "Trim",
|
|
10615
|
+
"kind": "boolean",
|
|
10616
|
+
"description": "Trims text (both start and end)",
|
|
10617
|
+
"uiLabel": "Trim",
|
|
10618
|
+
"isOptional": true
|
|
10619
|
+
}
|
|
10620
|
+
]
|
|
10621
|
+
},
|
|
10371
10622
|
"SuspendableObject": {
|
|
10372
10623
|
"name": "SuspendableObject",
|
|
10373
10624
|
"kind": "Interface",
|
|
@@ -10934,6 +11185,11 @@ exports.ADAPTABLE_METAMODEL = {
|
|
|
10934
11185
|
}
|
|
10935
11186
|
]
|
|
10936
11187
|
},
|
|
11188
|
+
"ToolPanelVisibilityMode": {
|
|
11189
|
+
"name": "ToolPanelVisibilityMode",
|
|
11190
|
+
"kind": "TypeAlias",
|
|
11191
|
+
"description": "Whether a ToolPanel displays as expanded or collapsed"
|
|
11192
|
+
},
|
|
10937
11193
|
"UserInterfaceApi": {
|
|
10938
11194
|
"name": "UserInterfaceApi",
|
|
10939
11195
|
"kind": "Interface",
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "11.0.0
|
|
1
|
+
declare const _default: "11.0.0";
|
|
2
2
|
export default _default;
|
package/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = '11.0.0
|
|
3
|
+
exports.default = '11.0.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|