@genesislcap/pbc-reporting-ui 15.13.1 → 15.14.0-FUI-2601.2
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/custom-elements.json +1092 -1092
- package/dist/dts/react.d.ts +18 -18
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- package/package.json +22 -22
|
@@ -8635,121 +8635,399 @@
|
|
|
8635
8635
|
},
|
|
8636
8636
|
{
|
|
8637
8637
|
"kind": "javascript-module",
|
|
8638
|
-
"path": "src/new/main/edit-config/
|
|
8638
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms-tutorial.ts",
|
|
8639
|
+
"declarations": [
|
|
8640
|
+
{
|
|
8641
|
+
"kind": "class",
|
|
8642
|
+
"description": "",
|
|
8643
|
+
"name": "DataTransformsTutorial",
|
|
8644
|
+
"members": [
|
|
8645
|
+
{
|
|
8646
|
+
"kind": "field",
|
|
8647
|
+
"name": "modal",
|
|
8648
|
+
"type": {
|
|
8649
|
+
"text": "Modal"
|
|
8650
|
+
}
|
|
8651
|
+
},
|
|
8652
|
+
{
|
|
8653
|
+
"kind": "field",
|
|
8654
|
+
"name": "valueBuilder",
|
|
8655
|
+
"type": {
|
|
8656
|
+
"text": "RapidValueExpressionBuilder"
|
|
8657
|
+
}
|
|
8658
|
+
},
|
|
8659
|
+
{
|
|
8660
|
+
"kind": "field",
|
|
8661
|
+
"name": "isXlsx",
|
|
8662
|
+
"type": {
|
|
8663
|
+
"text": "boolean"
|
|
8664
|
+
},
|
|
8665
|
+
"default": "false"
|
|
8666
|
+
},
|
|
8667
|
+
{
|
|
8668
|
+
"kind": "field",
|
|
8669
|
+
"name": "hasFormats",
|
|
8670
|
+
"type": {
|
|
8671
|
+
"text": "boolean"
|
|
8672
|
+
},
|
|
8673
|
+
"default": "false"
|
|
8674
|
+
},
|
|
8675
|
+
{
|
|
8676
|
+
"kind": "field",
|
|
8677
|
+
"name": "unsubscribe",
|
|
8678
|
+
"type": {
|
|
8679
|
+
"text": "() => void"
|
|
8680
|
+
},
|
|
8681
|
+
"privacy": "private"
|
|
8682
|
+
},
|
|
8683
|
+
{
|
|
8684
|
+
"kind": "field",
|
|
8685
|
+
"name": "updateState"
|
|
8686
|
+
}
|
|
8687
|
+
],
|
|
8688
|
+
"superclass": {
|
|
8689
|
+
"name": "GenesisElement",
|
|
8690
|
+
"package": "@genesislcap/web-core"
|
|
8691
|
+
},
|
|
8692
|
+
"tagName": "data-transforms-tutorial",
|
|
8693
|
+
"customElement": true
|
|
8694
|
+
}
|
|
8695
|
+
],
|
|
8696
|
+
"exports": [
|
|
8697
|
+
{
|
|
8698
|
+
"kind": "js",
|
|
8699
|
+
"name": "DataTransformsTutorial",
|
|
8700
|
+
"declaration": {
|
|
8701
|
+
"name": "DataTransformsTutorial",
|
|
8702
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms-tutorial.ts"
|
|
8703
|
+
}
|
|
8704
|
+
},
|
|
8705
|
+
{
|
|
8706
|
+
"kind": "custom-element-definition",
|
|
8707
|
+
"name": "data-transforms-tutorial",
|
|
8708
|
+
"declaration": {
|
|
8709
|
+
"name": "DataTransformsTutorial",
|
|
8710
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms-tutorial.ts"
|
|
8711
|
+
}
|
|
8712
|
+
}
|
|
8713
|
+
]
|
|
8714
|
+
},
|
|
8715
|
+
{
|
|
8716
|
+
"kind": "javascript-module",
|
|
8717
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts",
|
|
8639
8718
|
"declarations": [
|
|
8640
8719
|
{
|
|
8641
8720
|
"kind": "function",
|
|
8642
|
-
"name": "
|
|
8721
|
+
"name": "lookupColumnFormat",
|
|
8643
8722
|
"return": {
|
|
8644
8723
|
"type": {
|
|
8645
|
-
"text": "
|
|
8724
|
+
"text": "DataTransformData"
|
|
8646
8725
|
}
|
|
8647
8726
|
},
|
|
8648
8727
|
"parameters": [
|
|
8649
8728
|
{
|
|
8650
8729
|
"name": "data",
|
|
8651
8730
|
"type": {
|
|
8652
|
-
"text": "
|
|
8731
|
+
"text": "DataTransformData"
|
|
8653
8732
|
}
|
|
8654
8733
|
}
|
|
8655
8734
|
],
|
|
8656
|
-
"description": "Adds
|
|
8735
|
+
"description": "Adds format configuration info from store to the row data"
|
|
8657
8736
|
},
|
|
8658
8737
|
{
|
|
8659
8738
|
"kind": "function",
|
|
8660
|
-
"name": "
|
|
8739
|
+
"name": "setDefaultFormatsForDatasource",
|
|
8661
8740
|
"parameters": [
|
|
8662
8741
|
{
|
|
8663
|
-
"name": "
|
|
8742
|
+
"name": "datasourceName",
|
|
8664
8743
|
"type": {
|
|
8665
|
-
"text": "
|
|
8744
|
+
"text": "DatasourceName"
|
|
8666
8745
|
}
|
|
8667
8746
|
},
|
|
8668
8747
|
{
|
|
8669
|
-
"name": "
|
|
8670
|
-
"default": "{}",
|
|
8748
|
+
"name": "schema",
|
|
8671
8749
|
"type": {
|
|
8672
|
-
"text": "
|
|
8750
|
+
"text": "Genesis.JSONSchema7"
|
|
8673
8751
|
}
|
|
8674
8752
|
}
|
|
8675
8753
|
],
|
|
8676
|
-
"description": "
|
|
8754
|
+
"description": "Sets default formats for included fields in a datasource based on their types\nThis should be called after datasource initialization when schema information is available"
|
|
8677
8755
|
},
|
|
8678
8756
|
{
|
|
8679
8757
|
"kind": "function",
|
|
8680
|
-
"name": "
|
|
8758
|
+
"name": "valueExprCellRendereronChange",
|
|
8759
|
+
"return": {
|
|
8760
|
+
"type": {
|
|
8761
|
+
"text": "DataTransformRendererParams['onChange']"
|
|
8762
|
+
}
|
|
8763
|
+
},
|
|
8681
8764
|
"parameters": [
|
|
8682
8765
|
{
|
|
8683
|
-
"name": "
|
|
8766
|
+
"name": "datasourceKey",
|
|
8684
8767
|
"type": {
|
|
8685
|
-
"text": "
|
|
8768
|
+
"text": "DatasourceName"
|
|
8686
8769
|
}
|
|
8687
8770
|
}
|
|
8688
|
-
]
|
|
8689
|
-
"description": "Handler for display name changes in the grid"
|
|
8771
|
+
]
|
|
8690
8772
|
},
|
|
8691
8773
|
{
|
|
8692
8774
|
"kind": "function",
|
|
8693
|
-
"name": "
|
|
8775
|
+
"name": "getDateSeparator",
|
|
8776
|
+
"parameters": [
|
|
8777
|
+
{
|
|
8778
|
+
"name": "data",
|
|
8779
|
+
"type": {
|
|
8780
|
+
"text": "DisplayConfigurationRow"
|
|
8781
|
+
}
|
|
8782
|
+
}
|
|
8783
|
+
]
|
|
8784
|
+
},
|
|
8785
|
+
{
|
|
8786
|
+
"kind": "function",
|
|
8787
|
+
"name": "mapToDateFormat",
|
|
8788
|
+
"parameters": [
|
|
8789
|
+
{
|
|
8790
|
+
"name": "data",
|
|
8791
|
+
"type": {
|
|
8792
|
+
"text": "DisplayConfigurationRow"
|
|
8793
|
+
}
|
|
8794
|
+
}
|
|
8795
|
+
]
|
|
8796
|
+
},
|
|
8797
|
+
{
|
|
8798
|
+
"kind": "function",
|
|
8799
|
+
"name": "determineDateLocaleFormat",
|
|
8694
8800
|
"return": {
|
|
8695
8801
|
"type": {
|
|
8696
|
-
"text": "
|
|
8802
|
+
"text": "DateLocaleFormats"
|
|
8697
8803
|
}
|
|
8698
8804
|
},
|
|
8699
8805
|
"parameters": [
|
|
8700
8806
|
{
|
|
8701
|
-
"name": "
|
|
8807
|
+
"name": "formatString",
|
|
8702
8808
|
"type": {
|
|
8703
|
-
"text": "
|
|
8809
|
+
"text": "string"
|
|
8810
|
+
}
|
|
8811
|
+
}
|
|
8812
|
+
]
|
|
8813
|
+
},
|
|
8814
|
+
{
|
|
8815
|
+
"kind": "function",
|
|
8816
|
+
"name": "getDateConfig",
|
|
8817
|
+
"parameters": [
|
|
8818
|
+
{
|
|
8819
|
+
"name": "formatString",
|
|
8820
|
+
"type": {
|
|
8821
|
+
"text": "string"
|
|
8822
|
+
}
|
|
8823
|
+
}
|
|
8824
|
+
]
|
|
8825
|
+
},
|
|
8826
|
+
{
|
|
8827
|
+
"kind": "function",
|
|
8828
|
+
"name": "validateFormatString",
|
|
8829
|
+
"parameters": [
|
|
8830
|
+
{
|
|
8831
|
+
"name": "formatString",
|
|
8832
|
+
"type": {
|
|
8833
|
+
"text": "string"
|
|
8834
|
+
}
|
|
8835
|
+
}
|
|
8836
|
+
]
|
|
8837
|
+
},
|
|
8838
|
+
{
|
|
8839
|
+
"kind": "function",
|
|
8840
|
+
"name": "transformFromFormatString",
|
|
8841
|
+
"parameters": [
|
|
8842
|
+
{
|
|
8843
|
+
"name": "formatString",
|
|
8844
|
+
"type": {
|
|
8845
|
+
"text": "string"
|
|
8846
|
+
}
|
|
8847
|
+
},
|
|
8848
|
+
{
|
|
8849
|
+
"name": "type",
|
|
8850
|
+
"type": {
|
|
8851
|
+
"text": "FormatTypes.Date | FormatTypes.Datetime"
|
|
8852
|
+
}
|
|
8853
|
+
}
|
|
8854
|
+
]
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
"kind": "variable",
|
|
8858
|
+
"name": "FormatToConfigTokens"
|
|
8859
|
+
},
|
|
8860
|
+
{
|
|
8861
|
+
"kind": "function",
|
|
8862
|
+
"name": "transformFromNumberFormatString",
|
|
8863
|
+
"return": {
|
|
8864
|
+
"type": {
|
|
8865
|
+
"text": "BaseFormatOptions"
|
|
8866
|
+
}
|
|
8867
|
+
},
|
|
8868
|
+
"parameters": [
|
|
8869
|
+
{
|
|
8870
|
+
"name": "formatString",
|
|
8871
|
+
"type": {
|
|
8872
|
+
"text": "string"
|
|
8873
|
+
}
|
|
8874
|
+
},
|
|
8875
|
+
{
|
|
8876
|
+
"name": "type",
|
|
8877
|
+
"type": {
|
|
8878
|
+
"text": "NumericFieldTypes"
|
|
8704
8879
|
}
|
|
8705
8880
|
}
|
|
8706
8881
|
],
|
|
8707
|
-
"description": "
|
|
8882
|
+
"description": "Transforms a numeric format string back to the object structure used by the number format modal\nThis is the inverse of mapToNumberFormat"
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
"kind": "function",
|
|
8886
|
+
"name": "mapToNumberFormat",
|
|
8887
|
+
"return": {
|
|
8888
|
+
"type": {
|
|
8889
|
+
"text": "string"
|
|
8890
|
+
}
|
|
8891
|
+
},
|
|
8892
|
+
"parameters": [
|
|
8893
|
+
{
|
|
8894
|
+
"name": "format",
|
|
8895
|
+
"type": {
|
|
8896
|
+
"text": "NumericFormats"
|
|
8897
|
+
}
|
|
8898
|
+
},
|
|
8899
|
+
{
|
|
8900
|
+
"name": "decimalPlaces",
|
|
8901
|
+
"optional": true,
|
|
8902
|
+
"type": {
|
|
8903
|
+
"text": "number"
|
|
8904
|
+
}
|
|
8905
|
+
},
|
|
8906
|
+
{
|
|
8907
|
+
"name": "currency",
|
|
8908
|
+
"optional": true,
|
|
8909
|
+
"type": {
|
|
8910
|
+
"text": "NumericCurrencies"
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
]
|
|
8708
8914
|
}
|
|
8709
8915
|
],
|
|
8710
8916
|
"exports": [
|
|
8711
8917
|
{
|
|
8712
8918
|
"kind": "js",
|
|
8713
|
-
"name": "
|
|
8919
|
+
"name": "getDefaultFormat",
|
|
8714
8920
|
"declaration": {
|
|
8715
|
-
"name": "
|
|
8716
|
-
"module": "src/new/main/edit-config/
|
|
8921
|
+
"name": "getDefaultFormat",
|
|
8922
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8717
8923
|
}
|
|
8718
8924
|
},
|
|
8719
8925
|
{
|
|
8720
8926
|
"kind": "js",
|
|
8721
|
-
"name": "
|
|
8927
|
+
"name": "lookupColumnFormat",
|
|
8722
8928
|
"declaration": {
|
|
8723
|
-
"name": "
|
|
8724
|
-
"module": "src/new/main/edit-config/
|
|
8929
|
+
"name": "lookupColumnFormat",
|
|
8930
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8725
8931
|
}
|
|
8726
8932
|
},
|
|
8727
8933
|
{
|
|
8728
8934
|
"kind": "js",
|
|
8729
|
-
"name": "
|
|
8935
|
+
"name": "setDefaultFormatsForDatasource",
|
|
8730
8936
|
"declaration": {
|
|
8731
|
-
"name": "
|
|
8732
|
-
"module": "src/new/main/edit-config/
|
|
8937
|
+
"name": "setDefaultFormatsForDatasource",
|
|
8938
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8733
8939
|
}
|
|
8734
8940
|
},
|
|
8735
8941
|
{
|
|
8736
8942
|
"kind": "js",
|
|
8737
|
-
"name": "
|
|
8943
|
+
"name": "valueExprCellRendereronChange",
|
|
8738
8944
|
"declaration": {
|
|
8739
|
-
"name": "
|
|
8740
|
-
"module": "src/new/main/edit-config/
|
|
8945
|
+
"name": "valueExprCellRendereronChange",
|
|
8946
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8947
|
+
}
|
|
8948
|
+
},
|
|
8949
|
+
{
|
|
8950
|
+
"kind": "js",
|
|
8951
|
+
"name": "getDateSeparator",
|
|
8952
|
+
"declaration": {
|
|
8953
|
+
"name": "getDateSeparator",
|
|
8954
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8955
|
+
}
|
|
8956
|
+
},
|
|
8957
|
+
{
|
|
8958
|
+
"kind": "js",
|
|
8959
|
+
"name": "mapToDateFormat",
|
|
8960
|
+
"declaration": {
|
|
8961
|
+
"name": "mapToDateFormat",
|
|
8962
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8963
|
+
}
|
|
8964
|
+
},
|
|
8965
|
+
{
|
|
8966
|
+
"kind": "js",
|
|
8967
|
+
"name": "determineDateLocaleFormat",
|
|
8968
|
+
"declaration": {
|
|
8969
|
+
"name": "determineDateLocaleFormat",
|
|
8970
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8971
|
+
}
|
|
8972
|
+
},
|
|
8973
|
+
{
|
|
8974
|
+
"kind": "js",
|
|
8975
|
+
"name": "getDateConfig",
|
|
8976
|
+
"declaration": {
|
|
8977
|
+
"name": "getDateConfig",
|
|
8978
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8979
|
+
}
|
|
8980
|
+
},
|
|
8981
|
+
{
|
|
8982
|
+
"kind": "js",
|
|
8983
|
+
"name": "validateFormatString",
|
|
8984
|
+
"declaration": {
|
|
8985
|
+
"name": "validateFormatString",
|
|
8986
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
"kind": "js",
|
|
8991
|
+
"name": "transformFromFormatString",
|
|
8992
|
+
"declaration": {
|
|
8993
|
+
"name": "transformFromFormatString",
|
|
8994
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8995
|
+
}
|
|
8996
|
+
},
|
|
8997
|
+
{
|
|
8998
|
+
"kind": "js",
|
|
8999
|
+
"name": "FormatToConfigTokens",
|
|
9000
|
+
"declaration": {
|
|
9001
|
+
"name": "FormatToConfigTokens",
|
|
9002
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9003
|
+
}
|
|
9004
|
+
},
|
|
9005
|
+
{
|
|
9006
|
+
"kind": "js",
|
|
9007
|
+
"name": "transformFromNumberFormatString",
|
|
9008
|
+
"declaration": {
|
|
9009
|
+
"name": "transformFromNumberFormatString",
|
|
9010
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9011
|
+
}
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
"kind": "js",
|
|
9015
|
+
"name": "mapToNumberFormat",
|
|
9016
|
+
"declaration": {
|
|
9017
|
+
"name": "mapToNumberFormat",
|
|
9018
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
8741
9019
|
}
|
|
8742
9020
|
}
|
|
8743
9021
|
]
|
|
8744
9022
|
},
|
|
8745
9023
|
{
|
|
8746
9024
|
"kind": "javascript-module",
|
|
8747
|
-
"path": "src/new/main/edit-config/
|
|
9025
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.styles.ts",
|
|
8748
9026
|
"declarations": [
|
|
8749
9027
|
{
|
|
8750
9028
|
"kind": "variable",
|
|
8751
9029
|
"name": "styles",
|
|
8752
|
-
"default": "css`\n div.grid-container {\n
|
|
9030
|
+
"default": "css`\n div.grid-container {\n height: calc(var(--constrained-height) - 160px);\n width: 100%;\n }\n\n div.grid-container.error {\n cursor: not-allowed;\n }\n\n div.error rapid-grid-pro {\n pointer-events: none;\n opacity: 80%;\n }\n\n rapid-grid-pro::part(grid) {\n --base-height-multiplier: 9;\n --ag-selected-row-background-color: transparent !important;\n }\n`"
|
|
8753
9031
|
}
|
|
8754
9032
|
],
|
|
8755
9033
|
"exports": [
|
|
@@ -8758,19 +9036,19 @@
|
|
|
8758
9036
|
"name": "styles",
|
|
8759
9037
|
"declaration": {
|
|
8760
9038
|
"name": "styles",
|
|
8761
|
-
"module": "src/new/main/edit-config/
|
|
9039
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.styles.ts"
|
|
8762
9040
|
}
|
|
8763
9041
|
}
|
|
8764
9042
|
]
|
|
8765
9043
|
},
|
|
8766
9044
|
{
|
|
8767
9045
|
"kind": "javascript-module",
|
|
8768
|
-
"path": "src/new/main/edit-config/
|
|
9046
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.template.ts",
|
|
8769
9047
|
"declarations": [
|
|
8770
9048
|
{
|
|
8771
9049
|
"kind": "variable",
|
|
8772
9050
|
"name": "template",
|
|
8773
|
-
"default": "html<
|
|
9051
|
+
"default": "html<DataTransformsAndDerivedFields>`\n <div class=\"grid-container ${(x) => classNames(['error', x.dataError])}\">\n <rapid-grid-pro\n class=\"${(x) => classNames(['error', x.dataError])}\"\n data-test-id=\"datasource-config-transform-data-grid\"\n :gridOptions=${(x) => x.getGridOptions()}\n :rowData=${(x) => x.fieldData}\n grid-autosizing\n ></rapid-grid-pro>\n </div>\n <date-format-modal ${ref('dateFormatModal')}></date-format-modal>\n <number-format-modal ${ref('numberFormatModal')}></number-format-modal>\n`"
|
|
8774
9052
|
}
|
|
8775
9053
|
],
|
|
8776
9054
|
"exports": [
|
|
@@ -8779,20 +9057,34 @@
|
|
|
8779
9057
|
"name": "template",
|
|
8780
9058
|
"declaration": {
|
|
8781
9059
|
"name": "template",
|
|
8782
|
-
"module": "src/new/main/edit-config/
|
|
9060
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.template.ts"
|
|
8783
9061
|
}
|
|
8784
9062
|
}
|
|
8785
9063
|
]
|
|
8786
9064
|
},
|
|
8787
9065
|
{
|
|
8788
9066
|
"kind": "javascript-module",
|
|
8789
|
-
"path": "src/new/main/edit-config/
|
|
9067
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.ts",
|
|
8790
9068
|
"declarations": [
|
|
8791
9069
|
{
|
|
8792
9070
|
"kind": "class",
|
|
8793
|
-
"description": "",
|
|
8794
|
-
"name": "
|
|
9071
|
+
"description": "TODO: This component doesn't yet do derived fields, but it will",
|
|
9072
|
+
"name": "DataTransformsAndDerivedFields",
|
|
8795
9073
|
"members": [
|
|
9074
|
+
{
|
|
9075
|
+
"kind": "field",
|
|
9076
|
+
"name": "dateFormatModal",
|
|
9077
|
+
"type": {
|
|
9078
|
+
"text": "DateFormatModal"
|
|
9079
|
+
}
|
|
9080
|
+
},
|
|
9081
|
+
{
|
|
9082
|
+
"kind": "field",
|
|
9083
|
+
"name": "numberFormatModal",
|
|
9084
|
+
"type": {
|
|
9085
|
+
"text": "NumberFormatModal"
|
|
9086
|
+
}
|
|
9087
|
+
},
|
|
8796
9088
|
{
|
|
8797
9089
|
"kind": "method",
|
|
8798
9090
|
"name": "updateDataFields",
|
|
@@ -8802,12 +9094,20 @@
|
|
|
8802
9094
|
"text": "Promise<void>"
|
|
8803
9095
|
}
|
|
8804
9096
|
},
|
|
8805
|
-
"description": "
|
|
9097
|
+
"description": "Update grid data with column filter information",
|
|
8806
9098
|
"inheritedFrom": {
|
|
8807
9099
|
"name": "DatasourceDataBaseComponent",
|
|
8808
9100
|
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
8809
9101
|
}
|
|
8810
9102
|
},
|
|
9103
|
+
{
|
|
9104
|
+
"kind": "field",
|
|
9105
|
+
"name": "clickHandlerGridDisplay"
|
|
9106
|
+
},
|
|
9107
|
+
{
|
|
9108
|
+
"kind": "field",
|
|
9109
|
+
"name": "deleteFormat"
|
|
9110
|
+
},
|
|
8811
9111
|
{
|
|
8812
9112
|
"kind": "method",
|
|
8813
9113
|
"name": "getGridOptions",
|
|
@@ -8932,465 +9232,209 @@
|
|
|
8932
9232
|
"name": "DatasourceDataBaseComponent",
|
|
8933
9233
|
"module": "/src/new/main/edit-config/shared"
|
|
8934
9234
|
},
|
|
8935
|
-
"tagName": "
|
|
9235
|
+
"tagName": "data-transforms-derived-fields",
|
|
8936
9236
|
"customElement": true
|
|
8937
9237
|
}
|
|
8938
9238
|
],
|
|
8939
9239
|
"exports": [
|
|
8940
9240
|
{
|
|
8941
9241
|
"kind": "js",
|
|
8942
|
-
"name": "
|
|
9242
|
+
"name": "DataTransformsAndDerivedFields",
|
|
8943
9243
|
"declaration": {
|
|
8944
|
-
"name": "
|
|
8945
|
-
"module": "src/new/main/edit-config/
|
|
9244
|
+
"name": "DataTransformsAndDerivedFields",
|
|
9245
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.ts"
|
|
8946
9246
|
}
|
|
8947
9247
|
},
|
|
8948
9248
|
{
|
|
8949
9249
|
"kind": "custom-element-definition",
|
|
8950
|
-
"name": "
|
|
9250
|
+
"name": "data-transforms-derived-fields",
|
|
8951
9251
|
"declaration": {
|
|
8952
|
-
"name": "
|
|
8953
|
-
"module": "src/new/main/edit-config/
|
|
9252
|
+
"name": "DataTransformsAndDerivedFields",
|
|
9253
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.ts"
|
|
8954
9254
|
}
|
|
8955
9255
|
}
|
|
8956
9256
|
]
|
|
8957
9257
|
},
|
|
8958
9258
|
{
|
|
8959
9259
|
"kind": "javascript-module",
|
|
8960
|
-
"path": "src/new/main/edit-config/
|
|
8961
|
-
"declarations": [],
|
|
8962
|
-
"exports": []
|
|
8963
|
-
},
|
|
8964
|
-
{
|
|
8965
|
-
"kind": "javascript-module",
|
|
8966
|
-
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-tutorial.ts",
|
|
9260
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.types.ts",
|
|
8967
9261
|
"declarations": [
|
|
8968
9262
|
{
|
|
8969
|
-
"kind": "
|
|
8970
|
-
"
|
|
8971
|
-
"
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
9263
|
+
"kind": "function",
|
|
9264
|
+
"name": "isNumericFieldType",
|
|
9265
|
+
"return": {
|
|
9266
|
+
"type": {
|
|
9267
|
+
"text": "fieldType is NumericFieldTypes"
|
|
9268
|
+
}
|
|
8975
9269
|
},
|
|
8976
|
-
"
|
|
8977
|
-
|
|
9270
|
+
"parameters": [
|
|
9271
|
+
{
|
|
9272
|
+
"name": "fieldType",
|
|
9273
|
+
"type": {
|
|
9274
|
+
"text": "string"
|
|
9275
|
+
}
|
|
9276
|
+
}
|
|
9277
|
+
]
|
|
9278
|
+
},
|
|
9279
|
+
{
|
|
9280
|
+
"kind": "variable",
|
|
9281
|
+
"name": "dateFormatsWithLabels",
|
|
9282
|
+
"type": {
|
|
9283
|
+
"text": "array"
|
|
9284
|
+
},
|
|
9285
|
+
"default": "[\n {\n value: DateLocaleFormats.Unformatted,\n label: `Unformatted`,\n },\n {\n value: DateLocaleFormats.US,\n label: `${DateLocaleFormats.US}`,\n },\n {\n value: DateLocaleFormats.UK,\n label: `${DateLocaleFormats.UK}`,\n },\n]"
|
|
9286
|
+
},
|
|
9287
|
+
{
|
|
9288
|
+
"kind": "variable",
|
|
9289
|
+
"name": "DateTimeTokens",
|
|
9290
|
+
"type": {
|
|
9291
|
+
"text": "object"
|
|
9292
|
+
},
|
|
9293
|
+
"default": "{\n year: {\n [DateYearFormats.Full]: 'yyyy',\n [DateYearFormats.Digit]: 'yy',\n },\n month: {\n [DateMonthFormats.Numeric]: 'M',\n [DateMonthFormats.Digit]: 'MM',\n [DateMonthFormats.Long]: 'MMMM',\n [DateMonthFormats.Short]: 'MMM',\n },\n day: {\n [DateStandardFormats.Numeric]: 'd',\n [DateStandardFormats.Digit]: 'dd',\n },\n hour: {\n [DateTimeFormats.Show]: 'HH',\n [`${DateTimeFormats.Show}_12`]: 'hh',\n },\n minute: {\n [DateTimeFormats.Show]: 'mm',\n },\n second: {\n [DateTimeFormats.Show]: 'ss',\n },\n}"
|
|
9294
|
+
},
|
|
9295
|
+
{
|
|
9296
|
+
"kind": "variable",
|
|
9297
|
+
"name": "numericFormatsWithLabels",
|
|
9298
|
+
"type": {
|
|
9299
|
+
"text": "array"
|
|
9300
|
+
},
|
|
9301
|
+
"default": "[\n {\n value: NumericFormats.Unformatted,\n label: `${NumericFormats.Unformatted}`,\n },\n {\n value: NumericFormats.Financial,\n label: `${NumericFormats.Financial} (1,000.12)`,\n },\n {\n value: NumericFormats.Percent,\n label: `${NumericFormats.Percent} (10.12%)`,\n },\n {\n value: NumericFormats.SimpleDecimal,\n label: `${NumericFormats.SimpleDecimal} (123.45)`,\n },\n {\n value: NumericFormats.Currency,\n label: `${NumericFormats.Currency} (£1,000.12)`,\n },\n {\n value: NumericFormats.CurrencyRounded,\n label: `${NumericFormats.CurrencyRounded} (£1,000)`,\n },\n]"
|
|
9302
|
+
},
|
|
9303
|
+
{
|
|
9304
|
+
"kind": "variable",
|
|
9305
|
+
"name": "LocaleDateOrderMap",
|
|
9306
|
+
"type": {
|
|
9307
|
+
"text": "Record<DateLocaleFormats, (keyof typeof DateTimeTokens)[]>"
|
|
9308
|
+
},
|
|
9309
|
+
"default": "{\n [DateLocaleFormats.UK]: ['day', 'month', 'year'],\n [DateLocaleFormats.US]: ['month', 'day', 'year'],\n [DateLocaleFormats.Unformatted]: ['year', 'month', 'day'],\n}"
|
|
8978
9310
|
}
|
|
8979
9311
|
],
|
|
8980
9312
|
"exports": [
|
|
8981
9313
|
{
|
|
8982
9314
|
"kind": "js",
|
|
8983
|
-
"name": "
|
|
9315
|
+
"name": "isNumericFieldType",
|
|
8984
9316
|
"declaration": {
|
|
8985
|
-
"name": "
|
|
8986
|
-
"module": "src/new/main/edit-config/
|
|
9317
|
+
"name": "isNumericFieldType",
|
|
9318
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.types.ts"
|
|
8987
9319
|
}
|
|
8988
9320
|
},
|
|
8989
9321
|
{
|
|
8990
|
-
"kind": "
|
|
8991
|
-
"name": "
|
|
9322
|
+
"kind": "js",
|
|
9323
|
+
"name": "dateFormatsWithLabels",
|
|
8992
9324
|
"declaration": {
|
|
8993
|
-
"name": "
|
|
8994
|
-
"module": "src/new/main/edit-config/
|
|
9325
|
+
"name": "dateFormatsWithLabels",
|
|
9326
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.types.ts"
|
|
9327
|
+
}
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
"kind": "js",
|
|
9331
|
+
"name": "DateTimeTokens",
|
|
9332
|
+
"declaration": {
|
|
9333
|
+
"name": "DateTimeTokens",
|
|
9334
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.types.ts"
|
|
9335
|
+
}
|
|
9336
|
+
},
|
|
9337
|
+
{
|
|
9338
|
+
"kind": "js",
|
|
9339
|
+
"name": "numericFormatsWithLabels",
|
|
9340
|
+
"declaration": {
|
|
9341
|
+
"name": "numericFormatsWithLabels",
|
|
9342
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.types.ts"
|
|
9343
|
+
}
|
|
9344
|
+
},
|
|
9345
|
+
{
|
|
9346
|
+
"kind": "js",
|
|
9347
|
+
"name": "LocaleDateOrderMap",
|
|
9348
|
+
"declaration": {
|
|
9349
|
+
"name": "LocaleDateOrderMap",
|
|
9350
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.types.ts"
|
|
8995
9351
|
}
|
|
8996
9352
|
}
|
|
8997
9353
|
]
|
|
8998
9354
|
},
|
|
8999
9355
|
{
|
|
9000
9356
|
"kind": "javascript-module",
|
|
9001
|
-
"path": "src/new/main/edit-config/data-transforms-derived-fields/
|
|
9357
|
+
"path": "src/new/main/edit-config/data-transforms-derived-fields/format-warning.ts",
|
|
9002
9358
|
"declarations": [
|
|
9003
9359
|
{
|
|
9004
9360
|
"kind": "class",
|
|
9005
9361
|
"description": "",
|
|
9006
|
-
"name": "
|
|
9362
|
+
"name": "FormatWarning",
|
|
9007
9363
|
"members": [
|
|
9008
9364
|
{
|
|
9009
9365
|
"kind": "field",
|
|
9010
|
-
"name": "
|
|
9011
|
-
"type": {
|
|
9012
|
-
"text": "Modal"
|
|
9013
|
-
}
|
|
9014
|
-
},
|
|
9015
|
-
{
|
|
9016
|
-
"kind": "field",
|
|
9017
|
-
"name": "valueBuilder",
|
|
9018
|
-
"type": {
|
|
9019
|
-
"text": "RapidValueExpressionBuilder"
|
|
9020
|
-
}
|
|
9021
|
-
},
|
|
9022
|
-
{
|
|
9023
|
-
"kind": "field",
|
|
9024
|
-
"name": "isXlsx",
|
|
9366
|
+
"name": "warning",
|
|
9025
9367
|
"type": {
|
|
9026
9368
|
"text": "boolean"
|
|
9027
9369
|
},
|
|
9028
9370
|
"default": "false"
|
|
9029
|
-
}
|
|
9371
|
+
}
|
|
9372
|
+
],
|
|
9373
|
+
"attributes": [
|
|
9030
9374
|
{
|
|
9031
|
-
"kind": "field",
|
|
9032
|
-
"name": "hasFormats",
|
|
9033
9375
|
"type": {
|
|
9034
9376
|
"text": "boolean"
|
|
9035
9377
|
},
|
|
9036
|
-
"default": "false"
|
|
9037
|
-
|
|
9038
|
-
{
|
|
9039
|
-
"kind": "field",
|
|
9040
|
-
"name": "unsubscribe",
|
|
9041
|
-
"type": {
|
|
9042
|
-
"text": "() => void"
|
|
9043
|
-
},
|
|
9044
|
-
"privacy": "private"
|
|
9045
|
-
},
|
|
9046
|
-
{
|
|
9047
|
-
"kind": "field",
|
|
9048
|
-
"name": "updateState"
|
|
9378
|
+
"default": "false",
|
|
9379
|
+
"fieldName": "warning"
|
|
9049
9380
|
}
|
|
9050
9381
|
],
|
|
9051
9382
|
"superclass": {
|
|
9052
9383
|
"name": "GenesisElement",
|
|
9053
9384
|
"package": "@genesislcap/web-core"
|
|
9054
9385
|
},
|
|
9055
|
-
"tagName": "
|
|
9386
|
+
"tagName": "format-warning",
|
|
9056
9387
|
"customElement": true
|
|
9057
9388
|
}
|
|
9058
9389
|
],
|
|
9059
9390
|
"exports": [
|
|
9060
9391
|
{
|
|
9061
9392
|
"kind": "js",
|
|
9062
|
-
"name": "
|
|
9393
|
+
"name": "FormatWarning",
|
|
9063
9394
|
"declaration": {
|
|
9064
|
-
"name": "
|
|
9065
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/
|
|
9395
|
+
"name": "FormatWarning",
|
|
9396
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/format-warning.ts"
|
|
9066
9397
|
}
|
|
9067
9398
|
},
|
|
9068
9399
|
{
|
|
9069
9400
|
"kind": "custom-element-definition",
|
|
9070
|
-
"name": "
|
|
9401
|
+
"name": "format-warning",
|
|
9071
9402
|
"declaration": {
|
|
9072
|
-
"name": "
|
|
9073
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/
|
|
9403
|
+
"name": "FormatWarning",
|
|
9404
|
+
"module": "src/new/main/edit-config/data-transforms-derived-fields/format-warning.ts"
|
|
9074
9405
|
}
|
|
9075
9406
|
}
|
|
9076
9407
|
]
|
|
9077
9408
|
},
|
|
9078
9409
|
{
|
|
9079
9410
|
"kind": "javascript-module",
|
|
9080
|
-
"path": "src/new/main/edit-config/
|
|
9411
|
+
"path": "src/new/main/edit-config/datasource-config/datasource-config-container.styles.ts",
|
|
9081
9412
|
"declarations": [
|
|
9082
|
-
{
|
|
9083
|
-
"kind": "function",
|
|
9084
|
-
"name": "lookupColumnFormat",
|
|
9085
|
-
"return": {
|
|
9086
|
-
"type": {
|
|
9087
|
-
"text": "DataTransformData"
|
|
9088
|
-
}
|
|
9089
|
-
},
|
|
9090
|
-
"parameters": [
|
|
9091
|
-
{
|
|
9092
|
-
"name": "data",
|
|
9093
|
-
"type": {
|
|
9094
|
-
"text": "DataTransformData"
|
|
9095
|
-
}
|
|
9096
|
-
}
|
|
9097
|
-
],
|
|
9098
|
-
"description": "Adds format configuration info from store to the row data"
|
|
9099
|
-
},
|
|
9100
|
-
{
|
|
9101
|
-
"kind": "function",
|
|
9102
|
-
"name": "setDefaultFormatsForDatasource",
|
|
9103
|
-
"parameters": [
|
|
9104
|
-
{
|
|
9105
|
-
"name": "datasourceName",
|
|
9106
|
-
"type": {
|
|
9107
|
-
"text": "DatasourceName"
|
|
9108
|
-
}
|
|
9109
|
-
},
|
|
9110
|
-
{
|
|
9111
|
-
"name": "schema",
|
|
9112
|
-
"type": {
|
|
9113
|
-
"text": "Genesis.JSONSchema7"
|
|
9114
|
-
}
|
|
9115
|
-
}
|
|
9116
|
-
],
|
|
9117
|
-
"description": "Sets default formats for included fields in a datasource based on their types\nThis should be called after datasource initialization when schema information is available"
|
|
9118
|
-
},
|
|
9119
|
-
{
|
|
9120
|
-
"kind": "function",
|
|
9121
|
-
"name": "valueExprCellRendereronChange",
|
|
9122
|
-
"return": {
|
|
9123
|
-
"type": {
|
|
9124
|
-
"text": "DataTransformRendererParams['onChange']"
|
|
9125
|
-
}
|
|
9126
|
-
},
|
|
9127
|
-
"parameters": [
|
|
9128
|
-
{
|
|
9129
|
-
"name": "datasourceKey",
|
|
9130
|
-
"type": {
|
|
9131
|
-
"text": "DatasourceName"
|
|
9132
|
-
}
|
|
9133
|
-
}
|
|
9134
|
-
]
|
|
9135
|
-
},
|
|
9136
|
-
{
|
|
9137
|
-
"kind": "function",
|
|
9138
|
-
"name": "getDateSeparator",
|
|
9139
|
-
"parameters": [
|
|
9140
|
-
{
|
|
9141
|
-
"name": "data",
|
|
9142
|
-
"type": {
|
|
9143
|
-
"text": "DisplayConfigurationRow"
|
|
9144
|
-
}
|
|
9145
|
-
}
|
|
9146
|
-
]
|
|
9147
|
-
},
|
|
9148
|
-
{
|
|
9149
|
-
"kind": "function",
|
|
9150
|
-
"name": "mapToDateFormat",
|
|
9151
|
-
"parameters": [
|
|
9152
|
-
{
|
|
9153
|
-
"name": "data",
|
|
9154
|
-
"type": {
|
|
9155
|
-
"text": "DisplayConfigurationRow"
|
|
9156
|
-
}
|
|
9157
|
-
}
|
|
9158
|
-
]
|
|
9159
|
-
},
|
|
9160
|
-
{
|
|
9161
|
-
"kind": "function",
|
|
9162
|
-
"name": "determineDateLocaleFormat",
|
|
9163
|
-
"return": {
|
|
9164
|
-
"type": {
|
|
9165
|
-
"text": "DateLocaleFormats"
|
|
9166
|
-
}
|
|
9167
|
-
},
|
|
9168
|
-
"parameters": [
|
|
9169
|
-
{
|
|
9170
|
-
"name": "formatString",
|
|
9171
|
-
"type": {
|
|
9172
|
-
"text": "string"
|
|
9173
|
-
}
|
|
9174
|
-
}
|
|
9175
|
-
]
|
|
9176
|
-
},
|
|
9177
|
-
{
|
|
9178
|
-
"kind": "function",
|
|
9179
|
-
"name": "getDateConfig",
|
|
9180
|
-
"parameters": [
|
|
9181
|
-
{
|
|
9182
|
-
"name": "formatString",
|
|
9183
|
-
"type": {
|
|
9184
|
-
"text": "string"
|
|
9185
|
-
}
|
|
9186
|
-
}
|
|
9187
|
-
]
|
|
9188
|
-
},
|
|
9189
|
-
{
|
|
9190
|
-
"kind": "function",
|
|
9191
|
-
"name": "validateFormatString",
|
|
9192
|
-
"parameters": [
|
|
9193
|
-
{
|
|
9194
|
-
"name": "formatString",
|
|
9195
|
-
"type": {
|
|
9196
|
-
"text": "string"
|
|
9197
|
-
}
|
|
9198
|
-
}
|
|
9199
|
-
]
|
|
9200
|
-
},
|
|
9201
|
-
{
|
|
9202
|
-
"kind": "function",
|
|
9203
|
-
"name": "transformFromFormatString",
|
|
9204
|
-
"parameters": [
|
|
9205
|
-
{
|
|
9206
|
-
"name": "formatString",
|
|
9207
|
-
"type": {
|
|
9208
|
-
"text": "string"
|
|
9209
|
-
}
|
|
9210
|
-
},
|
|
9211
|
-
{
|
|
9212
|
-
"name": "type",
|
|
9213
|
-
"type": {
|
|
9214
|
-
"text": "FormatTypes.Date | FormatTypes.Datetime"
|
|
9215
|
-
}
|
|
9216
|
-
}
|
|
9217
|
-
]
|
|
9218
|
-
},
|
|
9219
9413
|
{
|
|
9220
9414
|
"kind": "variable",
|
|
9221
|
-
"name": "
|
|
9222
|
-
|
|
9223
|
-
{
|
|
9224
|
-
"kind": "function",
|
|
9225
|
-
"name": "transformFromNumberFormatString",
|
|
9226
|
-
"return": {
|
|
9227
|
-
"type": {
|
|
9228
|
-
"text": "BaseFormatOptions"
|
|
9229
|
-
}
|
|
9230
|
-
},
|
|
9231
|
-
"parameters": [
|
|
9232
|
-
{
|
|
9233
|
-
"name": "formatString",
|
|
9234
|
-
"type": {
|
|
9235
|
-
"text": "string"
|
|
9236
|
-
}
|
|
9237
|
-
},
|
|
9238
|
-
{
|
|
9239
|
-
"name": "type",
|
|
9240
|
-
"type": {
|
|
9241
|
-
"text": "NumericFieldTypes"
|
|
9242
|
-
}
|
|
9243
|
-
}
|
|
9244
|
-
],
|
|
9245
|
-
"description": "Transforms a numeric format string back to the object structure used by the number format modal\nThis is the inverse of mapToNumberFormat"
|
|
9246
|
-
},
|
|
9247
|
-
{
|
|
9248
|
-
"kind": "function",
|
|
9249
|
-
"name": "mapToNumberFormat",
|
|
9250
|
-
"return": {
|
|
9251
|
-
"type": {
|
|
9252
|
-
"text": "string"
|
|
9253
|
-
}
|
|
9254
|
-
},
|
|
9255
|
-
"parameters": [
|
|
9256
|
-
{
|
|
9257
|
-
"name": "format",
|
|
9258
|
-
"type": {
|
|
9259
|
-
"text": "NumericFormats"
|
|
9260
|
-
}
|
|
9261
|
-
},
|
|
9262
|
-
{
|
|
9263
|
-
"name": "decimalPlaces",
|
|
9264
|
-
"optional": true,
|
|
9265
|
-
"type": {
|
|
9266
|
-
"text": "number"
|
|
9267
|
-
}
|
|
9268
|
-
},
|
|
9269
|
-
{
|
|
9270
|
-
"name": "currency",
|
|
9271
|
-
"optional": true,
|
|
9272
|
-
"type": {
|
|
9273
|
-
"text": "NumericCurrencies"
|
|
9274
|
-
}
|
|
9275
|
-
}
|
|
9276
|
-
]
|
|
9415
|
+
"name": "styles",
|
|
9416
|
+
"default": "css`\n div.container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n rapid-button.add {\n display: flex;\n margin: 5px;\n background-color: var(--success-color);\n min-width: calc(var(--base-height-multiplier) * (var(--design-unit) - 1) * 1px);\n width: calc(var(--base-height-multiplier) * (var(--design-unit) - 1) * 1px);\n height: calc(var(--base-height-multiplier) * (var(--design-unit) - 1) * 1px);\n }\n\n rapid-button.add::part(control) {\n padding: 0;\n }\n`"
|
|
9277
9417
|
}
|
|
9278
9418
|
],
|
|
9279
9419
|
"exports": [
|
|
9280
9420
|
{
|
|
9281
9421
|
"kind": "js",
|
|
9282
|
-
"name": "
|
|
9283
|
-
"declaration": {
|
|
9284
|
-
"name": "getDefaultFormat",
|
|
9285
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9286
|
-
}
|
|
9287
|
-
},
|
|
9288
|
-
{
|
|
9289
|
-
"kind": "js",
|
|
9290
|
-
"name": "lookupColumnFormat",
|
|
9291
|
-
"declaration": {
|
|
9292
|
-
"name": "lookupColumnFormat",
|
|
9293
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9294
|
-
}
|
|
9295
|
-
},
|
|
9296
|
-
{
|
|
9297
|
-
"kind": "js",
|
|
9298
|
-
"name": "setDefaultFormatsForDatasource",
|
|
9299
|
-
"declaration": {
|
|
9300
|
-
"name": "setDefaultFormatsForDatasource",
|
|
9301
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9302
|
-
}
|
|
9303
|
-
},
|
|
9304
|
-
{
|
|
9305
|
-
"kind": "js",
|
|
9306
|
-
"name": "valueExprCellRendereronChange",
|
|
9307
|
-
"declaration": {
|
|
9308
|
-
"name": "valueExprCellRendereronChange",
|
|
9309
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9310
|
-
}
|
|
9311
|
-
},
|
|
9312
|
-
{
|
|
9313
|
-
"kind": "js",
|
|
9314
|
-
"name": "getDateSeparator",
|
|
9315
|
-
"declaration": {
|
|
9316
|
-
"name": "getDateSeparator",
|
|
9317
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9318
|
-
}
|
|
9319
|
-
},
|
|
9320
|
-
{
|
|
9321
|
-
"kind": "js",
|
|
9322
|
-
"name": "mapToDateFormat",
|
|
9323
|
-
"declaration": {
|
|
9324
|
-
"name": "mapToDateFormat",
|
|
9325
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9326
|
-
}
|
|
9327
|
-
},
|
|
9328
|
-
{
|
|
9329
|
-
"kind": "js",
|
|
9330
|
-
"name": "determineDateLocaleFormat",
|
|
9331
|
-
"declaration": {
|
|
9332
|
-
"name": "determineDateLocaleFormat",
|
|
9333
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9334
|
-
}
|
|
9335
|
-
},
|
|
9336
|
-
{
|
|
9337
|
-
"kind": "js",
|
|
9338
|
-
"name": "getDateConfig",
|
|
9339
|
-
"declaration": {
|
|
9340
|
-
"name": "getDateConfig",
|
|
9341
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9342
|
-
}
|
|
9343
|
-
},
|
|
9344
|
-
{
|
|
9345
|
-
"kind": "js",
|
|
9346
|
-
"name": "validateFormatString",
|
|
9347
|
-
"declaration": {
|
|
9348
|
-
"name": "validateFormatString",
|
|
9349
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9350
|
-
}
|
|
9351
|
-
},
|
|
9352
|
-
{
|
|
9353
|
-
"kind": "js",
|
|
9354
|
-
"name": "transformFromFormatString",
|
|
9355
|
-
"declaration": {
|
|
9356
|
-
"name": "transformFromFormatString",
|
|
9357
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9358
|
-
}
|
|
9359
|
-
},
|
|
9360
|
-
{
|
|
9361
|
-
"kind": "js",
|
|
9362
|
-
"name": "FormatToConfigTokens",
|
|
9363
|
-
"declaration": {
|
|
9364
|
-
"name": "FormatToConfigTokens",
|
|
9365
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9366
|
-
}
|
|
9367
|
-
},
|
|
9368
|
-
{
|
|
9369
|
-
"kind": "js",
|
|
9370
|
-
"name": "transformFromNumberFormatString",
|
|
9371
|
-
"declaration": {
|
|
9372
|
-
"name": "transformFromNumberFormatString",
|
|
9373
|
-
"module": "src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.ts"
|
|
9374
|
-
}
|
|
9375
|
-
},
|
|
9376
|
-
{
|
|
9377
|
-
"kind": "js",
|
|
9378
|
-
"name": "mapToNumberFormat",
|
|
9422
|
+
"name": "styles",
|
|
9379
9423
|
"declaration": {
|
|
9380
|
-
"name": "
|
|
9381
|
-
"module": "src/new/main/edit-config/
|
|
9424
|
+
"name": "styles",
|
|
9425
|
+
"module": "src/new/main/edit-config/datasource-config/datasource-config-container.styles.ts"
|
|
9382
9426
|
}
|
|
9383
9427
|
}
|
|
9384
9428
|
]
|
|
9385
9429
|
},
|
|
9386
9430
|
{
|
|
9387
9431
|
"kind": "javascript-module",
|
|
9388
|
-
"path": "src/new/main/edit-config/
|
|
9432
|
+
"path": "src/new/main/edit-config/datasource-config/datasource-config-item.styles.ts",
|
|
9389
9433
|
"declarations": [
|
|
9390
9434
|
{
|
|
9391
9435
|
"kind": "variable",
|
|
9392
9436
|
"name": "styles",
|
|
9393
|
-
"default": "css`\n div.
|
|
9437
|
+
"default": "css`\n ${optionMessageBubble()}\n ${formLabel}\n\n div.container {\n gap: calc(var(--design-unit) * 2px);\n }\n\n div.split {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: calc(var(--design-unit) * 2px);\n }\n\n rapid-combobox.datasource {\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-combobox.datasource.error {\n border-color: var(--error-color);\n }\n\n div.configs {\n display: grid;\n grid-template-columns: 5fr 2fr;\n gap: calc(var(--design-unit) * 3px);\n }\n\n rapid-text-field::part(root) {\n height: calc((var(--base-height-multiplier) * (var(--design-unit) - 1)) * 1.35px);\n }\n\n rapid-select,\n rapid-combobox,\n rapid-text-field {\n width: 100%;\n min-width: unset;\n height: 41px;\n }\n\n div.configs rapid-select,\n div.configs rapid-combobox {\n min-width: 20%;\n }\n\n rapid-select::part(listbox),\n rapid-combobox::part(listbox) {\n max-height: 20vh;\n }\n\n div.header {\n display: grid;\n grid-template-columns: 4fr 1fr;\n margin-bottom: calc(var(--design-unit) * 1.2px);\n }\n\n div.close-button {\n display: flex;\n flex-direction: row-reverse;\n }\n\n rapid-button.close {\n margin: 5px;\n background-color: var(--error-color);\n min-width: calc(var(--base-height-multiplier) * (var(--design-unit) - 1) * 1px);\n width: calc(var(--base-height-multiplier) * (var(--design-unit) - 1) * 1px);\n height: calc(var(--base-height-multiplier) * (var(--design-unit) - 1) * 1px);\n }\n\n rapid-button.close::part(control) {\n padding: 0;\n }\n`"
|
|
9394
9438
|
}
|
|
9395
9439
|
],
|
|
9396
9440
|
"exports": [
|
|
@@ -9399,19 +9443,19 @@
|
|
|
9399
9443
|
"name": "styles",
|
|
9400
9444
|
"declaration": {
|
|
9401
9445
|
"name": "styles",
|
|
9402
|
-
"module": "src/new/main/edit-config/
|
|
9446
|
+
"module": "src/new/main/edit-config/datasource-config/datasource-config-item.styles.ts"
|
|
9403
9447
|
}
|
|
9404
9448
|
}
|
|
9405
9449
|
]
|
|
9406
9450
|
},
|
|
9407
9451
|
{
|
|
9408
9452
|
"kind": "javascript-module",
|
|
9409
|
-
"path": "src/new/main/edit-config/
|
|
9453
|
+
"path": "src/new/main/edit-config/datasource-config/datasource-config-item.template.ts",
|
|
9410
9454
|
"declarations": [
|
|
9411
9455
|
{
|
|
9412
9456
|
"kind": "variable",
|
|
9413
9457
|
"name": "template",
|
|
9414
|
-
"default": "html<
|
|
9458
|
+
"default": "html<DatasourceConfigItem>`\n ${whenElse(\n (x) => x.datasourceName && x.datasourceChoices,\n component,\n html`\n Missing attributes\n `,\n )}\n`"
|
|
9415
9459
|
}
|
|
9416
9460
|
],
|
|
9417
9461
|
"exports": [
|
|
@@ -9420,384 +9464,504 @@
|
|
|
9420
9464
|
"name": "template",
|
|
9421
9465
|
"declaration": {
|
|
9422
9466
|
"name": "template",
|
|
9423
|
-
"module": "src/new/main/edit-config/
|
|
9467
|
+
"module": "src/new/main/edit-config/datasource-config/datasource-config-item.template.ts"
|
|
9424
9468
|
}
|
|
9425
9469
|
}
|
|
9426
9470
|
]
|
|
9427
9471
|
},
|
|
9428
9472
|
{
|
|
9429
9473
|
"kind": "javascript-module",
|
|
9430
|
-
"path": "src/new/main/edit-config/
|
|
9474
|
+
"path": "src/new/main/edit-config/datasource-config/datasource-config-item.ts",
|
|
9431
9475
|
"declarations": [
|
|
9432
9476
|
{
|
|
9433
9477
|
"kind": "class",
|
|
9434
|
-
"description": "
|
|
9435
|
-
"name": "
|
|
9436
|
-
"members": [
|
|
9437
|
-
{
|
|
9438
|
-
"kind": "field",
|
|
9439
|
-
"name": "dateFormatModal",
|
|
9440
|
-
"type": {
|
|
9441
|
-
"text": "DateFormatModal"
|
|
9442
|
-
}
|
|
9443
|
-
},
|
|
9444
|
-
{
|
|
9445
|
-
"kind": "field",
|
|
9446
|
-
"name": "numberFormatModal",
|
|
9447
|
-
"type": {
|
|
9448
|
-
"text": "NumberFormatModal"
|
|
9449
|
-
}
|
|
9450
|
-
},
|
|
9451
|
-
{
|
|
9452
|
-
"kind": "method",
|
|
9453
|
-
"name": "updateDataFields",
|
|
9454
|
-
"privacy": "protected",
|
|
9455
|
-
"return": {
|
|
9456
|
-
"type": {
|
|
9457
|
-
"text": "Promise<void>"
|
|
9458
|
-
}
|
|
9459
|
-
},
|
|
9460
|
-
"description": "Update grid data with column filter information",
|
|
9461
|
-
"inheritedFrom": {
|
|
9462
|
-
"name": "DatasourceDataBaseComponent",
|
|
9463
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9464
|
-
}
|
|
9465
|
-
},
|
|
9478
|
+
"description": "",
|
|
9479
|
+
"name": "DatasourceConfigItem",
|
|
9480
|
+
"members": [
|
|
9466
9481
|
{
|
|
9467
9482
|
"kind": "field",
|
|
9468
|
-
"name": "
|
|
9483
|
+
"name": "connect",
|
|
9484
|
+
"type": {
|
|
9485
|
+
"text": "Connect"
|
|
9486
|
+
}
|
|
9469
9487
|
},
|
|
9470
9488
|
{
|
|
9471
9489
|
"kind": "field",
|
|
9472
|
-
"name": "
|
|
9473
|
-
|
|
9474
|
-
{
|
|
9475
|
-
"kind": "method",
|
|
9476
|
-
"name": "getGridOptions",
|
|
9477
|
-
"return": {
|
|
9478
|
-
"type": {
|
|
9479
|
-
"text": "GridOptionsConfig"
|
|
9480
|
-
}
|
|
9481
|
-
}
|
|
9490
|
+
"name": "getSchema",
|
|
9491
|
+
"privacy": "private"
|
|
9482
9492
|
},
|
|
9483
9493
|
{
|
|
9484
9494
|
"kind": "field",
|
|
9485
|
-
"name": "
|
|
9495
|
+
"name": "datasourceName",
|
|
9486
9496
|
"type": {
|
|
9487
|
-
"text": "
|
|
9497
|
+
"text": "DatasourceName | null"
|
|
9488
9498
|
},
|
|
9489
|
-
"
|
|
9490
|
-
"name": "DatasourceDataBaseComponent",
|
|
9491
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9492
|
-
}
|
|
9499
|
+
"default": "null"
|
|
9493
9500
|
},
|
|
9494
9501
|
{
|
|
9495
9502
|
"kind": "field",
|
|
9496
|
-
"name": "
|
|
9503
|
+
"name": "datasourceChoices",
|
|
9497
9504
|
"type": {
|
|
9498
|
-
"text": "
|
|
9505
|
+
"text": "DatasourceChoice[] | null"
|
|
9499
9506
|
},
|
|
9500
|
-
"default": "
|
|
9501
|
-
"inheritedFrom": {
|
|
9502
|
-
"name": "DatasourceDataBaseComponent",
|
|
9503
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9504
|
-
}
|
|
9507
|
+
"default": "null"
|
|
9505
9508
|
},
|
|
9506
9509
|
{
|
|
9507
9510
|
"kind": "field",
|
|
9508
|
-
"name": "
|
|
9511
|
+
"name": "groupingByFieldsNames",
|
|
9509
9512
|
"type": {
|
|
9510
|
-
"text": "
|
|
9513
|
+
"text": "string[] | null"
|
|
9511
9514
|
},
|
|
9512
|
-
"default": "
|
|
9513
|
-
"inheritedFrom": {
|
|
9514
|
-
"name": "DatasourceDataBaseComponent",
|
|
9515
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9516
|
-
}
|
|
9515
|
+
"default": "null"
|
|
9517
9516
|
},
|
|
9518
9517
|
{
|
|
9519
9518
|
"kind": "field",
|
|
9520
|
-
"name": "
|
|
9521
|
-
"
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
}
|
|
9519
|
+
"name": "canRemove",
|
|
9520
|
+
"type": {
|
|
9521
|
+
"text": "boolean"
|
|
9522
|
+
},
|
|
9523
|
+
"default": "false"
|
|
9526
9524
|
},
|
|
9527
9525
|
{
|
|
9528
9526
|
"kind": "field",
|
|
9529
|
-
"name": "
|
|
9527
|
+
"name": "position",
|
|
9530
9528
|
"type": {
|
|
9531
|
-
"text": "
|
|
9529
|
+
"text": "'below' | 'above'"
|
|
9532
9530
|
},
|
|
9533
|
-
"
|
|
9534
|
-
"default": "[]",
|
|
9535
|
-
"inheritedFrom": {
|
|
9536
|
-
"name": "DatasourceDataBaseComponent",
|
|
9537
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9538
|
-
}
|
|
9531
|
+
"default": "'below'"
|
|
9539
9532
|
},
|
|
9540
9533
|
{
|
|
9541
9534
|
"kind": "field",
|
|
9542
|
-
"name": "
|
|
9535
|
+
"name": "error",
|
|
9543
9536
|
"type": {
|
|
9544
|
-
"text": "
|
|
9537
|
+
"text": "'none' | 'invalid-datasource' | 'unknown'"
|
|
9545
9538
|
},
|
|
9546
|
-
"
|
|
9547
|
-
"name": "DatasourceDataBaseComponent",
|
|
9548
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9549
|
-
}
|
|
9539
|
+
"default": "'none'"
|
|
9550
9540
|
},
|
|
9551
9541
|
{
|
|
9552
9542
|
"kind": "method",
|
|
9553
|
-
"name": "
|
|
9554
|
-
"inheritedFrom": {
|
|
9555
|
-
"name": "DatasourceDataBaseComponent",
|
|
9556
|
-
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9557
|
-
}
|
|
9543
|
+
"name": "deleteDatasourceHandler"
|
|
9558
9544
|
},
|
|
9559
9545
|
{
|
|
9560
9546
|
"kind": "method",
|
|
9561
|
-
"name": "
|
|
9562
|
-
"
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9547
|
+
"name": "updateKeyHandler",
|
|
9548
|
+
"parameters": [
|
|
9549
|
+
{
|
|
9550
|
+
"name": "newName",
|
|
9551
|
+
"type": {
|
|
9552
|
+
"text": "string"
|
|
9553
|
+
}
|
|
9554
|
+
},
|
|
9555
|
+
{
|
|
9556
|
+
"name": "event",
|
|
9557
|
+
"optional": true,
|
|
9558
|
+
"type": {
|
|
9559
|
+
"text": "Event"
|
|
9560
|
+
}
|
|
9561
|
+
}
|
|
9562
|
+
]
|
|
9568
9563
|
},
|
|
9569
9564
|
{
|
|
9570
9565
|
"kind": "method",
|
|
9571
|
-
"name": "
|
|
9572
|
-
"privacy": "protected",
|
|
9566
|
+
"name": "updateOutputTypeHandler",
|
|
9573
9567
|
"parameters": [
|
|
9574
9568
|
{
|
|
9575
|
-
"name": "
|
|
9569
|
+
"name": "newType",
|
|
9576
9570
|
"type": {
|
|
9577
|
-
"text": "
|
|
9571
|
+
"text": "DatasourceOutputTypes"
|
|
9578
9572
|
}
|
|
9579
|
-
}
|
|
9573
|
+
}
|
|
9574
|
+
]
|
|
9575
|
+
},
|
|
9576
|
+
{
|
|
9577
|
+
"kind": "method",
|
|
9578
|
+
"name": "updateGroupingStrategyHandler",
|
|
9579
|
+
"parameters": [
|
|
9580
9580
|
{
|
|
9581
|
-
"name": "
|
|
9581
|
+
"name": "value",
|
|
9582
|
+
"type": {
|
|
9583
|
+
"text": "DatasourceGroupingStrategy"
|
|
9584
|
+
}
|
|
9585
|
+
}
|
|
9586
|
+
]
|
|
9587
|
+
},
|
|
9588
|
+
{
|
|
9589
|
+
"kind": "method",
|
|
9590
|
+
"name": "updateGroupingByHandler",
|
|
9591
|
+
"parameters": [
|
|
9592
|
+
{
|
|
9593
|
+
"name": "value",
|
|
9582
9594
|
"type": {
|
|
9583
9595
|
"text": "string"
|
|
9584
9596
|
}
|
|
9585
9597
|
}
|
|
9586
|
-
]
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9598
|
+
]
|
|
9599
|
+
},
|
|
9600
|
+
{
|
|
9601
|
+
"kind": "method",
|
|
9602
|
+
"name": "updateDatasourceSourceHandler",
|
|
9603
|
+
"parameters": [
|
|
9604
|
+
{
|
|
9605
|
+
"name": "selectedOption",
|
|
9606
|
+
"type": {
|
|
9607
|
+
"text": "Combobox"
|
|
9608
|
+
}
|
|
9609
|
+
}
|
|
9610
|
+
]
|
|
9611
|
+
}
|
|
9612
|
+
],
|
|
9613
|
+
"attributes": [
|
|
9614
|
+
{
|
|
9615
|
+
"name": "can-remove",
|
|
9616
|
+
"type": {
|
|
9617
|
+
"text": "boolean"
|
|
9618
|
+
},
|
|
9619
|
+
"default": "false",
|
|
9620
|
+
"fieldName": "canRemove"
|
|
9621
|
+
},
|
|
9622
|
+
{
|
|
9623
|
+
"name": "position",
|
|
9624
|
+
"type": {
|
|
9625
|
+
"text": "'below' | 'above'"
|
|
9626
|
+
},
|
|
9627
|
+
"default": "'below'",
|
|
9628
|
+
"fieldName": "position"
|
|
9629
|
+
},
|
|
9630
|
+
{
|
|
9631
|
+
"name": "error",
|
|
9632
|
+
"type": {
|
|
9633
|
+
"text": "'none' | 'invalid-datasource' | 'unknown'"
|
|
9634
|
+
},
|
|
9635
|
+
"default": "'none'",
|
|
9636
|
+
"fieldName": "error"
|
|
9592
9637
|
}
|
|
9593
9638
|
],
|
|
9594
9639
|
"superclass": {
|
|
9595
|
-
"name": "
|
|
9596
|
-
"
|
|
9640
|
+
"name": "GenesisElement",
|
|
9641
|
+
"package": "@genesislcap/web-core"
|
|
9597
9642
|
},
|
|
9598
|
-
"tagName": "
|
|
9643
|
+
"tagName": "datasource-config-item",
|
|
9599
9644
|
"customElement": true
|
|
9600
9645
|
}
|
|
9601
9646
|
],
|
|
9602
9647
|
"exports": [
|
|
9603
9648
|
{
|
|
9604
9649
|
"kind": "js",
|
|
9605
|
-
"name": "
|
|
9650
|
+
"name": "DatasourceConfigItem",
|
|
9606
9651
|
"declaration": {
|
|
9607
|
-
"name": "
|
|
9608
|
-
"module": "src/new/main/edit-config/
|
|
9652
|
+
"name": "DatasourceConfigItem",
|
|
9653
|
+
"module": "src/new/main/edit-config/datasource-config/datasource-config-item.ts"
|
|
9609
9654
|
}
|
|
9610
9655
|
},
|
|
9611
9656
|
{
|
|
9612
9657
|
"kind": "custom-element-definition",
|
|
9613
|
-
"name": "
|
|
9658
|
+
"name": "datasource-config-item",
|
|
9614
9659
|
"declaration": {
|
|
9615
|
-
"name": "
|
|
9616
|
-
"module": "src/new/main/edit-config/
|
|
9660
|
+
"name": "DatasourceConfigItem",
|
|
9661
|
+
"module": "src/new/main/edit-config/datasource-config/datasource-config-item.ts"
|
|
9617
9662
|
}
|
|
9618
9663
|
}
|
|
9619
9664
|
]
|
|
9620
9665
|
},
|
|
9621
9666
|
{
|
|
9622
9667
|
"kind": "javascript-module",
|
|
9623
|
-
"path": "src/new/main/edit-config/
|
|
9668
|
+
"path": "src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts",
|
|
9624
9669
|
"declarations": [
|
|
9625
9670
|
{
|
|
9626
9671
|
"kind": "function",
|
|
9627
|
-
"name": "
|
|
9628
|
-
"return": {
|
|
9629
|
-
"type": {
|
|
9630
|
-
"text": "fieldType is NumericFieldTypes"
|
|
9631
|
-
}
|
|
9632
|
-
},
|
|
9672
|
+
"name": "createNewDatasourceConfig",
|
|
9633
9673
|
"parameters": [
|
|
9634
9674
|
{
|
|
9635
|
-
"name": "
|
|
9675
|
+
"name": "getSchema",
|
|
9636
9676
|
"type": {
|
|
9637
|
-
"text": "
|
|
9677
|
+
"text": "GetGenesisSchema"
|
|
9638
9678
|
}
|
|
9639
9679
|
}
|
|
9640
9680
|
]
|
|
9641
9681
|
},
|
|
9642
9682
|
{
|
|
9643
|
-
"kind": "
|
|
9644
|
-
"name": "
|
|
9645
|
-
"
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
"type": {
|
|
9654
|
-
"text": "object"
|
|
9655
|
-
},
|
|
9656
|
-
"default": "{\n year: {\n [DateYearFormats.Full]: 'yyyy',\n [DateYearFormats.Digit]: 'yy',\n },\n month: {\n [DateMonthFormats.Numeric]: 'M',\n [DateMonthFormats.Digit]: 'MM',\n [DateMonthFormats.Long]: 'MMMM',\n [DateMonthFormats.Short]: 'MMM',\n },\n day: {\n [DateStandardFormats.Numeric]: 'd',\n [DateStandardFormats.Digit]: 'dd',\n },\n hour: {\n [DateTimeFormats.Show]: 'HH',\n [`${DateTimeFormats.Show}_12`]: 'hh',\n },\n minute: {\n [DateTimeFormats.Show]: 'mm',\n },\n second: {\n [DateTimeFormats.Show]: 'ss',\n },\n}"
|
|
9657
|
-
},
|
|
9658
|
-
{
|
|
9659
|
-
"kind": "variable",
|
|
9660
|
-
"name": "numericFormatsWithLabels",
|
|
9661
|
-
"type": {
|
|
9662
|
-
"text": "array"
|
|
9663
|
-
},
|
|
9664
|
-
"default": "[\n {\n value: NumericFormats.Unformatted,\n label: `${NumericFormats.Unformatted}`,\n },\n {\n value: NumericFormats.Financial,\n label: `${NumericFormats.Financial} (1,000.12)`,\n },\n {\n value: NumericFormats.Percent,\n label: `${NumericFormats.Percent} (10.12%)`,\n },\n {\n value: NumericFormats.SimpleDecimal,\n label: `${NumericFormats.SimpleDecimal} (123.45)`,\n },\n {\n value: NumericFormats.Currency,\n label: `${NumericFormats.Currency} (£1,000.12)`,\n },\n {\n value: NumericFormats.CurrencyRounded,\n label: `${NumericFormats.CurrencyRounded} (£1,000)`,\n },\n]"
|
|
9683
|
+
"kind": "function",
|
|
9684
|
+
"name": "findFirstValidDatasource",
|
|
9685
|
+
"parameters": [
|
|
9686
|
+
{
|
|
9687
|
+
"name": "getSchema",
|
|
9688
|
+
"type": {
|
|
9689
|
+
"text": "GetGenesisSchema"
|
|
9690
|
+
}
|
|
9691
|
+
}
|
|
9692
|
+
]
|
|
9665
9693
|
},
|
|
9666
9694
|
{
|
|
9667
|
-
"kind": "
|
|
9668
|
-
"name": "
|
|
9669
|
-
"
|
|
9670
|
-
"
|
|
9695
|
+
"kind": "function",
|
|
9696
|
+
"name": "getDatasources",
|
|
9697
|
+
"return": {
|
|
9698
|
+
"type": {
|
|
9699
|
+
"text": "Promise<DatasourceChoice[]>"
|
|
9700
|
+
}
|
|
9671
9701
|
},
|
|
9672
|
-
"
|
|
9702
|
+
"parameters": [
|
|
9703
|
+
{
|
|
9704
|
+
"name": "connect",
|
|
9705
|
+
"type": {
|
|
9706
|
+
"text": "Connect"
|
|
9707
|
+
}
|
|
9708
|
+
}
|
|
9709
|
+
]
|
|
9673
9710
|
}
|
|
9674
9711
|
],
|
|
9675
9712
|
"exports": [
|
|
9676
9713
|
{
|
|
9677
9714
|
"kind": "js",
|
|
9678
|
-
"name": "
|
|
9715
|
+
"name": "createNewDatasourceConfig",
|
|
9679
9716
|
"declaration": {
|
|
9680
|
-
"name": "
|
|
9681
|
-
"module": "src/new/main/edit-config/
|
|
9717
|
+
"name": "createNewDatasourceConfig",
|
|
9718
|
+
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts"
|
|
9682
9719
|
}
|
|
9683
9720
|
},
|
|
9684
9721
|
{
|
|
9685
9722
|
"kind": "js",
|
|
9686
|
-
"name": "
|
|
9723
|
+
"name": "findFirstValidDatasource",
|
|
9687
9724
|
"declaration": {
|
|
9688
|
-
"name": "
|
|
9689
|
-
"module": "src/new/main/edit-config/
|
|
9725
|
+
"name": "findFirstValidDatasource",
|
|
9726
|
+
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts"
|
|
9690
9727
|
}
|
|
9691
9728
|
},
|
|
9692
9729
|
{
|
|
9693
9730
|
"kind": "js",
|
|
9694
|
-
"name": "
|
|
9731
|
+
"name": "getDatasources",
|
|
9695
9732
|
"declaration": {
|
|
9696
|
-
"name": "
|
|
9697
|
-
"module": "src/new/main/edit-config/
|
|
9733
|
+
"name": "getDatasources",
|
|
9734
|
+
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts"
|
|
9698
9735
|
}
|
|
9699
|
-
}
|
|
9736
|
+
}
|
|
9737
|
+
]
|
|
9738
|
+
},
|
|
9739
|
+
{
|
|
9740
|
+
"kind": "javascript-module",
|
|
9741
|
+
"path": "src/new/main/edit-config/datasource-config/datasources-config-container.template.ts",
|
|
9742
|
+
"declarations": [
|
|
9700
9743
|
{
|
|
9701
|
-
"kind": "
|
|
9702
|
-
"name": "
|
|
9703
|
-
"
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
},
|
|
9744
|
+
"kind": "variable",
|
|
9745
|
+
"name": "template",
|
|
9746
|
+
"default": "html<DatasourcesConfigContainer>`\n <template>\n ${whenElse(\n (x) => !x.datasourceChoices,\n html`\n Unable to load datasources\n `,\n container,\n )}\n </template>\n`"
|
|
9747
|
+
}
|
|
9748
|
+
],
|
|
9749
|
+
"exports": [
|
|
9708
9750
|
{
|
|
9709
9751
|
"kind": "js",
|
|
9710
|
-
"name": "
|
|
9752
|
+
"name": "template",
|
|
9711
9753
|
"declaration": {
|
|
9712
|
-
"name": "
|
|
9713
|
-
"module": "src/new/main/edit-config/
|
|
9754
|
+
"name": "template",
|
|
9755
|
+
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.template.ts"
|
|
9714
9756
|
}
|
|
9715
9757
|
}
|
|
9716
9758
|
]
|
|
9717
9759
|
},
|
|
9718
9760
|
{
|
|
9719
9761
|
"kind": "javascript-module",
|
|
9720
|
-
"path": "src/new/main/edit-config/
|
|
9762
|
+
"path": "src/new/main/edit-config/datasource-config/datasources-config-container.ts",
|
|
9721
9763
|
"declarations": [
|
|
9722
9764
|
{
|
|
9723
9765
|
"kind": "class",
|
|
9724
9766
|
"description": "",
|
|
9725
|
-
"name": "
|
|
9767
|
+
"name": "DatasourcesConfigContainer",
|
|
9726
9768
|
"members": [
|
|
9727
9769
|
{
|
|
9728
9770
|
"kind": "field",
|
|
9729
|
-
"name": "
|
|
9771
|
+
"name": "connect",
|
|
9730
9772
|
"type": {
|
|
9731
|
-
"text": "
|
|
9732
|
-
}
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9773
|
+
"text": "Connect"
|
|
9774
|
+
}
|
|
9775
|
+
},
|
|
9776
|
+
{
|
|
9777
|
+
"kind": "field",
|
|
9778
|
+
"name": "getSchema",
|
|
9779
|
+
"privacy": "private"
|
|
9780
|
+
},
|
|
9737
9781
|
{
|
|
9782
|
+
"kind": "field",
|
|
9783
|
+
"name": "initDatasource",
|
|
9784
|
+
"privacy": "private"
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
"kind": "field",
|
|
9788
|
+
"name": "datasourceChoices",
|
|
9738
9789
|
"type": {
|
|
9739
|
-
"text": "
|
|
9790
|
+
"text": "DatasourceChoice[] | null"
|
|
9740
9791
|
},
|
|
9741
|
-
"default": "
|
|
9742
|
-
|
|
9792
|
+
"default": "null"
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"kind": "method",
|
|
9796
|
+
"name": "createNewDatasourceConfig",
|
|
9797
|
+
"return": {
|
|
9798
|
+
"type": {
|
|
9799
|
+
"text": "Promise<void>"
|
|
9800
|
+
}
|
|
9801
|
+
}
|
|
9802
|
+
},
|
|
9803
|
+
{
|
|
9804
|
+
"kind": "method",
|
|
9805
|
+
"name": "getDatasources",
|
|
9806
|
+
"privacy": "private",
|
|
9807
|
+
"return": {
|
|
9808
|
+
"type": {
|
|
9809
|
+
"text": "Promise<void>"
|
|
9810
|
+
}
|
|
9811
|
+
},
|
|
9812
|
+
"description": "Fetch a list of datasources"
|
|
9743
9813
|
}
|
|
9744
9814
|
],
|
|
9745
9815
|
"superclass": {
|
|
9746
9816
|
"name": "GenesisElement",
|
|
9747
9817
|
"package": "@genesislcap/web-core"
|
|
9748
9818
|
},
|
|
9749
|
-
"tagName": "
|
|
9819
|
+
"tagName": "datasource-config-container",
|
|
9750
9820
|
"customElement": true
|
|
9751
9821
|
}
|
|
9752
9822
|
],
|
|
9753
9823
|
"exports": [
|
|
9754
9824
|
{
|
|
9755
9825
|
"kind": "js",
|
|
9756
|
-
"name": "
|
|
9826
|
+
"name": "DatasourcesConfigContainer",
|
|
9757
9827
|
"declaration": {
|
|
9758
|
-
"name": "
|
|
9759
|
-
"module": "src/new/main/edit-config/
|
|
9828
|
+
"name": "DatasourcesConfigContainer",
|
|
9829
|
+
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.ts"
|
|
9760
9830
|
}
|
|
9761
9831
|
},
|
|
9762
9832
|
{
|
|
9763
9833
|
"kind": "custom-element-definition",
|
|
9764
|
-
"name": "
|
|
9834
|
+
"name": "datasource-config-container",
|
|
9765
9835
|
"declaration": {
|
|
9766
|
-
"name": "
|
|
9767
|
-
"module": "src/new/main/edit-config/
|
|
9836
|
+
"name": "DatasourcesConfigContainer",
|
|
9837
|
+
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.ts"
|
|
9768
9838
|
}
|
|
9769
9839
|
}
|
|
9770
9840
|
]
|
|
9771
9841
|
},
|
|
9772
9842
|
{
|
|
9773
9843
|
"kind": "javascript-module",
|
|
9774
|
-
"path": "src/new/main/edit-config/datasource-config/
|
|
9844
|
+
"path": "src/new/main/edit-config/datasource-config/types.ts",
|
|
9845
|
+
"declarations": [],
|
|
9846
|
+
"exports": []
|
|
9847
|
+
},
|
|
9848
|
+
{
|
|
9849
|
+
"kind": "javascript-module",
|
|
9850
|
+
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.ts",
|
|
9775
9851
|
"declarations": [
|
|
9776
9852
|
{
|
|
9777
|
-
"kind": "
|
|
9778
|
-
"name": "
|
|
9779
|
-
"
|
|
9853
|
+
"kind": "function",
|
|
9854
|
+
"name": "lookupColumnRename",
|
|
9855
|
+
"return": {
|
|
9856
|
+
"type": {
|
|
9857
|
+
"text": "ColumnRenameAliasRowData"
|
|
9858
|
+
}
|
|
9859
|
+
},
|
|
9860
|
+
"parameters": [
|
|
9861
|
+
{
|
|
9862
|
+
"name": "data",
|
|
9863
|
+
"type": {
|
|
9864
|
+
"text": "ColumnRenameAliasRowData"
|
|
9865
|
+
}
|
|
9866
|
+
}
|
|
9867
|
+
],
|
|
9868
|
+
"description": "Adds display name info from store to the row data"
|
|
9869
|
+
},
|
|
9870
|
+
{
|
|
9871
|
+
"kind": "function",
|
|
9872
|
+
"name": "buildRenameCellStyle",
|
|
9873
|
+
"parameters": [
|
|
9874
|
+
{
|
|
9875
|
+
"name": "rowDeselectedStyle",
|
|
9876
|
+
"type": {
|
|
9877
|
+
"text": "CellStyle"
|
|
9878
|
+
}
|
|
9879
|
+
},
|
|
9880
|
+
{
|
|
9881
|
+
"name": "rowSelectedStyle",
|
|
9882
|
+
"default": "{}",
|
|
9883
|
+
"type": {
|
|
9884
|
+
"text": "CellStyle"
|
|
9885
|
+
}
|
|
9886
|
+
}
|
|
9887
|
+
],
|
|
9888
|
+
"description": "Factory for creating cell styles based on filter status for rename grid cells"
|
|
9889
|
+
},
|
|
9890
|
+
{
|
|
9891
|
+
"kind": "function",
|
|
9892
|
+
"name": "displayNameOnChangeHandler",
|
|
9893
|
+
"parameters": [
|
|
9894
|
+
{
|
|
9895
|
+
"name": "callback",
|
|
9896
|
+
"type": {
|
|
9897
|
+
"text": "() => any"
|
|
9898
|
+
}
|
|
9899
|
+
}
|
|
9900
|
+
],
|
|
9901
|
+
"description": "Handler for display name changes in the grid"
|
|
9902
|
+
},
|
|
9903
|
+
{
|
|
9904
|
+
"kind": "function",
|
|
9905
|
+
"name": "renameRowSelectionChangedHandler",
|
|
9906
|
+
"return": {
|
|
9907
|
+
"type": {
|
|
9908
|
+
"text": "void"
|
|
9909
|
+
}
|
|
9910
|
+
},
|
|
9911
|
+
"parameters": [
|
|
9912
|
+
{
|
|
9913
|
+
"name": "event",
|
|
9914
|
+
"type": {
|
|
9915
|
+
"text": "RowSelectedEvent<ColumnRenameAliasRowData>"
|
|
9916
|
+
}
|
|
9917
|
+
}
|
|
9918
|
+
],
|
|
9919
|
+
"description": "Handler for row selection changes in the grid"
|
|
9780
9920
|
}
|
|
9781
9921
|
],
|
|
9782
9922
|
"exports": [
|
|
9783
9923
|
{
|
|
9784
9924
|
"kind": "js",
|
|
9785
|
-
"name": "
|
|
9925
|
+
"name": "lookupColumnRename",
|
|
9786
9926
|
"declaration": {
|
|
9787
|
-
"name": "
|
|
9788
|
-
"module": "src/new/main/edit-config/
|
|
9927
|
+
"name": "lookupColumnRename",
|
|
9928
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.ts"
|
|
9929
|
+
}
|
|
9930
|
+
},
|
|
9931
|
+
{
|
|
9932
|
+
"kind": "js",
|
|
9933
|
+
"name": "buildRenameCellStyle",
|
|
9934
|
+
"declaration": {
|
|
9935
|
+
"name": "buildRenameCellStyle",
|
|
9936
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.ts"
|
|
9937
|
+
}
|
|
9938
|
+
},
|
|
9939
|
+
{
|
|
9940
|
+
"kind": "js",
|
|
9941
|
+
"name": "displayNameOnChangeHandler",
|
|
9942
|
+
"declaration": {
|
|
9943
|
+
"name": "displayNameOnChangeHandler",
|
|
9944
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.ts"
|
|
9945
|
+
}
|
|
9946
|
+
},
|
|
9947
|
+
{
|
|
9948
|
+
"kind": "js",
|
|
9949
|
+
"name": "renameRowSelectionChangedHandler",
|
|
9950
|
+
"declaration": {
|
|
9951
|
+
"name": "renameRowSelectionChangedHandler",
|
|
9952
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.ts"
|
|
9789
9953
|
}
|
|
9790
9954
|
}
|
|
9791
9955
|
]
|
|
9792
9956
|
},
|
|
9793
9957
|
{
|
|
9794
9958
|
"kind": "javascript-module",
|
|
9795
|
-
"path": "src/new/main/edit-config/
|
|
9959
|
+
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.styles.ts",
|
|
9796
9960
|
"declarations": [
|
|
9797
9961
|
{
|
|
9798
9962
|
"kind": "variable",
|
|
9799
9963
|
"name": "styles",
|
|
9800
|
-
"default": "css`\n
|
|
9964
|
+
"default": "css`\n div.grid-container {\n width: 100%;\n height: calc(var(--constrained-height) - 160px);\n }\n\n div.grid-container.error {\n cursor: not-allowed;\n }\n\n div.error rapid-grid-pro {\n pointer-events: none;\n opacity: 80%;\n }\n\n rapid-grid-pro::part(grid) {\n --base-height-multiplier: 9;\n --ag-selected-row-background-color: transparent !important;\n }\n`"
|
|
9801
9965
|
}
|
|
9802
9966
|
],
|
|
9803
9967
|
"exports": [
|
|
@@ -9806,19 +9970,19 @@
|
|
|
9806
9970
|
"name": "styles",
|
|
9807
9971
|
"declaration": {
|
|
9808
9972
|
"name": "styles",
|
|
9809
|
-
"module": "src/new/main/edit-config/
|
|
9973
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.styles.ts"
|
|
9810
9974
|
}
|
|
9811
9975
|
}
|
|
9812
9976
|
]
|
|
9813
9977
|
},
|
|
9814
9978
|
{
|
|
9815
9979
|
"kind": "javascript-module",
|
|
9816
|
-
"path": "src/new/main/edit-config/
|
|
9980
|
+
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.template.ts",
|
|
9817
9981
|
"declarations": [
|
|
9818
9982
|
{
|
|
9819
9983
|
"kind": "variable",
|
|
9820
9984
|
"name": "template",
|
|
9821
|
-
"default": "html<
|
|
9985
|
+
"default": "html<ColRenamesAliases>`\n <div class=\"grid-container ${(x) => classNames(['error', x.dataError])}\">\n <rapid-grid-pro\n class=\"${(x) => classNames(['error', x.dataError])}\"\n data-test-id=\"datasource-config-col-rename-grid\"\n :gridOptions=${(x) => x.getGridOptions()}\n :rowData=${(x) => x.fieldData}\n grid-autosizing\n ></rapid-grid-pro>\n </div>\n`"
|
|
9822
9986
|
}
|
|
9823
9987
|
],
|
|
9824
9988
|
"exports": [
|
|
@@ -9827,387 +9991,223 @@
|
|
|
9827
9991
|
"name": "template",
|
|
9828
9992
|
"declaration": {
|
|
9829
9993
|
"name": "template",
|
|
9830
|
-
"module": "src/new/main/edit-config/
|
|
9994
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.template.ts"
|
|
9831
9995
|
}
|
|
9832
9996
|
}
|
|
9833
9997
|
]
|
|
9834
9998
|
},
|
|
9835
9999
|
{
|
|
9836
10000
|
"kind": "javascript-module",
|
|
9837
|
-
"path": "src/new/main/edit-config/
|
|
10001
|
+
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.ts",
|
|
9838
10002
|
"declarations": [
|
|
9839
10003
|
{
|
|
9840
10004
|
"kind": "class",
|
|
9841
10005
|
"description": "",
|
|
9842
|
-
"name": "
|
|
10006
|
+
"name": "ColRenamesAliases",
|
|
9843
10007
|
"members": [
|
|
9844
10008
|
{
|
|
9845
|
-
"kind": "
|
|
9846
|
-
"name": "
|
|
9847
|
-
"
|
|
9848
|
-
|
|
10009
|
+
"kind": "method",
|
|
10010
|
+
"name": "updateDataFields",
|
|
10011
|
+
"privacy": "protected",
|
|
10012
|
+
"return": {
|
|
10013
|
+
"type": {
|
|
10014
|
+
"text": "Promise<void>"
|
|
10015
|
+
}
|
|
10016
|
+
},
|
|
10017
|
+
"description": "Override updateGridData to include column rename information",
|
|
10018
|
+
"inheritedFrom": {
|
|
10019
|
+
"name": "DatasourceDataBaseComponent",
|
|
10020
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
9849
10021
|
}
|
|
9850
10022
|
},
|
|
9851
10023
|
{
|
|
9852
|
-
"kind": "
|
|
9853
|
-
"name": "
|
|
9854
|
-
"
|
|
10024
|
+
"kind": "method",
|
|
10025
|
+
"name": "getGridOptions",
|
|
10026
|
+
"return": {
|
|
10027
|
+
"type": {
|
|
10028
|
+
"text": "GridOptionsConfig"
|
|
10029
|
+
}
|
|
10030
|
+
}
|
|
9855
10031
|
},
|
|
9856
10032
|
{
|
|
9857
10033
|
"kind": "field",
|
|
9858
|
-
"name": "
|
|
10034
|
+
"name": "connect",
|
|
9859
10035
|
"type": {
|
|
9860
|
-
"text": "
|
|
10036
|
+
"text": "Connect"
|
|
9861
10037
|
},
|
|
9862
|
-
"
|
|
10038
|
+
"inheritedFrom": {
|
|
10039
|
+
"name": "DatasourceDataBaseComponent",
|
|
10040
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10041
|
+
}
|
|
9863
10042
|
},
|
|
9864
10043
|
{
|
|
9865
10044
|
"kind": "field",
|
|
9866
|
-
"name": "
|
|
10045
|
+
"name": "fieldData",
|
|
9867
10046
|
"type": {
|
|
9868
|
-
"text": "
|
|
10047
|
+
"text": "GridRowData[]"
|
|
9869
10048
|
},
|
|
9870
|
-
"default": "
|
|
10049
|
+
"default": "[]",
|
|
10050
|
+
"inheritedFrom": {
|
|
10051
|
+
"name": "DatasourceDataBaseComponent",
|
|
10052
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10053
|
+
}
|
|
9871
10054
|
},
|
|
9872
10055
|
{
|
|
9873
10056
|
"kind": "field",
|
|
9874
|
-
"name": "
|
|
10057
|
+
"name": "dataError",
|
|
9875
10058
|
"type": {
|
|
9876
|
-
"text": "
|
|
10059
|
+
"text": "boolean"
|
|
9877
10060
|
},
|
|
9878
|
-
"default": "
|
|
10061
|
+
"default": "false",
|
|
10062
|
+
"inheritedFrom": {
|
|
10063
|
+
"name": "DatasourceDataBaseComponent",
|
|
10064
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10065
|
+
}
|
|
9879
10066
|
},
|
|
9880
10067
|
{
|
|
9881
10068
|
"kind": "field",
|
|
9882
|
-
"name": "
|
|
9883
|
-
"
|
|
9884
|
-
|
|
9885
|
-
|
|
9886
|
-
|
|
10069
|
+
"name": "getSchema",
|
|
10070
|
+
"privacy": "protected",
|
|
10071
|
+
"inheritedFrom": {
|
|
10072
|
+
"name": "DatasourceDataBaseComponent",
|
|
10073
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10074
|
+
}
|
|
9887
10075
|
},
|
|
9888
10076
|
{
|
|
9889
10077
|
"kind": "field",
|
|
9890
|
-
"name": "
|
|
10078
|
+
"name": "datasourceSpec",
|
|
9891
10079
|
"type": {
|
|
9892
|
-
"text": "
|
|
10080
|
+
"text": "{ name: string; spec: JSONSchema7 }[]"
|
|
9893
10081
|
},
|
|
9894
|
-
"
|
|
10082
|
+
"privacy": "protected",
|
|
10083
|
+
"default": "[]",
|
|
10084
|
+
"inheritedFrom": {
|
|
10085
|
+
"name": "DatasourceDataBaseComponent",
|
|
10086
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10087
|
+
}
|
|
9895
10088
|
},
|
|
9896
10089
|
{
|
|
9897
10090
|
"kind": "field",
|
|
9898
|
-
"name": "
|
|
10091
|
+
"name": "datasourceName",
|
|
9899
10092
|
"type": {
|
|
9900
|
-
"text": "'
|
|
10093
|
+
"text": "MultiDatasourceHandler['datasourceName']"
|
|
9901
10094
|
},
|
|
9902
|
-
"
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
"name": "deleteDatasourceHandler"
|
|
10095
|
+
"inheritedFrom": {
|
|
10096
|
+
"name": "DatasourceDataBaseComponent",
|
|
10097
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10098
|
+
}
|
|
9907
10099
|
},
|
|
9908
10100
|
{
|
|
9909
10101
|
"kind": "method",
|
|
9910
|
-
"name": "
|
|
9911
|
-
"
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
"text": "string"
|
|
9916
|
-
}
|
|
9917
|
-
},
|
|
9918
|
-
{
|
|
9919
|
-
"name": "event",
|
|
9920
|
-
"optional": true,
|
|
9921
|
-
"type": {
|
|
9922
|
-
"text": "Event"
|
|
9923
|
-
}
|
|
9924
|
-
}
|
|
9925
|
-
]
|
|
10102
|
+
"name": "datasourceNameChanged",
|
|
10103
|
+
"inheritedFrom": {
|
|
10104
|
+
"name": "DatasourceDataBaseComponent",
|
|
10105
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10106
|
+
}
|
|
9926
10107
|
},
|
|
9927
10108
|
{
|
|
9928
10109
|
"kind": "method",
|
|
9929
|
-
"name": "
|
|
9930
|
-
"
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
}
|
|
9937
|
-
]
|
|
10110
|
+
"name": "handleUpdatedDatasources",
|
|
10111
|
+
"privacy": "protected",
|
|
10112
|
+
"description": "Updates the datasource specifications based on the selected datasource key",
|
|
10113
|
+
"inheritedFrom": {
|
|
10114
|
+
"name": "DatasourceDataBaseComponent",
|
|
10115
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10116
|
+
}
|
|
9938
10117
|
},
|
|
9939
10118
|
{
|
|
9940
10119
|
"kind": "method",
|
|
9941
|
-
"name": "
|
|
10120
|
+
"name": "handleError",
|
|
10121
|
+
"privacy": "protected",
|
|
9942
10122
|
"parameters": [
|
|
9943
10123
|
{
|
|
9944
|
-
"name": "
|
|
10124
|
+
"name": "error",
|
|
9945
10125
|
"type": {
|
|
9946
|
-
"text": "
|
|
10126
|
+
"text": "Error"
|
|
9947
10127
|
}
|
|
9948
|
-
}
|
|
9949
|
-
]
|
|
9950
|
-
},
|
|
9951
|
-
{
|
|
9952
|
-
"kind": "method",
|
|
9953
|
-
"name": "updateGroupingByHandler",
|
|
9954
|
-
"parameters": [
|
|
10128
|
+
},
|
|
9955
10129
|
{
|
|
9956
|
-
"name": "
|
|
10130
|
+
"name": "body",
|
|
9957
10131
|
"type": {
|
|
9958
10132
|
"text": "string"
|
|
9959
10133
|
}
|
|
9960
10134
|
}
|
|
9961
|
-
]
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
{
|
|
9968
|
-
"name": "selectedOption",
|
|
9969
|
-
"type": {
|
|
9970
|
-
"text": "Combobox"
|
|
9971
|
-
}
|
|
9972
|
-
}
|
|
9973
|
-
]
|
|
9974
|
-
}
|
|
9975
|
-
],
|
|
9976
|
-
"attributes": [
|
|
9977
|
-
{
|
|
9978
|
-
"name": "can-remove",
|
|
9979
|
-
"type": {
|
|
9980
|
-
"text": "boolean"
|
|
9981
|
-
},
|
|
9982
|
-
"default": "false",
|
|
9983
|
-
"fieldName": "canRemove"
|
|
9984
|
-
},
|
|
9985
|
-
{
|
|
9986
|
-
"name": "position",
|
|
9987
|
-
"type": {
|
|
9988
|
-
"text": "'below' | 'above'"
|
|
9989
|
-
},
|
|
9990
|
-
"default": "'below'",
|
|
9991
|
-
"fieldName": "position"
|
|
9992
|
-
},
|
|
9993
|
-
{
|
|
9994
|
-
"name": "error",
|
|
9995
|
-
"type": {
|
|
9996
|
-
"text": "'none' | 'invalid-datasource' | 'unknown'"
|
|
9997
|
-
},
|
|
9998
|
-
"default": "'none'",
|
|
9999
|
-
"fieldName": "error"
|
|
10135
|
+
],
|
|
10136
|
+
"description": "Common error handler",
|
|
10137
|
+
"inheritedFrom": {
|
|
10138
|
+
"name": "DatasourceDataBaseComponent",
|
|
10139
|
+
"module": "src/new/main/edit-config/shared/datasource-data-base-component.ts"
|
|
10140
|
+
}
|
|
10000
10141
|
}
|
|
10001
10142
|
],
|
|
10002
10143
|
"superclass": {
|
|
10003
|
-
"name": "
|
|
10004
|
-
"
|
|
10144
|
+
"name": "DatasourceDataBaseComponent",
|
|
10145
|
+
"module": "/src/new/main/edit-config/shared"
|
|
10005
10146
|
},
|
|
10006
|
-
"tagName": "
|
|
10147
|
+
"tagName": "col-rename-alias",
|
|
10007
10148
|
"customElement": true
|
|
10008
10149
|
}
|
|
10009
|
-
],
|
|
10010
|
-
"exports": [
|
|
10011
|
-
{
|
|
10012
|
-
"kind": "js",
|
|
10013
|
-
"name": "DatasourceConfigItem",
|
|
10014
|
-
"declaration": {
|
|
10015
|
-
"name": "DatasourceConfigItem",
|
|
10016
|
-
"module": "src/new/main/edit-config/datasource-config/datasource-config-item.ts"
|
|
10017
|
-
}
|
|
10018
|
-
},
|
|
10019
|
-
{
|
|
10020
|
-
"kind": "custom-element-definition",
|
|
10021
|
-
"name": "datasource-config-item",
|
|
10022
|
-
"declaration": {
|
|
10023
|
-
"name": "DatasourceConfigItem",
|
|
10024
|
-
"module": "src/new/main/edit-config/datasource-config/datasource-config-item.ts"
|
|
10025
|
-
}
|
|
10026
|
-
}
|
|
10027
|
-
]
|
|
10028
|
-
},
|
|
10029
|
-
{
|
|
10030
|
-
"kind": "javascript-module",
|
|
10031
|
-
"path": "src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts",
|
|
10032
|
-
"declarations": [
|
|
10033
|
-
{
|
|
10034
|
-
"kind": "function",
|
|
10035
|
-
"name": "createNewDatasourceConfig",
|
|
10036
|
-
"parameters": [
|
|
10037
|
-
{
|
|
10038
|
-
"name": "getSchema",
|
|
10039
|
-
"type": {
|
|
10040
|
-
"text": "GetGenesisSchema"
|
|
10041
|
-
}
|
|
10042
|
-
}
|
|
10043
|
-
]
|
|
10044
|
-
},
|
|
10045
|
-
{
|
|
10046
|
-
"kind": "function",
|
|
10047
|
-
"name": "findFirstValidDatasource",
|
|
10048
|
-
"parameters": [
|
|
10049
|
-
{
|
|
10050
|
-
"name": "getSchema",
|
|
10051
|
-
"type": {
|
|
10052
|
-
"text": "GetGenesisSchema"
|
|
10053
|
-
}
|
|
10054
|
-
}
|
|
10055
|
-
]
|
|
10056
|
-
},
|
|
10057
|
-
{
|
|
10058
|
-
"kind": "function",
|
|
10059
|
-
"name": "getDatasources",
|
|
10060
|
-
"return": {
|
|
10061
|
-
"type": {
|
|
10062
|
-
"text": "Promise<DatasourceChoice[]>"
|
|
10063
|
-
}
|
|
10064
|
-
},
|
|
10065
|
-
"parameters": [
|
|
10066
|
-
{
|
|
10067
|
-
"name": "connect",
|
|
10068
|
-
"type": {
|
|
10069
|
-
"text": "Connect"
|
|
10070
|
-
}
|
|
10071
|
-
}
|
|
10072
|
-
]
|
|
10073
|
-
}
|
|
10074
|
-
],
|
|
10075
|
-
"exports": [
|
|
10076
|
-
{
|
|
10077
|
-
"kind": "js",
|
|
10078
|
-
"name": "createNewDatasourceConfig",
|
|
10079
|
-
"declaration": {
|
|
10080
|
-
"name": "createNewDatasourceConfig",
|
|
10081
|
-
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts"
|
|
10082
|
-
}
|
|
10083
|
-
},
|
|
10150
|
+
],
|
|
10151
|
+
"exports": [
|
|
10084
10152
|
{
|
|
10085
10153
|
"kind": "js",
|
|
10086
|
-
"name": "
|
|
10154
|
+
"name": "ColRenamesAliases",
|
|
10087
10155
|
"declaration": {
|
|
10088
|
-
"name": "
|
|
10089
|
-
"module": "src/new/main/edit-config/
|
|
10156
|
+
"name": "ColRenamesAliases",
|
|
10157
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.ts"
|
|
10090
10158
|
}
|
|
10091
10159
|
},
|
|
10092
10160
|
{
|
|
10093
|
-
"kind": "
|
|
10094
|
-
"name": "
|
|
10161
|
+
"kind": "custom-element-definition",
|
|
10162
|
+
"name": "col-rename-alias",
|
|
10095
10163
|
"declaration": {
|
|
10096
|
-
"name": "
|
|
10097
|
-
"module": "src/new/main/edit-config/
|
|
10164
|
+
"name": "ColRenamesAliases",
|
|
10165
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.ts"
|
|
10098
10166
|
}
|
|
10099
10167
|
}
|
|
10100
10168
|
]
|
|
10101
10169
|
},
|
|
10102
10170
|
{
|
|
10103
10171
|
"kind": "javascript-module",
|
|
10104
|
-
"path": "src/new/main/edit-config/
|
|
10105
|
-
"declarations": [
|
|
10106
|
-
|
|
10107
|
-
"kind": "variable",
|
|
10108
|
-
"name": "template",
|
|
10109
|
-
"default": "html<DatasourcesConfigContainer>`\n <template>\n ${whenElse(\n (x) => !x.datasourceChoices,\n html`\n Unable to load datasources\n `,\n container,\n )}\n </template>\n`"
|
|
10110
|
-
}
|
|
10111
|
-
],
|
|
10112
|
-
"exports": [
|
|
10113
|
-
{
|
|
10114
|
-
"kind": "js",
|
|
10115
|
-
"name": "template",
|
|
10116
|
-
"declaration": {
|
|
10117
|
-
"name": "template",
|
|
10118
|
-
"module": "src/new/main/edit-config/datasource-config/datasources-config-container.template.ts"
|
|
10119
|
-
}
|
|
10120
|
-
}
|
|
10121
|
-
]
|
|
10172
|
+
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.types.ts",
|
|
10173
|
+
"declarations": [],
|
|
10174
|
+
"exports": []
|
|
10122
10175
|
},
|
|
10123
10176
|
{
|
|
10124
10177
|
"kind": "javascript-module",
|
|
10125
|
-
"path": "src/new/main/edit-config/
|
|
10178
|
+
"path": "src/new/main/edit-config/col-rename-alias/col-rename-alias-tutorial.ts",
|
|
10126
10179
|
"declarations": [
|
|
10127
10180
|
{
|
|
10128
10181
|
"kind": "class",
|
|
10129
10182
|
"description": "",
|
|
10130
|
-
"name": "
|
|
10131
|
-
"members": [
|
|
10132
|
-
{
|
|
10133
|
-
"kind": "field",
|
|
10134
|
-
"name": "connect",
|
|
10135
|
-
"type": {
|
|
10136
|
-
"text": "Connect"
|
|
10137
|
-
}
|
|
10138
|
-
},
|
|
10139
|
-
{
|
|
10140
|
-
"kind": "field",
|
|
10141
|
-
"name": "getSchema",
|
|
10142
|
-
"privacy": "private"
|
|
10143
|
-
},
|
|
10144
|
-
{
|
|
10145
|
-
"kind": "field",
|
|
10146
|
-
"name": "initDatasource",
|
|
10147
|
-
"privacy": "private"
|
|
10148
|
-
},
|
|
10149
|
-
{
|
|
10150
|
-
"kind": "field",
|
|
10151
|
-
"name": "datasourceChoices",
|
|
10152
|
-
"type": {
|
|
10153
|
-
"text": "DatasourceChoice[] | null"
|
|
10154
|
-
},
|
|
10155
|
-
"default": "null"
|
|
10156
|
-
},
|
|
10157
|
-
{
|
|
10158
|
-
"kind": "method",
|
|
10159
|
-
"name": "createNewDatasourceConfig",
|
|
10160
|
-
"return": {
|
|
10161
|
-
"type": {
|
|
10162
|
-
"text": "Promise<void>"
|
|
10163
|
-
}
|
|
10164
|
-
}
|
|
10165
|
-
},
|
|
10166
|
-
{
|
|
10167
|
-
"kind": "method",
|
|
10168
|
-
"name": "getDatasources",
|
|
10169
|
-
"privacy": "private",
|
|
10170
|
-
"return": {
|
|
10171
|
-
"type": {
|
|
10172
|
-
"text": "Promise<void>"
|
|
10173
|
-
}
|
|
10174
|
-
},
|
|
10175
|
-
"description": "Fetch a list of datasources"
|
|
10176
|
-
}
|
|
10177
|
-
],
|
|
10183
|
+
"name": "ColRenamesAliasesTutorial",
|
|
10178
10184
|
"superclass": {
|
|
10179
10185
|
"name": "GenesisElement",
|
|
10180
10186
|
"package": "@genesislcap/web-core"
|
|
10181
10187
|
},
|
|
10182
|
-
"tagName": "
|
|
10188
|
+
"tagName": "col-renames-aliases-tutorial",
|
|
10183
10189
|
"customElement": true
|
|
10184
10190
|
}
|
|
10185
10191
|
],
|
|
10186
10192
|
"exports": [
|
|
10187
10193
|
{
|
|
10188
10194
|
"kind": "js",
|
|
10189
|
-
"name": "
|
|
10195
|
+
"name": "ColRenamesAliasesTutorial",
|
|
10190
10196
|
"declaration": {
|
|
10191
|
-
"name": "
|
|
10192
|
-
"module": "src/new/main/edit-config/
|
|
10197
|
+
"name": "ColRenamesAliasesTutorial",
|
|
10198
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-tutorial.ts"
|
|
10193
10199
|
}
|
|
10194
10200
|
},
|
|
10195
10201
|
{
|
|
10196
10202
|
"kind": "custom-element-definition",
|
|
10197
|
-
"name": "
|
|
10203
|
+
"name": "col-renames-aliases-tutorial",
|
|
10198
10204
|
"declaration": {
|
|
10199
|
-
"name": "
|
|
10200
|
-
"module": "src/new/main/edit-config/
|
|
10205
|
+
"name": "ColRenamesAliasesTutorial",
|
|
10206
|
+
"module": "src/new/main/edit-config/col-rename-alias/col-rename-alias-tutorial.ts"
|
|
10201
10207
|
}
|
|
10202
10208
|
}
|
|
10203
10209
|
]
|
|
10204
10210
|
},
|
|
10205
|
-
{
|
|
10206
|
-
"kind": "javascript-module",
|
|
10207
|
-
"path": "src/new/main/edit-config/datasource-config/types.ts",
|
|
10208
|
-
"declarations": [],
|
|
10209
|
-
"exports": []
|
|
10210
|
-
},
|
|
10211
10211
|
{
|
|
10212
10212
|
"kind": "javascript-module",
|
|
10213
10213
|
"path": "src/new/main/edit-config/outputs-config/outputs-config.style.ts",
|
|
@@ -10816,49 +10816,232 @@
|
|
|
10816
10816
|
},
|
|
10817
10817
|
{
|
|
10818
10818
|
"kind": "field",
|
|
10819
|
-
"name": "enableSchedules",
|
|
10819
|
+
"name": "enableSchedules",
|
|
10820
|
+
"type": {
|
|
10821
|
+
"text": "boolean"
|
|
10822
|
+
},
|
|
10823
|
+
"readonly": true
|
|
10824
|
+
},
|
|
10825
|
+
{
|
|
10826
|
+
"kind": "method",
|
|
10827
|
+
"name": "getTimeZones",
|
|
10828
|
+
"return": {
|
|
10829
|
+
"type": {
|
|
10830
|
+
"text": "Promise<void>"
|
|
10831
|
+
}
|
|
10832
|
+
}
|
|
10833
|
+
},
|
|
10834
|
+
{
|
|
10835
|
+
"kind": "method",
|
|
10836
|
+
"name": "toggleSchedule"
|
|
10837
|
+
}
|
|
10838
|
+
],
|
|
10839
|
+
"superclass": {
|
|
10840
|
+
"name": "GenesisElement",
|
|
10841
|
+
"package": "@genesislcap/web-core"
|
|
10842
|
+
},
|
|
10843
|
+
"tagName": "scheduling-config",
|
|
10844
|
+
"customElement": true
|
|
10845
|
+
}
|
|
10846
|
+
],
|
|
10847
|
+
"exports": [
|
|
10848
|
+
{
|
|
10849
|
+
"kind": "js",
|
|
10850
|
+
"name": "Scheduling",
|
|
10851
|
+
"declaration": {
|
|
10852
|
+
"name": "Scheduling",
|
|
10853
|
+
"module": "src/new/main/edit-config/scheduling/scheduling.ts"
|
|
10854
|
+
}
|
|
10855
|
+
},
|
|
10856
|
+
{
|
|
10857
|
+
"kind": "custom-element-definition",
|
|
10858
|
+
"name": "scheduling-config",
|
|
10859
|
+
"declaration": {
|
|
10860
|
+
"name": "Scheduling",
|
|
10861
|
+
"module": "src/new/main/edit-config/scheduling/scheduling.ts"
|
|
10862
|
+
}
|
|
10863
|
+
}
|
|
10864
|
+
]
|
|
10865
|
+
},
|
|
10866
|
+
{
|
|
10867
|
+
"kind": "javascript-module",
|
|
10868
|
+
"path": "src/new/main/edit-config/tabbed-datasource-container/index.ts",
|
|
10869
|
+
"declarations": [],
|
|
10870
|
+
"exports": [
|
|
10871
|
+
{
|
|
10872
|
+
"kind": "js",
|
|
10873
|
+
"name": "*",
|
|
10874
|
+
"declaration": {
|
|
10875
|
+
"name": "*",
|
|
10876
|
+
"package": "./tabbed-datasource-container"
|
|
10877
|
+
}
|
|
10878
|
+
},
|
|
10879
|
+
{
|
|
10880
|
+
"kind": "js",
|
|
10881
|
+
"name": "*",
|
|
10882
|
+
"declaration": {
|
|
10883
|
+
"name": "*",
|
|
10884
|
+
"package": "./tabbed-datasource-container.types"
|
|
10885
|
+
}
|
|
10886
|
+
}
|
|
10887
|
+
]
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
"kind": "javascript-module",
|
|
10891
|
+
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.styles.ts",
|
|
10892
|
+
"declarations": [
|
|
10893
|
+
{
|
|
10894
|
+
"kind": "variable",
|
|
10895
|
+
"name": "styles",
|
|
10896
|
+
"default": "css`\n :host {\n ${constrainedDimensions({ navToContentPx: 150 })}\n }\n\n rapid-tabs {\n display: contents;\n }\n`"
|
|
10897
|
+
}
|
|
10898
|
+
],
|
|
10899
|
+
"exports": [
|
|
10900
|
+
{
|
|
10901
|
+
"kind": "js",
|
|
10902
|
+
"name": "styles",
|
|
10903
|
+
"declaration": {
|
|
10904
|
+
"name": "styles",
|
|
10905
|
+
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.styles.ts"
|
|
10906
|
+
}
|
|
10907
|
+
}
|
|
10908
|
+
]
|
|
10909
|
+
},
|
|
10910
|
+
{
|
|
10911
|
+
"kind": "javascript-module",
|
|
10912
|
+
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.template.ts",
|
|
10913
|
+
"declarations": [
|
|
10914
|
+
{
|
|
10915
|
+
"kind": "variable",
|
|
10916
|
+
"name": "template",
|
|
10917
|
+
"default": "html<TabbedDatasourceContainer>`\n <template>\n <slot name=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"></slot>\n <rapid-tabs ${ref('tabs')}>\n ${repeat(\n (_) => Object.entries(selectors.datasourceConfig.getAllConfigSet()),\n html<[DatasourceName, DatasourceConfig[DatasourceName]], TabbedDatasourceContainer>`\n <rapid-tab @click=${(x, c) => c.parent.handleDatasourceChanged(x[0])}>\n ${(x) => x[1].KEY}\n </rapid-tab>\n `,\n )}\n <!-- rapid-tab-panel unused for content, only used to make the rapid-tabs work correctly -->\n ${repeat(\n (_) => Object.entries(selectors.datasourceConfig.getAllConfigSet()),\n html<[DatasourceName, DatasourceConfig[DatasourceName]], TabbedDatasourceContainer>`\n <rapid-tab-panel></rapid-tab-panel>\n `,\n )}\n </rapid-tabs>\n <!-- real content goes into this slot -->\n <div class=\"slot\"><slot></slot></div>\n </template>\n`"
|
|
10918
|
+
}
|
|
10919
|
+
],
|
|
10920
|
+
"exports": [
|
|
10921
|
+
{
|
|
10922
|
+
"kind": "js",
|
|
10923
|
+
"name": "template",
|
|
10924
|
+
"declaration": {
|
|
10925
|
+
"name": "template",
|
|
10926
|
+
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.template.ts"
|
|
10927
|
+
}
|
|
10928
|
+
}
|
|
10929
|
+
]
|
|
10930
|
+
},
|
|
10931
|
+
{
|
|
10932
|
+
"kind": "javascript-module",
|
|
10933
|
+
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.ts",
|
|
10934
|
+
"declarations": [
|
|
10935
|
+
{
|
|
10936
|
+
"kind": "class",
|
|
10937
|
+
"description": "This is a container which wraps up content which should\nimplement MultiDatasourceHandler interface, and this will\nhandle passing in the relevant `datasourceName` to it.\n\nThis uses rapid-tabs just for the tabs themselves, but\nperforms virtual tabbing by just using one slotted component\nbut changing the `datasourceName` attribute as you click through tabs\n\nThis uses the IntersectionObserver to know when the instance is visible (on the stepper steps) and if it's not then it supplies `null` as the `datasourceName` for the slotted content",
|
|
10938
|
+
"name": "TabbedDatasourceContainer",
|
|
10939
|
+
"members": [
|
|
10940
|
+
{
|
|
10941
|
+
"kind": "field",
|
|
10942
|
+
"name": "datasourceName",
|
|
10943
|
+
"type": {
|
|
10944
|
+
"text": "MultiDatasourceHandler['datasourceName']"
|
|
10945
|
+
}
|
|
10946
|
+
},
|
|
10947
|
+
{
|
|
10948
|
+
"kind": "field",
|
|
10949
|
+
"name": "isActive",
|
|
10950
|
+
"type": {
|
|
10951
|
+
"text": "boolean"
|
|
10952
|
+
},
|
|
10953
|
+
"default": "false"
|
|
10954
|
+
},
|
|
10955
|
+
{
|
|
10956
|
+
"kind": "field",
|
|
10957
|
+
"name": "tabs",
|
|
10958
|
+
"type": {
|
|
10959
|
+
"text": "Tabs"
|
|
10960
|
+
}
|
|
10961
|
+
},
|
|
10962
|
+
{
|
|
10963
|
+
"kind": "method",
|
|
10964
|
+
"name": "isActiveChanged",
|
|
10965
|
+
"parameters": [
|
|
10966
|
+
{
|
|
10967
|
+
"name": "_"
|
|
10968
|
+
},
|
|
10969
|
+
{
|
|
10970
|
+
"name": "active",
|
|
10971
|
+
"type": {
|
|
10972
|
+
"text": "boolean"
|
|
10973
|
+
}
|
|
10974
|
+
}
|
|
10975
|
+
]
|
|
10976
|
+
},
|
|
10977
|
+
{
|
|
10978
|
+
"kind": "field",
|
|
10979
|
+
"name": "observer",
|
|
10820
10980
|
"type": {
|
|
10821
|
-
"text": "
|
|
10981
|
+
"text": "IntersectionObserver"
|
|
10822
10982
|
},
|
|
10823
|
-
"
|
|
10983
|
+
"privacy": "private"
|
|
10824
10984
|
},
|
|
10825
10985
|
{
|
|
10826
10986
|
"kind": "method",
|
|
10827
|
-
"name": "
|
|
10828
|
-
"
|
|
10829
|
-
|
|
10830
|
-
"
|
|
10987
|
+
"name": "handleDatasourceChanged",
|
|
10988
|
+
"parameters": [
|
|
10989
|
+
{
|
|
10990
|
+
"name": "key",
|
|
10991
|
+
"type": {
|
|
10992
|
+
"text": "MultiDatasourceHandler['datasourceName']"
|
|
10993
|
+
}
|
|
10831
10994
|
}
|
|
10832
|
-
|
|
10833
|
-
},
|
|
10834
|
-
{
|
|
10835
|
-
"kind": "method",
|
|
10836
|
-
"name": "toggleSchedule"
|
|
10995
|
+
]
|
|
10837
10996
|
}
|
|
10838
10997
|
],
|
|
10839
10998
|
"superclass": {
|
|
10840
10999
|
"name": "GenesisElement",
|
|
10841
11000
|
"package": "@genesislcap/web-core"
|
|
10842
11001
|
},
|
|
10843
|
-
"tagName": "
|
|
11002
|
+
"tagName": "tabbed-datasource-container",
|
|
10844
11003
|
"customElement": true
|
|
10845
11004
|
}
|
|
10846
11005
|
],
|
|
10847
11006
|
"exports": [
|
|
10848
11007
|
{
|
|
10849
11008
|
"kind": "js",
|
|
10850
|
-
"name": "
|
|
11009
|
+
"name": "TabbedDatasourceContainer",
|
|
10851
11010
|
"declaration": {
|
|
10852
|
-
"name": "
|
|
10853
|
-
"module": "src/new/main/edit-config/
|
|
11011
|
+
"name": "TabbedDatasourceContainer",
|
|
11012
|
+
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.ts"
|
|
10854
11013
|
}
|
|
10855
11014
|
},
|
|
10856
11015
|
{
|
|
10857
11016
|
"kind": "custom-element-definition",
|
|
10858
|
-
"name": "
|
|
11017
|
+
"name": "tabbed-datasource-container",
|
|
10859
11018
|
"declaration": {
|
|
10860
|
-
"name": "
|
|
10861
|
-
"module": "src/new/main/edit-config/
|
|
11019
|
+
"name": "TabbedDatasourceContainer",
|
|
11020
|
+
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.ts"
|
|
11021
|
+
}
|
|
11022
|
+
}
|
|
11023
|
+
]
|
|
11024
|
+
},
|
|
11025
|
+
{
|
|
11026
|
+
"kind": "javascript-module",
|
|
11027
|
+
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.types.ts",
|
|
11028
|
+
"declarations": [
|
|
11029
|
+
{
|
|
11030
|
+
"kind": "variable",
|
|
11031
|
+
"name": "TABBED_DATASOURCE_HEADER_SLOT",
|
|
11032
|
+
"type": {
|
|
11033
|
+
"text": "string"
|
|
11034
|
+
},
|
|
11035
|
+
"default": "'before-tabs'"
|
|
11036
|
+
}
|
|
11037
|
+
],
|
|
11038
|
+
"exports": [
|
|
11039
|
+
{
|
|
11040
|
+
"kind": "js",
|
|
11041
|
+
"name": "TABBED_DATASOURCE_HEADER_SLOT",
|
|
11042
|
+
"declaration": {
|
|
11043
|
+
"name": "TABBED_DATASOURCE_HEADER_SLOT",
|
|
11044
|
+
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.types.ts"
|
|
10862
11045
|
}
|
|
10863
11046
|
}
|
|
10864
11047
|
]
|
|
@@ -11452,189 +11635,6 @@
|
|
|
11452
11635
|
}
|
|
11453
11636
|
]
|
|
11454
11637
|
},
|
|
11455
|
-
{
|
|
11456
|
-
"kind": "javascript-module",
|
|
11457
|
-
"path": "src/new/main/edit-config/tabbed-datasource-container/index.ts",
|
|
11458
|
-
"declarations": [],
|
|
11459
|
-
"exports": [
|
|
11460
|
-
{
|
|
11461
|
-
"kind": "js",
|
|
11462
|
-
"name": "*",
|
|
11463
|
-
"declaration": {
|
|
11464
|
-
"name": "*",
|
|
11465
|
-
"package": "./tabbed-datasource-container"
|
|
11466
|
-
}
|
|
11467
|
-
},
|
|
11468
|
-
{
|
|
11469
|
-
"kind": "js",
|
|
11470
|
-
"name": "*",
|
|
11471
|
-
"declaration": {
|
|
11472
|
-
"name": "*",
|
|
11473
|
-
"package": "./tabbed-datasource-container.types"
|
|
11474
|
-
}
|
|
11475
|
-
}
|
|
11476
|
-
]
|
|
11477
|
-
},
|
|
11478
|
-
{
|
|
11479
|
-
"kind": "javascript-module",
|
|
11480
|
-
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.styles.ts",
|
|
11481
|
-
"declarations": [
|
|
11482
|
-
{
|
|
11483
|
-
"kind": "variable",
|
|
11484
|
-
"name": "styles",
|
|
11485
|
-
"default": "css`\n :host {\n ${constrainedDimensions({ navToContentPx: 150 })}\n }\n\n rapid-tabs {\n display: contents;\n }\n`"
|
|
11486
|
-
}
|
|
11487
|
-
],
|
|
11488
|
-
"exports": [
|
|
11489
|
-
{
|
|
11490
|
-
"kind": "js",
|
|
11491
|
-
"name": "styles",
|
|
11492
|
-
"declaration": {
|
|
11493
|
-
"name": "styles",
|
|
11494
|
-
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.styles.ts"
|
|
11495
|
-
}
|
|
11496
|
-
}
|
|
11497
|
-
]
|
|
11498
|
-
},
|
|
11499
|
-
{
|
|
11500
|
-
"kind": "javascript-module",
|
|
11501
|
-
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.template.ts",
|
|
11502
|
-
"declarations": [
|
|
11503
|
-
{
|
|
11504
|
-
"kind": "variable",
|
|
11505
|
-
"name": "template",
|
|
11506
|
-
"default": "html<TabbedDatasourceContainer>`\n <template>\n <slot name=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"></slot>\n <rapid-tabs ${ref('tabs')}>\n ${repeat(\n (_) => Object.entries(selectors.datasourceConfig.getAllConfigSet()),\n html<[DatasourceName, DatasourceConfig[DatasourceName]], TabbedDatasourceContainer>`\n <rapid-tab @click=${(x, c) => c.parent.handleDatasourceChanged(x[0])}>\n ${(x) => x[1].KEY}\n </rapid-tab>\n `,\n )}\n <!-- rapid-tab-panel unused for content, only used to make the rapid-tabs work correctly -->\n ${repeat(\n (_) => Object.entries(selectors.datasourceConfig.getAllConfigSet()),\n html<[DatasourceName, DatasourceConfig[DatasourceName]], TabbedDatasourceContainer>`\n <rapid-tab-panel></rapid-tab-panel>\n `,\n )}\n </rapid-tabs>\n <!-- real content goes into this slot -->\n <div class=\"slot\"><slot></slot></div>\n </template>\n`"
|
|
11507
|
-
}
|
|
11508
|
-
],
|
|
11509
|
-
"exports": [
|
|
11510
|
-
{
|
|
11511
|
-
"kind": "js",
|
|
11512
|
-
"name": "template",
|
|
11513
|
-
"declaration": {
|
|
11514
|
-
"name": "template",
|
|
11515
|
-
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.template.ts"
|
|
11516
|
-
}
|
|
11517
|
-
}
|
|
11518
|
-
]
|
|
11519
|
-
},
|
|
11520
|
-
{
|
|
11521
|
-
"kind": "javascript-module",
|
|
11522
|
-
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.ts",
|
|
11523
|
-
"declarations": [
|
|
11524
|
-
{
|
|
11525
|
-
"kind": "class",
|
|
11526
|
-
"description": "This is a container which wraps up content which should\nimplement MultiDatasourceHandler interface, and this will\nhandle passing in the relevant `datasourceName` to it.\n\nThis uses rapid-tabs just for the tabs themselves, but\nperforms virtual tabbing by just using one slotted component\nbut changing the `datasourceName` attribute as you click through tabs\n\nThis uses the IntersectionObserver to know when the instance is visible (on the stepper steps) and if it's not then it supplies `null` as the `datasourceName` for the slotted content",
|
|
11527
|
-
"name": "TabbedDatasourceContainer",
|
|
11528
|
-
"members": [
|
|
11529
|
-
{
|
|
11530
|
-
"kind": "field",
|
|
11531
|
-
"name": "datasourceName",
|
|
11532
|
-
"type": {
|
|
11533
|
-
"text": "MultiDatasourceHandler['datasourceName']"
|
|
11534
|
-
}
|
|
11535
|
-
},
|
|
11536
|
-
{
|
|
11537
|
-
"kind": "field",
|
|
11538
|
-
"name": "isActive",
|
|
11539
|
-
"type": {
|
|
11540
|
-
"text": "boolean"
|
|
11541
|
-
},
|
|
11542
|
-
"default": "false"
|
|
11543
|
-
},
|
|
11544
|
-
{
|
|
11545
|
-
"kind": "field",
|
|
11546
|
-
"name": "tabs",
|
|
11547
|
-
"type": {
|
|
11548
|
-
"text": "Tabs"
|
|
11549
|
-
}
|
|
11550
|
-
},
|
|
11551
|
-
{
|
|
11552
|
-
"kind": "method",
|
|
11553
|
-
"name": "isActiveChanged",
|
|
11554
|
-
"parameters": [
|
|
11555
|
-
{
|
|
11556
|
-
"name": "_"
|
|
11557
|
-
},
|
|
11558
|
-
{
|
|
11559
|
-
"name": "active",
|
|
11560
|
-
"type": {
|
|
11561
|
-
"text": "boolean"
|
|
11562
|
-
}
|
|
11563
|
-
}
|
|
11564
|
-
]
|
|
11565
|
-
},
|
|
11566
|
-
{
|
|
11567
|
-
"kind": "field",
|
|
11568
|
-
"name": "observer",
|
|
11569
|
-
"type": {
|
|
11570
|
-
"text": "IntersectionObserver"
|
|
11571
|
-
},
|
|
11572
|
-
"privacy": "private"
|
|
11573
|
-
},
|
|
11574
|
-
{
|
|
11575
|
-
"kind": "method",
|
|
11576
|
-
"name": "handleDatasourceChanged",
|
|
11577
|
-
"parameters": [
|
|
11578
|
-
{
|
|
11579
|
-
"name": "key",
|
|
11580
|
-
"type": {
|
|
11581
|
-
"text": "MultiDatasourceHandler['datasourceName']"
|
|
11582
|
-
}
|
|
11583
|
-
}
|
|
11584
|
-
]
|
|
11585
|
-
}
|
|
11586
|
-
],
|
|
11587
|
-
"superclass": {
|
|
11588
|
-
"name": "GenesisElement",
|
|
11589
|
-
"package": "@genesislcap/web-core"
|
|
11590
|
-
},
|
|
11591
|
-
"tagName": "tabbed-datasource-container",
|
|
11592
|
-
"customElement": true
|
|
11593
|
-
}
|
|
11594
|
-
],
|
|
11595
|
-
"exports": [
|
|
11596
|
-
{
|
|
11597
|
-
"kind": "js",
|
|
11598
|
-
"name": "TabbedDatasourceContainer",
|
|
11599
|
-
"declaration": {
|
|
11600
|
-
"name": "TabbedDatasourceContainer",
|
|
11601
|
-
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.ts"
|
|
11602
|
-
}
|
|
11603
|
-
},
|
|
11604
|
-
{
|
|
11605
|
-
"kind": "custom-element-definition",
|
|
11606
|
-
"name": "tabbed-datasource-container",
|
|
11607
|
-
"declaration": {
|
|
11608
|
-
"name": "TabbedDatasourceContainer",
|
|
11609
|
-
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.ts"
|
|
11610
|
-
}
|
|
11611
|
-
}
|
|
11612
|
-
]
|
|
11613
|
-
},
|
|
11614
|
-
{
|
|
11615
|
-
"kind": "javascript-module",
|
|
11616
|
-
"path": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.types.ts",
|
|
11617
|
-
"declarations": [
|
|
11618
|
-
{
|
|
11619
|
-
"kind": "variable",
|
|
11620
|
-
"name": "TABBED_DATASOURCE_HEADER_SLOT",
|
|
11621
|
-
"type": {
|
|
11622
|
-
"text": "string"
|
|
11623
|
-
},
|
|
11624
|
-
"default": "'before-tabs'"
|
|
11625
|
-
}
|
|
11626
|
-
],
|
|
11627
|
-
"exports": [
|
|
11628
|
-
{
|
|
11629
|
-
"kind": "js",
|
|
11630
|
-
"name": "TABBED_DATASOURCE_HEADER_SLOT",
|
|
11631
|
-
"declaration": {
|
|
11632
|
-
"name": "TABBED_DATASOURCE_HEADER_SLOT",
|
|
11633
|
-
"module": "src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.types.ts"
|
|
11634
|
-
}
|
|
11635
|
-
}
|
|
11636
|
-
]
|
|
11637
|
-
},
|
|
11638
11638
|
{
|
|
11639
11639
|
"kind": "javascript-module",
|
|
11640
11640
|
"path": "src/old/components/wizard/steps/filters.ts",
|