@genesislcap/foundation-ui 14.210.1-alpha-d058de3.0 → 14.210.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.
@@ -817,6 +817,37 @@
817
817
  }
818
818
  ]
819
819
  },
820
+ {
821
+ "kind": "javascript-module",
822
+ "path": "src/_config/index.ts",
823
+ "declarations": [],
824
+ "exports": [
825
+ {
826
+ "kind": "js",
827
+ "name": "*",
828
+ "declaration": {
829
+ "name": "*",
830
+ "package": "./styles"
831
+ }
832
+ },
833
+ {
834
+ "kind": "js",
835
+ "name": "*",
836
+ "declaration": {
837
+ "name": "*",
838
+ "package": "./tokens"
839
+ }
840
+ },
841
+ {
842
+ "kind": "js",
843
+ "name": "*",
844
+ "declaration": {
845
+ "name": "*",
846
+ "package": "./values"
847
+ }
848
+ }
849
+ ]
850
+ },
820
851
  {
821
852
  "kind": "javascript-module",
822
853
  "path": "src/_common/icons.ts",
@@ -864,7 +895,158 @@
864
895
  },
865
896
  {
866
897
  "kind": "javascript-module",
867
- "path": "src/_config/index.ts",
898
+ "path": "src/accordion/accordion.styles.ts",
899
+ "declarations": [
900
+ {
901
+ "kind": "function",
902
+ "name": "foundationAccordionStyles",
903
+ "return": {
904
+ "type": {
905
+ "text": "ElementStyles"
906
+ }
907
+ },
908
+ "parameters": [
909
+ {
910
+ "name": "context",
911
+ "type": {
912
+ "text": "ElementDefinitionContext"
913
+ }
914
+ },
915
+ {
916
+ "name": "definition",
917
+ "type": {
918
+ "text": "FoundationElementDefinition"
919
+ }
920
+ }
921
+ ]
922
+ }
923
+ ],
924
+ "exports": [
925
+ {
926
+ "kind": "js",
927
+ "name": "foundationAccordionStyles",
928
+ "declaration": {
929
+ "name": "foundationAccordionStyles",
930
+ "module": "src/accordion/accordion.styles.ts"
931
+ }
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "kind": "javascript-module",
937
+ "path": "src/accordion/accordion.template.ts",
938
+ "declarations": [
939
+ {
940
+ "kind": "function",
941
+ "name": "foundationAccordionTemplate",
942
+ "return": {
943
+ "type": {
944
+ "text": "ViewTemplate<Accordion>"
945
+ }
946
+ },
947
+ "parameters": [
948
+ {
949
+ "name": "context",
950
+ "type": {
951
+ "text": "ElementDefinitionContext"
952
+ }
953
+ },
954
+ {
955
+ "name": "definition",
956
+ "type": {
957
+ "text": "FoundationElementDefinition"
958
+ }
959
+ }
960
+ ]
961
+ }
962
+ ],
963
+ "exports": [
964
+ {
965
+ "kind": "js",
966
+ "name": "foundationAccordionTemplate",
967
+ "declaration": {
968
+ "name": "foundationAccordionTemplate",
969
+ "module": "src/accordion/accordion.template.ts"
970
+ }
971
+ }
972
+ ]
973
+ },
974
+ {
975
+ "kind": "javascript-module",
976
+ "path": "src/accordion/accordion.ts",
977
+ "declarations": [
978
+ {
979
+ "kind": "class",
980
+ "description": "",
981
+ "name": "Accordion",
982
+ "superclass": {
983
+ "name": "FASTAccordion",
984
+ "package": "@microsoft/fast-foundation"
985
+ },
986
+ "tagName": "%%prefix%%-accordion",
987
+ "customElement": true
988
+ },
989
+ {
990
+ "kind": "variable",
991
+ "name": "foundationAccordionShadowOptions",
992
+ "type": {
993
+ "text": "ShadowRootInit"
994
+ },
995
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
996
+ },
997
+ {
998
+ "kind": "variable",
999
+ "name": "defaultAccordionConfig",
1000
+ "type": {
1001
+ "text": "object"
1002
+ },
1003
+ "default": "{}"
1004
+ },
1005
+ {
1006
+ "kind": "variable",
1007
+ "name": "foundationAccordion",
1008
+ "description": "The Foundation Accordion",
1009
+ "privacy": "public"
1010
+ }
1011
+ ],
1012
+ "exports": [
1013
+ {
1014
+ "kind": "js",
1015
+ "name": "Accordion",
1016
+ "declaration": {
1017
+ "name": "Accordion",
1018
+ "module": "src/accordion/accordion.ts"
1019
+ }
1020
+ },
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "foundationAccordionShadowOptions",
1024
+ "declaration": {
1025
+ "name": "foundationAccordionShadowOptions",
1026
+ "module": "src/accordion/accordion.ts"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "js",
1031
+ "name": "defaultAccordionConfig",
1032
+ "declaration": {
1033
+ "name": "defaultAccordionConfig",
1034
+ "module": "src/accordion/accordion.ts"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "js",
1039
+ "name": "foundationAccordion",
1040
+ "declaration": {
1041
+ "name": "foundationAccordion",
1042
+ "module": "src/accordion/accordion.ts"
1043
+ }
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/accordion/index.ts",
868
1050
  "declarations": [],
869
1051
  "exports": [
870
1052
  {
@@ -872,7 +1054,7 @@
872
1054
  "name": "*",
873
1055
  "declaration": {
874
1056
  "name": "*",
875
- "package": "./styles"
1057
+ "package": "./accordion.template"
876
1058
  }
877
1059
  },
878
1060
  {
@@ -880,7 +1062,7 @@
880
1062
  "name": "*",
881
1063
  "declaration": {
882
1064
  "name": "*",
883
- "package": "./tokens"
1065
+ "package": "./accordion.styles"
884
1066
  }
885
1067
  },
886
1068
  {
@@ -888,7 +1070,7 @@
888
1070
  "name": "*",
889
1071
  "declaration": {
890
1072
  "name": "*",
891
- "package": "./values"
1073
+ "package": "./accordion"
892
1074
  }
893
1075
  }
894
1076
  ]
@@ -1287,188 +1469,6 @@
1287
1469
  }
1288
1470
  ]
1289
1471
  },
1290
- {
1291
- "kind": "javascript-module",
1292
- "path": "src/accordion/accordion.styles.ts",
1293
- "declarations": [
1294
- {
1295
- "kind": "function",
1296
- "name": "foundationAccordionStyles",
1297
- "return": {
1298
- "type": {
1299
- "text": "ElementStyles"
1300
- }
1301
- },
1302
- "parameters": [
1303
- {
1304
- "name": "context",
1305
- "type": {
1306
- "text": "ElementDefinitionContext"
1307
- }
1308
- },
1309
- {
1310
- "name": "definition",
1311
- "type": {
1312
- "text": "FoundationElementDefinition"
1313
- }
1314
- }
1315
- ]
1316
- }
1317
- ],
1318
- "exports": [
1319
- {
1320
- "kind": "js",
1321
- "name": "foundationAccordionStyles",
1322
- "declaration": {
1323
- "name": "foundationAccordionStyles",
1324
- "module": "src/accordion/accordion.styles.ts"
1325
- }
1326
- }
1327
- ]
1328
- },
1329
- {
1330
- "kind": "javascript-module",
1331
- "path": "src/accordion/accordion.template.ts",
1332
- "declarations": [
1333
- {
1334
- "kind": "function",
1335
- "name": "foundationAccordionTemplate",
1336
- "return": {
1337
- "type": {
1338
- "text": "ViewTemplate<Accordion>"
1339
- }
1340
- },
1341
- "parameters": [
1342
- {
1343
- "name": "context",
1344
- "type": {
1345
- "text": "ElementDefinitionContext"
1346
- }
1347
- },
1348
- {
1349
- "name": "definition",
1350
- "type": {
1351
- "text": "FoundationElementDefinition"
1352
- }
1353
- }
1354
- ]
1355
- }
1356
- ],
1357
- "exports": [
1358
- {
1359
- "kind": "js",
1360
- "name": "foundationAccordionTemplate",
1361
- "declaration": {
1362
- "name": "foundationAccordionTemplate",
1363
- "module": "src/accordion/accordion.template.ts"
1364
- }
1365
- }
1366
- ]
1367
- },
1368
- {
1369
- "kind": "javascript-module",
1370
- "path": "src/accordion/accordion.ts",
1371
- "declarations": [
1372
- {
1373
- "kind": "class",
1374
- "description": "",
1375
- "name": "Accordion",
1376
- "superclass": {
1377
- "name": "FASTAccordion",
1378
- "package": "@microsoft/fast-foundation"
1379
- },
1380
- "tagName": "%%prefix%%-accordion",
1381
- "customElement": true
1382
- },
1383
- {
1384
- "kind": "variable",
1385
- "name": "foundationAccordionShadowOptions",
1386
- "type": {
1387
- "text": "ShadowRootInit"
1388
- },
1389
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1390
- },
1391
- {
1392
- "kind": "variable",
1393
- "name": "defaultAccordionConfig",
1394
- "type": {
1395
- "text": "object"
1396
- },
1397
- "default": "{}"
1398
- },
1399
- {
1400
- "kind": "variable",
1401
- "name": "foundationAccordion",
1402
- "description": "The Foundation Accordion",
1403
- "privacy": "public"
1404
- }
1405
- ],
1406
- "exports": [
1407
- {
1408
- "kind": "js",
1409
- "name": "Accordion",
1410
- "declaration": {
1411
- "name": "Accordion",
1412
- "module": "src/accordion/accordion.ts"
1413
- }
1414
- },
1415
- {
1416
- "kind": "js",
1417
- "name": "foundationAccordionShadowOptions",
1418
- "declaration": {
1419
- "name": "foundationAccordionShadowOptions",
1420
- "module": "src/accordion/accordion.ts"
1421
- }
1422
- },
1423
- {
1424
- "kind": "js",
1425
- "name": "defaultAccordionConfig",
1426
- "declaration": {
1427
- "name": "defaultAccordionConfig",
1428
- "module": "src/accordion/accordion.ts"
1429
- }
1430
- },
1431
- {
1432
- "kind": "js",
1433
- "name": "foundationAccordion",
1434
- "declaration": {
1435
- "name": "foundationAccordion",
1436
- "module": "src/accordion/accordion.ts"
1437
- }
1438
- }
1439
- ]
1440
- },
1441
- {
1442
- "kind": "javascript-module",
1443
- "path": "src/accordion/index.ts",
1444
- "declarations": [],
1445
- "exports": [
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1449
- "declaration": {
1450
- "name": "*",
1451
- "package": "./accordion.template"
1452
- }
1453
- },
1454
- {
1455
- "kind": "js",
1456
- "name": "*",
1457
- "declaration": {
1458
- "name": "*",
1459
- "package": "./accordion.styles"
1460
- }
1461
- },
1462
- {
1463
- "kind": "js",
1464
- "name": "*",
1465
- "declaration": {
1466
- "name": "*",
1467
- "package": "./accordion"
1468
- }
1469
- }
1470
- ]
1471
- },
1472
1472
  {
1473
1473
  "kind": "javascript-module",
1474
1474
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -9198,18 +9198,10 @@
9198
9198
  "name": "asyncSetFilter"
9199
9199
  },
9200
9200
  {
9201
- "kind": "method",
9201
+ "kind": "field",
9202
9202
  "name": "resetCombobox"
9203
9203
  }
9204
9204
  ],
9205
- "events": [
9206
- {
9207
- "name": "change",
9208
- "type": {
9209
- "text": "Event"
9210
- }
9211
- }
9212
- ],
9213
9205
  "attributes": [
9214
9206
  {
9215
9207
  "type": {
@@ -25727,21 +25719,6 @@
25727
25719
  }
25728
25720
  ]
25729
25721
  },
25730
- {
25731
- "kind": "javascript-module",
25732
- "path": "src/overlays/index.ts",
25733
- "declarations": [],
25734
- "exports": [
25735
- {
25736
- "kind": "js",
25737
- "name": "*",
25738
- "declaration": {
25739
- "name": "*",
25740
- "package": "./system-health"
25741
- }
25742
- }
25743
- ]
25744
- },
25745
25722
  {
25746
25723
  "kind": "javascript-module",
25747
25724
  "path": "src/options-datasource/index.ts",
@@ -26725,6 +26702,10 @@
26725
26702
  },
26726
26703
  "privacy": "protected"
26727
26704
  },
26705
+ {
26706
+ "kind": "method",
26707
+ "name": "fetchData"
26708
+ },
26728
26709
  {
26729
26710
  "kind": "method",
26730
26711
  "name": "asyncModeIntialization"
@@ -26764,6 +26745,10 @@
26764
26745
  "module": "src/utils/base-datasource.ts"
26765
26746
  }
26766
26747
  },
26748
+ {
26749
+ "kind": "method",
26750
+ "name": "resetCombobox"
26751
+ },
26767
26752
  {
26768
26753
  "kind": "method",
26769
26754
  "name": "handleStreamInserts",
@@ -27562,6 +27547,21 @@
27562
27547
  }
27563
27548
  ]
27564
27549
  },
27550
+ {
27551
+ "kind": "javascript-module",
27552
+ "path": "src/overlays/index.ts",
27553
+ "declarations": [],
27554
+ "exports": [
27555
+ {
27556
+ "kind": "js",
27557
+ "name": "*",
27558
+ "declaration": {
27559
+ "name": "*",
27560
+ "package": "./system-health"
27561
+ }
27562
+ }
27563
+ ]
27564
+ },
27565
27565
  {
27566
27566
  "kind": "javascript-module",
27567
27567
  "path": "src/patterns/define.ts",
@@ -37,7 +37,7 @@ export declare class Combobox extends FASTComboBox {
37
37
  protected selectItemByValue(value: string): void;
38
38
  inputHandler(e: InputEvent): boolean | void;
39
39
  asyncSetFilter(): void;
40
- resetCombobox(): void;
40
+ resetCombobox: () => void;
41
41
  }
42
42
  export declare const foundationComboboxShadowOptions: ShadowRootInit;
43
43
  export declare const defaultComboboxConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"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cAG7C,CAAC;AAEF,eAAO,MAAM,qBAAqB;;CAajC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,8SAM7B,CAAC"}
@@ -17,9 +17,11 @@ export declare class OptionsDatasource extends BaseDatasource {
17
17
  label: string;
18
18
  }[];
19
19
  connectedCallback(): Promise<void>;
20
+ fetchData(): void;
20
21
  asyncModeIntialization(): Promise<void>;
21
22
  clearData(): void;
22
23
  syncComponentData(snapshotData?: any[]): void;
24
+ resetCombobox(): void;
23
25
  handleStreamInserts(insertedRows: any[]): void;
24
26
  handleStreamDeletes(deletedRows: any[]): void;
25
27
  handleStreamUpdates(updatedRows: any[]): void;
@@ -1 +1 @@
1
- {"version":3,"file":"options-datasource.d.ts","sourceRoot":"","sources":["../../../src/options-datasource/options-datasource.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,cAAc,EAAqB,MAAM,UAAU,CAAC;AAG7D,qBAGa,iBAAkB,SAAQ,cAAc;IACf,UAAU,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAyB;IAC5E,cAAc,MAAC;IAEf,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC;IAClD,2BAA2B,CAAC,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAI9C,8BAA8B,EAAE,OAAO,CAAS;IAEhD,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAQ;IAElC,SAAS,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE7C,iBAAiB;IAgCjB,sBAAsB;IAY5B,SAAS,IAAI,IA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IAAI;IAI7C,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,IAAI;CAG9C"}
@@ -25,6 +25,14 @@ export class Combobox extends FASTComboBox {
25
25
  this.caseSensitive = false;
26
26
  /** Controls whether to suppress opening the dropdown when the input field is clicked */
27
27
  this.ignoreInputClick = false;
28
+ this.resetCombobox = () => {
29
+ this.selectedOptions = [];
30
+ this.selectedIndex = -1;
31
+ this.value = '';
32
+ this.control.value = '';
33
+ this['filter'] = '';
34
+ this.filterOptions();
35
+ };
28
36
  }
29
37
  debounceChanged(oldValue, newValue) {
30
38
  this.debouncedInputHandler = debounce(this.asyncSetFilter, newValue);
@@ -35,8 +43,6 @@ export class Combobox extends FASTComboBox {
35
43
  }
36
44
  set value(next) {
37
45
  var _a, _b, _c;
38
- if (next === undefined)
39
- return;
40
46
  const prev = `${this._ourValue}`;
41
47
  if (this.$fastController.isConnected && this.options) {
42
48
  const searchFunc = this.caseSensitive
@@ -112,9 +118,6 @@ export class Combobox extends FASTComboBox {
112
118
  this.open = true;
113
119
  return true;
114
120
  }
115
- else {
116
- this.dispatchEvent(new Event('change', { bubbles: true }));
117
- }
118
121
  break;
119
122
  case 'ArrowDown':
120
123
  case 'ArrowUp':
@@ -154,8 +157,9 @@ export class Combobox extends FASTComboBox {
154
157
  if (this.open && this.selectedOptions && this.selectedOptions.length === 1) {
155
158
  const selectedOption = this.selectedOptions[0];
156
159
  this.currentValue = selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value;
160
+ return;
157
161
  }
158
- return;
162
+ break;
159
163
  case 'Home':
160
164
  case 'End':
161
165
  // base class clears the selected value for this, which is silly
@@ -214,14 +218,6 @@ export class Combobox extends FASTComboBox {
214
218
  logger.warn('Options-datasource is not connected. Please add a datasource to use this functionality.');
215
219
  }
216
220
  }
217
- resetCombobox() {
218
- this.selectedOptions = [];
219
- this.selectedIndex = -1;
220
- this.value = '';
221
- this.control.value = '';
222
- this['filter'] = '';
223
- this.filterOptions();
224
- }
225
221
  }
226
222
  _Combobox_indicator = new WeakMap(), _Combobox_wasOpenOnEnterDown = new WeakMap();
227
223
  __decorate([
@@ -3,13 +3,13 @@ import { endSlotTemplate, Listbox, startSlotTemplate } from '@microsoft/fast-fou
3
3
  export const foundationComboboxTemplate = (context, definition) => html `
4
4
  <template
5
5
  aria-disabled="${(x) => x.ariaDisabled}"
6
- autocomplete="${(x) => x.autocomplete}"
7
6
  class="${(x) => (x.open ? 'open' : '')} ${(x) => (x.disabled ? 'disabled' : '')} ${(x) => x.position}"
8
7
  ?open="${(x) => x.open}"
9
- tabindex="${(x) => (!x.disabled ? '0' : null)}"
10
8
  @click="${(x, c) => x.clickHandler(c.event)}"
9
+ @focusin="${(x, c) => x.focusinHandler(c.event)}"
11
10
  @focusout="${(x, c) => x.focusoutHandler(c.event)}"
12
11
  @keydown="${(x, c) => x.keydownHandler(c.event)}"
12
+ role="combobox"
13
13
  >
14
14
  <div class="control" part="control">
15
15
  ${startSlotTemplate(context, definition)}
@@ -17,15 +17,15 @@ export const foundationComboboxTemplate = (context, definition) => html `
17
17
  <input
18
18
  aria-activedescendant="${(x) => (x.open ? x.ariaActiveDescendant : null)}"
19
19
  aria-autocomplete="${(x) => x.ariaAutoComplete}"
20
- aria-controls="${(x) => x.ariaControls || x.listboxId}"
20
+ aria-controls="${(x) => x.listboxId}"
21
21
  aria-disabled="${(x) => x.ariaDisabled}"
22
22
  aria-expanded="${(x) => x.ariaExpanded}"
23
23
  aria-haspopup="listbox"
24
- aria-labelledby="${(x) => x.ariaLabelledby}"
24
+ autocomplete="${(x) => x.autocomplete}"
25
+ tabindex="${(x) => (!x.disabled ? '0' : null)}"
25
26
  class="selected-value"
26
27
  part="selected-value"
27
28
  placeholder="${(x) => x.placeholder}"
28
- role="combobox"
29
29
  type="text"
30
30
  ?disabled="${(x) => x.disabled}"
31
31
  :value="${(x) => x.value}"
@@ -13,8 +13,11 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
13
13
  this.isSnapshot = true;
14
14
  }
15
15
  initialSelectedValueChanged(oldValue, newValue) {
16
- if (newValue)
16
+ if (oldValue && newValue) {
17
17
  this.initalSelectedValueInitialized = false;
18
+ this.clearData();
19
+ this.fetchData();
20
+ }
18
21
  }
19
22
  connectedCallback() {
20
23
  const _super = Object.create(null, {
@@ -31,21 +34,24 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
31
34
  const selectedOption = (_a = this.options) === null || _a === void 0 ? void 0 : _a.find((option) => String(option.label) === e.target.value);
32
35
  this.select.$emit('value-change', selectedOption);
33
36
  });
34
- if (this.select &&
35
- this.valueField &&
36
- ((this.resourceName && this.connect.isConnected) || this.data)) {
37
- if (this.select instanceof FASTComboBox && this.select.async && this.initialSelectedValue) {
38
- this.asyncModeIntialization();
39
- }
40
- else {
41
- this.fetchGenesisData();
42
- }
43
- }
37
+ this.fetchData();
44
38
  if (!this.valueField) {
45
39
  logger.warn('Specify field for values in options (e.g value-field="VALUE") and optionally field for label (e.g label-field="NAME")');
46
40
  }
47
41
  });
48
42
  }
43
+ fetchData() {
44
+ if (this.select &&
45
+ this.valueField &&
46
+ ((this.resourceName && this.connect.isConnected) || this.data)) {
47
+ if (this.select instanceof FASTComboBox && this.select.async && this.initialSelectedValue) {
48
+ this.asyncModeIntialization();
49
+ }
50
+ else {
51
+ this.fetchGenesisData();
52
+ }
53
+ }
54
+ }
49
55
  asyncModeIntialization() {
50
56
  return __awaiter(this, void 0, void 0, function* () {
51
57
  yield this.datasource.init(this['datasourceOptions'](), true);
@@ -88,6 +94,7 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
88
94
  });
89
95
  if (!this.initalSelectedValueInitialized ||
90
96
  (this.select instanceof FASTComboBox && !this.select.async)) {
97
+ this.resetCombobox();
91
98
  const initialLabel = this.initialSelectedValue || this.initialSelectedValue === 0
92
99
  ? (_a = this.options.find((x) => x.value === this.initialSelectedValue)) === null || _a === void 0 ? void 0 : _a.label
93
100
  : '';
@@ -105,6 +112,11 @@ let OptionsDatasource = OptionsDatasource_1 = class OptionsDatasource extends Ba
105
112
  this.select.appendChild(option);
106
113
  }
107
114
  }
115
+ resetCombobox() {
116
+ if (this.select && this.select instanceof FASTComboBox) {
117
+ this.select.resetCombobox();
118
+ }
119
+ }
108
120
  handleStreamInserts(insertedRows) {
109
121
  logger.debug('handleStreamInserts - Method not implemented.');
110
122
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.210.1-alpha-d058de3.0",
4
+ "version": "14.210.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.210.1-alpha-d058de3.0",
87
- "@genesislcap/genx": "14.210.1-alpha-d058de3.0",
88
- "@genesislcap/rollup-builder": "14.210.1-alpha-d058de3.0",
89
- "@genesislcap/ts-builder": "14.210.1-alpha-d058de3.0",
90
- "@genesislcap/uvu-playwright-builder": "14.210.1-alpha-d058de3.0",
91
- "@genesislcap/vite-builder": "14.210.1-alpha-d058de3.0",
92
- "@genesislcap/webpack-builder": "14.210.1-alpha-d058de3.0",
86
+ "@genesislcap/foundation-testing": "14.210.2",
87
+ "@genesislcap/genx": "14.210.2",
88
+ "@genesislcap/rollup-builder": "14.210.2",
89
+ "@genesislcap/ts-builder": "14.210.2",
90
+ "@genesislcap/uvu-playwright-builder": "14.210.2",
91
+ "@genesislcap/vite-builder": "14.210.2",
92
+ "@genesislcap/webpack-builder": "14.210.2",
93
93
  "copyfiles": "^2.4.1",
94
94
  "rimraf": "^5.0.0",
95
95
  "rxjs": "^7.5.4"
@@ -100,13 +100,13 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/foundation-comms": "14.210.1-alpha-d058de3.0",
104
- "@genesislcap/foundation-criteria": "14.210.1-alpha-d058de3.0",
105
- "@genesislcap/foundation-errors": "14.210.1-alpha-d058de3.0",
106
- "@genesislcap/foundation-logger": "14.210.1-alpha-d058de3.0",
107
- "@genesislcap/foundation-notifications": "14.210.1-alpha-d058de3.0",
108
- "@genesislcap/foundation-user": "14.210.1-alpha-d058de3.0",
109
- "@genesislcap/foundation-utils": "14.210.1-alpha-d058de3.0",
103
+ "@genesislcap/foundation-comms": "14.210.2",
104
+ "@genesislcap/foundation-criteria": "14.210.2",
105
+ "@genesislcap/foundation-errors": "14.210.2",
106
+ "@genesislcap/foundation-logger": "14.210.2",
107
+ "@genesislcap/foundation-notifications": "14.210.2",
108
+ "@genesislcap/foundation-user": "14.210.2",
109
+ "@genesislcap/foundation-utils": "14.210.2",
110
110
  "@microsoft/fast-colors": "^5.3.1",
111
111
  "@microsoft/fast-components": "^2.30.6",
112
112
  "@microsoft/fast-element": "^1.12.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "55d5fbe3d3bbdf2d02031c9e56cf4895a132b2ef"
131
+ "gitHead": "4820ba557919bf13d7dccdd0a133317479694429"
132
132
  }