@genesislcap/foundation-zero 14.94.0-pa-957.1 → 14.94.1
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 +113 -207
- package/dist/dts/filter-bar/filter-bar.d.ts +0 -21
- package/dist/dts/filter-bar/filter-bar.d.ts.map +1 -1
- package/dist/dts/filter-bar/filter-bar.template.d.ts.map +1 -1
- package/dist/esm/filter-bar/filter-bar.js +0 -28
- package/dist/esm/filter-bar/filter-bar.template.js +3 -33
- package/package.json +7 -7
|
@@ -786,51 +786,11 @@
|
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
788
|
"kind": "javascript-module",
|
|
789
|
-
"path": "src/accordion/accordion.
|
|
790
|
-
"declarations": [
|
|
791
|
-
{
|
|
792
|
-
"kind": "variable",
|
|
793
|
-
"name": "meta",
|
|
794
|
-
"type": {
|
|
795
|
-
"text": "Meta"
|
|
796
|
-
},
|
|
797
|
-
"default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"kind": "variable",
|
|
801
|
-
"name": "Primary",
|
|
802
|
-
"type": {
|
|
803
|
-
"text": "StoryObj"
|
|
804
|
-
},
|
|
805
|
-
"default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
|
|
806
|
-
}
|
|
807
|
-
],
|
|
808
|
-
"exports": [
|
|
809
|
-
{
|
|
810
|
-
"kind": "js",
|
|
811
|
-
"name": "default",
|
|
812
|
-
"declaration": {
|
|
813
|
-
"name": "meta",
|
|
814
|
-
"module": "src/accordion/accordion.stories.ts"
|
|
815
|
-
}
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
"kind": "js",
|
|
819
|
-
"name": "Primary",
|
|
820
|
-
"declaration": {
|
|
821
|
-
"name": "Primary",
|
|
822
|
-
"module": "src/accordion/accordion.stories.ts"
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
]
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
"kind": "javascript-module",
|
|
829
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
789
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
830
790
|
"declarations": [
|
|
831
791
|
{
|
|
832
792
|
"kind": "function",
|
|
833
|
-
"name": "
|
|
793
|
+
"name": "zeroAccordionItemStyles",
|
|
834
794
|
"return": {
|
|
835
795
|
"type": {
|
|
836
796
|
"text": "ElementStyles"
|
|
@@ -855,24 +815,24 @@
|
|
|
855
815
|
"exports": [
|
|
856
816
|
{
|
|
857
817
|
"kind": "js",
|
|
858
|
-
"name": "
|
|
818
|
+
"name": "zeroAccordionItemStyles",
|
|
859
819
|
"declaration": {
|
|
860
|
-
"name": "
|
|
861
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
820
|
+
"name": "zeroAccordionItemStyles",
|
|
821
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
862
822
|
}
|
|
863
823
|
}
|
|
864
824
|
]
|
|
865
825
|
},
|
|
866
826
|
{
|
|
867
827
|
"kind": "javascript-module",
|
|
868
|
-
"path": "src/accordion/accordion.template.ts",
|
|
828
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
869
829
|
"declarations": [
|
|
870
830
|
{
|
|
871
831
|
"kind": "function",
|
|
872
|
-
"name": "
|
|
832
|
+
"name": "zeroAccordionItemTemplate",
|
|
873
833
|
"return": {
|
|
874
834
|
"type": {
|
|
875
|
-
"text": "ViewTemplate<
|
|
835
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
876
836
|
}
|
|
877
837
|
},
|
|
878
838
|
"parameters": [
|
|
@@ -894,24 +854,24 @@
|
|
|
894
854
|
"exports": [
|
|
895
855
|
{
|
|
896
856
|
"kind": "js",
|
|
897
|
-
"name": "
|
|
857
|
+
"name": "zeroAccordionItemTemplate",
|
|
898
858
|
"declaration": {
|
|
899
|
-
"name": "
|
|
900
|
-
"module": "src/accordion/accordion.template.ts"
|
|
859
|
+
"name": "zeroAccordionItemTemplate",
|
|
860
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
901
861
|
}
|
|
902
862
|
}
|
|
903
863
|
]
|
|
904
864
|
},
|
|
905
865
|
{
|
|
906
866
|
"kind": "javascript-module",
|
|
907
|
-
"path": "src/accordion/accordion.ts",
|
|
867
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
908
868
|
"declarations": [
|
|
909
869
|
{
|
|
910
870
|
"kind": "class",
|
|
911
871
|
"description": "",
|
|
912
|
-
"name": "
|
|
872
|
+
"name": "AccordionItem",
|
|
913
873
|
"superclass": {
|
|
914
|
-
"name": "
|
|
874
|
+
"name": "FoundationAccordionItem",
|
|
915
875
|
"package": "@genesislcap/foundation-ui"
|
|
916
876
|
},
|
|
917
877
|
"tagName": "%%prefix%%-card",
|
|
@@ -919,31 +879,31 @@
|
|
|
919
879
|
},
|
|
920
880
|
{
|
|
921
881
|
"kind": "variable",
|
|
922
|
-
"name": "
|
|
882
|
+
"name": "zeroAccordionItem"
|
|
923
883
|
}
|
|
924
884
|
],
|
|
925
885
|
"exports": [
|
|
926
886
|
{
|
|
927
887
|
"kind": "js",
|
|
928
|
-
"name": "
|
|
888
|
+
"name": "AccordionItem",
|
|
929
889
|
"declaration": {
|
|
930
|
-
"name": "
|
|
931
|
-
"module": "src/accordion/accordion.ts"
|
|
890
|
+
"name": "AccordionItem",
|
|
891
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
932
892
|
}
|
|
933
893
|
},
|
|
934
894
|
{
|
|
935
895
|
"kind": "js",
|
|
936
|
-
"name": "
|
|
896
|
+
"name": "zeroAccordionItem",
|
|
937
897
|
"declaration": {
|
|
938
|
-
"name": "
|
|
939
|
-
"module": "src/accordion/accordion.ts"
|
|
898
|
+
"name": "zeroAccordionItem",
|
|
899
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
940
900
|
}
|
|
941
901
|
}
|
|
942
902
|
]
|
|
943
903
|
},
|
|
944
904
|
{
|
|
945
905
|
"kind": "javascript-module",
|
|
946
|
-
"path": "src/accordion/index.ts",
|
|
906
|
+
"path": "src/accordion-item/index.ts",
|
|
947
907
|
"declarations": [],
|
|
948
908
|
"exports": [
|
|
949
909
|
{
|
|
@@ -951,7 +911,7 @@
|
|
|
951
911
|
"name": "*",
|
|
952
912
|
"declaration": {
|
|
953
913
|
"name": "*",
|
|
954
|
-
"package": "./accordion"
|
|
914
|
+
"package": "./accordion-item"
|
|
955
915
|
}
|
|
956
916
|
},
|
|
957
917
|
{
|
|
@@ -959,7 +919,7 @@
|
|
|
959
919
|
"name": "*",
|
|
960
920
|
"declaration": {
|
|
961
921
|
"name": "*",
|
|
962
|
-
"package": "./accordion.styles"
|
|
922
|
+
"package": "./accordion-item.styles"
|
|
963
923
|
}
|
|
964
924
|
},
|
|
965
925
|
{
|
|
@@ -967,49 +927,58 @@
|
|
|
967
927
|
"name": "*",
|
|
968
928
|
"declaration": {
|
|
969
929
|
"name": "*",
|
|
970
|
-
"package": "./accordion.template"
|
|
930
|
+
"package": "./accordion-item.template"
|
|
971
931
|
}
|
|
972
932
|
}
|
|
973
933
|
]
|
|
974
934
|
},
|
|
975
935
|
{
|
|
976
936
|
"kind": "javascript-module",
|
|
977
|
-
"path": "src/
|
|
978
|
-
"declarations": [
|
|
979
|
-
"exports": [
|
|
937
|
+
"path": "src/accordion/accordion.stories.ts",
|
|
938
|
+
"declarations": [
|
|
980
939
|
{
|
|
981
|
-
"kind": "
|
|
982
|
-
"name": "
|
|
983
|
-
"
|
|
984
|
-
"
|
|
985
|
-
|
|
986
|
-
}
|
|
940
|
+
"kind": "variable",
|
|
941
|
+
"name": "meta",
|
|
942
|
+
"type": {
|
|
943
|
+
"text": "Meta"
|
|
944
|
+
},
|
|
945
|
+
"default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
|
|
987
946
|
},
|
|
947
|
+
{
|
|
948
|
+
"kind": "variable",
|
|
949
|
+
"name": "Primary",
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "StoryObj"
|
|
952
|
+
},
|
|
953
|
+
"default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
|
|
954
|
+
}
|
|
955
|
+
],
|
|
956
|
+
"exports": [
|
|
988
957
|
{
|
|
989
958
|
"kind": "js",
|
|
990
|
-
"name": "
|
|
959
|
+
"name": "default",
|
|
991
960
|
"declaration": {
|
|
992
|
-
"name": "
|
|
993
|
-
"
|
|
961
|
+
"name": "meta",
|
|
962
|
+
"module": "src/accordion/accordion.stories.ts"
|
|
994
963
|
}
|
|
995
964
|
},
|
|
996
965
|
{
|
|
997
966
|
"kind": "js",
|
|
998
|
-
"name": "
|
|
967
|
+
"name": "Primary",
|
|
999
968
|
"declaration": {
|
|
1000
|
-
"name": "
|
|
1001
|
-
"
|
|
969
|
+
"name": "Primary",
|
|
970
|
+
"module": "src/accordion/accordion.stories.ts"
|
|
1002
971
|
}
|
|
1003
972
|
}
|
|
1004
973
|
]
|
|
1005
974
|
},
|
|
1006
975
|
{
|
|
1007
976
|
"kind": "javascript-module",
|
|
1008
|
-
"path": "src/accordion
|
|
977
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1009
978
|
"declarations": [
|
|
1010
979
|
{
|
|
1011
980
|
"kind": "function",
|
|
1012
|
-
"name": "
|
|
981
|
+
"name": "zeroAccordionStyles",
|
|
1013
982
|
"return": {
|
|
1014
983
|
"type": {
|
|
1015
984
|
"text": "ElementStyles"
|
|
@@ -1034,24 +1003,24 @@
|
|
|
1034
1003
|
"exports": [
|
|
1035
1004
|
{
|
|
1036
1005
|
"kind": "js",
|
|
1037
|
-
"name": "
|
|
1006
|
+
"name": "zeroAccordionStyles",
|
|
1038
1007
|
"declaration": {
|
|
1039
|
-
"name": "
|
|
1040
|
-
"module": "src/accordion
|
|
1008
|
+
"name": "zeroAccordionStyles",
|
|
1009
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1041
1010
|
}
|
|
1042
1011
|
}
|
|
1043
1012
|
]
|
|
1044
1013
|
},
|
|
1045
1014
|
{
|
|
1046
1015
|
"kind": "javascript-module",
|
|
1047
|
-
"path": "src/accordion
|
|
1016
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1048
1017
|
"declarations": [
|
|
1049
1018
|
{
|
|
1050
1019
|
"kind": "function",
|
|
1051
|
-
"name": "
|
|
1020
|
+
"name": "zeroAccordionTemplate",
|
|
1052
1021
|
"return": {
|
|
1053
1022
|
"type": {
|
|
1054
|
-
"text": "ViewTemplate<
|
|
1023
|
+
"text": "ViewTemplate<Accordion>"
|
|
1055
1024
|
}
|
|
1056
1025
|
},
|
|
1057
1026
|
"parameters": [
|
|
@@ -1073,24 +1042,24 @@
|
|
|
1073
1042
|
"exports": [
|
|
1074
1043
|
{
|
|
1075
1044
|
"kind": "js",
|
|
1076
|
-
"name": "
|
|
1045
|
+
"name": "zeroAccordionTemplate",
|
|
1077
1046
|
"declaration": {
|
|
1078
|
-
"name": "
|
|
1079
|
-
"module": "src/accordion
|
|
1047
|
+
"name": "zeroAccordionTemplate",
|
|
1048
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1080
1049
|
}
|
|
1081
1050
|
}
|
|
1082
1051
|
]
|
|
1083
1052
|
},
|
|
1084
1053
|
{
|
|
1085
1054
|
"kind": "javascript-module",
|
|
1086
|
-
"path": "src/accordion
|
|
1055
|
+
"path": "src/accordion/accordion.ts",
|
|
1087
1056
|
"declarations": [
|
|
1088
1057
|
{
|
|
1089
1058
|
"kind": "class",
|
|
1090
1059
|
"description": "",
|
|
1091
|
-
"name": "
|
|
1060
|
+
"name": "Accordion",
|
|
1092
1061
|
"superclass": {
|
|
1093
|
-
"name": "
|
|
1062
|
+
"name": "FoundationAccordion",
|
|
1094
1063
|
"package": "@genesislcap/foundation-ui"
|
|
1095
1064
|
},
|
|
1096
1065
|
"tagName": "%%prefix%%-card",
|
|
@@ -1098,31 +1067,31 @@
|
|
|
1098
1067
|
},
|
|
1099
1068
|
{
|
|
1100
1069
|
"kind": "variable",
|
|
1101
|
-
"name": "
|
|
1070
|
+
"name": "zeroAccordion"
|
|
1102
1071
|
}
|
|
1103
1072
|
],
|
|
1104
1073
|
"exports": [
|
|
1105
1074
|
{
|
|
1106
1075
|
"kind": "js",
|
|
1107
|
-
"name": "
|
|
1076
|
+
"name": "Accordion",
|
|
1108
1077
|
"declaration": {
|
|
1109
|
-
"name": "
|
|
1110
|
-
"module": "src/accordion
|
|
1078
|
+
"name": "Accordion",
|
|
1079
|
+
"module": "src/accordion/accordion.ts"
|
|
1111
1080
|
}
|
|
1112
1081
|
},
|
|
1113
1082
|
{
|
|
1114
1083
|
"kind": "js",
|
|
1115
|
-
"name": "
|
|
1084
|
+
"name": "zeroAccordion",
|
|
1116
1085
|
"declaration": {
|
|
1117
|
-
"name": "
|
|
1118
|
-
"module": "src/accordion
|
|
1086
|
+
"name": "zeroAccordion",
|
|
1087
|
+
"module": "src/accordion/accordion.ts"
|
|
1119
1088
|
}
|
|
1120
1089
|
}
|
|
1121
1090
|
]
|
|
1122
1091
|
},
|
|
1123
1092
|
{
|
|
1124
1093
|
"kind": "javascript-module",
|
|
1125
|
-
"path": "src/accordion
|
|
1094
|
+
"path": "src/accordion/index.ts",
|
|
1126
1095
|
"declarations": [],
|
|
1127
1096
|
"exports": [
|
|
1128
1097
|
{
|
|
@@ -1130,7 +1099,7 @@
|
|
|
1130
1099
|
"name": "*",
|
|
1131
1100
|
"declaration": {
|
|
1132
1101
|
"name": "*",
|
|
1133
|
-
"package": "./accordion
|
|
1102
|
+
"package": "./accordion"
|
|
1134
1103
|
}
|
|
1135
1104
|
},
|
|
1136
1105
|
{
|
|
@@ -1138,7 +1107,7 @@
|
|
|
1138
1107
|
"name": "*",
|
|
1139
1108
|
"declaration": {
|
|
1140
1109
|
"name": "*",
|
|
1141
|
-
"package": "./accordion
|
|
1110
|
+
"package": "./accordion.styles"
|
|
1142
1111
|
}
|
|
1143
1112
|
},
|
|
1144
1113
|
{
|
|
@@ -1146,7 +1115,7 @@
|
|
|
1146
1115
|
"name": "*",
|
|
1147
1116
|
"declaration": {
|
|
1148
1117
|
"name": "*",
|
|
1149
|
-
"package": "./accordion
|
|
1118
|
+
"package": "./accordion.template"
|
|
1150
1119
|
}
|
|
1151
1120
|
}
|
|
1152
1121
|
]
|
|
@@ -1611,6 +1580,37 @@
|
|
|
1611
1580
|
}
|
|
1612
1581
|
]
|
|
1613
1582
|
},
|
|
1583
|
+
{
|
|
1584
|
+
"kind": "javascript-module",
|
|
1585
|
+
"path": "src/_config/index.ts",
|
|
1586
|
+
"declarations": [],
|
|
1587
|
+
"exports": [
|
|
1588
|
+
{
|
|
1589
|
+
"kind": "js",
|
|
1590
|
+
"name": "*",
|
|
1591
|
+
"declaration": {
|
|
1592
|
+
"name": "*",
|
|
1593
|
+
"package": "./styles"
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"kind": "js",
|
|
1598
|
+
"name": "*",
|
|
1599
|
+
"declaration": {
|
|
1600
|
+
"name": "*",
|
|
1601
|
+
"package": "./tokens"
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"kind": "js",
|
|
1606
|
+
"name": "*",
|
|
1607
|
+
"declaration": {
|
|
1608
|
+
"name": "*",
|
|
1609
|
+
"package": "./values"
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
]
|
|
1613
|
+
},
|
|
1614
1614
|
{
|
|
1615
1615
|
"kind": "javascript-module",
|
|
1616
1616
|
"path": "src/anchored-region/anchored-region.stories.ts",
|
|
@@ -7127,7 +7127,7 @@
|
|
|
7127
7127
|
"type": {
|
|
7128
7128
|
"text": "ViewTemplate<FilterBar>"
|
|
7129
7129
|
},
|
|
7130
|
-
"default": "html`\n ${filterBarTemplate}\n`"
|
|
7130
|
+
"default": "html`\n ${filterBarTemplate('zero')}\n`"
|
|
7131
7131
|
}
|
|
7132
7132
|
],
|
|
7133
7133
|
"exports": [
|
|
@@ -7149,68 +7149,13 @@
|
|
|
7149
7149
|
"kind": "class",
|
|
7150
7150
|
"description": "",
|
|
7151
7151
|
"name": "FilterBar",
|
|
7152
|
+
"superclass": {
|
|
7153
|
+
"name": "FoundationFilterBar",
|
|
7154
|
+
"package": "@genesislcap/foundation-ui"
|
|
7155
|
+
},
|
|
7156
|
+
"tagName": "%%prefix%%-filter-bar",
|
|
7157
|
+
"customElement": true,
|
|
7152
7158
|
"members": [
|
|
7153
|
-
{
|
|
7154
|
-
"kind": "field",
|
|
7155
|
-
"name": "resource",
|
|
7156
|
-
"type": {
|
|
7157
|
-
"text": "string"
|
|
7158
|
-
}
|
|
7159
|
-
},
|
|
7160
|
-
{
|
|
7161
|
-
"kind": "field",
|
|
7162
|
-
"name": "only",
|
|
7163
|
-
"type": {
|
|
7164
|
-
"text": "string"
|
|
7165
|
-
},
|
|
7166
|
-
"description": "Only generate filters for the specified fields, provided as a comma separated list.\nDefault behavior (if \"only\" is not set) is to generate filters for all fields based on metadata."
|
|
7167
|
-
},
|
|
7168
|
-
{
|
|
7169
|
-
"kind": "field",
|
|
7170
|
-
"name": "labels",
|
|
7171
|
-
"type": {
|
|
7172
|
-
"text": "string"
|
|
7173
|
-
},
|
|
7174
|
-
"description": "Labels for the specified fields, to be used alongside \"only\" prop."
|
|
7175
|
-
},
|
|
7176
|
-
{
|
|
7177
|
-
"kind": "field",
|
|
7178
|
-
"name": "target",
|
|
7179
|
-
"type": {
|
|
7180
|
-
"text": "string"
|
|
7181
|
-
},
|
|
7182
|
-
"description": "Will be included in event emmissions.\nUsually set to the id of the target datasource.\nUsefull when we have multiple grids in the same page."
|
|
7183
|
-
},
|
|
7184
|
-
{
|
|
7185
|
-
"kind": "field",
|
|
7186
|
-
"name": "ready",
|
|
7187
|
-
"type": {
|
|
7188
|
-
"text": "boolean"
|
|
7189
|
-
}
|
|
7190
|
-
},
|
|
7191
|
-
{
|
|
7192
|
-
"kind": "field",
|
|
7193
|
-
"name": "fields",
|
|
7194
|
-
"type": {
|
|
7195
|
-
"text": "MetadataDetail[]"
|
|
7196
|
-
}
|
|
7197
|
-
},
|
|
7198
|
-
{
|
|
7199
|
-
"kind": "field",
|
|
7200
|
-
"name": "filterGrid",
|
|
7201
|
-
"type": {
|
|
7202
|
-
"text": "HTMLDivElement"
|
|
7203
|
-
},
|
|
7204
|
-
"privacy": "public"
|
|
7205
|
-
},
|
|
7206
|
-
{
|
|
7207
|
-
"kind": "field",
|
|
7208
|
-
"name": "collapsed",
|
|
7209
|
-
"type": {
|
|
7210
|
-
"text": "boolean"
|
|
7211
|
-
},
|
|
7212
|
-
"default": "true"
|
|
7213
|
-
},
|
|
7214
7159
|
{
|
|
7215
7160
|
"kind": "field",
|
|
7216
7161
|
"name": "_presentation",
|
|
@@ -7322,46 +7267,7 @@
|
|
|
7322
7267
|
"module": "src/foundation-element/foundation-element.ts"
|
|
7323
7268
|
}
|
|
7324
7269
|
}
|
|
7325
|
-
]
|
|
7326
|
-
"attributes": [
|
|
7327
|
-
{
|
|
7328
|
-
"name": "resource",
|
|
7329
|
-
"type": {
|
|
7330
|
-
"text": "string"
|
|
7331
|
-
},
|
|
7332
|
-
"fieldName": "resource"
|
|
7333
|
-
},
|
|
7334
|
-
{
|
|
7335
|
-
"name": "only",
|
|
7336
|
-
"type": {
|
|
7337
|
-
"text": "string"
|
|
7338
|
-
},
|
|
7339
|
-
"description": "Only generate filters for the specified fields, provided as a comma separated list.\nDefault behavior (if \"only\" is not set) is to generate filters for all fields based on metadata.",
|
|
7340
|
-
"fieldName": "only"
|
|
7341
|
-
},
|
|
7342
|
-
{
|
|
7343
|
-
"name": "labels",
|
|
7344
|
-
"type": {
|
|
7345
|
-
"text": "string"
|
|
7346
|
-
},
|
|
7347
|
-
"description": "Labels for the specified fields, to be used alongside \"only\" prop.",
|
|
7348
|
-
"fieldName": "labels"
|
|
7349
|
-
},
|
|
7350
|
-
{
|
|
7351
|
-
"name": "target",
|
|
7352
|
-
"type": {
|
|
7353
|
-
"text": "string"
|
|
7354
|
-
},
|
|
7355
|
-
"description": "Will be included in event emmissions.\nUsually set to the id of the target datasource.\nUsefull when we have multiple grids in the same page.",
|
|
7356
|
-
"fieldName": "target"
|
|
7357
|
-
}
|
|
7358
|
-
],
|
|
7359
|
-
"superclass": {
|
|
7360
|
-
"name": "FoundationFilterBar",
|
|
7361
|
-
"package": "@genesislcap/foundation-ui"
|
|
7362
|
-
},
|
|
7363
|
-
"tagName": "%%prefix%%-filter-bar",
|
|
7364
|
-
"customElement": true
|
|
7270
|
+
]
|
|
7365
7271
|
},
|
|
7366
7272
|
{
|
|
7367
7273
|
"kind": "variable",
|
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import { MetadataDetail } from '@genesislcap/foundation-comms';
|
|
2
1
|
import { FilterBar as FoundationFilterBar } from '@genesislcap/foundation-ui';
|
|
3
2
|
/**
|
|
4
3
|
* @tagname %%prefix%%-filter-bar
|
|
5
4
|
*/
|
|
6
5
|
export declare class FilterBar extends FoundationFilterBar {
|
|
7
|
-
resource: string;
|
|
8
|
-
/**
|
|
9
|
-
* Only generate filters for the specified fields, provided as a comma separated list.
|
|
10
|
-
* Default behavior (if "only" is not set) is to generate filters for all fields based on metadata.
|
|
11
|
-
*/
|
|
12
|
-
only: string;
|
|
13
|
-
/**
|
|
14
|
-
* Labels for the specified fields, to be used alongside "only" prop.
|
|
15
|
-
*/
|
|
16
|
-
labels: string;
|
|
17
|
-
/**
|
|
18
|
-
* Will be included in event emmissions.
|
|
19
|
-
* Usually set to the id of the target datasource.
|
|
20
|
-
* Usefull when we have multiple grids in the same page.
|
|
21
|
-
*/
|
|
22
|
-
target: string;
|
|
23
|
-
ready: boolean;
|
|
24
|
-
fields: MetadataDetail[];
|
|
25
|
-
filterGrid: HTMLDivElement;
|
|
26
|
-
collapsed: boolean;
|
|
27
6
|
}
|
|
28
7
|
/**
|
|
29
8
|
* The Zero Filter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-bar.d.ts","sourceRoot":"","sources":["../../../src/filter-bar/filter-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"filter-bar.d.ts","sourceRoot":"","sources":["../../../src/filter-bar/filter-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI9E;;GAEG;AACH,qBAAa,SAAU,SAAQ,mBAAmB;CAAG;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,yTAIxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-bar.template.d.ts","sourceRoot":"","sources":["../../../src/filter-bar/filter-bar.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filter-bar.template.d.ts","sourceRoot":"","sources":["../../../src/filter-bar/filter-bar.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,qBAAqB,EAAE,YAAY,CAAC,SAAS,CAEzD,CAAC"}
|
|
@@ -1,39 +1,11 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
1
|
import { FilterBar as FoundationFilterBar } from '@genesislcap/foundation-ui';
|
|
3
|
-
import { attr, observable } from '@microsoft/fast-element';
|
|
4
2
|
import { zeroFilterBarStyles as styles } from './filter-bar.styles';
|
|
5
3
|
import { zeroFilterBarTemplate as template } from './filter-bar.template';
|
|
6
4
|
/**
|
|
7
5
|
* @tagname %%prefix%%-filter-bar
|
|
8
6
|
*/
|
|
9
7
|
export class FilterBar extends FoundationFilterBar {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.ready = super.ready;
|
|
13
|
-
this.collapsed = true;
|
|
14
|
-
}
|
|
15
8
|
}
|
|
16
|
-
__decorate([
|
|
17
|
-
attr
|
|
18
|
-
], FilterBar.prototype, "resource", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
attr
|
|
21
|
-
], FilterBar.prototype, "only", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
attr
|
|
24
|
-
], FilterBar.prototype, "labels", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
attr
|
|
27
|
-
], FilterBar.prototype, "target", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
observable
|
|
30
|
-
], FilterBar.prototype, "ready", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
observable
|
|
33
|
-
], FilterBar.prototype, "fields", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
observable
|
|
36
|
-
], FilterBar.prototype, "collapsed", void 0);
|
|
37
9
|
/**
|
|
38
10
|
* The Zero Filter
|
|
39
11
|
*
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { html
|
|
3
|
-
import { classNames } from '@microsoft/fast-web-utilities';
|
|
4
|
-
const collapseIcon = html `
|
|
5
|
-
${when((x) => x.collapsed, html `
|
|
6
|
-
<zero-icon name="chevron-down"></zero-icon>
|
|
7
|
-
`)}
|
|
8
|
-
${when((x) => !x.collapsed, html `
|
|
9
|
-
<zero-icon name="chevron-up"></zero-icon>
|
|
10
|
-
`)}
|
|
11
|
-
`;
|
|
12
|
-
const filterBarTemplate = html `
|
|
13
|
-
<div
|
|
14
|
-
class=${(x) => classNames(['toggle', true], ['toggle-collapsed', x.collapsed])}
|
|
15
|
-
@click="${(x) => x['toggle']()}"
|
|
16
|
-
>
|
|
17
|
-
${collapseIcon}
|
|
18
|
-
</div>
|
|
19
|
-
<div class=${(x) => classNames(['filter-bar', true], ['collapsed', x.collapsed])}>
|
|
20
|
-
<div class="filter-grid" ${ref('filterGrid')}>
|
|
21
|
-
${repeat((x) => x.fields, html `
|
|
22
|
-
<zero-filter
|
|
23
|
-
label="${(x) => x.UI_LABEL}"
|
|
24
|
-
target="${(x, c) => { var _a; return (_a = c.parent) === null || _a === void 0 ? void 0 : _a.target; }}"
|
|
25
|
-
type="${(x) => mapType(x.TYPE)}"
|
|
26
|
-
fieldName="${(x) => x.NAME}"
|
|
27
|
-
enumOptions="${(x) => x.VALID_VALUES}"
|
|
28
|
-
/>
|
|
29
|
-
`)}
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
`;
|
|
1
|
+
import { filterBarTemplate } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { html } from '@microsoft/fast-element';
|
|
33
3
|
export const zeroFilterBarTemplate = html `
|
|
34
|
-
${filterBarTemplate}
|
|
4
|
+
${filterBarTemplate('zero')}
|
|
35
5
|
`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-zero",
|
|
3
3
|
"description": "Genesis Foundation Zero Design System",
|
|
4
|
-
"version": "14.94.
|
|
4
|
+
"version": "14.94.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"storybook": "storybook dev -p 6006"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@genesislcap/genx": "14.94.
|
|
68
|
+
"@genesislcap/genx": "14.94.1",
|
|
69
69
|
"@storybook/addon-essentials": "^7.1.0",
|
|
70
70
|
"@storybook/addon-links": "^7.1.0",
|
|
71
71
|
"@storybook/addons": "^7.1.0",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"storybook": "^7.1.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@genesislcap/foundation-comms": "14.94.
|
|
82
|
-
"@genesislcap/foundation-logger": "14.94.
|
|
83
|
-
"@genesislcap/foundation-ui": "14.94.
|
|
84
|
-
"@genesislcap/foundation-utils": "14.94.
|
|
81
|
+
"@genesislcap/foundation-comms": "14.94.1",
|
|
82
|
+
"@genesislcap/foundation-logger": "14.94.1",
|
|
83
|
+
"@genesislcap/foundation-ui": "14.94.1",
|
|
84
|
+
"@genesislcap/foundation-utils": "14.94.1",
|
|
85
85
|
"@microsoft/fast-colors": "^5.1.4",
|
|
86
86
|
"@microsoft/fast-components": "^2.21.3",
|
|
87
87
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"access": "public"
|
|
99
99
|
},
|
|
100
100
|
"customElements": "dist/custom-elements.json",
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "a1b6baf9b2003cbb1d73b44d0715ac3492e4f6f5"
|
|
102
102
|
}
|