@ni/ok-components 1.9.4 → 1.9.5
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 +149 -149
- package/dist/custom-elements.md +28 -28
- package/package.json +4 -4
|
@@ -808,6 +808,155 @@
|
|
|
808
808
|
"declarations": [],
|
|
809
809
|
"exports": []
|
|
810
810
|
},
|
|
811
|
+
{
|
|
812
|
+
"kind": "javascript-module",
|
|
813
|
+
"path": "src/fv/master-detail-list/index.ts",
|
|
814
|
+
"declarations": [
|
|
815
|
+
{
|
|
816
|
+
"kind": "class",
|
|
817
|
+
"description": "A filterable master-detail list with keyboard selection.",
|
|
818
|
+
"name": "FvMasterDetailList",
|
|
819
|
+
"members": [
|
|
820
|
+
{
|
|
821
|
+
"kind": "field",
|
|
822
|
+
"name": "placeholder",
|
|
823
|
+
"type": {
|
|
824
|
+
"text": "string"
|
|
825
|
+
},
|
|
826
|
+
"privacy": "public",
|
|
827
|
+
"default": "'Filter items...'"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"kind": "field",
|
|
831
|
+
"name": "filterInput",
|
|
832
|
+
"type": {
|
|
833
|
+
"text": "HTMLInputElement | null"
|
|
834
|
+
},
|
|
835
|
+
"privacy": "private",
|
|
836
|
+
"default": "null"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"kind": "field",
|
|
840
|
+
"name": "selectedItem",
|
|
841
|
+
"type": {
|
|
842
|
+
"text": "FvMasterDetailListItem | null"
|
|
843
|
+
},
|
|
844
|
+
"privacy": "private",
|
|
845
|
+
"default": "null"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"kind": "field",
|
|
849
|
+
"name": "visibleItems",
|
|
850
|
+
"type": {
|
|
851
|
+
"text": "FvMasterDetailListItem[]"
|
|
852
|
+
},
|
|
853
|
+
"privacy": "private",
|
|
854
|
+
"readonly": true
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"kind": "method",
|
|
858
|
+
"name": "refreshItems",
|
|
859
|
+
"privacy": "private",
|
|
860
|
+
"return": {
|
|
861
|
+
"type": {
|
|
862
|
+
"text": "void"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"kind": "method",
|
|
868
|
+
"name": "applyFilter",
|
|
869
|
+
"privacy": "private",
|
|
870
|
+
"return": {
|
|
871
|
+
"type": {
|
|
872
|
+
"text": "void"
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
"parameters": [
|
|
876
|
+
{
|
|
877
|
+
"name": "emitSelectionChange",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "boolean"
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"kind": "method",
|
|
886
|
+
"name": "setSelectedItem",
|
|
887
|
+
"privacy": "private",
|
|
888
|
+
"return": {
|
|
889
|
+
"type": {
|
|
890
|
+
"text": "void"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"parameters": [
|
|
894
|
+
{
|
|
895
|
+
"name": "nextItem",
|
|
896
|
+
"type": {
|
|
897
|
+
"text": "FvMasterDetailListItem | null"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "emitChange",
|
|
902
|
+
"type": {
|
|
903
|
+
"text": "boolean"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
]
|
|
907
|
+
}
|
|
908
|
+
],
|
|
909
|
+
"events": [
|
|
910
|
+
{
|
|
911
|
+
"name": "change",
|
|
912
|
+
"type": {
|
|
913
|
+
"text": "CustomEvent"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"attributes": [
|
|
918
|
+
{
|
|
919
|
+
"name": "placeholder",
|
|
920
|
+
"type": {
|
|
921
|
+
"text": "string"
|
|
922
|
+
},
|
|
923
|
+
"default": "'Filter items...'",
|
|
924
|
+
"fieldName": "placeholder"
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"superclass": {
|
|
928
|
+
"name": "FoundationElement",
|
|
929
|
+
"package": "@ni/fast-foundation"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"kind": "variable",
|
|
934
|
+
"name": "fvMasterDetailListTag",
|
|
935
|
+
"type": {
|
|
936
|
+
"text": "string"
|
|
937
|
+
},
|
|
938
|
+
"default": "'ok-fv-master-detail-list'"
|
|
939
|
+
}
|
|
940
|
+
],
|
|
941
|
+
"exports": [
|
|
942
|
+
{
|
|
943
|
+
"kind": "js",
|
|
944
|
+
"name": "FvMasterDetailList",
|
|
945
|
+
"declaration": {
|
|
946
|
+
"name": "FvMasterDetailList",
|
|
947
|
+
"module": "src/fv/master-detail-list/index.ts"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"kind": "js",
|
|
952
|
+
"name": "fvMasterDetailListTag",
|
|
953
|
+
"declaration": {
|
|
954
|
+
"name": "fvMasterDetailListTag",
|
|
955
|
+
"module": "src/fv/master-detail-list/index.ts"
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
]
|
|
959
|
+
},
|
|
811
960
|
{
|
|
812
961
|
"kind": "javascript-module",
|
|
813
962
|
"path": "src/fv/master-detail-list-item/index.ts",
|
|
@@ -982,155 +1131,6 @@
|
|
|
982
1131
|
}
|
|
983
1132
|
]
|
|
984
1133
|
},
|
|
985
|
-
{
|
|
986
|
-
"kind": "javascript-module",
|
|
987
|
-
"path": "src/fv/master-detail-list/index.ts",
|
|
988
|
-
"declarations": [
|
|
989
|
-
{
|
|
990
|
-
"kind": "class",
|
|
991
|
-
"description": "A filterable master-detail list with keyboard selection.",
|
|
992
|
-
"name": "FvMasterDetailList",
|
|
993
|
-
"members": [
|
|
994
|
-
{
|
|
995
|
-
"kind": "field",
|
|
996
|
-
"name": "placeholder",
|
|
997
|
-
"type": {
|
|
998
|
-
"text": "string"
|
|
999
|
-
},
|
|
1000
|
-
"privacy": "public",
|
|
1001
|
-
"default": "'Filter items...'"
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
"kind": "field",
|
|
1005
|
-
"name": "filterInput",
|
|
1006
|
-
"type": {
|
|
1007
|
-
"text": "HTMLInputElement | null"
|
|
1008
|
-
},
|
|
1009
|
-
"privacy": "private",
|
|
1010
|
-
"default": "null"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"kind": "field",
|
|
1014
|
-
"name": "selectedItem",
|
|
1015
|
-
"type": {
|
|
1016
|
-
"text": "FvMasterDetailListItem | null"
|
|
1017
|
-
},
|
|
1018
|
-
"privacy": "private",
|
|
1019
|
-
"default": "null"
|
|
1020
|
-
},
|
|
1021
|
-
{
|
|
1022
|
-
"kind": "field",
|
|
1023
|
-
"name": "visibleItems",
|
|
1024
|
-
"type": {
|
|
1025
|
-
"text": "FvMasterDetailListItem[]"
|
|
1026
|
-
},
|
|
1027
|
-
"privacy": "private",
|
|
1028
|
-
"readonly": true
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"kind": "method",
|
|
1032
|
-
"name": "refreshItems",
|
|
1033
|
-
"privacy": "private",
|
|
1034
|
-
"return": {
|
|
1035
|
-
"type": {
|
|
1036
|
-
"text": "void"
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
"kind": "method",
|
|
1042
|
-
"name": "applyFilter",
|
|
1043
|
-
"privacy": "private",
|
|
1044
|
-
"return": {
|
|
1045
|
-
"type": {
|
|
1046
|
-
"text": "void"
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
"parameters": [
|
|
1050
|
-
{
|
|
1051
|
-
"name": "emitSelectionChange",
|
|
1052
|
-
"type": {
|
|
1053
|
-
"text": "boolean"
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
]
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
"kind": "method",
|
|
1060
|
-
"name": "setSelectedItem",
|
|
1061
|
-
"privacy": "private",
|
|
1062
|
-
"return": {
|
|
1063
|
-
"type": {
|
|
1064
|
-
"text": "void"
|
|
1065
|
-
}
|
|
1066
|
-
},
|
|
1067
|
-
"parameters": [
|
|
1068
|
-
{
|
|
1069
|
-
"name": "nextItem",
|
|
1070
|
-
"type": {
|
|
1071
|
-
"text": "FvMasterDetailListItem | null"
|
|
1072
|
-
}
|
|
1073
|
-
},
|
|
1074
|
-
{
|
|
1075
|
-
"name": "emitChange",
|
|
1076
|
-
"type": {
|
|
1077
|
-
"text": "boolean"
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
]
|
|
1081
|
-
}
|
|
1082
|
-
],
|
|
1083
|
-
"events": [
|
|
1084
|
-
{
|
|
1085
|
-
"name": "change",
|
|
1086
|
-
"type": {
|
|
1087
|
-
"text": "CustomEvent"
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
],
|
|
1091
|
-
"attributes": [
|
|
1092
|
-
{
|
|
1093
|
-
"name": "placeholder",
|
|
1094
|
-
"type": {
|
|
1095
|
-
"text": "string"
|
|
1096
|
-
},
|
|
1097
|
-
"default": "'Filter items...'",
|
|
1098
|
-
"fieldName": "placeholder"
|
|
1099
|
-
}
|
|
1100
|
-
],
|
|
1101
|
-
"superclass": {
|
|
1102
|
-
"name": "FoundationElement",
|
|
1103
|
-
"package": "@ni/fast-foundation"
|
|
1104
|
-
}
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
"kind": "variable",
|
|
1108
|
-
"name": "fvMasterDetailListTag",
|
|
1109
|
-
"type": {
|
|
1110
|
-
"text": "string"
|
|
1111
|
-
},
|
|
1112
|
-
"default": "'ok-fv-master-detail-list'"
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1115
|
-
"exports": [
|
|
1116
|
-
{
|
|
1117
|
-
"kind": "js",
|
|
1118
|
-
"name": "FvMasterDetailList",
|
|
1119
|
-
"declaration": {
|
|
1120
|
-
"name": "FvMasterDetailList",
|
|
1121
|
-
"module": "src/fv/master-detail-list/index.ts"
|
|
1122
|
-
}
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
"kind": "js",
|
|
1126
|
-
"name": "fvMasterDetailListTag",
|
|
1127
|
-
"declaration": {
|
|
1128
|
-
"name": "fvMasterDetailListTag",
|
|
1129
|
-
"module": "src/fv/master-detail-list/index.ts"
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
]
|
|
1133
|
-
},
|
|
1134
1134
|
{
|
|
1135
1135
|
"kind": "javascript-module",
|
|
1136
1136
|
"path": "src/fv/search-input/index.ts",
|
package/dist/custom-elements.md
CHANGED
|
@@ -136,6 +136,34 @@
|
|
|
136
136
|
|
|
137
137
|
<hr/>
|
|
138
138
|
|
|
139
|
+
## class: `FvMasterDetailList`
|
|
140
|
+
|
|
141
|
+
### Superclass
|
|
142
|
+
|
|
143
|
+
| Name | Module | Package |
|
|
144
|
+
| ------------------- | ------ | ------------------- |
|
|
145
|
+
| `FoundationElement` | | @ni/fast-foundation |
|
|
146
|
+
|
|
147
|
+
### Fields
|
|
148
|
+
|
|
149
|
+
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
150
|
+
| ------------- | ------- | -------- | ------------------- | ----------- | -------------- |
|
|
151
|
+
| `placeholder` | public | `string` | `'Filter items...'` | | |
|
|
152
|
+
|
|
153
|
+
### Events
|
|
154
|
+
|
|
155
|
+
| Name | Type | Description | Inherited From |
|
|
156
|
+
| -------- | ------------- | ----------- | -------------- |
|
|
157
|
+
| `change` | `CustomEvent` | | |
|
|
158
|
+
|
|
159
|
+
### Attributes
|
|
160
|
+
|
|
161
|
+
| Name | Field | Inherited From |
|
|
162
|
+
| ------------- | ----------- | -------------- |
|
|
163
|
+
| `placeholder` | placeholder | |
|
|
164
|
+
|
|
165
|
+
<hr/>
|
|
166
|
+
|
|
139
167
|
## class: `FvMasterDetailListItem`
|
|
140
168
|
|
|
141
169
|
### Superclass
|
|
@@ -170,34 +198,6 @@
|
|
|
170
198
|
|
|
171
199
|
<hr/>
|
|
172
200
|
|
|
173
|
-
## class: `FvMasterDetailList`
|
|
174
|
-
|
|
175
|
-
### Superclass
|
|
176
|
-
|
|
177
|
-
| Name | Module | Package |
|
|
178
|
-
| ------------------- | ------ | ------------------- |
|
|
179
|
-
| `FoundationElement` | | @ni/fast-foundation |
|
|
180
|
-
|
|
181
|
-
### Fields
|
|
182
|
-
|
|
183
|
-
| Name | Privacy | Type | Default | Description | Inherited From |
|
|
184
|
-
| ------------- | ------- | -------- | ------------------- | ----------- | -------------- |
|
|
185
|
-
| `placeholder` | public | `string` | `'Filter items...'` | | |
|
|
186
|
-
|
|
187
|
-
### Events
|
|
188
|
-
|
|
189
|
-
| Name | Type | Description | Inherited From |
|
|
190
|
-
| -------- | ------------- | ----------- | -------------- |
|
|
191
|
-
| `change` | `CustomEvent` | | |
|
|
192
|
-
|
|
193
|
-
### Attributes
|
|
194
|
-
|
|
195
|
-
| Name | Field | Inherited From |
|
|
196
|
-
| ------------- | ----------- | -------------- |
|
|
197
|
-
| `placeholder` | placeholder | |
|
|
198
|
-
|
|
199
|
-
<hr/>
|
|
200
|
-
|
|
201
201
|
## class: `FvSearchInput`
|
|
202
202
|
|
|
203
203
|
### Superclass
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/ok-components",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"description": "NI Ok Components",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run build:components && npm run build:cem",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@ni/fast-element": "^10.2.0",
|
|
44
44
|
"@ni/fast-foundation": "^10.3.0",
|
|
45
45
|
"@ni/fast-web-utilities": "^10.1.0",
|
|
46
|
-
"@ni/nimble-components": "^35.14.
|
|
47
|
-
"@ni/spright-components": "^6.22.
|
|
46
|
+
"@ni/nimble-components": "^35.14.1",
|
|
47
|
+
"@ni/spright-components": "^6.22.6",
|
|
48
48
|
"tslib": "^2.2.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@custom-elements-manifest/to-markdown": "^0.1.0",
|
|
53
53
|
"@ni-private/eslint-config-nimble": "*",
|
|
54
54
|
"@ni-private/jasmine-extensions": "^0.0.1",
|
|
55
|
-
"@ni/jasmine-parameterized": "^1.0.
|
|
55
|
+
"@ni/jasmine-parameterized": "^1.0.13",
|
|
56
56
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
57
57
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
58
58
|
"@rollup/plugin-replace": "^6.0.0",
|