@genesislcap/foundation-ui 15.50.1 → 15.50.3

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.
@@ -1,5 +1,6 @@
1
1
  import { Combobox as FASTComboBox } from '@microsoft/fast-components';
2
2
  import type { ComboboxOptions } from '@microsoft/fast-foundation';
3
+ import { ListboxOption } from '../listbox-option';
3
4
  import { FilterMode } from './combobox.types';
4
5
  /**
5
6
  * @tagname %%prefix%%-combobox
@@ -71,6 +72,16 @@ export declare class Combobox extends FASTComboBox {
71
72
  * the combobox — infinite-scroll datasources cannot support client-side filtering.
72
73
  */
73
74
  private enableAsyncForInfiniteScrollDatasource;
75
+ /**
76
+ * In async mode the server has already filtered, so the slotted options are the filtered
77
+ * options. {@link Combobox.filterOptions} still copies them into `filteredOptions` (FAST's
78
+ * arrow-key handling checks its length), but a refetch removes the copied elements from the
79
+ * DOM. FAST's getter would keep returning that stale copy, so `setDefaultSelectedOption()`
80
+ * re-selected a removed option still flagged `selected` and `updateValue()` wrote its label
81
+ * over the text the user had typed.
82
+ */
83
+ get options(): ListboxOption[];
84
+ set options(value: ListboxOption[]);
74
85
  filterOptions(): void;
75
86
  clickHandler(e: MouseEvent): boolean | void;
76
87
  keydownHandler(e: KeyboardEvent): boolean | void;
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../../src/combobox/combobox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAclE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI9C;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,YAAY;;IACxC,OAAO,CAAC,SAAS,CAAS;IAI1B,OAAO,CAAC,6BAA6B,CAAkB;IACvD,IACI,gBAAgB,WAKnB;IAEW,iBAAiB,EAAE,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AW,iBAAiB,IAAI,WAAW,GAAG,IAAI,CAEjD;IAED,WAAW;IAqBX,IAAW,KAAK,IAKO,MAAM,CAF5B;IAED,IAAW,KAAK,CAAC,IAAI,EAAE,MAAM,EA6B5B;IAEe,qBAAqB,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI;IAUzF;;;;;;OAMG;IACH,OAAO,CAAC,sCAAsC;IAY9C;;;;;;;OAOG;IACH,IAAoB,OAAO,IAAI,aAAa,EAAE,CAI7C;IAED,IAAoB,OAAO,CAAC,KAAK,EAAE,aAAa,EAAE,EAEjD;IAEe,aAAa,IAAI,IAAI;IA2BrB,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI;IAuB3C,cAAc,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO,GAAG,IAAI;IAgDhD,YAAY,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO,GAAG,IAAI;IAgC9D;;;;OAIG;IACH,SAAS,KAAK,SAAS,IAAI,OAAO,CAGjC;IAED;;;;;OAKG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM;IAKhC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI;IAYpD,cAAc;IA0Bd,aAAa,aAOX;IAEF,OAAO,CAAC,2BAA2B;CAUpC;AAGD,eAAO,MAAM,+BAA+B,EAAE,cAG7C,CAAC;AAEF,eAAO,MAAM,qBAAqB;;CAajC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,8SAM7B,CAAC"}
@@ -151,15 +151,6 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
151
151
  >;
152
152
  export type ActionsMenuRef = ActionsMenuWC;
153
153
 
154
- export declare const Accordion: React.ForwardRefExoticComponent<
155
- React.PropsWithChildren<
156
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
157
- HTMLWCProps & {
158
- }
159
- > & React.RefAttributes<AccordionWC>
160
- >;
161
- export type AccordionRef = AccordionWC;
162
-
163
154
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
164
155
  React.PropsWithChildren<
165
156
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -171,6 +162,15 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
171
162
  >;
172
163
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
173
164
 
165
+ export declare const Accordion: React.ForwardRefExoticComponent<
166
+ React.PropsWithChildren<
167
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
168
+ HTMLWCProps & {
169
+ }
170
+ > & React.RefAttributes<AccordionWC>
171
+ >;
172
+ export type AccordionRef = AccordionWC;
173
+
174
174
  export declare const AiIndicator: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
176
  Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
@@ -408,6 +408,10 @@ export declare abstract class BaseDatasource extends BaseDatasource_base {
408
408
  * @public
409
409
  */
410
410
  withTimestampFormatting: boolean;
411
+ /**
412
+ * The values last applied through {@link BaseDatasource.datasourceConfig}, by key.
413
+ */
414
+ private appliedDatasourceConfig;
411
415
  set datasourceConfig(config: DatasourceOptions);
412
416
  requiresFullDataRefresh: boolean;
413
417
  dataSub: Subscription;
@@ -1 +1 @@
1
- {"version":3,"file":"base-datasource.d.ts","sourceRoot":"","sources":["../../../src/utils/base-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAGP,UAAU,EAGV,iBAAiB,EAEjB,aAAa,EACb,aAAa,EACb,wBAAwB,EAKxB,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,EAAU,OAAO,EAAE,MAAM,UAAU,CAAC;AAO3C,MAAM,WAAW,kCAAkC;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;I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6 +167,23 @@ export class Combobox extends FASTComboBox {
167
167
  this.async = true;
168
168
  }
169
169
  }
170
+ /**
171
+ * In async mode the server has already filtered, so the slotted options are the filtered
172
+ * options. {@link Combobox.filterOptions} still copies them into `filteredOptions` (FAST's
173
+ * arrow-key handling checks its length), but a refetch removes the copied elements from the
174
+ * DOM. FAST's getter would keep returning that stale copy, so `setDefaultSelectedOption()`
175
+ * re-selected a removed option still flagged `selected` and `updateValue()` wrote its label
176
+ * over the text the user had typed.
177
+ */
178
+ get options() {
179
+ if (!this.async)
180
+ return super.options;
181
+ Observable.track(this, 'options');
182
+ return this._options;
183
+ }
184
+ set options(value) {
185
+ super.options = value;
186
+ }
170
187
  filterOptions() {
171
188
  // Server-side filtering already applied the criteria; hiding options locally would
172
189
  // conceal the next infinite-scroll page (and duplicate the visible first page).
@@ -22,6 +22,10 @@ export class BaseDatasource extends DatasourceEventHandler(FoundationElement) {
22
22
  * @public
23
23
  */
24
24
  this.withTimestampFormatting = true;
25
+ /**
26
+ * The values last applied through {@link BaseDatasource.datasourceConfig}, by key.
27
+ */
28
+ this.appliedDatasourceConfig = {};
25
29
  this.requiresFullDataRefresh = true;
26
30
  /**
27
31
  * Whether the server reported more rows are available beyond the ones already fetched.
@@ -67,13 +71,18 @@ export class BaseDatasource extends DatasourceEventHandler(FoundationElement) {
67
71
  }
68
72
  }
69
73
  set datasourceConfig(config) {
70
- if (config) {
71
- Object.keys(config).forEach((key) => {
72
- if (config[key] !== undefined) {
73
- this[key] = config[key];
74
- }
75
- });
76
- }
74
+ if (!config)
75
+ return;
76
+ Object.keys(config).forEach((key) => {
77
+ const value = config[key];
78
+ // Template bindings (e.g. foundation-forms' connected select) re-assign an equal config on
79
+ // every render. Re-applying an unchanged value would overwrite state changed since, such as
80
+ // the typeahead criteria an async combobox sets, which resets its filter and refetches.
81
+ if (value === undefined || value === this.appliedDatasourceConfig[key])
82
+ return;
83
+ this.appliedDatasourceConfig[key] = value;
84
+ this[key] = value;
85
+ });
77
86
  }
78
87
  disconnectedCallback() {
79
88
  var _a, _b;
@@ -13403,6 +13403,50 @@
13403
13403
  "isAbstract": false,
13404
13404
  "name": "openChanged"
13405
13405
  },
13406
+ {
13407
+ "kind": "Property",
13408
+ "canonicalReference": "@genesislcap/foundation-ui!Combobox#options:member",
13409
+ "docComment": "/**\n * In async mode the server has already filtered, so the slotted options are the filtered options. {@link Combobox.filterOptions} still copies them into `filteredOptions` (FAST's arrow-key handling checks its length), but a refetch removes the copied elements from the DOM. FAST's getter would keep returning that stale copy, so `setDefaultSelectedOption()` re-selected a removed option still flagged `selected` and `updateValue()` wrote its label over the text the user had typed.\n */\n",
13410
+ "excerptTokens": [
13411
+ {
13412
+ "kind": "Content",
13413
+ "text": "get options(): "
13414
+ },
13415
+ {
13416
+ "kind": "Reference",
13417
+ "text": "ListboxOption",
13418
+ "canonicalReference": "@genesislcap/foundation-ui!ListboxOption:class"
13419
+ },
13420
+ {
13421
+ "kind": "Content",
13422
+ "text": "[]"
13423
+ },
13424
+ {
13425
+ "kind": "Content",
13426
+ "text": ";\n\nset options(value: "
13427
+ },
13428
+ {
13429
+ "kind": "Reference",
13430
+ "text": "ListboxOption",
13431
+ "canonicalReference": "@genesislcap/foundation-ui!ListboxOption:class"
13432
+ },
13433
+ {
13434
+ "kind": "Content",
13435
+ "text": "[]);"
13436
+ }
13437
+ ],
13438
+ "isReadonly": false,
13439
+ "isOptional": false,
13440
+ "releaseTag": "Public",
13441
+ "name": "options",
13442
+ "propertyTypeTokenRange": {
13443
+ "startIndex": 1,
13444
+ "endIndex": 3
13445
+ },
13446
+ "isStatic": false,
13447
+ "isProtected": false,
13448
+ "isAbstract": false
13449
+ },
13406
13450
  {
13407
13451
  "kind": "Property",
13408
13452
  "canonicalReference": "@genesislcap/foundation-ui!Combobox#resetCombobox:member",
@@ -969,6 +969,10 @@ export declare abstract class BaseDatasource extends BaseDatasource_base {
969
969
  * @public
970
970
  */
971
971
  withTimestampFormatting: boolean;
972
+ /**
973
+ * The values last applied through {@link BaseDatasource.datasourceConfig}, by key.
974
+ */
975
+ private appliedDatasourceConfig;
972
976
  set datasourceConfig(config: DatasourceOptions);
973
977
  requiresFullDataRefresh: boolean;
974
978
  dataSub: Subscription;
@@ -1746,6 +1750,16 @@ export declare class Combobox extends Combobox_2 {
1746
1750
  * the combobox — infinite-scroll datasources cannot support client-side filtering.
1747
1751
  */
1748
1752
  private enableAsyncForInfiniteScrollDatasource;
1753
+ /**
1754
+ * In async mode the server has already filtered, so the slotted options are the filtered
1755
+ * options. {@link Combobox.filterOptions} still copies them into `filteredOptions` (FAST's
1756
+ * arrow-key handling checks its length), but a refetch removes the copied elements from the
1757
+ * DOM. FAST's getter would keep returning that stale copy, so `setDefaultSelectedOption()`
1758
+ * re-selected a removed option still flagged `selected` and `updateValue()` wrote its label
1759
+ * over the text the user had typed.
1760
+ */
1761
+ get options(): ListboxOption[];
1762
+ set options(value: ListboxOption[]);
1749
1763
  filterOptions(): void;
1750
1764
  clickHandler(e: MouseEvent): boolean | void;
1751
1765
  keydownHandler(e: KeyboardEvent): boolean | void;
package/dist/react.cjs CHANGED
@@ -123,11 +123,6 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
123
123
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
124
124
  });
125
125
 
126
- const Accordion = React.forwardRef(function Accordion(props, ref) {
127
- const { children, ...rest } = props;
128
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
129
- });
130
-
131
126
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
132
127
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
133
128
  const _innerRef = React.useRef(null);
@@ -150,6 +145,11 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
150
145
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
151
146
  });
152
147
 
148
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
149
+ const { children, ...rest } = props;
150
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
151
+ });
152
+
153
153
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
154
154
  const { children, ...rest } = props;
155
155
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -1145,8 +1145,8 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1145
1145
  module.exports = {
1146
1146
  AccordionItem,
1147
1147
  ActionsMenu,
1148
- Accordion,
1149
1148
  AiCriteriaSearch,
1149
+ Accordion,
1150
1150
  AiIndicator,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -121,11 +121,6 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
121
121
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
122
122
  });
123
123
 
124
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
125
- const { children, ...rest } = props;
126
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
127
- });
128
-
129
124
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
130
125
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
131
126
  const _innerRef = React.useRef(null);
@@ -148,6 +143,11 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
148
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
149
144
  });
150
145
 
146
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
147
+ const { children, ...rest } = props;
148
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
149
+ });
150
+
151
151
  export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
152
152
  const { children, ...rest } = props;
153
153
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "15.50.1",
4
+ "version": "15.50.3",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -82,12 +82,12 @@
82
82
  }
83
83
  },
84
84
  "devDependencies": {
85
- "@genesislcap/foundation-testing": "15.50.1",
86
- "@genesislcap/genx": "15.50.1",
87
- "@genesislcap/ts-builder": "15.50.1",
88
- "@genesislcap/uvu-playwright-builder": "15.50.1",
89
- "@genesislcap/vite-builder": "15.50.1",
90
- "@genesislcap/webpack-builder": "15.50.1",
85
+ "@genesislcap/foundation-testing": "15.50.3",
86
+ "@genesislcap/genx": "15.50.3",
87
+ "@genesislcap/ts-builder": "15.50.3",
88
+ "@genesislcap/uvu-playwright-builder": "15.50.3",
89
+ "@genesislcap/vite-builder": "15.50.3",
90
+ "@genesislcap/webpack-builder": "15.50.3",
91
91
  "copyfiles": "^2.4.1"
92
92
  },
93
93
  "dependencies": {
@@ -96,16 +96,16 @@
96
96
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
97
97
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
98
98
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
99
- "@genesislcap/expression-builder": "15.50.1",
100
- "@genesislcap/foundation-ai": "15.50.1",
101
- "@genesislcap/foundation-comms": "15.50.1",
102
- "@genesislcap/foundation-criteria": "15.50.1",
103
- "@genesislcap/foundation-errors": "15.50.1",
104
- "@genesislcap/foundation-events": "15.50.1",
105
- "@genesislcap/foundation-logger": "15.50.1",
106
- "@genesislcap/foundation-notifications": "15.50.1",
107
- "@genesislcap/foundation-user": "15.50.1",
108
- "@genesislcap/foundation-utils": "15.50.1",
99
+ "@genesislcap/expression-builder": "15.50.3",
100
+ "@genesislcap/foundation-ai": "15.50.3",
101
+ "@genesislcap/foundation-comms": "15.50.3",
102
+ "@genesislcap/foundation-criteria": "15.50.3",
103
+ "@genesislcap/foundation-errors": "15.50.3",
104
+ "@genesislcap/foundation-events": "15.50.3",
105
+ "@genesislcap/foundation-logger": "15.50.3",
106
+ "@genesislcap/foundation-notifications": "15.50.3",
107
+ "@genesislcap/foundation-user": "15.50.3",
108
+ "@genesislcap/foundation-utils": "15.50.3",
109
109
  "@microsoft/fast-colors": "5.3.1",
110
110
  "@microsoft/fast-components": "2.30.6",
111
111
  "@microsoft/fast-element": "1.14.0",